Fatal Error on search.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • svtsnake01
    Senior Member
    • Nov 2002
    • 152
    • 3.7.x

    Fatal Error on search.php

    Just had my server replaced, and a user reported the following error.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /home/modularf/public_html/forums/search.php on line 1153

    Is 32M not enough?
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    That error indicates that your php doesn't have enough memory allocated to complete the operation. You can either increase your memory_limit setting in php.ini to xxM or to temporarily up your limits edit your includes/config.php file and add this line right under the <?php line:

    ini_set("memory_limit", "64M");


    Sometimes 32M is not enough (mine is quite a bit higher). If the error only happens every once in a while, you can probably not do anything about it and let it be, but if it happens often, then you may want to do something.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...