Fatal error: Call to undefined function session_write_close

Support and queries relating to all previous versions of ZoneMinder
Locked
atlas1
Posts: 3
Joined: Mon Dec 06, 2004 3:15 pm

Fatal error: Call to undefined function session_write_close

Post by atlas1 »

I am getting this error from the zm_actions.php script when starting the server.... I seem to be getting this error all over the program though.... just on different scripts.

Fatal error: Call to undefined function session_write_close() in /var/www/localhost/htdocs/zoneminder/zm_actions.php on line 535

I also get this error when adding/editing a monitor, even though the settings get updated in the database.

Cant start the server though....
please help!
atlas1
Posts: 3
Joined: Mon Dec 06, 2004 3:15 pm

Post by atlas1 »

Since nobody else seems to be nice enough to post the fix for this error I will.

After much searching around, I found out that my default configure options for PHP5 included "--disable-session". Its sure bet this is the reason for the "session_write_close()" error.

DAMN GENTOO!
Locked