Search

app/webroot/index.php (line 93)
0.7133
(default) 38 queries took 43 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`441
8DESCRIBE `trip_invites`991
9DESCRIBE `trip_join_requests`551
10DESCRIBE `user_locations`991
11DESCRIBE `friends`771
12DESCRIBE `friend_invites`991
13DESCRIBE `wish_lists`10101
14DESCRIBE `friend_groups`441
15DESCRIBE `friend_group_links`441
16DESCRIBE `blogs`771
17DESCRIBE `comments`771
18DESCRIBE `ratings`771
19DESCRIBE `friend_tags`771
20DESCRIBE `photo_albums`551
21DESCRIBE `photos`771
22DESCRIBE `videos`991
23DESCRIBE `messages`881
24SELECT `cake_sessions`.`data` FROM `cake_sessions` WHERE `cake_sessions`.`id` = '32fc0886cf33ff6051583b37cadf71ea'110
25SELECT `Trip`.`id` FROM `trips` AS `Trip` WHERE `Trip`.`privacy_level` = 'public' 53530
26SELECT 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 (2, 3, 5, 15, 19, 26, 27, 28, 29, 32, 33, 37, 38, 40, 43, 44, 45, 46, 47, 48, 49, 50, 51, 55, 57, 58, 59, 60, 62, 63, 66, 67, 69, 71, 72, 74, 77, 83, 85, 89, 90, 93, 94, 95, 96, 97, 98, 101, 102, 103, 104, 105, 106) 111
27SELECT `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`, `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`, `FeaturedTrip`.`id`, `FeaturedTrip`.`account_id`, `FeaturedTrip`.`trip_id`, `FeaturedTrip`.`created`, `FeaturedTrip`.`modified` 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 (2, 3, 5, 15, 19, 26, 27, 28, 29, 32, 33, 37, 38, 40, 43, 44, 45, 46, 47, 48, 49, 50, 51, 55, 57, 58, 59, 60, 62, 63, 66, 67, 69, 71, 72, 74, 77, 83, 85, 89, 90, 93, 94, 95, 96, 97, 98, 101, 102, 103, 104, 105, 106) LIMIT 32, 8881
28SELECT `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`.`trip_id` IN (69, 71, 72, 74, 77, 83, 85, 89) ORDER BY `TripDestination`.`lft` ASC 75752
29SELECT `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`.`trip_id` IN (69, 71, 72, 74, 77, 83, 85, 89) ORDER BY `Scoop`.`created` DESC 31311
30SELECT `TripMember`.`id`, `TripMember`.`trip_id`, `TripMember`.`account_id`, `TripMember`.`status`, `TripMember`.`created`, `TripMember`.`modified` FROM `trip_members` AS `TripMember` WHERE `TripMember`.`status` = 0 AND `TripMember`.`trip_id` IN (69, 71, 72, 74, 77, 83, 85, 89) 770
31SELECT `TripFollower`.`id`, `TripFollower`.`trip_id`, `TripFollower`.`account_id`, `TripFollower`.`created` FROM `trip_followers` AS `TripFollower` WHERE `TripFollower`.`trip_id` IN (69, 71, 72, 74, 77, 83, 85, 89) 2215
32SELECT `TripInvite`.`id`, `TripInvite`.`account_id`, `TripInvite`.`trip_id`, `TripInvite`.`recipient_id`, `TripInvite`.`email`, `TripInvite`.`approved`, `TripInvite`.`id_hash`, `TripInvite`.`fb_user_id_hash`, `TripInvite`.`created` FROM `trip_invites` AS `TripInvite` WHERE `TripInvite`.`trip_id` IN (69, 71, 72, 74, 77, 83, 85, 89) 220
33SELECT `TripJoinRequest`.`id`, `TripJoinRequest`.`account_id`, `TripJoinRequest`.`trip_id`, `TripJoinRequest`.`approved`, `TripJoinRequest`.`created` FROM `trip_join_requests` AS `TripJoinRequest` WHERE `TripJoinRequest`.`trip_id` IN (69, 71, 72, 74, 77, 83, 85, 89) 110
34SELECT `TripMembers`.`id`, `TripMembers`.`forename`, `TripMembers`.`surname`, `TripMembers`.`nickname`, `TripMembers`.`email`, `TripMembers`.`password`, `TripMembers`.`dob`, `TripMembers`.`gender`, `TripMembers`.`privacy_level`, `TripMembers`.`nationality`, `TripMembers`.`photo_filename`, `TripMembers`.`fb_uid`, `TripMembers`.`use_fb`, `TripMembers`.`email_hash`, `TripMembers`.`permission_group_id`, `TripMembers`.`status`, `TripMembers`.`disabled`, `TripMembers`.`created`, `TripMembers`.`modified`, `TripMember`.`id`, `TripMember`.`trip_id`, `TripMember`.`account_id`, `TripMember`.`status`, `TripMember`.`created`, `TripMember`.`modified` FROM `accounts` AS `TripMembers` JOIN `trip_members` AS `TripMember` ON (`TripMember`.`trip_id` IN (69, 71, 72, 74, 77, 83, 85, 89) AND `TripMember`.`account_id` = `TripMembers`.`id`) WHERE 1 = 1 770
35SELECT `TripFollowers`.`id`, `TripFollowers`.`forename`, `TripFollowers`.`surname`, `TripFollowers`.`nickname`, `TripFollowers`.`email`, `TripFollowers`.`password`, `TripFollowers`.`dob`, `TripFollowers`.`gender`, `TripFollowers`.`privacy_level`, `TripFollowers`.`nationality`, `TripFollowers`.`photo_filename`, `TripFollowers`.`fb_uid`, `TripFollowers`.`use_fb`, `TripFollowers`.`email_hash`, `TripFollowers`.`permission_group_id`, `TripFollowers`.`status`, `TripFollowers`.`disabled`, `TripFollowers`.`created`, `TripFollowers`.`modified`, `TripFollower`.`id`, `TripFollower`.`trip_id`, `TripFollower`.`account_id`, `TripFollower`.`created` FROM `accounts` AS `TripFollowers` JOIN `trip_followers` AS `TripFollower` ON (`TripFollower`.`trip_id` IN (69, 71, 72, 74, 77, 83, 85, 89) AND `TripFollower`.`account_id` = `TripFollowers`.`id`) WHERE 1 = 1 220
36SELECT 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
37SELECT COUNT(id) AS count FROM `cake_sessions` WHERE `id` = '32fc0886cf33ff6051583b37cadf71ea'110
38UPDATE `cake_sessions` SET `data` = 'Config|a:4:{s:9:\"userAgent\";s:0:\"\";s:4:\"time\";i:1284182519;s:4:\"rand\";i:567459301;s:7:\"timeout\";i:10;}', `expires` = 1284182520 WHERE `id` = '32fc0886cf33ff6051583b37cadf71ea'10