安装ecshop网店系统常见错误及解决办法

创建配置 文件............ 成功
创建 数据库............ 成功

安装数据............失败


Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\Inetpub\wwwroot\includes\cls_mysql.php on line 163 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\Inetpub\wwwroot\includes\cls_mysql.php on line 163 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\Inetpub\wwwroot\includes\cls_mysql.php on line 165 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\Inetpub\wwwroot\includes\cls_mysql.php on line 165 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\Inetpub\wwwroot\includes\cls_mysql.php on line 173 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\Inetpub\wwwroot\includes\cls_mysql.php on line 173 OK


解决方案:

在install/includes/init.php文件里加入一句
date_default_timezone_set ('Asia/Shanghai');

例如:

    <?php
    date_default_timezone_set ('Asia/Shanghai');
    /* 报告所有错误 */
    @ini_set('display_errors', 1);
    error_reporting(E_ALL ^ E_NOTICE);

其他代码
===================================================
创建配置 文件............ 成功
创建 数据库............ 成功
安装 数据............ 成功
创建 管理员帐号............ 失败


解决方法:同上

===================================================

创建配置文件............成功
创建数据库............成功
安装数据............成功
创建管理员帐号............成功
处理其它............失败


Warning: mkdir() [function.mkdir]: No such file or directory in /home4/skyrunne/public_html/7dbay/install/includes/lib_installer.php on line 528
无法创建目录,无法创建目录


如果在点击“立即安装”前,不选择屏幕最下方的复选框

安装测试数据:(选择此项,将默认全选预选商品类型)
,就可以顺利完成,反之就会出现如上的错误提示。


  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值