Error on FreePBX When Applying Config - When FOP2 Is Enabled

  1. 10 years ago

    FOP2 was working fine up until a few weeks ago. Everytime I try to apple the config in FreePBX Admin I get the following error.

    Reload failed because retrieve_conf encountered an error: 1

    exit: 1
    found language dir fr for directory, not installed on system, skipping
    [FATAL] SELECT if(`defaultlot`='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus [nativecode=1146 ** Table 'asterisk.parkplus' doesn't exist]SQL -
    SELECT if(`defaultlot`='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus

    Trace Back:

    /var/www/html/admin/libraries/sql.functions.php:25 die_freepbx()
    [0]: SELECT if(`defaultlot`='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus [nativecode=1146 ** Table 'asterisk.parkplus' doesn't exist]SQL -
    SELECT if(`defaultlot`='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus

    /var/www/html/admin/modules/fop2admin/functions.inc.php:71 sql()
    [0]: SELECT if(`defaultlot`='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus
    [1]: getAll
    [2]: 2

    /var/lib/asterisk/bin/retrieve_conf:683 fop2admin_get_config()
    [0]: asterisk
    1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

    If I disable or uninstall FOP2 it works fine. Any ideas?

  2. admin

    18 Jan 2014 Administrator

    What fop2admin version do you have installed?

  3. I have fop2 2.27 installed with the FreePBX Admin 1.2.15.

  4. admin

    21 Jan 2014 Administrator

    You must install the Park module for fop2admin to work, do you have it installed?

or Sign Up to reply!