Installed BAWstats, got all my database paths from my webhost who use CPanel and AWstats by default. However, when I view Site Statistics I get the message "No statistics found for site ****.co.uk 07/2009"
The .co.uk domain name is actually a subdomain of my main .com domain, but using Addon Domains in CPanel to make it resolve correctly. I read in a previous post a guy had a similar subdomain issue (if that's the issue at all) but did not post a solution - can anyone help me? Thanks!
Comments
Comment #1
egfrith commentedSorry for the delay in responding to this - since you reported this, have you found a fix?
Comment #2
egfrith commentedThis thread might be of help:
http://betterawstats.com/forum/viewtopic.php?f=2&t=16
Comment #3
egfrith commentedI'm assuming that this is fixed now and am closing the issue.
Comment #4
daniel_d commentedSorry for opening this old issue again. I came upon the same problem, but the Link in #2 does not work, as the domain betterawstats.com seems to have expired. Does someone has that forum entry saved or knows the answer to this problem and can post it here?
Comment #5
egfrith commentedI'm afraid I don't have the forum post saved :-(
I'm supposing that you have, but just to check, have you got the paths at
http://www.broughtonspurtle.org.uk/admin/config/system/bawstats
correct?
I supect that awstats on CPanel is storing the stats in files with names related to the SiteDomain in the awstats config file (e.g. example.com). However if the site for which you want stats is a HostAlias in the awstats config (e.g. example.co.uk), bawstats in drupal will look for files named awstats122012.example.co.uk
Try putting this at the end of your settings.php file
$conf['bawstats_admin_access'] = 1;
It should let you view stats for either subdomain.
Comment #6
vincer commentedMy file is at
/home*/username/tmp/awstatsYou should be able to get to this directory via ftp or whatever.
Comment #7
egfrith commentedI don't think I have enough information to reproduce this issue, but feel free to re-open if you give more details.