Overview statistics

Reports ::: report_overviewstats
Maintained by Eric Bram
Produces various site and course report charts. The code has been designed in a way that makes adding more reports easy.
Latest release:
4275 sites
783 downloads
105 fans
Current versions available: 2

For producing the graphs, YUI Charts module is used. The code is using modern Moodle development techniques and patterns, such as using LESS for producing CSS files and Shifter to compose the Javascript modules.

Installation

  1. Extract the folder 'overviewstats' into your {Moodle root directory}/report/ folder
  2. Visit the main administration page (so called Notifications)
  3. Follow the installation wizard

Screenshots

Screenshot #0
Screenshot #1

Contributors

Eric Bram (Lead maintainer)
David Mudrák: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Thu, Aug 20, 2020, 6:02 PM

    I haven't tested myself. Generally it should just work and the Stats tab shows there are few hundreds 3.9 sites having this installed. I believe it works same well in 3.9.

  • Sun, Sep 13, 2020, 4:14 PM
    Hi! Unfortunately, I cannot install the plugin on a fresh installation of Moodle 3.9. I had a test version of 3.8 and installed it there with no issue.
  • Mon, Sep 14, 2020, 1:55 PM

    Thank you Петър fo raising this. I just tried myself and I had no problems with installing the report into a 3.9 site. Maybe you could provide more detailed description of the problem you experienced - please feel encouraged to use the plugin's bug tracker to do so.

  • Sun, Jan 31, 2021, 7:08 PM
    Hi!

    Getting HTTP ERROR 500 since upgrade to Moodle 3.10.
    Just updated to Moodle 3.10.1+ but it did not solve the problem.
    Uninstalled plugin and installed it again, but no luck.
    Any suggestions?
  • Mon, Feb 1, 2021, 3:58 PM

    Hi Oscar. HTTP error number 500 is a server side problem. Please search through your web server error logs for details.

  • Tue, Feb 2, 2021, 2:42 AM
    Hi David, this is is an issue with the plugin on the server side for Moodle v3.10, see your issue #10. I've made a forked patch for this but it doesn't appear that you allow PRs to your repo.
  • Tue, Feb 2, 2021, 3:09 AM
    I was wrong about the ability to make a PR -- I made one to the repo for this and tagged you
  • Wed, Feb 10, 2021, 8:07 PM
    Hello David,
    Thank you for the plugin! I have tested it on Moodle 3.9 and it works. Recently, I upgraded a site to Moodle 3.10! When I open the overview statistics I'm getting this error:

    Headers -> Status: 200

    response:
    Fatal error: require_once(): Failed opening required '...site root..../lib/coursecatlib.php'

    (include_path='...site root..../lib/pear:.:/opt/cpanel/ea-php73/root/usr/share/pear') in ...site root..../report/overviewstats/classes/chart_courses.php on line 26

    I checked the lib folder and the coursecatlib.php file is missing. I think this file has been removed in 3.10. Do you plan to update the plugin for v3.10?


  • Wed, Feb 10, 2021, 8:25 PM

    Hello Thodoris. I just released a new version 1.4 for Moodle 3.9 and 3.10 that should have this fixed - thank to the patch by Eric Bram (see earlier comments).

  • Fri, Jun 11, 2021, 6:56 PM
    once this plugins is installed, the link Add an activity or resource
    become accessible
  • Thu, Oct 7, 2021, 9:28 PM
    Hello, my system: Ubuntu Linux 20.04.2 and Moodle 3.11.1+ (Build: 20210716)
    Problem HTTP ERROR 500 https://moodle.xxx.com/report/overviewstats/index.php
    Maybe you can help how to fix the error?
    Thanks for the help
  • Sat, Oct 9, 2021, 12:22 AM
    Hi Tadas, there isn't a compatibility issue with that build, so I would think it has to do with your specific set up. Is it possible you could access any of the system logs to investigate further?
  • Mon, Oct 25, 2021, 9:15 PM
    Hi! I have some problem with HTTP ERROR 500
    Can you help with this?

    Ubuntu 20.04.2 LTS
    Moodle 3.11+ (Build: 20210701)

    Error log:
    "PHP message: PHP Warning: require_once(/storage/data/moodle/lib/coursecatlib.php): failed to open stream: No such file or directory in /storage/data/moodle/report/overviewstats/classes/chart_courses.php on line 26

    File coursecatlib.php doesn't exist in directory moodle/lib/
  • Mon, Oct 25, 2021, 9:26 PM
    Hi! Please update your plugin. I believe that's the error I fixed in this plugin in February: https://github.com/ericbram/moodle-report_overviewstats/pull/11

    If you update your overviewstats plugin to the latest version, your issue should be resolved.
  • Mon, Nov 1, 2021, 8:13 AM
    experiencing also http error 500,
    how to trace for the problem?

    it show from php-fpm:
    [01-Nov-2021 07:06:11] WARNING: [pool moodle] child 95792, script '/dir/moodle/report/overviewstats/index.php' (request: "GET /report/overviewstats/index.php") executing too slow (24.026709 sec), logging
    [01-Nov-2021 07:06:11] NOTICE: child 95792 stopped for tracing
    [01-Nov-2021 07:06:11] NOTICE: about to trace 95792
    [01-Nov-2021 07:06:11] NOTICE: finished trace of 95792
    [01-Nov-2021 07:08:25] WARNING: [pool moodle] child 95832, script '/dir/moodle/report/overviewstats/index.php' (request: "GET /report/overviewstats/index.php") executing too slow (21.854876 sec), logging
    [01-Nov-2021 07:08:25] NOTICE: child 95832 stopped for tracing
    [01-Nov-2021 07:08:25] NOTICE: about to trace 95832
    [01-Nov-2021 07:08:25] NOTICE: finished trace of 95832

    it show from nginx:
    2021/11/01 07:08:03 [debug] 96181#96181: *25 epoll add connection: fd:17 ev:80002005
    2021/11/01 07:08:03 [debug] 96181#96181: *25 connect to unix:/var/run/php/php7.4-fpm-moodle.sock, fd:17 #28
    2021/11/01 07:08:03 [debug] 96181#96181: *25 connected
    2021/11/01 07:08:03 [debug] 96181#96181: *25 http upstream connect: 0
    2021/11/01 07:08:03 [debug] 96181#96181: *25 posix_memalign: 000055BD6BE2A540:128 @16
    2021/11/01 07:08:03 [debug] 96181#96181: *25 http upstream send request
    2021/11/01 07:08:03 [debug] 96181#96181: *25 http upstream send request body
    2021/11/01 07:08:03 [debug] 96181#96181: *25 chain writer buf fl:0 s:1432
    2021/11/01 07:08:03 [debug] 96181#96181: *25 chain writer in: 000055BD6BDC3EC8
    2021/11/01 07:08:03 [debug] 96181#96181: *25 writev: 1432 of 1432
    2021/11/01 07:08:03 [debug] 96181#96181: *25 chain writer out: 0000000000000000
    2021/11/01 07:08:03 [debug] 96181#96181: *25 event timer add: 17: 1800000:2444064580
    2021/11/01 07:08:03 [debug] 96181#96181: *25 http finalize request: -4, "/report/overviewstats/index.php?" a:1, c:2
    2021/11/01 07:08:03 [debug] 96181#96181: *25 http request count:2 blk:0
    2021/11/01 07:08:03 [debug] 96181#96181: *25 http2 frame complete pos:00007F67163FB049 end:00007F67163FB049
    2021/11/01 07:08:03 [debug] 96181#96181: *25 event timer del: 15: 2442444536
    2021/11/01 07:08:03 [debug] 96181#96181: *25 http upstream request: "/report/overviewstats/index.php?"
    2021/11/01 07:08:03 [debug] 96181#96181: *25 http upstream dummy handler


    2021/11/01 07:08:50 [debug] 96181#96181: *25 http upstream request: "/report/overviewstats/index.php?"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http upstream process header
    2021/11/01 07:08:50 [debug] 96181#96181: *25 malloc: 000055BD6BE3FA60:4096
    2021/11/01 07:08:50 [debug] 96181#96181: *25 recv: eof:1, avail:-1
    2021/11/01 07:08:50 [debug] 96181#96181: *25 recv: fd:17 216 of 4096
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record byte: 01
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record byte: 06
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record byte: 00
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record byte: 01
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record byte: 00
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record byte: BB
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record byte: 05
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record byte: 00
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi record length: 187
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi parser: 0
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi header: "Status: 500 Internal Server Error"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi parser: 0
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi header: "Expires: Thu, 19 Nov 1981 08:52:00 GMT"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi parser: 0
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi header: "Cache-Control: no-store, no-cache, must-revalidate"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi parser: 0
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi header: "Pragma: no-cache"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi parser: 0
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi header: "Content-type: text/html; charset=utf-8"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi parser: 1
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http fastcgi header done
    2021/11/01 07:08:50 [debug] 96181#96181: *25 xslt filter header
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 header filter
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 push resources
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 output header: ":status: 500"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 output header: "server: nginx"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 output header: "date: Mon, 01 Nov 2021 00:08:50 GMT"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 output header: "content-type: text/html; charset=utf-8"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 output header: "expires: Thu, 19 Nov 1981 08:52:00 GMT"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 output header: "cache-control: no-store, no-cache, must-revalidate"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 output header: "pragma: no-cache"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 output header: "strict-transport-security: max-age=63072000"
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2:5 create HEADERS frame 000055BD6BDC48C8: len:164 fin:0
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http cleanup add: 000055BD6BDC49C0
    2021/11/01 07:08:50 [debug] 96181#96181: *25 http2 frame out: 000055BD6BDC48C8 sid:5 bl:1 len:164
    2021/11/01 07:08:50 [debug] 96181#96181: *25 malloc: 000055BD6BE40A70:16384
1 2 3 4 5 6
Please login to post comments