Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-30 Thread Francis Daly
On Sun, Dec 22, 2019 at 09:43:47AM -0500, vikask wrote: Hi there, great that you now have a config+system that works for you. > I removed the block i had created for the subdirectory /stage in the default > nginx file. > the default Home URL had a space [typing mistake] and so the 20% was bein

Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-22 Thread vikask
Hi there, Thanks for showing me the direction. I removed the block i had created for the subdirectory /stage in the default nginx file. the default Home URL had a space [typing mistake] and so the 20% was being sent in the URL. Wonder what i would have done without your debugging skills. Than

Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-21 Thread Francis Daly
On Sat, Dec 21, 2019 at 07:58:50AM -0500, vikask wrote: Hi there, The request getting to nginx is: > /stage/%20https://fp-academy.in/stage/wp-content/uploads/2019/11/hp_slider_bg.jpg That is almost certainly wrong. The request probably should be just /stage/wp-content/uploads/2019/11/hp_slider

Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-21 Thread vikask
Hi Francis... Here is the error log 2019/12/21 18:16:01 [error] 23708#23708: *1821 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 73.218.245.139, server: fp-academy.in, request: "GET /stage/%20https://fp-academy.in/stage/wp-

Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-21 Thread Francis Daly
On Fri, Dec 20, 2019 at 06:32:58AM -0500, vikask wrote: Hi there, > I am getting the following error in the error log. I think the filename > being passed has the subdirectory name prepended, which should not happen. The http request that is logged looks strange to me. Is the "referrer" value re

Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-20 Thread vikask
I have installed Wordpress in a subdirectory - /var/www/html/stage I am getting the following error in the error log. I think the filename being passed has the subdirectory name prepended, which should not happen. - 2019/12/20 15:34:00 [error] 22393#22393: *10 FastCGI sent in stderr

Re: nginx + php-fpm ERROR 'FastCGI sent in stderr: "Primary script unknown"' for 2nd app (WP) in a subdir. Main site is OK.

2018-04-30 Thread aclion
Got this sorted! AC ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx + php-fpm ERROR 'FastCGI sent in stderr: "Primary script unknown"' for 2nd app (WP) in a subdir. Main site is OK.

2018-04-29 Thread aclion
This config seems to get me further, or maybe just different location / { index index.php; try_files $uri $uri/ /index.php?q=$uri&$args; } location ^~ /blog { alias /srv/www/test/wp/public/blog; index index.ph

nginx + php-fpm ERROR 'FastCGI sent in stderr: "Primary script unknown"' for 2nd app (WP) in a subdir. Main site is OK.

2018-04-29 Thread aclion
.com/blog/ shows these errors in log ==> /var/log/nginx/test.example.com.error.log <== 2018/04/29 13:10:16 [error] 6374#6374: *4 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.30.11.7, server: test.example.

Re: FastCGI sent in stderr: "Primary script unknown"

2017-01-26 Thread Chris Wijtmans
/home/blah/http_request.php; >fastcgi_param SCRIPT_NAME /http_request.php; > } > > > 2017/01/26 21:56:42 [error] 19384#19384: *1480 FastCGI sent in stderr: > "Primary script unknown" while r > eading response header from upstream, client: blah, server: >

FastCGI sent in stderr: "Primary script unknown"

2017-01-26 Thread Chris Wijtmans
384: *1480 FastCGI sent in stderr: "Primary script unknown" while r eading response header from upstream, client: blah, server: www.blah.*, request: "GET /test HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm/blah.sock:", host: "www.blah.nl"

Re: FastCGI sent in stderr: "Primary script unknown"

2015-05-06 Thread Francis Daly
On Tue, May 05, 2015 at 06:01:26AM -0400, vincent123456 wrote: Hi there, > I have this error : > 2015/05/05 11:48:32 [error] 5181#0: *5 FastCGI sent in stderr: "Primary > script unknown" while reading response header from upstream, client: > 127.0.0.1, server: myserve

Re: FastCGI sent in stderr: "Primary script unknown"

2015-05-05 Thread Thiago Farina
Hi, On Tue, May 5, 2015 at 7:01 AM, vincent123456 wrote: > Hi, > > I try to configure a vhost with Nginx and PHP-FPM. > > I have an application with Symfony2.6, i followed this tutorial : > http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html#nginx > This tutorial h

FastCGI sent in stderr: "Primary script unknown"

2015-05-05 Thread vincent123456
Hi, I try to configure a vhost with Nginx and PHP-FPM. I have an application with Symfony2.6, i followed this tutorial : http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html#nginx I have this error : 2015/05/05 11:48:32 [error] 5181#0: *5 FastCGI sent in stderr