t_reks Posted June 6, 2018 Share Posted June 6, 2018 Форум 2.3.2 установлен на домашнем компьютере.Через макросы решили сменить пару тройку картинок ( тема, ответить и пр. )Сменили, всё хорошо, кроме одного-перестали открываться профили пользователей ... Страница недоступна Сайт ***.ru пока не может обработать этот запрос. HTTP ERROR 500 Не могу понять, как связаны макросы с картинками к профилям ( путь к картинкам был из соседнего стиля Классического )Вернули назад родные картинки, но в профиля так и не попасть.Подскажите, с чего копать? Link to comment Share on other sites More sharing options...
Атаман Posted June 6, 2018 Share Posted June 6, 2018 Log ошибок смотреть.И Наиболее частой причиной ошибки 500 (Internal Server Error, внутренняя ошибка сервера) является неверный синтаксис файла .htaccess или наличие в нем неподдерживаемых директив. Чаще всего достаточно закомментировать директиву Options (для этого нужно поставить в начале строки решетку — #), и проблема исчезнет. 1 Link to comment Share on other sites More sharing options...
t_reks Posted June 6, 2018 Author Share Posted June 6, 2018 (edited) С этим есть проблема ...Комп находится дистанционно, и в наличии только права Администратора, АЦ без доступа к фтп ... Атаман, спасибо, сейчас пытаюсь достучаться до владельца. Edited June 6, 2018 by t_reks Link to comment Share on other sites More sharing options...
t_reks Posted June 19, 2018 Author Share Posted June 19, 2018 (edited) к сожалению решетка не помоглаили я не туда её ставлюесть проблема с Регистрацией ( ошибка та же ) ( профиль удалось починить ) #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 June 19, 2018 by t_reks Link to comment Share on other sites More sharing options...
newbie Posted June 19, 2018 Share Posted June 19, 2018 На время отладки включите отображение ошибокphp_flag display_errors on php_flag display_startup_errors on php_value error_reporting -1 Link to comment Share on other sites More sharing options...
t_reks Posted June 19, 2018 Author Share Posted June 19, 2018 (edited) Спасибо, а где можно найти логи?Я не работал с форумом на компе ...( включил, теперь пустая страница при клике по регистрации ) Edited June 19, 2018 by t_reks Link to comment Share on other sites More sharing options...
newbie Posted June 19, 2018 Share Posted June 19, 2018 Настройка во время выполнения 1 Link to comment Share on other sites More sharing options...
t_reks Posted June 19, 2018 Author Share Posted June 19, 2018 Ошибок не выводится ( страница пустая ), файл не создается ( не нашел на фтп ), да и не могу найти файл php.iniпохожие есть Link to comment Share on other sites More sharing options...
t_reks Posted June 19, 2018 Author Share Posted June 19, 2018 не работает еще и функция Восстановления паролей...то же белая страница Link to comment Share on other sites More sharing options...
Атаман Posted June 19, 2018 Share Posted June 19, 2018 Версия php какая? Link to comment Share on other sites More sharing options...
t_reks Posted June 19, 2018 Author Share Posted June 19, 2018 (edited) Apache/2.2.29 (Win32) mod_ssl/2.2.29 OpenSSL/1.0.1i PHP/5.3.29php.ini находится по пути, к которому доступа нет ( компьютер удаленно, есть доступ к фтп к базам форума ) Edited June 19, 2018 by t_reks Link to comment Share on other sites More sharing options...
Атаман Posted June 19, 2018 Share Posted June 19, 2018 На ней форум работал? Или Вы делали апгрейд железа Link to comment Share on other sites More sharing options...
t_reks Posted June 19, 2018 Author Share Posted June 19, 2018 (edited) Всё работало идеально, насколько позволяет версия 2.3.2 ( кривая )Решили накатить лицензию 2.3.6.Но до этого просто через АЦ решили заменить иконки на группы, ОТВЕТИТЬ, ЗАКРЫТО и пр.И всё, после замены иконок ошибка 500 на Регистрацию и Профиль пользователейПрофиль спустя время починили ( делал другой админ, который вне доступа и надолго, и что он делал, хз )А вот регистрация, восстановление никак.Хотя вернули все картинки назадПробывал сменить файлы, которые могли быть изменены, пробывал править .htaccess ...Никак.Вариант смены прав доступа на папки ( стоит 557 ) не проходит ... не меняется, видать нужно рот права. Edited June 19, 2018 by t_reks Link to comment Share on other sites More sharing options...
newbie Posted June 20, 2018 Share Posted June 20, 2018 да и не могу найти файл php.iniОн и не нужен. Можно править .htaccess Посмотрел я исходники 2-ки. Там типы ошибок задаются в файле init.phperror_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); 1 Link to comment Share on other sites More sharing options...
t_reks Posted June 20, 2018 Author Share Posted June 20, 2018 Благодаря Вам вот наконец удалось поймать при входе в Регистрацию: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 Теперь бы понять, что с этим " счастьем" делать ... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now