Issue Details (XML | Word | Printable)

Key: MDL-9162
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Critical Critical
Assignee: Martin Dougiamas
Reporter: Genner Cerna
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 02/Apr/07 01:57 PM   Updated: 11/Apr/07 02:04 AM
Component/s: Administration, Authentication, Enrolments
Affects Version/s: 1.8
Fix Version/s: None

Participants: Eric Eberhardt, Genner Cerna and Martin Dougiamas
Security Level: None
Resolved date: 02/Apr/07
Affected Branches: MOODLE_18_STABLE


 Description  « Hide
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



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Martin Dougiamas added a comment - 02/Apr/07 02:39 PM
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)


Eric Eberhardt added a comment - 11/Apr/07 01:54 AM
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?


Eric Eberhardt added a comment - 11/Apr/07 02:04 AM
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.