Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: n8v8r on January 23, 2018, 06:46:09 AM

Title: fatal error - SSL vHost Manager (certificate location)
Post by: n8v8r on January 23, 2018, 06:46:09 AM
CentOS Linux release 7.4.1708 (Core) with kernel 3.10.0-693.11.6.el7.x86_64
Apache/2.4.29 with PHP5.6.30
10.1.30-MariaDB
CWPpro version: 0.9.8.429

On the CWP page /admin/index.php?module=ssl_vhosts (http://forum.centos-webpanel.com/admin/index.php?module=ssl_vhosts) clicking the link Location of Certificate files /etc/pki/tls/certs/ (http://forum.centos-webpanel.com/etc/pki/tls/certs/) which leads to /admin/index.php?module=file_manager&dir=%2Fetc%2Fpki%2Ftls%2Fcerts%2F (http://forum.centos-webpanel.com/admin/index.php?module=file_manager&dir=%2Fetc%2Fpki%2Ftls%2Fcerts%2F) and producing a garbled page showing at the bottom this error

Code: [Select]
Fatal error: Uncaught Error: Call to undefined function ereg() in /usr/local/cwpsrv/htdocs/resources/admin/modules/file_manager.php:0 Stack trace: #0 /usr/local/cwpsrv/htdocs/resources/admin/modules/file_manager.php(0): simplify_path('/etc/pki/tls/ce...') #1 /usr/local/cwpsrv/htdocs/resources/admin/modules/file_manager.php(0): relative2absolute('/etc/pki/tls/ce...', '/etc/pki/tls/ce...') #2 /usr/local/cwpsrv/htdocs/resources/admin/modules/file_manager.php(0): listing(Array) #3 /usr/local/cwpsrv/htdocs/resources/admin/modules/file_manager.php(0): listing_page() #4 /usr/local/cwpsrv/htdocs/admin/admin/index.php(0): unknown() #5 {main} thrown in /usr/local/cwpsrv/htdocs/resources/admin/modules/file_manager.php on line 0
Title: Re: fatal error - SSL vHost Manager (certificate location)
Post by: n8v8r on January 26, 2018, 10:56:52 AM
seems fixed with CWP 0.9.8.436