nicusX / moodle-mod_attendanceregister

Attendance Register activity module for Moodle 2
12 stars 17 forks source link

IE8 Fatal Error: Class Not Found #44

Closed rafaelpx closed 11 years ago

rafaelpx commented 11 years ago

In IE8 I get this error, but not always:

Fatal error: Class 'attendanceregister_user_capablities' not found in /usr/local/moodle/mod/attendanceregister/view.php on line 63

My database has more than 2k users listed.

It only happens on Internet Explorer 8.

nicusX commented 11 years ago

According to this error your installation of the module could be corrupted or not correctly installed, as attendanceregister_user_capablities DOES exist (defined in locallib.php file) I suppose there is something wrong in your installation I suggest to download the latest module version from Moodle's plugin directory (https://moodle.org/plugins/pluginversions.php?plugin=mod_attendanceregister) and overwrite all files. Also check that file permissions are the same of other moodle files.

Anyway, it is rather strange you say it happens only with IE8, as it is a server-side issue, no way connected to the browser you are using.

rafaelpx commented 11 years ago

Hello Nicus, you are right. There was something wrong but related with cache issues. We use 2 machines in load balance. I don't know why only IE8 exposed the error, while on Chrome or Firefox everything was fine.

Anyway, thanks so much for the explanation.