eZ Community » Forums » General » ERROR UPLOAD FILE - Ver. Community...
expandshrink

ERROR UPLOAD FILE - Ver. Community Project 2014.1

ERROR UPLOAD FILE - Ver. Community Project 2014.1

Wednesday 24 September 2014 3:32:43 pm - 2 replies

Hi to all,

I'm using Community Project 2014.1, and I can't upload pdf file using "file" class. In my log I can see this error message:

[ Sep 24 2014 15:18:48 ] :Failed moving uploaded file /tmp/phpunvatR to destination var/ezwebin_site/storage/original/application/23d75113a3d1debf7b8b03b73122b364.pdf
[Sep 24 2014 15:18:48 ] eZBinaryFileType:Failed to store http-file: file.pdf

Can someone help me?

Thanks a lot
Luca 

Wednesday 24 September 2014 4:34:20 pm

Hello Luca,

It sounds like you have a problem with file and directory permissions and ownership.

Remember that the var directory and it's child directories should be owned and grouped by the user and group used by the web server (step 1).

You also can run the ./bin/modfix.sh script included in eZ Publish to set more open var directory file permissions. 

More documentation and information on this subject can be found here: https://doc.ez.no/pages/viewpage.action?pageId=7438581 

I hope this helps...

Cheers,
Heath

Wednesday 24 September 2014 5:55:05 pm

Thanks Helth,

it was a ownership problem...now it's ok!

Luca 

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from