ecshop安装遇到安装数据失败的解决方法
来源:易贤网 阅读:1783 次 日期:2016-06-18 09:46:43
温馨提示:易贤网小编为您整理了“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了。

更多信息请查看CMS教程
由于各方面情况的不断调整与变化,易贤网提供的所有考试信息和咨询回复仅供参考,敬请考生以权威部门公布的正式信息和咨询为准!
关于我们 | 联系我们 | 人才招聘 | 网站声明 | 网站帮助 | 非正式的简要咨询 | 简要咨询须知 | 加入群交流 | 手机站点 | 投诉建议
工业和信息化部备案号:滇ICP备2023014141号-1 云南省教育厅备案号:云教ICP备0901021 滇公网安备53010202001879号 人力资源服务许可证:(云)人服证字(2023)第0102001523号
云南网警备案专用图标
联系电话:0871-65317125(9:00—18:00) 获取招聘考试信息及咨询关注公众号:hfpxwx
咨询QQ:526150442(9:00—18:00)版权所有:易贤网
云南网警报警专用图标