PDA

View Full Version : Error when deleting attachment in ACP


HexOnxOnx
Mon 16th Jun '03, 12:20am
I get this error when deleting an attachment in the admin CP:

Database error in vBulletin 3.0.0 Beta 3:
Invalid SQL: UPDATE thread SET attach = attach - 1 WHERE threadid =
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064

HexOnxOnx
Mon 16th Jun '03, 12:25am
I get this error when deleting an attachment in the admin CP:

Database error in vBulletin 3.0.0 Beta 3:
Invalid SQL: UPDATE thread SET attach = attach - 1 WHERE threadid =
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064

Figured this out. I added the attachments in my post but hadn't yet submitted my post. When I viewed the attachments in the admin cp. they showed up but they couldn't be deleted till I actually potsed the post.

Rein Masamuri
Mon 16th Jun '03, 2:36am
so was it in preview mode?

HexOnxOnx
Mon 16th Jun '03, 2:50am
so was it in preview mode?

Yes had selected preview post. That was when I saw that the attachments were showing up in the admin cp in the attachments screen and I tried to delete them from there.