Exception error when clicking Extensions pane

VitalPBX Community Support General Discussion Exception error when clicking Extensions pane

  • Post
    kbohannon
    Participant

    Anyone else getting this error when clicking PBX / Extensions / Extensions? Calls function normally and I can look at all other panes. A restart didn’t help. 2.3.6-1, installed using the ISO (I may just rebuild the server using CentOS and the script, in order to make this server compatible with the VPS provider’s backup service).

    Exception: Argument 1 passed to ombutelquery::select() must be an instance of ombutelschema, null given, called in /usr/share/ombutel/www/includes/persistent.php on line 0 and defined at file /usr/share/ombutel/www/includes/query.php on line 0

    0
Viewing 5 replies - 1 through 5 (of 5 total)
  • Replies
    Up
    0
    Down

    Did you install/uninstall any additional add-on?

    0
    kbohannon
    Participant
    Up
    0
    Down

    @ing-joserivera26

    Nope. Often I install the Virtual Fax add-on, but not in this case.

    0
    Up
    0
    Down

    Try executing the following command on the Linux console:

    vitalpbx --build-db

    Let me know if that fixes the issue.

    0
    kbohannon
    Participant
    Up
    0
    Down

    @ing-joserivera26

    It did. I can now click on my extensions. In the CLI though it returns the following:

    [root@blahblah ~]# vitalpbx –build-db

    Importing fax.sql…

    PHP Fatal error:  Uncaught exception ‘Exception’ with message ‘ERROR 1062 (23000) at line 12: Duplicate entry ‘1-130’ for key ‘role_id’

    ‘ in /usr/share/ombutel/scripts/apply_patches:0

    Stack trace:

    #0 /usr/share/ombutel/scripts/apply_patches(0): patcher::shellcmd()

    #1 /usr/share/ombutel/scripts/apply_patches(0): patcher->shellcmd()

    #2 /usr/share/ombutel/scripts/apply_patches(0): patcher->import_dbscript()

    #3 /usr/share/ombutel/scripts/apply_patches(0): patcher->apply()

    #4 {main}

      thrown in /usr/share/ombutel/scripts/apply_patches on line 0

    Done

    0
    Up
    0
    Down

    Looks like you had the fax add-on installed.

    0
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.