admin/reports/bawstats empty

xlyz - March 25, 2009 - 15:01
Project:BAWStats
Version:6.x-1.0-2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

the main report remain empty.
subreports (like admin/reports/bawstats/userinfo/03/2009 ) do work.

when multidomain is active days view works (but months view not)

the main report works again if i delete 'overview' form core/library.inc.php

$BAW_LIB['item_groups'] = array(
    'time' => array(
        'title' => $BAW_MES['time'],
        'members' => array('overview', 'months', 'days', 'weekdays', 'hours')
    ),

months view still don't work

#1

egfrith - September 30, 2009 - 21:28

Sorry for the delay replying - I took over maintaining the module some time ago, and am now sorting out the issue queue. Is this still a problem?

#2

xlyz - October 1, 2009 - 21:45

yep. won't say it's critical (one can live with it ) but the bug is still there.

#3

egfrith - October 1, 2009 - 22:13

Just to check - I should have been more precise with my question - is this a problem with the latest dev version?

#4

xlyz - October 2, 2009 - 00:45

don't know. is there a tarball somewhere or shall i do a cvs checkout?

#5

egfrith - October 2, 2009 - 08:55

Hmmm.... I can't seem to get the tarball displaying on the project page - I think this may have something to do with the nonstandard version number of the module. If you can pull the code from the 6.1 branch from CVS that would be great. You will need to install the Libraries API module (http://drupal.org/project./libraries) for the new code to work - I will include this information in the release notes.

#6

xlyz - October 2, 2009 - 10:00

ok. i'll let you know the results.

#7

xlyz - October 2, 2009 - 13:09

yes. the problem is still there.

can you please give it a more sane version name? version does not show up in my modules page

#8

egfrith - October 2, 2009 - 13:29

Thanks for checking xlyz. I don't have this problem, so debugging might be a bit tricky.

Do you see any PHP errors in the apache error.log?

I'm guessing that the problem lies in baw_display_overview() in core/display.inc.php . Perhaps the format of the AWStats file you're reading is different from the one I'm reading. What version of AWStats are you using?

Thanks for the point about the version number - I'm aware of it and I'm intending to make a new release very soon.

#9

xlyz - October 2, 2009 - 17:34

nothing in error.log

Version: 6.7.dfsg-5.1 (stock awstats in ubuntu jaunty)

#10

egfrith - October 4, 2009 - 23:01

Hmm... this is the same version of AWStats that I'm using.

If I could reproduce the problem, the next step I would take would be to insert some debugging statements (e.g. var_dump()) at various points in baw_display_overview() to see if I could identify where things were going wrong. I've not tried this, but does setting

$BAW_CONF['debug'] = true;

in the config.php produce any output?

#11

xlyz - October 5, 2009 - 19:50

lot of output, but I don't see any clue.

I'm attaching it for you to check

AttachmentSize
baw.log_.tar_.gz 7.82 KB
 
 

Drupal is a registered trademark of Dries Buytaert.