Forum: Three bugs in German translation and stats(name) validation

 

« Back To Thread List

Alexander.Willner
3527 days ago
Hi,

first and foremost: great job with JAWStats. Why aren't you using a simple tracking system like Edgewall Trac to enhance your tool? I've found three issues:

1.) The German translation for "Top 50 Referrers" is "Top 50 Herkünfte" not "Top 10 Herkünfte"
2.) If you don't use any sitename in the conf.php file your script looks for files named "awstats[MM][YYYY]..txt". You might consider to use s.th. like:
if (!empty($sStatName)) {
$sFilePath .= ($this->iMonth . $this->iYear . "." . $sStatName . ".txt");
} else {
$sFilePath .= ($this->iMonth . $this->iYear . ".txt");
}
3.) The following htmlspecialchars method caused a white screen in my browser with no results or error message:
$this->sAWStats = htmlspecialchars(file_get_contents($sFilePath));
Removing the method solved the problem.
joncombe
3520 days ago
Apologies for the delay, I'm currently on holiday.

1) You can add your own translations on this site: the more users who participate and 'vote' for translations the better they will be.

2) Good point, will add this when I am home.

3) Ah, this might explain the problem others have been having. Thanks, Alexander!

« 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!