Jump to content

Featured Replies

Posted
comment_96764

После "попытки" обновления форума на самую последнюю версию на текущий момент (версию не помню, вроде 4.1.1) - вылетела ошибка 500 error...

Пришлось восстановить старый бекап - к сожалению это не решило ситуации... и ошибка все равно осталась... Что делать?

Куда копать?

Вопрос еще такой: возможно ли чтобы была версия файлов от (к примеру) 06.11.2015, а БД от 22.11.2015? Не будет ли конфликта, или версии файлов и БД должны быть одного времени...

Edited by Quicksdk

comment_96765

В таких ситуациях я пишу хост компании - и они должны восстановить файлы и базы данных, прежде чем 24 часов.

  • Author
comment_96768

Нет)

Вот часть логов 

Спойлер

[Mon Nov 30 23:01:28.892006 2015] [autoindex:error] [pid 60148] [client 100.113.16.49:51315] AH01276: Cannot serve directory /home/admin/web/pro-ucheba.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://ipbmafia.ru/?app=core&module=system&controller=redirect&url=http%3A%2F%2Fpro-ucheba.com&key=af9d56855bccb51590a5fe08bf1a508d100883d6f0b442099b80df331bee045e&resource=0
[Mon Nov 30 23:01:31.499610 2015] [autoindex:error] [pid 60143] [client 100.113.16.49:51316] AH01276: Cannot serve directory /home/admin/web/pro-ucheba.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: http://ipbmafia.ru/?app=core&module=system&controller=redirect&url=http%3A%2F%2Fpro-ucheba.com&key=af9d56855bccb51590a5fe08bf1a508d100883d6f0b442099b80df331bee045e&resource=0
[Mon Nov 30 23:05:49.246579 2015] [autoindex:error] [pid 60147] [client 100.113.16.49:51325] AH01276: Cannot serve directory /home/admin/web/pro-ucheba.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Mon Nov 30 23:06:32.560870 2015] [autoindex:error] [pid 60144] [client 100.113.16.49:51329] AH01276: Cannot serve directory /home/admin/web/pro-ucheba.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Mon Nov 30 23:10:08.978315 2015] [autoindex:error] [pid 60144] [client 100.113.16.49:51336] AH01276: Cannot serve directory /home/admin/web/pro-ucheba.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Mon Nov 30 23:18:12.154601 2015] [:error] [pid 60143] [client 100.113.16.49:51390] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(668): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Session/Front.php(298): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('ii5ortargno97fq...', '')\n#5 {main}\n  thrown in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383, referer: http://pro-ucheba.com/
[Mon Nov 30 23:20:58.869815 2015] [:error] [pid 60147] [client 100.113.16.49:51400] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(668): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Session/Front.php(298): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('vd38ha5fm8a1c27...', '')\n#5 {main}\n  thrown in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383
[Mon Nov 30 23:25:03.791888 2015] [:error] [pid 60147] [client 100.113.16.49:51450] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(668): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Session/Front.php(298): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('c3p7lok5ph91nhm...', '')\n#5 {main}\n  thrown in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383
[Mon Nov 30 23:25:45.282612 2015] [:error] [pid 61016] [client 100.113.16.49:51452] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(668): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Session/Front.php(298): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('8g9ua4p6eb1lic3...', '')\n#5 {main}\n  thrown in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383
[Mon Nov 30 23:27:12.506887 2015] [:error] [pid 60147] [client 100.113.16.49:51475] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(668): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Session/Front.php(298): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('tg9v962m8hi58cl...', '')\n#5 {main}\n  thrown in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383
[Mon Nov 30 23:27:15.271805 2015] [:error] [pid 60143] [client 100.113.16.49:51476] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(668): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Session/Front.php(298): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('tg9v962m8hi58cl...', '')\n#5 {main}\n  thrown in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383
[Mon Nov 30 23:27:16.731610 2015] [:error] [pid 60144] [client 100.113.16.49:51477] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(668): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Session/Front.php(298): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('tg9v962m8hi58cl...', '')\n#5 {main}\n  thrown in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383, referer: http://pro-ucheba.com/
[Mon Nov 30 23:27:37.871343 2015] [:error] [pid 60148] [client 100.113.16.49:51479] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(668): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Session/Front.php(298): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('hq1r31h6qs9iqce...', '')\n#5 {main}\n  thrown in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383
[Mon Nov 30 23:27:42.453183 2015] [:error] [pid 60146] [client 100.113.16.49:51481] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php:383\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/home/admin/web...', 383, Array)\n#1 /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php(383): mysqli->prepare('/*IPS\\_Settings...')\n#2 /home/admin/web/pro-ucheba.com/public_html/system/Db/Select.php(334): IPS\\_Db->preparedQuery('SELECT conf_key...', Array)\n#3 /home/admin/web/pro-ucheba.com/public_html/system/Db/Select.php(232): IPS\\Db\\_Select->runQuery()\n#4 /home/admin/web/pro-ucheba.com/public_html/system/Settings/Settings.php(139): IPS\\Db\\_Select->setKeyField('conf_key')\n#5 /home/admin/web/pro-ucheba.com/public_html/system/Settings/Settings.php(88): IPS\\_Settings->loadFromDb()\n#6 /home/admin/web/pro-ucheba.com/public_html/system/Request/Request.php(227): IPS\\_Settings->__get('xforward_matchi...')\n#7 /home/admin/web/pro-ucheba.com/public_html/system/Session/Adm in /home/admin/web/pro-ucheba.com/public_html/system/Db/Db.php on line 383

 

 

Edited by Quicksdk

comment_96769

Проблема начинается с индекса
Если у вас есть файлы и базы данных с датой - загрузить файлы, а затем базу данных - в тот же день

  • Author
comment_96779
10 часов назад, Sanshalay сказал:

Удалите директиву Options из файла .htaccess

У меня пока что даже нет .htaccess в корне папки.

Если смотреть на логи, то это не проблема с подключением к базе?

как вообще проверить корректность и целостность базы? есть какие-либо инструменты?

Edited by Quicksdk

comment_96780
4 минуты назад, Quicksdk сказал:

У меня пока что даже нет .htaccess в корне папки.

Может и есть. В настройках диспетчера файлов включено "отображать скрытые файлы"?

  • Author
comment_96781
Только что, Sufiy сказал:

Может и есть. В настройках диспетчера файлов включено "отображать скрытые файлы"?

Да, включено. Проблема не в htaccess, проблема с подключением к mysql... и надо это как то решить.

как вообще проверить корректность и целостность базы? есть какие-либо инструменты?

comment_96784
55 минут назад, Quicksdk сказал:

Да, включено. Проблема не в htaccess, проблема с подключением к mysql... и надо это как то решить.

как вообще проверить корректность и целостность базы? есть какие-либо инструменты?

Для начала смотрите логи движка.

comment_96789

Если файлы от одной версии, а БД от другой, то возможна не корректная работа. Я с этим столкнулся.

comment_96796

Скорее всего у вас версия БД старая, нужно заменить одно значение на другое:
 

TYPE = InnoDB на ENGINE = InnoDB.

 

Edited by jack007

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.