Saturday, July 4, 2009

Re: generateList() returning SQL error.

What cake version are you using now? If it is cake 1.2, generateList
is deprecated, you should use find('list').
Also, would be more helpful if you post your Book and Author model and
its relationship here.

~hendry

On Sun, Jul 5, 2009 at 12:53 PM, centr0<centroscape@gmail.com> wrote:
> the error msg is:
> 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 'generateList' at line 1
>
> im using xampp on win xp so im guessing everything is up to date.  my
> db_config uses mysqli.
>
> any ideas?  thanks in advance for response.

--~--~---------~--~----~------------~-------~--~----~
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: