Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Webstats not working

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
rj2010ism
Posts: 30
Joined: Thu Jan 03, 2019 11:04 am

Os: CentOS 5x
Web: apache + nginx
Webstats not working
  • Quote

Post by rj2010ism » Sat May 25, 2019 10:12 am

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
Last edited by rj2010ism on Sat May 25, 2019 10:55 am, edited 1 time in total.
Top

rj2010ism
Posts: 30
Joined: Thu Jan 03, 2019 11:04 am

Os: CentOS 5x
Web: apache + nginx
Re: Webstats not working
  • Quote

Post by rj2010ism » Sat May 25, 2019 10:45 am

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


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password