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

    Cannot fetch URL alias

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 2.5k 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.
    • M
      mikesamo
      last edited by

      Using:

      2.1-BETA0 (i386) (embedded)
      built on Wed Aug 22 14:52:49 EDT 2012
      FreeBSD 8.3-RELEASE-p4

      Getting this error:

      php: : The command '/usr/bin/fetch -T 5 -q -o "/tmp/alias_importWWXzTZ/aliases" "Array"' returned exit code '1', the output was 'fetch: Array: No such file or directory

      Thanks,

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

        That seems to suggest you somehow have multiple URLs in an alias… I didn't think the GUI allowed you do to that.

        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
        • B
          bardelot
          last edited by

          Just looked at the code and apparently the code in "firewall_aliases_edit.php" allows multiple urls and will create arrays.

          e.g. (line 241) $alias['aliasurl'][] = $_POST['address' . $x];

          while the update_alias_url_data() function  in "pfsense-utils.inc" cannot handle arrays.

          Edit: should be fixed in the next snapshot or so

          1 Reply Last reply Reply Quote 0
          • M
            mikesamo
            last edited by

            i got only one url in the alias

            1 Reply Last reply Reply Quote 0
            • M
              mikesamo
              last edited by

              seem to be fixed with this commit

              https://github.com/bsdperimeter/pfsense/commit/2ef160144f2232e89810023c63af99c2b476fe86

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