Zonminder web interface -> Montage Review

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
factor200x
Posts: 18
Joined: Fri Apr 06, 2018 6:35 am

Zonminder web interface -> Montage Review

Post by factor200x »

Hello, everybody,

when I call "Montage Review -> show all events" in the web interface, I get no view. And in the log of the browser I see the following error

SyntaxError: expected expression, got '<'

When I call up "Montage Review -> last 8 hours" in the web interface, everything works wonderfully.

Does anyone have the same problem or a tip how I can fix it?

Thanks
Olaf
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Zonminder web interface -> Montage Review

Post by iconnor »

You are probably running out of ram. default php settings allows 128Mb. Increase this in php.ini to something higher.
factor200x
Posts: 18
Joined: Fri Apr 06, 2018 6:35 am

Re: Zonminder web interface -> Montage Review

Post by factor200x »

Thanks, Olaf!
francis3
Posts: 17
Joined: Wed Jan 16, 2019 8:30 am

Re: Zonminder web interface -> Montage Review

Post by francis3 »

KVM cloud server here
cpu 2.0 Ghz
ram 2 GB
hdd 20 GB
Running Debian 10 stable with ZoneMinder 1.34.0

Had this annoyance since ZM 1.30 and didn't care too much about it.

Just tested the solution proposed by iconnor.
Modified /etc/php/7.3/apache2/php.ini

The first value to get it working correctly in my setup is:

Code: Select all

memory_limit = 1024M

Regards,
francis3
factor200x
Posts: 18
Joined: Fri Apr 06, 2018 6:35 am

Re: Zonminder web interface -> Montage Review

Post by factor200x »

I adjusted the value but I still have a problem when I extend the filter (date from to).

If I want to display more than 4 days, I get a white page after a long wait and in the log of the browser this error appears:

Code: Select all

Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline festgestellt ("script-src"). Ein CSP-Bericht wird gesendet.

(This error only occurs if the data filter is expanded as described!)


I have been searching the net for a configuration for MariaDB and PHP 7.3 but everything I have found and tried does not bring any change.

If someone could give me another hint, I would be very grateful!

Thanks a lot!
Olaf
Post Reply