Roland88! Posted November 7, 2016 Share Posted November 7, 2016 Hi, After a server crash a restore was performed and now, although the store is operational I cannot login to the backend. Prestashop advises that the install folder needs to be deleted. The install folder was deleted and still the same error message. Where does Prestashop check for the install folder? Looks like I need to turn the folder check off. Or is there another way to get out of this loop? Regards Roland Link to comment Share on other sites More sharing options...
vekia Posted November 7, 2016 Share Posted November 7, 2016 what version you use? (exact number please) Link to comment Share on other sites More sharing options...
Roland88! Posted November 7, 2016 Author Share Posted November 7, 2016 Hi Vekia, It's 1.6.1.7 Link to comment Share on other sites More sharing options...
vekia Posted November 7, 2016 Share Posted November 7, 2016 it's in /controllers/admin/AdminLoginController.php there is a code: if (file_exists(_PS_ADMIN_DIR_.'/../install')) { $this->context->smarty->assign('wrong_install_name', true); } just remove it (or comment it) Link to comment Share on other sites More sharing options...
Roland88! Posted November 7, 2016 Author Share Posted November 7, 2016 I removed the line from the code and it still has the same error: For security reasons, you cannot connect to the back office until you have deleted the /install folder 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