Jump to content

Edit History

seekman

seekman

Hello, I am creating a new shop. I removed the test products. And I added a new product with simple data, such as an image, a title, a description.

If I go to the product page and I click the arrow, to choose the amount of items to order, the message "An error occurred while processing your request" appears.

This is the error I get in nginx:

2020/12/17 23:23:32 [error] 64487#0: *118471 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 89.65.64.196, server: mysite.com, request: "POST /en/index.php?controller=product&token=fb0af11517f42343ce1087934d8f8b23&id_product=23&id_customization=0&qty=2 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php7-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/en/home/23-test-produkt.html"

 

I've enabled 

;access.log = /var/log/$pool.access.log

in php-fpm.

I see that nginx is passing the script file name:

- -  17/Dec/2020:23:33:45 +0100 "POST /pl/index.php" 404
- -  17/Dec/2020:23:34:10 +0100 "POST /en/index.php" 404

 

 but there is some problem elsewhere:

 

Can anyone help me please?

seekman

seekman

Hello, I am creating a new shop. I removed the test products. And I added a new product with simple data, such as an image, a title, a description.

If I go to the product page and I click the arrow, to choose the amount of items to order, the message "An error occurred while processing your request" appears.

This is the error I get in nginx:

2020/12/17 23:23:32 [error] 64487#0: *118471 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 89.65.64.196, server: mysite.com, request: "POST /en/index.php?controller=product&token=fb0af11517f42343ce1087934d8f8b23&id_product=23&id_customization=0&qty=2 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php7-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/en/home/23-test-produkt.html"

 

Can anyone help me please?

×
×
  • Create New...