• Resolved themightyant

    (@themightyant)


    Hi,
    I recently updated a clients site and have been unable to upload files to wp-content/uploads, or it’s sub directories. With either of the following messages coming up

    • The uploaded file could not be moved to wp-content/uploads.” – If organise my uploads into months and year based folders in unchecked.
    • Unable to create directory wp-content/uploads/2014/10. Is its parent directory writable by the server?” – IF it is checked

    Making the directory permissions 777 DOES fix the issue but I do not conisder this a safe permanent solution. I have found many posts similar to this but none of the solutions work for me.

    Things we have done

    • Checked file permissions are 644 for files 755 for directories
    • Tried more permissive permissions are 664 for files 775 for directories
    • Confirmed ownership of files is user:user (t17543:t17543)

    Our shared hosting server set up is: Apache/1.3.41 (Unix) mod_gzip/1.3.26.1a mod_fastcgi/2.4.2 PHP/5.2.10 mod_throttle/3.1.2 mod_psoft_traffic/0.2 mod_ssl/2.8.31 OpenSSL/0.9.8b mod_macro/1.1.2

    Any help greatly appreciated
    Antony

Viewing 1 replies (of 1 total)
  • Thread Starter themightyant

    (@themightyant)

    The problem is now resolved. For others who may have a similar problem, in the end my host had to reset all permissions AND file ownership, although they appeared set correctly. This sorted the problem. #ghostinthemachine

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot upload files to wp-content/uploads’ is closed to new replies.