I've just installed v1.9.2+ on my computer. I've created a course and when I try to upload a file to the files folder, I get an error that says "Missing a temporary folder". The temp subdirectory is in my moodledata directory and all the permissions are 777.
A search reveals that nobody else has asked about this problem. Any ideas? It must be something simple.
Thanks very much,
; Temporary directory for HTTP uploaded files (will use system default if not
upload_tmp_dir = "/Applications/xampp/xamppfiles/temp"
I'm not sure if I can help. I'm not a developer, so I'm just figuring stuff out as I go. That particular solution was for a project on my own computer, so I have access to the php.ini file. I wasn't running into that issue when uploading to my live site, so I haven't had to deal with it there.
One thing I know that you can do is create your own php.ini file in a simple text editor like notepad and upload it to your site. We've done that for different problems and it's uploaded to about 6 different areas on our site, including in the moodle directory and in several subdirectories under that such as admin, auth, backup, blocks, and calendar. I think that's all.
So you could try making this file called php.ini with my solution in it:
upload_tmp_dir = "pathtoyourtempfolder"
Hope that helps. I'm off for the day, but I'll be around tomorrow.
I am contacting my host provider to see what they can do for me.
upload_tmp_dir = "/tmp"
I am still getting the error message - Missing a temporary folder ; while trying to upload the file.
Can you please tell me where the temporary directory is located ... I need to fix this issue and can't find a temporary directory.
I am also having trouble with this, after reading the terse responses given to others also having the same problem I am none the wiser.
I know where my php.ini file is, and I know how to edit it but where is "/tmp" pointing too, the one in the php installation folder, the one in the wwwroot or the Moodle installation on my IIS or the one on C:\ drive. Also what sort of access level does IWAM and IUSR require to be able to upload files to Moodle. Would be nice if a someone whould be so kind as to post some clear instructions because without this feature Moodle is pretty limited.
Thanks in advanced.
This still is not resolved? All I think I need is where the private files are stored. Then I can just ftp my backups and choose which one I want. However, as simple as that seems I can't find even the backup file that I made with my new 2.03 Moodle. Many hours wasted...
I also received the message "Missing a temporary folder" after trying to upload a file. I restarted the computer and the message dissapeared.
I don't know much about this error, but I do know that since it's a temporary folder, you should probably just reset some stuff before uploading to the server. In my case I restarted the server and deleted the last activity I added. Then everything worked out.
I suspect that in my case I might have stopped an upload while it was busy. Which means that the upload wasn't a success.
This problem take place when your upload directory is too big, After deleted my temp folder this problem's been revolved
I got this "missing a temporary folder" today. It looks like my issue was with the php\sessions folder being too large. It had two years worth of files totaling over 60 gig. I deleted all files from the earliest year, freeing up about half the space. The upload worked after that. I hope that is the complete fix.
Edit: Turns out, in my php.ini file, the upload_tmp_dir setting and the session.save_path setting both point to the php\sessions folder. So the "missing a temporary folder" message makes sense if that folder was maxxed out.