Article ID: 4133, created on Mar 24, 2008, last review on Apr 18, 2012

  • Applies to:
  • Sphera


Webalizer VA is not showing stats under the "Statistics" tab in the "Site Details" section of the control panel. The page displays but there are no stats being displayed. Only the words "Powered by Webalizer" display on that screen.


The problem is in the function FgetStr. This function opens the webalizer statistic page of the month and fetches the HTML from it. The problem is that the function reads only 99999 bytes from the HTML file and sometime it's not enough - and the function doesn't work as expected.
In order to fix this issue, you will need to do the following:
Step 1:


Edit the file:

~[Primay VDS]/www/htdocs/php/src/base/VDS/screens/SiteDetails/statistics/statistics.lyt
and change the line (57):
$data = fread($pagefile, 99999);
$data = fread($pagefile, 3999999);
Step 2:
Run the PHP generator for only VDSs
(https://[SD_IP]/php/common/generator/Generator.php - please view the attached picture).
This change should be done on every server that has this problem.


*UP1 for 3.7 will fix this problem.


5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF