Василий, вопрос по nginx'y

Если есть возможность и понимание вопроса, помоги советом. Голову сломал читая nginx.org
В логах следующие ошибки:

2013/08/07 19:24:28 [error] 10420#0: *2234 FastCGI sent in stderr: "PHP message: PHP Warning:  Cannot modify header information - headers already sent by (output started at  /www/core/model/modx/modresponse.clas$
PHP message: PHP Warning:  Cannot modify header i" while reading upstream, client: фф.фф.фф.фф, server: фффф.фф, request: "GET /sbp/contacts/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-фффф_www.sock:", host: "imgran$
2013/08/07 19:24:28 [error] 10420#0: *2234 FastCGI sent in stderr: "nformation - headers already sent by (output started at /фффф/www/core/model/modx/modresponse.class.php:189) in /var/www/imgrand.ru/www/core/cache/$
2013/08/07 19:27:09 [error] 10425#0: *3759 FastCGI sent in stderr: "PHP message: PHP Warning:  Cannot modify header information - headers already sent by (output started at /ффффф/www/core/model/modx/modresponse.clas$
PHP message: PHP Warning:  Cannot modify header i" while reading upstream, client: фф.фф.фф.фф, server: фффффф.фф, request: "GET /sbp/contacts/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-ффффф_www.sock:", host: "imgran$
2013/08/07 19:27:09 [error] 10425#0: *3759 FastCGI sent in stderr: "nformation - headers already sent by (output started at /ффффффф/www/core/model/modx/modresponse.class.php:189) in /ффффф/www/core/cache/$
2013/08/07 19:27:11 [error] 10425#0: *3764 FastCGI sent in stderr: "PHP message: PHP Warning:  Cannot modify header information - headers already sent by (output started at /фффффффф/www/core/model/modx/modresponse.clas$
PHP message: PHP Warning:  Cannot modify header information - headers already sent by (output started at /ффффффф/www/core/model/modx/modresponse.class.php:189) in /фффффф/www/core/cache/includes/elements/m$
2013/08/07 19:32:29 [error] 10428#0: *5952 FastCGI sent in stderr: "PHP message: PHP Warning:  Cannot modify header information - headers already sent by (output started at /ффффффф/www/core/model/modx/modresponse.clas$
PHP message: PHP Notice:  Undefined variable: cacheHash in /var/w" while reading upstream, client: 188.227.20.179, server: фффффф, request: "GET /sbp/contacts/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-фффффф_www.so$
… и так без конца. Каким образом ему отдавать header'ы, которые он поймет и сможет изменять? И этого ли он хочет от меня?

Заранее благодарен.

П.С.: Если кому-то интересно как поднять сайт в связке nginx+php5-fpm с множеством (поддоменов) субдоменов на modx'e с единой админкой — пишите. Помогу в этой теме. Послесловие для поиска по сайту.
Wassi Wassinen
07 августа 2013, 15:57
modx.pro
1
2 521
0

Комментарии: 2

Василий Наумкин
07 августа 2013, 20:08
0
У тебя что-то выводится дя отправки заголовков. Такое бывает, например при вызове echo перед header().

yandex.ru/yandsearch?text=Cannot+modify+header+information+-+headers+already+sent&lr=64
    Wassi Wassinen
    07 августа 2013, 20:33
    0
    Спасибо. Собирался отписаться — все портил нехороший кешер xFPC. Гадил как только мог. Если кто ставит — имейте в виду, что скорости он придает, но проблем от него может быть очень много.
    Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
    2