0

I just migrated a website, and I can't upload any files now. I checked the file path , it's ok I checked the files and tmp permission , its ok (775)

When I try to upload an image, it does the 'ajax loading' and then boom everything's gone. It's like I just came and didnt try to upload anything. I have no js , php or ajax error.

I really don't know what to do, have someone already face this ?

Thank you.

3
  • what does the server error log say?
    – Geoff
    Commented Mar 2, 2015 at 17:42
  • Its your permission on your Files folder correct ? Commented Mar 2, 2015 at 20:19
  • like I said files and tmp folders are 775, and i don't have any error.
    – Mistraë
    Commented Mar 3, 2015 at 7:33

1 Answer 1

0

Ok, I've found the answer. Files and tmp folders were owned by root, so I changed in www-data ( web user ) and everything works now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.