أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

[مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7

موضوع مغلق

الصفحة 2 من 2
<
1

29-09-2016 07:10 مساءً
esmail
معلومات الكاتب
السلام عليكم

كما هو موضح في العنوان المنتدى لا يعمل بعد نقله إلى VPS



اصدار php و apache

  • Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/7.0.9
باستخدام xampp.

شاكرا تعاونكم مسبقا.

الخطأ :
CODE
 <strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBB has a deprecated constructor in </span><strong>C:\localhost\vb\pbboard.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>29</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; Engine has a deprecated constructor in </span><strong>C:\localhost\vb\engine\Engine.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>121</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBSystemFunctions has a deprecated constructor in </span><strong>C:\localhost\vb\engine\libs\functions.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBRecords has a deprecated constructor in </span><strong>C:\localhost\vb\engine\libs\records.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>8</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBTemplate has a deprecated constructor in </span><strong>C:\localhost\vb\includes\template.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>2</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBInfo has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\info.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBAds has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\ads.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBBanned has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\banned.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBGroup has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\group.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>2</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBMember has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\member.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBOnline has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\online.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBPages has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\pages.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBReply has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\reply.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBSection has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\sections.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBStyle has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\style.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBSubject has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\subject.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBCache has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\cache.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBIcons has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\icons.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBModerators has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\moderators.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>2</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBLang has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\lang.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>14</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBChat has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\chat.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>14</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBVisitor has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\visitor.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>13</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBAdsense has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\adsense.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>14</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBAddons has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\addons.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>14</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBHooks has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\hooks.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>15</strong>

<strong>Deprecated</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Methods with the same name as their class will not be constructors in a future version of PHP; PowerBBCore has a deprecated constructor in </span><strong>C:\localhost\vb\engine\systems\core.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>3</strong>

<strong>Fatal error</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium">: Uncaught Error: Call to undefined function mysql_pconnect() in C:\localhost\vb\engine\libs\db.class.php:62 Stack trace: #0 C:\localhost\vb\engine\Engine.class.php(346): PowerBBSQL->sql_connect() #1 C:\localhost\vb\pbboard.class.php(36): Engine->Engine() #2 C:\localhost\vb\common.php(153): PowerBB->PowerBB() #3 C:\localhost\vb\modules\main.module.php(3): include('C:\\localhost\\vb...') #4 C:\localhost\vb\index.php(32): require_once('C:\\localhost\\vb...') #5 {main} thrown in </span><strong>C:\localhost\vb\engine\libs\db.class.php</strong><span style="color:rgb(0, 0, 0); font-family:times new roman; font-size:medium"> on line </span><strong>62</strong> 
تم تحرير الموضوع بواسطة :esmail بتاريخ: 29-09-2016 07:20 مساءً


look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  29-09-2016 08:56 مساءً   [1]
Soliman
معلومات الكاتب
غير اصدار php من لوحة تحكم السي بانل لموقعك إلى 5.4

اصدار PHP 7 غير متوافق

هنا شرح تغيير اصدار لغة البرمجة PHP المستخدم في موقعي



وإذا كنت تستخدم سيرفر شخصي فاستخدم سيرفر يعمل على PHP 5

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  29-09-2016 10:51 مساءً   [2]
esmail
معلومات الكاتب
شكرا وجاري العمل.

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  30-09-2016 06:09 مساءً   [3]
esmail
معلومات الكاتب
السلام عليكم

بعد تبديل اصدار الـ php ظهر خطأ جديد :


المنتدى لا يعمل عند نقله لـ vps يعمل ب php7

CODE
Error Query:INSERT INTO pbb_online SET username='Guest',username_style='Guest',logged='1475247878',path='',user_ip='5.41.146.145',user_location='&Oslash;&sect;&Ugrave;&bdquo;&Oslash;&micro;&Ugrave;&Oslash;&shy;&Ugrave;&Dagger; &Oslash;&sect;&Ugrave;&bdquo;&Oslash;&plusmn;&Oslash;&brvbar;&Ugrave;&Scaron;&Oslash;&sup3;&Ugrave;&Scaron;&Oslash;&copy;',user_id='-1',subject_show='',subject_id='',last_move='1475247878',is_bot='0',bot_name=''

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  30-09-2016 06:35 مساءً   [4]
Soliman
معلومات الكاتب
إذا كنت تستخدم سيرفر WAMP وهذا مايبدو

فاضبط اعداد Sql-mode الموجود بداخل ملف my.ini

تجده ملف my.ini على المسار التالي :

CODE
​C:\wamp\bin\mysql\mysql5.1.*\my.ini<br />
<br />


افتح الملف وابحث عن هذا الجزء:

CODE
​sql-mode=<br />




واستبدلها كاملة بـ :

CODE

sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"





واحفظ الملف ثم اعد تشغيل جهاز الحاسب





لمزيد من اعدادات sql-mode راجع الرابط التالي

STRICT_TRANS_TABLES error when I setup database





------------------
نسخة 3.0.2 متوافقة مع اصدارات PHP 5.x.x >= 5.5.0 فقط

متطلبات التشغيل

استخدم appserv 2.5.10 فهو يوفر افضل بيئة للنسخة

برنامج سيرفر AppServ 2.5.10 لتركيب منتداك على جهازك متوافق مع PBBoard

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  30-09-2016 09:10 مساءً   [5]
esmail
معلومات الكاتب
سلمت على ماسبق ونأتيك باللاحق . تم حل الاشكال السابق عن طريق إعداد sql-mode كما ذكرت . وظهر إشكال الترميز مع العلم أنني استخدمت نفس الترميز للقاعدة المأخوذ منها النسخة وهو utf8_general_ci بالاضافة لتجربتي لاحد الحلول المذكورة في المنتدى هنا رغم كون الحل مذكور للنسخة الجديدة وليس الاحتياطي والحل كان في تفعيل السطرين :





CODE

<div><code>mysql_query(</code><code>"set character_set_server='utf8'"</code><code>);</code></div>

<div><code>mysql_query(</code><code>"set names 'utf8'"</code><code>);</code></div>





ومازال الترميز كما هو .

بيانات بيئة التشغيل كالتالي :

PHP Version 5.4.45 , Mysql 5.5 , abyss server

تم تحرير المشاركة بواسطة :esmail بتاريخ:30-09-2016 09:13 مساءً


look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  30-09-2016 10:28 مساءً   [6]
Soliman
معلومات الكاتب




لا ما ينفع حل تفعيل هذين السطرين إن لم تكن قد اعتمدت تفعيلهما سابقاً على منتداك الحقيقي على النت

الحل لمشكلة الترميز في حالتك هذه

ان تعيد أخذ النسخة لقاعدة البيانات مرة أخرى

من خلال الدخول للوحة السي بانل لموقعك ثم phpMyAdmin

ثم الدخول لقاعدة المنتدى وعمل تصدير لجميع الجداول

ثم اعادة زرع القاعدة في phpMyAdmin للسيرفر الشخصي

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  30-09-2016 11:37 مساءً   [7]
esmail
معلومات الكاتب
هذه هي نفسها الطريقة التي قمت بها بتصدير القاعدة من phpmyadmin واستيرادها ب phpmyadmin وتبين ايضا مشكلة اخرى الان عند الدخول على احد المواضيع يظهر الخطأ 404 .

اعلم سأكون متعب نوعا ما لك لكن قله الخبرة هي السبب . هنا رابط المنتدى :



http://63.223.116.52/vb/

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  01-10-2016 12:22 صباحاً   [8]
Soliman
معلومات الكاتب
اقتبـاس ،، هذه هي نفسها الطريقة التي قمت بها بتصدير القاعدة من phpmyadmin واستيرادها ب phpmyadmin

قبل استيراد القاعدة الجديدة اتي انشأتها للمنتدى في السيرفر الشخصي تأكد من ان ترميزها هو utf8_unicode_ci



اقتبـاس ،، وتبين ايضا مشكلة اخرى الان عند الدخول على احد المواضيع يظهر الخطأ 404 .

تأكد من وجود ملف : .htaccess بداخل مجلد المنتدى + تفعيل خاصية rewrite_module في السيرفر لتعمل خاصية تحويل الروابط






look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  01-10-2016 03:05 مساءً   [9]
esmail
معلومات الكاتب
شكرا جزيلا وجزاك الله خير لدعمك اخ سليمان تم حل المشكلة بتغيير برنامج السيرفر المستخدم . ومعه طبعا تغيرت اصدارات الخدمات .

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  01-10-2016 06:34 مساءً   [10]
Soliman
معلومات الكاتب
هذا جيد

تمنياتي لك بالتوفيق

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  02-10-2016 11:34 صباحاً   [11]
esmail
معلومات الكاتب
ظهرت مشكلة لاتوقف عمل المنتدى لكنها تظهر عند البقاء بعض الوقت داخل المنتدى :

المنتدى لا يعمل عند نقله لـ vps يعمل ب php7

look/images/icons/i1.gif [مجابه] المنتدى لا يعمل عند نقله لـ vps يعمل ب php7
  02-10-2016 01:13 مساءً   [12]
Soliman
معلومات الكاتب
المشاركة الأصلية كتبت بواسطة: esmail ظهرت مشكلة لاتوقف عمل المنتدى لكنها تظهر عند البقاء بعض الوقت داخل المنتدى :

المنتدى لا يعمل عند نقله لـ vps يعمل ب php7

أحذف أو عطل هاك الاشعارات البريدية بتقنية الأجاكس على المنتدى مباشرة


الصفحة 2 من 2
<
1

المواضيع المتشابهه
عنوان الموضوع الكاتب الردود الزوار آخر رد
حظر الروابط من المنتدى الوردة الحمراء
2 31 الوردة الحمراء
مشكلة تثبيت المنتدى على السيرفر المحلي Sofiene2023
6 247 ahmad turki
الحمد لله تم تثبيت المنتدى بشكل جميل samaaegy
3 314 Soliman
اضافة xenforo عداد حركة المرور وإحصائيات المنتدى (في الوقت الفعلي، الموقع الجغرافي، e7trafat.com
0 39 e7trafat.com
اريد تركيب مركز تحميل رفع للصور واضافة رابطه في المنتدى شبعان
1 46 شبعان

الكلمات الدلالية






الساعة الآن 02:35 PM