Cake 2.2:

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#TimeMemoryFunctionLocation10.00551173792ErrorHandler::handleException( 
)../ErrorHandler.php*:*020.00601199432ExceptionRenderer->__construct( )
../ErrorHandler.php*:*12630.00601199432ExceptionRenderer->_getController( )
../ExceptionRenderer.php*:*9240.00651354152App::load( )../App.php*:*050.0065
1359400include( 
'/Applications/MAMP/htdocs/electionstats.com/lib/Cake/Controller/CakeErrorController.php'
 )../App.php*:*54060.00651359728App::load( )../App.php*:*070.01061563080
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to