SQL statement that failed below:
---------------------------------------------------------
SELECT COUNT(distinct(property_en_listingsdb.listingsdb_id)) as total_listings FROM property_en_listingsdb ,property_en_listingsdbelements Province WHERE (listingsdb_active = 'yes') AND (property_en_listingsdb.listingsdb_id = Province.listingsdb_id) AND (Province.listingsdbelements_field_name = 'Province' AND ( Province.listingsdbelements_field_value LIKE '%L'Aquila%'))
---------------------------------------------------------
ERROR REPORT www.italymag.co.uk: September 8, 2008, 2:57:28 am
---------------------------------------------------------
SQL ERROR: SELECT COUNT(distinct(property_en_listingsdb.listingsdb_id)) as total_listings FROM property_en_listingsdb ,property_en_listingsdbelements Province WHERE (listingsdb_active = 'yes') AND (property_en_listingsdb.listingsdb_id = Province.listingsdb_id) AND (Province.listingsdbelements_field_name = 'Province' AND ( Province.listingsdbelements_field_value LIKE '%L'Aquila%'))
Server Type: Apache/2.0.52 (Red Hat)
Request Method: GET
Query String: Province[]=L'Aquila&action=searchresults
User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Request URI: /property-for-sale-in-italy/property-for-sale-in-laquila.html
POST Variables: array (
)
GET Variables: array (
'Province' =>
array (
0 => 'L\'Aquila',
),
'action' => 'searchresults',
'printer_friendly' => false,
'sortby' => 'baths',
'sorttype' => 'DESC',
)