Affects Version/s: 2.2
Fix Version/s: 2.2.1
1/ clear error log in php
2/ upload users
3/ make sure no errors logged and not .htaccess created in temp dir
4/ move tempdir to different location via $CFG->tempdir
5/ upload again
6/ no error expected, .htaccess should be created
Pull from Repository:
Pull Master Branch:w51_
Pull Master Diff URL:
I've hit this a couple of times now.
When I install a new site the very first thing I do is upload users, the past couple of times I have done this I have received the following when I first visit the upload users script.
Warning: fopen(/private/var/www/moodledata/integration/2_3/temp/.htaccess): failed to open stream: No such file or directory in /private/var/www/integration/lib/setuplib.php on line 1157
It doesn't appear to be anything critical a quick inspection after the upload and I see that the .htaccess file has now been created so no probs.
- Install a new site (MUST be an empty moodledata directory)
- Proceed till you get to the front page
- Browse to Admin settings > Users > Accounts > Upload users
- You'll see the notice at the top.