Steve! Oh god of this wonderful hack!
I recently renamed my forum index from index.php to forums.php, now I can't do quotes.php?do=list, I get
Quote:
Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT COUNT(*) AS quotes FROM quotes
WHERE AND quotes.average >= 0 AND quotes.rating >= 0 approved = 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 'AND quotes.average >= 0 AND quotes.rating >= 0 approved = 1' a
Error Number : 1064
Date : Friday, April 14th 2006 @ 08:56:21 PM
Script : http://www.torrentforge.com/quotes.php?do=list
Referrer : http://www.torrentforge.com/forumdisplay.php?f=15
IP Address : XX.xx.xx.xx
Username : Borgs
Classname : vb_database
|
How can I fix this?