Your Moodle version

Activities: Attendance

Maintained by Picture of Dan Marsden Dan Marsden
A plugin that allows an attendance log to be kept. - includes an optional block for easy access to relevant functions.

The Attendance activity allows teachers to maintain a record of attendance, replacing or supplementing a paper-based attendance register. It is primarily used in blended-learning environments where students are required to attend classes, lectures and tutorials and allows the teacher to track and optionally provide a grade for the students attendance. The instructor can set the frequency of their classes (# of days per week & length of course) or create specific sessions. 

To take attendance, the instructor clicks on the "Update Attendance" button and is presented with a list of all the students in that course, along with configurable options and comments. The default options provided are: Present, Absent, Late & Excused. Instructors can download the attendance for their course in Excel format or text format.

Sessions can also be configured to allow students to record their own attendance and a range of different reports are available.


This plugin is part of set Attendance.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4


Picture of Dan Marsden
Dan Marsden (Lead maintainer)
Artem Andreev: Previous maintainer/developer
Picture of Dmitry Pupinin
Dmitry Pupinin: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Mad Eye Moody - not as bad as he looks
    Sat, Nov 7, 2015, 12:41 AM
    I have the same issue with ERROR 500 after upgrading to version of the plugin. I am in the middle of a course and urgently need to regain access to my Attendance activity. Thanks for any help.
  • Picture of Dan Marsden
    Mon, Nov 9, 2015, 4:10 AM
    Error 500 is a generic web server error and does not provide enough information for us to diagnose. Please look at your web server logs for more detailed information - there is also this FAQ which might help:
  • Picture of Tülin Arslan
    Mon, Nov 9, 2015, 4:11 AM
    Dear all,
    I am using this plugin and have a question: is it possible to count the total non existing hours of students at the end of the course? I am doing it via import attendance as a excel data, but I want, that the student can see their attendance in total. Thank for your help!
  • Mad Eye Moody - not as bad as he looks
    Mon, Nov 9, 2015, 4:22 AM
    @ Dan Marsden Thanks for responding. Are the web server logs something that I can access from within Moodle? If so, where? Otherwise, I am not sure how to access them.
  • Picture of Dan Marsden
    Mon, Nov 9, 2015, 5:03 AM
    @Mad Eye - web server logs are found on your server - (not within Moodle), if you don't know how to find them I'd suggest using Google or asking for help in the community forums on

    @Tulin - I'm not exactly clear what you are asking for there - but there are a number of requested improvments to the reports within the github tracker.
  • Mad Eye Moody - not as bad as he looks
    Fri, Nov 13, 2015, 11:40 PM
    Dan. Thanks for your reply. I finally got around to contacting the server support people to get the logs. Here is an example:

    [Fri Nov 13 10:00:10.872465 2015] [cgi:error] [pid 12269] [client XXXXX:4611] AH01215: suexec policy violation: see suexec log for more details: /home/mysite/www/moodle/mod/attendance/view.php, referer: http://mysite/course/view.php?id=4
    [Fri Nov 13 10:00:10.872557 2015] [cgi:error] [pid 12269] [client XXXXX:4611] End of script output before headers: view.php, referer: http://mysite/course/view.php?id=4

    The server support person wrote this:

    "About the suEXEC policy violation error, which could have caused the 500 server error, please check and make sure all your scripts and their parent directories have no world writable permissions (like 666 or 777). Such permissions are insecure, unnecessary, and result in 500 server errors."

    Is there anything I can do about this at my end? Thanks.
  • Mad Eye Moody - not as bad as he looks
    Sat, Nov 14, 2015, 12:24 AM
    OK, I solved this by changing the permissions in the .../moodle/mod/attendance directory. All files need to be set to 664 (they were 666) and all folders to 775 (they were 777). And this needs to be done in each of the subdirectories. I did this using the File Manager in the Control Panel for my web host. Perhaps if the module is setting those permissions when installed, this could be adjusted. Thanks.
  • Picture of Dan Marsden
    Mon, Nov 16, 2015, 5:11 AM
    @MadEye - this is related to your server configuration - not the attendance code. Permissions must be set correctly by the server admin when installing plugins. If the automatic web-based installer fails it is because your server is not set up to allow it.
  • Picture of Priyanka Sinha
    Sat, Nov 28, 2015, 3:44 PM
    I had the same problem of 500 Internal Server Error when I created the attendance module. All files need to be set to 644 (and not 664 as mentioned by MadEye). All directories to 775.
  • Picture of scott hallman
    Tue, Dec 8, 2015, 5:07 AM
    HI Dan
    thanks for adding the fill down functionality to the attendance marks. Much easier to use. Still would be great to have a csv upload or the like. We have 120 students who scan in to a lecture theatre. Whilst the fill down will cut time a csv upload from the bar code scans would a great improvement.
  • Picture of Ammar Qahtan
    Thu, Dec 24, 2015, 5:12 PM
    Hi Dan,
    I accendentally deleted a session , Can I recover it?

    Thanks for You.
  • Picture of Stephen Reed
    Sun, Jan 31, 2016, 3:11 AM
    I need to track attendance in 15 min increments for classes that last upto 4 hours per session 2 times a day. Currently I have been using the attendance module with two 4hour sessions and I create variables in 15 min increments each variable also increments in value by 25. Basically degrees of lateness from present =400 to Absent =0. This has the added benefit on the final report of showing me how many hours each student has attended on the individual report. My problem comes when the number of variables exceeds 12 or so I get error writing to database when I try to take attendance. It typically works the first time I test it but then fails after I try once or twice.
  • Picture of Dan Marsden
    Mon, Feb 1, 2016, 1:26 PM
    If you escalate your debugging level to "developer" and make sure display errors is turned on (or you know how to view your server error logs) you should be able to find more information about this error to help you track down the actual problem.
  • Mad Eye Moody - not as bad as he looks
    Mon, Feb 8, 2016, 11:11 PM
    In the gradebook, the column for my Attendance activity shows all zeros. However, in the Attendance report itself, it shows the correct grades. Any ideas for why this might be?
  • Picture of Dan Marsden
    Tue, Feb 9, 2016, 4:38 AM
    @MadEye doesn't sound familiar sorry - try asking in the moodle community forums (including a screenshot might help.)
1 2 3 4 5 6 7
Please login to post comments