ijpweb Posted January 14, 2012 Share Posted January 14, 2012 Some clients are having problems logging in to the clientarea. If the user goes to the clientarea.php and trys to log in with the right username and password the page just refreshes and the login form clears. No error no nothing. This happens intermittenly to people across different browsers. Safari Mac seems to have a problem, firefox 8.0.1 Windows has had a problem, and IE 8 has had the problem. But even across browsers its inconsistent to believe its a browser problem. I use a custom template, and i have tried going back to the default template from whmcs and it still happened. Like i said it happens sometimes to different people. But its happening to many times that i need to fix it. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 14, 2012 Share Posted January 14, 2012 already answered other thread... theres no need for double posts! 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted January 14, 2012 Share Posted January 14, 2012 It may happen if they are logging in without the www and they are redirected to the domain with the www or vice versa. You may want to check that. When logging in, the cookie will be set for one or the other. 0 Quote Link to comment Share on other sites More sharing options...
ijpweb Posted January 15, 2012 Author Share Posted January 15, 2012 Sparky - The other post.. i didnt think it went through because it never showed up... plus it was more of a job post to see if anyone was interested in a pay fix. Sorry about that. Sparky you said in the other post that i should have 777 persmissions on where the sessions get created. if i check my phpinfo page it says session.save_path = /var/lib/php/session Is this the directory you are saying that should have 777 persmission on it? CKH - I dont think that should be the problem, i have my htaccess force www on all pages so when people go to the clientarea.php it switches to www regardless. And in my WHMCS settings i have www in the WHMCS Path and HTTPS path. So do you think my setup should avoid that problem? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 15, 2012 Share Posted January 15, 2012 normally the session.save.path should be writable yes and it should be 1777 not just 777 so if you log onto your server via ssh use this command chmod 1777 /var/lib/php/session 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted January 15, 2012 Share Posted January 15, 2012 CKH - I dont think that should be the problem, i have my htaccess force www on all pages so when people go to the clientarea.php it switches to www regardless. And in my WHMCS settings i have www in the WHMCS Path and HTTPS path. So do you think my setup should avoid that problem? To check it, try going to the login page without using the www and see if it is in the URL or not. Then after trying to log in, see if it suddenly appeared. If what you say is correct, you shouldn't be able to get to the login page without it appearning in the URL so it shouldn't be a an issue as you say. 0 Quote Link to comment Share on other sites More sharing options...
ijpweb Posted January 15, 2012 Author Share Posted January 15, 2012 Sparky. Is there a code to use to find out what the permissions are currently on the path before I change it to see if it is wrong? And yes I will be using ssh. I running plesk on a Vps. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 15, 2012 Share Posted January 15, 2012 you can view it by using ls -la /var/lib/php 0 Quote Link to comment Share on other sites More sharing options...
ijpweb Posted January 15, 2012 Author Share Posted January 15, 2012 Sparky here is the permissions before i changed them: drwxrwxrwx 2 root apache 233472 Jan 15 08:33 session Here are the permissions after i changed them: drwxrwxrwt 2 root apache 233472 Jan 15 08:36 session i try to login with an account on Safari on Mac.. and the samething happens... it quickly goes to dologin.php then right back to clientarea.php clears the form and no error. The weird thing is if i go to my whmcs admin dashboard... it shows in the "recent Client activity" me logging in. After i try to login as a client on safari on my clientarea.php page... even though it doesnt throw an error i try to manually go to /clientarea.php?action=details but it wont let me it just goes to the clientarea.php login form. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 15, 2012 Share Posted January 15, 2012 Can you post your url and a test client login 0 Quote Link to comment Share on other sites More sharing options...
ijpweb Posted January 15, 2012 Author Share Posted January 15, 2012 actually, i cleared my history and cache and it worked! now im waiting to see if a client that was having trouble can get in. Ill let you know what i find out. Thanks! Hope this fixed it. 0 Quote Link to comment Share on other sites More sharing options...
ijpweb Posted January 15, 2012 Author Share Posted January 15, 2012 Okay the client i asked to try and login still has the issue... i just tried in safari for Mac and i can confirm that the issue is still their... if i try and login with Firefox on Mac it works just fine. Sparky, Can we text-chat over Skype? i can provide you with a link and username and password for you to take a look. My Skype name is: ijpweb im on right now. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 16, 2012 Share Posted January 16, 2012 Dont use skype but do use MSN Click the icon to the right of my post to send a message 0 Quote Link to comment Share on other sites More sharing options...
ijpweb Posted January 16, 2012 Author Share Posted January 16, 2012 sent you a PM to get your chat info. Thanks again 0 Quote Link to comment Share on other sites More sharing options...
ijpweb Posted January 16, 2012 Author Share Posted January 16, 2012 Ive attached my php session settings. Anything look out of whack? that would prevent some users from being able to login? Its like the dologin.php file has issues or my session settings are messed. It happened prior to 5.0 and i updated to 5.0 this past week and its still happening.. doesnt matter what template i use for my client area. Im at a lost for words and it appears that no one knows how to fix it... even WHMCS.com Support doesnt know. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 16, 2012 Share Posted January 16, 2012 I have deleted the PM as I have already told you how to contact me via MSN (just below the post count) 0 Quote Link to comment Share on other sites More sharing options...
ijpweb Posted January 16, 2012 Author Share Posted January 16, 2012 sorry but if i click that right below the post count.. it gives 404 error 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 17, 2012 Share Posted January 17, 2012 ok... MSN email is sparky (at) tshosting.com.au 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.