Here's some code in case anyone can help decipher why the error is 
happening. 

Following instructions here 
: http://book.cakephp.org/2.0/en/development/exceptions.html#built-in-exceptions

// in /app/Config/core.php 
#Configure::write('Exception', array(
# 'handler' => 'ErrorHandler::handleException',
# 'renderer' => 'ExceptionRenderer',
# 'log' => true
#));
Configure::write('Exception.renderer', 'AppExceptionRenderer');

// in /app/Lib/AppExceptionRenderer.php

App::uses('ExceptionRenderer', 'Error');

class AppExceptionRenderer extends ExceptionRenderer {
 public function missingController($error) {
        echo 'Oops that widget is missing!';
    }


And this is the error printed on the page when visiting the root (ie. 
http://localhost)


 ( ! ) Fatal error: Uncaught exception 'MissingControllerException' with 
message 'Controller class Controller could not be found.' in 
C:\wamp\www\zuha\lib\Cake\Routing\Dispatcher.php on line *83* ( ! 
)MissingControllerException: Controller class Controller could not be found. 
in C:\wamp\www\zuha\lib\Cake\Routing\Dispatcher.php on line *83*

-- 
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