Skip to content

Instantly share code, notes, and snippets.

@michaeltwofish
Created August 17, 2011 01:05
Show Gist options
  • Save michaeltwofish/1150567 to your computer and use it in GitHub Desktop.
Save michaeltwofish/1150567 to your computer and use it in GitHub Desktop.
Fatal error: Uncaught exception 'lithium\data\model\QueryException' with message 'SELECT * FROM `scores` AS `Scores` LEFT JOIN `norms` AS `Norms` ON `Scores`.`id` = `Norms`.`score_id` WHERE `test_id` = 1 AND `form_id` = 1 AND score = 5 AND Scores.id IN ();: 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 ')' at line 1' in /usr/local/www/oars/libraries/lithium/data/source/database/adapter/MySql.php on line 343
( ! ) lithium\data\model\QueryException: SELECT * FROM `scores` AS `Scores` LEFT JOIN `norms` AS `Norms` ON `Scores`.`id` = `Norms`.`score_id` WHERE `test_id` = 1 AND `form_id` = 1 AND score = 5 AND Scores.id IN ();: 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 ')' at line 1 in /usr/local/www/oars/libraries/lithium/data/source/database/adapter/MySql.php on line 343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment