|
|
|||||||||||
|
|
|||
|
|||
|
If you use a PHP IDE that supports directly find/replace, perform a find/replace on all vBulletin files.
Searching for: PHP Code:
PHP Code:
PHP Code:
Doing these two things makes vBulletin run flawlessly on PHP 5.3.0. |
|
|
|||
|
|||
|
I have applied the fix with ~8192 to 3.8 trunk (looks ugly but we need to support PHP4 in vB3), and updated the code for 4.0 trunk (vB4 will require PHP5). These changes will make it out with the next release.
For the timezone one, can you please open a new bug report with the specific symptoms so we can look into it? |
|
|
||
|
||
|
Even with the fix
error_reporting(E_ALL & ~E_NOTICE & ~8192);
PHP Deprecated: Assigning the return value of new by reference is deprecated
|
|
|
|||
|
|||
|
Those need to be fixed manually.
Simply find the line it's talking about and change: =& to = You're better off waiting for 3.8.4, though, because they are all fixed in that version. |
|
|
|||
|
|||
|
Actually, not =& to =, that will probably cause problems. It should be "=& new" to "= new", and we are not doing that for 3.8.4, as 3.8.x series must support PHP 4, and doing that in PHP 4 will tell php to make a copy of the variable instead of pass a reference back, which takes double the memory, and may cause undesired behaviors.
As for the error log, I think that's a PHP bug: http://bugs.php.net/bug.php?id=48843 and should be fixed in 5.3.1, which isn't out yet, but can be obtained through their CVS/SVN: http://svn.php.net/ |
|
|
||
|
||
|
I don't understand how to fix the bug.
Can someone explain it to me? |
|
|
|||
|
|||
|
Upgrade to vB 3.8.4. Simple like that.
|
|
|
||
|
||
|
|
|
This petition for a change to Not a Bug was rejected
|
||
|
||
|
Turn of show_errors errors in php.ini.
That solves the problem. |
|
|
||
|
||
|
i am still getting this error
i dont know what to do.... please help
Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 55
Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 107 Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 111 Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 119 Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 130 Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 134 Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 142 Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 211 Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/init.php on line 389 Deprecated: Assigning the return value of new by reference is deprecated in /customers/pakistanipoint.com/pakistanipoint.com/httpd.www/includes/class_core.php on line 2552 |
|
|
|||
|
|||
|
Read the previous message, it should help you.
|
|
|
||
|
||
|
Turn of show_errors errors in php.ini. That solves the problem. |
|
|
||
|
||
|
where can i find this?? (It should be "=& new" to "= new", )
|
|
|
|||
|
|||
|
php.ini is controlled by your host. You need to contact your host for that.
|
|
|
||
|
||
|
Thank You |
|
|
||
|
||
|
i had my host edit the php.ini but still get errors funny did not have a problem till they came out with 3.8.4 PL2
|
|
|
|||
|
|||
|
Yes same here. 3.8.4 PL2 and PHP 5.3.1 does not fix the issue. Getting it on usercp.php, showthread.php, group.php have not found others yet.
Thought this was supposed to be fixed in 3.8.4?? I updated my files with a latest download from today, still showing error. I am not turning off error reporting in the php.ini to simply "hide the problem". Need this fixed. This bug should be open... Can you provide a separate download for php4 users? I mean all do respect, php reached EOL in 2007. PHP 5 has been out for 6 years now. |
|
|
||
|
||
|
Thanks |
|
|
||
|
||
|
Code:
/* sample one */ error_reporting(E_ALL & ~E_NOTICE & -8191); /* sample two */ error_reporting(E_ALL & ~E_NOTICE & ~8192); |
|