Query: SELECT `Course`.`id`, `Course`.`name`, `Course`.`note`, `Course`.`venue_id`, `Course`.`description`, `Course`.`publish`, `Course`.`start`, `Course`.`end`, `Course`.`created`, `Course`.`modified`, `Venue`.`id`, `Venue`.`name`, `Venue`.`address`, `Venue`.`address2`, `Venue`.`address3`, `Venue`.`city`, `Venue`.`state`, `Venue`.`country_id`, `Venue`.`phone`, `Venue`.`fax`, `Venue`.`postal_code`, `Venue`.`url`, `Venue`.`email`, `Venue`.`description`, `Venue`.`longitude`, `Venue`.`latitude`, `Venue`.`created`, `Venue`.`modified` FROM `courses` AS `Course` LEFT JOIN `venues` AS `Venue` ON (`Course`.`venue_id` = `Venue`.`id`) WHERE `Course`.`publish`=1 AND `Course`.`id` `www`.`amirelsaffar `.`com` LIMIT 1
Warning: SQL 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 '`www`.`amirelsaffar `.`com` LIMIT 1' at line 1 in /home/alwanforthearts/public_html/cake/libs/model/datasources/dbo_source.php on line 476
Query: onError
Warning: SQL 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 'onError' at line 1 in /home/alwanforthearts/public_html/cake/libs/model/datasources/dbo_source.php on line 476