帮助中心 >  技术知识库 >  数据库 >  相关技术支持 >  ecshop安装遇到安装数据失败的解决方法

ecshop安装遇到安装数据失败的解决方法

2016-12-08 08:19:36 7550

ecshop安装遇到安装数据失败的解决方法


安装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:wapmwwwECShopuploadinstallincludeslib_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:wapmwwwECShopuploadinstallincludeslib_installer.php on line 223 

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


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: