Re: AppController loading issue

2011-11-29 Thread Andras Kende
try toggling the debug = 2 in core.php, it helps sometimes…

Andras Kende

On Nov 28, 2011, at 12:40 PM, Weydson wrote:

> I have an AppController.php located on /app/Controller and somehow the
> inherited controllers are not loading it. Instead, it loads the one
> defined on /lib/Cake/Controller. That's how I am testing:
> 
> - Create a new controller such as:
> 
>  App::uses('AppController', 'Controller');
> class ReviewsController extends AppController {
> 
> 
> - Create /app/Controller/AppController.php with:
> echo 'App';
> and
> /lib/Cake/Controller/AppController.php with:
> echo 'Lib';
> 
> Whenever I fire up the reviews controller, I only see the Lib message.
> 
> Any ideas? I was able to accomplish that just fine in older versions
> (1.x)
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


AppController loading issue

2011-11-29 Thread Weydson
I have an AppController.php located on /app/Controller and somehow the
inherited controllers are not loading it. Instead, it loads the one
defined on /lib/Cake/Controller. That's how I am testing:

- Create a new controller such as:

http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php