williamn wrote: > Notice: Undefined variable: html in D:\xampp\htdocs\sirusananda\app > \views\layouts\default.thtml on line 17 > > Fatal error: Call to a member function css() on a non-object in D: > \xampp\htdocs\sirusananda\app\views\layouts\default.thtml on line 17 > > But when I switch back, those error messages just disappear.
Strange, generally this error appear when the HtmlHelper is not defined in the helpers array of the controller. Is it defined? var helpers = array("html",...); -- Live life like you're gonna die. Because you're gonna. William Shatner --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---