Queensoul
06-06-2004, 01:50 AM
Hello:
I imported my phpbb board to vbulletin and only hack I've installed is this excellent VBA CMPS. A strange thing is happening though..anytime someone logs on my board, I get an email with this error
"Database error in vBulletin 3.0.1:
Invalid SQL:
SELECT
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
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')
WHERE open <> '10' AND thread.visible = 1 AND thread.forumid NOT IN(4,10,36,5,11,12,13,14,15,23,34,28,30,32,3,24,25,29,31,6,16,17,18,19,33,7,20,2 1,22,8,26,27,35,9,37,38) Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 7
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 'Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost D
mysql error number: 1064"
I have posted this on vbulletin.com and it was suggested that it must be a hack. Well this is the only hack I've installed. I took it off and replaced the changed files and all was ok. Then i reinstalled VBA and then start getting this email messages again. I am new at VB and would hate to mess with files i dont know anything about. Do you recognize this sql and can you tell me what is causing the problem?
Your help is appreciated.
I imported my phpbb board to vbulletin and only hack I've installed is this excellent VBA CMPS. A strange thing is happening though..anytime someone logs on my board, I get an email with this error
"Database error in vBulletin 3.0.1:
Invalid SQL:
SELECT
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
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')
WHERE open <> '10' AND thread.visible = 1 AND thread.forumid NOT IN(4,10,36,5,11,12,13,14,15,23,34,28,30,32,3,24,25,29,31,6,16,17,18,19,33,7,20,2 1,22,8,26,27,35,9,37,38) Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 7
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 'Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost D
mysql error number: 1064"
I have posted this on vbulletin.com and it was suggested that it must be a hack. Well this is the only hack I've installed. I took it off and replaced the changed files and all was ok. Then i reinstalled VBA and then start getting this email messages again. I am new at VB and would hate to mess with files i dont know anything about. Do you recognize this sql and can you tell me what is causing the problem?
Your help is appreciated.