Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38701

IMS Enterprise file enrolment - Call to undefined function course_get_format

XMLWordPrintable

      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>
      __________________________________________________________________
      

            marina Marina Glancy
            martin.thibert Martin Thibert
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            7 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.