C5 site migration (session error)

Permalink
I just moved my C5 install to a new server. Changed my config. Site seems to be working, except I'm getting this error on all my pages..

Warning: Unknown: open(/var/lib/php/session/vservers/dgtrans/tmp/sess_rd3dl01dikmarsku07d7cjl0r4, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session/vservers/dgtrans/tmp) in Unknown on line 0


Any ideas what's going on?


Edit:
Also, I tried to login to the dashboard and it doesn't work unless I check "remember me". I assume this is due to the session error.

matthewmz
 
chunksmurray replied on at Permalink Reply
chunksmurray
Firstly confirm that the 'sessions' location actually exists on your server. If it does, just make sure you have the appropriate write access to it.
matthewmz replied on at Permalink Reply
matthewmz
The webhost didn't set the session /tmp folder path in the php_ini file. It's working now.