Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    UPnp Broken in 1.2.3-RC2 built on Wed Aug 12 08:34:03 EDT 2009 ?

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    5 Posts 3 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fighting Power
      last edited by

      When i try to enable UPnP in the latest build i get the following error:

      Warning: Invalid argument supplied for foreach() in /usr/local/pkg/miniupnpd.inc on line 36 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pkg/miniupnpd.inc:36) in /usr/local/www/pkg_edit.php on line 35

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The pointy hat goes to me on that one. When I added some code to handle traffic shaping in UPnP recently I forgot to test if an array actually existed before accessing it.

        I'll try to work up a fix shortly.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          I fixed it in 2.0, and submitted a patch for approval for 1.2.x.

          In the meantime, as an interim fix, you could just run through the shaper config and then disable the shaper when finished and it will then have a valid array to parse. (Ugly, yes, but it will make things work for now…)

          Should hopefully be in by tomorrow.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            The fix for this has been committed.

            1 Reply Last reply Reply Quote 0
            • F
              Fighting Power
              last edited by

              ok thx

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.