كود PHP:
Invalid SQL:
SELECT
IF(votenum >= 2, votenum, 0) AS votenum,
IF(votenum >= 2 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
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
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
FROM thread AS thread
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 = 2 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
WHERE thread.threadid IN (0,252629,250128,236548,247759,250099,252990,252607,252621,253031,252487,252718,252930,252913,252731,231268,252993,253038,252877,252846,253045,252989,253034,252230,252988,252879,36191,101429,117332,223745,252420,204519)
ORDER BY sticky DESC, thread.lastpost DESC;
MySQL Error : Got error 134 from storage engine
Error Number : 1030
Date : Tuesday, October 14th 2008 @ 04:52:40 PM
Script : http://www.site.com/vb/forumdisplay.php?f=18
Referrer : http://www.site.com/vb/index.php
IP Address :
Username :
Classname : vB_Database
كلمة الشركة عن هل قسم الى موراضي يفتح وقال لي