2009年06月08日

Web.Dev | CakePHP persistModel

persistModel :: Controller Attributes :: Controllers :: Developing with CakePHP :: The Manual :: 1.2 Collection :: The Cookbook

Warning (2): mysql_real_escape_string(): 13 is not a valid MySQL-Link resource [CORE\cake\libs\model\datasources\dbo\dbo_mysql.php, line 508]
上記のような cake_sessions テーブル周りの SQL に関連する Warning メッセージが出るようになったので調べていたら、Controller で $persistModel = true としていたのが原因だった。

Posted by otsuka : 16:30 | Comment (0) | Trackback (0)
Comment









名前、アドレスを登録しますか?