[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Magento Troubleshooter. How to fix the “The directory is not writable by server” error in admin panel

Hello! This video tutorial shows how to fix “The directory is not writable by server” error in Magento.

Magento Troubleshooter. How to fix the “The directory is not writable by server” error in admin panel

You may receive such error while trying to upload an image to Magento CMS block or page:

how_to_fix_directory_not_writable_by_server_1

Let’s learn how resolve this issue.

  1. Access your FTP/hosting Control Panel File Manager and look for media directory in the root of Magento installation.

  2. Check permissions set on media directory. Make sure to set 755/777 rights (depending on your hosting settings) for the directory recursively:

    how_to_fix_directory_not_writable_by_server_2

  3. Get back to your Magento admin panel and try to upload an image again. The error is no longer displayed:

    how_to_fix_directory_not_writable_by_server_3

Another solution would be creating a folder named WYSIWYG in your media folder.

  1. While receiving an error during image uploading, click the “Create Folder…” button at the top right of the screen.

  2. On the appeared pop-up window type in WYSIWYG in the “New Folder Name” field and click “OK” button to create a folder:

    how_to_fix_directory_not_writable_by_server_4

  3. Click “cross” at the top right to close the file upload interface and click “Insert Image…” button again – the error is now fixed:

    how_to_fix_directory_not_writable_by_server_5

This is the end of the tutorial, you have learnt how to fix the “The directory is not writable by server” error in Magento.

Feel free to check the detailed video tutorial below:

Magento Troubleshooter. How to fix the “The directory is not writable by server” error in admin panel