Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a WordPress 3.5.1 driven website.

When trying to upload images via WordPress Media Manager, the below error is displayed: "xxx.jpg has failed to upload due to an error. The uploaded file could not be moved to /xx/xxx/dddd/wp-content/uploads/2013/08."

I know the above Error is related to folders and files permission issue on the server.

The website is running on the Amazon EC2 server which is running on a Amazon Version of Linux "AMI".

When trying to upload image(s) via FTP, WordPress Media-Manager fails to recognize the uploaded image(s). I did a search on the net and found that when using WordPress Media Manager, WordPress makes an entry in the database.

My Question is:

If I upload the image(s) using FTP then which table do I need to update if I want the image(s) to appear in the Media Manager?

share|improve this question
    
this is not a good idea to add database entries manually, check media upload path and url, try to 0775 file permissions for wp-content and upload directory, if you like to add manually you can do so by creating new post post_type = attachment and attachment post meta .etc –  Anjum Aug 19 '13 at 6:31
    
Hi Anjum, thanks for ur reply.... Before positing this query i did check for all the issue you said but no luck.. After hours of testing I finally came to know the tables associated with image upload.. –  mkb Aug 26 '13 at 6:17
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.