• When I try to load images (on our website that we upgraded to 4.1.1 and on a fresh install of WP 4.1.1 with no plugins on a subdomain, I get the message: “The uploaded file could not be moved to wp-content/uploads.”

    When I set the permissions on wp-content to 775 or 755, I receive the same error.
    When I set the permissions to 777, I am able to load the image. (Though this permission setting is not secure).

    Looking at the files that were loaded (albeit with 777 permissions), they have no owner. It appears that file and folder operations that run through WordPress end up with no owner.

    Everything worked fine until I upgraded our main website to WP 4.1.1.

    ISP support says:

    The server us using the PHP handler: suPHP. This requires that the directories in the public_html directory have 755 permissions. This will allow you to upload using WordPress. This could be a scripting issue in WordPress.

    Anyone have any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    When I set the permissions to 777, I am able to load the image. (Though this permission setting is not secure).

    Once your uploads are working, change the permissions on wp-content back to 755 again (very important for security reasons!) and check that everything still works OK

    Thread Starter AveryCohen

    (@averycohen)

    Thanks, Tara, but I thought I was clear that setting the permissions back to 755 results in the upload capabilities no longer working.

    Files uploaded (when permissions were 777), and folders created by WordPress functions show as having no owner. And “no owner” can’t add files to folders with 755 permissions.

    The WordPress functions should inherit some authority, but no longer do now that we are running under 4.1.1.

    There is something different in 4.4.1, and it isn’t working for us. It’s rendering many features unable to perform their duties. Not only can’t we upload media files, but our backup plugin can’t create files.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can Not Write to Media Library (WP 4.1.1)’ is closed to new replies.