PDA

View Full Version : (Deprecated) Please Help Me


kabir
01-08-2011, 11:33 AM
Dear all,
My site move to new server but some problem,
Normally site running but Press thanks button then under show this message

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

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

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

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

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

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

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

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

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

Deprecated: Assigning the return value of new by reference is deprecated in /home/gsmrapi/public_html/includes/class_core.php on line 2552

please help me this issue

kh99
01-08-2011, 12:38 PM
I think this is because the latest versions of php have some minor issues with the older versions of vB (I don't know the exactly version numbers where problems occur, but you can probably find info by searching for that error message on vBulletin.com). Is that 'thanks' thing a mod? Possibly that's the problem and there's an updated version available?

This message can be elimated by finding this:

error_reporting(E_ALL & ~E_NOTICE);
and changing it to this:

error_reporting(E_ALL & ~E_NOTICE & ~8192);


But I can't tell you exactly where to look for it.

metalguy639
01-08-2011, 12:43 PM
Disable the thanks hack or uninstall it. That will solve the problem. Of course if you do not want to disable or uninstall it you may want to post this problem in the thanks hack thread instead for help.

kabir
01-08-2011, 02:13 PM
i disable or uninstall hack but same

kall
01-08-2011, 02:24 PM
i disable or uninstall hack but same
How are they pressing the Thanks button and getting that error if you have disabled the Thanks hack?

metalguy639
01-08-2011, 02:50 PM
How are they pressing the Thanks button and getting that error if you have disabled the Thanks hack?

Yeah that....lol. If it still has an issue after you have disabled the hack then you are having another problem. Did you check to make sure that all your files were transferred and uploaded in the proper places? You may want to double check that, it could be that a file is missing.

kh99
01-08-2011, 02:58 PM
...but you can probably find info by searching for that error message on vBulletin.com. ...

Well OK, I'll do the search for you :)

http://www.vbulletin.com/forum/showthread.php/353555-Deprecated-Assigning-the-return-value-of-new-by-reference-is-deprecated-in-home-car?highlight=Deprecated%3A+Assigning+return+refer ence+deprecated