douyun1546 2018-08-21 14:06
浏览 31

禁用错误报告php 5.6 Joomla 1.5

I have become a webmaster on an old forum and inherited a major problem. Basically we get error logs approx 750mb every day like this, and within days our domain is full.

[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::import() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 29 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 71 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::import() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 32 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 71 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::load() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 161 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 138 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::clean() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 33 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 463 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 464 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 465 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 466*

So far I have tried to add php_flag display_errors Off to the .htaccess and it gave me a 500 warning when trying to load the web site

We have Joomla 1.5.26 and php 5.6

Would it be a case of rolling back to php 5.4 or do I add some code to the 5.6 php.ini file Incidentally its named php.ini2 ????

Sorry for my inexperience but I am trying my best to sort this. Thanks Terry

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 用hfss做微带贴片阵列天线的时候分析设置有问题
    • ¥50 我撰写的python爬虫爬不了 要爬的网址有反爬机制
    • ¥15 Centos / PETSc / PETGEM
    • ¥15 centos7.9 IPv6端口telnet和端口监控问题
    • ¥120 计算机网络的新校区组网设计
    • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
    • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
    • ¥20 海浪数据 南海地区海况数据,波浪数据
    • ¥20 软件测试决策法疑问求解答
    • ¥15 win11 23H2删除推荐的项目,支持注册表等