Arthur1 Posted September 15, 2015 Report Share Posted September 15, 2015 Здравствуйте. Поставил nginx-php-fpm. Импортировал БД, всё сделал по инструкции. НО, зашел на форум и увидел ошибку: An error occurred (500 Error) We're sorry, but a temporary technical error has occurred which means we cannot display this site right now. You can try again by clicking the button below, or try again later. Захожу в админ-панель и вижу это. Даже не спрашивая логина и пароля выходит эта страница. Quote Link to comment Share on other sites More sharing options...
Arthur1 Posted September 15, 2015 Author Report Share Posted September 15, 2015 Кажется я догадываюсь почему не открывает форум. Как отключить ЧПУ и mod_rewrite в БД IPS? Quote Link to comment Share on other sites More sharing options...
electr0 Posted September 15, 2015 Report Share Posted September 15, 2015 лучше проверить в конфиге nginx хоста где форум правила редиректа, если нет добавить это: # Set up rewrite rules. location / { try_files $uri $uri/ /index.php; } location ~^(/page/).*(.php)$ { try_files $uri $uri/ /index.php; } После Рестарт nginx. /etc/init.d/nginx restart или service nginx restar если не стартанул nginx -t для того чтобы узнать строку с косяком в конфиге. если не помогло и версия IPS4 то: Система -> поисковая оптимизация -> ЧПУ -> Использовать mod_rewrite? недочитал про сломаную админку, мда сложная ситуация, выведи хотя бы логи ошибок хоста nginx добавив в конфиг хоста: error_log <полный путь к хосту>/error.log; может чего подскажет. Quote Link to comment Share on other sites More sharing options...
FrostBite Posted September 27, 2021 Report Share Posted September 27, 2021 Пример дополнительного конфига для php-fpm, если форум установлен в папку forum. Нужно заменить domain.com на свой. Файл обычно находится в папке /php/8.1/fpm/pool.d ipboard.conf Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.