Error message when uploading media!!
-
Hi everyone,
Whenever I try to upload an image into my media library I get this message:
Unable to create directory /wp-content/uploads/2009/08. Is its parent directory writable by the server?
Anyone know how I can fix this?
Thanks for your time!
-
Change the permissions on the wp-content directory to 766. If you still have problems, try 767 or 777.
http://codex.wordpress.org/Changing_File_PermissionsWhere do I change the permission? Sorry but that article you linked is quite long and complicated.
I was able to upload a couple of pictures into my library before but now I cant. I might have changed the way permalinks were created, I’m not sure if that would have affected it?
Thanks for your time.
Try the wp-content directory or the wp-content/uploads directory
I right clicked the wp-content folder, went to the “security” tab and I saw that all users have permission to access the files
This is the errors that appear on my host’s logs
[Thu Aug 27 15:54:44 2009] [error] [client 66.249.68.184] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so’ – /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so: undefined symbol: compiler_globals in Unknown on line 0
[Thu Aug 27 15:54:44 2009] [error] [client 66.249.68.184] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so’ – /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so: undefined symbol: core_globals in Unknown on line 0I went on my Host’s file manager directory and i changed the file permissions of both wp-content directory and the wp-content/uploads directory to “777”. I am still showing the same error when i try to upload a picture through wordpress:
“Unable to create directory /wp-content/uploads/2009/08. Is its parent directory writable by the server?”
Can anyone help?
Thank you!
Contact your hosting provider about the errors.
I read a topic once that in some php/host situations, due to strict safety settings WP never was allowed to create any directory. As for me. So I forgot, alas, about monthly based directory’s and created the direcory “uploads” through my ftp program and gave it 0777. Then I could upload to it. It’s in wp-content and that one has also 0777 for me.
The topic ‘Error message when uploading media!!’ is closed to new replies.