hi, have you declared an beforeFilter() function in your active controller? try to call parent::beforeFilter(); in that function.
i hope the pr($this); call is for test purposes only ;) because you dont print anything in your controllers/models greets Andreas DatacenterHellas schrieb: > Ok ! ! ! > > What I do is to call from the controller beforeFilter action the > AppController::beforeFilter(); > > But I don't know if that is ok or If I have to do something > else ! ! ! ? ? ? > > Thanks a lot :) > > On 30 Ιούλ, 11:05, DatacenterHellas <[email protected]> wrote: > >> Hello all :) >> >> I'm creating my application and I have a litle problem with >> AppController. >> >> I have create on /app/ folder a file named app_controller.php >> >> inside this file I have write this code : >> >> <?php >> >> class AppController extends Controller >> { >> var $helpers = array('Html'); >> >> function beforeFilter() >> { >> pr($this); >> } >> >> } >> >> ?> >> >> but I have not response from it >> >> Why that ? ? ? >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
