Jump to content

WHMCS migrated to new VPS, cannot log in as admin - CSRF / Login Details Incorrect


Recommended Posts

I moved from a WHM VPS to a Nodeworx VPS.  My host transferred the IP from the old to the new server.

I have file access to my previous install.

I was having the invalid CSRF token error that I have read alot about on the newly migrated installation. I deleted the whole thing then exported from softaculous from the old server and redeployed on new server using softaculous.

I have modified my configuration to $disable_token_check yet while that made the CSRF error go away, now I just get a 'Login Details Incorrect' error.  I have updated the password for the admin user in the db, using MD5 char setting on it - still doesn't work.  I created a passwordhash using BCRYPT, with the md5 password update - still doesn't work.

I do not use WHMCS to spin up domain accounts, I use it strictly for billing and I am weeks behind at this point.  I am working with my hosting company, but their support isn't very vigilant to solve this.  WHMCS is included with my hosting package but I am unsure if I can open / how to open a support ticket directly with whmcs.

Please lawd help.

 

Link to comment
Share on other sites

On 3/5/2024 at 3:33 PM, RadWebHosting said:

This issue normally indicates session errors with the session.save_path value. You can check these values with phpinfo(). Make sure the session.save_path value exists, is valid, and is not full (as this would prevent saving of the session).

We've noticed events like WHMCS updates, PHP updates, server migrations, and others can cause this type of problem. This error can often be missed during any testing after/before/during the above events if admin is using the same browser as previously cached cookies and authentications may continue to work for some time even when the session.save_path values are incorrect.

Use the phpinfo.php method to check and verify the values affecting your WHMCS, by following the steps provided in the WHMCS root directory: https://radwebhosting.com/client_area/knowledgebase/149/View-Server-PHP-Environment-with-phpinfo.php.html

Hope this helps!

 

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