首次安裝ecshop時(shí)出現(xiàn)第三步安裝數(shù)據(jù)失敗,絕大多數(shù)情況是因?yàn)闆]有設(shè)置時(shí)區(qū)造成的。報(bào)警代碼如下:
1)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 (網(wǎng)站根目錄路徑)/upload/install/includes/lib_installer.php on line 223
2)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 (網(wǎng)站根目錄路徑)/upload/install/includes/lib_installer.php on line 223
安裝失敗圖示:

解決辦法:
找到/upload/install/includes/lib_installer.php文件,在程序頂部加上date_default_timezone_set ('asia/shanghai');然后就可以繼續(xù)安裝知道成功了。
以上就是ecshop安裝數(shù)據(jù)失敗的解決方法的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)和解決疑問(wèn)有所幫助,也希望大家多多支持武林網(wǎng)。新聞熱點(diǎn)
疑難解答