PDA

View Full Version : Gratz error


Stratos
07-03-2007, 05:19 PM
Gratz error .

after pressing the gratz button i get the following error :

Database error in vBulletin 3.6.2:

Invalid SQL:

INSERT IGNORE INTO reputation
(postid, userid, reputation, whoadded, reason, dateline)
VALUES ('13381', '425', '5', '410', 'Gratz'd post', 1173283332);

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 'd post', 1173283332)' at line 3
Error Number : 1064
Date : Wednesday, March 7th 2007 @ 04:02:12 PM
Script : http://80.194.67.44/forum/showthread...d_ajax&p=13381
Referrer : http://80.194.67.44/forum/showthread.php?t=3238
IP Address : 172.173.97.2
Username : Stratos
Classname : vb_database



seems there is a ´ to much or a colon missing or a ´and a colon missing .......


The gratz is inserted in the gratz line.

phunksta
07-03-2007, 06:28 PM
Hey nicely spotted Stratos - looks like the ' in the text kills the quoting!
Will fix that now