Web Configuration Client Issues for Bluecherry Server 3

There are two issues with the web configuration client for Bluecherry server v3.1.6. These were also occuring in several of the previous versions.

  1. The format of the “DVR General Settings” page in the web configuration client for Bluecherry server does not have any CSS styling and only displays configuration fields for DVR Name, DVR memos and Record length. It is missing the configuration fields for setting up the SMTP server configuration.

  2. The subdomainprovider page for SSL/CNAME setup fails to load completely and returns HTTP Error 500.


The General Settings page throws the following errors in /var/log/nginx/bluecherry-errors.log:

2024/10/24 11:47:48 [error] 8714#8714: *9 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string / int in /usr/share/bluecherry/www/template/ajax/general.php:59
Stack trace:
#0 /usr/share/bluecherry/www/lib/View.php(67): include()
#1 /usr/share/bluecherry/www/lib/Controller.php(58): View->render()
#2 /usr/share/bluecherry/www/lib/Controller.php(148): Controller->getStartView()
#3 /usr/share/bluecherry/www/lib/Route.php(75): Controller->start()
#4 /usr/share/bluecherry/www/index.php(16): Route->start()
#5 {main}
thrown in /usr/share/bluecherry/www/template/ajax/general.php on line 59” while reading response header from upstream, client: 172.20.40.115, server: , request: “GET /general?type=ajax_content HTTP/1.1”, upstream: “fastcgi://unix:/etc/alternatives/php-fpm.sock:”, host: “debian12-bluecherry:7001”, referrer: “https://debian12-bluecherry:7001/notifications
2024/10/24 11:47:48 [error] 8714#8714: *9 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string / int in /usr/share/bluecherry/www/template/ajax/general.php:59
Stack trace:
#0 /usr/share/bluecherry/www/lib/View.php(67): include()
#1 /usr/share/bluecherry/www/lib/Controller.php(58): View->render()
#2 /usr/share/bluecherry/www/lib/Controller.php(148): Controller->getStartView()
#3 /usr/share/bluecherry/www/lib/Route.php(75): Controller->start()
#4 /usr/share/bluecherry/www/index.php(16): Route->start()
#5 {main}
thrown in /usr/share/bluecherry/www/template/ajax/general.php on line 59” while reading response header from upstream, client: 172.20.40.115, server: , request: “GET /general HTTP/1.1”, upstream: “fastcgi://unix:/etc/alternatives/php-fpm.sock:”, host: “debian12-bluecherry:7001”, referrer: “https://debian12-bluecherry:7001/notifications

The subdomain page throws the following errors in the same file:

2024/10/24 11:49:08 [error] 8715#8715: *77 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /usr/share/bluecherry/www/ajax/subdomainproviderbase.php:88
Stack trace:
#0 /usr/share/bluecherry/www/ajax/subdomainproviderbase.php(69): subdomainproviderbase->postToApi()
#1 /usr/share/bluecherry/www/ajax/subdomainproviderbase.php(139): subdomainproviderbase->getLicenseId()
#2 /usr/share/bluecherry/www/ajax/subdomainprovider.php(37): subdomainproviderbase->getFromApiWithToken()
#3 /usr/share/bluecherry/www/ajax/subdomainprovider.php(13): subdomainprovider->initForm()
#4 /usr/share/bluecherry/www/lib/Controller.php(137): subdomainprovider->getData()
#5 /usr/share/bluecherry/www/lib/Route.php(75): Controller->start()
#6 /usr/share/bluecherry/www/index.php(16): Route->start()
#7 {main}
thrown in /usr/share/bluecherry/www/ajax/subdomainproviderbase.php on line 88” while reading response header from upstream, client: 172.20.40.115, server: , request: “GET /subdomainprovider HTTP/1.1”, upstream: “fastcgi://unix:/etc/alternatives/php-fpm.sock:”, host: “debian12-bluecherry:7001”, referrer: “https://debian12-bluecherry:7001/notifications