Moving Server

Permalink
Hello,

I'm trying to move a Concrete5 site to a new server, however I cannot seem to get it working.

When I export the site, I have made sure to clear the cache, and I have removed the cache and tmp files from application/files.

However no matter what I do, on the new server, I get the error

SessionHandler::read(): open(/home/clients/c294be6d6098ded642d7ce6f28f36a78/web/tmp/sess_jqv0q98q6ku5mi5rrvdfc7q351, O_RDWR) failed: No such file or directory (2)

 
Hubble replied on at Permalink Best Answer Reply
Fixed it!

Same solution as here:https://www.concrete5.org/community/forums/installation/migration-is...

The hosting service that I was using had modified some of Concrete5's source files.

The file /concrete/src/Session/Storage/Handler/NativeFileSessionHandler.php had been changed by my hosting provider.

The original line in C5's core:
ini_set('session.save_handler', 'files');


My hosting service had changed it to:
ini_set('session.save_handler', 'files'); ini_set('session.save_path', '/path/to/dir');return;


My hosting provider had also added that line to the index.php, which I commented out.