我安装ECMall后报PHP Strict Standards错误,请问如何解决
1个回答
2016-03-19 · 百度知道合伙人官方认证企业
育知同创教育
1【专注:Python+人工智能|Java大数据|HTML5培训】 2【免费提供名师直播课堂、公开课及视频教程】 3【地址:北京市昌平区三旗百汇物美大卖场2层,微信公众号:yuzhitc】
向TA提问
关注
展开全部
当你的网站出现
Strict Standards: Non-static method ECMall::startup() should not be called statically in /htdocs/ecmall/index.php on line 22
Deprecated: Assigning the return value of new by reference is deprecated in /htdocs/ecmall/eccore/controller/app.base.php on line141
Deprecated: Assigning the return value of new by reference is deprecated in /htdocs/ecmall/includes/ecapp.base.php on line 137
Strict Standards: Declaration of FrontendApp::jslang() should be compatible with ECBaseApp::jslang($lang) in /htdocs/ecmall/app/frontend.base.php on line 363
Strict 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_NOTICE
3)重启Apache或者IIS。
4)完毕
Strict Standards: Non-static method ECMall::startup() should not be called statically in /htdocs/ecmall/index.php on line 22
Deprecated: Assigning the return value of new by reference is deprecated in /htdocs/ecmall/eccore/controller/app.base.php on line141
Deprecated: Assigning the return value of new by reference is deprecated in /htdocs/ecmall/includes/ecapp.base.php on line 137
Strict Standards: Declaration of FrontendApp::jslang() should be compatible with ECBaseApp::jslang($lang) in /htdocs/ecmall/app/frontend.base.php on line 363
Strict 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_NOTICE
3)重启Apache或者IIS。
4)完毕
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询