Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Edit Thumbnail Problem

jeongweejeongwee Vanilla version 2.6 ✭✭

When i trying to edit my thumbnail at my site,failed and told me "Failed to move uploaded file to target destination ".

Comments

  • hgtonighthgtonight ∞ · New Moderator

    This sounds like a permissions issue. Are you able to edit if you try again?

    What version of Vanilla are you running?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • jeongweejeongwee Vanilla version 2.6 ✭✭

    2.1b1 i tryed many times i cant edit it.

  • jeongweejeongwee Vanilla version 2.6 ✭✭

    Failed to move uploaded file to target destination (/home/jeongwee/public/15min.cc/public/uploads/userpics/636/pVDP4EP5Z7THO.png).

  • hgtonighthgtonight ∞ · New Moderator

    Does that folder exist? Does your webuser have write permissions to that folder?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • jeongweejeongwee Vanilla version 2.6 ✭✭

    uploads floder permission = 777 userpics floder permission = 755

  • hgtonighthgtonight ∞ · New Moderator

    Which group does your webuser fall into? Are they the owner, in the group, or otherwise?

    You need to understand how permissions are applied.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • jeongweejeongwee Vanilla version 2.6 ✭✭
    edited September 2013

    my webuser's role is Member.i cant even edit my thumbnail at my admin account.it was ok few days ago, but now it suddenly got problem and cant edit it. i donno wat did to make it got the problem................

  • hgtonighthgtonight ∞ · New Moderator

    When we are talking about file permissions, we are talking about a system that is wholly unrelated to Vanilla. File permissions are set on the web host server, and reflect users and groups on that server. As a webmaster, it is imperative that you understand file permissions.

    Saying file/folder permissions is 755 only tells you that the owner has read-write-execute, the owner group has read-execute, and everyone else has read-execute. It doesn't tell use where the php user falls (owner, group, other).

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • ShadowdareShadowdare r_j MVP
    edited September 2013

    Try changing the userpics folder to 777.

    Add Pages to Vanilla with the Basic Pages app

  • It's not an issue with the permissions as the files get uploaded and show up in the folder with the correct permissions. In Vanilla 2.1b1, changing the conditional used in /library/core/class.upload.php will fix it.

    Add Pages to Vanilla with the Basic Pages app

  • jeongweejeongwee Vanilla version 2.6 ✭✭

    nice job :D

Sign In or Register to comment.