Hi,
I did an upgrade from ports on freebsd and now zoneminder wont show the UI on a web browser.
Using PHP7.2 with openssl and php-fpm installed
Using nginx
Openssl is uncommented in php.ini (extension=openssl)
Error in the nginx logs:
2020/03/21 11:01:01 [error] 22513#102247: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function openssl_random_pseudo_bytes() in /usr/local/www/zoneminder/index.php:180
Stack trace:
#0 {main}
thrown in /usr/local/www/zoneminder/index.php on line 180" while reading response header from upstream, client: 192.168.0.23, server: _, request: "GET /zm/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.0.27"
Failed upgrade to 1.34.6 on Freebsd
Re: Failed upgrade to 1.34.6 on Freebsd
You could try changing that line 180 to use random_bytes instead of openssl_random_pseudo_bytes
Re: Failed upgrade to 1.34.6 on Freebsd
Master has a fix and 1.34.7 will contain it as well.
Re: Failed upgrade to 1.34.6 on Freebsd
Perfect. Thats fixed it. Legend!