02-12-2023, 04:59 AM
|
|
|
|
لوني المفضل
Black
|
رقم العضوية : 1 |
تاريخ التسجيل : Dec 2008 |
فترة الأقامة : 5595 يوم |
أخر زيارة : اليوم (08:24 AM) |
الإقامة : الرياض |
المشاركات :
2,948 [
+
]
|
التقييم :
305 |
معدل التقييم :
|
بيانات اضافيه [
+
] |
|
|
|
حل اخطاء Strict Standards التى تظهر عند ترقية المنتدئ
يواجه الكثر من اصحاب المنتديات مشاكل اثناء ترقية المنتدى وهى " ظهور رسائل خطأ " مما يعيق عملية الترقية وترجع اسباب هذه الرسائل الى عدم توافق اصدار الـ PHP 5.4 فما فوق مع نسخة المنتدى كـ نسخ 3.8 .
واليوم فى هذا الموضوع سنقوم بحل هذه المشكلة ان شاء الله ,,
وهذه صورة توضحية لـ رسائل الخطأ التى تظهر اثناء عملية الترقية ,,
كود PHP:
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 2553Strict 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 187Strict 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 225Strict 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 231Strict 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 87Strict Standards: Non-static method vB_Bitfield_Builder::init() should not be called statically in /home/example/public_html/vb/install/init.php on line 189Strict Standards: Non-static method vBulletinHook::init() should not be called statically in /home/example/public_html/vb/install/init.php on line 210Strict Standards: Non-static method vBulletinHook::fetch_hook() should not be called statically in /home/example/public_html/vb/includes/functions.php on line 3138Strict Standards: Non-static method vBulletinHook::init() should not be called statically in /home/example/public_html/vb/includes/class_hook.php on line 116Warning: 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
</div>
طريقة حل المشكلة كالآتى ,,
1- اذهب الى ملف الكونفيج الخاص بك داخل مجلد الـ includes ستجده على المسار التالى ,,
كود PHP:
/vb/includes/config.php
- افتحه بـ اى محرر نصوص وليكن Notepad++ ,,
3- قم بـ إضافة الكود التالى ,,
كود PHP:
ini_set("display_errors", "0");
فى نفس المكان الموضح بالصورة ادناه ,,
4- احفظ التعديلات ثم اذهب الى رابط الترقية ,,
كود PHP:
http://www.example.com/vb/install/upgrade.php
* ستظهر لك الصفحة الخاصة بالترقية بدون أخطاء هكذا ,,
بعد عملية الترقية يمكنك حذف السطر الذى اضفناه فى ملف الكونفيج .
pg ho'hx Strict Standards hgjn j/iv uk] jvrdm hglkj]z hglkj] hgjn ho'hx jvrdm j/iv standards strict uk]
اللهم صل على نبينا محمد
|