Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
t_reks

HTTP ERROR 500

Recommended Posts

Форум 2.3.2 установлен на домашнем компьютере.

Через макросы решили сменить пару тройку картинок ( тема, ответить и пр. )

Сменили, всё хорошо, кроме одного-перестали открываться профили пользователей ...

 

Страница недоступна
Сайт ***.ru пока не может обработать этот запрос.
HTTP ERROR 500

 

Не могу понять, как связаны макросы с картинками к профилям ( путь к картинкам был из соседнего стиля Классического )

Вернули назад родные картинки, но в профиля так и не попасть.

Подскажите, с чего копать?

Share this post


Link to post
Share on other sites

Log ошибок смотреть.

И

Наиболее частой причиной ошибки 500 (Internal Server Error, внутренняя ошибка сервера) является неверный синтаксис файла .htaccess или наличие в нем неподдерживаемых директив. Чаще всего достаточно закомментировать директиву Options (для этого нужно поставить в начале строки решетку — #), и проблема исчезнет.

  • Upvote 1

Share this post


Link to post
Share on other sites

С этим есть проблема ...

Комп находится дистанционно, и в наличии только права Администратора, АЦ без доступа к фтп ...

Атаман, спасибо, сейчас пытаюсь достучаться до владельца.

Edited by t_reks

Share this post


Link to post
Share on other sites

к сожалению решетка не помогла

или я не туда её ставлю

есть проблема с Регистрацией ( ошибка та же ) ( профиль удалось починить )

 

#deny from all

RewriteEngine On
RewriteRule ^$ /forum [L]

AddDefaultCharset cp1251
Order Allow,Deny
Deny from **.*.**.***
Deny from **.*.**.***
Deny from **.*.**.***
Allow from All
php_flag display_errors off
php_flag display_startup_errors off
php_value error_reporting 0

Edited by t_reks

Share this post


Link to post
Share on other sites

На время отладки включите отображение ошибок

php_flag display_errors on
php_flag display_startup_errors on
php_value error_reporting -1

Share this post


Link to post
Share on other sites

Спасибо, а где можно найти логи?

Я не работал с форумом на компе ...

( включил, теперь пустая страница при клике по регистрации )

Edited by t_reks

Share this post


Link to post
Share on other sites

Ошибок не выводится ( страница пустая ), файл не создается ( не нашел на фтп ), да и не могу найти файл php.ini

похожие есть

Share this post


Link to post
Share on other sites

не работает еще и функция Восстановления паролей...

то же белая страница

Share this post


Link to post
Share on other sites

Apache/2.2.29 (Win32) mod_ssl/2.2.29 OpenSSL/1.0.1i PHP/5.3.29

php.ini находится по пути, к которому доступа нет ( компьютер удаленно, есть доступ к фтп к базам форума )

Edited by t_reks

Share this post


Link to post
Share on other sites

На ней форум работал? Или Вы делали апгрейд железа

Share this post


Link to post
Share on other sites

Всё работало идеально, насколько позволяет версия 2.3.2 ( кривая )

Решили накатить лицензию 2.3.6.

Но до этого просто через АЦ решили заменить иконки на группы, ОТВЕТИТЬ, ЗАКРЫТО и пр.

И всё, после замены иконок ошибка 500 на Регистрацию и Профиль пользователей

Профиль спустя время починили ( делал другой админ, который вне доступа и надолго, и что он делал, хз )

А вот регистрация, восстановление никак.

Хотя вернули все картинки назад

Пробывал сменить файлы, которые могли быть изменены, пробывал править .htaccess ...

Никак.

Вариант смены прав доступа на папки ( стоит 557 ) не проходит ... не меняется, видать нужно рот права.

Edited by t_reks

Share this post


Link to post
Share on other sites
да и не могу найти файл php.ini

Он и не нужен. Можно править .htaccess

 

Посмотрел я исходники 2-ки. Там типы ошибок задаются в файле init.php

error_reporting  (E_ERROR | E_WARNING | E_PARSE);

// This is for developing to catch notices - leave OFF!
//error_reporting( E_ALL | E_NOTICE);

 

Раскомментируйте на время отладки

//error_reporting( E_ALL | E_NOTICE);

  • Upvote 1

Share this post


Link to post
Share on other sites

Благодаря Вам вот наконец удалось поймать при входе в Регистрацию:

Notice: Undefined index: automodule in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 162

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Fatal error: Cannot redeclare skin_register_14::__foreach_loop__id_5b20ddc8baeb9() in C:\webserver\home\tch-club.ru\www\forum\cache\skin_cache\cacheid_14\skin_register.php on line 264

 

а на главной над шапкой:

 

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined offset: 1 in C:\webserver\home\tch-club.ru\www\forum\sources\classes\class_session.php on line 179

Notice: Undefined index: description in C:\webserver\home\tch-club.ru\www\forum\cache\skin_cache\cacheid_14\skin_boards.php on line 196

Notice: Undefined index: description in C:\webserver\home\tch-club.ru\www\forum\cache\skin_cache\cacheid_14\skin_boards.php on line 196

Notice: Undefined index: description in C:\webserver\home\tch-club.ru\www\forum\cache\skin_cache\cacheid_14\skin_boards.php on line 196

Notice: Undefined index: description in C:\webserver\home\tch-club.ru\www\forum\cache\skin_cache\cacheid_14\skin_boards.php on line 196

Notice: Undefined index: awards_drag in C:\webserver\home\tch-club.ru\www\forum\cache\skin_cache\cacheid_14\skin_global.php on line 387

Notice: Undefined variable: imp in C:\webserver\home\tch-club.ru\www\forum\sources\components_public\globalmess.php on line 91

Notice: Undefined variable: impmess_html in C:\webserver\home\tch-club.ru\www\forum\sources\components_public\globalmess.php on line 130

Notice: Undefined variable: html in C:\webserver\home\tch-club.ru\www\forum\sources\components_public\globalmess.php on line 189

Notice: Undefined variable: nrm in C:\webserver\home\tch-club.ru\www\forum\sources\components_public\globalmess.php on line 192

Notice: Undefined variable: nrmmess_html in C:\webserver\home\tch-club.ru\www\forum\sources\components_public\globalmess.php on line 231

 

Теперь бы понять, что с этим " счастьем" делать ...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...