Is there some way to confirm or check that BAWStats is reading Drupal settings.php file?
No matter what domain I enter into the $conf['bawstats_defsite'] variable I get the error 'No statistics found for site myexample.com 04/2010'.
The same error comes up even if I use the $conf['bawstats_admin_access'] = 1; variable.
This makes me think that BAWStats is not even looking at the settings.php file.
I welcome any suggestions on how to troubleshoot this.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | bawstats-786880-1.patch | 2.13 KB | egfrith |
Comments
Comment #1
egfrith commentedThe problem is that the module does not use the setting of the bawstats_defsite variable if it has already saved the identity of the site it is looking at in the $_SESSION variable. The attached patch fixes this by only referring to the $_SESSION variable when bawstats_admin_access is set. The patch also adds a bit of documentation.
Comment #2
egfrith commentedThis patch has now been committed.