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

PHP Warning: mkdir() logged during upgrade and upon purge cache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7.2
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None
    • Environment:
      Windows 7
      IIS 7.5
      SQL Server 2012 (Express with Advanced Services)
      PHP 5.6.0 NTS
      Moodle: 2.7.2+ (Build 20141024)

      IUSR and the Application Pool Identity user have full permissions on the Moodledata directory.
    • Database:
      Microsoft SQL
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      Steps to Recreate;

      (1) Set 'Debugging messages' to DEVELOPER.
      (2) Upgrade from previous version of Moodle (in my case v2.6.1+ Build 20140123) to current release: v2-7-2+ Build 20141024.
      (3) At each stage during the upgrade warnings are logged to the PHP log (Attached).
      (4) Also, after upgrade has completed warnings are logged upon each execution of 'purge all caches' (Attached).

      I'm currently testing and patching this local development version v2-7-2+ Build 20141024 prior to deployment and would like someone to verify that these warnings can be safely ignored. These warnings are not logged with the current version in production: v2.6.1+ Build 20140123.

      Same behaviour when tested with version 2.7.2 (Build: 20140908) and version 2.7.2+ (Build: 20141028).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              lfurzewaddock Leo Furze-Waddock
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: