使用 Joomla! 版本安装 3.1.5 时出现以下错误。 我不确定这是兼容性问题还是软件错误。 有没有人看到这个或没有我如何解决这个问题?
Strict Standards: Non-static method ext_Lang::detect_lang() should not be called statically in D:'Coral'UniServer'www'Joomla'administrator'components'com_extplorer'include'init.php on line 103
Strict Standards: Non-static method ext_Result::init() should not be called statically in D:'Coral'UniServer'www'Joomla'administrator'components'com_extplorer'admin.extplorer.php on line 97
Strict Standards: Non-static method ext_Result::empty_errors() should not be called statically in D:'Coral'UniServer'www'Joomla'administrator'components'com_extplorer'include'result.class.php on line 40
Strict Standards: Non-static method ext_Result::empty_messages() should not be called statically in D:'Coral'UniServer'www'Joomla'administrator'components'com_extplorer'include'result.class.php on line 41
Strict Standards: Declaration of ext_List::execAction() should be compatible with ext_Action::execAction($dir, $item) in D:'Coral'UniServer'www'Joomla'administrator'components'com_extplorer'include'list.php on line 387
Back to Joomla! eXtplorer Logo Current mode: extplorer [Logout]. You could switch to ftp mode.
Strict Standards: Non-static method extHTML::loadExtJS() should not be called statically, assuming $this from incompatible context in D:'Coral'UniServer'www'Joomla'administrator'components'com_extplorer'include'list.php on line 374
我认为Joomla还没有为PHP5.4做好准备。
您可以尝试检查 php.ini 值是否有error_reporting
并向其添加| ~E_STRICT
以阻止它报告这些问题
你应该
在 php 中关闭严格的错误报告.ini
查找以下内容:
error_reporting = ...
并更改为:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
第一种方法
在您的 PHP 代码中使用 error_reporting(E_ALL ^ E_STRICT);
第二种方法
在您的 php.ini 中,将error_reporting = E_ALL
更改为 error_reporting = E_ALL & ~E_STRICT
.请确保在对 php 进行更改后重新启动 Apache 服务器.ini