Last night my hosting provider upgraded to the latest version of PHP5. (It was previously running with the last release of PHP5).
Anyway, this morning I start work to find that all sites running session are getting this error
Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 32205 is not allowed to access owned by uid 0 in /home/scooters/public_html/session_test.php on line 12
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /home/scooters/public_html/session_test.php on line 12
It seems that safe mode has been turned on when it otherwise was not. I'm not sure. I contacted the hosting company and they said I need to rewrite my scripts to suit. I have looked into this possibility but not sure what I can change.
This simple script that follows is enough to create the error.
session_start();
$sess_id = session_id();
Does anyone have any ideas on what I can do here?