ayman Posted August 5, 2011 Share Posted August 5, 2011 I installed prestashop 1.4.3 amazing script , everything works fine and no problems. suddenly today was trying to access admin panel , i keep getting For security reasons, you cannot connect to the Back Office until after you have: - deleted the /install folder - renamed the /admin folder (eg. /admin369) Please then access this page by the new url (eg. http://www.domain.tld/admin369) As i said that used to work fine before , no install folder and admin folder is changed to something else. So what is that? Thanks Link to comment Share on other sites More sharing options...
owas Posted August 6, 2011 Share Posted August 6, 2011 After you have installed prestashop, you need to go to your cpanel delete the install file and then rename your admin folder, so chnage it from admin to admin11. I installed prestashop 1.4.3 amazing script , everything works fine and no problems. suddenly today was trying to access admin panel , i keep getting For security reasons, you cannot connect to the Back Office until after you have: - deleted the /install folder - renamed the /admin folder (eg. /admin369) Please then access this page by the new url (eg. http://www.domain.tld/admin369) As i said that used to work fine before , no install folder and admin folder is changed to something else. So what is that? Thanks Link to comment Share on other sites More sharing options...
trulu Posted August 10, 2011 Share Posted August 10, 2011 help, i've the same problem, i've delete the changelog, readme, install folder, and rename the admin but it doesn't want to direct me to admin page >.< this is what i get after login from the admin page. Not Found The requested URL /prestashop 1.4.4.0/admin11/1/ was not found on this server. how come it is searching for folder 1 =,= Link to comment Share on other sites More sharing options...
Booker Posted August 19, 2011 Share Posted August 19, 2011 My backoffice was working last night and now it gives me the same error. I am not on a new install I don't have the install directory of the readme files. ANYONE with an answer for this? Link to comment Share on other sites More sharing options...
Booker Posted August 19, 2011 Share Posted August 19, 2011 OK if you are truly stuck with this you can do this http://blog.zeratool.net/2011/07/06/prestashop-1-4-3-cannot-login-to-admin-error-after-installation/ somehow my admin directory got regenerated or copied over. anyway I am fixed. Link to comment Share on other sites More sharing options...
tcannonxy Posted July 30, 2012 Share Posted July 30, 2012 I had the same problem but I didnt see this thread earlier. a google search revealed this thread to me haha. good link Link to comment Share on other sites More sharing options...
SerjLeon Posted August 27, 2012 Share Posted August 27, 2012 After hours of pulling my hair out, here is THE SOLUTION: 1. Via FTP access your admin folder (renamed folder where you used to access to your BackOffice); 2. Open/Edit 'login.php' file; 3. Find (Prestashop 1.3 the line #114, Prestshop 1.4 the line #148 or something) next: if(file_exists(PS_ADMIN_DIR.'/../install') OR file_exists(PS_ADMIN_DIR.'/../admin')) 4. Replace it with if(file_exists(PS_ADMIN_DIR.'/../installl') OR file_exists(PS_ADMIN_DIR.'/../adminl')) 5. Save. Try to log in to the BackOffice as you used to. Oh mighty magic of the code! =) The solution was to add some random letter to the folder names that are being checked (I added one more L). If you take a look in the code, it says IF those folders exist, then show the error message, ELSE let you login. So we just told them to check un-existing folders =) I might be slightly wrong in something, but that worked. However I still wonder howcome this issue just popped up after 2 years (in my case) of using the very same PrestaShop site. Link to comment Share on other sites More sharing options...
parkour69 Posted October 30, 2013 Share Posted October 30, 2013 Sorry to reopen this thread but I've got the same problem when trying to log in into my prestashop admin.I have latest version of PrestaShop 1.5.6. /public_html/amaricatti/psadmin/login.php I assume is I am supposed to edit code of "Login.php", now when I open it, I see nothing, it's just empty file with no code inside… I am really frustrated with this issue.I hope someone can help me out . Link to comment Share on other sites More sharing options...
vekia Posted October 30, 2013 Share Posted October 30, 2013 what you changed in this file? have you tried with various browsers? Link to comment Share on other sites More sharing options...
parkour69 Posted October 30, 2013 Share Posted October 30, 2013 what you changed in this file? have you tried with various browsers? I haven't really changed anything except I have uninstalled prestashop and then reinstalled it thinking that it would fix my other issue , but this happened instead, I am attaching screenshots of what i see in my file manager, hoping that someone can help me fix it or find the problem. one of the attachments shows what's inside login.php which is where I am supposed to change code by renaming it I assume from reading above. Link to comment Share on other sites More sharing options...
Anthony P Posted April 8, 2021 Share Posted April 8, 2021 (edited) What's up everyone ... I ran into this mysterious problem just a second ago and even renamed the folder. Prestashop still has that opensourcy like feel and it's spastic with installations(installed a test last night, went through flawless... installed today, ran into the 67% AND this problem!). Now have a mysterious issue that I renamed the folder, my FTP is picking it up as "admin" but the folder I'm working is (the name I called).. weird.. but it works... I wish Presta checks and tests files fully before they shove it into their packs. Shouldn't have this issue especially for people's business. I have not a clue how it can go from not working at all to magically working minutes later with no changes. (I edited this because I realized I was editing a completely different folder omg). Edited April 8, 2021 by Anthony P (see edit history) 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