PDA

View Full Version : 1064 Help


TLucent
08-19-2003, 06:14 AM
I'm getting this error when Updating Thread Info Counter. I read the "Important" post about 1064 syntax errors. It looks as if "Script:" may be the cause of the error. Can someone help?

Thanks
Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: UPDATE thread SET lastpost=1061276160,replycount=2,postusername='twe ezie', postuserid='380', lastposter='Franklin',attach= WHERE threadid=194
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 threadid=194' at line 1

mysql error number: 1064

Date: Tuesday 19th of August 2003 03:07:30 AM
Script: http://www.myvbsite.com/forum/forum/admin/misc.php
Referer: http://www.myvbsite.com/forum/admin/misc.php?

DiscussAnything
08-19-2003, 04:57 PM
attach is empty, there is no value there.

attach =

should contain a value (0 or 1 i'm guessing).

lifesourcerec
09-03-2003, 03:48 AM
That part in the script has:


attach=$attachsum


So, the $attachsum is wrong or something.

lifesourcerec
09-03-2003, 04:03 AM
The fix to the problem is here:

https://vborg.vbsupport.ru/showthread.php?s=&postid=430898#post430898