Error when merging posts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • masterme
    Member
    • Nov 2006
    • 56
    • 3.6.x

    Error when merging posts

    I want to merge 2 posts of the same user, nothing special, small messages.
    But when I click to merge, I get this message:

    Code:
    [B]Fatal error[/B]: Allowed memory size of 8388608 bytes exhausted (tried to allocate 44 bytes) in [B]/home/xxxxxx/domains/mydomain.ext/public_html/forum/includes/adminfunctions.php[/B] on line [B]3021[/B]
    The line 3021 is below:

    Code:
     build_datastore('usergroupcache', serialize($vbulletin->usergroupcache), 1);
    When I do a refresh, the two messages are merged, so it succeeds anyway.
    But this error keeps popping up each time I do a merging, what is this?
    try not. do, or do not. there is no try
    Master Yoda
  • Colin F
    Senior Member
    • May 2004
    • 17689

    #2
    Your memory limit in PHP is extremely low. Try adding this line to your config.php file, right under the <?php line:

    ini_set('memory_limit', 32 * 1024 * 1024);
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    • masterme
      Member
      • Nov 2006
      • 56
      • 3.6.x

      #3
      Mmm, when I do that, I get this error:

      Warning: ini_set() has been disabled for security reasons in (showing the line I added)
      try not. do, or do not. there is no try
      Master Yoda

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        Unfortunately your only other hope is to ask your host to increase the php.ini 'memory_limit' setting. I recommend 32M. They may have to restart Apache after making this change.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎