All I did was test out the Exceptions handling, and I got this problem during dispatch. It appears that Cake failed to include a base library file 'Controller'
-- The logic was a simple BadRequestException thrown in my bootstrap.php file. It is important to have exceptions here so I can detect any configuration problems right away and report it to the user.
| ( ! ) Fatal error: Class 'Controller' not found in /Applications/MAMP/htdocs/electionstats.com/app/Controller/AppController.php on line 41 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0055 | 1173792 | ErrorHandler::handleException( ) | ../ErrorHandler.php:0 |
| 2 | 0.0060 | 1199432 | ExceptionRenderer->__construct( ) | ../ErrorHandler.php:126 |
| 3 | 0.0060 | 1199432 | ExceptionRenderer->_getController( ) | ../ExceptionRenderer.php:92 |
| 4 | 0.0065 | 1354152 | App::load( ) | ../App.php:0 |
| 5 | 0.0065 | 1359400 | include( '/Applications/MAMP/htdocs/electionstats.com/lib/Cake/Controller/CakeErrorController.php' ) | ../App.php:540 |
| 6 | 0.0065 | 1359728 | App::load( ) | ../App.php:0 |
| 7 | 0.0106 | 1563080 | include( '/Applications/MAMP/htdocs/electionstats.com/app/Controller/AppController.php' ) | ../App.php:540 |
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment