Warning (2): fopen(/tmp/sqlRE9Rd1) [function.fopen]: failed to open stream: Permission denied [CORE/cake/libs/file.php, line 156]
Notice (8): Constant LOG_ERROR already defined [APP/config/core.php, line 82]

Highway St, Coon Rapids, IA, 50058 (1.5 miles away)
hamburgler on 07/31/08
Coon Rapids, Iowa. Rolls of the tongue, doesn't it? Gotta put some twang in it when you say it. The breaded pork tenderloin sandwich is the northern yin to the southern yang of chicken fried steak. more… [1 review]
| Nr | Query | Error | Affected | Num. rows | Took (ms) |
|---|---|---|---|---|---|
| 1 | SET NAMES 'UTF8' | 0 | 0 | ||
| 2 | SELECT * FROM locations_lookup WHERE locality_name='Coon Rapids' AND (administrative_area='IA' OR country_name_code='IA') LIMIT 0,1 | 1 | 1 | 31 | |
| 3 | SELECT `Dish`.*, `Location`.*, `User`.*, `Restaurant`.`name`, (((acos(sin((41.859*pi()/180)) * sin((Location.latitude*pi()/180)) + cos((41.859*pi()/180)) * cos((Location.latitude*pi()/180)) * cos(((-94.7059 - Location.longitude) * pi()/180)))) * 180/pi()) * 60 * 1.1515) as distance_from_user FROM `dishes` AS `Dish` LEFT JOIN `restaurant_locations` AS `Location` ON (`Dish`.`location_id` = `Location`.`id`) LEFT JOIN `users` AS `User` ON (`Dish`.`user_id` = `User`.`id`) LEFT JOIN `restaurants` AS `Restaurant` ON (`Location`.`restaurant_id` = `Restaurant`.`id`) WHERE `Location`.`longitude` BETWEEN -95.1396014977 AND -94.2721985023 AND `Location`.`latitude` BETWEEN 41.4252985023 AND 42.2927014977 AND `Dish`.`disabled`=0 ORDER BY `last_review_date` DESC LIMIT 5 | 1 | 1 | 1 | |
| 4 | SELECT `Tag`.`id`, `Tag`.`tag`, `DishesTag`.`id`, `DishesTag`.`dish_id`, `DishesTag`.`tag_id` FROM `tags` AS `Tag` JOIN `dishes_tags` AS `DishesTag` ON (`DishesTag`.`dish_id` = 2178 AND `DishesTag`.`tag_id` = `Tag`.`id`) WHERE 1 = 1 ORDER BY `DishesTag`.`id` ASC | 3 | 3 | 0 | |
| 5 | SELECT `DishSet`.`id`, `DishSet`.`user_id`, `DishSet`.`name`, `DishSet`.`description`, `DishSet`.`private`, `DishSet`.`location`, `DishSet`.`country_name_code`, `DishSet`.`administrative_area`, `DishSet`.`locality_name`, `DishSet`.`postal_code`, `DishSet`.`latitude`, `DishSet`.`longitude`, `DishSet`.`count_users`, `DishSet`.`count_dishes`, `DishSet`.`created`, `DishSet`.`modified`, `SetsDish`.`id`, `SetsDish`.`set_id`, `SetsDish`.`dish_id`, `SetsDish`.`order`, `SetsDish`.`created`, `SetsDish`.`modified` FROM `sets` AS `DishSet` JOIN `sets_dishes` AS `SetsDish` ON (`SetsDish`.`dish_id` = 2178 AND `SetsDish`.`set_id` = `DishSet`.`id`) WHERE 1 = 1 | 0 | 0 | 1 | |
| 6 | SELECT `Restaurant`.*, `Location`.`id` FROM `restaurant_locations` AS `Location` LEFT JOIN `restaurants` AS `Restaurant` ON (`Location`.`restaurant_id` = `Restaurant`.`id`) WHERE `Location`.`id`='1479' LIMIT 1 | 1 | 1 | 0 | |
| 7 | SELECT `Dish`.`id`, `Dish`.`user_id`, `Dish`.`name`, `Dish`.`location_id`, `Dish`.`disabled`, `Dish`.`created`, `Dish`.`modified`, `Dish`.`vote_avg`, `Dish`.`vote_count`, `Dish`.`members_vote_avg`, `Dish`.`members_vote_count`, `Dish`.`industry_vote_avg`, `Dish`.`industry_vote_count`, `Dish`.`critics_vote_avg`, `Dish`.`critics_vote_count`, `Dish`.`last_review_date`, `Dish`.`review_count`, `Dish`.`is_divine`, `Dish`.`dish_image_filepath`, `Dish`.`dish_image_created` FROM `dishes` AS `Dish` WHERE `Dish`.`location_id` = (1479) | 1 | 1 | 0 | |
| 8 | SELECT dishes.vote_avg, reviews.*, users.*, profiles.image, profiles.image_small FROM dishes LEFT JOIN reviews ON dishes.id=reviews.dish_id LEFT JOIN users ON reviews.user_id=users.id LEFT JOIN profiles ON users.id=profiles.user_id WHERE dishes.id='2178' AND reviews.disabled=0 ORDER BY reviews.created DESC LIMIT 0,1 | 1 | 1 | 1 | |
| 9 | SELECT COUNT(*) AS `count` FROM `reviews` AS `Review` LEFT JOIN `users` AS `User` ON (`Review`.`user_id` = `User`.`id`) LEFT JOIN `dishes` AS `Dish` ON (`Review`.`dish_id` = `Dish`.`id`) WHERE dish_id='2178' | 1 | 1 | 0 | |
| 10 | SELECT `Image`.*, `OriginalImage`.*, `DishImage`.`id` FROM `dish_images` AS `DishImage` LEFT JOIN `dishes` AS `Dish` ON (`DishImage`.`dish_id` = `Dish`.`id`) LEFT JOIN `images` AS `Image` ON (`DishImage`.`image_id` = `Image`.`id`) LEFT JOIN `images` AS `OriginalImage` ON (`DishImage`.`original_image_id` = `OriginalImage`.`id`) WHERE dish_id=2178 ORDER BY `Image`.`created` DESC LIMIT 1 | 1 | 1 | 0 | |
| 11 | SELECT COUNT(*) AS `count` FROM `dishes` AS `Dish` LEFT JOIN `restaurant_locations` AS `Location` ON (`Dish`.`location_id` = `Location`.`id`) LEFT JOIN `users` AS `User` ON (`Dish`.`user_id` = `User`.`id`) LEFT JOIN `restaurants` AS `Restaurant` ON (`Location`.`restaurant_id` = `Restaurant`.`id`) WHERE `Location`.`longitude` BETWEEN -95.1396014977 AND -94.2721985023 AND `Location`.`latitude` BETWEEN 41.4252985023 AND 42.2927014977 AND `Dish`.`disabled`=0 | 1 | 1 | 0 | |
| 12 | SELECT `DishSet`.*, `DishSet`.`id` FROM `sets` AS `DishSet` LEFT JOIN `users` AS `User` ON (`DishSet`.`user_id` = `User`.`id`) WHERE `DishSet`.`name` <> "Must Try" AND `DishSet`.`count_dishes` > 0 ORDER BY `DishSet`.`modified` DESC LIMIT 5 | 5 | 5 | 0 |