Welcome! Log In Create A New Profile

Advanced

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

Francis Daly
December 21, 2019 05:34AM
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 reliable? If so, check the html returned there to see what the
"img src" looks like there.

> client: 110.227.251.142, server: mywebsite.com, request: "GET
> /stage/%20https://mywebsite.com/stage/wp-content/uploads/2019/11/hp_slider_bg-1500x797.jpg
> HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host:
> "fp-academy.in", referrer: "https://fp-academy.in/stage/"

(This does not address any of the nginx config; but it's simplest to
fix one thing at a time. Maybe there is only one thing that needs fixing!)

Cheers,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Francis Daly December 21, 2019 05:34AM

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

vikask December 21, 2019 07:58AM

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

Francis Daly December 21, 2019 03:38PM

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

vikask December 22, 2019 09:43AM

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

Francis Daly December 30, 2019 07:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 244
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready