katie hunter
11-10-2013, 02:07 AM
I never seen this db error but all of a sudden i am seeing it reported in my email. Any idea how can i fix it?
Database error in vBulletin 4.2.1:
Invalid SQL:
SELECT
gifts.gifttypeid, gifts.giftid, gifts.comment, gifts.message,
gifts.private, gifts.recipient, gifts.recipientid, gifts.sender,
gifts.senderid, gift_type.image
FROM gifts AS gifts
LEFT JOIN gift_type AS gift_type ON(gifts.gifttypeid = gift_type.gifttypeid)
WHERE recipientid =
ORDER BY dateline DESC
LIMIT 5;
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 'ORDER BY dateline DESC
LIMIT 5' at line 8
Error Number : 1064
Request Date : Saturday, November 9th 2013 @ 07:54:56 PM
Error Date : Saturday, November 9th 2013 @ 07:54:56 PM
Script : http://forum.nihonomaru.com/member.php?username=%20%E2%84%9DinReferrer :
IP Address :
Username : ℝin
Classname : vB_Database
MySQL Version :
Database error in vBulletin 4.2.1:
Invalid SQL:
SELECT
gifts.gifttypeid, gifts.giftid, gifts.comment, gifts.message,
gifts.private, gifts.recipient, gifts.recipientid, gifts.sender,
gifts.senderid, gift_type.image
FROM gifts AS gifts
LEFT JOIN gift_type AS gift_type ON(gifts.gifttypeid = gift_type.gifttypeid)
WHERE recipientid =
ORDER BY dateline DESC
LIMIT 5;
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 'ORDER BY dateline DESC
LIMIT 5' at line 8
Error Number : 1064
Request Date : Saturday, November 9th 2013 @ 07:54:56 PM
Error Date : Saturday, November 9th 2013 @ 07:54:56 PM
Script : http://forum.nihonomaru.com/member.php?username=%20%E2%84%9DinReferrer :
IP Address :
Username : ℝin
Classname : vB_Database
MySQL Version :