roastchicken Posted May 23, 2010 Share Posted May 23, 2010 HiI'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 More sharing options...
rocky Posted May 24, 2010 Share Posted May 24, 2010 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 More sharing options...
roastchicken Posted May 24, 2010 Author Share Posted May 24, 2010 Hi thanks for your support.. For some reason there was a admin folder which contained a single file within the root which I did not spot the first round. Now deleted and works as normal. thanks for help. Link to comment Share on other sites More sharing options...
Recommended Posts