Running 2 sites from one singel Drupal-installation.
1 - www.test.AAAAAAAA.se
2 - www.BBBBBBBB.com (actually a subdomain , or addon-domain as it is called in CPanel to AAAAAAAA.se)
The BAWstats module does correctly show the BAWstatistics for www.test.AAAAAAAA.se
But
The BAWstats mdoule does NOT show any statistics at all for www.BBBBBBBB.com
Instedad it comes up with a "statistic detection" for certain years or months, but basically displaying "No statistics found for site BBBBBBBBB.com"
When checking in CPanel for the AWstats for BBBBBBBB.com CPanel will let me choose the stats for this site but it shows the site in a list there as BBBBBBBB.AAAAAAAAA.se. Also the statistic files in the directoyr with these files are supposed to reside show the file for this site as awstats012007.BBBBBBBB.AAAAAAAA.se.txt
But the BAWstats module does look for a statistic file called awstats012007.BBBBBBBB.com.txt file ...
As mentioned in the install.drupal.txt file following configurations in resp sites settings.php file are supposed to affect which AWstats are collected and displayed.
$conf['bawstats_defsite'] = 'myexample.com';
$conf['bawstats_admin_access'] = 1;
For me it did not make any difference: when putting either of these into my setting.php file of BBBBBBBB.com as
$conf['bawstats_defsite'] = 'BBBBBBBB.AAAAAAAA.se';
$conf['bawstats_admin_access'] = 1;
Neither would it display the AWstatistics of BBBBBBBB.AAAAAAAA.se (allthough the log files in this format are existing)
nor does it show a pulldown meny or anythign to choose from different sites statistics ....
Feeling quite helpless at the moment. Please help !
Comments
Comment #1
anaru commentedI think this may be related to showing statistics for subdomains (as opposed to unrelated domains). I will need to look at the code to see what is going on.
Comment #2
bavarian commentedbig shame on me. problem solved. don't even dare to tell how it was messing things up, but finally everything just works the way it is supposed to.
Comment #3
AlexisWilke commentedSo you should have marked the entry as fixed 8-)