Warning (512): SplFileInfo::openFile(/var/dev/stg-shiro661/app/tmp/cache/persistent/myapp_cake_core_cake_): failed to open stream: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 330]
FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 330
FileEngine::read() - CORE/Cake/Cache/Engine/FileEngine.php, line 160
Cache::read() - CORE/Cake/Cache/Cache.php, line 347
I18n::translate() - CORE/Cake/I18n/I18n.php, line 174
__d - CORE/Cake/basics.php, line 613
AuthComponent::_setDefaults() - CORE/Cake/Controller/Component/AuthComponent.php, line 377
AuthComponent::startup() - CORE/Cake/Controller/Component/AuthComponent.php, line 294
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 675
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110
Warning (512): SplFileInfo::openFile(/var/dev/stg-shiro661/app/tmp/cache/persistent/myapp_cake_core_cake_) [http://php.net/splfileinfo.openfile]: failed to open stream: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 330]
FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 330
FileEngine::write() - CORE/Cake/Cache/Engine/FileEngine.php, line 118
Cache::write() - CORE/Cake/Cache/Cache.php, line 299
I18n::translate() - CORE/Cake/I18n/I18n.php, line 179
__d - CORE/Cake/basics.php, line 613
AuthComponent::_setDefaults() - CORE/Cake/Controller/Component/AuthComponent.php, line 377
AuthComponent::startup() - CORE/Cake/Controller/Component/AuthComponent.php, line 294
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 675
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110
Warning (512): SplFileInfo::openFile(/var/dev/stg-shiro661/app/tmp/cache/persistent/myapp_cake_core_cake_dev_) [http://php.net/splfileinfo.openfile]: failed to open stream: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 330]
FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 330
FileEngine::read() - CORE/Cake/Cache/Engine/FileEngine.php, line 160
Cache::read() - CORE/Cake/Cache/Cache.php, line 347
I18n::translate() - CORE/Cake/I18n/I18n.php, line 174
__d - CORE/Cake/basics.php, line 613
Cache::write() - CORE/Cake/Cache/Cache.php, line 308
I18n::translate() - CORE/Cake/I18n/I18n.php, line 179
__d - CORE/Cake/basics.php, line 613
AuthComponent::_setDefaults() - CORE/Cake/Controller/Component/AuthComponent.php, line 377
AuthComponent::startup() - CORE/Cake/Controller/Component/AuthComponent.php, line 294
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 675
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
Warning (512): SplFileInfo::openFile(/var/dev/stg-shiro661/app/tmp/cache/persistent/myapp_cake_core_cake_dev_) [http://php.net/splfileinfo.openfile]: failed to open stream: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 330]
FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 330
FileEngine::write() - CORE/Cake/Cache/Engine/FileEngine.php, line 118
Cache::write() - CORE/Cake/Cache/Cache.php, line 299
I18n::translate() - CORE/Cake/I18n/I18n.php, line 179
__d - CORE/Cake/basics.php, line 613
Cache::write() - CORE/Cake/Cache/Cache.php, line 308
I18n::translate() - CORE/Cake/I18n/I18n.php, line 179
__d - CORE/Cake/basics.php, line 613
AuthComponent::_setDefaults() - CORE/Cake/Controller/Component/AuthComponent.php, line 377
AuthComponent::startup() - CORE/Cake/Controller/Component/AuthComponent.php, line 294
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 675
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
Warning (512): _cake_core_ cache was unable to write 'cake_dev_' to File cache [CORE/Cake/Cache/Cache.php, line 310]
Cache::write() - CORE/Cake/Cache/Cache.php, line 310
I18n::translate() - CORE/Cake/I18n/I18n.php, line 179
__d - CORE/Cake/basics.php, line 613
Cache::write() - CORE/Cake/Cache/Cache.php, line 308
I18n::translate() - CORE/Cake/I18n/I18n.php, line 179
__d - CORE/Cake/basics.php, line 613
AuthComponent::_setDefaults() - CORE/Cake/Controller/Component/AuthComponent.php, line 377
AuthComponent::startup() - CORE/Cake/Controller/Component/AuthComponent.php, line 294
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 675
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110
Warning (512): _cake_core_ cache was unable to write 'cake_' to File cache [CORE/Cake/Cache/Cache.php, line 310]
Cache::write() - CORE/Cake/Cache/Cache.php, line 310
I18n::translate() - CORE/Cake/I18n/I18n.php, line 179
__d - CORE/Cake/basics.php, line 613
AuthComponent::_setDefaults() - CORE/Cake/Controller/Component/AuthComponent.php, line 377
AuthComponent::startup() - CORE/Cake/Controller/Component/AuthComponent.php, line 294
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 675
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110
SELECT `Attachment`.`id`, `Attachment`.`user_id`, `Attachment`.`photo_path`, `Attachment`.`photo_dir`, `Attachment`.`type`, `Attachment`.`size`, `Attachment`.`photo`, `Attachment`.`model`, `Attachment`.`history_id`, `Attachment`.`photo_no`, `Attachment`.`pickup_flg`, `Attachment`.`public_flg`, `Attachment`.`created`, `Attachment`.`modified`, `History`.`id`, `History`.`user_id`, `History`.`castle_id`, `History`.`date`, `History`.`comment`, `History`.`public_flg`, `History`.`send_flg`, `History`.`created`, `History`.`modified` FROM `ca_castle`.`attachments` AS `Attachment` LEFT JOIN `ca_castle`.`histories` AS `History` ON (`Attachment`.`history_id` = `History`.`id`) WHERE `History`.`public_flg` = 0 AND `History`.`castle_id` = 38 ORDER BY `History`.`created` desc LIMIT 15
6
6
2
2
SELECT COUNT(*) AS `count` FROM `ca_castle`.`attachments` AS `Attachment` LEFT JOIN `ca_castle`.`histories` AS `History` ON (`Attachment`.`history_id` = `History`.`id`) WHERE `History`.`public_flg` = 0 AND `History`.`castle_id` = 38