Molina Posted September 27, 2010 Share Posted September 27, 2010 I really found a bug!The problem was in the two files, login.php and init.php. This two files are found in Admin folder and are responsible for validating the admin’s credentials. So, when those files send or get a cookie to/from the browser they get wrong with this two lines:init.php$cookie = new Cookie(‘psAdmin’, substr($_SERVER[‘SCRIPT_NAME’], strlen(PS_BASE_URI), -strlen($currentFileName[‘0’])));login.php$cookie = new Cookie(‘psAdmin’, substr($_SERVER[‘PHP_SELF’], strlen(PS_BASE_URI), -10));Thoses lines are not sending a correct path to the browser. Maybe that’s because I use sites other than the main site as virtuals home pages. To fast correct the problem I put explicity the path by my self. So, the lines were just as:login.php$cookie = new Cookie(‘psAdmin’, “admin445” );init.php$cookie = new Cookie(‘psAdmin’, “admin445”);After the change everything worked nice.I hope this can help someone. About me, I’m gona sleep because I spent a lot of time to fix this and here in Brazil are 01:15AM and, as soon as I wakeup I’ll take a Cisco exame winkThank's to all! Link to comment Share on other sites More sharing options...
godmodegrafix Posted December 7, 2010 Share Posted December 7, 2010 This worked! Thanks a lot I really appreciate it. Link to comment Share on other sites More sharing options...
alexnl Posted March 21, 2011 Share Posted March 21, 2011 I had the same issue and fixed it with your solution. Thanks! Link to comment Share on other sites More sharing options...
Ali Usman Posted July 30, 2011 Share Posted July 30, 2011 Hi I have something similar issue. Admin does not let me login and keep redirecting me to the login page without any error. I am using 1.4.4.0 and it is installed on my local host with php 5.2.3 I have tried the above solution and also tried to reset the admin password with no luck. Please help. Thanks, 1 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted August 4, 2011 Share Posted August 4, 2011 Try this solution set forth here. It could be an issue with your ISP's firewall settings. Link to comment Share on other sites More sharing options...
kplace Posted August 7, 2011 Share Posted August 7, 2011 I am having a problem logging in to my back office. I have tried everything above and nothing works. Please help. I have using Prestashop_1.4.4.0. I am not getting an error message it just keep getting directed back the login page. Link to comment Share on other sites More sharing options...
blogsketch.com Posted August 19, 2011 Share Posted August 19, 2011 I am having a problem logging in to my back office. I have tried everything above and nothing works. Please help. I have using Prestashop_1.4.4.0. I am not getting an error message it just keep getting directed back the login page. maybe try this discussion also !! let us know how you go.. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted August 19, 2011 Share Posted August 19, 2011 Hi Molina, You can check out the latest updates on this in the Forge here. We're hoping to have this fixed for all of you soon. -Mike Link to comment Share on other sites More sharing options...
greypanda Posted August 28, 2011 Share Posted August 28, 2011 Hi Molina, You can check out the latest updates on this in the Forge here. We're hoping to have this fixed for all of you soon. -Mike I don't quite understand why this hasn't been fixed. This "bug" has been around for months and you direct people to an ISP site to fix it! At least put a note in the install script that warns people of the problem. It takes all of 60 seconds to "fix" it, but hours or days to diagnose it. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted August 29, 2011 Share Posted August 29, 2011 Hi greypanda, I apologize for not getting back to you sooner. I've been trying to spread the word across multiple posts in different threads relating to this issue, but it has now been fixed. You can find more information about the fix in the bug report I posted above, but let me know if you have any additional questions. -Mike 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