When I am uploading images I get the following error. Unable to create directory /home/earning/public_html/wp-content/uploads/2010/05. Is its parent directory writable by the server? Which file do I need to give file permissions and tell me file path. And what should be the file permissions.
I think the proper permission should be 755. But that's weird, Wordpress usually takes care of that. Try changing manually the permission for the uploads folder and see if it fixes your predicament. The uploads location: /wp-content/uploads
I think since your blog was filed into a public directory of your host, 777 CHMOD is the closest possible file permission for your blog to automatically write and execute in wordpress.
create a "uploads" directory in "/home/earning/public_html/wp-content/" and change "uploads" directory permissions to 777 .
@ balivillaholidays @ Rono @ Mr. bhuthecoder Hey that worked. I have given the permissions to public_html/wp-content/uploads as 777 and it worked. I tried with 776,766,765,755,756 but none of them worked. So giving permissions as 777 wouldn't be a problem.
Recently I faced a different kind of issue which said there was problem in php.ini; when I contacted host company they moved the php.ini to my public_html directory and asked me to make changes wherever necessary. But I couldn't understand what to change, but I think the host company support staff did something and the problem disappeared. Apart from picture uploading problem, it also happened like this that all the categories of wordpress went missing and hence the blog's appearance also got messed up. The problem is solved now, but if it happens again, I don't know what caused it and how to rectify it. Anyone aware of any such issues?