WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Image has failed to upload due to an error.

[Resolved] Image has failed to upload due to an error.

  • I am having this error ever since i updated into 3.0.1.

    “image.jpg” has failed to upload due to an error
    Unable to create directory /home/roborobo/public_html/wordpress/wp-content/upload/2010/10. Is its parent directory writable by the server?

    Can anyone help? I tried editing the htaccess file but I just crash my website. Hope someone can help.

    Thank you.

Viewing 15 replies - 1 through 15 (of 29 total)
  • Moderator James Huff

    @macmanx

    Try changing the permissions of the /wp-content/uploads/ directory to 777.

    I tried changing, doesn’t work either.

    Moderator James Huff

    @macmanx

    In that case, try changing the permissions on the /wp-content/uploads/2010/ directory to 777.

    I changed the settings using a FTP client, is that causing it not to work?

    Moderator James Huff

    @macmanx

    No, that shouldn’t be a problem. We might as well go all out with this. Set the following directories to 777:

    /wp-content/
    /wp-content/uploads/
    /wp-content/uploads/2010/

    If that doesn’t work, create a /10/ directory in the /2010/ directory like this:

    /wp-content/uploads/2010/10/

    and set that to 777 too.

    I have set everything to 777 and it still doesn’t work. I have to set the file permission of the folders right?

    Unable to create directory /wp-content/uploads/2010/. Is its parent directory writable by the server?

    or do you think I should roll back to older versions of wordpress?

    Moderator James Huff

    @macmanx

    I think you should contact your hosting provider. The directories now have world-writeable permissions, which means that everything should be able to write to them, even WordPress, but something might be happening at the server-level to prevent this.

    It happens right after I upgraded to 3.0.1, is this one of the problem?

    Moderator James Huff

    @macmanx

    I don’t think so. There’s a couple million people out there using WP 3.0.1, so if this was a problem with 3.0.1, it certainly would be significantly more widespread.

    So there is nothing else I can try and do?

    Moderator James Huff

    @macmanx

    You could try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download, but I doubt that’s the problem.

    If I reinstall wordpress again, will it mess up my current settings?

    Moderator James Huff

    @macmanx

    No, your settings and content are safe in the database.

    Thank you for your help and patience, I will try it out and let you know.

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘[Resolved] Image has failed to upload due to an error.’ is closed to new replies.
Skip to toolbar