Re: AppController not loading ?

2011-12-27 Thread euromark
You do not need App::uses('Controller', 'Controller'); but it's not wrong to declare it! furthermore, it is even wise to do that because if you test your application (via phpunit) and create a single unit test for the app controller or probably any other controller you would otherwise run into a

Re: AppController not loading ?

2011-12-26 Thread Timothy O'Reilly
David, I am new to Cake PHP, so take that into account. https://gist.github.com/1521980 This is working for me (so far). Regards, Tim On Sat, Dec 24, 2011 at 1:40 PM, David Brisebois david.briseb...@gmail.comwrote: Hi guys I've been working with CakePHP 1.2/1.3 in the past, but first

Re: AppController not loading ?

2011-12-26 Thread thatsgreat2345
You do not need App::uses('Controller', 'Controller'); If you're using CakePHP 2.0 then you will need to place AppController.php into your Controllers folder in your app. It will be automatically loaded, and extended. On Dec 26, 11:34 am, Timothy O'Reilly timothy.john.orei...@gmail.com wrote:

AppController not loading ?

2011-12-24 Thread David Brisebois
Hi guys I've been working with CakePHP 1.2/1.3 in the past, but first time with 2.0.4 I just started a project, now trying to load Auth component from AppController, turns out it doesn't seem to load ! I put the AppController.php in /app/Controller, I put only a die() but nothing happens !! I