I guess that has something to do with the cake name conventions. Did
you try setting var $useTable = "lang"; ?

On Jun 25, 12:55 am, Alvas <[EMAIL PROTECTED]> wrote:
> Hello I'm new here.
> I got this problem when I upload my script to web host :
>
> Query: SELECT `Language`.`id`, `Language`.`lang`, `Language`.`code`
> FROM `Langs` AS `Language` WHERE `Language`.`default`='1' LIMIT 1
> Warning: SQL Error: 1146: Table 'h53.Langs' doesn't exist in /home/
> user/h53/sites/www/cake/libs/model/datasources/dbo_source.php on line
> 440
>
> Why cake search for table "Langs" ? when actually my table in db is
> "langs" (All lowercase) ?

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