Darkie Posted March 3, 2010 Share Posted March 3, 2010 The installation itself went very smooth, and the frontend works like a charm. However, I managed to login to the backend once and after that I keep getting the loginscreen.I don't get any errors and the login doesn't fail, but after logging in I keep getting the login screen and I don't get the backoffice anymore Anyone have any clue?Server has: IISPHP 5MySql 4 Link to comment Share on other sites More sharing options...
varod Posted March 7, 2010 Share Posted March 7, 2010 Hi,Did you check your config/setting.inc.php file and define('__PS_BASE_URI__', '/'); If prestashop is not installed at the root folder you have to change this value.I succeed in resolving this problem thanks to that one time.Regards Link to comment Share on other sites More sharing options...
equiox Posted March 17, 2010 Share Posted March 17, 2010 Having a similar problem, sometimes we get in to BO and can stay there for several minutes. At other times it throws you back immediately, it seems very random.Same problem for FO, even products in the cart don't stay there as they should. Link to comment Share on other sites More sharing options...
Darkie Posted March 24, 2010 Author Share Posted March 24, 2010 I have made a new installation of Prestashop where I didn't specify the email/mail servers up front and I haven't experienced any problems anymore.When I did another install where I did inter the email/ mail servers during installation, I had the same error again. Link to comment Share on other sites More sharing options...
Tuxie Posted March 27, 2010 Share Posted March 27, 2010 I have had the same problem. I also created a bug report about this http://www.prestashop.com/bug_tracker/view/3539/However presta team doesn't seem to be too interested about it even though it's not that uncommon!That's not fixed even in the beta yet! Link to comment Share on other sites More sharing options...
Darkie Posted March 31, 2010 Author Share Posted March 31, 2010 It is ever re-producable. Link to comment Share on other sites More sharing options...
D3haxor Posted April 1, 2010 Share Posted April 1, 2010 s'up okay i'm new to prestashop but i have a rough idea of what you are talking about and it's irritating/ annoying so well this worked for me on other problems and issues whilst i was creating other websites... umm okay here are the steps you shld follow.1). Firefox has a known issue v3 that cause your login to go back to the Login page again. Change browsers. Try either safari or IE (the latest one). If it fails, try doing this in step 2.2). Go to tools and clear all cookies/ cache. Many a times , your cookies/ cache are having problems and they log you in like a target system as not logged in yet. Clearing the cookies and cache may work and this should save you some time and for many, hours wasted. 3). Okay, If all else fails, you might be suffering from a malware/spyware that acts as a data logger. As such, certain servers that i know are able to register this and deem your access as a malware/keylogger issue denying you access to the admin page (as your stuff is in the root folder, it MAY affect their servers. They wanna take precautions against this). Check for malware/ keyloggers using stuff like adware free or Avast! and remove the issues. Not really sure about this cause i keep my computer clean and not inject dlls. and stuff randomly into my computer. Try this 3 steps first. Failing which, read around and ask the pros (: hope that helped. Link to comment Share on other sites More sharing options...
D3haxor Posted April 1, 2010 Share Posted April 1, 2010 chances are as you guys mention about the server smtp. issue, the wrong ports keyed in and wrong encryption might lead to repercussions that are annoying. Check with your hosting provider for accurate details. Most of the time this can be found in your CP -> server information/settings. I used the same method as you guys giving them my smtp. information. been logged on to backoffice for the last 3 hours and it doesn't seem to be giving me problems. Link to comment Share on other sites More sharing options...
nac78 Posted April 17, 2010 Share Posted April 17, 2010 Hi guys, I'm experiencing exactly the same problem and I'm very frustrated not finding the answer to solve the problem.http://www.prestashop.com/forums/viewthread/51694/general_discussion/problems_with_login_in_adminDid any of you resolved this problem with login in back office? Link to comment Share on other sites More sharing options...
jhnstcks Posted April 23, 2010 Share Posted April 23, 2010 We had this bug with prestashop when it was first released a few years back. Not sure if the fix would be the same, but it was to do with the url you were using to access your admin pages. If you used the url without the www prefix you would not be able to login, and everytime you tried it was asthough the screen had just refreshed. Using the www prefix would work fine.An easy fix would be to use a 301 redirect from your htaccess file to redirect any addresses from http://mydomain.com to http://www.mydomain.com Link to comment Share on other sites More sharing options...
nac78 Posted April 23, 2010 Share Posted April 23, 2010 jhnstcks, it doesn't matter if I use the www prefix or not, the problem shows up anyway.It's really annoying... the Prestashop team has been researching it but the fix is not ready.Yesterday I installed the last test version, but it works the same way, after a couple of clicks I get logged out from the Back Office..I just wonder, am I the only person in this world who is having this problem??? how did you all the rest who had this problem fix it?I'm thinking about changing my host, but is it really a host or a Prestashop issue to resolve? Link to comment Share on other sites More sharing options...
Tuxie Posted May 5, 2010 Share Posted May 5, 2010 jhnstcks, it doesn't matter if I use the www prefix or not, the problem shows up anyway.It's really annoying... the Prestashop team has been researching it but the fix is not ready.Yesterday I installed the last test version, but it works the same way, after a couple of clicks I get logged out from the Back Office..I just wonder, am I the only person in this world who is having this problem??? how did you all the rest who had this problem fix it?I'm thinking about changing my host, but is it really a host or a Prestashop issue to resolve? No you aren't. Atleast me and another guy seem to have the problem and still unsolved... Also with little searching a lot more turn out..-NRJ Link to comment Share on other sites More sharing options...
orisinal Posted February 24, 2011 Share Posted February 24, 2011 Same problem here. At first I tested PS in virtual private server and everything worked very well and quickly. Then I moved the site to Sigmatic, the production server, and got this very same logout problem. I thought something went wrong on moving, but that wasn't the problem as the same problem occurs on fresh install.Have you find any cure for this? I've never had similar problem with other e-commerce products or sites. It's little bit frustrating to change the already paid hosting, just to get rid of this small but very annoying issue. Link to comment Share on other sites More sharing options...
Tuxie Posted February 24, 2011 Share Posted February 24, 2011 Same problem here. At first I tested PS in virtual private server and everything worked very well and quickly. Then I moved the site to Sigmatic, the production server, and got this very same logout problem. I thought something went wrong on moving, but that wasn't the problem as the same problem occurs on fresh install.Have you find any cure for this? I've never had similar problem with other e-commerce products or sites. It's little bit frustrating to change the already paid hosting, just to get rid of this small but very annoying issue. Didn't find cure for this. Was also using Sigmatic. They do seem to have some problems with certain scripts.. Vtiger was another problematic script... Probably has to do with how the servers are connected to each other but I have no idea what's the cause of the problem. I decided to user another web hosting company from now on... It's just plain easier. Link to comment Share on other sites More sharing options...
mgamer20o0 Posted March 20, 2011 Share Posted March 20, 2011 I been having this same problem. clean install delete install flies change admin name. go to log in and no errors show up just redirects back to the log in screen. i cant even get access to the back office. Link to comment Share on other sites More sharing options...
BillyCovington Posted March 21, 2011 Share Posted March 21, 2011 I'm also having this issue after upgrading to the latest version of Prestashop. Link to comment Share on other sites More sharing options...
nikmagnus Posted March 31, 2011 Share Posted March 31, 2011 Please help!I've just uploaded my fully working version of PS 1.4.0.17 from my local host up to my server.I've updated the config file with the PS_BASE_URI to correspond with my subfolder.My prestashop was replacing my html static site which was working fine.I get the login screen to my backend, but it redirects to the login screen even after inputting the correct password.The front end wont load at all.Can someone point me in the right direction?THanks, Nik Link to comment Share on other sites More sharing options...
xiaochunn Posted April 30, 2011 Share Posted April 30, 2011 try modifying the cookie.php, http://www.prestashop.com/forums/viewthread/88615/configuring___using_prestashop/keeps_going_back_to_the_login_page Link to comment Share on other sites More sharing options...
PsMax Posted October 25, 2011 Share Posted October 25, 2011 delete your htaccess and login. regenerate the htaccess again!! Link to comment Share on other sites More sharing options...
Troy Posted December 10, 2011 Share Posted December 10, 2011 I cant find my htaccess lol Link to comment Share on other sites More sharing options...
jhonzz007 Posted February 6, 2012 Share Posted February 6, 2012 this problem often occurs in prestashop newest version. All you have to do is to change some coding in cookie.php file, there are two changes that you have to do. from your cpanel, cookie.php is located at prestashop/classes/Cookie.php (Prestashop=public html) Step 1 Line 65, try to find this code: $this->_expire = isset($expire) ? intval($expire) : (time() + 1728000); change 172800 value into 3600, after you change, it must be like this: $this->_expire = isset($expire) ? intval($expire) : (time() + 3600); Step 2 Line 195, try to find this code: AND (!isset($this->_content['remote_addr']) OR $this->_content['remote_addr'] == ip2long(Tools::getRemoteAddr())) just add "//" (without quotes of course) exactly before "AND", so it would be like this: //AND (!isset($this->_content['remote_addr']) OR $this->_content['remote_addr'] == ip2long(Tools::getRemoteAddr())) then save your file, and try to refresh your browser. I Also have the cookie.php file in my blog so you can download it without change you file coding because I have modified it for you and it's FREE. Login page keeps appearing on Back office Good Luck Link to comment Share on other sites More sharing options...
kjeld Posted August 7, 2012 Share Posted August 7, 2012 I had the same problem after moving my server (a fysical shutdown). I found the solution in the documentation of the php setcookie() function: - Make sure your server time is correct. Mine wasn't and that caused the problem..... O, and this may help others: - IE8 and IE9 seem not to accept cookies from localhost or 127.0.0.1. Regards, Kjeld 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