• Resolved wowzimmer

    (@wowzimmer)


    Hi there,

    Was wondering whether anyone else has come across this problem – and has a solution!
    I have been running WordPress for several months. Not had any major problems until this morning. I went to upload a new photo via the media multi-file uploader and got the following error message:

    …(image)… has failed to upload due to an error
    Failed to write file to disk.

    I tried via the browser uploader but got the exact same error. I wondered if this problem was affecting anything else. I tried to update a plugin with a pending update and even install a new plugin. On both occasions I got the following error message:

    The package could not be installed. The plugin contains no files.
    Plugin install failed.

    In an attempt to solve this issue I tried reinstalling my version of WordPress and ended up with the following error message:

    …failed to open stream: No such file or directory in /home/uswfeoab/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 200
    Could not copy files.
    Installation Failed

    I didn’t have any problems yesterday and haven’t made any changes since then. It seems really odd that this would suddenly happen and I have no idea where to start trouble shooting this. I did see one post that suggested changing the WP Content file to permission 777 – Alas, that idea failed!

    Any ideas would be greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wowzimmer

    (@wowzimmer)

    PS.

    I can add images via FTP although the image still doesn’t show up in the media library. I presume I could do the same with plugins. It’s a temporary work around but hardly a solution when you consider that the media library is so important to easy organisation and SEO.

    Would it be me worth reinstalling WordPress?

    Many thanks!

    Try these:
    – Backup your site
    – Deactivate all plugins
    Reinstall WordPress manually from a freshly downloaded copy except wp-contents. Make sure that you delete the files before uploading fresh files.

    Thread Starter wowzimmer

    (@wowzimmer)

    Hi Krishna.

    I did try to reinstall WordPress manually. Unfortunately it didn’t make a jot of difference!

    However, I came across a post that suggested it was linked to the /tmp folder on the web hosts side becoming full. Apparently, it’s something about WordPress sending images (and other uploads) through the temporary folder first. If the web host hasn’t set the folder up correctly then it can become full, preventing anything else being uploaded.

    Luckily my web hosts have been great and the issue was resolved in a few minutes of contacting them. They have assured me that it is a one time fix.

    If this happens to anyone else I would definitely recommend contacting your web hosts at the outset as it could be a really easy fix.

    Phew!

    Thread Starter wowzimmer

    (@wowzimmer)

    PS. This fix can only normally be corrected by your web host!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot upload new media, download plugins, update WordPress core.’ is closed to new replies.