在安裝ECSHOP時,進行到配置頁,填寫數據庫及管理員等信息后點擊下一步,提示如下:
創建配置文件............成功
創建數據庫............成功
安裝數據............成功
創建管理員帳號............失敗
Warning: date(): 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:/wwwroot/hobou/includes/lib_time.php on line 28 OK
網上提示方法將install/includes/lib_installer.php以下內容修改后仍然提示失敗:
include(ROOT_PATH . 'install/languages/' . $system_lang . '.php');
修改為
include(ROOT_PATH . 'install/languages/zh_cn.php');
解決辦法:
在php.ini中將date.timezone前面的分號去掉,修改為date.timezone = PRC,保存重啟WEB
新聞熱點
疑難解答