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

egfrith’s picture

Sorry for the delay in responding to this - since you reported this, have you found a fix?

egfrith’s picture

egfrith’s picture

Status: Active » Closed (fixed)

I'm assuming that this is fixed now and am closing the issue.

daniel_d’s picture

Version: 6.x-1.0-2 » 7.x-1.0-alpha4
Status: Closed (fixed) » Active

Sorry 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?

egfrith’s picture

I'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.

vincer’s picture

Issue summary: View changes

My file is at /home*/username/tmp/awstats
You should be able to get to this directory via ftp or whatever.

egfrith’s picture

Status: Active » Closed (cannot reproduce)

I don't think I have enough information to reproduce this issue, but feel free to re-open if you give more details.