Note: lightsquid on pfsense 1.2.3-RELEASE



  • When you installed lightsquid package on pfsense 1.2.3-RELEASE and configured lightsquid. But you saw "not contain any valid data! Please run lightparser.pl (and check 'report' folder content)" error.
    You fix it at the following:
            1/ Edit /usr/local/www/lightsquid/index.cgi
            2/ find :
    ##  YEAR row ______________________________________________
    @yearlist=sort keys %yearhash;
    $yearcnt=$#yearlist+1;
    if ($yearcnt == 0) {
        ErrPrintConfig("report folder '$reportpath' not contain any valid data! Please run lightparser.pl (and check 'report' folder content)");
        print "


    folder content:
    ";
        foreach $file (@days) {
            print "$file
    ";
        }

    exit;

    }
              3/ Delete "#". Then save it ==> finished.
    I think it is error code.



  • You must install & test squid, install LS and press refresh_now button.



  • Hi dvserg
    I really did everything to fix it when I saw error. I spent 2 days to fix  :'( . Finally, I found it  :D



  • @friend:

    Hi dvserg
    I really did everything to fix it when I saw error. I spent 2 days to fix  :'( . Finally, I found it  :D

    Hm.. Why you say about what this is error? This is behavior  from series "if no data collection" developed by LS author Sergey Erokhin.



  • All I did was what it told me to do.

    Please run lightparser.pl (and check 'report' folder content)
    

    Its /usr/local/eee/lightsquid/lightparser.pl… I think. It worked.


Locked