Thursday, February 28, 2013

Re: Help / Source code for Simple Authentication tutorial

I had this problem and fixed it

in my AppController.php file  I had:
     class AppController extends Controller {

      public $components=array('DebugKit.Toolbar');
      public $helpers = array('Html', 'Form', 'Session');
      public $components = array('Session');

Removing the last 2 lines to a different controller (UsersController.php in my case)   got rid of the error :)



--
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+unsubscribe@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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: