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

    SquidGuard Error

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 4 Posters 4.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.
    • N
      n0thing
      last edited by

      Whenever i try to access squidGuard, it gives me this error

      "Fatal error: Cannot redeclare is_iprange() (previously declared in /etc/inc/util.inc:194) in /usr/local/pkg/squidguard_configurator.inc on line 1800"

      it has been working fine all these while but this morning when i came back to check it prompts me this error. no changes was made the day before.

      unable to remove or reinstall squidGuard

      Thanks

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

        Pls post you pfsense version.

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • N
          n0thing
          last edited by

          1.2.3
          thxs

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

            Open file /usr/local/pkg/squidguard_configurator.inc

            Find this

            
            # ------------------------------------------------------------------------------
            # is_iprange - check ip1-ip2
            # ------------------------------------------------------------------------------
            function is_iprange($ip_range) {
            
            

            replace to

            
            # ------------------------------------------------------------------------------
            # is_iprange - check ip1-ip2
            # ------------------------------------------------------------------------------
            function is_iprange_new($ip_range) {
            
            

            save, and try access new.

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

            1 Reply Last reply Reply Quote 0
            • B
              beronono
              last edited by

              Hello,

              I'm french speaking, sorry for my english…

              :D Very nice ! The solution you gave works for me ! Thanks a lot, I was seaching for days...

              Is it a bug of squidguard or a miss-configuration that I've made ?
              Did we have to leave the file "squidguard_configurator.inc " with the change we've made ?

              I hope you will understand what i wrote...
              thxs

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

                This is conflict the function names. With next SG update its will be fixed. But now you can use this fix.

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • B
                  beronono
                  last edited by

                  Hi,

                  Ok, it's good for me. It's working, SquidGuard makes his job now ! (don't know fot n0thing…)

                  One more time : thanks ! You solved my (little) problem  :)

                  Pfsense is working fine, I live in Madagascar, here is my pfsense hotspot ! http://maps.google.fr/maps?q=-22.646044,45.329111&num=1&t=h&z=15&vps=2&jsv=180e&sll=-22.55827,45.412651&sspn=0.01944,0.028885&hl=fr&abstate=A:actbar-saveto

                  Nice place for tourism  :D

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

                    I am glad that was able to help you.

                    ps Welcome to Black Sea

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

                    1 Reply Last reply Reply Quote 0
                    • L
                      lol
                      last edited by

                      @dvserg:

                      I am glad that was able to help you.

                      ps Welcome to Black Sea

                      Thanks (don't be surprise I've change my username - and delete old one). I'm still the same guy from Madagascar…  ;)
                      I've this one (lol) in a french Debian forum. It's usefull to have the same...  8)

                      A free pastbin without advertising…
                      French Debian Community's Wiki

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