Error when logging in to Omeka

When we try to login to Omeka we're seeing the error below. The publicly viewable interface is running as normal. No changes have been made to the ini files or by adding plugins.

Very puzzled by this. Might be a change at the OS level as it hit both prod & dev.

Ideas appreciated.

Bobb Menk
MIT Lincoln Laboratory Library

#0 /var/www/html/omeka/application/libraries/globals.php(1334): Zend_Http_Client->request()
#1 /var/www/html/omeka/admin/themes/default/index.php(25): latest_omeka_version()
#2 /var/www/html/omeka/application/libraries/Omeka/View.php(117): include('/var/www/html/o...')
#3 /var/www/html/omeka/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/html/o...')
#4 /var/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('index.php')
#5 /var/www/html/omeka/application/controllers/IndexController.php(16): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index.php')
#6 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(516): IndexController->indexAction()
#7 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#8 /var/www/html/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#10 /var/www/html/omeka/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#11 /var/www/html/omeka/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#12 /var/www/html/omeka/admin/index.php(28): Omeka_Application->run()
#13 {main}

There should be a message about the error before the stack trace that you gave. Could you post that up, too?

An OS change, especially settings for HTTP requests, sounds like a likely suspect.


Unable to read response, or response is empty

SSL setting in config is set to "All" so everything should be going through https

This appears to affect just the admin/index.php page. I can work around the error by clicking the "Welcome user" link on the public page after doing a login and then see the entire admin interface except for the Dashboard.

Yep. That's the workaround I was going to suggest.

We're also making a change to Omeka core to handle that kind of situation better. Basically, it's just in application/libraries/globals.php in the latest_omeka_version() function, changing Zend_Http_Client_Adapter_Exception to Zend_Http_Client_Exception.

That change did the trick. Thanks for detailing it for us since the bandwidth for an upgrade is just not available at present.