Quote:
Originally Posted by Chadi
Upgraded php to 5.3x and now I get this in backend:
Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 55
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 107
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 111
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 119
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 130
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 134
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 142
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 211
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/init.php on line 389
Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/includes/class_core.php on line 2552
|
In PHP 5 and above pass-by-reference is done automatically, but in PHP 4 had to be done explicitly. As of PHP 5.3 you will get the deprecated warning message appear.
What you need to do is edit
read_pms.php, at line 502 find:
PHP Code:
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
and change it to:
PHP Code:
$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
That should fix your issue
I am probably not going to put a fix for download yet, as most vBulletin v 3.x.x installations still reside on servers that have not been upgraded to PHP 5.3 and above yet.