Newbie Question on 'Views' on the Blog Tutorial

2008-09-28 Thread ManMetal

Hi There,
I have been sucessful in configurating CakePHP and I have almost
finished the Blog Tutorial. When I run the app I get an SQL error
listed below. It appears there is some kind of error in the 'all LIMIT
1 at line 1 that mySQL does not like. I can't find where the SQL is
located at nor do I know if I should edit it.

Can someone help me to get the proper view or what to do next?

Thanks,
Jerry


Query: SELECT `Post`.`id`, `Post`.`title`, `Post`.`body`,
`Post`.`created`, `Post`.`modified` FROM `posts` AS `Post` WHERE all
LIMIT 1
Warning: 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 'all LIMIT 1' at line 1 in C:\wamp\www\cake\cake
\libs\model\datasources\dbo_source.php on line 440
CakePHP Rapid Development
Blog posts

Warning: Invalid argument supplied for foreach() in C:\wamp\www\cake
\app\views\posts\index.thtml on line 11
Id  Title   Created


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Newbie Question on 'Views' on the Blog Tutorial

2008-09-28 Thread ManMetal

To resolve this issue I use the 1.2xxx and everything worked just
fine...

Jerry

On Sep 28, 12:19 pm, ManMetal [EMAIL PROTECTED] wrote:
 Hi There,
 I have been sucessful in configurating CakePHP and I have almost
 finished the Blog Tutorial. When I run the app I get an SQL error
 listed below. It appears there is some kind of error in the 'all LIMIT
 1 at line 1 that mySQL does not like. I can't find where the SQL is
 located at nor do I know if I should edit it.

 Can someone help me to get the proper view or what to do next?

 Thanks,
 Jerry

 Query: SELECT `Post`.`id`, `Post`.`title`, `Post`.`body`,
 `Post`.`created`, `Post`.`modified` FROM `posts` AS `Post` WHERE all
 LIMIT 1
 Warning: 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 'all LIMIT 1' at line 1 in C:\wamp\www\cake\cake
 \libs\model\datasources\dbo_source.php on line 440
 CakePHP Rapid Development
 Blog posts

 Warning: Invalid argument supplied for foreach() in C:\wamp\www\cake
 \app\views\posts\index.thtml on line 11
 Id      Title   Created
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---