Hi Mark, Now I found the switch ( altough not the cause) for the blank page: If I set debug to 3, I get the blank page. Don't know why, but since I get my normal view back, when I choose 1 or 2 as debug level, that is fine for me.
Anja -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von mark_story Gesendet: Donnerstag, 13. November 2008 15:14 An: CakePHP Betreff: Re: Acl + Auth and now all I see is a blank page If you are getting a 'blank' as in white screen, probably a parse or other fatal error. Turn on debug to 2 to see the errors. -Mark On Nov 12, 10:40 am, "Liebermann, Anja Carolin" <[EMAIL PROTECTED]> wrote: > Hello everybody, > > I followed this > tutorialhttp://manual.cakephp.org/view/641/Simple-Acl-controlled-Appli > cation > > And tried to adapt it for my application (which isn't simple at all > anymore: about 70 controllers). After doing everything, I cannot sse > my login page. It is just a completely blank page although I have put > in my users_controller.php > > function beforeFilter() > { > parent::beforeFilter(); > $this->Auth->allowedActions = array('*'); > } > > The same in my groups controller. > > In my app_controller.php I have: > function beforeFilter() { > //Configure AuthComponent > $this->Auth->authorize = 'actions'; > $this->Auth->allowedActions = array('display'); > $this->Auth->loginAction = array('controller' => 'users', 'action' > => 'login'); > $this->Auth->logoutRedirect = array('controller' => 'users', > 'action' => 'login'); > $this->Auth->loginRedirect = array('controller' => 'hotels', > 'action' => 'index'); > > } > > The file app_controller is placed in the app/ folder on the same level > like the model and controller folder. > > Any idea what went wrong? > > Group is Gruppe in German and I adapted the code, models, controllers > accordingly. Or do groups have to be named groups, like the loginname > has to be username? > > Thank you in advance! > > Anja --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
