Re: Problem with MySQL query

2008-09-11 Thread krzysztofor
I wasn't writting it by myself, but i have to fix this bug. I don't have OptionsController, but propably PagesController will be helpful, because the problem is when i'm on the site with page list. There is everything okey, but when I click on existing page to edit it, this warning appears, and al

Re: Problem with MySQL query

2008-09-11 Thread RichardAtHome
Probably in your OptionsController?. Check out the function that matches the name of your action, ie, http://www.example.com/options/ or http://www.example.com/options/index can be found in your OptionsController (/app/controllers/ options_controller.php) and look for the function index() Also

Re: Problem with MySQL query

2008-09-11 Thread krzysztofor
but i don't know where it is genereted :/ where can it be? --~--~-~--~~~---~--~~ 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 grou

Re: Problem with MySQL query

2008-09-10 Thread RichardAtHome
Post your query code :-) On Sep 10, 3:17 pm, krzysztofor <[EMAIL PROTECTED]> wrote: > Hello everybody. I'm begginer with CakePHP. The MySQL query is > genereting in a wrong way: > > Query: > SELECT `Option`.`id`, `Option`.`menu_id`, `Option`.`parent_id`, > `Option`.`page_id`, `Option`.`order`, `O