Blog Linux Unix WordPress

Failed to write session data

Warning: Unknown: open(/home/content/123456/123456/tmp/sess_abc123456abc123456, O_RDWR) failed: No such file or directory (2) 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 () in Unknown on line 0

In my case these warnings appeared after I migrate my website in GoDaddy.

Contact the support of your provider and ask to create the folder


as from the error message (I inserted 123456 for example, in you case number will be different).

Did my solution solve your problem? Leave a comment.

HOW TO Linux Unix

Unix set date and time command

To set date and time use date command with -s parameter

[sourcecode lang=”bash”]
date -s "02/13/2013 17:52:04"

To list the date and time of the server use date command without parameters

[sourcecode lang=”bash”]

Did my HOW TO help you? Leave a reply.