SquidGuard Error



  • 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



  • Pls post you pfsense version.



  • 1.2.3
    thxs



  • 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.



  • 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



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



  • 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



  • I am glad that was able to help you.

    ps Welcome to Black Sea



  • @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)


Log in to reply