Jump to content

[SOLVED] Renaming admin after install keeps telling me to rename


Recommended Posts

Hi,

Just installed prestashop yesterday. Wonderfull in only 3 clicks. That's really amazing.
After that i followed the guidelines to remove the install folder and rename the admin folder, but after renaming the admin folder and visiting the url again, i still get the same gestures like before. I'm not having the option to log in into the admin.

Anyone can help me out? Does this has something to do with url rewriting and the .htaccess?

tnx

Link to comment
Share on other sites

It is the following line that decides whether to display that error message:

if(file_exists(PS_ADMIN_DIR.'/../install') OR file_exists(PS_ADMIN_DIR.'/../admin'))



Make sure that there is no install directory on your server and you have renamed admin to something else. The only other reason that it wouldn't work if the file_exists function is incorrectly returning true when the file doesn't exist.

Link to comment
Share on other sites

found it. changed the map structure. The error was generated by the admin of my Wordpress blog. Prestashop isn't in my root folder, so i went a map to high in de url structure to see if the admin was renamed or not. Fixed it. tnx!

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...