I just solved a problem that has been nagging me for weeks and would like to share it with the forum.
I'm running ZoneMinder v0.9.15 on a Debian Testing installation, kernel 2.4.20-686. My web server is thttpd 2.23beta1.
Everything was working just fine with one exception. I was unable to start ZM from the browser interface.
I could start it from the command line, then open the browser and sign on. The browser would show the correct status for all the cameras and all the links worked.
I could stop it from the browser. All the services would end, the window would refresh and again everything would show the correct status,links etc.
However, if I clicked (start) at this point, I could see all the services starting
via ps -l , but the browser would hang. My only recourse would
be to close the browser, re-open it and sign on again. Then, just like above, everything would be fine until I attempted to re-cycle ZM from the browser.
If I commented out session_start() I didn't have this problem. Of course, I also didn't have any way to authorize my users, but it pointed towards the php session handler as the problem.
I found the answer at www.php.net/manual/en/function.exec.php
I put a session_write_close() immediately before packageControl( 'start' )
in zm_html.php. Worked right off.
I don't know if this is a problem unique to Debian or a result of
my own setup. Hope it helps someone else.
Anyway, I have been very happy with ZoneMinder since I discovered it at v0.9.11.
It just keeps getting better.
Can't start from interface.
- tech_fixer
- Posts: 132
- Joined: Tue Jul 29, 2003 3:07 pm
Re: Can't start from interface.
Tom:
I experienced the same problem on RH9, with any browser including IE5, IE5.5, IE6, Mozilla 1.4.
I used your fix and now all works well. Good job!
Regards,
Jose Rodriguez.
I experienced the same problem on RH9, with any browser including IE5, IE5.5, IE6, Mozilla 1.4.
I used your fix and now all works well. Good job!
Regards,
Jose Rodriguez.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Can't start from interface.
Hi Tom,
Thanks for figuring that out. I'll put the fix into the next version.
Cheers,
Phil,
Thanks for figuring that out. I'll put the fix into the next version.
Cheers,
Phil,
Re: Can't start from interface.
Hi Tom,
Thank you for your fix, it works well.
I have exactly the same problem (on Debian with zm0.9.15) and I was looking for the solution from a couple of days.
You save my time :)
Bye.
CHris
Thank you for your fix, it works well.
I have exactly the same problem (on Debian with zm0.9.15) and I was looking for the solution from a couple of days.
You save my time :)
Bye.
CHris
Re: Can't start from interface.
Anyone got a example of how this should look like?
Re: Can't start from interface.
Anyone got a example of how this should look like?