Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    [Help] pfSense-pkg-squid: 0.4.35 -> 0.4.35_1 [pfSense]

    Scheduled Pinned Locked Moved Cache/Proxy
    13 Posts 7 Posters 3.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
      meruem
      last edited by

      Just upgrade squid and now cant access web app

      
      >>> Upgrading pfSense-pkg-squid... 
      Updating pfSense-core repository catalogue...
      pfSense-core repository is up-to-date.
      Updating pfSense repository catalogue...
      pfSense repository is up-to-date.
      All repositories are up-to-date.
      The following 1 package(s) will be affected (of 0 checked):
      
      Installed packages to be UPGRADED:
      	pfSense-pkg-squid: 0.4.35 -> 0.4.35_1 [pfSense]
      
      Number of packages to be upgraded: 1
      
      55 KiB to be downloaded.
      

      http://192.168.1.1:8080/

      
      Parse error: syntax error, unexpected 'use' (T_USE) in /etc/inc/priv/squid.priv.inc on line 22 Call Stack: 
      0.0004 225592 1\. {main}() /usr/local/www/index.php:0 0.0009 230904 2\. 
      require_once('/usr/local/www/guiconfig.inc') /usr/local/www/index.php:72 0.0014 251904 3\. 
      require_once('/etc/inc/authgui.inc') /usr/local/www/guiconfig.inc:79 0.0256 1345520 4\. 
      include_once('/etc/inc/priv.inc') /etc/inc/authgui.inc:58
      
      

      I restarted webConfigurator (option 11), I get the same error

      I'm scared to reboot pfsense

      1 Reply Last reply
      Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        I have no idea what syntax error you have on line 22: https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/etc/inc/priv/squid.priv.inc#L22

        1 Reply Last reply
        Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          OK, you are on 2.3.3? Looks like the "cherrypick" or god knows what script they are using really screwed things there. Just delete that file and fetch the copy linked above.

          How to fix this:

          
          cd /etc/inc/priv
          rm squid.priv.inc
          fetch https://raw.githubusercontent.com/pfsense/FreeBSD-ports/devel/www/pfSense-pkg-squid/files/etc/inc/priv/squid.priv.inc
          
          
          1 Reply Last reply
          Reply Quote 0
          • S
            Sealr0x
            last edited by

            I have the same problem. Will try the solution above.

            1 Reply Last reply
            Reply Quote 0
            • D
              dougf4nnie
              last edited by

              Same problem here, fixed! Tks.

              2.3.2-RELEASE-p1 (amd64)

              1 Reply Last reply
              Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                Yeah I already noted that on the PR and did a new one to fix the breakage I didn't cause in the first place. Nothing else I could do there.

                https://github.com/pfsense/FreeBSD-ports/pull/279
                https://github.com/pfsense/FreeBSD-ports/pull/270

                1 Reply Last reply
                Reply Quote 0
                • rbgargaR
                  rbgarga Developer Netgate Administrator
                  last edited by

                  Fixed, on 0.4.35_3, sorry for the breakage!

                  Renato Botelho

                  1 Reply Last reply
                  Reply Quote 0
                  • S
                    Sealr0x
                    last edited by

                    Fixed it with vi, just fixed the comment section.

                    1 Reply Last reply
                    Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      @Renato:

                      Fixed, on 0.4.35_3, sorry for the breakage!

                      Thanks. I guess I'll do some PR for /etc/inc/priv.inc to attempt to not blindly include broken crap and at least do a lint beforehand. (So far, I've just discovered a broken and misnamed php_check_filename_syntax() in pfsense-utils.inc, LOL.

                      1 Reply Last reply
                      Reply Quote 0
                      • H
                        Hegemon
                        last edited by

                        Thank you dok, fixed.

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

                          Thanks ya'll… back up again :)

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

                            ya you need the first forward slash "/", otherwise your saying /root/etc , you want /etc/

                            1 Reply Last reply
                            Reply Quote 0
                            • S
                              sprinteroz
                              last edited by

                              @meruem:

                              ya you need the first forward slash "/", otherwise your saying /root/etc , you want /etc/

                              This last post in quote here is to my problem, all  posts from doktornotor and myself have been removed related to my error,

                              I had a typo user error

                              1 Reply Last reply
                              Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • First post
                                Last post
                              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                              Privacy Policy · Cookie Policy