I dont have any bright ideas on the cause of the problem, sorry guys.
to make the error go away, and still start the session, change:
if (!session_id()) session_start();
to:
@session_start();
This will run the session_start() function and suppress any errors that may occur.