I am using Godaddy as my host, site is www.the-omega-group.net. Have just installed latest downladable version of phpnuke, says version 8.1. I have edited my php.ini file to say error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT , although there was no error reporting settings listed to begin with.
But I am still getting a lot of
Deprecated: Function eregi_replace() is deprecated in mainfile.php on line...
and
Deprecated: Function ereg() is deprecated in mainfile.php on line...
I was able to go in and edit these lines to call function preg_replace () since I cannot get the error reporting to turn off. Site seems to be finctioning fine otherwise.
After more research I added the line
$display_errors = false;
to my config file.
and have changed the $display_errors to = false in mainfile.php.
No help
Display php errors is set to no in the administration setting within the website menu system
I am still getting the following 2 errors on my webpage:
Warning: preg_replace() expects at least 3 parameters, 2 given in mainfile.php on line 165
Line 165 reads:
if (preg_replace("MSIE", $_SERVER['HTTP_USER_AGENT']))
What can I change about this? I think this line has something to do with the code fore superglobals.
Warning: preg_replace() [function.preg-replace]: Delimiter must not be alphanumeric or backslash in mainfile.php on line 1719
Line 1719 reads
$EditedMessage = preg_replace("$CensorList[$i]","$Replace",$EditedMessage);
I don't know which delimiter to change/add.....
These are all in my mainfile.php.