Freepbx Addon - FOP2 buttons issues

  1. 12 years ago

    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.

  2. admin

    21 Mar 2012 Administrator

    Upgrade to fop2admin 1.2.10, you are probably using an older version. That should fix the submit button and editing.

  3. We are already using FOP2 Admin 1.2.10 . You may want to try with 150 extensions.

  4. admin

    22 Mar 2012 Administrator

    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.

  5. 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.

  6. 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.

  7. Works now! Thanks.

  8. admin

    23 Mar 2012 Administrator

    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.

or Sign Up to reply!