RabbitZzZ Posted May 16, 2022 Share Posted May 16, 2022 Hello, we recently discovered that in our shop the order-history doens't fuction alright. If you click on an order, the details don't appear and the developer console shows an 404 error: GET [...]/index.php?controller=order-detail&id_order=72539&id_order=72539&ajax=true 404 I could find out that if I deactivate the friendly URLs in SEO/URLs section it does work. Everything else seems to work fine with them on. Does anybody know, how to make it work? I already tried giving another rewiriting alias to the history page, but that changed nothing. PS 1.6.1.10 modified default-bootstrap PHP 7.2.34 Thanks on advance! Link to comment Share on other sites More sharing options...
RabbitZzZ Posted May 24, 2022 Author Share Posted May 24, 2022 (edited) Any idea somebody? I additionally found out that without the /de/ or /en/ in the URL it does work. Edited May 24, 2022 by RabbitZzZ (see edit history) Link to comment Share on other sites More sharing options...
knacky Posted May 24, 2022 Share Posted May 24, 2022 Prestashop 1.6.1.x supports PHP 5.2 > 7.1. PHP 7.1 is recommended. Link to comment Share on other sites More sharing options...
RabbitZzZ Posted May 24, 2022 Author Share Posted May 24, 2022 I have used this for making it 7.2 compatible:https://ps.multimedia-bodensee.de/index.php/prestashop-tutorials/prestashop-tricks-tipps/item/6-anpassung-prestashop-1-5-6-2-und-1-6-1x-an-php-7-2 Link to comment Share on other sites More sharing options...
knacky Posted May 24, 2022 Share Posted May 24, 2022 If you think you did the right thing and fully believe in the solution you used, I have nothing to advise 🤔 Link to comment Share on other sites More sharing options...
RabbitZzZ Posted May 25, 2022 Author Share Posted May 25, 2022 I think that's not the point... Isn't there anything to tweak at to make it work? I thought about if there is something like $link->getPageLink which doesn't include the language in the url to make the ajax call work? Link to comment Share on other sites More sharing options...
RabbitZzZ Posted May 31, 2022 Author Share Posted May 31, 2022 On 5/25/2022 at 7:56 PM, RabbitZzZ said: I thought about if there is something like $link->getPageLink which doesn't include the language in the url to make the ajax call work? Is there something like this? Link to comment Share on other sites More sharing options...
RabbitZzZ Posted June 2, 2022 Author Share Posted June 2, 2022 Ok, I got it to work again through adding the order-detail and the pdf-invoice controller to the list of friendly URLs 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