النتائج 1 إلى 9 من 9

الموضوع: ماذا تعني هذه الرسائل من قاعدة البيانات وكيف حلها

  1. #1
    عضو نشيط
    تاريخ التسجيل
    Mar 2005
    المشاركات
    282

    ماذا تعني هذه الرسائل من قاعدة البيانات وكيف حلها



    السلام عليكم وصلتني عدت رسائل من قاعدت البيانات على النحو التالي

    كود:
    Database error in vBulletin 3.6.5:
    
    Invalid SQL:
    SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM user ORDER BY posts DESC LIMIT 0,;
    
    MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    Error Number : 1064
    Date         : Tuesday, May 29th 2007 @ 11:21:54 PM
    Script       : http://aaaa.org/vb/topXstats.php
    Referrer     :
    IP Address   : 1111111111111111
    Username     : ÛíÑ ãÓÌá
    Classname    : vb_database


    ايضا جاء الاستفسار التالي

    كود:
    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, 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.subscribethreadid) AS issubscribed
    
    
    
                           , thread.stampid, stamps.title, stamps.icon AS stampicon, stamps.color
                   FROM thread AS thread
    
                            LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 2132 AND canview = 1)
    
                           LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
    
    
                           LEFT JOIN stamps AS stamps ON(thread.stampid = stamps.stampid)
                   WHERE thread.threadid IN (0,21081,7242,18456,20512,27132,27631,13122,10464,27322,25343,27073,4238,23908,25210,8266,26694,23753,20030,25374,25334,18366,25155,24757,20769,5642)
                   ORDER BY sticky DESC, lastpost DESC;
    
    MySQL Error  : Table 'xxxxxxx_vb3.stamps' doesn't exist
    Error Number : 1146
    Date         : Monday, May 28th 2007 @ 01:20:22 AM
    Script       : http://www.xxxxxxx.com/vb/forumdisplay.php?f=45
    Referrer     : http://www.xxxxxxx.com/vb/
    IP Address   : 1111111111111111111111
    Username     : &auml;&Ccedil;&Otilde;&Ntilde; &Ccedil;&aacute;&Ocirc;&aring;&Ntilde;&iacute;
    Classname    : vb_database
    ايضا جاء الاستفسار التالي

    كود:
    Database error in vBulletin 3.6.5:
    
    Invalid SQL:
    UPDATE administrator SET
           navprefs = ''
    WHERE userid = 1;
    
    MySQL Error  : Unknown column 'navprefs' in 'field list'
    Error Number : 1054
    Date         : Monday, May 28th 2007 @ 01:17:16 AM
    Script       : http://www.xxxxxxx.com/vb/admincp/index.php?do=buildnavprefs&nojs=0&prefs=&dowhat=expand&id=vbulletin_24
    Referrer     : http://www.xxxxxxx.com/vb/admincp/index.php?do=nav
    IP Address   : 111111111111111111
    Username     : &Ccedil;&Iacute;&atilde;&Iuml; &Ccedil;&aacute;&Uacute;&aacute;&aelig;&iacute;
    Classname    : vb_database
    فياليت الحلول لان الموقع ارتفع اللود فيه واستنفذ الباندويث كاملا





    __________________
    رحمك الله يا عبدالرحمن


  2. #2


    بالنسبه للخطأ الاول قم بزراعة هذا الامر في قاعدة البيانات
    كود PHP:
    ALTER TABLE `infractiongroupADD `infractiongroupidint(10unsigned NOT NULL auto_increment

    بالنسبه للخطأ الثاني جرب تعمل إصلاح لقاعدة البيانات





    __________________
    الحمد لله
    إيحي بلس لحلول تطبيقات الويب
    هل جربت مضاعفة عدد زوار موقعك عن طريق خدمة زوار ؟

  3. #3


    بالنسبه للخطأ الثالث ضيف الامر ده

    كود PHP:
    ALTER TABLE `administratorADD `navprefsMEDIUMINT NULL DEFAULT NULL 






    __________________
    الحمد لله
    إيحي بلس لحلول تطبيقات الويب
    هل جربت مضاعفة عدد زوار موقعك عن طريق خدمة زوار ؟

  4. #4
    عضو نشيط
    تاريخ التسجيل
    Mar 2005
    المشاركات
    282


    يعطيك العافيه اخوي وجزاك الله كل خير
    لكن ياليت تعطيني ماذا تعني الأخطاء
    وماهي الحلول المطروحه لكي أكون على بينه واستفيد بارك الله فيك
    وشكرا لك على تجاوبك وسرعة مساعدك





    __________________
    رحمك الله يا عبدالرحمن

  5. #5


    شوف أخي الكريم في الخطأ الاول

    حقل infractiongroupid ناقص من جدول infractiongroup

    لذلك وضعت لك الامر الاول ليتم إضافة هذا الحقل و إعداداته كالتالي

    int(10) NOT NULL auto_increment;
    بمعني حقل رقمي مكون من 10 خانات لا يمكن ان يكون خالي ذات تعدد تلقائي

    و في حل المشكله الخاصه بالخطأ الثالث


    هو نفس فكرة حل مشكلة الخطأ الاول

    و هو فقدان حقل navprefs من جدول administrator

    بالتوفيق أخي العزيز و اي اسأله أنا حاضر







    __________________
    الحمد لله
    إيحي بلس لحلول تطبيقات الويب
    هل جربت مضاعفة عدد زوار موقعك عن طريق خدمة زوار ؟

  6. #6
    عضو نشيط
    تاريخ التسجيل
    Mar 2005
    المشاركات
    282


    بالنسبة للأمر الأول أعطاني الخطأ التالي
    إستعلام-SQL:

    ALTER TABLE `infractiongroup` ADD `infractiongroupid` int( 10 ) unsigned NOT NULL AUTO_INCREMENT

    MySQL قال: مستندات وثائقيه
    #1060 - Duplicate column name 'infractiongroupid'

    فياليت التوجيه





    __________________
    رحمك الله يا عبدالرحمن

  7. #7


    عادي يا غالي هذه المشكله تحدث معي كثيراً عند إضافة أوامر اصلاح قواعد البيانات لا تقلق من شأنها

    فقط أدخل علي جدول infractiongroup و تأكد أنه تم إضافة حقل infractiongroupid بمراجعة اسماء الحقول المضافه





    __________________
    الحمد لله
    إيحي بلس لحلول تطبيقات الويب
    هل جربت مضاعفة عدد زوار موقعك عن طريق خدمة زوار ؟

  8. #8
    عضو نشيط
    تاريخ التسجيل
    Mar 2005
    المشاركات
    282


    طيب أخوي الأمر الثالث تم بنجاح

    اصلاح الجداول تم بالشكل التالي ولكن ظهرت مشكلة لثلاث جداول تقريبا فمال الحل بارك الله فيك

    Op Msg_type Msg_text
    xxxxxxx_vb3.access repair status OK
    xxxxxxx_vb3.adminhelp repair status OK
    xxxxxxx_vb3.administrator repair status OK
    xxxxxxx_vb3.adminlog repair status OK
    xxxxxxx_vb3.adminmessage repair status OK
    xxxxxxx_vb3.adminutil repair status OK
    xxxxxxx_vb3.announcement repair status OK
    xxxxxxx_vb3.announcementread repair status OK
    xxxxxxx_vb3.attachment repair status OK
    xxxxxxx_vb3.attachmentpermission repair status OK
    xxxxxxx_vb3.attachmenttype repair status OK
    xxxxxxx_vb3.attachmentviews repair status OK
    xxxxxxx_vb3.avatar repair status OK
    xxxxxxx_vb3.bbcode repair status OK
    xxxxxxx_vb3.calendar repair status OK
    xxxxxxx_vb3.calendarcustomfield repair status OK
    xxxxxxx_vb3.calendarmoderator repair status OK
    xxxxxxx_vb3.calendarpermission repair status OK
    xxxxxxx_vb3.cpsession repair note The storage engine for the table doesn't support r...
    xxxxxxx_vb3.cron repair status OK
    xxxxxxx_vb3.cronlog repair status OK
    xxxxxxx_vb3.customavatar repair status OK
    xxxxxxx_vb3.customprofilepic repair status OK
    xxxxxxx_vb3.datastore repair status OK
    xxxxxxx_vb3.deletionlog repair status OK
    xxxxxxx_vb3.editlog repair status OK
    xxxxxxx_vb3.event repair status OK
    xxxxxxx_vb3.externalcache repair status OK
    xxxxxxx_vb3.faq repair status OK
    xxxxxxx_vb3.forum repair status OK
    xxxxxxx_vb3.forumpermission repair status OK
    xxxxxxx_vb3.forumread repair status OK
    xxxxxxx_vb3.holiday repair status OK
    xxxxxxx_vb3.icon repair status OK
    xxxxxxx_vb3.imagecategory repair status OK
    xxxxxxx_vb3.imagecategorypermission repair status OK
    xxxxxxx_vb3.infraction repair status OK
    xxxxxxx_vb3.infractionban repair status OK
    xxxxxxx_vb3.infractiongroup repair status OK
    xxxxxxx_vb3.infractionlevel repair status OK
    xxxxxxx_vb3.language repair status OK
    xxxxxxx_vb3.mailqueue repair status OK
    xxxxxxx_vb3.moderation repair status OK
    xxxxxxx_vb3.moderator repair status OK
    xxxxxxx_vb3.moderatorlog repair status OK
    xxxxxxx_vb3.passwordhistory repair status OK
    xxxxxxx_vb3.paymentapi repair status OK
    xxxxxxx_vb3.paymentinfo repair status OK
    xxxxxxx_vb3.paymenttransaction repair status OK
    xxxxxxx_vb3.phrase repair status OK
    xxxxxxx_vb3.phrasetype repair status OK
    xxxxxxx_vb3.plugin repair status OK
    xxxxxxx_vb3.pm repair status OK
    xxxxxxx_vb3.pmreceipt repair status OK
    xxxxxxx_vb3.pmtext repair status OK
    xxxxxxx_vb3.podcast repair status OK
    xxxxxxx_vb3.podcastitem repair status OK
    xxxxxxx_vb3.poll repair status OK
    xxxxxxx_vb3.pollvote repair status OK
    xxxxxxx_vb3.post repair status OK
    xxxxxxx_vb3.posthash repair status OK
    xxxxxxx_vb3.postindex repair status OK
    xxxxxxx_vb3.postparsed repair status OK
    xxxxxxx_vb3.product repair status OK
    xxxxxxx_vb3.productcode repair status OK
    xxxxxxx_vb3.productdependency repair status OK
    xxxxxxx_vb3.profilefield repair status OK
    xxxxxxx_vb3.ranks repair status OK
    xxxxxxx_vb3.regimage repair status OK
    xxxxxxx_vb3.reminder repair status OK
    xxxxxxx_vb3.reputation repair status OK
    xxxxxxx_vb3.reputationlevel repair status OK
    xxxxxxx_vb3.rssfeed repair status OK
    xxxxxxx_vb3.rsslog repair status OK
    xxxxxxx_vb3.search repair status OK
    xxxxxxx_vb3.session repair note The storage engine for the table doesn't support r...
    xxxxxxx_vb3.setting repair status OK
    xxxxxxx_vb3.settinggroup repair status OK
    xxxxxxx_vb3.sigparsed repair status OK
    xxxxxxx_vb3.sigpic repair status OK
    xxxxxxx_vb3.smilie repair status OK
    xxxxxxx_vb3.stats repair status OK
    xxxxxxx_vb3.strikes repair status OK
    xxxxxxx_vb3.style repair status OK
    xxxxxxx_vb3.subscribeevent repair status OK
    xxxxxxx_vb3.subscribeforum repair status OK
    xxxxxxx_vb3.subscribethread repair status OK
    xxxxxxx_vb3.subscription repair status OK
    xxxxxxx_vb3.subscriptionlog repair status OK
    xxxxxxx_vb3.subscriptionpermission repair status OK
    xxxxxxx_vb3.tachyforumpost repair status OK
    xxxxxxx_vb3.tachythreadpost repair status OK
    xxxxxxx_vb3.template repair status OK
    xxxxxxx_vb3.templatehistory repair status OK
    xxxxxxx_vb3.thread repair status OK
    xxxxxxx_vb3.threadrate repair status OK
    xxxxxxx_vb3.threadread repair status OK
    xxxxxxx_vb3.threadredirect repair status OK
    xxxxxxx_vb3.threadviews repair status OK
    xxxxxxx_vb3.upgradelog repair status OK
    Table Op Msg_type Msg_text
    xxxxxxx_vb3.user repair status OK
    xxxxxxx_vb3.useractivation repair status OK
    xxxxxxx_vb3.userban repair status OK
    xxxxxxx_vb3.userfield repair status OK
    xxxxxxx_vb3.usergroup repair status OK
    xxxxxxx_vb3.usergroupleader repair status OK
    xxxxxxx_vb3.usergrouprequest repair status OK
    xxxxxxx_vb3.usernote repair status OK
    xxxxxxx_vb3.userpromotion repair status OK
    xxxxxxx_vb3.usertextfield repair status OK
    xxxxxxx_vb3.usertitle repair status OK
    xxxxxxx_vb3.word repair status OK





    __________________
    رحمك الله يا عبدالرحمن

  9. #9


    لا توجد مشاكل اخي العزيز بخصوص عملية إصلاح الجداول

    فهذه نتيجه طبيعه جداً





    __________________
    الحمد لله
    إيحي بلس لحلول تطبيقات الويب
    هل جربت مضاعفة عدد زوار موقعك عن طريق خدمة زوار ؟





ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض