我第一次安装ecshop时失败了。提醒安装数据信息不成功。并给予警告。
Warning:date_default_timezss="superseo">ss="superseo">one_get():Itisnotsafetorelyonthesystem’stimezonesettings.Youare*required*tousethedate.timezonesettingorthedate_default_timezone_set()function.Incaseyouusedanyofthosemethodsandyouarestillgettingthiswarning,youmostlikelymisspelledthetimezoneidentifier.Weselected‘UTC’for‘8.0/noDST’insteadinD:\wapm\www\ECShop\upload\install\includes\lib_installer.phponline223Warning:date_default_timezone_get():Itisnotsafetorelyonthesystem’stimezonesettings.Youare*required*tousethedate.timezonesettingorthedate_default_timezone_set()function.Incaseyouusedanyofthosemethodsandyouarestillgettingthiswarning,youmostlikelymisspelledthetimezoneidentifier.Weselected‘UTC’for‘8.0/noDST’insteadinD:\wapm\www\ECShop\upload\install\includes\lib_installer.phponline223
我个不正确应该是沒有默认设置时区,从警示中能够看得出是由于时区的难题。我寻找\upload\install\includes\lib_installer.php文件,再加上date_default_timezone_set(’Asia/Shanghai’);这名后就安裝成功了。立刻就可以用ecshop了。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)