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

    Pfsense 2.0 GA: Parse Error

    webGUI
    2
    7
    3.1k
    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.
    • T
      tohil
      last edited by

      Hi Community,

      I got this error, when I click on Interfaces -> any Interface

      Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ')' in /usr/local/www/interfaces.php on line 797

      any ideas?

      regards

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

        Looks like your file must have been corrupted somehow, there isn't a syntax error on that line in the code that shipped with 2.0.

        Is this a new install or an upgrade?

        What is on that line in interfaces.php, and the few lines around it?

        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
        • T
          tohil
          last edited by

          @jimp:

          Looks like your file must have been corrupted somehow, there isn't a syntax error on that line in the code that shipped with 2.0.

          Is this a new install or an upgrade?

          What is on that line in interfaces.php, and the few lines around it?

          I guess my CF is dead! it was a new 2.0 installation, after reboot i have just this left :-)

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

            hah, yeah… I'd say that CF has seen better days.

            You may be able to reboot back to the other slice and work for a bit, but if you have another CF, I'd swap it out pronto.

            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
            • T
              tohil
              last edited by

              @jimp:

              hah, yeah… I'd say that CF has seen better days.

              You may be able to reboot back to the other slice and work for a bit, but if you have another CF, I'd swap it out pronto.

              Oh yes! Cheap CF card is now replaced with a new one. also cheap but okay :-)

              i've bought a SanDisk SanDisk ULTRA Compact Flash 200x, 4 GB
              this card has calculates its space with 1MB=1000KB instead of 1024KB. So the 4GB pfSense Image doesnt fit and i had to use the 2GB -> Same functions, doesnt need more space…. so what`? :-)

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

                Should work fine. Once we post images for 2.0.1 they are sized to 1000's instead of 1024 so they'll fit again.

                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
                • T
                  tohil
                  last edited by

                  @jimp:

                  Should work fine. Once we post images for 2.0.1 they are sized to 1000's instead of 1024 so they'll fit again.

                  Okay, that sound's nice. I will change the image until 2.0.1 will be released. its working like a charm right now :-)

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