Jump to content

All menu links from admin dashboard takes me to a 404 on local project


Recommended Posts

First of all, I am quite new to Prestashop.

After consulting several threads on this forum and on the Internet in general, I have not found a solution to my problem:

I have installed on my localhost MacOS this Prestashop project that has been running for years now and requires an update. The current version is: 1.7.8.8.8

I have set it up using Herd, whose server is a Ngingx, not Apache.

After mounting it, the whole front end looks fine. But when I go into the admin panel and try to use the menu links, they all lead to a 404, I can't access Products, or even Site Preferences.

Things I have tried: 
-Delete the .htaccess from the admin folder.
-Change the permissions of all the folders in the project to 755 and 644.
-Check that the database configuration is correct, in the front end all the products are shown correctly.
-Activate the DEBUG mode, which apparently does not throw errors.

The only thing that has achieved a small change:
-I have disabled Friendly URLs from the database:
UPDATE `ps_configuration` SET `value` = '0' WHERE `name` = 'PS_REWRITING_SETTINGS'; 
This makes 404 no longer appear when trying to enter the links, but I get this error:
[Debug] This page has moved
Please use the following URL instead:
If I try to enter with the suggested URL, it always takes me to the home page.

I've had this for 5 hours and I don't know what else to do... In production the access to these links in the admin menu works.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...