Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 3 months, 4 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

500 Error

  • This topic has 28 replies, 2 voices, and was last updated 8 years, 11 months ago by Simon Senzon.
Viewing 14 posts - 16 through 29 (of 29 total)
← 1 2
  • Author
    Posts
  • June 4, 2016 at 9:08 am #6018
    Christian Wach
    Participant

    Hi Simon, I would suggest you follow the advice you’ve received from the theme developer in addition to the MySQL settings tweaks that I suggested previously. The server sounds powerful enough to cope with your requirements.

    Best wishes, Christian

    June 4, 2016 at 10:11 am #6019
    Simon Senzon
    Participant

    <div class=”bbp-reply-content”>

    Looks like the DNS namechange has not fully propagated yet. I will keep you posted. Thanks.

    </div>

    June 4, 2016 at 10:16 pm #6020
    Simon Senzon
    Participant

    I really don’t know what to do next.

    Even with the increase to a new cloud server we are still getting the error.

    This is from the server tech:

    Hello Simon,

    Thank you for contacting our Help Desk.

    I reviewed the other ticket and found that increasing the memory_limit PHP value and the max_allowed_packet MySQL value were discussed.

    I increased the memory_limit to 1024 MB and the max_allowed_packet to 500 MB.

    However, when the php.ini file is used (the one that sets the memory limit to 1014 MB), the website pages including:

    https://members.institutechiro.com/groups/
    https://members.institutechiro.com/people/
    https://members.institutechiro.com/activity/

    are showing the following error:
    <h6>Code:</h6>
    <div>
    Warning: array_merge(): Argument #2 is not an array in /home/simonsen/public_html/members/wp-includes/load.php on line 65</div>
    I, therefore, renamed the php.ini to php.ini.1767025. Please check with your theme’s developer for advice on resolving the error in question and let us know what we can do to help from our end.

    I am leaving this ticket open for your convenience.

    Best Regards,

    June 4, 2016 at 10:28 pm #6021
    Simon Senzon
    Participant

    OK. I just determined that this error is being caused by the BB Press Forums.

    Please advise on how to fix this.

    June 4, 2016 at 10:30 pm #6022
    Simon Senzon
    Participant

    Do I need that plugin for commons in the box to work?

    June 4, 2016 at 10:38 pm #6023
    Simon Senzon
    Participant

    So the forums I created are still there under the groups page. It looks like I can comment. But the group forums for buddypress is not activated and the bbpress forum plugin is deactivated.

    This is a bit confusing.

    Thanks for your help.

    June 4, 2016 at 10:49 pm #6024
    Simon Senzon
    Participant

    I found the same error on the bbpress support page.

    https://bbpress.org/forums/search/Warning%3A+array_merge%28%29%3A+Argument+%232/

     

    • This reply was modified 8 years, 11 months ago by Simon Senzon.
    June 6, 2016 at 12:04 pm #6026
    Simon Senzon
    Participant

    Hello again.

    I deactivated CBOX and deleted it.

    Then I reinstalled and it loaded with the bbpress forum deactivated (which is how it was set to stop the error). I then updated bbpress forum and thus reinstalled it as per the instructions from the bbpress forum. The error started again.

    The person on bbpress forum sent me back to CBOX. She writes, “in which case I go to their support forum, as I’ve no idea what version or combination of versions they are using, and whether their version is the issue”

    Please help. @Christian Wach

    June 6, 2016 at 12:29 pm #6027
    Simon Senzon
    Participant

    I deleted CBOX and bbpress. Then installed the latest bbpress.

    Still getting the same error.

    June 6, 2016 at 12:31 pm #6028
    Christian Wach
    Participant

    Hi Simon,

    I’m getting a bit confused as to the problem you’re encountering. Are you still seeing “Out of Memory” errors or something else? The link you posted suggests you’re seeing a different error now.

    You don’t need the BBP Private Groups plugin for BuddyPress group forums to inherit the access permissions from the BuddyPress group. If disabling that plugin solves the error you’re seeing, then leave it disabled.

    Cheers, Christian

    June 6, 2016 at 3:19 pm #6029
    Simon Senzon
    Participant

    Hi Christian.

    Sorry to confuse you.

    I increased my plan so there is no longer a memory issue.

    The buddypress pages are still blank when then the bbpress forums plugin is enabled.

    Do I need that one?

    This only happens with my new theme – which looks beautiful on the other pages, such as my libraries of videos that took me two weeks to create (as well as my front pages).

    The current error is this: Warning: array_merge(): Argument #2 is not an array in /home/xxxxxx/public_html/members/wp-includes/load.php on line 65

    My theme developer has decided the other day it is a problem with the plugin.

    The bbpress developer says that it is a conflict with the plugin and the theme.

    If I don’t need that activated to run the forums then I will just leave it off.

    Please advise.

    Thanks.

    Simon

    June 6, 2016 at 3:26 pm #6030
    Simon Senzon
    Participant

    Sorry about the extra confusion with BBP Private Groups. That is not the plugin with the issue. I found that thread because the beginning of the error message was the same. Now I know that part is generic.

    It is bbpress forums plugin that is the problem.

    June 7, 2016 at 4:58 am #6032
    Christian Wach
    Participant

    Hi Simon,

    There seem to be two issues here. Am I right in thinking that both of the following are true:

    1. BuddyPress pages are blank
    2. There’s a PHP warning on some pages

    Let’s take these in turn…

    1) The blank BuddyPress pages are unlikely to be caused by the PHP Warning, since the scripts would continue to to execute. There must be a more severe error in the logs that causes script execution to halt completely. If you don’t have access to the server logs, you can get WordPress to create its own error log by adding the following to your ‘wp-config.php’ file:

    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', false);
    define('WP_DEBUG_LOG', true);

    This should cause a file called ‘debug.log’ to be created inside the folder ‘wp-content’ with the details of the error when you visit a BuddyPress page.

    2) It’s not clear to me on which page(s) the PHP warning appears. If you want to investigate this properly, then some debugging code will help. Keep the above constants set in ‘wp-config.php’ and add the following just before line 65 in /home/xxxxxx/public_html/members/wp-includes/load.php

    if ( ! is_array( $_SERVER ) ) {
    	error_log( print_r( array(
    		'method' => __METHOD__,
    		'SERVER' => $_SERVER,
    		'backtrace' => wp_debug_backtrace_summary(),
    	), true ) );
    }

    When you see the warning, look in ‘debug.log’ to see the results of the logging. What strikes me as particularly strange is that the $_SERVER variable is not an array – this array is normally built automatically by PHP to provide server and execution environment information. To find out if this array is usually populated, create a file called ‘phpinfo.php’ in /home/xxxxxx/public_html/members/ that contains just the following:

    <?php phpinfo(32); ?>

    You will then need to visit the URL that corresponds to this file. This will show you all your PHP variables. You should have variables such as _SERVER["HTTP_HOST"], _SERVER["PATH"] and so on. Do you see any of these? If you do, then we need to dig deeper into why $_SERVER is not what’s expected on your site. You can delete ‘phpinfo.php’ when you’ve verified this. Also, probably not wise to post the results of phpinfo() here.

    Cheers, Christian

    • This reply was modified 8 years, 11 months ago by Christian Wach. Reason: Added instructions for viewing PHP info
    June 11, 2016 at 11:34 pm #6038
    Simon Senzon
    Participant

    Thanks for all of your help.

    The developer replicated the site on his server.

    It turned out that a plugin did not like the name of the theme folder!

    All working now.

    All my best.

    Simon

  • Author
    Posts
Viewing 14 posts - 16 through 29 (of 29 total)
← 1 2
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register