Session start - no such file

Issue Summary

After migrating site to Local shows a error in the website

Troubleshooting Questions

Only for this site

Replication

So I made a copy of a wordpress website to local host.

All is working finally except when I go to the website and the image attached shows on top.

Basically it says:


Warning: session_start(): open(/var/cpanel/php/sessions/ea-php73\sess_fc3543585c1da50b97272ff08b71c725, O_RDWR) failed: No such file or directory (2) in C:\Users\ricar\Local Sites\localazana\app\public\wp-content\themes\azana-child\header.php on line 11

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php73) in C:\Users\ricar\Local Sites\localazana\app\public\wp-content\themes\azana-child\header.php on line 11

I went searching and for what I understood might be some problem with the php.ini file that I might have to change the session.save_path. Now it’s session.save_path = “/var/cpanel/php/sessions/ea-php73”

But I have no idea what it should be changed for and why this is happening and I did more migrations before and this never happened.

Any idea and help would be much appreciated

Thanks

System Details

  • Which version of Local is being used?

  • What Operating System (OS) and OS version is being used?

    • r Windows 10 Professional_
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Closing in favor of this topic:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.