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!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
statistics module only displaying some reports
-
**unknown user**
- Rank: Expert
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1193
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.
)
But there's probably something else going on as well. So drop me an email.
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
