This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:ubuntu:awstats [2015/11/05 10:53] – lunetikk | linux:ubuntu:awstats [2018/12/20 17:40] (current) – Discussion status changed lunetikk | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ==== Logrotate ==== | ==== Logrotate ==== | ||
| Copy this in "/ | Copy this in "/ | ||
| - | < | + | < |
| / | / | ||
| weekly | weekly | ||
| Line 36: | Line 36: | ||
| == Description: | == Description: | ||
| - | The list of refs and OS info is empty because of a wrong perl version. Error occurs with perlversion | + | The list of refs and OS info is empty because of a wrong perl version. Error occurs with perl above 5.10.0. \\ |
| Check your version with: | Check your version with: | ||
| < | < | ||
| perl -v | perl -v | ||
| </ | </ | ||
| - | \\ | ||
| == Reason: == | == Reason: == | ||
| Line 47: | Line 46: | ||
| == Fix: == | == Fix: == | ||
| - | Controlpanel -> useraccounts | + | Open your awstats.pl |
| - | Remove the check and ok\\ | + | <code bash>vi / |
| - | Windows will notice that you turned the controls off and you get notifications because you have deactivate it... thanks Windows...\\ \\ | + | Line 1354, comment |
| - | You can deactivate the notifications in controlpanel -> security | + | <code bash> |
| + | if (/\(\?[-\w]*:(.*)\)/) { $1 } | ||
| + | </ | ||
| + | insert " | ||
| + | <code bash> | ||
| + | OptimizeArray { | ||
| + | my $array = shift; | ||
| + | my @arrayunreg = map { UnCompileRegex($_) } @$array; | ||
| + | my $notcasesensitive = shift; | ||
| + | </ | ||
| + | |||
| + | Line 7812, comment | ||
| + | <code bash> | ||
| + | shift =~ /(\?[-\w]:(.))/; | ||
| + | </ | ||
| + | insert "shift =~ /(\?[-^\w]: | ||
| + | <code bash> | ||
| + | UnCompileRegex { | ||
| + | shift =~ /(\?[-^\w]:(.))/; | ||
| + | return $1; | ||
| + | } | ||
| + | </ | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | ~~DISCUSSION~~ | + | ~~DISCUSSION:closed~~ |