Database error: Invalid SQL: SELECT
				idioms.*, 
				countries.*, 
				staff.name AS staff_name,
				staff.moniker AS staff_moniker,
				staff.authtype,
				idiom_types.type_id,
				idiom_types.title AS type_title,
				idiom_types.short_title AS type_title_short,
				idiom_types.description AS type_description,
				slang_usage_type.type_id AS usage_type_id,
				slang_usage_type.title AS usage_type_title,
				idiom_topics.id AS cat_id,
				idiom_topics.title AS cat_title
			FROM idioms
			LEFT JOIN countries ON countries.id = idioms.country_id
			LEFT JOIN staff ON idioms.author_id = staff.id
			LEFT JOIN idiom_types ON idiom_types.type_id = idioms.idiom_type
			LEFT JOIN slang_usage_type ON slang_usage_type.type_id = idioms.usage_type
			LEFT JOIN idiom_topics ON idiom_topics.id = idioms.topic_group
			WHERE (
				REPLACE(idiom, '\'', '') = 'fence sitter' OR 
				REPLACE(idiom, '(', '') = 'fence sitter' OR 
				REPLACE(idiom, ')', '') = 'fence sitter' OR 
				REPLACE(idiom, ':', '') = 'fence sitter' OR 
				REPLACE(idiom, '/', '') = 'fence sitter' OR 
				REPLACE(idiom, '\', '') = 'fence sitter' OR 
				REPLACE(idiom, '&', '') = 'fence sitter' OR 
				REPLACE(idiom, '£', '') = 'fence sitter' OR 
				REPLACE(idiom, '!', '') = 'fence sitter' OR 
				REPLACE(idiom, '#', '') = 'fence sitter' OR 
				REPLACE(idiom, '$', '') = 'fence sitter' OR 
				REPLACE(idiom, '%', '') = 'fence sitter' OR 
				REPLACE(idiom, '-', '') = 'fence sitter' OR 
				REPLACE(idiom, '_', '') = 'fence sitter' OR 
				REPLACE(idiom, ',', '') = 'fence sitter' OR 
				REPLACE(idiom, '?', '') = 'fence sitter' OR 
				REPLACE(idiom, ';', '') = 'fence sitter'
			)
			AND idioms.pending = 0
		

MySQL Error: 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 'fence sitter' OR 
				REPLACE(idiom, '&', '') = 'fence sitter' OR 
				REPLACE(i' at line 27)

Referrer: 


File: /home/aking/app/lib/class.db_base.php
  Line: 122: UE_DB_Base->backtrace (  )

File: /home/aking/app/lib/db_mysql.inc.php
  Line: 421: UE_DB_Base->haltmsg ( Invalid SQL: SELECT
				idioms.*, 
				countries.*, 
				staff.name AS staff_name,
				staff.moniker AS staff_moniker,
				staff.authtype,
				idiom_types.type_id,
				idiom_types.title AS type_title,
				idiom_types.short_title AS type_title_short,
				idiom_types.description AS type_description,
				slang_usage_type.type_id AS usage_type_id,
				slang_usage_type.title AS usage_type_title,
				idiom_topics.id AS cat_id,
				idiom_topics.title AS cat_title
			FROM idioms
			LEFT JOIN countries ON countries.id = idioms.country_id
			LEFT JOIN staff ON idioms.author_id = staff.id
			LEFT JOIN idiom_types ON idiom_types.type_id = idioms.idiom_type
			LEFT JOIN slang_usage_type ON slang_usage_type.type_id = idioms.usage_type
			LEFT JOIN idiom_topics ON idiom_topics.id = idioms.topic_group
			WHERE (
				REPLACE(idiom, '\'', '') = 'fence sitter' OR 
				REPLACE(idiom, '(', '') = 'fence sitter' OR 
				REPLACE(idiom, ')', '') = 'fence sitter' OR 
				REPLACE(idiom, ':', '') = 'fence sitter' OR 
				REPLACE(idiom, '/', '') = 'fence sitter' OR 
				REPLACE(idiom, '\', '') = 'fence sitter' OR 
				REPLACE(idiom, '&', '') = 'fence sitter' OR 
				REPLACE(idiom, '£', '') = 'fence sitter' OR 
				REPLACE(idiom, '!', '') = 'fence sitter' OR 
				REPLACE(idiom, '#', '') = 'fence sitter' OR 
				REPLACE(idiom, '$', '') = 'fence sitter' OR 
				REPLACE(idiom, '%', '') = 'fence sitter' OR 
				REPLACE(idiom, '-', '') = 'fence sitter' OR 
				REPLACE(idiom, '_', '') = 'fence sitter' OR 
				REPLACE(idiom, ',', '') = 'fence sitter' OR 
				REPLACE(idiom, '?', '') = 'fence sitter' OR 
				REPLACE(idiom, ';', '') = 'fence sitter'
			)
			AND idioms.pending = 0
		 )
  Line: 141: DB_MySQL->halt ( Invalid SQL: SELECT
				idioms.*, 
				countries.*, 
				staff.name AS staff_name,
				staff.moniker AS staff_moniker,
				staff.authtype,
				idiom_types.type_id,
				idiom_types.title AS type_title,
				idiom_types.short_title AS type_title_short,
				idiom_types.description AS type_description,
				slang_usage_type.type_id AS usage_type_id,
				slang_usage_type.title AS usage_type_title,
				idiom_topics.id AS cat_id,
				idiom_topics.title AS cat_title
			FROM idioms
			LEFT JOIN countries ON countries.id = idioms.country_id
			LEFT JOIN staff ON idioms.author_id = staff.id
			LEFT JOIN idiom_types ON idiom_types.type_id = idioms.idiom_type
			LEFT JOIN slang_usage_type ON slang_usage_type.type_id = idioms.usage_type
			LEFT JOIN idiom_topics ON idiom_topics.id = idioms.topic_group
			WHERE (
				REPLACE(idiom, '\'', '') = 'fence sitter' OR 
				REPLACE(idiom, '(', '') = 'fence sitter' OR 
				REPLACE(idiom, ')', '') = 'fence sitter' OR 
				REPLACE(idiom, ':', '') = 'fence sitter' OR 
				REPLACE(idiom, '/', '') = 'fence sitter' OR 
				REPLACE(idiom, '\', '') = 'fence sitter' OR 
				REPLACE(idiom, '&', '') = 'fence sitter' OR 
				REPLACE(idiom, '£', '') = 'fence sitter' OR 
				REPLACE(idiom, '!', '') = 'fence sitter' OR 
				REPLACE(idiom, '#', '') = 'fence sitter' OR 
				REPLACE(idiom, '$', '') = 'fence sitter' OR 
				REPLACE(idiom, '%', '') = 'fence sitter' OR 
				REPLACE(idiom, '-', '') = 'fence sitter' OR 
				REPLACE(idiom, '_', '') = 'fence sitter' OR 
				REPLACE(idiom, ',', '') = 'fence sitter' OR 
				REPLACE(idiom, '?', '') = 'fence sitter' OR 
				REPLACE(idiom, ';', '') = 'fence sitter'
			)
			AND idioms.pending = 0
		 )

File: /home/aking/app/lib/class.db_base.php
  Line: 22: DB_MySQL->query ( SELECT
				idioms.*, 
				countries.*, 
				staff.name AS staff_name,
				staff.moniker AS staff_moniker,
				staff.authtype,
				idiom_types.type_id,
				idiom_types.title AS type_title,
				idiom_types.short_title AS type_title_short,
				idiom_types.description AS type_description,
				slang_usage_type.type_id AS usage_type_id,
				slang_usage_type.title AS usage_type_title,
				idiom_topics.id AS cat_id,
				idiom_topics.title AS cat_title
			FROM idioms
			LEFT JOIN countries ON countries.id = idioms.country_id
			LEFT JOIN staff ON idioms.author_id = staff.id
			LEFT JOIN idiom_types ON idiom_types.type_id = idioms.idiom_type
			LEFT JOIN slang_usage_type ON slang_usage_type.type_id = idioms.usage_type
			LEFT JOIN idiom_topics ON idiom_topics.id = idioms.topic_group
			WHERE (
				REPLACE(idiom, '\'', '') = 'fence sitter' OR 
				REPLACE(idiom, '(', '') = 'fence sitter' OR 
				REPLACE(idiom, ')', '') = 'fence sitter' OR 
				REPLACE(idiom, ':', '') = 'fence sitter' OR 
				REPLACE(idiom, '/', '') = 'fence sitter' OR 
				REPLACE(idiom, '\', '') = 'fence sitter' OR 
				REPLACE(idiom, '&', '') = 'fence sitter' OR 
				REPLACE(idiom, '£', '') = 'fence sitter' OR 
				REPLACE(idiom, '!', '') = 'fence sitter' OR 
				REPLACE(idiom, '#', '') = 'fence sitter' OR 
				REPLACE(idiom, '$', '') = 'fence sitter' OR 
				REPLACE(idiom, '%', '') = 'fence sitter' OR 
				REPLACE(idiom, '-', '') = 'fence sitter' OR 
				REPLACE(idiom, '_', '') = 'fence sitter' OR 
				REPLACE(idiom, ',', '') = 'fence sitter' OR 
				REPLACE(idiom, '?', '') = 'fence sitter' OR 
				REPLACE(idiom, ';', '') = 'fence sitter'
			)
			AND idioms.pending = 0
		 )

File: /home/aking/app/lib/class.idiom.php
  Line: 163: UE_DB_Base->query ( SELECT
				idioms.*, 
				countries.*, 
				staff.name AS staff_name,
				staff.moniker AS staff_moniker,
				staff.authtype,
				idiom_types.type_id,
				idiom_types.title AS type_title,
				idiom_types.short_title AS type_title_short,
				idiom_types.description AS type_description,
				slang_usage_type.type_id AS usage_type_id,
				slang_usage_type.title AS usage_type_title,
				idiom_topics.id AS cat_id,
				idiom_topics.title AS cat_title
			FROM idioms
			LEFT JOIN countries ON countries.id = idioms.country_id
			LEFT JOIN staff ON idioms.author_id = staff.id
			LEFT JOIN idiom_types ON idiom_types.type_id = idioms.idiom_type
			LEFT JOIN slang_usage_type ON slang_usage_type.type_id = idioms.usage_type
			LEFT JOIN idiom_topics ON idiom_topics.id = idioms.topic_group
			WHERE (
				REPLACE(idiom, '\'', '') = 'fence sitter' OR 
				REPLACE(idiom, '(', '') = 'fence sitter' OR 
				REPLACE(idiom, ')', '') = 'fence sitter' OR 
				REPLACE(idiom, ':', '') = 'fence sitter' OR 
				REPLACE(idiom, '/', '') = 'fence sitter' OR 
				REPLACE(idiom, '\', '') = 'fence sitter' OR 
				REPLACE(idiom, '&', '') = 'fence sitter' OR 
				REPLACE(idiom, '£', '') = 'fence sitter' OR 
				REPLACE(idiom, '!', '') = 'fence sitter' OR 
				REPLACE(idiom, '#', '') = 'fence sitter' OR 
				REPLACE(idiom, '$', '') = 'fence sitter' OR 
				REPLACE(idiom, '%', '') = 'fence sitter' OR 
				REPLACE(idiom, '-', '') = 'fence sitter' OR 
				REPLACE(idiom, '_', '') = 'fence sitter' OR 
				REPLACE(idiom, ',', '') = 'fence sitter' OR 
				REPLACE(idiom, '?', '') = 'fence sitter' OR 
				REPLACE(idiom, ';', '') = 'fence sitter'
			)
			AND idioms.pending = 0
		 )
  Line: 55: UE_Idiom->_load_via_title ( fence sitter )

File: /home/aking/public_html/reference/idioms/idiom.php
  Line: 36: UE_Idiom->load_from_filename ( fence sitter )