عرض مشاركة مفردة
 
  #1  
قديم 13-11-2009, 02:05 AM
eftekasat3 eftekasat3 غير متصل
عضو
 
تاريخ التسجيل: Jun 2008
مشاركة: 2
مستوى تقييم العضوية: 0
eftekasat3 is on a distinguished road
الافتراضي رجاء المساعده لايجاد حلDatabase error in vBulletin 3.7.3



اتمنى ان تقراو الموضوع و انتم فى تمام الصحه و العافيه

لدى مشكله فى المنتدى و هى ظهور "Database erroe in vBulletin" عند الدخول لاى موضوع او قسم

رجاء المساعده فى هذى المشكله

كود PHP:
Database error in vBulletin 3.7.3:

Invalid SQL:

        
SELECT 
            
IF(votenum >= 1, votenum, 0) AS votenum,
            IF(
votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
         
post.pagetext AS preview,
            
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
            
thread.dateline, notes, thread.visible, stick, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, replycount, IF(views<=replycount, replycount+1, views) AS views,
            
thread.prefixid, thread.taglist, hiddencount, deletedcount
            
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
            
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
            
            
, threadredirect.expires
            
        FROM
******thread AS thread
            LEFT JOIN 
*******deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
             
LEFT JOIN ******subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
            
            
LEFT JOIN *****post AS post ON(post.postid = thread.firstpostid)
            
            
LEFT JOIN ******threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
            
        
WHERE thread.threadid IN (0,1218,1220,1216,1214,1204,1200,1198,1197,1192,1155,1153,1188,1127,1159,1145,1134,1125,1121,1119,1112,1196,1199,1210) 
        
ORDER BY sticky DESC, lastpost DESC;

MySQL Error   : Table './****_******_********/****post' is marked as crashed and should be repaired
Error Number  
: 145
Request Date  
: Thursday, November 12th 2009 @ 05:57:52 PM
Error Date    
: Thursday, November 12th 2009 @ 05:57:52 PM
Script        
: site name/forumdisplay.php?f=4
Referrer      
: ********
IP Address    : **********
Username      : ********
Classname     : vB_Database
MySQL Version 
: 5.1.40-1