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`, `Option`.`extension_name`,
`Option`.`extension_args`, `Option`.`menu` FROM `fk3_options` AS
`Option` WHERE `Option`.`pageid` = 41 LIMIT 1

The problem is in the 'WHERE clause'. The record 'pageid' doesn't
exist, instead of it should be 'page_id'.

Warning (512): SQL Error: 1054: Unknown column 'Option.pageid' in
'where clause' [ROOT/system/cake/libs/model/datasources/
dbo_source.php, line 440]

There is no problem on localhost, but it is on the external server :(.
Please help me if you can.

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

Reply via email to