mushybrain Posted May 7, 2008 Share Posted May 7, 2008 Hello people, first post so please bear with me. I have tried searching the forums for this problem along with google, blah blah blah but cant seem to find a relevant solution. Our joomla site has recently had whmcs installed at the following url: www.admodum.co.uk/clients/ We seem to be having a problem with keeping users logged in. Every time a user logs in, even if they check the 'remember me' box they still get logged out when they click to go to another page within whmcs. I have checked accept cookies from site until they expire in my browser (firefox) and have made sure that my /tmp session directory is chmodded to 777 outside of public_html. Those were the only real solutions that I could find, and yet I am still having the problem. If you would like to test it out to see the symptoms PM me and I can send you user credentials, or just sign up to a new account... This is really bugging me so any help is greatly appreciated. Jon 0 Quote Link to comment Share on other sites More sharing options...
freedombi Posted May 8, 2008 Share Posted May 8, 2008 Two questions: 1) Is the time on the server correct 2) Is the time on the client's computers correct? If there's a time error at either point, you could be sending cookies that have already expired. 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted May 8, 2008 Share Posted May 8, 2008 Another question: When logging in are they going from http://www.somedomain.com to http://somedomain.com or vice versa? If so, try the link with or without the www so it matches the login. IE if they log in at http://www.somedomain.com make sure that the next page they visit is http://www.somedomain.com/nextpage.php or edit the link instead of clicking it and put it in manually. 0 Quote Link to comment Share on other sites More sharing options...
mushybrain Posted May 8, 2008 Author Share Posted May 8, 2008 I would assume the browser/computer time and server time are correct as I stay logged in when I am in the main joomla admin area, it does not log me out. This seems to be something specific to the whmcs install... FYI - I have entered a line on the .htaccess file as follows: php_value session.save_path ../../tmp/ to specify the session folder outside of the public_html directory, however seeing as the whmcs install is in a subdirectory of public_html will the session save path be different for whmcs install? 0 Quote Link to comment Share on other sites More sharing options...
mushybrain Posted May 8, 2008 Author Share Posted May 8, 2008 ckh - the 'www' is always in the address bar, the joomla config has been set up to include the 'www' in the install. Removing the 'www' from the address doesn't seem to change anything. Additionally I forgot to mention - if you don't tick 'remember me' you can't log in at all... 0 Quote Link to comment Share on other sites More sharing options...
vitofun Posted May 21, 2008 Share Posted May 21, 2008 Hi, one of my clients have a similar problem, the coudn't login to http://www.mydomain.com/clientes.'>http://www.mydomain.com/clientes. Every time he enter his login details, the page just refresh and again show him the login form. But when he tried http://mydomain.com/clientes (without WWW) the problem was solved. I'm interested on using the first one (http://www.mydomain.com/clientes) so what should I do to make it work. Thanks 0 Quote Link to comment Share on other sites More sharing options...
Manu Posted May 25, 2008 Share Posted May 25, 2008 Additionally I forgot to mention - if you don't tick 'remember me' you can't log in at all... I had the same problem when I tried to run PHP as FASTCGI. The logging page only refreshed when trying to log in with out the 'remember me' option. I switched back to run PHP as DSO. Any way to make the logging work with FASTCGI or SUPHP? 0 Quote Link to comment Share on other sites More sharing options...
mushybrain Posted May 28, 2008 Author Share Posted May 28, 2008 Update: i think i now have the problem solved after a bit more experimenting. The session path I was using when specifying the php session save path in the .htaccess file was php_value session.save_path ../../tmp when it should have been stating php_value session.save_path '/tmp' Thanks for all your replies and suggestions though! Jon 0 Quote Link to comment Share on other sites More sharing options...
ihostgreen Posted May 28, 2008 Share Posted May 28, 2008 On another note, mushybrain. Can I just say your site is probably the best use of a Yootheme site I have seen!! Nicely done 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.