XF 2.2 An exception occurred: [XF\Db\Exception] Connection refused in src/XF/Db/Mysqli/Adapter.php on line 165

Версия XenForo
2.2.7

kappa04

Проверенные
Сообщения
32
Реакции
1
Баллы
310
Что-то случилось ( :) ) с форумом, в режиме отладки выдаёт следующее:

Код:
An exception occurred: [XF\Db\Exception] Connection refused in src/XF/Db/Mysqli/Adapter.php on line 165

XF\Db\Mysqli\Adapter->makeConnection() in src/XF/Db/Mysqli/Adapter.php at line 28
XF\Db\Mysqli\Adapter->getConnection() in src/XF/Db/AbstractAdapter.php at line 62
XF\Db\AbstractAdapter->connect() in src/XF/Db/Mysqli/Adapter.php at line 113
XF\Db\Mysqli\Adapter->escapeString() in src/XF/Db/AbstractAdapter.php at line 518
XF\Db\AbstractAdapter->quote() in src/XF/Db/AbstractAdapter.php at line 496
XF\Db\AbstractAdapter->quote() in src/XF/DataRegistry.php at line 139
XF\DataRegistry->readFromDb() in src/XF/DataRegistry.php at line 84
XF\DataRegistry->get() in src/XF/DataRegistry.php at line 227
XF\DataRegistry->offsetGet() in src/XF/App.php at line 1790
XF\App->XF\{closure}() in src/XF/Container.php at line 30
XF\Container->offsetGet() in src/XF/App.php at line 2318
XF\App->setupAddOnComposerAutoload() in src/XF/App.php at line 1889
XF\App->setup() in src/XF/Pub/App.php at line 93
XF\Pub\App->setup() in src/XF.php at line 485
XF::setupApp() in src/XF.php at line 508
XF::runApp() in index.php at line 20
 
Последнее редактирование:
Решение
Что-то случилось ( :) ) с форумом, в режиме отладки выдаёт следующее:

Код:
An exception occurred: [XF\Db\Exception] Connection refused in src/XF/Db/Mysqli/Adapter.php on line 165

XF\Db\Mysqli\Adapter->makeConnection() in src/XF/Db/Mysqli/Adapter.php at line 28
XF\Db\Mysqli\Adapter->getConnection() in src/XF/Db/AbstractAdapter.php at line 62
XF\Db\AbstractAdapter->connect() in src/XF/Db/Mysqli/Adapter.php at line 113
XF\Db\Mysqli\Adapter->escapeString() in src/XF/Db/AbstractAdapter.php at line 518
XF\Db\AbstractAdapter->quote() in src/XF/Db/AbstractAdapter.php at line 496
XF\Db\AbstractAdapter->quote() in src/XF/DataRegistry.php at line 139
XF\DataRegistry->readFromDb() in src/XF/DataRegistry.php at line 84
XF\DataRegistry->get() in...
Что-то случилось ( :) ) с форумом, в режиме отладки выдаёт следующее:

Код:
An exception occurred: [XF\Db\Exception] Connection refused in src/XF/Db/Mysqli/Adapter.php on line 165

XF\Db\Mysqli\Adapter->makeConnection() in src/XF/Db/Mysqli/Adapter.php at line 28
XF\Db\Mysqli\Adapter->getConnection() in src/XF/Db/AbstractAdapter.php at line 62
XF\Db\AbstractAdapter->connect() in src/XF/Db/Mysqli/Adapter.php at line 113
XF\Db\Mysqli\Adapter->escapeString() in src/XF/Db/AbstractAdapter.php at line 518
XF\Db\AbstractAdapter->quote() in src/XF/Db/AbstractAdapter.php at line 496
XF\Db\AbstractAdapter->quote() in src/XF/DataRegistry.php at line 139
XF\DataRegistry->readFromDb() in src/XF/DataRegistry.php at line 84
XF\DataRegistry->get() in src/XF/DataRegistry.php at line 227
XF\DataRegistry->offsetGet() in src/XF/App.php at line 1790
XF\App->XF\{closure}() in src/XF/Container.php at line 30
XF\Container->offsetGet() in src/XF/App.php at line 2318
XF\App->setupAddOnComposerAutoload() in src/XF/App.php at line 1889
XF\App->setup() in src/XF/Pub/App.php at line 93
XF\Pub\App->setup() in src/XF.php at line 485
XF::setupApp() in src/XF.php at line 508
XF::runApp() in index.php at line 20
Подключение к бд проверь
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу