Has faced very strange problem. At creation own Shell, which should be
started on cron, if the connected model has association with another
the script takes off with the following error:
Warning: Illegal offset type in /<root_path>/cake/libs/model/
datasources/dbo_source.php on line 332
Notice: Array to string conversion in /<root_path>/cake/libs/model/
datasources/dbo/dbo_mysql.php on line 408
Notice: Array to string conversion in /<root_path>/cake/libs/model/
datasources/dbo_source.php on line 509
Warning: <span style = "color:Red;text-align:left"><b>SQL Error:</b>
1064: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'Array' at line 1</span> in /home/harohelper/harohelper.com/cake/
libs/model/datasources/dbo_source.php on line 515
Notice: Array to string conversion in /<root_path>/cake/libs/model/
datasources/dbo_source.php on line 519
The error occurs at an initialization stage.
One more important detail - it happens only on linux server, and on my
windows machine everything good.
Somebody faced the similar problem? Could you prompt me how to solve
this?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment