FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » SQL Syntax problem
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
SQL Syntax problem [message #20037] Wed, 22 September 2004 20:54 Go to next message
rwest is currently offline  rwest   United States
Messages: 24
Registered: March 2002
Karma: 0
Junior Member
I have upgraded some time ago, but this was only just recently brought to my attention.

When users try to attach a file to their post, they are greeted wtih an error. Sad

When I look in the log, I see:
) 1064: 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 id NOT IN(7))' at line 1
Query: DELETE FROM fud25_attach WHERE message_id=178 AND id NOT IN( AND id NOT IN(7))
Server Version: 4.0.21-standard

In looking a bit closer, you can see the error.. It's "AND id NOT IN( AND id NOT IN(7))". For some reason, it is repeating the "AND id NOT IN" part twice..

Is this a known problem, or is it an install issue on my end?
Re: SQL Syntax problem [message #20038 is a reply to message #20037] Wed, 22 September 2004 20:58 Go to previous message
rwest is currently offline  rwest   United States
Messages: 24
Registered: March 2002
Karma: 0
Junior Member
Nevermind.. I was at 2.6.5. Upgrading to 2.6.6 fixed this. Smile

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: right management bewilderment
Next Topic: RDF feed doesn't escape entities in titles
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 13:24:46 GMT 2024

Total time taken to generate the page: 0.02183 seconds