Thread: Global stats
View Single Post
  #4  
Old 20th February 2009, 18:26
matrixn matrixn is offline
Member
 
Join Date: Jul 2008
Location: Ramnicu Valcea, Valcea, Romania
Posts: 47
Thanks: 6
Thanked 2 Times in 2 Posts
Send a message via Yahoo to matrixn
Default

the tool is made from 2 files (awstats.php[wrapper] and awstatstotals.php). Only help is shown in awstats.php which is :

PHP Code:
<?php

/**
 * AWStats PHP Wrapper Script
 *
 * In your AWStats.conf set the following: 
 * WrapperScript="awstats.php"
 *
 * @author      Jeroen de Jong <jeroen@telartis.nl>
 * @copyright   2004-2007 Telartis BV
 * @version     1.1
 *
 * @link        http://www.telartis.nl/xcms/awstats
 * 
 *.....GNU GPL.. 
 */

/**
 * The location of the AWStats script.
 */
$AWStatsFile '/usr/local/awstats/cgi-bin/awstats.pl';

/* ... */
?>

and the awstatstotals.php has some settings to do.. I have set it up and when i run awstatstotals.php from browser says something like "Config variable not set!" ...
Reply With Quote