Yes, its a portuguese word.
But, at least in this case (clientes) Im think the inflector is not the
problem, since bake inflects correctly the table "clientes" to model
"client".
Oddly enough, this problem had vanished when I turned OFF php safe
mode!
Now Im trying to understand why...
Norman

On 17 jan, 14:47, "DJ Spark" <[EMAIL PROTECTED]> wrote:
 Hi Norman,

 I cannot test it now, but it may be related to the plural form of
'cliente'. Cake has only english rules, and if you are writing in
portuguese, you know there are no rules :]
 to avoid that, try to write it in the inflections.php , in the
irregular plurals array.

 If the problem persists, and you are writing in  english, check a
typo in your controllers/models, because the error is pointing to
'clientes' folder ;)

 spark

On 1/17/07, Norman <[EMAIL PROTECTED]> wrote:





> Hello!
> Im starting with CakePHP and struggling wit the following situation:

> Using bake, I create a model, views and the controller for a single DB
> table. If I create (by hand or using bake) a scaffolding controller,
> everything works as expected, all views render the expected results.
> But if I create the controller methods by hand or using bake with NO
> scaffolding, Im always getting:

> "Missing View
> You are seeing this error because the view for
> ClientesController::index() could not be found.
> Fatal: Confirm you have created the file :
> /home/test/public_html/intranet/app/views/clientes/index.thtml"

> The file /home/test/public_html/intranet/app/views/clientes/index.thtml
> is there. The permissions are ok. The index() method is defined in the
> controller file.

> What I am missing here, any tips for a begginer?
> Thanks,
> Norman--
[web]http://synapsisdi.com.br
[livesets]http://djspark.com.br/mp3


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

Reply via email to