Hi;
2 months ago, I started receiving a lot of "vBulletin Database Error" emails originated from browseimage.php, claiming that there is an invalid SQL statement.
Below is the email content:
Quote:
Database error in vBulletin 4.1.6:
Invalid SQL:
SELECT images.imageid
FROM ppgal_images AS images
WHERE valid = 1 AND images.catid = '11'
ORDER BY sticky DESC, , images.imageid
LIMIT;
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 ' images.imageid
LIMIT' at line 5
Error Number : 1064
Request Date : Monday, October 24th 2011 @ 04:26:20 AM
Error Date : Monday, October 24th 2011 @ 04:26:20 AM
Script : ............/gallery/browseimages.php?do=browseimages&c=11
Referrer :
IP Address : ...............
Username : ..................
Classname : vB_Database
MySQL Version :
|
Any suggestion please!