CakePHP2.3-RCを試してみました。
ファイルを展開してDatabaseを作ってウェブサーバーの設定をしました。
CakePHPではお決まりの設定でtmpディレクトリのパーミッションを777にしておきました。
ブラウザからアクセスしました。
あるえー(☝ ՞ਊ ՞)☝ なんかエラーがでた
Warning: strtotime(): 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 /Library/WebServer/Documents/dev.chocospot.com/cakephp2.3-RC2_apppark/lib/Cake/Cache/CacheEngine.php on line 59 Warning: strtotime(): 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 /Library/WebServer/Documents/dev.chocospot.com/cakephp2.3-RC2_apppark/lib/Cake/Cache/CacheEngine.php on line 59
これはあれか、Config/core.phpのタイムゾーンを変更しろということか
date_default_timezone_set(‘Asia/Tokyo’);
date_default_timezone_setがコメントになっているのでそこを外してAsia/Tokyoを入れてみました。
エラーが消えました。次はSecurity Saltを変更します
Config/core.phpのSecurity.saltとSecurity.cipherSeedの文字列を少し1足したりしてかえてみた。
とりあえずここまで開発してみよう(☝ ՞ਊ ՞)☝