I just got BAWStats running and it displays the stats for my drupal6 test site which isn't very interesting since I just put the site up yesterday. I tried adding $config['bawstats_admin_access'] = 1; to my settings.php file and it didn't change anything. I next tried setting $config['bawstats_defsite'] to a different site and that didn't change anything either. I'm on a shared server and all of the sites in the awstats data directory are mine. Any suggestions?

Comments

anaru’s picture

Assigned: Unassigned » anaru

If all the awstats files for multiple sites are in the same directory (e.g. containing files of the sort awstats022007.mysite.com.txt) then it should pick up multiple sites automatically once the $conf['bawstats_admin_access'] = 1; has been set.

The multiple list of available sites should be displayed in a selection menu next to the month and year. I will try a clean install to see if I can replicate the problem.

Jednorozec’s picture

All of the files are in the same directory and of the form that you indicated.

I see month and year drop downs and a view button but no list of available sites.

[edit]
I found the problem. It was my stupid typo. I typed $config instead of $conf.

anaru’s picture

Status: Active » Closed (fixed)