Code
function beforeRender() {
if($this->appLang == "deu")
AppController::beforeRender() - APP/app_controller.php, line 52
Controller::render() - CORE/cake/libs/controller/controller.php, line 760
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 373
ErrorHandler::missingController() - CORE/cake/libs/error.php, line 174
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 118
Object::cakeError() - CORE/cake/libs/object.php, line 203
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 136
[main] - APP/webroot/index.php, line 88
Missing Controller
Error:
Robots.txtController could not be found.
Error:
Create the class Robots.txtController below in file: app/controllers/robots.txt_controller.php
<?php
class Robots.txtController extends AppController {
var $name = 'Robots.txt';
}
?>
Notice:
If you want to customize this error message, create app/views/errors/missing_controller.ctp