the problem seems to be you are using some helpers , and you didn't include the HTML helper, which contains the function $html->link() just add the html helper to your controller. tell us if it works :)
spark! On 8/21/06, purepear <[EMAIL PROTECTED]> wrote: > > Hi, > my problem: > > I have a controller called - ProductCatsController with an action > - admin_index > I have a /views/productcats/admin_index.thtml file > > But the this url /admin/product_cats/ says "Missing View" in the > title.. and some > "Notice: Undefined variable: javascript in ........ " > "Fatal error: Call to a member function link() on a non-object in > .........." > > I'm sure that the action is executed... the SQL queries in it too.... > but i dont know why cakePHP can't find my view... > I tried to rename /views/productcats/ to /views/product_cats/ > but still the same. > I have other controllers that work with the admin path ... so i dont > think this is the problem. > I think it's because of the controller name.... btw my model name is > ProductCat and set the var $Name in the controller.. > > anybody.. ? :) > > > > > -- [web] http://synapsisdi.com.br [livesets] http://djspark.com.br --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
