Image upload not working.
-
I’ve done a good search through previous posts and not got anywhere.
My blog is hosted on Yahoo. I’ve got a top level dir called images and a folder in my WordPress dir called uploaded-images. I’ve made both of them 775 permissions (though i’ve tried 777 as well).
I’ve tried turning the ‘sort by month and year’ on and off in options/misc.
Whatever i try i still get “Failed to write file to disk.” when i try to upload.
I’ve looked at my index.php (in the top level of my site) and it contains only 3 lines
define(‘WP_USE_THEMES’, true);
define(‘WP_IN_ROOTDIR’, true);
require(‘.//wp/wp-blog-header.php’);Is there anything else i should need to edit in order to use the upload functionality?
-
you need to make sure your content upload directory (in your options) actually exists. Once it does, give that directory 775 permissions. If it doesn’t work, make sure your server through Yahoo has safe mode turned off.
Check out this thread a day ago that might solve your problem. It helped me get my photo blog up and running
I tried to say in my original post that i’ve created directories in various places, altered the permissions using Filezilla and altered the directory WP is looking for though my control panel but with no success.
Your post seems to suggest switching off safe mode but i’m not clear how to do this. My site is hosted by Yahoo if that’s any help
Safe mode is usually controlled by the host I believe.
Safe mode is a security feature:
http://us3.php.net/features.safe-mode1. turn off php safemode. Godaddy link:
http://help.godaddy.com/article.php?article_id=148&topic_id=90&&<br>
make sure to reboot the server. I don’t know the Yahoo equivalent of this, but get access to your php.ini file.2. Make sure you have the directory set to wp-content/uploads in your options. then create the folder. then set the permissions to 777
See this post. http://wordpress.org/support/topic/52890?replies=11#post-299323
That solution worked for me. I’m using godaddy hosting which also has safe mode php.
The topic ‘Image upload not working.’ is closed to new replies.