If you are using postgres make sure you have the latest version of the 
dbo from the trunk.

monty wrote:
> Hi all,
> I am running through the posts tutorial on the Cake site and got stuck
> when come across $this->Post->findAll();
> After setting my degub level to 2, letting me see my sql output, i got
> the following
>
> Notice: Undefined offset: 0 in C:\Program Files\Apache
> Group\Apache2\htdocs\vouchme_cake\cake\libs\model\dbo\dbo_postgres.php
> on line 213
>
> The generated sql:
>       SELECT "Post"."" AS "Post__", "Post"."" AS "Post__", "Post"."" AS
> "Post__", "Post"."" AS "Post__", "Post"."" AS "Post__" FROM "posts" AS
> "Post" WHERE 1 = 1
>
>
> I tried using $this->Post->findBySql("select * from posts");
> and this worked fine.
>
> Is this problem familiar to anyone?
> Help much appreciated.
> Si.
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to