Webstats not working
Webstats not working
Good day.
lately iv been getting strange error messages with VestaCp.
Anyone know how to fix this error: ( Warning: HostAliases parameter is not defined )
" Last Update: No qualified records found in log (0 corrupted, 0 comments, 0 Blank, 0 dropped) "
when i open webstats its not showing any data. with the above message
Thanks
lately iv been getting strange error messages with VestaCp.
Anyone know how to fix this error: ( Warning: HostAliases parameter is not defined )
" Last Update: No qualified records found in log (0 corrupted, 0 comments, 0 Blank, 0 dropped) "
when i open webstats its not showing any data. with the above message
Thanks
Last edited by rj2010ism on Sat May 25, 2019 10:55 am, edited 1 time in total.
Re: Webstats not working
For anyone who may get this error in the future here is a fix.
Open 'awstats.pl' and go to around line 1356 and change from:
my @arrayunreg = map {
if (/\(\?[-\w]*:(.*)\)/) { $1 }
} @$array;
To:
my @arrayunreg = map { UnCompileRegex($_) } @$array;
Go to around line 7811 and change from:
shift =~ /\(\?[-\w]*:(.*)\)/;
To:
shift =~ /\(\?[-^\w]*:(.*)\)/;
source credit: https://www.howtoforge.com/community/th ... ing.65735/
Regards..
Open 'awstats.pl' and go to around line 1356 and change from:
my @arrayunreg = map {
if (/\(\?[-\w]*:(.*)\)/) { $1 }
} @$array;
To:
my @arrayunreg = map { UnCompileRegex($_) } @$array;
Go to around line 7811 and change from:
shift =~ /\(\?[-\w]*:(.*)\)/;
To:
shift =~ /\(\?[-^\w]*:(.*)\)/;
source credit: https://www.howtoforge.com/community/th ... ing.65735/
Regards..