Error in DB operation:
Expression #1 of ORDER BY clause is not in SELECT list, references column 'omar20_cms.sec_data_pages.pos' which is not in SELECT list; this is incompatible with DISTINCT
SELECT distinct sec_data.con_id, con_url, con_url_title, con_image, con_image_type, con_image_text FROM `sec_data`, `sec_data_pages` where sec_data.con_id=sec_data_pages.con_id and sec_data_pages.page = 'attractions/medieval.htm' and con_status='A' and (con_category in (6) ) order by sec_data_pages.pos limit 3