SQL SYNTAX ERROR
Query SQL: SELECT tbl_event.id FROM tbl_event,tbl_location WHERE tbl_event.location_id = tbl_location.id AND tbl_event.publish=1 AND tbl_location.publish=1 AND location_id in (0,,240,240,268,268,269,269,270,270,271,271,272,272,273,273,274,274,275,275,276,276,277,277,278,278,279,279,267,267,266,266,243,243,244,244,258,258,257,257,256,256,254,254,260,260,261,261,262,262,263,263,264,264,265,265,280,280,281,281,282,282,297,297,298,298,299,299,300,300,301,301,302,302,303,303,304,304,305,305,306,306,307,307,308,308,296,296,295,295,283,283,284,284,285,285,286,286,287,287,288,288,289,289,290,290,291,291,292,292,293,293,294,294,309,309,239,239,7,7,41,41,42,42,43,43,44,44,45,45,46,46,48,48,49,49,50,50,51,51,52,52,53,53,40,40,38,38,8,8,17,17,18,18,20,20,21,21,22,22,26,26,29,29,34,34,35,35,36,36,37,37,54,54,59,59,60,60,187,187,202,202,203,203,204,204,209,209,219,219,220,220,221,221,224,224,225,225,227,227,259,259,186,186,185,185,88,88,89,89,90,90,96,96,153,153,156,156,164,164,165,165,168,168,173,173,183,183,184,184,234,234,-999);
Error Number: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '240,240,268,268,269,269,270,270,271,271,272,272,273,273,274,274,275,275,276,276,' at line 1
Date: Sat, February 4, 2012 10:25:12
IP: 38.107.179.242
Browser: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Script: /event/geographical/
Referer:
PHP Version : 5.2.9
OS: Linux
Server: Apache
Server Name: www.usscots.com
SQL SYNTAX ERROR
Query SQL: select tbl_event.*,tbl_location.name as location_name, tbl_location.flag_link from tbl_event,tbl_location where tbl_event.location_id = tbl_location.id AND tbl_event.publish=1 AND tbl_location.publish=1 AND location_id in (0,,240,240,268,268,269,269,270,270,271,271,272,272,273,273,274,274,275,275,276,276,277,277,278,278,279,279,267,267,266,266,243,243,244,244,258,258,257,257,256,256,254,254,260,260,261,261,262,262,263,263,264,264,265,265,280,280,281,281,282,282,297,297,298,298,299,299,300,300,301,301,302,302,303,303,304,304,305,305,306,306,307,307,308,308,296,296,295,295,283,283,284,284,285,285,286,286,287,287,288,288,289,289,290,290,291,291,292,292,293,293,294,294,309,309,239,239,7,7,41,41,42,42,43,43,44,44,45,45,46,46,48,48,49,49,50,50,51,51,52,52,53,53,40,40,38,38,8,8,17,17,18,18,20,20,21,21,22,22,26,26,29,29,34,34,35,35,36,36,37,37,54,54,59,59,60,60,187,187,202,202,203,203,204,204,209,209,219,219,220,220,221,221,224,224,225,225,227,227,259,259,186,186,185,185,88,88,89,89,90,90,96,96,153,153,156,156,164,164,165,165,168,168,173,173,183,183,184,184,234,234,-999) ORDER BY tbl_event.seo_name DESC limit 0, 10;
Error Number: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '240,240,268,268,269,269,270,270,271,271,272,272,273,273,274,274,275,275,276,276,' at line 3
Date: Sat, February 4, 2012 10:25:12
IP: 38.107.179.242
Browser: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Script: /event/geographical/
Referer:
PHP Version : 5.2.9
OS: Linux
Server: Apache
Server Name: www.usscots.com
EVENTS IN