Missing php functions

Support and queries relating to all previous versions of ZoneMinder
Locked
Ben G
Posts: 10
Joined: Mon Oct 11, 2004 12:03 am
Location: Sydney, Australia

Missing php functions

Post by Ben G »

Hi.

I've installed v1.19.5 on a SuSE 9.1 system.

I configured only the basic stuff to start with. I can start the console, and can add monitors, but I get the following error when I try to start the monitor:

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

I've grepped the php files for "function session_write_close()" and can't find any mention of it. Am I missing a file or something?

Ben
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

session_write_close() is a function of php.
http://www.php.net/session_write_close

trie updating php. or google.
Fernando
Ben G
Posts: 10
Joined: Mon Oct 11, 2004 12:03 am
Location: Sydney, Australia

Post by Ben G »

Thanks, Fernando.

I loaded all the PHP libraries,etc I could find, and it works now.

Ben
fernando wrote:session_write_close() is a function of php.
http://www.php.net/session_write_close

trie updating php. or google.
atlas1
Posts: 3
Joined: Mon Dec 06, 2004 3:15 pm

Post by atlas1 »

could you please post how you fix this error, i'm getting the same thing with php5, apache2 and zoneminder 1.19.5

Gentoo kernel 2.4.26-gentoo-r9

v4l confirmed and working.
/dev/video1 confirmed and working.

I've compiled this zoneminder from source.
Locked