Jump to content

[SOLVED] Can't login into Admin pages


Recommended Posts

Hi

I've had a shop running for a while now. Recently I deleteted all cookies from my workstation and now can't log into the admin page. Error being reported is as follows.

-------------------------------------------------------
For security reasons, you cannot connect to the Back Office until after you have:

- deleted the /install folder
- renamed the /admin folder (eg. /admin763)

Please then access this page by the new url (eg. http://www.domain.tld/admin763)
------------------------------------------------------

Install folder is deleted and admin folder renamed, whats wrong ? Help apprecaited.

Link to comment
Share on other sites

Check your server to make sure those directories don't exist. This is the condition that does the check:

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



The only time that should evaluate to true is when the install directory or admin directory exists on your server. It doesn't check cookies or anything else. Unless there is a problem with your file_exists function returning true when a directory doesn't exist, one of these must exist on your server.

Link to comment
Share on other sites

×
×
  • Create New...