Issue after install the fop2admin freebpx module

  1. 13 years ago

    hello im having an issue after i did installed the freepbx module fop2admin.
    i did instal first the latest version of fop2 seems to work.
    but when i did upload the module to freepbx and installed i get the Orange bar in the top to apply the changes.
    so when i do that i get this:
    exit: 1
    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
    [FATAL] SELECT data FROM parkinglot WHERE keyword='parkext' [nativecode=1146 ** Table 'asterisk.parkinglot' doesn't exist]SQL -
    SELECT data FROM parkinglot WHERE keyword='parkext'
    Array
    (
    [0] => Array
    (
    [file] => /var/www/html/admin/functions.inc.php
    [line] => 1449
    [function] => die_freepbx
    [args] => Array
    (
    [0] => SELECT data FROM parkinglot WHERE keyword='parkext' [nativecode=1146 ** Table 'asterisk.parkinglot' doesn't exist]SQL -
    SELECT data FROM parkinglot WHERE keyword='parkext'
    )

    )

    [1] => Array
    (
    [file] => /var/www/html/admin/modules/fop2admin/functions.inc.php
    [line] => 68
    [function] => sql
    [args] => Array
    (
    [0] => SELECT data FROM parkinglot WHERE keyword='parkext'
    [1] => getRow
    [2] => 2
    )

    )

    [2] => Array
    (
    [file] => /var/lib/asterisk/bin/retrieve_conf
    [line] => 613
    [function] => fop2admin_get_config
    [args] => Array
    (
    [0] => asterisk
    )

    )

    )

    1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

    And i cannot submit any changes.

    Seems the issue is about the database? but how can fix this?
    Thanks

  2. admin

    25 Nov 2011 Administrator

    Install the parking lot module and try again...

  3. Thanks nicolas, that worked great

or Sign Up to reply!