منتدى جلاكسو

تطوير المواقع والمنتديات وادوات التصميم => دعم وتطوير منتديات vBulletin => مشاكل وحلول vB => الموضوع حرر بواسطة: صلاح دويدار في 12/06/2019 » 10:54:pm

العنوان: طريقة اصلاح اخطاء Strict Standards التى تظهر عند ترقية المنتدى
أرسل بواسطة: صلاح دويدار في 12/06/2019 » 10:54:pm
يواجه الكثر من اصحاب المنتديات مشاكل اثناء ترقية المنتدى وهى " ظهور رسائل خطأ " مما يعيق عملية الترقية وترجع اسباب هذه الرسائل الى عدم توافق اصدار الـ PHP 5.4 فما فوق مع نسخة المنتدى كـ نسخ 3.8 .
واليوم فى هذا الموضوع سنقوم بحل هذه المشكلة ان شاء الله

اقتباس
Strict Standards: Non-static method vB_Shutdown::init() should not be called statically, assuming $this from incompatible context in /home/example/public_html/vb/includes/class_core.php on line 2553

Strict Standards: Non-static method vB_Bitfield_Builder::build_datastore() should not be called statically in /home/example/public_html/vb/install/init.php on line 187

Strict Standards: Non-static method vB_Bitfield_Builder::init() should not be called statically in /home/example/public_html/vb/includes/class_bitfield_builder.php on line 225

Strict Standards: Non-static method vB_Bitfield_Builder::build() should not be called statically in /home/example/public_html/vb/includes/class_bitfield_builder.php on line 231

Strict Standards: Non-static method vB_Bitfield_Builder::init() should not be called statically in /home/example/public_html/vb/includes/class_bitfield_builder.php on line 87

Strict Standards: Non-static method vB_Bitfield_Builder::init() should not be called statically in /home/example/public_html/vb/install/init.php on line 189

Strict Standards: Non-static method vBulletinHook::init() should not be called statically in /home/example/public_html/vb/install/init.php on line 210

Strict Standards: Non-static method vBulletinHook::fetch_hook() should not be called statically in /home/example/public_html/vb/includes/functions.php on line 3138

Strict Standards: Non-static method vBulletinHook::init() should not be called statically in /home/example/public_html/vb/includes/class_hook.php on line 116

Warning: Cannot modify header information - headers already sent by (output started at /home/example/public_html/vb/includes/class_core.php:2553) in /home/example/public_html/vb/includes/functions.php on line 3148

حل المشكلة كالآتى ,,
1- اذهب الى ملف الكونفيج الخاص بك داخل مجلد الـ includes ستجده على المسار التالى
شفرة: [اختيار]
/vb/includes/config.php
2- افتحه بـ اى محرر نصوص وليكن Notepad++
3- قم بـ إضافة الكود التالى
شفرة: [اختيار]
ini_set("display_errors", "0"); 
فى نفس المكان الموضح بالصورة ادناه ,,
(https://www1.glaxu.net/up3/do.php?img=1633)
 4- احفظ التعديلات ثم اذهب الى رابط الترقية
شفرة: [اختيار]
https://www.example.com/vb/install/upgrade.php
ستظهر لك الصفحة الخاصة بالترقية بدون أخطاء هكذا
بعد عملية الترقية يمكنك حذف السطر الذى اضفناه فى ملف الكونفيج