ashish.kpaul Posted March 10, 2023 Share Posted March 10, 2023 Hello team, I just installed prestashop v 1.7.8.8 with nginx and php7.4-fpm On the nginx access log showing 404 by selecting variant or attribute of the product. xxx.xxx.xxx.xxx - - [10/Mar/2023:13:32:36 +0530] "POST /en/index.php?controller=product&token=7a1bb1f0a186972654c244f38b8e0b52&id_product=1&id_customization=0&group%5B1%5D=2&group%5B2%5D=8&qty=1 HTTP/2.0" 404 63 "https://www.unicusinventors.com/en/men/1-1-hummingbird-printed-t-shirt.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" In snapshoot undefined error under the add to cart button Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 10, 2023 Share Posted March 10, 2023 We have checked the same by selecting size "M" and color : white, it works fine as expected. There is no error in the network as well as the response is as expected. Kindly confirm whether the issue generally occur on any specific case or everytime ? Link to comment Share on other sites More sharing options...
ashish.kpaul Posted March 10, 2023 Author Share Posted March 10, 2023 Slack #Oksydan looks like you are missing rewrite in your nginx configuration. Add there your every lang just like in example below. rewrite ^/en$ /en/ redirect; rewrite ^/en/(.*) /$1; 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