axishift Posted May 21, 2009 Share Posted May 21, 2009 The WHMCS v4 is setup to: Captcha - Off when logged in Here's the scenario: Log on the client, clientarea.php (click remember me also) -- and you are logged-in on the client area Click WHMCS Home, whmcs/index.php -- notice that on the left side, you are not logged-anymore? Click on domain checker or any links, whmcs/domainchecker.php You'll notice that you need to enter the captcha again and you're automatically logged-out. If you click on Client area again, it does not remember you. Help:shock: 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted May 21, 2009 Share Posted May 21, 2009 works fine for me... you must have either a session problem on your server or a cookie problem with your browser 0 Quote Link to comment Share on other sites More sharing options...
hightekhosting Posted May 21, 2009 Share Posted May 21, 2009 Works fine here 0 Quote Link to comment Share on other sites More sharing options...
meaton Posted May 21, 2009 Share Posted May 21, 2009 I'm unable to duplicate this. Sounds like a browser issue as sparky suggested... 0 Quote Link to comment Share on other sites More sharing options...
axishift Posted May 21, 2009 Author Share Posted May 21, 2009 that's weird. ok, hold on let me check again. 0 Quote Link to comment Share on other sites More sharing options...
herpherp Posted May 21, 2009 Share Posted May 21, 2009 (edited) The WHMCS v4 is setup to:Captcha - Off when logged in Here's the scenario: Log on the client, clientarea.php (click remember me also) -- and you are logged-in on the client area Click WHMCS Home, whmcs/index.php -- notice that on the left side, you are not logged-anymore? Click on domain checker or any links, whmcs/domainchecker.php You'll notice that you need to enter the captcha again and you're automatically logged-out. If you click on Client area again, it does not remember you. Help:shock: Same here seems to be an ssl issue anytime I leave to a non https page i am no longer logged in(technically) but if I go back to an https page I am still logged in... For example knowledgbase is not ssl so I get the LOGIN message Then go to submit tickets and am still logged in because it is ssl.... Can't utilize downloads because it is not on an ssl page etc... Seems as though I am only being logged into https://domain.com and not http://domain.com Edited May 21, 2009 by herpherp 0 Quote Link to comment Share on other sites More sharing options...
axishift Posted May 21, 2009 Author Share Posted May 21, 2009 I turned-off the SSL option on the admin settings and tried to login as a normal client and just did what I told -> login, click home, click domain and I am still logged-in. It's probably an issue with SSL and WHMCS V4? 0 Quote Link to comment Share on other sites More sharing options...
herpherp Posted May 21, 2009 Share Posted May 21, 2009 (edited) figured it out.... my system url was http://www.domain.com and my SSL url was domain.com removing the www from the system url fixed it, but not sure if this can be corrected.... Was probably a cause of some other issues I was having to use full https: paths on lol Edited May 21, 2009 by herpherp 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted May 21, 2009 Share Posted May 21, 2009 (edited) Still works fine here... My https base href fix may help in header.tpl replace {if $systemurl}<base href="{$systemurl}" />{/if} with {php}global $CONFIG;$this->assign('url', (($_SERVER['HTTPS'] == 'on') ? $CONFIG['SystemSSLURL'] : $CONFIG['SystemURL']));{/php} <base href="{$url}/" /> Edited May 21, 2009 by sparky 0 Quote Link to comment Share on other sites More sharing options...
axishift Posted May 21, 2009 Author Share Posted May 21, 2009 Both of my parameters are correct: http://www. and https://www. And still the same problem? 0 Quote Link to comment Share on other sites More sharing options...
axishift Posted May 21, 2009 Author Share Posted May 21, 2009 Still works fine here...My https base href fix may help It's gone. can you post again the code? 0 Quote Link to comment Share on other sites More sharing options...
herpherp Posted May 21, 2009 Share Posted May 21, 2009 for sparkys code it is on this page http://forum.whmcs.com/showthread.php?t=20197 not sure exactly your ssl set up is it on like secure.domain.com or anything? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted May 21, 2009 Share Posted May 21, 2009 Check again - that may not fix your problem though 0 Quote Link to comment Share on other sites More sharing options...
axishift Posted May 21, 2009 Author Share Posted May 21, 2009 Just tried it, and it does not fix the problem. My setup is like this: WHMCS System URL: http://www.axishift.com/accounts/ WHMCS System URL (SSL): https://www.axishift.com/accounts/ 0 Quote Link to comment Share on other sites More sharing options...
herpherp Posted May 21, 2009 Share Posted May 21, 2009 Just tried it, and it does not fix the problem. My setup is like this: WHMCS System URL: http://www.axishift.com/accounts/ WHMCS System URL (SSL): https://www.axishift.com/accounts/ I registered on your site and everything seems to be working fine? try clearing cache etc... 0 Quote Link to comment Share on other sites More sharing options...
LawrenceHE Posted June 6, 2009 Share Posted June 6, 2009 (edited) OK, axishift and herpherp, I have been having a similar issue and as herpherp mention I made some changes in my General Settings. When I setup the SSL it was without the 'www', in other words https://mydomain.com/whmcs/index.php is fine, but https://www.mydomain.com/whmcs/index.php is not. I went into the Settings/General Settings and took the 'www' out or all the url's and I no longer have an issue with staying logged in. My problem was if I clicked on certain links, I would log out such as Portal Home and Server Status. While it appears that axishift is experiencing some other problem, this fixed mine and maybe it will help someone else out there! Lawrence Edited June 6, 2009 by LawrenceHE 0 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.