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]
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]
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]
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]
Warning (512): _cake_core_ cache was unable to write 'cake_dev_' to File cache [CORE/Cake/Cache/Cache.php, line 310]
Warning (512): _cake_core_ cache was unable to write 'cake_' to File cache [CORE/Cake/Cache/Cache.php, line 310]
Histories
(default) 5 queries took 2 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1SELECT `Castle`.`id`, `Castle`.`area`, `Castle`.`ken`, `Castle`.`name`, `Castle`.`etc`, `Castle`.`lat`, `Castle`.`lng`, `Castle`.`h_flg` FROM `ca_castle`.`castles` AS `Castle` WHERE `h_flg` = '1'1001000
2SELECT `Castle`.`id`, `Castle`.`area`, `Castle`.`ken`, `Castle`.`name`, `Castle`.`etc`, `Castle`.`lat`, `Castle`.`lng`, `Castle`.`h_flg` FROM `ca_castle`.`castles` AS `Castle` WHERE `h_flg` = '0'14140
3SELECT `Castle`.`ken`, `Castle`.`name`, `Castle`.`id` FROM `ca_castle`.`castles` AS `Castle` WHERE 1 = 11141140
4SELECT count(*) as count, `History`.`castle_id`, `History`.`id` FROM `ca_castle`.`histories` AS `History` LEFT JOIN `ca_castle`.`users` AS `User` ON (`History`.`user_id` = `User`.`id`) WHERE 1 = 1 GROUP BY `History`.`castle_id` ORDER BY `count` desc1021020
5SELECT `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` FROM `ca_castle`.`attachments` AS `Attachment` WHERE NOT (`Attachment`.`id` IS NULL) AND `Attachment`.`history_id` IN (5, 75, 29, 82, 2, 85, 3, 37, 70, 14, 86, 4, 72, 49, 26, 6, 76, 17, 89, 19, 64, 9, 33, 66, 11, 99, 35, 67, 12, 84, 13, 47, 24, 58, 106, 127, 48, 25, 59, 107, 38, 128, 15, 87, 60, 108, 39, 133, 16, 50, 88, 28, 61, 115, 40, 135, 51, 62, 116, 7, 41, 77, 18, 52, 94, 30, 63, 117, 8, 42, 79, 53, 96, 31, 119, 43, 81, 20, 54, 97, 65, 120, 10, 44, 21, 55, 98, 34, 121, 45, 83, 22, 56, 1, 122, 46, 23, 57, 101, 36, 68, 126) 5515512