點(diǎn)評(píng):在我第一次安裝ecshop時(shí)失敗了。提示遇到安裝數(shù)據(jù)失敗。并報(bào)出警告。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
我個(gè)錯(cuò)誤應(yīng)該是沒有默認(rèn)時(shí)區(qū), 從警告中可以看出是因?yàn)闀r(shí)區(qū)的問題。我找到\upload\install\includes\lib_installer.php文件,加上date_default_timezone_set (’asia/shanghai’);這名后就安裝成功了。馬上就可以用ecshop了。