Since my update from CakePhp 2.3. to CakePhp 2.7., my beforeFilter() action 
in pluginAppController doesn't work anymore:

<?php

class CoasterCmsAppController extends AppController
{
    public $helpers = array(
        'Html',
        'Form',
        'Session'
    );
    
    public $components = array(
        'Session',
        'Paginator',
        'Auth' => array(
            'loginAction' => array(
                'plugin' => 'coaster_cms',
                'controller' => 'users',
                'action' => 'login'
            ),
            'loginRedirect' => array(
                'plugin' => 'coaster_cms',
                'controller' => 'attractions',
                'action' => 'index'
            ),
            'authenticate' => array(
                'Form' => array(
                    'passwordHasher' => 'Blowfish'
                )
            ),
            'authError' => 'No rights to visit this page.'
        )
    );
    
    public function beforeFilter()
    {
debug('test'); // No "test" output in any of my plugin actions
        parent::beforeFilter()
    }
}

?>

Does anybody knows what could possibly go wrong in my application that 
causes this?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to