开发者

Why do I continue to receive PHP Deprecated errors despite this ini setting?

I've set my error_reporting to

error_reporting = E_ALL & ~E_DEPRECATED ^ E_STRICT

in php.ini. The numerical value according to phpinfo() is 22527.

However we are still logging plenty of

[01-Oct-2011 13:06:36] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /htdocs/www/site/core.php on line 2381
[01-Oct-2011 13:06:36] PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /htdocs/www/site/core.php on line 1538

I've seen a few other questions about this, but not with any solutions I haven't tried. We're using (an outdated version of) VBulletin. Could that be chan开发者_运维知识库ging the setting?

I see now that VBulletin's forumdisplay.php has a line

error_reporting(E_ALL & ~E_NOTICE);

Commenting this out didn't change anything.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜