Search

app/webroot/index.php (line 93)
0.5715
(default) 41 queries took 18 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1DESCRIBE `scoops`991
2DESCRIBE `accounts`19191
3DESCRIBE `trip_destinations`15151
4DESCRIBE `trips`12121
5DESCRIBE `featured_trips`551
6DESCRIBE `trip_members`661
7DESCRIBE `trip_followers`440
8DESCRIBE `trip_invites`990
9DESCRIBE `trip_join_requests`550
10DESCRIBE `user_locations`990
11DESCRIBE `friends`770
12DESCRIBE `friend_invites`991
13DESCRIBE `wish_lists`10101
14DESCRIBE `friend_groups`440
15DESCRIBE `friend_group_links`441
16DESCRIBE `blogs`771
17DESCRIBE `comments`770
18DESCRIBE `ratings`771
19DESCRIBE `friend_tags`771
20DESCRIBE `photo_albums`550
21DESCRIBE `photos`770
22DESCRIBE `videos`991
23DESCRIBE `messages`880
24SELECT `cake_sessions`.`data` FROM `cake_sessions` WHERE `cake_sessions`.`id` = '4cb2a0e3d216f69f6835b790bb3a3a7c'110
25SELECT `Trip`.`id` FROM `trips` AS `Trip` WHERE `Trip`.`privacy_level` = 'public' 53530
26SELECT `Account`.`id`, `Account`.`forename`, `Account`.`surname`, `Account`.`nickname`, `Account`.`email`, `Account`.`password`, `Account`.`dob`, `Account`.`gender`, `Account`.`privacy_level`, `Account`.`nationality`, `Account`.`photo_filename`, `Account`.`fb_uid`, `Account`.`use_fb`, `Account`.`email_hash`, `Account`.`permission_group_id`, `Account`.`status`, `Account`.`disabled`, `Account`.`created`, `Account`.`modified` FROM `accounts` AS `Account` WHERE `Account`.`id` = 41 GROUP BY `Account`.`id` LIMIT 1110
27SELECT `Trip`.`id` FROM `trips` AS `Trip` WHERE `Trip`.`account_id` = 41 AND `Trip`.`privacy_level` = 'public' 220
28SELECT COUNT(*) AS `count` FROM `trips` AS `Trip` LEFT JOIN `accounts` AS `Account` ON (`Trip`.`account_id` = `Account`.`id`) LEFT JOIN `featured_trips` AS `FeaturedTrip` ON (`FeaturedTrip`.`trip_id` = `Trip`.`id`) WHERE `Trip`.`id` IN (62, 63) AND `Trip`.`account_id` = 41 110
29SELECT COUNT(*) AS `count` FROM `blogs` AS `Blog` LEFT JOIN `scoops` AS `Scoop` ON (`Blog`.`scoop_id` = `Scoop`.`id`) WHERE `Scoop`.`trip_id` IN (62, 63) AND `Scoop`.`account_id` = 41 110
30SELECT COUNT(*) AS `count` FROM `photo_albums` AS `PhotoAlbum` LEFT JOIN `scoops` AS `Scoop` ON (`PhotoAlbum`.`scoop_id` = `Scoop`.`id`) WHERE `Scoop`.`trip_id` IN (62, 63) AND `Scoop`.`account_id` = 41 112
31SELECT COUNT(*) AS `count` FROM `videos` AS `Video` LEFT JOIN `scoops` AS `Scoop` ON (`Scoop`.`foreign_id` = `Video`.`id` AND `Scoop`.`class` = 'Video') WHERE `Scoop`.`trip_id` IN (62, 63) AND `Scoop`.`account_id` = 41 111
32SELECT COUNT(*) AS `count` FROM `photo_albums` AS `PhotoAlbum` LEFT JOIN `scoops` AS `Scoop` ON (`PhotoAlbum`.`scoop_id` = `Scoop`.`id`) WHERE `Scoop`.`trip_id` IN (62, 63) 110
33SELECT `PhotoAlbum`.`id`, `PhotoAlbum`.`scoop_id`, `PhotoAlbum`.`title`, `PhotoAlbum`.`description`, `PhotoAlbum`.`cover_photo_id`, `Scoop`.`id`, `Scoop`.`account_id`, `Scoop`.`trip_id`, `Scoop`.`trip_destination_id`, `Scoop`.`foreign_id`, `Scoop`.`class`, `Scoop`.`pub_date`, `Scoop`.`created`, `Scoop`.`modified` FROM `photo_albums` AS `PhotoAlbum` LEFT JOIN `scoops` AS `Scoop` ON (`PhotoAlbum`.`scoop_id` = `Scoop`.`id`) WHERE `Scoop`.`trip_id` IN (62, 63) LIMIT 8110
34SELECT `Scoop`.`id`, `Scoop`.`account_id`, `Scoop`.`trip_id`, `Scoop`.`trip_destination_id`, `Scoop`.`foreign_id`, `Scoop`.`class`, `Scoop`.`pub_date`, `Scoop`.`created`, `Scoop`.`modified` FROM `scoops` AS `Scoop` WHERE `Scoop`.`id` = 111 110
35SELECT `Account`.`id`, `Account`.`forename`, `Account`.`surname`, `Account`.`nickname`, `Account`.`email`, `Account`.`password`, `Account`.`dob`, `Account`.`gender`, `Account`.`privacy_level`, `Account`.`nationality`, `Account`.`photo_filename`, `Account`.`fb_uid`, `Account`.`use_fb`, `Account`.`email_hash`, `Account`.`permission_group_id`, `Account`.`status`, `Account`.`disabled`, `Account`.`created`, `Account`.`modified` FROM `accounts` AS `Account` WHERE `Account`.`id` = 41 AND `Account`.`status` <> 0 110
36SELECT `Trip`.`id`, `Trip`.`title`, `Trip`.`description`, `Trip`.`start_date`, `Trip`.`end_date`, `Trip`.`access_level`, `Trip`.`privacy_level`, `Trip`.`photo_filename`, `Trip`.`account_id`, `Trip`.`email`, `Trip`.`created`, `Trip`.`modified` FROM `trips` AS `Trip` WHERE `Trip`.`id` = 62 110
37SELECT `TripDestination`.`id`, `TripDestination`.`trip_id`, `TripDestination`.`start_date`, `TripDestination`.`end_date`, `TripDestination`.`name`, `TripDestination`.`country`, `TripDestination`.`country_code`, `TripDestination`.`geoname_id`, `TripDestination`.`longitude`, `TripDestination`.`latitude`, `TripDestination`.`parent_id`, `TripDestination`.`lft`, `TripDestination`.`rgt`, `TripDestination`.`created`, `TripDestination`.`nickname` FROM `trip_destinations` AS `TripDestination` WHERE `TripDestination`.`id` = 357 110
38SELECT `Photo`.`id`, `Photo`.`photo_album_id`, `Photo`.`scoop_id`, `Photo`.`title`, `Photo`.`filename`, `Photo`.`views`, `Photo`.`rating` FROM `photos` AS `Photo` WHERE `Photo`.`photo_album_id` = (24) 332
39SELECT COUNT(*) AS `count` FROM `messages` AS `Message` LEFT JOIN `accounts` AS `Author` ON (`Message`.`author_id` = `Author`.`id` AND `Author`.`status` <> 0) LEFT JOIN `accounts` AS `Recipient` ON (`Message`.`recipient_id` = `Recipient`.`id`) WHERE `Message`.`recipient_id` IS NULL AND `Message`.`viewed` = 0 110
40SELECT COUNT(id) AS count FROM `cake_sessions` WHERE `id` = '4cb2a0e3d216f69f6835b790bb3a3a7c'110
41UPDATE `cake_sessions` SET `data` = 'Config|a:4:{s:9:\"userAgent\";s:0:\"\";s:4:\"time\";i:1328795314;s:4:\"rand\";i:1616797756;s:7:\"timeout\";i:10;}', `expires` = 1328795315 WHERE `id` = '4cb2a0e3d216f69f6835b790bb3a3a7c'10