I think you need to merge your $helpers variable, because you variable in testcontroller overwrites one in appcontroller.
On 20 мар, 16:35, Henrik Gemal <henrikge...@gmail.com> wrote: > I just tried to upgrade to CakePHP 1.2.2.8120 and now I'm getting > "Undefined variable: html" > > My app_controller.php: > class AppController extends Controller { > var $components = array("P28n"); > var $helpers = array("Html", "Form", "Javascript", "Session"); > > } > > My test_controller.php: > > class TestController extends Controller { > var $components = array("RequestHandler", "Cookie", "Email"); > var $helpers = array("Mailto", "Validanguage"); > > --------------------- > > If I move all of the helpers to TestController it works. But I dont > have that.... > > What have changed? Do I need to change my code or is it a bug? --~--~---------~--~----~------------~-------~--~----~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---