Query: SELECT `Artist`.`id`, `Artist`.`artist_category_id`, `Artist`.`url`, `Artist`.`title`, `Artist`.`name`, `Artist`.`first_name`, `Artist`.`last_name`, `Artist`.`text`, `Artist`.`rider`, `Artist`.`mix`, `Artist`.`discography`, `Artist`.`teaser`, `Artist`.`myspace`, `Artist`.`sorting`, `Artist`.`hidden`, `Artist`.`deleted`, `Artist`.`locale`, `Artist`.`date_create`, `Artist`.`date_change`, `Artist`.`editor_id`, `Editor`.`id`, `Editor`.`username`, `Editor`.`password`, `Editor`.`first_name`, `Editor`.`last_name`, `Editor`.`email`, `Editor`.`phone`, `Editor`.`date_change`, `Editor`.`date_create`, `Editor`.`last_login` FROM `artists` AS `Artist` LEFT JOIN `editors` AS `Editor` ON (`Artist`.`editor_id` = `Editor`.`id`) WHERE `Artist`.`hidden`=0 AND `Artist`.`deleted`=0 AND `Artist`.`artist_category_id`= ORDER BY `Artist`.`name` ASC
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 'ORDER BY `Artist`.`name` ASC' at line 1 in /home/htdocs/web1/html/cake/libs/model/datasources/dbo_source.php on line 440