PDA

View Full Version : Poll posting crashed site!!!


Boosted MR-S
12-21-2004, 08:17 PM
Everything was going fine, then some responded to a poll and it crashed my site.
------------------------------------------------------------------------


Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum != 0, votetotal / votenum, 0) AS voteavg,
thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid
, thread.iconid AS threadiconid, iconpath AS threadiconpath
,thread.forumid, forum.title AS forumtitle
, post.pagetext AS preview
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread as thread
LEFT JOIN icon USING (iconid)
LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = 1)
WHERE open <> '10' AND thread.visible = 1 AND thread.forumid NOT IN(4,) AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 10

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 ') AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC

mysql error number: 1064

Date: Tuesday 21st of December 2004 08:15:51 PM
Script: http://www.driftchat.com/
Referer:
Username: MR-2ZZ
IP Address: 24.126.226.156

Brian
12-21-2004, 08:26 PM
Looks like it's having some kind of problem with the forum permissions... Would you mind submitting a support ticket so I can have a look?

Our Sponsors
 

Boosted MR-S
12-21-2004, 08:42 PM
How do I do that? BTW I search for the 1064 problem and no methods helped... thanks for the help my members are getting mad at me :(

Brian
12-21-2004, 08:52 PM
Home Page => Members' Area => Support Tickets

Our Sponsors
 

Boosted MR-S
12-21-2004, 08:53 PM
ok doing it right now, thanks for the quick help :(

Boosted MR-S
12-21-2004, 08:55 PM
Ticket Submited