Guest gwizard Posted July 9, 2007 Share Posted July 9, 2007 I've just installed Beta2.1 on my localhost XAMPP (Windows, Apache 2, MySQL, PHP5) and for some reason I cannot login to admin. Front works ok (a little slow though), but when I try to login into admin it just goes back to the regular login screen. No errors, no nothing. Tried in multiple browsers - nothing. Any ideas ? :D Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted July 10, 2007 Share Posted July 10, 2007 I'm stumped on this one myself. I'm guessing you've probably tried clearing cookies. Are you using the admin with SSL? if so, you need to first check the use secure mode box, then enter your details after the page refreshes. Quote Link to comment Share on other sites More sharing options...
burgensteen Posted July 10, 2007 Share Posted July 10, 2007 I get the same on my localhost, never got round to sorting it. Quote Link to comment Share on other sites More sharing options...
Guest gwizard Posted July 11, 2007 Share Posted July 11, 2007 I'm stumped on this one myself. I'm guessing you've probably tried clearing cookies. Are you using the admin with SSL? if so, you need to first check the use secure mode box, then enter your details after the page refreshes. Cookies are not the issue here since I used 2 separate "virgin" browsers. SSL is not enabled since this is the first time I am trying to access the admin. I am thinking it might be license issue, so I've double checked that the license key is intact and correct. It is and on the CP it shows localhost as my host. Perhaps this still is a license issue and it doesn't support 127.0.0.1 as IP ? Al ? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2007 Share Posted July 11, 2007 I'm stumped on this one myself. I'm guessing you've probably tried clearing cookies. Are you using the admin with SSL? if so, you need to first check the use secure mode box, then enter your details after the page refreshes. Cookies are not the issue here since I used 2 separate "virgin" browsers. SSL is not enabled since this is the first time I am trying to access the admin. I am thinking it might be license issue, so I've double checked that the license key is intact and correct. It is and on the CP it shows localhost as my host. Perhaps this still is a license issue and it doesn't support 127.0.0.1 as IP ? Al ? definitely not a licence issue, you'd know if it was. sounds like some kind of sessions/cookie problem, we had this before. haveyou got any kind of netfiltering/firewall software running? Quote Link to comment Share on other sites More sharing options...
burgensteen Posted July 11, 2007 Share Posted July 11, 2007 Im just running Vista home premium with windows firewall at present. Quote Link to comment Share on other sites More sharing options...
Guest gwizard Posted July 12, 2007 Share Posted July 12, 2007 Since CC is on localhost I fail to see how firewall can be an issue. Specially, since the install went fine and I can browse front end without a problem. Proxy is disabled. Cookies and JS are on. No filtering software. What else could it be ? Quote Link to comment Share on other sites More sharing options...
Guest Insurrectus Posted July 20, 2007 Share Posted July 20, 2007 I'm having the same problem with this message: No administration session was found. Quote Link to comment Share on other sites More sharing options...
convict Posted July 21, 2007 Share Posted July 21, 2007 This is known COOKIE domain name parameter issue. The quick solution: classes/session/cc_admin_session.php SEARCH FORsetcookie($name, $value, $expires, $GLOBALS['rootRel'], $this->get_cookie_domain($GLOBALS['storeURL'])); USE THIS CODEsetcookie($name, $value, $expires, $GLOBALS['rootRel']); Do the same for classess/session/cc_session.php if you would like to login as a customer :( Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted July 22, 2007 Share Posted July 22, 2007 Cheers, that worked. Quote Link to comment Share on other sites More sharing options...
Guest gwizard Posted July 22, 2007 Share Posted July 22, 2007 Thanks Milos, that did the trick :-) Quote Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2007 Share Posted July 23, 2007 done a bit of research, and grilled al about it all, and apparently its all to do with the callback from some payment module-or-other can someone who had this trouble, try out this bit of code for me.... change setcookie($name, $value, $expires, $GLOBALS['rootRel'], $this->get_cookie_domain($GLOBALS['storeURL'])); to setcookie($name, $value, $expires, $GLOBALS['rootRel'], '.'.$this->get_cookie_domain($GLOBALS['storeURL'])); and let me know if it still works Quote Link to comment Share on other sites More sharing options...
convict Posted July 23, 2007 Share Posted July 23, 2007 @estelle, qwizard welcome done a bit of research, and grilled al about it all, and apparently its all to do with the callback from some payment module-or-other can someone who had this trouble, try out this bit of code for me.... change setcookie($name, $value, $expires, $GLOBALS['rootRel'], $this->get_cookie_domain($GLOBALS['storeURL'])); to setcookie($name, $value, $expires, $GLOBALS['rootRel'], '.'.$this->get_cookie_domain($GLOBALS['storeURL'])); and let me know if it still works sorry, doesnt work. Using WAMP5 (PHP v5.2.2) on WinXP. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.