Gentlemen, thanks in advance for your attention to this. If I've missed something obvious I apologize and should be whipped, will be appreciative of any direction.
This is an update of a working 1.24.2 release to 1.24.4 on CentOS 5.6. All went OK on the configure and make install.
The only problem was mouseovers on the timeline didn't get any response.
Searching in the forum suggested an upgrade to PHP5.3, which I did using the CentOS php53 scheme, went OK. Error messages from the logs about 'unexpected end' on the last line of include/functions.php led me to your forum's advice to edit php.ini, setting short_open_tag=On, where the CentOS distro has it set Off.
This still left no snapshot on mouseover of the timeline, but the flurry of PHP Warnings
strftime(): It is not safe to rely on the system's timezone settings.
led me to the advice to tweak index.php, adding
date_default_timezone_set("America/New_York");
at the top of the script.
This gets me to the very last rub for this combo of Centos 5.6 and ZM, I hope:
A mouseover on the timeline gets an empty snapshot frame with View Event in the corner. An error is logged in /var/log/httpd/error_log:
[Sat Jul 16 19:48:41 2011] [error] [client 192.168.7.12] File does not exist: /var/www/html/zm/6, referer: spammy url removed?view=timeline&filter[terms][0][attr]=DateTime&filter[terms][0][op]=%3E%3D&filter[terms][0][val]=-1+hour&filter[terms][1][cnj]=and&filter[terms][1][attr]=MonitorId&filter[terms][1][op]=%3D&filter[terms][1][val]=6
A png is attached which I hope says it all to some guru.
And, I hope to have the thing running with no hitches soon, will be most appreciative of help. The timeline is the most used feature of ZM around here, am hankering to have it back.
No snapshot at mouseover timeline, Centos 5.6, 1.24.4
No snapshot at mouseover timeline, Centos 5.6, 1.24.4
Last edited by gsx on Sun Jul 17, 2011 7:30 pm, edited 2 times in total.
No snapshot at mouseover on timeline, Centos 5.6, also zm 1.
Hi, seeing that y'all are actively working on zm and seeing that there's a 1.25 preview put up overnite, I got it, loaded it, stuck the date_default_timezone_set into the index.php, and it's running quietly, capturing events appropriately, works fine until I get to the timeline.
The error messages in httpd/error_log when mousing over the timeline are the same as in my original post, but now:
- None of the database info shows in the window to the right of where the snapshot should display.
- clicking on the timeline gets the video of the event
I hope this helps perfect the thing, look forward to advice, have gone back to 24.2 for the time-being.
The error messages in httpd/error_log when mousing over the timeline are the same as in my original post, but now:
- None of the database info shows in the window to the right of where the snapshot should display.
- clicking on the timeline gets the video of the event
I hope this helps perfect the thing, look forward to advice, have gone back to 24.2 for the time-being.
Re: No snapshot at mouseover timeline, Centos 5.6, 1.24.4
This time, I cleared out the earlier ZM install and did a clean configure, make, and make install of 1.24.4 from the source, then set up the cameras and zones again using what was learned over the past few weeks. So far, the results have been excellent.
The snapshot, or preview, when mousing over the timeline was missing again, was producing the same errors in httpd/error_log as before, which suggested that it was a 'path issue'. Un-checking USE_DEEP_STORAGE on the Options -> Paths page appears to fix this, timeline mouseovers get a preview now.
24.4 handles the cctv cameras better, too, with Options -> Config V4L_MULTI_BUFFER un-checked. The cameras work as expected and the images are always in the right place -- with this box checked the wrong camera's image was always popping up in events.
This rig is capturing 4 Foscam wifi cameras here + 1 in an office across town, plus 2 cctv on a 4-port Brooktree Bt878 on an old quad-core, 32-bit Dell with 4 gigs, showing a load of .2 when things are idle and .4 when everything's alarmed. Before, with similar setup in 24.2 the load was twice as high.
The snapshot, or preview, when mousing over the timeline was missing again, was producing the same errors in httpd/error_log as before, which suggested that it was a 'path issue'. Un-checking USE_DEEP_STORAGE on the Options -> Paths page appears to fix this, timeline mouseovers get a preview now.
24.4 handles the cctv cameras better, too, with Options -> Config V4L_MULTI_BUFFER un-checked. The cameras work as expected and the images are always in the right place -- with this box checked the wrong camera's image was always popping up in events.
This rig is capturing 4 Foscam wifi cameras here + 1 in an office across town, plus 2 cctv on a 4-port Brooktree Bt878 on an old quad-core, 32-bit Dell with 4 gigs, showing a load of .2 when things are idle and .4 when everything's alarmed. Before, with similar setup in 24.2 the load was twice as high.