EC-CUBE


php.ini でタイムゾーン(timezone)を設定してない場合に date関数を使用すると下記のエラーが表示されます。

Warning: date() [function.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 'Asia/Tokyo' for 'JST/9.0/no DST' instead in /var/www /html/eccube/data/class/util/GC_Utils.php on line 221


解決方法

php.ini の [Date] セクションに タイムゾーン(timezone) を設定する。

[Date]
date.timezone = Asia/Tokyo




トップ   編集 凍結解除 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-06-30 (木) 01:40:11