Blank page on Montage review - Timezone issue

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
Bullhill
Posts: 1
Joined: Tue Feb 02, 2021 9:34 am

Blank page on Montage review - Timezone issue

Post by Bullhill »

I got blankpage on my montage review page, the solution was to set timezone in options

Code: Select all

[Tue Feb 02 10:30:55.613034 2021] [php7:error] [pid 595] [client 192.168.1.4:17590] PHP Fatal error:  Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /usr/share/zoneminder/www/skins/classic/views/js/montage
review.js.php:3\nStack trace:\n#0 /usr/share/zoneminder/www/skins/classic/views/js/montagereview.js.php(3): DateTimeZone->__construct()\n#1 /usr/share/zoneminder/www/skins/classic/includes/functions.php(175): require_once('/usr/share/zon
e...')\n#2 /usr/share/zoneminder/www/skins/classic/views/montagereview.php(239): xhtmlHeaders()\n#3 /usr/share/zoneminder/www/index.php(282): require_once('/usr/share/zone...')\n#4 {main}\n  thrown in /usr/share/zoneminder/www/skins/clas
sic/views/js/montagereview.js.php on line 3, referer: http://*****/zm/index.php?view=options
Default value is "use php.ini" but my php.ini have not set a timezone rather. I got the problem when i upgraded Ubuntu from 18.04.5 to 20.04.1, ZoneMinder (Dont know the old version, but at least back to 1.33.xx) and PHP from 7.2 to 7.4 in one go. I dont know where in that process the problem come, and its mayme my fault that do that much in one update.
But i think ZM can give a propper error message insted on blankpage :)
Post Reply