不久之后,我在第三方服务器上创建了一个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
Run Code Online (Sandbox Code Playgroud)
在网上搜索后,我发现我应该在php.ini文件中进行一些更改.但是在cpanel的文件管理器上,我找不到这个文件.有谁可以帮我找到这个文件并解决这些错误.或者有没有其他方法来解决上述问题?
提前谢谢了.
〜Jahnavi
Joomla 1.5在PHP 5.4中工作.
您可以将此代码index.php粘贴到前端和后端.这个对我有用!
//设置这是父文件的标志
define( '_JEXEC', 1 );
error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
32605 次 |
| 最近记录: |