Odd problem

Support and queries relating to all previous versions of ZoneMinder
Locked
michrech
Posts: 9
Joined: Wed Nov 17, 2004 4:44 pm
Location: La Plata, MO

Odd problem

Post by michrech »

I'm pretty sure I have all my issues figured out, save for one.

When I get to the zoneminder web page (the page that shows your configured monitors, etc), everything is OK. I can add monitors, I can go into the options and change whatever.

At the top where it says "ZoneMinder console (status) (version)". My status is stopped. The version is 1.19.5.

When I click on "Stopped", I get another window wanting to knwo what status I would like. Start is the only option. I hit "Apply" and get:

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

This is with PHP 4.3.9 or 5.0.x. From here I am unsure of what to do. =[

I know from the LiveCD I was able to make everything work.

My system is Gentoo, without ACCEPT_KEYWORDS (so it should be "stable" software).

I found another thread that listed this exact error, but the person simply stated "I loaded all php modules and it works", but didn't specify what, *exactly*, said person had to load.

THanks in advance!
User avatar
securiteaze
Posts: 25
Joined: Wed Jun 16, 2004 5:38 pm

Post by securiteaze »

Here are a couple suggestions from a fellow gentoo user.

Add 'apache2 mysql php' to your use flags and run

Code: Select all

emerge apache mod_php mysql
Add the following line to /etc/conf.d/apache2

Code: Select all

APACHE2_OPTS="-D PHP4"
michrech
Posts: 9
Joined: Wed Nov 17, 2004 4:44 pm
Location: La Plata, MO

Post by michrech »

Apache2 and PHP are working (as evidenced by the fact that I can get to the zoneminder page, add the monitor, etc). Only starting the service fails.

Are the below really needed? Using phpmyadmin, I can get to the database, have given users access as suggested by the readme, etc. ONLY starting the service fails.

Leeme know. :)

Mike
securiteaze wrote:Here are a couple suggestions from a fellow gentoo user.

Add 'apache2 mysql php' to your use flags and run

Code: Select all

emerge apache mod_php mysql
Add the following line to /etc/conf.d/apache2

Code: Select all

APACHE2_OPTS="-D PHP4"
Locked