安装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
无法创建目录,无法创建目录


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

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

你可能感兴趣的:(ecshop)