Warning (512): SplFileInfo::openFile(/var/www/inspiringquotes.us/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 364]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 = false $groups = null $dir = '/var/www/inspiringquotes.us/public_html/app/tmp/cache/persistent/' $path = object(SplFileInfo) { } $exists = true $e = object(RuntimeException) { severity => (int) 2 [protected] message => 'SplFileInfo::openFile(/var/www/inspiringquotes.us/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/inspiringquotes.us/public_html/lib/Cake/Cache/Engine/FileEngine.php' [protected] line => (int) 362 }FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 364 FileEngine::read() - CORE/Cake/Cache/Engine/FileEngine.php, line 158 Cache::read() - CORE/Cake/Cache/Cache.php, line 363 I18n::translate() - CORE/Cake/I18n/I18n.php, line 235 __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 3659 Model::setSource() - CORE/Cake/Model/Model.php, line 1162 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3686 Model::__call() - CORE/Cake/Model/Model.php, line 834 AuthorController::detail() - APP/Controller/AuthorController.php, line 98 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Warning (512): SplFileInfo::openFile(/var/www/inspiringquotes.us/public_html/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]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/inspiringquotes.us/public_html/app/tmp/cache/persistent/' $path = object(SplFileInfo) { } $exists = true $e = object(RuntimeException) { severity => (int) 2 [protected] message => 'SplFileInfo::openFile(/var/www/inspiringquotes.us/public_html/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' [protected] code => (int) 0 [protected] file => '/var/www/inspiringquotes.us/public_html/lib/Cake/Cache/Engine/FileEngine.php' [protected] line => (int) 362 }FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 364 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 3659 Model::setSource() - CORE/Cake/Model/Model.php, line 1162 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3686 Model::__call() - CORE/Cake/Model/Model.php, line 834 AuthorController::detail() - APP/Controller/AuthorController.php, line 98 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Warning (512): _cake_core_ cache was unable to write 'cake_dev_eng' to File cache [CORE/Cake/Cache/Cache.php, line 327]Code Contextstatic::$_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/inspiringquotes.us/public_html/app/tmp/cache/persistent/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::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 3659 Model::setSource() - CORE/Cake/Model/Model.php, line 1162 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3686 Model::__call() - CORE/Cake/Model/Model.php, line 834 AuthorController::detail() - APP/Controller/AuthorController.php, line 98 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
Warning (2): file_put_contents(/var/www/inspiringquotes.us/public_html/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]Code Context$pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error' $message = '[MissingConnectionException] Database connection "Mysql" is missing, or could not be created. Exception Attributes: array ( 'class' => 'Mysql', 'message' => 'SQLSTATE[HY000] [1045] Access denied for user \'root\'@\'localhost\' (using password: YES)', 'enabled' => true, ) Request URL: /author/2370-eric-lau Stack Trace: #0 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Datasource/DboSource.php(278): Mysql->connect() #1 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct() #2 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php(3659): ConnectionManager::getDataSource() #3 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php(1162): Model->setDataSource() #4 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php(3686): Model->setSource() #5 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php(834): Model->getDataSource() #6 /var/www/inspiringquotes.us/public_html/app/Controller/AuthorController.php(98): Model->__call() #7 [internal function]: AuthorController->detail() #8 /var/www/inspiringquotes.us/public_html/lib/Cake/Controller/Controller.php(499): ReflectionMethod->invokeArgs() #9 /var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction() #10 /var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke() #11 /var/www/inspiringquotes.us/public_html/app/webroot/index.php(117): Dispatcher->dispatch() #12 {main}' $output = '2024-05-15 17:29:49 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created. Exception Attributes: array ( 'class' => 'Mysql', 'message' => 'SQLSTATE[HY000] [1045] Access denied for user \'root\'@\'localhost\' (using password: YES)', 'enabled' => true, ) Request URL: /author/2370-eric-lau Stack Trace: #0 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Datasource/DboSource.php(278): Mysql->connect() #1 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct() #2 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php(3659): ConnectionManager::getDataSource() #3 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php(1162): Model->setDataSource() #4 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php(3686): Model->setSource() #5 /var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php(834): Model->getDataSource() #6 /var/www/inspiringquotes.us/public_html/app/Controller/AuthorController.php(98): Model->__call() #7 [internal function]: AuthorController->detail() #8 /var/www/inspiringquotes.us/public_html/lib/Cake/Controller/Controller.php(499): ReflectionMethod->invokeArgs() #9 /var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction() #10 /var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke() #11 /var/www/inspiringquotes.us/public_html/app/webroot/index.php(117): Dispatcher->dispatch() #12 {main} ' $filename = 'error.log' $pathname = '/var/www/inspiringquotes.us/public_html/app/tmp/logs/error.log'file_put_contents - [internal], line ?? FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142 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 ??
Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
Notice: If you want to customize this error message, create app/View/Errors/missing_connection.ctp
));
}
if ($autoConnect) {
$this->connect();
}
'message' => 'Datasource is not found in Model/Datasource package.'
));
}
static::$_dataSources[$name] = new $class(static::$config->{$name});
static::$_dataSources[$name]->configKeyName = $name;
$this->useDbConfig = $dataSource;
}
$db = ConnectionManager::getDataSource($this->useDbConfig);
if (!empty($oldConfig) && isset($db->config['prefix'])) {
* @return void
*/
public function setSource($tableName) {
$this->setDataSource($this->useDbConfig);
$db = ConnectionManager::getDataSource($this->useDbConfig);
public function getDataSource() {
if (!$this->_sourceConfigured && $this->useTable !== false) {
$this->_sourceConfigured = true;
$this->setSource($this->useTable);
}
return $result;
}
return $this->getDataSource()->query($method, $params, $this);
}
$last_param = $last_param_arr[count($last_param_arr) - 1];
// get author
$author = $this->Author->findBySlug($slug);
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
Warning (512): SplFileInfo::openFile(/var/www/inspiringquotes.us/public_html/app/tmp/cache/persistent/myapp_cake_core_file_map) [<a href='http://php.net/splfileinfo.openfile'>splfileinfo.openfile</a>]: failed to open stream: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 364]Code Context$this->_File = $path->openFile('c+');
} catch (Exception $e) {
trigger_error($e->getMessage(), E_USER_WARNING);
$key = 'myapp_cake_core_file_map' $createKey = true $groups = null $dir = '/var/www/inspiringquotes.us/public_html/app/tmp/cache/persistent/' $path = object(SplFileInfo) { } $exists = true $e = object(RuntimeException) { severity => (int) 2 [protected] message => 'SplFileInfo::openFile(/var/www/inspiringquotes.us/public_html/app/tmp/cache/persistent/myapp_cake_core_file_map) [<a href='http://php.net/splfileinfo.openfile'>splfileinfo.openfile</a>]: failed to open stream: Permission denied' [protected] code => (int) 0 [protected] file => '/var/www/inspiringquotes.us/public_html/lib/Cake/Cache/Engine/FileEngine.php' [protected] line => (int) 362 }FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 364 FileEngine::write() - CORE/Cake/Cache/Engine/FileEngine.php, line 116 Cache::write() - CORE/Cake/Cache/Cache.php, line 317 App::shutdown() - CORE/Cake/Core/App.php, line 938 [main] - [internal], line ??
Warning (512): _cake_core_ cache was unable to write 'file_map' to File cache [CORE/Cake/Cache/Cache.php, line 327]Code Contextstatic::$_engines[$config]->settings['engine']
),
E_USER_WARNING
$key = 'file_map' $value = array( 'Configure' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Core/Configure.php', 'Hash' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Utility/Hash.php', 'Cache' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Cache/Cache.php', 'FileEngine' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Cache/Engine/FileEngine.php', 'CacheEngine' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Cache/CacheEngine.php', 'Inflector' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Utility/Inflector.php', 'ErrorHandler' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Error/ErrorHandler.php', 'CakeLog' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Log/CakeLog.php', 'LogEngineCollection' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Log/LogEngineCollection.php', 'ObjectCollection' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Utility/ObjectCollection.php', 'FileLog' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Log/Engine/FileLog.php', 'BaseLog' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Log/Engine/BaseLog.php', 'CakeLogInterface' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Log/CakeLogInterface.php', 'Debugger' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Utility/Debugger.php', 'CakeText' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Utility/CakeText.php', 'Dispatcher' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Dispatcher.php', 'CakeEventListener' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Event/CakeEventListener.php', 'CakeRequest' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Network/CakeRequest.php', 'CakeResponse' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Network/CakeResponse.php', 'CakeEvent' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Event/CakeEvent.php', 'CakeEventManager' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Event/CakeEventManager.php', 'AssetDispatcher' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Filter/AssetDispatcher.php', 'DispatcherFilter' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Routing/DispatcherFilter.php', 'CacheDispatcher' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Filter/CacheDispatcher.php', 'Router' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Router.php', 'CakeRoute' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Routing/Route/CakeRoute.php', 'CakePlugin' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Core/CakePlugin.php', 'AuthorController' => '/var/www/inspiringquotes.us/public_html/app/Controller/AuthorController.php', 'AppController' => '/var/www/inspiringquotes.us/public_html/app/Controller/AppController.php', 'Controller' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Controller/Controller.php', 'CakeObject' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Core/CakeObject.php', 'ComponentCollection' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Controller/ComponentCollection.php', 'PaginatorComponent' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Controller/Component/PaginatorComponent.php', 'Component' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Controller/Component.php', 'RequestHandlerComponent' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Controller/Component/RequestHandlerComponent.php', 'ClassRegistry' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Utility/ClassRegistry.php', 'Quote' => '/var/www/inspiringquotes.us/public_html/app/Model/Quote.php', 'AppModel' => '/var/www/inspiringquotes.us/public_html/app/Model/AppModel.php', 'Model' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Model/Model.php', 'BehaviorCollection' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Model/BehaviorCollection.php', 'Topic' => '/var/www/inspiringquotes.us/public_html/app/Model/Topic.php', 'Author' => '/var/www/inspiringquotes.us/public_html/app/Model/Author.php', 'Quotetopic' => '/var/www/inspiringquotes.us/public_html/app/Model/Quotetopic.php', 'AuthorImage' => '/var/www/inspiringquotes.us/public_html/app/Model/AuthorImage.php', 'AuthorAbout' => '/var/www/inspiringquotes.us/public_html/app/Model/AuthorAbout.php', 'AuthorRelate' => '/var/www/inspiringquotes.us/public_html/app/Model/AuthorRelate.php', 'QuoteAuthorAbout' => '/var/www/inspiringquotes.us/public_html/app/Model/QuoteAuthorAbout.php', 'ConnectionManager' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Model/ConnectionManager.php', 'Mysql' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Model/Datasource/Database/Mysql.php', 'DboSource' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Model/Datasource/DboSource.php', 'DataSource' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Model/Datasource/DataSource.php', 'I18n' => '/var/www/inspiringquotes.us/public_html/lib/Cake/I18n/I18n.php', 'L10n' => '/var/www/inspiringquotes.us/public_html/lib/Cake/I18n/L10n.php', 'CakeSession' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Model/Datasource/CakeSession.php', 'ExceptionRenderer' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Error/ExceptionRenderer.php', 'CakeErrorController' => '/var/www/inspiringquotes.us/public_html/lib/Cake/Controller/CakeErrorController.php', 'View' => '/var/www/inspiringquotes.us/public_html/lib/Cake/View/View.php', 'HelperCollection' => '/var/www/inspiringquotes.us/public_html/lib/Cake/View/HelperCollection.php', 'ViewBlock' => '/var/www/inspiringquotes.us/public_html/lib/Cake/View/ViewBlock.php', 'CustomPaginatorHelper' => '/var/www/inspiringquotes.us/public_html/app/View/Helper/CustomPaginatorHelper.php', 'PaginatorHelper' => '/var/www/inspiringquotes.us/public_html/lib/Cake/View/Helper/PaginatorHelper.php', 'AppHelper' => '/var/www/inspiringquotes.us/public_html/app/View/Helper/AppHelper.php', 'Helper' => '/var/www/inspiringquotes.us/public_html/lib/Cake/View/Helper.php', 'JsHelper' => '/var/www/inspiringquotes.us/public_html/lib/Cake/View/Helper/JsHelper.php', 'HtmlHelper' => '/var/www/inspiringquotes.us/public_html/lib/Cake/View/Helper/HtmlHelper.php' ) $config = '_cake_core_' $settings = array( 'engine' => 'File', 'prefix' => 'myapp_cake_core_', 'path' => '/var/www/inspiringquotes.us/public_html/app/tmp/cache/persistent/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::write() - CORE/Cake/Cache/Cache.php, line 327 App::shutdown() - CORE/Cake/Core/App.php, line 938 [main] - [internal], line ??