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-Application
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to