Omeka Error: Given Destination Is Not Writable

On occasion users may encounter an error when uploading files to their Omeka application:

Zend_File_Transfer_Exception: The given destination is not writable

If you see this error, you can follow these steps to fix it:

  1. Log into cPanel.
  2. Go to Files > File Manager and locate the directory for your Omeka application.
  3. Open that directory and, go to application > config, and then open the config.ini file to edit it.

    cPanel File Manager directory structure navigating inside the application and config folders to show the config.ini file
  4. Once you have the config.ini file open, scroll down and find the Storage section.
  5. Once you find it add this line underneath the existing code: 
    storage.tempDir = "/home/username/tmp"

    *Note: The username in this line will be your account username. You can find that at the very top of the sidebar in your File Manager:

    The top portion of the cPanel File Manager sidebar showing the absolute home folder path containing the account username

    For this example account, the added line would be: storage.tempDir = "/home/dburn***/tmp"

    Code editor window displaying the newly added storage.tempDir parameter line configured inside the Storage section block of the config.ini file

     
  6. Once that line is added, save the config.ini file, and then try uploading another file to the site to make sure it works as expected.

 

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Reclaim Hosting Support Hours
8:00 am - 5:00 pm ET, Monday through Friday
Submit a Ticket
Get a quick and helpful response from the pros.
Need Extra Support?
No problem, we're here to help! Talk to us about Professional Services or custom Service Level Agreements.