
01-09-2006, 10:44 AM
|
|
|
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
I have found a new bug. When you have a forum set so that guests(and members i assume) can view a forum, but not threads or thread content, you getthis database error:
Quote:
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 AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
thread.lastpost, lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount
,post.pagetext
FROM thread AS thread
WHERE thread.threadid IN (0)
ORDER BY sticky DESC, thread.lastpost DESC;
MySQL Error : Unknown column 'post.pagetext' in 'field list'
Error Number : 1054
Date : Monday, January 9th 2006 @ 12:42:41 PM
Script : http://domsforums.net/forumdisplay.php?f=41
Referrer : http://domsforums.net/index.php
Username : Unregistered
Classname : vb_database
|
|