Warning: Unknown: Failed to write session data (files)
I ran into this problem and spent HOURS trying to figure it out. I read a lot of articles about removing line breaks and spaces from .php files. This didn’t fix my problem.
Instead I looked at phpinfo.php on my hosting site (using WordPress). It showed that session.save_path was not set. (I had just moved my hosting to 4GH when all these problems showed up)
I found an article that suggested that I:
replace session_start(); with
This worked! All errors went away immediately.
I think GoDaddy needs to set the php5.ini file so that session.save_path is set as a variable. Since php finds that this variable is not set, php throws a bunch of errors.
Try it. I bet it’ll solve your problem also.