My temporary directory used to be set to /tmp but I have changed it to be a public folder set to files/drupal_temp When I click on "save configuration" i got a message indicating that this folder was created successfully with the right permission. But when I try to upload a file using CKfinder. . I notice it is still trying to upload temp files to /tmp

I cleared the cache in drupal with no Luck !

Update: This is the error message I get

move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpP8RtLM' to '/var/www/vhosts/example.com/httpdocs/UserFiles/pdf/myfile.pdf' in /var/www/vhosts/example.com/httpdocs/sites/all/modules/ckeditor/ckfinder/core/connector/php/php5/CommandHandler/FileUpload.php on line 151.

please help

Comments

vm’s picture

As you've already installed Drupal, this question is better served in the post installation forum. Please edit the opening post and move it. Thanks.