Omeka has encountered an error pho:1093

Hi -

When users save a transcribed item, they frequently but intermittently get this error “Omeka has encountered an error”. The error log shows the listing below repeatedly - web searches show others have had the same problem, but I don’t see an explanation or solution. What is wrong and how do I fix it?

Thank you
This is the error log - scroll down for version information.

Exception: Unable to read response, or response is empty in /home/lan_t3rn/
Stack trace:
#0 /home/lan_t3rn/ Zend_Http_Client->request(‘POST’)
#1 /home/lan_t3rn/ Scripto_Service_MediaWiki->_request(‘query’, Array)
#2 /home/lan_t3rn/ Scripto_Service_MediaWiki->query(Array)
#3 /home/lan_t3rn/ Scripto_Service_MediaWiki->getUserInfo(‘groups|rights’)
#4 /home/lan_t3rn/ Scripto->setUserInfo()
#5 /home/lan_t3rn/ Scripto->__construct(Object(ScriptoAdapterOmeka), Array)
#6 /home/lan_t3rn/ ScriptoPlugin::getScripto()
#7 /home/lan_t3rn/ include(’/home/lan_t3rn/…’)
#8 /home/lan_t3rn/ Omeka_View->_run(’/home/lan_t3rn/…’)
#9 /home/lan_t3rn/ Zend_View_Abstract->render()
#10 /home/lan_t3rn/ Zend_View_Helper_Partial->partial(‘common/header.p…’, Array)
#11 /home/lan_t3rn/ Zend_View_Abstract->__call(‘partial’, Array)
#12 /home/lan_t3rn/ common(‘header’, Array)
#13 /home/lan_t3rn/ head(Array)
#14 /home/lan_t3rn/ include(’/home/lan_t3rn/…’)
#15 /home/lan_t3rn/ Omeka_View->_run(’/home/lan_t3rn/…’)
#16 /home/lan_t3rn/ Zend_View_Abstract->render()
#17 /home/lan_t3rn/ Zend_Controller_Action_Helper_ViewRenderer->renderScript(‘index/transcrib…’, NULL)
#18 /home/lan_t3rn/ Zend_Controller_Action_Helper_ViewRenderer->render()
#19 /home/lan_t3rn/ Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#20 /home/lan_t3rn/ Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#21 /home/lan_t3rn/ Zend_Controller_Action->dispatch(‘transcribeActio…’)
#22 /home/lan_t3rn/ Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#23 /home/lan_t3rn/ Zend_Controller_Front->dispatch()
#24 /home/lan_t3rn/ Zend_Application_Bootstrap_Bootstrap->run()
#25 /home/lan_t3rn/ Zend_Application->run()
#26 /home/lan_t3rn/ Omeka_Application->run()

Version information
Omeka 2.4.1
PHP 7.0.21 (cgi-fcgi)
OS Linux 3.2.61-grsec-modsign x86_64
MySQL Server 5.6.34
MySQL Client mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
PHP Extensions
Regular bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, filter, ftp, gd, gettext, hash, iconv, imagick, imap, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib
Zend Zend OPcache
Dropbox 0.7.2
DublinCoreExtended 2.0.1
Export 2.0
ItemOrder 2.0.2
Scripto 2.2
SimplePages 3.0.7
Scribe 2.0 (current)
berlin 2.3.1
default 2.3.2
seasons 2.3.1

I suspect that MediaWiki is timing out and sending an empty response to Scripto. Does your MediaWiki installation run slowly? You could increase PHP’s max_execution_time setting and see if that works. You could also upgrade MediaWiki to a newer version, which may be better optimized.

At any rate, I recommend that you upgrade to Scripto 2.3. I don’t think it will solve the problem but it will make Scripto compatible with newer versions of MediaWiki.

Hello -

Thank you very much for your suggestions! I will work on implementing them, although I did try to upgrade mediawiki and had to rollback to the old version because it broke some of the Scripto customizations.

Thank you again!