bodya-herich Posted January 19, 2016 Report Share Posted January 19, 2016 Здравствуйте. Помогите пожалуйста. Переношу форум IP.Board 3 на nginx. Базу и файлы форума загрузил без потерь, но постоянно возникают ошибки, сперва решал путем изменения прав на определенные файлы, на которых возникала ошибка, теперь же при загрузке форума пишет: Ошибка сервера: 503, а сам log ошибки: 2016/01/19 16:50:50 [error] 19185#0: *65 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'ipsDriverErrorTemplate' not found in /var/www/forum_name/htdocs/ips_kernel/classDb.php on line 1728" while reading response header from upstream, client: 10.0.1.102, server: forum_name, request: "GET /admin/index.php?adsess=1b4ab4e899eb764df0ef02b666090857&app=core HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "forum_name", referrer: "http://forum_name/admin/index.php?adsess=1b4ab4e899eb764df0ef02b666090857&app=forums" Файл "classDb.php" прикрепляю. С чем может быть связана данная ошибка? classDb.php Quote Link to comment Share on other sites More sharing options...
Dmitriy427 Posted January 19, 2016 Report Share Posted January 19, 2016 Очевидно, ошибки с реврайтами. Нужно прописать их в конфигурационном файле nginx. Добавить в корневую локацию строку типа: try_files $uri $uri/ /index.php?q=$uri&$args; Quote Link to comment Share on other sites More sharing options...
bodya-herich Posted January 20, 2016 Author Report Share Posted January 20, 2016 Спасибо, уже розобрался. Нужно было изменить пользователя и группу. Сейчас новая ошибка, при создании новой темы в форуме ошибка 500, log ошибки: 2016/01/20 15:59:39 [error] 30276#0: *244 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call-time pass-by-reference has been removed in /var/www/vhosts/forum_name/htdocs/admin/applications/members/sources/classes/messaging/messengerFunctions.php on line 1459" while reading response header from upstream, client: 10.0.1.102, server: forum_name, request: "POST /index.php? HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "forum_name", referrer: "http://forum_name/index.php?app=forums&module=post§ion=post&do=new_post&f=5" С чем может быть связана данная ошибка? Quote Link to comment Share on other sites More sharing options...
Respected Posted January 20, 2016 Report Share Posted January 20, 2016 Версия форума/php/mysql? Quote Link to comment Share on other sites More sharing options...
Андрей Усков Posted January 20, 2016 Report Share Posted January 20, 2016 Какая версия php у вас? Эта ошибка в том, что не поддержвается амперсант в функциях php. Надеюсь, у вас php 5.4 и выше? Quote Link to comment Share on other sites More sharing options...
bodya-herich Posted January 21, 2016 Author Report Share Posted January 21, 2016 Версия PHP 5.5.9-1ubuntu4.14 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.