FreePBX / sng_freepbx_debian_install

FreePBX 17 Installation Script
51 stars 15 forks source link

[bug]: Cannot download OpenVPN client config files due to use of deprecated function #54

Closed W6HBR closed 2 weeks ago

W6HBR commented 2 weeks ago

FreePBX Version

FreePBX 17

Issue Description

The following error occurs when trying to download OpenVPN client configuration files from UCP.

Whoops\Exception\ErrorException /var/www/html/admin/modules/sysadmin/ucp/Sysadmin.class.php108 ZipArchive::open(): Using empty file as ZipArchive is deprecated

Operating Environment

FreePBX 17.0.15.27 Asterisk Version: 21.0.2 Debian 12

Relevant log output

Whoops\Exception\ErrorException thrown with message "ZipArchive::open(): Using empty file as ZipArchive is deprecated"

Stacktrace:
#4 Whoops\Exception\ErrorException in /var/www/html/admin/modules/sysadmin/ucp/Sysadmin.class.php:108
#3 ZipArchive:open in /var/www/html/admin/modules/sysadmin/ucp/Sysadmin.class.php:108
#2 UCP\Modules\Sysadmin:downloadClientConfig in /var/www/html/admin/modules/sysadmin/ucp/Sysadmin.class.php:66
#1 UCP\Modules\Sysadmin:ajaxCustomHandler in /var/www/html/admin/modules/ucp/htdocs/includes/Ajax.class.php:119
#0 UCP\Ajax:doRequest in /var/www/html/admin/modules/ucp/htdocs/index.php:70
kguptasangoma commented 2 weeks ago

sysadmin v17.0.1.87