After ensuring that the folder actually exists and the permissions are set right, try looking up the php_safe value.
Sometimes this error comes up because the php_safe value is turned on.
Either turn it off yourself, or try and get your web hosting service to turn it off for you.