أهلًا و سهلًا بكـ يشرفنا تسجيلك و مشاركتك معنا .
|
أدوات الموضوع | انواع عرض الموضوع |
#1
|
|||
|
|||
حل مشكله PHP Deprecated: Assigning the return value of new by reference is deprecated
في حال انك وجت هذا الخطا في الـ PHP يكون السبب غالبا هو ان نسخه منتداك لا تتوافق مع نسخه الـ Php على الخادم، ولهذه المشكله حلان: الاول : ترقيه نسخه منتداك، وهو الحل الاصعب ولكن الافضل، ولكن تذكر انك ستحتاج غالبا الى ستايل جديد وهاكات جديده خاصه بالنسخه المنصبه حديثا، وللترقيه تذكر : vbulletin 3.7 يعمل جيدا على php 5.2 vbulletin 3.8 يعمل جيدا على php 5.3 باقي النسخ تعمل على php 5.3 الحل الثاني: تعديل في ملفات الـ init.php و class_core.php في فولدر includes فغالبا ما ستجد الخطا هكذا : كود:
Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 49 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 97 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 101 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 109 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 120 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 124 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 132 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 201 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/init.php on line 379 [24-Aug-2013 17:17:51 America/New_York] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/admin/public_html/vb/includes/class_core.php on line 2517 ثم يتكرر بشكل مماثل 1- اذهب للملفات المذكوره 2- افتح الملف باستخدام notepad ++ او Text wrangler 3- في كل سطر خاص بخطا ما ستجد كود =& قم بحذف & بحيث يكون المتبقي فقط "=" 4- احفظ الملفات واعد رفعها واستبدالها ولا تنسونا من صالح دعائكم
__________________
FARES
|
|
|