Notice (8): Undefined index: HTTP_ACCEPT_LANGUAGE [APP/Controller/AppController.php, line 101]Code Context if (!$this->Session->check('Config.language')) {
//checking the 1st favorite language of the user's browser
$browserLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
AppController::_checkBrowserLanguage() - APP/Controller/AppController.php, line 101
AppController::beforeFilter() - APP/Controller/AppController.php, line 73
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Missing Controller
Error:
FilesController could not be found.
Error:
Create the class FilesController below in file: app/Controller/FilesController.php
<?php
class FilesController extends AppController {
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_controller.ctp
Stack Trace