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

Cannot create core templates for auth module

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.4, 3.4, 3.5
    • None
    • Authentication
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-61608-master
    • Easy
    • Hide

      You must have permission to create directories on your moodle instance.

      1. Login in as Admin
      2. In Site administration ► Development ► Debugging
        • Set "Debug Messages" to "DEVELOPER".
      3. In your moodle instance create a folder named 'templates' in yourmoodledir/auth/.
      4. As an admin go to Site Administration.
        • Make sure a warning is NOT displayed.
      Show
      You must have permission to create directories on your moodle instance. Login in as Admin In Site administration ► Development ► Debugging Set "Debug Messages" to "DEVELOPER". In your moodle instance create a folder named 'templates' in yourmoodledir/auth/. As an admin go to Site Administration. Make sure a warning is NOT displayed.

    Description

      I've encountered this problem while working on MDL-61423. While attempting to create core templates in auth, I've received a warning:

      Warning: include(/moodle/auth/templates/version.php): failed to open stream: No such file or directory in /moodle/lib/classes/component.php on line 1169

      Moodle seems to consider the templates folder as a plugin type.

      Attachments

        Activity

          People

            Geshoski Mihail Geshoski
            Geshoski Mihail Geshoski
            Adrian Greeve Adrian Greeve
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: