• Resolved grobelny

    (@grobelny)


    I installed WordPress, all is working fine except uploading files. When editing posts I click on “Add media” button, upload my file using browser uploader. I get no errors, but the file is not written anywhere to wp-content/uploads folder. Consequently I get 404 when trying to download the file. The folder has 777 permissions. How do I troubleshoot this problem? Any logs to search? Any ideas what may cause the problem? TIA,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Use an FTP program and see if the file is actually on the server where you think it is. If not, it is being uploaded elsewhere. By default WP uploads to /wp-content/uploads/2009/05 for uploads during May 2009.

    Check your settings on admin / settings / misc to see if organize by year / month is checked, and to be certain its even uploading to /wp-content/uploads/ at all

    Thread Starter grobelny

    (@grobelny)

    Thanks for the tip to check file upload path. It was /home/user/htdocs/wp-content/uploads/ but should be /home/user/public_html/wp-content/uploads/. This resulted from recent change on my web server. Thanks once again for quick answer. BTW, shouldn’t WordPress save only relative path by default? That is “wp-content/uploads/”.

    it generally IS set to wp-content/uploads

    you could try it that way & see if it works on your server

    Thread Starter grobelny

    (@grobelny)

    Yes, the default is relative (wp-content/uploads) but it seems like it was remembered by WP as absolute (/home/user/htdocs/wp-content/uploads/) and when base path changed from /home/user/htdocs/ to /home/user/public_html/ it stopped working. If it was written as relative then this change would not affect WP operation.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘zip upload problem’ is closed to new replies.