Hi Reksal
It’s likely a problem with permissions in the uploads folder.
Directories should have permissions set at 755
Files should have permissions set at 644
You can check permissions by logging into your hosting account via ftp. Specifically, you want to check that correct permissions are set for folders for the wp-content/uploads folder, and folders within it.
The LOTS of information on WordPress and permissions here http://codex.wordpress.org/Changing_File_Permissions
Let me know how you go.
Thread Starter
Reksal
(@reksal)
Thanks andrewcrook, but I checked all the permissions via the Hosting Provider Control Panel and they are all set correctly.
I’ve created manually the folders “uploads”, “2014” and “10” and copied with FTP my picture into the folder, no problem, it’s there and I can see it with the Control Panel. But
WordPress still refuses to upload.
That’s okay.
The next thing to try is changing the permissions of the uploads folder (and all included folders) to 777.
It’s important to stress that you definitely shouldn’t leave this set as 777, as it’s a security vulnerability.
Then, try uploading again. Let me know how that goes.
If it works (fingers-crossed!), then you can try changing the permissions of the uploads folder (and all included folders) back to 755.
Thread Starter
Reksal
(@reksal)
Yes, it’s working with 777. I’ve changed permissions on “uploads”, “2014” and “10” and it’s working.
I changed the permissions back to 755 and it’s not working.
Any idea what’s wrong here?
Ah!
You, logging into your FTP account clearly have the ability to upload to the server when permissions are set as 755, but the ‘user’ running PHP (and WordPress) on the server does not. The problem is likely due to the server setup and, in particular, the ownership of the folders in your account.
The next step would be to contact your hosting provider.
Good luck.
Thread Starter
Reksal
(@reksal)
Thank you for your help. I can at least continue with the uploaded picture.
I will contact my hosting provider.