Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-27T09:14:35-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6570 2011-05-27T09:14:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16074#p16074 <![CDATA[Re: Multiste Error message when saving settings]]> Statistics: Posted by denvert — May 27th, 2011, 9:14 am


]]>
2011-05-27T00:39:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16059#p16059 <![CDATA[Re: Multiste Error message when saving settings]]> Investigation completed.
After running several debug_backtrace() calls in various areas of your system, I discovered that your database field that stores WP_Cron tasks was corrupted with over 4MB of serialized data containing this same entry. 4MB is HUGE when WordPress is trying to re-serialize it.
Code:
  1278263420 =>
  array (
    'mca_savedata_event' =>
    array (
      '40cd750bba9870f18aada2478b24840a' =>
      array (
        'schedule' => 'daily',
        'args' =>
        array (
        ),
        'interval' => 86400,
      ),
    ),
  ),
  1278263422 =>
  array (
    'mca_savedata_event' =>
    array (
      '40cd750bba9870f18aada2478b24840a' =>
      array (
        'schedule' => 'daily',
        'args' =>
        array (
        ),
        'interval' => 86400,
      ),
    ),
  ),
* This appears to be "mca_savedata_event", associated with a MailChimp plugin. So you may have had this plugin running at some point in the past? It corrupted your database.

100% Resolved

I cleaned this out and ran a reset on this internal array to correct the issue.
You should be good now.

Statistics: Posted by Jason Caldwell — May 27th, 2011, 12:39 am


]]>
2011-05-26T23:39:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16056#p16056 <![CDATA[Re: Multiste Error message when saving settings]]> Statistics: Posted by Jason Caldwell — May 26th, 2011, 11:39 pm


]]>
2011-05-26T22:54:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16048#p16048 <![CDATA[Re: Multiste Error message when saving settings]]> Thanks for the follow-up.

OK. Nothing out of the ordinary here. If you'd like me to have a closer look for you, please send me a Dashboard login with Super Administrative access along with an FTP login to this installation. You can submit those details through this private contact form: http://www.s2member.com/contact/

I'll be happy to take a look and see what the problem is.

Statistics: Posted by Jason Caldwell — May 26th, 2011, 10:54 pm


]]>
2011-05-26T22:27:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16047#p16047 <![CDATA[Re: Multiste Error message when saving settings]]>
Code:
array (
  0 =>
  array (
    'file' => '/home/xxxxxx/public_html/wp-includes/functions.php',
    'line' => 532,
    'function' => 'maybe_serialize',
    'args' =>
    array (
      0 =>
      array (
        'login_welcome_page' =>
        array (
          'time' => 1306466498,
          'page' => '',
          'link' => 'http://xxxxxxwebdesign.com/?page_id=0',
        ),
        'membership_options_page' =>
        array (
          'time' => 1306466498,
          'page' => '',
          'link' => 'http://xxxxxxwebdesign.com/?page_id=0',
        ),
        'file_download_limit_exceeded_page' =>
        array (
          'time' => 1306466498,
          'page' => '',
          'link' => 'http://xxxxxxwebdesign.com/?page_id=0',
        ),
      ),
    ),
  ),
  1 =>
  array (
    'file' => '/home/xxxxxx/public_html/wp-content/plugins/s2member/includes/classes/cache.inc.php',
    'line' => 81,
    'function' => 'update_option',
    'args' =>
    array (
      0 => 'ws_plugin__s2member_cache',
      1 =>
      array (
        'login_welcome_page' =>
        array (
          'time' => 1306466498,
          'page' => '',
          'link' => 'http://xxxxxxwebdesign.com/?page_id=0',
        ),
        'membership_options_page' =>
        array (
          'time' => 1306466498,
          'page' => '',
          'link' => 'http://xxxxxxwebdesign.com/?page_id=0',
        ),
        'file_download_limit_exceeded_page' =>
        array (
          'time' => 1306466498,
          'page' => '',
          'link' => 'http://xxxxxxwebdesign.com/?page_id=0',
        ),
      ),
    ),
  ),
  2 =>
  array (
    'file' => '/home/xxxxxx/public_html/wp-content/plugins/s2member/includes/classes/constants.inc.php',
    'line' => 30,
    'function' => 'cached_page_links',
    'class' => 'c_ws_plugin__s2member_cache',
    'type' => '::',
    'args' =>
    array (
    ),
  ),
  3 =>
  array (
    'function' => 'constants',
    'class' => 'c_ws_plugin__s2member_constants',
    'type' => '::',
    'args' =>
    array (
      0 => '',
    ),
  ),
  4 =>
  array (
    'file' => '/home/xxxxxx/public_html/wp-includes/plugin.php',
    'line' => 395,
    'function' => 'call_user_func_array',
    'args' =>
    array (
      0 => 'c_ws_plugin__s2member_constants::constants',
      1 =>
      array (
        0 => '',
      ),
    ),
  ),
  5 =>
  array (
    'file' => '/home/xxxxxx/public_html/wp-settings.php',
    'line' => 298,
    'function' => 'do_action',
    'args' =>
    array (
      0 => 'init',
    ),
  ),
  6 =>
  array (
    'file' => '/home/xxxxxx/public_html/wp-config.php',
    'line' => 92,
    'args' =>
    array (
      0 => '/home/xxxxxx/public_html/wp-settings.php',
    ),
    'function' => 'require_once',
  ),
  7 =>
  array (
    'file' => '/home/xxxxxx/public_html/wp-load.php',
    'line' => 30,
    'args' =>
    array (
      0 => '/home/xxxxxx/public_html/wp-config.php',
    ),
    'function' => 'require_once',
  ),
  8 =>
  array (
    'file' => '/home/xxxxxx/public_html/wp-blog-header.php',
    'line' => 12,
    'args' =>
    array (
      0 => '/home/xxxxxx/public_html/wp-load.php',
    ),
    'function' => 'require_once',
  ),
  9 =>
  array (
    'file' => '/home/xxxxxx/public_html/index.php',
    'line' => 17,
    'args' =>
    array (
      0 => '/home/xxxxxx/public_html/wp-blog-header.php',
    ),
    'function' => 'require',
  ),
)

Statistics: Posted by denvert — May 26th, 2011, 10:27 pm


]]>
2011-05-26T20:32:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16022#p16022 <![CDATA[Re: Multiste Error message when saving settings]]> Thanks for the follow-up.

That section of code references the following core WordPress function:
Code:
function maybe_serialize( $data ) {
    if ( is_array( $data ) || is_object( $data ) )
        return serialize( $data );

    if ( is_serialized( $data ) )
        return serialize( $data );

    return $data;
}
 
This function is used by some of the WordPress data storage routines, and just taking a wild guess at this point, I'd say your database has become corrupted somehow, and one of the arrays and/or objects that WordPress is trying to serialize is unnecessarily large.

Couple of things to try.

1. Start all over with a clean installation of WordPress.
2. Or attach a debug_backtrace() to that section of the code generating the error.
Open /wp-includes/functions.php and change it to something like this temporarily:
Code:
function maybe_serialize( $data ) {

file_put_contents(WP_CONTENT_DIR."/debug.log", var_export(debug_backtrace(), true));

    if ( is_array( $data ) || is_object( $data ) )
        return serialize( $data );

    if ( is_serialized( $data ) )
        return serialize( $data );

    return $data;
}
 
When the error occurs the next time, open the /wp-content/debug.log file and post the contents of that file for us to review please.

Statistics: Posted by Jason Caldwell — May 26th, 2011, 8:32 pm


]]>
2011-05-26T17:31:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16017#p16017 <![CDATA[Re: Multiste Error message when saving settings]]>
full error message above,

php 5.2.15
wordpress 3.1.3

Statistics: Posted by denvert — May 26th, 2011, 5:31 pm


]]>
2011-05-26T17:24:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16016#p16016 <![CDATA[Re: Multiste Error message when saving settings]]> Statistics: Posted by Jason Caldwell — May 26th, 2011, 5:24 pm


]]>
2011-05-26T17:04:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16014#p16014 <![CDATA[Re: Multiste Error message when saving settings]]> Can you please tell me what version of PHP/WordPress and s2Member you're running please?

Statistics: Posted by Jason Caldwell — May 26th, 2011, 5:04 pm


]]>
2011-05-26T16:40:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16009#p16009 <![CDATA[Re: Multiste Error message when saving settings]]>
When I go to the main blog for the site I have a system resource plugin running which is saying there is 22.44 mb or memory running.

Statistics: Posted by denvert — May 26th, 2011, 4:40 pm


]]>
2011-05-26T16:24:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=16001#p16001 <![CDATA[Re: Multiste Error message when saving settings]]>
Yes, the confusion you're seeing is almost certainly related to the errors during the Multisite (Config) patches being applied. "Out of memory". Hmm, what other plugins are you running? s2Member should be just fine with 64MB of RAM. It sounds like you might have several plugins activated, pushing you over that limit collectively. Please report back with any additional information you can provide.

Statistics: Posted by Jason Caldwell — May 26th, 2011, 4:24 pm


]]>
2011-05-26T10:00:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=15974#p15974 <![CDATA[Re: Multiste Error message when saving settings]]>
I'm trying to set this up and am getting redirected to the main blog when trying to register and then it's saying that the registration is disabled even though it's set to be enabled on the multisite config page (although I can't tell if these settings are really taking effect since i'm getting the above memory which is leading me to believe this isn't getting set).

Statistics: Posted by denvert — May 26th, 2011, 10:00 am


]]>
2011-05-26T01:00:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6570&p=15954#p15954 <![CDATA[Multiste Error message when saving settings]]>
Out of memory (allocated 64749568) (tried to allocate 2621422 bytes)

I tried doing the patch manually and get a bunch of errors when trying to follow the instructions to set that up.

Also can't figure out how users can just register for individual blogs without getting re-directed to main site.

Is there any documentation on implementing multiste together? Haven't been able to find it.

Thanks

Statistics: Posted by denvert — May 26th, 2011, 1:00 am


]]>