Yes the constructors changed, I'm pretty sure that was in the
migration guide as well.

http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html#controller

-Mark

On Oct 17, 10:45 am, zuha <[email protected]> wrote:
> I solved the issue.  In CakePHP 2.0 the AppController::__construct() has new
> variables that you need to pass to the parent __construct().    I updated
> the __construct() function to look like this...
>
> public function __construct($request = null, $response = null) {
> parent::__construct($request, $response);
>                 // my construct logic
>
> }
>
> (Previously the $request, and $response vars weren't there.)

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to