Tuesday, November 26, 2013

Re: Upgrade problem (1.3 to 2.4) - missing Controller.php

Has your APP/Config/core.php been updated correctly to include "Configure::write('Error', array(" and "Configure::write('Exception', array(", as would be found in a fresh install of CakePHP 2.4?

It would probably be best to review your APP/Config/core.php and APP/Config/bootstrap.php files, and compare with a fresh install of CakePHP 2.4, to make sure everything in the fresh install is at least present in the the upgraded files.

Regards
Reuben Helms

On Tuesday, 29 October 2013 20:30:45 UTC+10, Azad Gh wrote:
Hi all,

I have a problem after upgrading CakePHP from 1.3 to 2.4 (the actual upgrade was done by the Upgrade shell). 
The error I'm getting is:

Notice: Undefined index: Error in /volume1/web/jeeves3/lib/Cake/Core/Configure.php on line 102 Notice: Undefined index: Exception in /volume1/web/jeeves3/lib/Cake/Core/Configure.php on line 103
Missing Controller

Error: Controller could not be found.
Error: Create the class Controller below in file: app/Controller/Controller.php

Stack Trace
APP/webroot/index.php line 110 ? Dispatcher->dispatch(CakeRequest, CakeResponse)


I've done some tinkering and searching for this problem, but basically I'm out of ideas on how to solve this issue. Has anyone any pointers or helpful advice?

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: