最新公告
  • 欢迎您光临深度共享,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境!立即加入我们
  • 关于ECSHOP模板架设的服务器php版本过高报错的解决方法集合

    /includes/lib_base.php on line 629
    /includes/lib_base.php on line 627

    给予上传图片文件夹images 777权限

    部分源码请在后台--系统设置--基本设置--URL重写选择禁用

    手机端排版不支持删除index.php以下内容

    $ua = strtolower($_SERVER['HTTP_USER_AGENT']);
      
    $uachar = "/(nokia|sony|ericsson|mot|samsung|sgh|lg|philips|panasonic|alcatel|lenovo|cldc|midp|mobile)/i";
      
    if(($ua == '' || preg_match($uachar, $ua))&& !strpos(strtolower($_SERVER['REQUEST_URI']),'wap'))
    {
        $Loaction = 'mobile/';
      
        if (!empty($Loaction))
        {
            ecs_header("Location: $Loaction\n");
      
            exit;
        }
      
    }

    1、admin/index.php
    admin/sms_url.php
    报错:Strict Standards: mktime(): You should be using the time() function instead in/data/web/ledetaoadmin/sms_url.php on line 31

    $auth = mktime();
    替换为:
    $auth = time();

    报错:Strict Standards: Only variables should be passed by reference in /data/web/includes/lib_main.php on line1336

    2、lib_main.php
    $ext = end(explode('.', $tmp));
    替换为:
    $ext = end();
    $ar = explode('.', $tmp);
    $ext = end($ar);
    继续报错
    Warning: end() expects parameter 1 to be array, null given in /data/web/includes/lib_main.php on line 1336
    将刚刚的代码改成:
    $arr=array();
    $ext = end($arr);
    $ar = explode('.', $tmp);
    $ext = end($ar);

    3、cls_template.php

    $tag_sel = array_shift(explode(' ', $tag));
    替换为:
    $tag_arr = explode(' ', $tag);
    $tag_sel = array_shift($tag_arr);

    4、cls_captcha.php
    /**
    * 构造函数
    *
    * @access public
    * @param
    *
    * @return void
    */
    function __construct($folder = '', $width = 145, $height = 20)
    {
    $this->captcha($folder, $width, $height);
    }
    移动到:
    /**
    * 构造函数
    *
    * @access public
    * @param string $folder 背景图片所在目录
    * @param integer $width 图片宽度
    * @param integer $height 图片高度
    * @return bool
    */
    前面

    5、admin\includes\cls_sql_dump.php

    /**
    * 类的构造函数
    *
    * @access public
    * @param
    *
    * @return void
    */
    function __construct(&$db, $max_size =0)
    {
    $this->cls_sql_dump($db, $max_size);
    }
    移动到:
    /**
    * 类的构造函数
    *
    * @access public
    * @param
    *
    * @return void
    */
    前面

    Strict Standards: Redefining already defined constructor for class chinabank in/data/web/includes/modules/payment/chinabank.php on line 85

    Strict Standards: Redefining already defined constructor for class paypal_ec in/data/web/includes/modules/payment/paypal_ec.php on line 96

    Strict Standards: Redefining already defined constructor for class shenzhou in/data/web/includes/modules/payment/shenzhou.php on line 81

    Strict Standards: Redefining already defined constructor for class ips in/data/web/includes/modules/payment/ips.php on line 82

    Strict Standards: Redefining already defined constructor for class balance in/data/web/includes/modules/payment/balance.php on line 79

    Strict Standards: Redefining already defined constructor for class alipay in/data/web/includes/modules/payment/alipay.php on line 85

    Strict Standards: Redefining already defined constructor for class tenpay in/data/web/includes/modules/payment/tenpay.php on line 83

    Strict Standards: Redefining already defined constructor for class post in/data/web/includes/modules/payment/post.php on line 79

    Strict Standards: Redefining already defined constructor for class paypal in/data/web/includes/modules/payment/paypal.php on line 82

    Strict Standards: Redefining already defined constructor for class tenpayc2c in/data/web/includes/modules/payment/tenpayc2c.php on line 83

    Strict Standards: Redefining already defined constructor for class cappay in/data/web/includes/modules/payment/cappay.php on line 81

    Strict Standards: Redefining already defined constructor for class bank in/data/web/includes/modules/payment/bank.php on line 79

    Strict Standards: Redefining already defined constructor for class kuaiqian in/data/web/includes/modules/payment/kuaiqian.php on line 83

    Strict Standards: Redefining already defined constructor for class cod in/data/web/includes/modules/payment/cod.php on line 82

    解决办法:
    将所有的构造函数放到前面:
    如alipay.php

    function __construct()
    {
    $this->alipay();
    }
    放到
    function alipay()
    {
    }

    深度共享是一个软件,网站源码,,小程序源码等各种资源共享的优秀网站!
    1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
    2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
    3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
    4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
    5. 如有链接无法下载、失效或广告,请联系管理员处理!
    6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
    7. 如遇到加密压缩包,默认解压密码为"depthshare.com",如遇到无法解压的请联系管理员!

    深度共享资源下载网 » 关于ECSHOP模板架设的服务器php版本过高报错的解决方法集合

    常见问题FAQ

    免费下载或者VIP会员专享资源能否直接商用?
    本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
    提示下载完但解压或打开不了?
    最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。若排除这种情况,可在对应资源底部留言,或 联络我们.。
    找不到素材资源介绍文章里的示例图片?
    对于PPT,KEY,Mockups,APP,网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。
    深度共享
    一个有深度的资源共享网站
    error: Content is protected !!