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.

Unable to edit thumbnail in 2.1

aeryaery Gtricks Forum in 2.2 :) ✭✭✭

I am getting this warning -

Failed to move uploaded file to target destination

Is it related to permissions or some generic bug in 2.1? Anyone else having same problem?

There was an error rendering this rich post.

Comments

  • peregrineperegrine MVP
    edited June 2013

    Yes, it has been described before. The last several people I told them to report it on github - they may have an they may not have. But if you can search the forum to corroborate,

    http://vanillaforums.org/discussion/comment/172012/#Comment_172012

    and several more. Another one reported it later,

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • I have reported it on github, my github handle is underdogg, probably open issue

    There was an error rendering this rich post.

  • aeryaery Gtricks Forum in 2.2 :) ✭✭✭

    Interestingly another comment fixes the issue.

    Change line 222 at ./library/core/class.upload.php from

    if (!move_uploaded_file($Source, $Target)) to if (!copy($Source, $Target))

    The file is already present on the server, we're not trying to move an uploaded file, we're just copying the one that exists.

    @UnderDog, please update the github issue with the solution

    There was an error rendering this rich post.

  • UnderDogUnderDog MVP
    edited July 2013

    UnderDog, please update the github issue with the solution

    Can't, but go right ahead :-)

    There was an error rendering this rich post.

Sign In or Register to comment.