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内容来自木庄网络博客


标签:ECSHOP

相关阅读 >>

网站搜索框使用微信扫码功能

人物:戴志康,80后创业者携惊叹号而来

万网独享主机apache为ECSHOP商城添加404页面的方法详解

微信小程序实现获取准确的腾讯定位地址功能示例

使用php实现快钱支付功能(涉及到接口)

ECSHOP 二次开发 加入用户定制商品类型的方法

微信小程序 可搜索的地址选择实现详解

再谈php未来之路

asp.net mvc使用razorengine解析模板生成静态页

献给php初学者(入门学习经验谈)

更多相关阅读请进入《ECSHOP》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...