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

Firewall Networks Database Errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13, 14, 15
    • Fix Version/s: 13, 14, 15
    • Component/s: Firewall
    • Labels:
      None
    • Sprint:
      Eastern Sprint 3!, Sprint 4!, Sprint 5!
    • ToDo:
    • Asterisk Version:
      16
    • Distro Version:
      15
    • Distro:
      FreePBX Distro

      Description

      When attempting to add a network, followed by pressing the SAVE button, or when attempting to delete more than 1 network (Firewall Networks tab), the following error is thrown:

      Array to string conversion
      File:/var/www/html/admin/libraries/BMO/Database/PDOStatement.class.php:17

      Numbers other than 17 have appeared, but 17 is the most common error in the red popup banner.  As a side note - very hard to cut and paste those errors as the banner goes away very quickly.

      Comment: It seems that recent updates affected Firewall behavior as relates to parsing the network list.  On restarts/reloads the full list does not seem to fully populate into iptables.  Have been unable to isolate specific examples other than to say working systems were broken due to Firewall after recent updates.  Turning off Firewall confirmed source of issue.  Removing all networks from trusted via a script and reloading fixed issue.  Perhaps investigation of this issue and others reported (FREPBX-19644, FREEPBX-19646) will identify the problem which seems to relate to processing long network lists.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tm1000 Andrew Nagy
                Reporter:
                chriskinsey Chris Kinsey
              • 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.