seekman Posted December 17, 2020 Share Posted December 17, 2020 (edited) 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? Edited December 17, 2020 by seekman (see edit history) Link to comment Share on other sites More sharing options...
Rhobur Posted December 19, 2020 Share Posted December 19, 2020 Usually var/run/php7-fpm.sock should be var/run/php7.2-fpm.sock or 7.1 or 7.3 depending on your php fpm version. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now