【XAMPP】CAKEPHPアプリをXAMPP環境で動かす

概要

 
CENTOSのサーバー上で動作していたCAKEPHP2.8系アプリをXAMPP環境に移植すると以下のワーニングが発生する
 

 

環境

 

 

 

記事

 

 

 

エラーコード

Warning (4096): Argument 1 passed to Hash::get() must be of the type array, string given, called in C:\xampp_2\htdocs\aspara\lib\Cake\Controller\Component\CookieComponent.php on line 278 and defined [CORE\Cake\Utility\Hash.php, line 42]

Warning (4096): Argument 1 passed to Hash::insert() must be of the type array, string given, called in C:\xampp_2\htdocs\aspara\lib\Cake\Controller\Component\CookieComponent.php on line 241 and defined [CORE\Cake\Utility\Hash.php, line 224]

Warning (2): Illegal string offset 'mode' [CORE\Cake\Utility\Hash.php, line 260]

Warning (2): Cannot modify header information - headers already sent by (output started at C:\xampp_2\htdocs\aspara\lib\Cake\Utility\Debugger.php:806) [CORE\Cake\Network\CakeResponse.php, line 442]
 

課題

 

 

 

まとめ

 

 

 

関連記事

 

 

 

参考