Camille_Nrn Posted November 8, 2016 Share Posted November 8, 2016 Hi, I made a fresh install of Prestashop 1.7.0.0. Install goes well, everything seems fine. But once I'm connected to the Back Office, I can't access to the products listing and modules listing pages through the menu. I get redirected to Front Office homepage and, when dev mode is activated, I get this message : [Debug] This page has movedPlease use the following URL instead: http://dev.mysite.com/index.php?_token=XXXXX... I also tried with a fresh install of Prestashop 1.6.1.9 and i did not get this issue, products listing and modules listing pages works well. After looking at the links in the Back Office menu : - Catalog/Product : http://dev.mysite.com/admin-dev/index.php/product/catalog?_token=XXXXX... - Modules : http://dev.mysite.com/admin-dev/index.php/module/catalog?_token=XXXXX... Apparently, links/controllers for these 2 functionalities have changed since version 1.6.1.9, but new controllers don't work... Environnement : Server information: Ubuntu Server 16.04 Server software version: nginx/1.10.0 PHP version: 7.0.8 MySQL version: 5.7.16 Prestashop : 1.7.0.0 - Main website version : https://www.prestashop.com/en/download - Dev/Github version : https://github.com/PrestaShop/PrestaShop/archive/1.7.0.0.zip This is my first time with prestashop so maybe I forgot to do something/do something wrong... Thanks for your help ! 1 Link to comment Share on other sites More sharing options...
originmad Posted November 24, 2016 Share Posted November 24, 2016 I have exactly same issue. I did fresh install to my dedicated server. And it's working fine. I can access to module and products page from backoffice. But when i try to install local server. It installed correctly but cant reach products and modules page from backoffice. It redirects me to frontpage. I tried on php 7.0.12 and 5.5.38. But same result. And it s really working slow on local server. Keep waiting and then redirecting to frontpage. I think something misconfigured but dont have any error message. Link to comment Share on other sites More sharing options...
Camille_Nrn Posted November 24, 2016 Author Share Posted November 24, 2016 Hi originmad, I did fix this issue on my PS (1.7.0.0 and 1.7.0.1). The error was caused by my nginx config. New PS controllers (managed by Symfony Framework) were not set correctly in the config file. I found the solution thanks to this post : https://www.prestashop.com/forums/topic/566897-prestashop-17-nginx/ Github here : https://github.com/MattLoyeD/Prestashop-Nginx The config file is not perfect but it fixed the issue i mentioned here. 2 Link to comment Share on other sites More sharing options...
originmad Posted November 24, 2016 Share Posted November 24, 2016 Hi Camillie Thank you for response.. With nginx configuration problem is solved. Thank you. Link to comment Share on other sites More sharing options...
fmoleslas Posted January 28, 2017 Share Posted January 28, 2017 Hi, I have the same issue but the host is ovh. Do you have a clue? Link to comment Share on other sites More sharing options...
intandem Posted April 27, 2017 Share Posted April 27, 2017 Hi! Where do I place this Github code please? Apologies if stupid question .... Link to comment Share on other sites More sharing options...
Camille_Nrn Posted April 27, 2017 Author Share Posted April 27, 2017 Hi guys, @Intandem : There is no stupid questions The code must be placed in your nginx config file (This operation can be done only through ssh connection). The file is generally located in your server on /etc/nginx/sites-available/, the default file name is "default" or "default.conf". You must have sudo rights (or root access) on the server to edit the file (you can use vim command to edit the file). Once the file edited : sudo nginx -t (to check if config is not broken) sudo service nginx restart @fmoleslas : Sorry, didn't see your question before... The server provider should not be a problem here, only your nginx config. If updating the nginx config file does not solve the problem, it could come, in your case, from somewhere else... With OVH server, you should have the sudo rights on your server. If not, I recommend you to contact OVH support team. Link to comment Share on other sites More sharing options...
madpugger Posted June 9, 2018 Share Posted June 9, 2018 Hi, I am having this same issue. Pretashop 1.7.3.2. I can't access: Catalogue>Products Catalogue>Stock Modules Advanced Parameters (so can't access debug mode). I'm a novice with Prestashop! I get a "too many re-directs" error in safari. I get Error 500 in Chrome. Please help! Incidentally, and totally off topic - but this site REALLY doesn't work in Safari... Link to comment Share on other sites More sharing options...
gabba Posted July 30, 2018 Share Posted July 30, 2018 this an issue with the urls i think, so an edit to the main apache config shouldn't be the only way to fix it should it? couldn't .htaccess be edited in the admin dir to fix it also? the issue seems to be caused because of the url format, i.e index.php/product rather than index.php?controller=AdminOrders admindirectory/index.php/product/catalog admindirectoryindex.php/module/catalog Link to comment Share on other sites More sharing options...
Mohammad Posted December 6, 2018 Share Posted December 6, 2018 same problem ! advanced parameters redirect to index ! every thing was okay in WAMP but when i transferred everything to VPS , this bug happened . HELP ! Link to comment Share on other sites More sharing options...
Klemart3D Posted January 21, 2019 Share Posted January 21, 2019 Same problem. To solve it I had to add symfony controllers into my my nginx rules. See my comment:https://www.prestashop.com/forums/topic/566897-prestashop-17-nginx/?do=findComment&comment=3048438 Link to comment Share on other sites More sharing options...
Joyplaz Posted May 7, 2020 Share Posted May 7, 2020 (edited) I am having exactly the same issue on version 1.7.6.4. Both the product listing page and module page worked once and now they always redirect to the login. When I look into my file manager, in the ect folder, I don't see anything related to nginx, and debug mode isn't showing anything. The page just redirects the the login and that's it. I've also tried eliminating the cookies and nothing changed. Can someone please help me out?? Edited May 7, 2020 by Joyplaz (see edit history) 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