Forums | Mahara Community

Support /
Upload files fail


anonymous profile picture
Account deleted
Posts: 6

18 May 2009, 4:02

Hi.
Ive just installed Mahara 1.1.3 on a Mac OSXS 1.5 server.
And Im haviing trouble uploading files. I can create a folder in "My Files" but then I try to upload a image, under 1MB size, it fails.

Error message:

"Upload of Picture.jpg to Home / bilder failed: The file was lost in the upload process. This should not happen, please contact your administrator for more information. "

And in the mail I get:

"Subject: A file upload error was probably caused by your server configuration.
An error occurred during file upload: Missing a temporary folder. (Error code
6)"

I cant find anything about a temporary folder in the config or settings?
Any ideas about this?

anonymous profile picture
Account deleted
Posts: 1643

18 May 2009, 16:45

Hi. This sounds like an error in your PHP configuration, it's not a problem in Mahara. By the sounds of it, the directory that PHP thinks it should be using as a temporary directory for storing uploaded files doesn't exist, or isn't writable by the web server user.

I can only suggest you check your php.ini for related settings, and make sure they're set right/the directories are created.

anonymous profile picture
Account deleted
Posts: 6

18 May 2009, 17:32

You are so right, it was a problem with the upload_tmp_dir = "/tmp" that wasnt set correctly. Now it works as it should. Thanks!
3 results