I'm running Moodle 2.1.1 on IIS 6 and I thought it was all working fine until I tried to change the text string for a Label resource. This is what I did:
From language customisation selected EN and checked out the strings.
Found label.php and changed the module name to 'Text and Media' instead of Label. I then clicked save and check in. (I noticed on the server it created moodledata/lang/en_local/label.php) When I went to add a resource in a course it appeared as 'Text and Media'.
I decided to go back into lang customisation to update the help text for a label so I did that but after checking it back in I've noticed that access to the moodledata/lang/en_local folder on the server is denied (even when logged onto the server locally as an admin) If I restart IIS the en_local folder disappears and back in moodle 'Label' reverts back to it's original name of 'Label'!
I switched error reporting on and when I click to check in the strings I get the following errors:
- line 287 of \admin\report\customlang\locallib.php: call to debugging()
- line 232 of \admin\report\customlang\locallib.php: call to report_customlang_utils::dump_strings()
- line 94 of \admin\report\customlang\index.php: call to report_customlang_utils::checkin()
As a test I gave IUSR, IWAM, & Network Service full control of moodledata to try and rule out any permissions issues - but without success! I've noticed that there is a combination of forward and backslashes in the path it's trying to read, not sure if that could be causing a problem? - I just find it odd that it seems to work once then after that access to folders it creates are denied!
Has anyone any thoughts on this?