Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-9723

Can't install REST API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: RESTful API
    • Labels:
      None
    • Sprint:
      Beta 13
    • ToDo:

      Description

      Installing restapi

      
      FATAL ERROR
      SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asterisk.restapi_token_user_mapping' doesn't exist
      
      Trace Back
      
      : die_freepbx()
        [0]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asterisk.restapi_token_user_mapping' doesn't exist
      
      /var/www/html/admin/libraries/sql.functions.php:138 call_user_func()
        [0]: die_freepbx
        [1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asterisk.restapi_token_user_mapping' doesn't exist
      
      /var/www/html/admin/modules/restapi/functions.inc/user.functions.php:15 db_e()
      
      /var/www/html/admin/modules/restapi/Restapi.class.php:55 restapi_user_get_user_tokens()
        [0]: 13
      
      /var/www/html/admin/libraries/modulefunctions.class.php:2314 FreePBX\modules\Restapi->install()
      
      /var/www/html/admin/libraries/modulefunctions.class.php:1884 module_functions->_runscripts()
        [0]: restapi
        [1]: install
      
      /var/www/html/admin/page.modules.php:283 module_functions->install()
        [0]: restapi
      
      /var/www/html/admin/config.php:350 include()
        [0]: /var/www/html/admin/page.modules.php
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jfinstrom James Finstrom
                Reporter:
                lgaetz Lorne Gaetz
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.