Article ID: 128940, created on Jun 11, 2016, last review on Jun 11, 2016

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Cannot view the year statistics with AWStats. The following error diplays:

Error: Full year view has not been allowed from a browser (AllowFullYearView should be set to 3)

Cause

AWStats stores the statistics data on month basis. To display statistics per yes, AWStats required to find, merge and sort the statistics data, which leads to higher CPU and RAM consuming, especially for large websites. Thus by default the value of parameter 'AllowFullYearView' is set to 2.

Resolution

The possible values of 'AllowFullYearView'.

1 - Allowed on CLI only, -Year- value in combo is not visible
2 - Allowed on CLI only, -Year- value in combo is visible but not allowed
3 - Possible on CLI and CGI

To be able to view the year statistics for particular website, it is necessary to set value of 'AllowFullYearView' to 3 in AWStats configuration file of website:

Linux website:

/usr/local/psa/etc/awstats/awstats.example.com-http.conf

Windows website:

%plesk_vhosts%awstatstest.org\.plesk\statistics\example.com\webstat\AWStats\cgi-bin\awstats.example.com.conf

See also: How to set parameter AllowFullYearView=3 by default in AWStats.

Search Words

rror: Full year view has not been allowed from a browser (AllowFullYearView should be set to 3)

awstats year

AllowFullYearView

Error: Full year view has not been allowed from a browser

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF