IPS Community Suite - Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db': различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) (Новая страница: «=== IPS Community Suite - Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' === После переноса сайт…») |
Admin iph (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
+ | [[Файл:B_1.gif |link=https://bit.ly/3tbFsd6| Доступная цена]] | ||
+ | |||
+ | |||
=== IPS Community Suite - Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' === | === IPS Community Suite - Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' === | ||
− | |||
После переноса сайта на другой сервер появилаь ошибка в логах вида: | После переноса сайта на другой сервер появилаь ошибка в логах вида: |
Версия 12:55, 12 ноября 2016
IPS Community Suite - Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db'
После переноса сайта на другой сервер появилаь ошибка в логах вида:
[Sat Nov 12 12:28:36.891369 2016] [cgi:error] [pid 7179] [client :56716] AH01215: PHP Fatal error: Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /var/www/admin/data/www/site.pw/forum/system/Db/Db.php:385, referer: http://site.pw/forum/
Решение - это подправить параметр sql_socket в конфиг файле скрипта conf_global.php
# vi conf_global.php 'sql_socket' => '/var/lib/mysql/mysql.sock',