-
Bug
-
Resolution: Fixed
-
Major
-
2.4.3
-
MOODLE_24_STABLE
-
MOODLE_24_STABLE
-
wip-
MDL-38701-m25 -
- Enable IMS Enterprise enrol plugin
- Run it using cron
- Make sure PHP fatal error mentioned in Description does not occur
I am having an issue running the IMS Enterprise through cron in 2.4.2 and 2.4.3 .../moodle/admin/cli/cron.php (via command line). When used that way, the course seems to be partly created the exits the cron process. This happens when I am trying to register a new course or users with IMSenterprise enrol feature?
Here's the relevant part of the cron.php:
IMS Enterprise enrol cron process launched at lundi 25 mars 2013, 10:35
|
Found file /server_path_to_moodle/moodle/enrol/imsenterprise/uploads/imsenterprise-enrol.xml
|
PHP Fatal error: Call to undefined function course_get_format() in /server_path_to_moodle/moodle/lib/blocklib.php on line 2159
|
|
__________________________________________________________________
|
<?xml version="1.0" encoding="utf-8"?>
|
<enterprise>
|
<properties>
|
<datasource>Datasource</datasource>
|
<datetime>2013-03-25</datetime>
|
</properties>
|
<group recstatus="3">
|
<sourcedid>
|
<source>Datasource</source>
|
<id>2013-2-AAA2222-GT</id>
|
</sourcedid>
|
<description>
|
<short>2013-2-AAA2222-GT Subject Lorem ipsum dolor</short>
|
<long>Subject Lorem ipsum dolor</long>
|
<full>Objective:Lorem ipsum dolor sit amet, consectetur adipiscing elit.</full>
|
</description>
|
<org>
|
<orgname>Some University</orgname>
|
<orgunit>Some Department</orgunit>
|
</org>
|
</group>
|
</enterprise>
|
__________________________________________________________________
|
- will be (partly) resolved by
-
MDL-37185 cleanup enrol_imsenterprise
-
- Closed
-