I did a fresh install on my new server, restored backup from old server, and cannot apply configuration changes.
retrieve_conf failing
updated all freepbx modules,
retrieve_conf is still failing, (Reload failed because retrieve_conf encountered an error: 11)
reading through other threads, tried to run retrieve_conf on command line as root, here is the result, same as when running it from free pbx
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf …OK
Bootstrapping /etc/amportal.conf …OK
Parsing /etc/amportal.conf …OK
Parsing /etc/asterisk/asterisk.conf …OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = amp111
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 131
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 131
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 131
PHP Warning: array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 209
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 209
Please update your modules and reload Asterisk by browsing to your server.
Any help would be appreciated, I need to get this server up.