Moodle

Class 'enrolment_base' not found in /var/www/html/eclass/enrol/internal/enrol.php on line 4

Details

  • Affected Branches:
    MOODLE_18_STABLE

Description

moodle/admin/index.php — is not showing error generate by apacahe bellow:

PHP Fatal error: Class 'enrolment_base' not found in /var/www/html/eclass/enrol/internal/enrol.php on line 4

Activity

Hide
Martin Dougiamas added a comment -

I am 99% sure this is due to a bad PHP cache, I've seen similar things before.

Just delete your php cache (how you do that depends on the php accelerator you use)

Show
Martin Dougiamas added a comment - I am 99% sure this is due to a bad PHP cache, I've seen similar things before. Just delete your php cache (how you do that depends on the php accelerator you use)
Hide
Eric Eberhardt added a comment -

I am receiving this same error after the update process ends when it tries to return me to the admin page.

I upgraded from 1.6.5 to 1.8 stable. Is there anything I can add to the enrol.php to stop this?

Show
Eric Eberhardt added a comment - I am receiving this same error after the update process ends when it tries to return me to the admin page. I upgraded from 1.6.5 to 1.8 stable. Is there anything I can add to the enrol.php to stop this?
Hide
Eric Eberhardt added a comment -

I figured out that since I copied the moodle 1.8 app files to my moodle 1.6.5 directory to upgrade, it did not delete extra files that I no longer need. I compared another 1.8 enrol directory and found that the directory is no longer used. I deleted the /moodle/enrol/internal/ directory and the error went away.

Show
Eric Eberhardt added a comment - I figured out that since I copied the moodle 1.8 app files to my moodle 1.6.5 directory to upgrade, it did not delete extra files that I no longer need. I compared another 1.8 enrol directory and found that the directory is no longer used. I deleted the /moodle/enrol/internal/ directory and the error went away.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: