Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-11-05 14:36:39

K_Olli
New Member
Registered: 2010-11-05
Posts: 2

Problems after server change

Firstly I am total novice with Textpattern. Our website just changed server and now I get these two warnings on the CMS login page:

Warning: Unknown: open(/var/lib/php/session/sess_69ndc6pjmug7kt2beh1og71t66, 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) in Unknown on line 0

What does this mean? Is there a easy way to fix it and what do I need to do?

Thanks if you can help.

Offline

#2 2010-11-05 15:43:27

skualito
Member
Registered: 2010-10-14
Posts: 24

Re: Problems after server change

I’m a complete novice too, and the first thing I would do is check the diagnostics tab (you probably did). I would also check the files permissions through ftp.
Is everything else working as expected?

Offline

#3 2010-11-05 15:44:37

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Problems after server change

K_Olli wrote:

What does this mean?

Seems that your server’s PHP isn’t configured correctly. To be exact the path to the directory that should store session files either doesn’t exist or PHP doesn’t have permissions to write to the particular directory.

Is there a easy way to fix it and what do I need to do?

If it’s shared host, you could (or should) contact the support service and provide the error messages; they should be able to set the session.save_path in php.ini, and/or correct the permissions.

If it’s self-maintained server, then you need to give session.save_path valid path to a directory. Then give the user, that is running the processes, read/write permissions to the directory.

See PHP.net’s Runtime configuration manual.

Last edited by Gocom (2010-11-05 15:51:43)

Offline

#4 2010-11-05 19:12:13

K_Olli
New Member
Registered: 2010-11-05
Posts: 2

Re: Problems after server change

skualito wrote:

Is everything else working as expected?

The site works fine but you cannot update anything or download any files that are under links.

Thanks a lot guys for your answers. I think I now have couple of leads what to do. I will start sorting this out on Monday.

Last edited by K_Olli (2010-11-05 19:14:01)

Offline

Board footer

Powered by FluxBB