Disable strict standards in PHP 5.3.8

梦想与她 提交于 2019-12-03 19:30:31

I have the same problem. This is how I fix it in joomla.

Set error_reporting in configuration.php of joomla to "30711" (equal to E_ALL & ~E_NOTICE & ~E_STRICT)

Jannik Olsen

just messed around with this and would like to share my own results. I did not do it runtime using php, I did it in the php.ini file.

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

Remeber to restart the server afterwards ....

I tried thanhtd's solution, but it didn't not work for me. However, I changed the error_reporting value to '1' instead of the default '0' in my configuration.php file for Joomla (2) and that worked. So thanks to thanhtd for getting me on the right path.

to suppress all errors use E_NONE

you might also want to use display_errors(0)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!