大家好,今小编要介绍的是关于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:\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了。
以上就是ecshop安装遇到安装数据失败的解决方法的全部内容,希望可以帮助到您。感谢对蚂蚁资源网的支持。
(责任编辑:
韩沐依)
版权声明:文章内容是蚂蚁资源网小编精心整合原创的,素材来源于互联网,如无意侵犯到您的权益,请联系网站客服核实版权信息,以便及时删除。