إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: اصول الدين (آخر رد :اسماعيل رضا)       :: الأمور المركزية في تعليم التجويد (آخر رد :اسماعيل رضا)       :: تفسير حلم خنق شخص حتى الموت (آخر رد :نوران نور)       :: الإطار الدولي لمقررات بازل 5 أيام 11/08/2024 الدمام دبي (آخر رد :ملتقى الخبرات)       :: برامج الرشاقة السعيدة (آخر رد :دارين الدوسري)       :: تسوق بأناقة وراحة: اكتشف مزايا نكست مول في قلب العبور (آخر رد :shaimaamohamed)       :: استثمار مضمون في كمبوند نمق: الراحة والتميز في قلب الشيخ زايد (آخر رد :shaimaamohamed)       :: مجتمع استثنائي يجمع بين الفخامة والراحة: كمبوند كابيتال هيلز الرائع (آخر رد :shaimaamohamed)       :: موسم الحج والعمرة وحجز فنادق (آخر رد :elzwawy)       :: موسم الحج والعمرة وحجز فنادق (آخر رد :elzwawy)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 07-20-2010, 05:30 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,611
عدد الـنقاط :3341
 تقييم المستوى : 2139

Alright, this is a stupid problem, I did try to look in the sticky posts for a similar error, if there was I must have missed it and I apologies for this in advance.

The importing went alright, untill step 11 of the upgrade_400a1.php file. It actually did complete everything except this part (see below). Now I realize that it only got to filedataid 163809 instead of finishing. And before someone says it, yes I have been patient and been waiting, but my firefox decided to crash (even though I was not surfing anything else) and after restoring the session. It showed the other steps as completed but displayed a Database Error (as below) for last thing.

I did make a SQL Back up, however. I got 1.5M attachments on my forum and it took me already a good 12 hours to process all these attachments through the upgrade script. Seeing this forum has to stay online for me to make any sort of money for hosting back. I was wondering or it would be possible to fix this problem with a sql query or something along these lines to continue on with the upgrade process that it was trying to complete. So I can on to step 12?

I hope someone has an idea, I thank you in advance for your time.

Error:
Quote:
Database error in vBulletin 3.8.5:

Invalid SQL:
UPDATE attachment SET filedataid = 163809 WHERE filedataid IN ();

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
Request Date : Tuesday, July 20th 2010 @ 02:33:46 AM
Error Date : Tuesday, July 20th 2010 @ 02:34:07 AM
Script : http://forumurl/install/upgrade_400a1.php?step=11
Referrer : http://forumurl/install/upgrade_400a...10&startat=746
IP Address : xx.xxx.x.47
Username :
Classname : vB_Database_MySQLi
MySQL Version : 5.0.51a-community-log

Part it crashed at:
Quote:
$db->query_write("UPDATE " . TABLE_PREFIX . "filedata SET refcount = $refcount WHERE filedataid = $filedataid");
$db->query_write("UPDATE " . TABLE_PREFIX . "attachment SET filedataid = $filedataid WHERE filedataid IN (" . implode(",", array_keys($killfiles)) . ")");
$db->query_write("DELETE FROM " . TABLE_PREFIX . "filedata WHERE filedataid IN (" . implode(",", array_keys($killfiles)) . ")");
foreach ($killfiles AS $filedataid => $userid)
{
if ($vbulletin->GPC['attachtype'] == ATTACH_AS_FILES_NEW)
{
$path = $vbulletin->options['attachpath'] . '/' . implode('/', preg_split('//', $userid, -1, PREG_SPLIT_NO_EMPTY));
}
else
{
$path = $vbulletin->options['attachpath'] . '/' . $userid;
}
@unlink($path . '/' . $filedataid . '.attach');
@unlink($path . '/' . $filedataid . '.thumb');
}
}
}

if ($vbulletin->GPC['step'] == 12)
{
$db->query_write("
UPDATE " . TABLE_PREFIX . "setting

SET value = 'ssl'
WHERE varname = 'smtp_tls' AND value = '1'
");
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


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

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 01:06 PM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML