Kenj
12-13-2004, 06:03 PM
am in the process of setting things up and ran into this - not a normal setup i use but .
have it set so only registered users can access the board, then if i know who it is can permote them to a different status .
have it set that visitors can not view the forum or others threads - no problems .
- after they registered, setting was "could view forum, could NOT view others threads" . then i recived the error on the cmps only, the forum, vBa-gallery, vBa-links are all fine and work with the setting.
- changing it to "could view forum, could view others threads" removed the error and all is fine - using this for now - will be opening in a few days .
PHP Version 4.3.9
Apache v1.3.33
MySQL 4.0.22-standard
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 = 7)
WHERE open <> '10' AND thread.visible = 1 AND thread.forumid NOT IN(11,12,14,13,1,8,2,7,5,15,6,16,3,4,10,9,3,4,10,9) Array 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 'Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost D
mysql error number: 1064
have it set so only registered users can access the board, then if i know who it is can permote them to a different status .
have it set that visitors can not view the forum or others threads - no problems .
- after they registered, setting was "could view forum, could NOT view others threads" . then i recived the error on the cmps only, the forum, vBa-gallery, vBa-links are all fine and work with the setting.
- changing it to "could view forum, could view others threads" removed the error and all is fine - using this for now - will be opening in a few days .
PHP Version 4.3.9
Apache v1.3.33
MySQL 4.0.22-standard
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 = 7)
WHERE open <> '10' AND thread.visible = 1 AND thread.forumid NOT IN(11,12,14,13,1,8,2,7,5,15,6,16,3,4,10,9,3,4,10,9) Array 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 'Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost D
mysql error number: 1064