just installed 1.36.20 (armhf version) on xenial. Receiving the below error trying to go to ZM site:

1.36.19 was running fine.
Any idea to solve the issue?
Downgraded to 1.36.19 and running again fine.
thanks
So, there are instructions about enabling php-intl floating around all over the web, and depending on your XP level you may or may not want to find one tailored to your system, but you basically need `extension=intl` to be set, and the module to be installed.
Code: Select all
holly ~ # locate php.ini| xargs grep -n "=intl"
/etc/php/apache2-php7.4/php.ini:921:;extension=intl
/etc/php/apache2-php8.0/php.ini:930:;extension=intl
/etc/php/apache2-php8.1/php.ini:925:;extension=intl
... snip ...
Code: Select all
[Sat Jul 16 17:05:28.213455 2022] [php7:error] [pid 227322] [client 192.168.0.7:38890] PHP Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /usr/share/zoneminder/www/includes/config.php:142\nStack trace:\n#0 /usr/share/zoneminder/www/index.php(46): require_once()\n#1 {main}\n thrown in /usr/share/zoneminder/www/includes/config.php on line 142
Yeah, it's basically registering functions that are used all over the code, if you took out those definitions you'd just get errors everywhere they are used instead.
Maybe, but it's bit extreme!do you think that would fix it
Code: Select all
apt reinstall php7.4-intl
Code: Select all
sudo grep "=intl" /etc/php/* -R 2>/dev/null
thanks. I'm on xenial/armhf with php 7.4 by Ondrej.
I think this might be the root cause of your issue, Ondrej's php PPA doesn't have any xenial packages in it on checking today, only >=18.04.
Code: Select all
apt install mlocate
updatedb
locate intl.so
Code: Select all
<?php phpinfo() ?>
You're welcome, I'm used to linux, just not ubuntu or ZM, so it helped me to get some insight into how to poke around inside a .deb package manager, plus VM's are so quick to set-up nowadays it's silly NOT to try and emulate someones issue, plus fixing someones OS issue lets the devs write code instead of troubleshooting