No concole or web inferface after upgrade
No concole or web inferface after upgrade
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
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
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"
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
This appears to be a typo with this version. I edited /usr/share/zoneminder/www/index.php and on line 58 I changed:
to
Code: Select all
$dateFormatter->setPatter(ZM_DATE_FORMAT_PATTERN);
Code: Select all
$dateFormatter->setPattern(ZM_DATE_FORMAT_PATTERN);
Re: No concole or web inferface after upgrade
Yes, that worked. Thank you.
Re: No concole or web inferface after upgrade
Oh no! Now I have to do another release! Crap.
Re: No concole or web inferface after upgrade
Thanks for posting this. Fixed it for me too!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:
toCode: Select all
$dateFormatter->setPatter(ZM_DATE_FORMAT_PATTERN);
Code: Select all
$dateFormatter->setPattern(ZM_DATE_FORMAT_PATTERN);