Page 1 of 1

Zonminder web interface -> Montage Review

Posted: Sat Feb 01, 2020 10:36 am
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

Re: Zonminder web interface -> Montage Review

Posted: Sat Feb 01, 2020 10:47 pm
by iconnor
You are probably running out of ram. default php settings allows 128Mb. Increase this in php.ini to something higher.

Re: Zonminder web interface -> Montage Review

Posted: Sun Feb 02, 2020 3:08 pm
by factor200x
Thanks, Olaf!

Re: Zonminder web interface -> Montage Review

Posted: Mon Feb 03, 2020 12:14 pm
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

Re: Zonminder web interface -> Montage Review

Posted: Tue Feb 11, 2020 4:06 pm
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