Forum: File naming problem with new sites

 

« Back To Thread List

TekZone
3657 days ago
Hello,

I just install jawstats and wow ! Thank you so much for all your work ! The old awstats interface was giving me headaches...

I have a brand new web server hosting different sites. I installed jawstats for an old site that has more then a year of stats and it works perfectly fine. The problem comes when I install it for a newer site. It only has two days of stats this month which display correctly in awstats.

The error I get is the following :

The file being looked for is: awstats200812.domaine.fr.txt
The folder being looked in is: /data/awstats/www/domaine.fr/

It obviously isn't going to find the file since it's name is awstats122008.domaine.fr.txt. I checked with the older domain and it has the same file naming scheme, yet that one works.

What's wrong ?

Here is the configuration for both site :

$aConfig["olddomain.com"] = array(
"statspath" => "/data/awstats/www/olddomain.com/",
"updatepath" => "/usr/lib/cgi-bin/",
"siteurl" => "http://www.olddomain.com",
"theme" => "default",
"fadespeed" => 250,
"password" => "test",
"includes" => ""
);

$aConfig["domaine.fr"] = array(
"statspath" => "/data/awstats/www/domaine.fr/",
"updatepath" => "/usr/lib/cgi-bin/",
"siteurl" => "http://www.domaine.fr",
"theme" => "default",
"fadespeed" => 250,
"password" => "test",
"includes" => ""
);

Thank you in advance for your help,

Antoine
TekZone
3657 days ago
Ok, I found the solution to my problem. The folder needs to have sufficient right for the user www-data (Apache user on Debian).

« Back To Thread List

Participate in this discussion

 

You must be logged in to post in this thread.

 

Version 0.7 beta available now

Released 25th Janury 2009

Try the online demo or download now.

 
Latest JAWStats News:

Version 0.7 Beta Released

Sprechen Sie Deutsch? Multi-lingual JAWStats v0.7 is finally here.

posted 25th Jan '09. read more »
 

Help JAWStats

Please donate a dollar (or more!) towards the hosting costs for this site. This money doesn't go anywhere near my pocket, it is purely used against my hosting bill.

 

Get $50 off your webhosting

You could do far worse than choose Dreamhost. I've used them for 6 years and they're great. Simply enter the promo code: JAWSTATS on signup!