有時候,我在第三方服務器上創建了一個Joomla網站。現在,當我嘗試訪問的網站,我看到錯誤,如下列:Joomla網站投訴錯誤
Strict Standards: Non-static method JLoader::import() should not be called statically in /home/chinfote/public_html/libraries/joomla/import.php on line 29
Strict Standards: Non-static method JLoader::register() should not be called statically in /home/chinfote/public_html/libraries/loader.php on line 71
Strict Standards: Non-static method JLoader::import() should not be called statically in /home/chinfote/public_html/libraries/joomla/import.php on line 32
Strict Standards: Non-static method JLoader::register() should not be called statically in /home/chinfote/public_html/libraries/loader.php on line 71
Strict Standards: Non-static method JLoader::load() should not be called statically in /home/chinfote/public_html/libraries/loader.php on line 161
Strict Standards: Non-static method JLoader::register() should not be called statically in /home/chinfote/public_html/libraries/loader.php on line 138
Strict Standards: Non-static method JRequest::clean() should not be called statically in /home/chinfote/public_html/libraries/joomla/import.php on line 33
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/chinfote/public_html/libraries/joomla/environment/request.php on line 463
在網上搜索後,我發現我應該做在php.ini文件中的一些變化。但在cPanel的文件管理器上,我找不到這個文件。 任何人都可以請幫我找到這個文件並解決這些錯誤。 或者有沒有其他解決上述問題的方法?
非常感謝提前。
〜Jahnavi
有一些託管公司誰不爲php.ini提供接入。此外,我想你想關閉錯誤報告這應該首先在生產環境中完成,請聯繫您的託管公司以解決此問題。順便說一句,我認爲您可以關閉Joomla管理面板中的錯誤報告。 – HamZa 2013-04-20 17:09:47
您可以關閉全局配置中的錯誤報告Joomla後端或要求你主持禁用嚴格的錯誤報告 – Lodder 2013-04-20 17:12:52
我甚至無法訪問Joomla後端。同樣的錯誤也是如此。當聯繫主機公司時,他們sa證明他們不能解決編碼問題。 :(請再試一次,謝謝。請讓我知道如果還有其他事情我可以做。 – 2013-04-20 17:18:26