Failed opening 'CsvImport/File.php' for inclusion after CsvImport uninstall

I recently encountered some problems which I suspected were due to an improperly installed CsvImport installation. (Somehow CsvImport had been installed with an empty plugin.php file.) Suspecting that a reinstall would help I chose to uninstall the plugin. Unfortunately, since uninstalling the plugin my entire Omeka installation seems to be broken, and gives the following error:

Zend_Session_Exception
Zend_Session::start() - /home/forbes/public_html/omeka/application/libraries/Zend/Loader.php(Line:146): Error #2 include_once() [function.include]: Failed opening 'CsvImport/File.php' for inclusion (include_path='/home/forbes/public_html/omeka/application/libraries:/home/forbes/public_html/omeka/application/models:.:/usr/lib/php:/usr/local/lib/php') Array
#0 /home/forbes/public_html/omeka/application/libraries/Zend/Session/Namespace.php(143): Zend_Session::start(true)
#1 /home/forbes/public_html/omeka/application/libraries/Zend/Auth/Storage/Session.php(87): Zend_Session_Namespace->__construct('Zend_Auth')
#2 /home/forbes/public_html/omeka/application/libraries/Zend/Auth.php(91): Zend_Auth_Storage_Session->__construct()
#3 /home/forbes/public_html/omeka/application/libraries/Zend/Auth.php(141): Zend_Auth->getStorage()
#4 /home/forbes/public_html/omeka/application/libraries/Omeka/Core/Resource/Currentuser.php(45): Zend_Auth->hasIdentity()
#5 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(681): Omeka_Core_Resource_Currentuser->init()
#6 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(627): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('Currentuser')
#7 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(584): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('Currentuser')
#8 /home/forbes/public_html/omeka/application/libraries/Omeka/Core/Resource/Helpers.php(129): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap('Currentuser')
#9 /home/forbes/public_html/omeka/application/libraries/Omeka/Core/Resource/Helpers.php(22): Omeka_Core_Resource_Helpers->_initAclHelper()
#10 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(681): Omeka_Core_Resource_Helpers->init()
#11 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(627): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('Helpers')
#12 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(584): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('Helpers')
#13 /home/forbes/public_html/omeka/application/libraries/Omeka/Core/Resource/Frontcontroller.php(46): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap('Helpers')
#14 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(681): Omeka_Core_Resource_Frontcontroller->init()
#15 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(624): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('frontcontroller')
#16 /home/forbes/public_html/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(584): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL)
#17 /home/forbes/public_html/omeka/application/libraries/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL)
#18 /home/forbes/public_html/omeka/application/libraries/Omeka/Core.php(115): Zend_Application->bootstrap()
#19 /home/forbes/public_html/omeka/index.php(30): Omeka_Core->initialize()
#20 {main}

Any help would be greatly appreciated!

Did you uninstall the plugin through the Omeka interface, or just delete the files?

I used the Omeka interface and have not deleted any files.

That said, since I had an empty plugin.php file at one point, it wouldn't surprise me if other plugin files were missing or damaged.

The thing that seems odd to me, though, is that it doesn't look like the CsvImport directory is supposed to have a file called File.php.

Try clearing your cookies for the Omeka site.

I believe this problem can happen because your Omeka session is trying to restore some data about an import. Clearing your cookies will make you log in again and clear the session.

Hi John, I think this must have been it. I haven't cleared cookies, but I have closed and reopened my browser since my last attempt (it has also been several hours) and it now seems to be fine.