Latest install of FusionPBX with FreeSWITCH v1.11.0 on new AWS EC2 instance of Debian 13. If I try to save anything in Advanced > Variables it gives:
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /var/www/fusionpbx/resources/switch.php:329 Stack trace: #0 /var/www/fusionpbx/resources/switch.php(329): fwrite() #1 /var/www/fusionpbx/app/vars/var_edit.php(148): save_var_xml() #2 {main} thrown in /var/www/fusionpbx/resources/switch.php on line 329
Permissions of vars.xml look correct:
-rw-r--r-- 1 www-data www-data 4668 May 22 11:29 /etc/freeswitch/vars.xml
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /var/www/fusionpbx/resources/switch.php:329 Stack trace: #0 /var/www/fusionpbx/resources/switch.php(329): fwrite() #1 /var/www/fusionpbx/app/vars/var_edit.php(148): save_var_xml() #2 {main} thrown in /var/www/fusionpbx/resources/switch.php on line 329
Permissions of vars.xml look correct:
-rw-r--r-- 1 www-data www-data 4668 May 22 11:29 /etc/freeswitch/vars.xml