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

Cannot create core templates for auth module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.4, 3.4, 3.5
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Testing Instructions:
      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.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull Master Branch:
      MDL-61608-master

      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

            Assignee:
            Geshoski Mihail Geshoski
            Reporter:
            Geshoski Mihail Geshoski
            Peer reviewer:
            Adrian Greeve Adrian Greeve
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: