JAWStats statspath error on windows

Posted by crosenblum on Server Fault See other posts from Server Fault or by crosenblum
Published on 2012-09-06T01:52:21Z Indexed on 2012/09/06 3:39 UTC
Read the original article Hit count: 571

Filed under:
|

I have AWStats which works fine, and JAWStats I am trying to get working.

I have tried back and forward slashes to get the program to read the dirdata files.

I even moved the folder of dirdata outside of program files folder, in case it had problems with folder names with spaces in them.

Here is my config file.

  // core config parameters
  $sConfigDefaultView    = "thismonth.all";
  $bConfigChangeSites    = true;
  $bConfigUpdateSites    = true;
  $sUpdateSiteFilename   = "xml_update.php";

  // individual site configuration
  // awstats092012.noname.jumpingcrab.com.txt
  $aConfig["site1"] = array(
    "statspath"   => "C:\\Program Files\\AWStats\\DirData\\",
    "statsname"   => "awstats[MM][YYYY].yourexample.com.txt", 
    "updatepath"  => "C:\\Program Files\\AWStats\\wwwroot\\cgi-bin\\awstats.pl\\",
    "siteurl"     => "http://yourexample.com",
    "theme"       => "default",
    "fadespeed"   => 250,
    "password"    => "",
    "includes"    => ""
  );

Domain names changed to protect the innocent...:P

Here is the error message:

An error has occured: No AWStats Log Files Found

JAWStats cannot find any AWStats log files in the specified directory: C:\Program Files\AWStats\DirData\ Is this the correct folder? Is your config name, site1, correct?

Please refer to the installation instructions for more information.

© Server Fault or respective owner

Related posts about windows-xp

Related posts about awstats