Fork me on GitHub

statistics module only displaying some reports  Bottom

  • The statistics module (v7), which has always worked like a charm for me, is now only displaying some of the reports. For others, I am getting an error message. Specifically,

    (1) for the standard User Acitivity Summary Report, I get this error message: Fatal error: Call to a member function on a non-object in /var/www/html/modules/statistics/subreports/usersummary.php on line 116

    (2) for the standard Details report, I get this error message: Fatal error: Call to a member function on a non-object in /var/www/html/modules/statistics/subreports/viewslist.php on line 136

    When I look at each of those lines in the code: $hresult->Close(); /// REB: Close resultset after use

    So, it seems like it's not getting the result set from the database?? I haven't made any changes to my database. I religiously archive last month's data to the archive table after gathering the stats I want.

    Okay, here are some more details. I can generate the standard Details report when I set the date range from 2005-01-01 to 2005-01-11, but NOT when I set the date range from 2005-01-01 to 2005-01-21. Weird, huh?

    CRS, are you out there?...

    Thanks!
  • Yes, drop me an email at crs@mtrad.com and we can investigate the full situation....

    Yes, those Close() statements can be commented out or removed. They are extraneous. (Someone suggested that they are required for good coding standards. Actually, they've been a real pain in the neck. icon_smile )

    But there's probably something else going on as well. So drop me an email.
  • 0 users

This list is based on users active over the last 60 minutes.