Freepbx Addon - FOP2 buttons issues

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.

Comments

  • Upgrade to fop2admin 1.2.10, you are probably using an older version. That should fix the submit button and editing.
  • We are already using FOP2 Admin 1.2.10 . You may want to try with 150 extensions.
  • Check the last line in /var/www/html/admin/modules/fop2admin/page.fop2buttons.php

    remove the ".disableSelection()" string from the last command, and try again.
  • I am also experiencing the max_input_vars exceeded 1000 error. Apparently since PHP 5.3.9 the new variable max_input_vars is defaulted to 1000. I also added it to php.ini and set it to 5000 to get past the issue.
  • Check the last line in /var/www/html/admin/modules/fop2admin/page.fop2buttons.php

    remove the ".disableSelection()" string from the last command, and try again.

    I did this and still received the max_input_vars exceeded 1000 error.
  • Works now! Thanks.
  • Check the last line in /var/www/html/admin/modules/fop2admin/page.fop2buttons.php

    remove the ".disableSelection()" string from the last command, and try again.

    I did this and still received the max_input_vars exceeded 1000 error.

    as you already find out, you have to edit php.ini to pass that. I will update fop2admin in the future to add inplace ajax editing, avoiding that silly limit.
Sign In or Register to comment.