Any idea what's causing this when I try to post a comment on a vehicle image?
Database error in vBulletin 4.1.2:
Invalid SQL:
SELECT COUNT(image_id) AS ImageCommCount FROM garage_image_comments WHERE image_id = '33' WHERE active = '1';
MySQL Error : 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 'WHERE active = '1'' at line 1
Error Number : 1064
Request Date : Sunday, March 27th 2011 @ 04:50:40 PM
Error Date : Sunday, March 27th 2011 @ 04:50:40 PM
Script :
http://www.xxxxxx.com/forums/garage_comments.php
Referrer :
http://www.xxxxx.com/forums/garage-i...mments-33.html
IP Address : xx.xxxx.10.30
Username : xxxxxx
Classname : vB_Database
MySQL Version : 5.1.52