帝国cms安装遇到安装数据失败的解决方法

admin 2024年1月19日13:50:24帝国cms技巧评论1,381 次浏览阅读模式

内容摘要

帝国cms安装遇到安装数据失败的解决方法

文章正文

帝国cms安装遇到安装数据失败的解决方法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了

代码注释

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2024年1月19日13:50:24
  • 转载请务必保留本文链接:https://anyun.org/a/webtips/ecmstips/2024/0119/17696.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: