ecshop安装遇到安装数据失败的解决方法
2016-06-18来源:易贤网

点评:在我第一次安装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 d:\wapm\www\ecshop\upload\install\includes\lib_installer.php on line 223

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 d:\wapm\www\ecshop\upload\install\includes\lib_installer.php on line 223

我个错误应该是没有默认时区, 从警告中可以看出是因为时区的问题。我找到\upload\install\includes\lib_installer.php文件,加上date_default_timezone_set (’asia/shanghai’);这名后就安装成功了。马上就可以用ecshop了。

推荐信息