If you are getting the below errors with vBulletin after upgrading php.
Deprecated: Assigning the return value of new by reference is deprecated in E:\websites\dynamic\DOMAIN\a2hosting_forum\includes\init.php on line 383
Deprecated: Assigning the return value of new by reference is deprecated in E:\websites\dynamic\DOMAIN\a2hosting_forum\includes\class_core.php on line 2529
Unable to add cookies, header already sent.
File: E:\websites\dynamic\DOMAIN\a2hosting_forum\includes\init.php
Line: 49
To fix
Try replacing
error_reporting(E_ALL & ~E_NOTICE);
with
error_reporting(E_ALL & ~E_NOTICE & ~8192);
Then replace all occurances of '=&' with '='
Friday, January 27, 2012
vbulletin error after upgrading php "includes/init.php Line: 49"
Subscribe to:
Post Comments (Atom)
5 comments:
in which files .
please help
do a site wide search and replace
wow! in every file?
yep, it worked for me and was easier to replace them all than to find the specific ones. Make a backup first.
I just spent 3 days trying to fix this. You are my hero.
Post a Comment