Member
Last active 10 years ago
We're running Asterisk 11.6 and Fop2 2.28. The upgrade to Fop2 Manager 1.03 is causing the reload button in Fop2 Manager not to work.
By changing a line in functions.php from:
$res = $astman->UserEvent('ZAP/1','Reload');
back to
$res = $astman->reload();
makes the reload to work again.
We're not running ZAP.
Instead of running 'service fop2 restart' from command line, a 'service fop2 reload' works in loading the changes in fop2 manager page.
The fop2reload.php page includes functions.php and the function reload_fop2 reads as:
function reload_fop2() {
global $astman, $conf;
if(!$res = $astman->connect($conf['MGRHOST'].':'.$conf['MGRPORT'], $conf['MGRUSER'] , $conf['MGRPASS'], 'off')) {
unset($astman);
}
if ($astman) {
$res = $astman->UserEvent('ZAP/1','Reload');
unset($_SESSION[MYAP]['needsreload']);
}
}
Having the same problem too. The changes have been made as can be seen by running /usr/local/fop2/autoconfig-users-freepbx.sh . However there are not loaded.
The logs by performing a reload using the manager page are:
[15:16:04.309] POST http://10.111.111.200/fop2/admin/fop2reload.php [HTTP/1.1 200 OK 38ms]
[15:16:20.233] POST http://10.111.111.200/fop2/admin/pagebs.fop2users.php [HTTP/1.1 200 OK 684ms]
[15:16:30.203] POST http://10.111.111.200/fop2/admin/fop2reload.php [HTTP/1.1 200 OK 28ms]
Changes using the Fop2 manager are effected only by restarting fop2 service.
We are already using FOP2 Admin 1.2.10 . You may want to try with 150 extensions.
Hi there,
We have 150 extensions in a Freepbx box with FOP2 addon. When I tried to click on the label, privacy, email or any box, the cursor will not be available in the box. Only the extension check box is clickable. The only way of getting to a specific box is by using the tab key. Since there are ten boxes/variables per extension, one will need to tab through over a thousand boxes to get to the trunks or conferences section at the bottom.
Even if a label is successfuly changed and reloaded, the change is not reflected in FOP2. The error log in httpd shows:
PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0, referer:
By changing or adding a 'max_input_vars = 5000' in php.ini solved the reload issue of over 1000 input variables. However, there is still a need to tab through a lot of boxes to get to the specific label.