unable to create a temporary file in Unknown on line 0

Permalink
When I try to upload a file from the filemanager , I get an upload error.
(file uploads are enabled, post_max_size and upload_max_filesize are ok, so that's not the issue.)

In the apache log I'm seeing message below, so I suspect permission issue.

PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0, referer: ..../index.php/dashboard/files/search/


Any help appreciated
Thanks.

maartenfb
View Replies: View Best Answer
maartenfb replied on at Permalink Best Answer Reply
maartenfb
ok, found the answer.

in php/etc/php.ini changed this:

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
; upload_tmp_dir =


into

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = ...../c5rootfolder/files/tmp