aidler
Wed 24th Jul '02, 7:17pm
Invalid SQL:
SELECT DISTINCT post.userid, IF(votenum>=1,votenum,0) AS votenum,
IF(votenum>=1 AND votenum > 0,votetotal/votenum,0) AS voteavg, post2.pagetext as pagetext, icon.title as icontitle,icon.iconpath,
thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid,
lastposter,thread.dateline,views,thread.iconid,not es,thread.visible,sticky,votetotal,attach
FROM thread
LEFT JOIN icon ON (icon.iconid = thread.iconid)
LEFT JOIN post ON (thread.threadid = post.threadid AND post.userid = '51') LEFT JOIN post AS post2 ON (thread.firstpostid = post2.postid)
WHERE thread.threadid IN (0,194,172,170,156)
ORDER BY sticky DESC, lastpost DESC
mysql error: Got error -1 from table handler
mysql error number: 1030
Date: Wednesday 24th of July 2002 03:01:11 PM
Script: http://www.idler-online.de/forum/forum/forumdisplay.php?s=&forumid=7
Referer:
Got this mysql error today. Can somebody please help me to solve this problem. I have absolutely no knowledge of mysql. :confused:
thanks
SELECT DISTINCT post.userid, IF(votenum>=1,votenum,0) AS votenum,
IF(votenum>=1 AND votenum > 0,votetotal/votenum,0) AS voteavg, post2.pagetext as pagetext, icon.title as icontitle,icon.iconpath,
thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid,
lastposter,thread.dateline,views,thread.iconid,not es,thread.visible,sticky,votetotal,attach
FROM thread
LEFT JOIN icon ON (icon.iconid = thread.iconid)
LEFT JOIN post ON (thread.threadid = post.threadid AND post.userid = '51') LEFT JOIN post AS post2 ON (thread.firstpostid = post2.postid)
WHERE thread.threadid IN (0,194,172,170,156)
ORDER BY sticky DESC, lastpost DESC
mysql error: Got error -1 from table handler
mysql error number: 1030
Date: Wednesday 24th of July 2002 03:01:11 PM
Script: http://www.idler-online.de/forum/forum/forumdisplay.php?s=&forumid=7
Referer:
Got this mysql error today. Can somebody please help me to solve this problem. I have absolutely no knowledge of mysql. :confused:
thanks