السلام عليكم ورحمة الله وبركاته
المشكله حدثت معى اليوم بعد ان قمت بأعطاء تقييم لأحد المواضيع بالمنتدى ثم قمت بتركيب هاك منع مشاهدة الموضوع
وبعدها بفتره صغيره بدأت تظهر لى هذه الرساله
Database error in vBulletin 3.6.2:
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, thread.lastposter, thread.lastpostid, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount, deletedcount
, NOT ISNULL(subscribethread.su bscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
,post.pagetext
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.thread id = thread.threadid AND subscribethread.userid = 2 AND canview = 1)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
WHERE thread.threadid IN (0,2338,2463,2688,2430,24 22,2620,2594,2465,2429,24 24,2464,2466,2380,2443,24 99)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Unknown table 'post' in field list
Error Number : 1109
Date : Thursday, November 9th 2006 @ 07:27:13 PM
فقمت بحذف الهاك وكذلك قمت بعمل اصلاح للجداول من لوحة تحكم المنتدى ولكن لا يوجد فائده
ملحوظه : صفحة المنتدى الرئيسيه تظهر بشكل سليم وكذلك عند الدخول لأحد المواضيع ولكن تظهر هذه الرساله عند دخول اقسام المنتدى
ارجو منكم يا اخوانى مساعدتى فى حل هذه المشكله
وجزاكم الله خيرا
مواقع النشر (المفضلة)