المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : حل مشكلة vbulletin mysqli_real_connect(): (HY000/2002): No such file or directory



Rise Company
07-11-2019, 10:48
حل مشكلة vbulletin mysqli_real_connect(): (HY000/2002): No such file or directory
Please help with class_core.php Error - vBulletin ...line 1359 ... line 1351
mysqli_real_connect(): (HY000/2002): No such file or directory
/home/transliv/public_html/includes/class_core.php on line 1359

#################################################
المشكلة :
#################################################

https://www.rise.company/upload/uploads/157311573928731.png

I get the following error usually on a daily basis. Sometimes several times a day. It'a always the same error. Not always the same thread but also the same error and line 1359. Any suggestions on what might be causing it?

حل المشكلة :

In your config file, for the server address, change 'localhost' to '127.0.0.1'

#################################################
المشكلة :
#################################################

https://www.rise.company/upload/uploads/157311600480451.png

I get the following error usually on a daily basis. Sometimes several times a day. It'a always the same error. Not always the same thread but also the same error and line 1351. Any suggestions on what might be causing it?

حل المشكلة :

vBullletin 4.2.5 is not compatible with PHP 7.2 unless something has recently changed.
Ask your host to downgrade your PHP version to 7.1

https://www.rise.company/upload/uploads/157311625818821.png

After four weeks of trying to figure what was going on and the others were right this was definately a server problem with our host which they finally admitted MySQL is being restarted during cpanel updates and DB queries made during this time fail.

المشكلة متعلقة بالسيرفر ولا دخل للموقع بها

نص الخطا :


mysqli_real_connect(): (HY000/2002): No such file or directory
public_html/includes/class_core.php on line 1351

Script : css.php?styleid=261&langid=1&d=1507982312&td=ltr&sheet=bbcode.css,editor.css,popupmenu.css ,reset-fonts.css,vbulletin.css,vbulletin-chrome.css,vbulletin-formcontrols.css,
Classname : vB_Database_MySQLi
MySQL Version :

Stack Trace:

#0 vB_Database->halt() called in [path]/includes/class_core.php on line 5948
#1 catch_db_error() called in on line
#2 mysqli_real_connect() called in [path]/includes/class_core.php on line 1351
#3 vB_Database_MySQLi->db_connect() called in [path]/includes/class_core.php on line 280
#4 vB_Database->connect() called in [path]/includes/init.php on line 212
#5 require_once([path]/includes/init.php) called in [path]/includes/class_bootstrap.php on line 101
#6 vB_Bootstrap->init() called in [path]/includes/class_bootstrap.php on line 72
#7 vB_Bootstrap->bootstrap() called in [path]/global.php on line 26
#8 require_once([path]/global.php) called in [path]/css.php on line 72

ملحوظة هامة : قد لا يكون هناك مشكلة حيث هذه الرسالة تصل الى الايميل
فى حالة حدوث ريستارت لقاعدة البيانات او السيرفر , فلا تقلل.

المرجع:
https://forum.vbulletin.com/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/4351944-datebase-error?view=stream
https://forum.vbulletin.com/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/4380280-please-help-with-class_core-php-error
https://forum.vbulletin.com/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/4380280-please-help-with-class_core-php-error/page2
https://www.vbulletin.org/forum/showthread.php?t=322362