Just to know.
Is the name of your model filename:
tb_cliente.php ?
Is the definition of your class:
class TbCliente extends AppModel { ?
Have you defined in config/inflections.php something like:
$uninflectedPlural = array('*cliente'); ?
(this only to prevent pluralization)
> -----Messaggio originale-----
> Da: [email protected]
> [mailto:[EMAIL PROTECTED] Per conto di Erick Tedeschi
> Inviato: martedì 6 febbraio 2007 12.36
> A: Cake PHP
> Oggetto: Bake in tables without standard of cakephp
>
>
> i am trying make bake on table such:
>
> TABLE NAME: tb_cliente
> codigo int not null auto_increment primary key, nome_cliente
> varchar(100) not null, endereco varchar(150), telefone
> varchar(12), created date, updated date
>
> But when I make controller with bake:
> PHP Fatal error: Class 'TbCliente' not found in
> /var/www/htdocs/cake/ scripts/bake.php on line 1331
>
> On model I change value of useTable to tb_cliente and value
> of primaryKey to codigo.
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---