What version of Cake are you using? findAll() was replaced by
find('all') in 1.2.

>From the 1.3 docs: 
>http://book.cakephp.org/view/1017/Retrieving-Your-Data#find-all-1021

On Jan 6, 7:22 pm, AndreGuerreiro <[email protected]> wrote:
> Hi, I got this message callingwww.bodoquemkt.com.br/users/knownusers
> .
>
> This knownusers was created as described 
> onhttp://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/s...
> .
>
> Warning (512): SQL Error: 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 'findAll' at line 1 [CORE/cake/libs/model/
> datasources/dbo_source.php, line 681]
>
> I wasn´t able to find where to set the MySQL server version.
>
> I´ll apreciate any help. Thank´s.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to