Warning (512): SplFileInfo::openFile(/var/www/html/khosangoada.com/public_html/app/tmp/cache/persistent/myapp_cake_core_cake_dev_eng): failed to open stream: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 360]Code Context $this->_File = $path->openFile('c+');
} catch (Exception $e) {
trigger_error($e->getMessage(), E_USER_WARNING);
$key = 'myapp_cake_core_cake_dev_eng'
$createKey = true
$groups = null
$dir = '/var/www/html/khosangoada.com/public_html/app/tmp/cache/persistent/'
$path = object(SplFileInfo) {
}
$exists = false
$e = object(RuntimeException) {
severity => (int) 2
[protected] message => 'SplFileInfo::openFile(/var/www/html/khosangoada.com/public_html/app/tmp/cache/persistent/myapp_cake_core_cake_dev_eng): failed to open stream: Permission denied'
[protected] code => (int) 0
[protected] file => '/var/www/html/khosangoada.com/public_html/lib/Cake/Cache/Engine/FileEngine.php'
[protected] line => (int) 358
}
FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 360
FileEngine::write() - CORE/Cake/Cache/Engine/FileEngine.php, line 116
Cache::write() - CORE/Cake/Cache/Cache.php, line 317
I18n::translate() - CORE/Cake/I18n/I18n.php, line 240
__d - CORE/Cake/basics.php, line 636
CakeException::__construct() - CORE/Cake/Error/exceptions.php, line 237
MissingConnectionException::__construct() - CORE/Cake/Error/exceptions.php, line 392
Mysql::connect() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 202
DboSource::__construct() - CORE/Cake/Model/Datasource/DboSource.php, line 278
ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 105
Model::setDataSource() - CORE/Cake/Model/Model.php, line 3646
Model::setSource() - CORE/Cake/Model/Model.php, line 1162
Model::getDataSource() - CORE/Cake/Model/Model.php, line 3673
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3040
Model::find() - CORE/Cake/Model/Model.php, line 3012
Model::read() - CORE/Cake/Model/Model.php, line 1636
ProductsController::index() - APP/Controller/ProductsController.php, line 12
Warning (512): _cake_core_ cache was unable to write 'cake_dev_eng' to File cache [CORE/Cake/Cache/Cache.php, line 327]Code Context static::$_engines[$config]->settings['engine']
),
E_USER_WARNING
$key = 'cake_dev_eng'
$value = array(
'LC_MESSAGES' => array()
)
$config = '_cake_core_'
$settings = array(
'engine' => 'File',
'prefix' => 'myapp_cake_core_',
'path' => '/var/www/html/khosangoada.com/public_html/app/tmp/cache/persistent/',
'serialize' => true,
'duration' => (int) 10,
'lock' => true,
'isWindows' => false,
'mask' => (int) 436,
'probability' => (int) 100,
'groups' => array()
)
$success = false
Cache::write() - CORE/Cake/Cache/Cache.php, line 327
I18n::translate() - CORE/Cake/I18n/I18n.php, line 240
__d - CORE/Cake/basics.php, line 636
CakeException::__construct() - CORE/Cake/Error/exceptions.php, line 237
MissingConnectionException::__construct() - CORE/Cake/Error/exceptions.php, line 392
Mysql::connect() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 202
DboSource::__construct() - CORE/Cake/Model/Datasource/DboSource.php, line 278
ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 105
Model::setDataSource() - CORE/Cake/Model/Model.php, line 3646
Model::setSource() - CORE/Cake/Model/Model.php, line 1162
Model::getDataSource() - CORE/Cake/Model/Model.php, line 3673
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3040
Model::find() - CORE/Cake/Model/Model.php, line 3012
Model::read() - CORE/Cake/Model/Model.php, line 1636
ProductsController::index() - APP/Controller/ProductsController.php, line 12
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Warning (2): rename(/var/www/html/khosangoada.com/public_html/app/tmp/logs/error.log,/var/www/html/khosangoada.com/public_html/app/tmp/logs/error.log.1752694528) [<a href='http://php.net/function.rename'>function.rename</a>]: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 205]Code Context $result = unlink($filepath);
} else {
$result = rename($filepath, $filepath . '.' . time());
$filename = 'error.log'
$filepath = '/var/www/html/khosangoada.com/public_html/app/tmp/logs/error.log'
rename - [internal], line ??
FileLog::_rotateFile() - CORE/Cake/Log/Engine/FileLog.php, line 205
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 137
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 445
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 188
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
[main] - [internal], line ??
Warning (2): rename(/var/www/html/khosangoada.com/public_html/app/tmp/logs/error.log,/var/www/html/khosangoada.com/public_html/app/tmp/logs/error.log.1752694528) [<a href='http://php.net/function.rename'>function.rename</a>]: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 205]Code Context $result = unlink($filepath);
} else {
$result = rename($filepath, $filepath . '.' . time());
$filename = 'error.log'
$filepath = '/var/www/html/khosangoada.com/public_html/app/tmp/logs/error.log'
rename - [internal], line ??
FileLog::_rotateFile() - CORE/Cake/Log/Engine/FileLog.php, line 205
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 137
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 445
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 188
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - CORE/Cake/Core/App.php, line 970
App::shutdown() - CORE/Cake/Core/App.php, line 943
[main] - [internal], line ??
Fatal Error
Error:
Uncaught FatalErrorException: [CakeSessionException] Unable to configure the session, setting session.use_trans_sid failed.
#0 /var/www/html/khosangoada.com/public_html/lib/Cake/Model/Datasource/CakeSession.php(619): CakeSession::_configureSession()
#1 /var/www/html/khosangoada.com/public_html/lib/Cake/Model/Datasource/CakeSession.php(632): CakeSession::_cookieName()
#2 /var/www/html/khosangoada.com/public_html/lib/Cake/Model/Datasource/CakeSession.php(248): CakeSession::_hasSession()
#3 /var/www/html/khosangoada.com/public_html/lib/Cake/View/Helper/SessionHelper.php(134): CakeSession::check('Message.flash')
#4 /var/www/html/khosangoada.com/public_html/app/View/Layouts/error.ctp(47): SessionHelper->flash()
#5 /var/www/html/khosangoada.com/public_html/lib/Cake/View/View.php(971): include('/var/www/html/k...')
#6 /var/www/html/khosangoada.com/public_html/lib/Cake/View/View.php(933): View->_evaluate('/var/www/html/k...', Array)
#7 /var/www/html/khosangoada.com/public_html/lib/Cake/View/View.php(546): View->_rend
File:
/var/www/html/khosangoada.com/public_html/lib/Cake/Error/ErrorHandler.php
Line:
138
Notice:
If you want to customize this error message, create app/View/Errors/fatal_error.ctp