Undelete item that have thumbnails

Hi.

the system can not delete items that have thumbnails.

The error message is:

Omeka_Storage_Exception

 Unable to delete file.

exception 'Omeka_Storage_Exception' with message 'Unable to delete file.' in C:\xampp\htdocs\omeka\application\libraries\Omeka\Storage\Adapter\Filesystem.php:151
Stack trace:
#0 [internal function]: Omeka_Storage_Adapter_Filesystem->delete('fullsize/6592d7...')
#1 C:\xampp\htdocs\omeka\application\libraries\Omeka\Storage.php(67): call_user_func_array(Array, Array)
#2 C:\xampp\htdocs\omeka\application\models\File.php(329): Omeka_Storage->__call('delete', Array)
#3 C:\xampp\htdocs\omeka\application\models\File.php(329): Omeka_Storage->delete('fullsize/6592d7...')
#4 C:\xampp\htdocs\omeka\application\models\File.php(338): File->unlinkFile()
#5 C:\xampp\htdocs\omeka\application\libraries\Omeka\Record\AbstractRecord.php(583): File->_delete()
#6 C:\xampp\htdocs\omeka\application\models\Item.php(307): Omeka_Record_AbstractRecord->delete()
#7 C:\xampp\htdocs\omeka\application\models\Item.php(288): Item->_deleteFiles()
#8 C:\xampp\htdocs\omeka\application\libraries\Omeka\Record\AbstractRecord.php(583): Item->_delete()
#9 C:\xampp\htdocs\omeka\application\models\Job\ItemBatchEdit.php(26): Omeka_Record_AbstractRecord->delete()
#10 C:\xampp\htdocs\omeka\application\libraries\Omeka\Job\Dispatcher\Adapter\Synchronous.php(25): Job_ItemBatchEdit->perform()
#11 C:\xampp\htdocs\omeka\application\libraries\Omeka\Job\Dispatcher\Default.php(137): Omeka_Job_Dispatcher_Adapter_Synchronous->send('{"className":"J...', Array)
#12 C:\xampp\htdocs\omeka\application\controllers\ItemsController.php(354): Omeka_Job_Dispatcher_Default->send('Job_ItemBatchEd...', Array)
#13 C:\xampp\htdocs\omeka\application\libraries\Zend\Controller\Action.php(516): ItemsController->batchEditSaveAction()
#14 C:\xampp\htdocs\omeka\application\libraries\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('batchEditSaveAc...')
#15 C:\xampp\htdocs\omeka\application\libraries\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#16 C:\xampp\htdocs\omeka\application\libraries\Zend\Application\Bootstrap\Bootstrap.php(105): Zend_Controller_Front->dispatch()
#17 C:\xampp\htdocs\omeka\application\libraries\Zend\Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#18 C:\xampp\htdocs\omeka\application\libraries\Omeka\Application.php(73): Zend_Application->run()
#19 C:\xampp\htdocs\omeka\admin\index.php(28): Omeka_Application->run()
#20 {main}

Any solution?
Thanks

Are you able to add new files?

This error is saying Omeka can’t delete the file from the files/fullsize directory, which generally would mean the permissions aren’t set properly. If that’s the problem though, you’d probably have issues doing other things like adding files.

Thanks, @jflatnes. adding new files works fine.

delete the file already working:smiley:, I have set the directory / file permissions.

Hello, I’m having the same problem you did : there are items I can’t delete even though I’m able to modify them and add new ones. Could you explain what you did to manage to delete them ? Thanks a lot !