PDA

View Full Version : Problems after server move


thevette
01-16-2011, 03:08 PM
Moved to a new server where the path is not the same as the old one and I'm getting errors on Gameroom, Experience, etc.

These are the errors:

Deprecated: Assigning the return value of new by reference is deprecated in /home/thevette/public_html/forums/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/thevette/public_html/forums/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/thevette/public_html/forums/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/thevette/public_html/forums/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/thevette/public_html/forums/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/thevette/public_html/forums/includes/init.php on line 134

Anyone know how I can fix a bunch of my addon's without having to reinstall them.

Thanks in advance!

Lynne
01-16-2011, 05:03 PM
Try upgrading your add-ons. Otherwise, you can google the error and find out what the problem/solution is. We can't give you specifics since those are all modifications and if you have problems with modifications, you need to post for help in the modification thread.

benstillman
01-19-2011, 06:18 PM
Pretty sure that has nothing to do with changed paths. That's a newer version of PHP (like 5.3?) warning that old PHP4 code is being deprecated. Just edit your php.ini file. Put a semicolon and a space (; ) before the line "error_reporting =".

snakes1100
01-19-2011, 09:13 PM
@ben, that wont stop it from spitting out the messages, as they are in the php files themselves.

You can turn off this function in php.ini then hup apache.

display_errors = off

benstillman
01-19-2011, 11:25 PM
Pretty sure that has nothing to do with changed paths. That's a newer version of PHP (like 5.3?) warning that old PHP4 code is being deprecated. Just edit your php.ini file. Put a semicolon and a space (; ) before the line "error_reporting =".

@ben, that wont stop it from spitting out the messages, as they are in the php files themselves.

You can turn off this function in php.ini then hup apache.

display_errors = off

You sure? The errors are not in the .php files. It's just PHP5 telling you that there is PHP4 specific code in the files, and that it's been deprecated. Turning off the error reporting (by commenting out the line in the php.ini file) should be sufficient. It's all I did. And of course restart apache after you save the php.ini file.

snakes1100
01-20-2011, 03:38 AM
I never said the errors are in the php files.

benstillman
01-20-2011, 03:44 AM
I never said the errors are in the php files.

@ben, that wont stop it from spitting out the messages, as they are in the php files themselves.

You can turn off this function in php.ini then hup apache.

display_errors = off

:confused:

snakes1100
01-20-2011, 01:05 PM
ok, you see the word "ERROR" in there where?

benstillman
01-20-2011, 03:20 PM
ok, you see the word "ERROR" in there where?

So what are you saying then? What's in the php files?

snakes1100
01-20-2011, 03:30 PM
You apparently run a vb forum, it may be wise to view whats in your php files, notably at the top of them for error_reporting calls.