منتديات كلك غلا

منتديات كلك غلا (https://www.klk-gla.com/vb/index.php)
-   قسم حلول المشاكل (https://www.klk-gla.com/vb/forumdisplay.php?f=139)
-   -   حل اخطاء Strict Standards التى تظهر عند ترقية المنتدئ (https://www.klk-gla.com/vb/showthread.php?t=63246)

نواف 02-12-2023 04:59 AM

حل اخطاء Strict Standards التى تظهر عند ترقية المنتدئ
 
يواجه الكثر من اصحاب المنتديات مشاكل اثناء ترقية المنتدى وهى " ظهور رسائل خطأ " مما يعيق عملية الترقية وترجع اسباب هذه الرسائل الى عدم توافق اصدار الـ PHP 5.4 فما فوق مع نسخة المنتدى كـ نسخ 3.8 .
واليوم فى هذا الموضوع سنقوم بحل هذه المشكلة ان شاء الله ,,
وهذه صورة توضحية لـ رسائل الخطأ التى تظهر اثناء عملية الترقية ,,
http://e.top4top.net/p_403pxgt91.png


كود PHP:

Strict StandardsNon-static method vB_Shutdown::init() should not be called staticallyassuming $this from incompatible context in /home/example/public_html/vb/includes/class_core.php on line 2553Strict StandardsNon-static method vB_Bitfield_Builder::build_datastore() should not be called statically in /home/example/public_html/vb/install/init.php on line 187Strict StandardsNon-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 StandardsNon-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 StandardsNon-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 StandardsNon-static method vB_Bitfield_Builder::init() should not be called statically in /home/example/public_html/vb/install/init.php on line 189Strict StandardsNon-static method vBulletinHook::init() should not be called statically in /home/example/public_html/vb/install/init.php on line 210Strict StandardsNon-static method vBulletinHook::fetch_hook() should not be called statically in /home/example/public_html/vb/includes/functions.php on line 3138Strict StandardsNon-static method vBulletinHook::init() should not be called statically in /home/example/public_html/vb/includes/class_hook.php on line 116WarningCannot modify header information headers already sent by (output started at /home/example/public_html/vb/includes/class_core.php:2553in /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"); 



فى نفس المكان الموضح بالصورة ادناه ,,
https://c.top4top.io/p_4036rjak1.png
4- احفظ التعديلات ثم اذهب الى رابط الترقية ,,



كود PHP:

http://www.example.com/vb/install/upgrade.php 





* ستظهر لك الصفحة الخاصة بالترقية بدون أخطاء هكذا ,,
https://i.top4top.io/p_403mtqey1.png
بعد عملية الترقية يمكنك حذف السطر الذى اضفناه فى ملف الكونفيج .









المميز 05-01-2023 12:54 AM

رد: حل اخطاء Strict Standards التى تظهر عند ترقية المنتدئ
 
شكرا لك معلومة قيمة منكم نستفيد

gram 05-01-2023 04:00 PM

رد: حل اخطاء Strict Standards التى تظهر عند ترقية المنتدئ
 
نواف
/
سلمت الايادي ع المعلومات القيمه
والله يعطيك العافيه ع الشرح المفيد
/
ودمت بكل سعاده ..!


All times are GMT +3. The time now is 01:34 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
adv helm by : llssll
new notificatio by 9adq_ala7sas
دعم وتطوير نواف ا

This Forum used Arshfny Mod by islam servant