If you are facing an error ‘The directory is not writable by server’ in magento please ensure the following :
First of all Check if the server has the write permission on var and media folders. This might solve the issue. If still the issue persists go through the following steps:
check whether the ‘media/catalog’, ‘media/wysiwyg’ and ‘media/images’ are there in the media folder. If it doesn’t exists create the folders, and give write permisission for those folders.
Hope this will resolve your issue.