Closed (fixed)
Project:
BAWStats
Version:
6.x-0.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Mar 2008 at 10:28 UTC
Updated:
30 Sep 2009 at 21:30 UTC
Hiya!
Nice module ;o) This is only a minor gripe (and I'm sure you probably already know about it!) but when you enable 'split page view' all that happens is that the stuff that's supposed to be split disappears from the main viewing page and you can't access it! Taking a look at the code, you've set 'access' rather than 'access arguments' in hook_menu, but changing it doesn't seem to make any difference...
Pobster
Comments
Comment #1
pobster commentedOh wait... Yes it does fix it! :o) Happy days! Although it presents another problem... In Gentoo set up advises to set the domain name as 'www.domain.com' not as 'domain.com' which is what the module expects when you split pages. Now gives me a "No statistics found for site domain.com" error on the split pages. I can fix this easily enough by just adding a 'www.' prefix to the $BAW_CURR['site_name'] variable, I just wondered whether there was a better way?
edit: Just to point out, obviously everything shows and works fine when the page isn't split! That's why I'm wondering if there's a better way?!
Pobster
Comment #2
anaru commentedThanks for the access bugfix. Not sure where the failure to display 'www.domain.com' site data in split view comes from, as its the same code used to display in split view as in full page view. I will look deeper into this. I am about to do a merge of upstream changes in betterawstats code, so I will look into it as I test/explore that.
Comment #3
anaru commentedUpstream merge has been done - I hope this solves the issue?
Comment #4
no_idea_yet commentedG'day
Just installed this module on 3 sites after a fair bit of trial and error (due to my lack of knowledge around servers!), my thanks for the nice work :)
I am having the same problem with the "split page view". Just looked at the code and it appears to be up to date i.e. "access" has been changed to "access arguments".
Running Drupal 6.13, BAWStats 6.x-1.0-2 (possibly 6.x-1.0 - see bug report at http://drupal.org/node/516988), 3 different themes used (Tapestry, Garland and 0 Point).
Regards
H
Comment #5
egfrith commentedI've just changed some of the split page code to reorganise the menus at #587262: Change split page view links to tabs . Although this probably doesn't fix your problem, it would be great if you could let me know if anything has changed.
Comment #6
egfrith commentedI'm closing this for now - but please reopen if it still is a problem.