Jump to content

Featured Replies

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

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

Куда копать?

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

Edited by Quicksdk

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/
Share on other sites

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

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96765
Share on other sites

Пытались ли вы удалить файл htaccess?

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96767
Share on other sites

Нет)

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

Спойлер

[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

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96768
Share on other sites

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

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96769
Share on other sites

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

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96771
Share on other sites
10 часов назад, Sanshalay сказал:

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

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

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

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

Edited by Quicksdk

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96779
Share on other sites
4 минуты назад, Quicksdk сказал:

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

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

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96780
Share on other sites
Только что, Sufiy сказал:

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

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

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

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96781
Share on other sites
55 минут назад, Quicksdk сказал:

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

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

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

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96784
Share on other sites
Только что, IAF сказал:

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

как и где их посмотреть?

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96785
Share on other sites
Только что, Quicksdk сказал:

как и где их посмотреть?

/uploads/logs

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96786
Share on other sites

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

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96789
Share on other sites

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

TYPE = InnoDB на ENGINE = InnoDB.

 

Edited by jack007

Link to comment
https://ipbmafia.ru/topic/12984-500-error-posle-obnovleniya/?&do=findComment&comment=96796
Share on other sites

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.