• I’m having a problem getting my uploads directory to show images. I do not wish to set a recursive permissions assignment of 777 because I don’t want my website to be hacked into. Besides, that’s not fixing the problem.

    With that said, it seems as if this really IS a permissions issue, but lo-and-behold, I have everything set to 755 (the WordPress default). Also as a default setting, my images are set to their respective path (“wp-content/uploads”).

    I’m not sure what’s going on here. It runs perfectly fine on my WAMP installation, but when I upload everything to the server, everything except these images works okay (I can’t really upload correctly, too).

    Any suggestions?

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

    (@wolf_22)

    Oh, and perusing through the MySQL tables, I saw that the URL for the uploads path seemed perfectly fine so I shouldn’t have to go into Miscellaneous and type in “wp-content/uploads” as the default is already that.

    Lastly, I have received the following error when trying to upload anything new:

    Upload Error: Image – Unable to create directory /home/website/public_html/wp-content/uploads/2010/02. Is its parent directory writable by the server?

    Which again, points to the server, but it seems as if the only way to fix this damn thing is by either using the horrible approach of 777 or else by possibly un-ticking the “Organize my folders by year” thing…

    HELP!

    you will need to set the chmod to 777 for the /wp-content/uploads/2010/02 folders the 1st time you do this
    set them to 777 – do an upload
    should work
    now chmod back to 755
    should work from now on
    think of it as server training

    Or, take out the setting “Organize my uploads into month- and year-based folders” under Dashboard/Settings/Miscelleneous

    Your host probably has safe-mode on, not letting WP create the monthly directories. This could also frustate a theme upload from within WP because then WP uses such a directory as a temp directory and also tries to create it when a new month has started.

    Thread Starter wolf_22

    (@wolf_22)

    samboll – Let me make sure I understand you correctly: you’re advice is to CHMOD to 777 the new month’s folder (02) and then reset the permissions back to 755? And you’re saying that I will only have to do this once for each month’s folder? In doing this for each month, will I be able to upload from that point, on, with each month folder without having to CHMOD to 777 each time I wish to make an upload for that given month’s folder??? Thanks for any feedback.

    henkholland – Thanks for the input. I’ll give that a try.

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