Hi,
up to version 1.35.6_20200825114814-focal from ubuntu ppa I could log in, land on console page see my 2 cameras, click Montage and land on page with both cameras enlarged. If I downgrade to that version this functionality immediately returns.
Any version later than that after landing on console I click on Montage and land on page that is empty where the cameras should be displayed. I can select any of the filters that should produce monitor(s) as result, but at no point any camera output appears in Montage view. I cleared browser cache and restarted browser before logging into new version.
The only thing that appears in log while selecting the filters is:
web_php WAR Have width px /usr/share/zoneminder/www/includes/functions.php line 2085
web_php ERR [Uncaught ReferenceError: fo is not defined]
Thanks for any help
Montage view not working last few snapshots [Solved]
Montage view not working last few snapshots [Solved]
Last edited by sammael on Sat Sep 12, 2020 10:21 am, edited 1 time in total.
Re: Montage view not working last few snapshots
Only think I can think of would be if there was a bad value stored in a cookie and if that value isn't in the width or height dropdowns it will still say auto even though the actual value used is something else. Try playing around with different width/height/layout settings and see if it comes back.
The fo is not defined came from zones view I think. Have fixed it.
The fo is not defined came from zones view I think. Have fixed it.
Re: Montage view not working last few snapshots
I tried on different computer where I use dark theme. The cameras come up as squares of size 2px by 2px with the proper fps text underneath like this (screenshot on my nextcloud) :https://turbomrak.o5.ddns.net/s/c45taXfkPJZbntP. This is not the same error as the one where the live pics won't show, but the jpgs still get captured, the cameras are actually playing inside those 2px boxes if i click on right pixel the camera comes up and plays in the popup window. No selections of Width / Height Scale or Layout enlarge them.
In ZM log:
This is on 1.35.6~20200903182515-focal at the writing of this post. I'm reluctant to clear the cookies because then I have to log into million webpages again, but if that's the last resort I'll do that over weekend.
In ZM log:
I also noticed on my main computer where I use default theme the controls in Montage are all broken like so: https://turbomrak.o5.ddns.net/s/8MoBMawYTJpmZFr2020-09-04 15:07:02 web_js 17710 ERR Uncaught TypeError: Cannot read property 'get' of null zm/cache/skins_classic_views_js_montage-dark-1599171915.js 145
2020-09-04 15:06:53 web_php 17726 WAR Have width 0px /usr/share/zoneminder/www/includes/functions.php 2091
2020-09-04 15:06:53 web_php 17726 WAR Scale is 0 /usr/share/zoneminder/www/includes/functions.php 2094
2020-09-04 15:06:53 web_php 17726 WAR Have width 0px /usr/share/zoneminder/www/includes/functions.php 2091
2020-09-04 15:06:53 web_php 17726 WAR Scale is 0 /usr/share/zoneminder/www/includes/functions.php 2094
2020-09-04 15:06:40 web_php 17726 WAR Have width px /usr/share/zoneminder/www/includes/functions.php 2091
2020-09-04 15:06:18 web_php 18337 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
This is on 1.35.6~20200903182515-focal at the writing of this post. I'm reluctant to clear the cookies because then I have to log into million webpages again, but if that's the last resort I'll do that over weekend.
Re: Montage view not working last few snapshots
you can clear the cookies for just your zm install. You don't have to clear them all.
Re: Montage view not working last few snapshots
Ok cleared the cookies for the zm page only, after logging back in the cameras are finally shown in the Montage view, but the scaling of them still doesn't work. They show 1 under another at actual size regardless of the scale / layout setting.
In log:
As it is now it's already workable for me, but I'd still be happier if I could get the cameras scaled 1 next to each other with the "2 wide" layout.
In log:
Code: Select all
2020-09-05 02:57:50 web_js 62639 ERR Uncaught TypeError: Cannot read property 'get' of null zm/cache/skins_classic_views_js_montage-base-1599171915.js 145
2020-09-05 02:57:45 web_php 73523 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:57:37 web_php 62568 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:57:27 web_php 62568 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:57:22 web_php 62568 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:57:07 web_php 62567 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:57:07 web_php 62567 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:56:59 web_php 62630 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:56:25 web_js 62629 ERR Uncaught TypeError: Cannot read property 'get' of null zm/cache/skins_classic_views_js_montage-base-1599171915.js 145
2020-09-05 02:56:19 web_js 62629 ERR Uncaught TypeError: Cannot read property 'get' of null zm/cache/skins_classic_views_js_montage-base-1599171915.js 145
2020-09-05 02:56:11 web_js 62629 ERR Uncaught TypeError: Cannot read property 'get' of null zm/cache/skins_classic_views_js_montage-base-1599171915.js 145
2020-09-05 02:55:44 web_php 62570 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:55:44 web_php 62570 WAR Setting dimensions from scale:100 /usr/share/zoneminder/www/includes/functions.php 2069
2020-09-05 02:55:41 web_php 62569 ERR No view JS FILE? /usr/share/zoneminder/www/skins/classic/includes/functions.php 829
2020-09-05 02:54:54 web_php 62601 ERR No view JS FILE?
Re: Montage view not working last few snapshots
Just pushed a fix for the scaling.
Re: Montage view not working last few snapshots
Great stuff now everything in Montage works, many thanks for your efforts!