安装ECMall后报PHP Strict Standards错误的解决方法

答:当你的网站出现Strict Standards: Non-static method ECMall::startup() should not be called statically in /htdocs/ecmall/index.php on line 22Deprecated: Assigning the return value of new by reference is deprecated in /htdocs/ecmall/eccore/controller/app.base.php on line 141Deprecated: Assigning the return value of new by reference is deprecated in /htdocs/ecmall/includes/ecapp.base.php on line 137Strict Standards: Declaration of FrontendApp::jslang() should be compatible with ECBaseApp::jslang($lang) in /htdocs/ecmall/app/frontend.base.php on line 363Strict Standards: Declaration of Message::display() should be compatible with BaseApp::display($n) in /htdocs/ecmall/eccore/controller/message.base.php on line 329等类似错误提示的时候(PHP5.2.*版本的同样有这情况),可以考虑我们下面给出的解决方法:1)问题分析:该错误是PHP环境配置的问题,并非程序问题;2)找到php.ini 文件,将 error_reporting 的值改为:error_reporting = E_ALL & ~E_NOTICE3)重启Apache或者IIS。4)完毕

补充:此修改方法需要登录远程服务器桌面,如果你的是虚拟主机,则需要找空间商解决。

画龙画虎难画骨,知人知面不知心。

安装ECMall后报PHP Strict Standards错误的解决方法

相关文章:

你感兴趣的文章:

标签云: