/public_html/includes/class_postbit.php(345) : eval()'d code on line 1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tarzan22
    Member
    • Apr 2009
    • 68
    • 3.8.x

    [Forum] /public_html/includes/class_postbit.php(345) : eval()'d code on line 1

    Hello, I am getting this error, algien know why?

    Code:
    [11-Jul-2012 09:03:24 UTC] PHP Deprecated:  Function ereg() is deprecated in /home/foroxdco/public_html/includes/class_postbit.php(345) : eval()'d code on line 16
    [11-Jul-2012 09:04:28 UTC] PHP Deprecated:  Function ereg() is deprecated in /home/foroxdco/public_html/includes/class_postbit.php(345) : eval()'d code on line 1

    thanks
  • TheLastSuperman
    Senior Member
    • Sep 2008
    • 1799

    #2
    eval()'d code errors are usually modification related... try disabling your modifications then checking the site.

    To disable them edit config.php and add this directly below <?php:

    Code:
    define('DISABLE_HOOKS', true);
    Example:

    Code:
    <?php
    define('DISABLE_HOOKS', true);
    /*======================================================================*\
    || #################################################################### ||
    Now save and upload that to includes/ and overwrite the original config.php.

    On top of that it also states it's deprecated so it could be using php code that is no longer supported in your version of PHP, that could also be the case here.


    Former vBulletin Support Staff
    Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
    Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!

    Comment

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