• 打开商城首页及后台出现乱码及以下一系列的错误信息


    Strict Standards: Non-static method ECMall::startup() should not be called statically in D:wampwwwecmallindex.php on line 22
    Deprecated: Assigning the return value of new by reference is deprecated in D:wampwwwecmalleccorecontrollerapp.base.php on line 141
    Deprecated: Assigning the return value of new by reference is deprecated in D:wampwwwecmallincludesecapp.base.php on line 143
    Deprecated: Assigning the return value of new by reference is deprecated in D:wampwwwecmallincludesecapp.base.php on line 149
    Strict Standards: Declaration of FrontendApp::jslang() should be compatible with ECBaseApp::jslang($lang) in D:wampwwwecmallappfrontend.base.php on line 365
    Strict Standards: Declaration of Message::display() should be compatible with FrontendApp::display($tpl) in D:wampwwwecmalleccorecontrollermessage.base.php on line 332

    Strict Standards:Non-static method Conf::get() should not be called statically, assuming $this from incompatible context inD:wampwwwecmallappfrontend.base.phpon line 446

    解决办法

    到ecmall安装目录下 找到 ecmall/eccore/ecmall.php

    把 function get( 改成 static function get(

    把 function startup( 给成 static function startup(

    到php安装目录下找到php.ini 把 error_reporting = E_ALL 改成 error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT 重启服务

  • 相关阅读:
    微信小程序分列显示数据
    微信小程序open-data获取用户的信息样式设置
    微信小程序-获取当前城市位置
    EXCEL按照指定的格式递增到指定的行
    在Linux合并文件
    在Linux切割文件
    解锁oracle用户的方法
    oracle/MySQL构造数据的存储过程
    在PL/SQL登录时报system用户表空间不足
    删除oracle数据库用户
  • 原文地址:https://www.cnblogs.com/xihong2014/p/4298021.html
Copyright © 2020-2023  润新知