Reviewed: https://reviews.mahara.org/7944 Committed: https://git.mahara.org/mahara/mahara/commit/da1a6f40fcc1984212d470609591e1d53aa91123 Submitter: Robert Lyon ([email protected]) Branch: 17.04_STABLE
commit da1a6f40fcc1984212d470609591e1d53aa91123 Author: Robert Lyon <[email protected]> Date: Tue Apr 11 08:38:45 2017 +1200 Bug 1681569: Check to see if directory is readable before looping thru it behatnotneeded Change-Id: I522b4fceb0e461dd9b7bb2f0d3351174a75e06ef Signed-off-by: Robert Lyon <[email protected]> (cherry picked from commit 53ab0d5787907c295703e46a69b123134ca84de5) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1681569 Title: Error from rmdirr() function - PHP dir() failed to open dir Status in Mahara: Fix Committed Status in Mahara 17.04 series: Fix Committed Status in Mahara 17.10 series: Fix Committed Bug description: Getting this error when trying to clear cache on paired server deployment. The cache clears fine on one server but fails on the other. I suspect it's due to one server replicating to the other and locking the dir from being deleted. The rmdirr() function needs to make sure the dir is readable before trying to iterate thru it To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1681569/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

