Warning (512): SplFileInfo::openFile(/var/www/html/middleware/app/tmp/cache/persistent/myapp_cake_core_cake_dev_eng): failed to open stream: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 364]
Warning (512): SplFileInfo::openFile(/var/www/html/middleware/app/tmp/cache/persistent/myapp_cake_core_cake_dev_eng) [<a href='http://php.net/splfileinfo.openfile'>splfileinfo.openfile</a>]: failed to open stream: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 364]
Warning (512): _cake_core_ cache was unable to write 'cake_dev_eng' to File cache [CORE/Cake/Cache/Cache.php, line 327]
Warning (2): file_put_contents(/var/www/html/middleware/app/tmp/logs/error.log) [<a href='http://php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 142]
Errors

Missing Method in EmpresasController

Error: The action index is not defined in controller EmpresasController

Error: Create EmpresasController::index() in file: app/Controller/EmpresasController.php.

<?php
class EmpresasController extends AppController {


	public function index() {

	}

}

Notice: If you want to customize this error message, create app/View/Errors/missing_action.ctp

Stack Trace