No concole or web inferface after upgrade

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
User avatar
swolsen
Posts: 34
Joined: Sat Mar 20, 2021 9:39 pm
Location: Schenectady, NY, USA

No concole or web inferface after upgrade

Post 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.
User avatar
iconnor
Posts: 3274
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: No concole or web inferface after upgrade

Post 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.
User avatar
swolsen
Posts: 34
Joined: Sat Mar 20, 2021 9:39 pm
Location: Schenectady, NY, USA

Re: No concole or web inferface after upgrade

Post 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"
gavinwa
Posts: 1
Joined: Wed Oct 23, 2024 5:16 am

Re: No concole or web inferface after upgrade

Post 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);
User avatar
swolsen
Posts: 34
Joined: Sat Mar 20, 2021 9:39 pm
Location: Schenectady, NY, USA

Re: No concole or web inferface after upgrade

Post by swolsen »

Yes, that worked. Thank you.
User avatar
iconnor
Posts: 3274
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: No concole or web inferface after upgrade

Post by iconnor »

Oh no! Now I have to do another release! Crap.
mr.goose
Posts: 4
Joined: Tue Feb 19, 2019 1:32 pm

Re: No concole or web inferface after upgrade

Post 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! :)
Post Reply