Jump to content

Can't login to client portal?


oesman

Recommended Posts

Hello,

 

I just installed WHMCS and while getting everything configured I decided to create a test client and login. I can not login with the test client at all. It just throws me back to the login page, no errors. If I click "Login as client" from the client profile while logged in as admin it says invalid login information. No messages in the error log. Does anyone know what's going on here?

Link to comment
Share on other sites

My bad. I figured it out. The server was configured to run Apache as 'billing' user/group on this server and the session storage directory was not set to that group:

 

billing 13019 0.0 0.1 34608 8820 ? S 23:26 0:00 /usr/sbin/httpd

billing 13020 0.0 0.1 34608 8820 ? S 23:26 0:00 /usr/sbin/httpd

billing 13021 0.0 0.1 34608 8820 ? S 23:26 0:00 /usr/sbin/httpd

root 13263 0.0 0.0 3920 756 pts/8 S+ 23:31 0:00 grep -i billing

[root@billing php]# ll

total 8

drwxrwx--- 2 root apache 4096 Dec 10 2008 session

[root@billing php]# chown root.billing session/

[root@billing php]# ll

total 8

drwxrwx--- 2 root billing 4096 Dec 10 2008 session

[root@billing php]# ll session/

total 4

-rw------- 1 billing billing 95 Nov 2 23:32 sess_4h2ui3ck5449t0uoo1umrlmgl0

-rw------- 1 billing billing 0 Nov 2 23:32 sess_d86builjqvlhufhgtrblaha830

[root@billing php]#

 

I guess the old system used the db to store sessions. I wonder how WHMCS worked at all then when I first installed it!

Edited by oesman
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated