<p>I found it.</p>
<p>There were some files in my web folder that had the reference to <code>session.save</code> variable with that old path for php7.
Both <code>.user.ini</code> and <code>php.ini</code> had the following line:</p>
<pre><code>session.save_path = &quot;/var/cpanel/php/sessions/ea-php73”
</code></pre>
<p>Which I changed to</p>
<pre><code>session.save_path = &quot;/tmp”
</code></pre>
<p>This previous stackexchange post(<a href="https://craftcms.stackexchange.com/questions/39065/craft-cms-v3-5-16-admin-login-500-internal-error-occurs-after-site-moved">Craft CMS v3.5.16 /admin/login 500 (Internal Error) occurs after site moved</a>), and a helpful comment from Pixel &amp; Tonic's support staff about something overriding php.ini. That helped me zero in on the culprit!</p>
<p>Now I am able to log-in and continue the process of upgrading to Craft 4!</p>

CC BY-SA 4.0
2022-06-20T17:11:18.617Z
2022-11-21T18:53:39.687Z
2022-11-21T18:53:39.687Z
Rodney Little
<p>I am working on trying to get a local copy of a site working, but ran into an issue where the front end is working, but the admin page is not responding when I try to login.</p>
<p>This site is Craft 3.7.44 setup using Nitro on php 8.1 and MariaDB 10.6</p>
<p>In the browser console, I am seeing this error:
In Safari:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)</p>
<p>In Firefox</p>
<blockquote>
<p>XHR POST <a href="http://exvgnt.nitro/index.php?p=admin/actions/users/login" rel="nofollow noreferrer">http://exvgnt.nitro/index.php?p=admin/actions/users/login</a>
Blocked by DevTools</p>
</blockquote>
<p>I was confused on the CORs type error and looked into the weblog and found the following error:</p>
<blockquote>
<p>2022-06-19 19:36:18 [-][1][-][error][yii\web\Session::open] session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php73)</p>
</blockquote>
<p>I did a search through my project for any references to that session directory and found one in my .env file. Even after removing that I am seeing the same error.</p>
<p>Has anyone seen this before? Any suggestions? Appreciate any advice.</p>

<craft3><control-panel><admin><session><nitro>
500 Internal error on admin - session related
# 500 Internal error on admin - session related

(Asked by: username_0 on 2022-06-20)

I am working on trying to get a local copy of a site working, but ran into an issue where the front end is working, but the admin page is not responding when I try to login.

This site is Craft 3.7.44 setup using Nitro on php 8.1 and MariaDB 10.6

In the browser console, I am seeing this error:
In Safari:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

In Firefox

> XHR POST <http://exvgnt.nitro/index.php?p=admin/actions/users/login>
> Blocked by DevTools

I was confused on the CORs type error and looked into the weblog and found the following error:

> 2022-06-19 19:36:18 [-][1][-][error][yii\web\Session::open] session\_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php73)

I did a search through my project for any references to that session directory and found one in my .env file. Even after removing that I am seeing the same error.

Has anyone seen this before? Any suggestions? Appreciate any advice.

**Tags:** craft3, control-panel, admin, session, nitro


---

## 1 answers

### Answer by username_0 on 2022-06-20. Score: 3

I found it.
There were some files in my web folder that had the reference to session.save variable with that old path for php7.
Both .user.ini and php.ini had the following line:
session.save_path = "/var/cpanel/php/sessions/ea-php73”

Which I changed to
session.save_path = "/tmp”

This previous stackexchange post(Craft CMS v3.5.16 /admin/login 500 (Internal Error) occurs after site moved), and a helpful comment from Pixel & Tonic's support staff about something overriding php.ini. That helped me zero in on the culprit!
Now I am able to log-in and continue the process of upgrading to Craft 4!


---

