Answers.Body: <p>It would seem the website was trying to write sessions to /var/cpanel/php/sessions/ea-php70 (which is wrong and probably just missed after site transfer).
  Once I modified it to use /tmp (where it should be) - Voila!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-02-19T04:29:30.173Z
Answers.LastActivityDate: 2022-02-19T04:29:30.173Z
Answers.UserDisplayName: ShopifyBuilder
Answers.Body: <p>I would like to add on to this for any who run into similar problems. I was unable to find where that session variable was being called. I eventually noticed that in my web folder there were two files that had it.
  One was .user.ini, the other was php.ini.</p>
  <p>There was a reference to session.save_path = &quot;/var/cpanel/php/sessions/ea-php73” in .user.ini and php.ini in my web folder. Once I changed both of those to session.save_path = &quot;/tmp&quot; I was able to login.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-20T17:15:25.293Z
Answers.LastActivityDate: 2022-06-20T17:15:25.293Z
Answers.UserDisplayName: Rodney Little
Body: <p>Original site works fine. Moved site to new hosting (same domain name i.e. nutrano.com.au) via CPanel and now whilst /admin/login is accessible Invalid credentials show &quot;Invalid username or password&quot;, whilst known valid/existing credentials generate the Console Error:</p>
  <p>jquery.js:10099          POST <a href="https://nutrano.com.au/index.php?p=admin/actions/users/login" rel="nofollow noreferrer">https://nutrano.com.au/index.php?p=admin/actions/users/login</a> 500 (Internal Server Error) jquery.js:10099</p>
  <p>I know after searching for 2 days that this is similar to several other issues none seem to reflect what I am seeing.</p>
  <p>Please note: I am friend doing a friend a favour and have almost zero knowledge of Craft CMS (v3.5.16). Just trying to troubleshoot the problem. Thank you. Edward</p>
  
Tags: <control-panel><admin>
Title: Craft CMS v3.5.16 /admin/login 500 (Internal Error) occurs after site moved
ThreadText: # Craft CMS v3.5.16 /admin/login 500 (Internal Error) occurs after site moved
  
  (Asked by: username_0 on 2022-02-18)
  
  Original site works fine. Moved site to new hosting (same domain name i.e. nutrano.com.au) via CPanel and now whilst /admin/login is accessible Invalid credentials show "Invalid username or password", whilst known valid/existing credentials generate the Console Error:
  
  jquery.js:10099 POST <https://nutrano.com.au/index.php?p=admin/actions/users/login> 500 (Internal Server Error) jquery.js:10099
  
  I know after searching for 2 days that this is similar to several other issues none seem to reflect what I am seeing.
  
  Please note: I am friend doing a friend a favour and have almost zero knowledge of Craft CMS (v3.5.16). Just trying to troubleshoot the problem. Thank you. Edward
  
  **Tags:** control-panel, admin
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2022-02-19. Score: 2
  
  It would seem the website was trying to write sessions to /var/cpanel/php/sessions/ea-php70 (which is wrong and probably just missed after site transfer).
  Once I modified it to use /tmp (where it should be) - Voila!
  
  
  ---
  
  ### Answer by username_1 on 2022-06-20. Score: 1
  
  I would like to add on to this for any who run into similar problems. I was unable to find where that session variable was being called. I eventually noticed that in my web folder there were two files that had it.
  One was .user.ini, the other was php.ini.
  
  There was a reference to session.save\_path = "/var/cpanel/php/sessions/ea-php73” in .user.ini and php.ini in my web folder. Once I changed both of those to session.save\_path = "/tmp" I was able to login.
  
  
  ---
  
  