Page 1 of 1
No concole or web inferface after upgrade
Posted: Tue Oct 22, 2024 11:33 pm
by swolsen
Just upgraded to 1.36.35 from 1.36.34 and no longer have a web interface. Just a white screen. Not sure what happened.
Re: No concole or web inferface after upgrade
Posted: Tue Oct 22, 2024 11:46 pm
by iconnor
Please check apache logs. /var/log/apache2/error.log. The answer will be there. I can't think of any change that would cause this, but again... the answer will be there.
Re: No concole or web inferface after upgrade
Posted: Wed Oct 23, 2024 12:09 am
by swolsen
I just did a purge and removed zoneminder completely. Reinstalled but still same problem.
apache error log has
[Tue Oct 22 19:53:10.711371 2024] [php:error] [pid 1835] [client 192.168.54.88:43956] PHP Fatal error: Uncaught Error: Call to undefined method IntlDateFormatter::setPatter() in /usr/share/zoneminder/www/index.php:58\nStack trace:\n#0 {main}\n thrown in /usr/share/zoneminder/www/index.php on line 58
looking at page source for web interface just has a "1"
Re: No concole or web inferface after upgrade
Posted: Wed Oct 23, 2024 5:20 am
by gavinwa
This appears to be a typo with this version. I edited /usr/share/zoneminder/www/index.php and on line 58 I changed:
Code: Select all
$dateFormatter->setPatter(ZM_DATE_FORMAT_PATTERN);
to
Code: Select all
$dateFormatter->setPattern(ZM_DATE_FORMAT_PATTERN);
Re: No concole or web inferface after upgrade
Posted: Wed Oct 23, 2024 10:13 am
by swolsen
Yes, that worked. Thank you.
Re: No concole or web inferface after upgrade
Posted: Wed Oct 23, 2024 1:04 pm
by iconnor
Oh no! Now I have to do another release! Crap.
Re: No concole or web inferface after upgrade
Posted: Fri Oct 25, 2024 3:02 am
by mr.goose
gavinwa wrote: ↑Wed Oct 23, 2024 5:20 am
This appears to be a typo with this version. I edited /usr/share/zoneminder/www/index.php and on line 58 I changed:
Code: Select all
$dateFormatter->setPatter(ZM_DATE_FORMAT_PATTERN);
to
Code: Select all
$dateFormatter->setPattern(ZM_DATE_FORMAT_PATTERN);
Thanks for posting this. Fixed it for me too!