Forum: Need help on the config.php

 

« Back To Thread List

jefke007
3272 days ago
Hello,

I want to use the JAWStats for my website.
I'm having some problems with the config.php file.
Content of the config.php file
-----------------------------------------------------
// core config parameters
$sDefaultLanguage = "nl";
$sConfigDefaultView = "thismonth.all";
$bConfigChangeSites = false;
$bConfigUpdateSites = false;
$sUpdateSiteFilename = "xml_update.php";
$domain = $_SERVER['SERVER_NAME'];
$path=explode("public_html",getcwd());
// individual site configuration
$aConfig["$domain"] = array(
"statspath" => $path[0]."stats/",
"updatepath" => $path[0]."public_html/awstats/",
"siteurl" => "http://$domain",
"sitename" => "$domain",
"theme" => "default",
"fadespeed" => 250,
"password" => "",
"includes" => "",
"language" => "nl"
);
-----------------------------------------------------
When i visite the JAWStat page i get "JAWStats cannot find any AWStats log files in the specified directory: /home/wibs/domains/wibs.be/stats/"

the website is located in the /home/wibs/domains/wibs.be/public_html/

Can somebody help me out?

Thanks
johannes
3269 days ago
Hallo jefke007,
ich habe mit der Config-Datei auch Probleme gehabt. Ich kann Dir hierbei meine mögliche Einstellung zu der Config.php anzeigen. Forausgesetzt, die Daten sind in dem Verzeichnis ../cgi-bin/awstats/data/", auf dem Server gespeichert.

"../cgi-bin/awstats/data/",
"statsname" => "awstats[YYYY][MM].wibs.be.txt",

"updatepath" => "../cgi-bin/awstats/awstats.pl/",
"siteurl" => "http://www.wibs.be",
"sitename" => "Wibs",
"theme" => "default",
"fadespeed" => 250,
"password" => "",
"includes" => "",
"language" => "nl-nl"
);

?>

Bitte diese Datei auf Deinen Server hochladen.
Auf meien Linux-Server habe ich keine Probleme, denn die JAWStats wird sehr schön angezeigt.
htp://www.gleis36.de
mfg
johannes

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