Scripto error message


#1

Does anyone know what this means and how I should fix it?


#2

The extent of the error is cut off in the screenshot. Please cut and paste all the text here. On what page are you getting this error?


#3

with apologies, here it is:

Scripto_Service_Exception: [XF2xe@EIt7R-2itLZHkNJwAAAVU] Caught exception of type Wikimedia\Rdbms\DBQueryError in /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php:672 Stack trace: #0 /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php(465): Scripto_Service_MediaWiki->_request(‘query’, Array) #1 /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php(258): Scripto_Service_MediaWiki->query(Array) #2 /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php(378): Scripto_Service_MediaWiki->getRevisions(’.MzQxNA.MzgzNA’, Array) #3 /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Document.php(302): Scripto_Service_MediaWiki->getLatestRevisionWikitext(’.MzQxNA.MzgzNA’) #4 /home/judygies/informationwanted.org/plugins/Scripto/views/shared/index/transcribe.php(370): Scripto_Document->getTranscriptionPageWikitext() #5 /home/judygies/informationwanted.org/application/libraries/Omeka/View.php(114): include(’/home/judygies/…’) #6 /home/judygies/informationwanted.org/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run(’/home/judygies/…’) #7 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL) #8 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript(‘index/transcrib…’, NULL) #9 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render() #10 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #11 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #12 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘transcribeActio…’) #13 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #14 /home/judygies/informationwanted.org/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #15 /home/judygies/informationwanted.org/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #16 /home/judygies/informationwanted.org/application/libraries/Omeka/Application.php(73): Zend_Application->run() #17 /home/judygies/informationwanted.org/index.php(23): Omeka_Application->run() #18 {main}


#4

Thanks. It appears there’s something wrong with your MediaWiki database. Did you recently upgrade?

The above backtrace could be more detailed by enabling some configuration options in your MediaWiki’s LocalSetting.php. Add the following code to that file, refresh the web page, and cut-and-paste the backtrace here:

$wgShowExceptionDetails = true;
$wgShowDBErrorBacktrace = true;
$wgShowSQLErrors = true;

#5

When I go to MediaWiki main page, I get this error: (not sure I can get to local settings, still, can I?)

MediaWiki internal error.

Original exception: [XF25jPXUWlVvgydzYFRCCwAAAMk] 2019-02-08 17:17:00: Fatal exception of type “Wikimedia\Rdbms\DBQueryError”

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.


#6

OK, I think I did what you instructed. This is the error I am now getting:
Scripto_Service_Exception: [XF28B6i0ni4M7xZRDHQ7MQAAAI8] Exception caught: A database query error has occurred. This may indicate a bug in the software. in /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php:672 Stack trace: #0 /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php(465): Scripto_Service_MediaWiki->_request(‘query’, Array) #1 /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php(258): Scripto_Service_MediaWiki->query(Array) #2 /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php(378): Scripto_Service_MediaWiki->getRevisions(’.MzQxNA.MzgzNA’, Array) #3 /home/judygies/informationwanted.org/plugins/Scripto/libraries/Scripto/Document.php(302): Scripto_Service_MediaWiki->getLatestRevisionWikitext(’.MzQxNA.MzgzNA’) #4 /home/judygies/informationwanted.org/plugins/Scripto/views/shared/index/transcribe.php(370): Scripto_Document->getTranscriptionPageWikitext() #5 /home/judygies/informationwanted.org/application/libraries/Omeka/View.php(114): include(’/home/judygies/…’) #6 /home/judygies/informationwanted.org/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run(’/home/judygies/…’) #7 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL) #8 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript(‘index/transcrib…’, NULL) #9 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render() #10 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #11 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #12 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘transcribeActio…’) #13 /home/judygies/informationwanted.org/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #14 /home/judygies/informationwanted.org/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #15 /home/judygies/informationwanted.org/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #16 /home/judygies/informationwanted.org/application/libraries/Omeka/Application.php(73): Zend_Application->run() #17 /home/judygies/informationwanted.org/index.php(23): Omeka_Application->run() #18 {main}


#7

Did you recently upgrade your MediaWiki installation? These kinds of errors usually happen during an upgrade. It’s most likely not related to Scripto or Omeka.

With the same configuration options set, refresh your MediaWiki main page. You should see an error message and backtrace. If it is an upgrade error, there’s not much I can do to help.


#8

I didn’t upgrade MediaWiki. I’m seeing a bunch more stuff on the main page now:

Original exception: [XF3EpTdTXuWZEMwqnoK4BgAAAFA] /wiki/Main_Page Wikimedia\Rdbms\DBQueryError from line 1496 of /home/judygies/public_html/wiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application’s database schema updater after upgrading?
Query: SELECT slot_revision_id,slot_content_id,slot_origin,slot_role_id,content_size,content_sha1,content_address,content_model FROM mw_slots INNER JOIN mw_content ON ((slot_content_id = content_id)) WHERE slot_revision_id = ‘3’
Function: MediaWiki\Revision\RevisionStore::loadSlotRecords
Error: 1146 Table ‘judygies_mw1.mw_slots’ doesn’t exist (localhost)

Backtrace:
#0 /home/judygies/public_html/wiki/includes/libs/rdbms/database/Database.php(1466): Wikimedia\Rdbms\Database->makeQueryException(string, integer, string, string)
#1 /home/judygies/public_html/wiki/includes/libs/rdbms/database/Database.php(1226): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#2 /home/judygies/public_html/wiki/includes/libs/rdbms/database/Database.php(1693): Wikimedia\Rdbms\Database->query(string, string)
#3 /home/judygies/public_html/wiki/includes/libs/rdbms/database/DBConnRef.php(49): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)
#4 /home/judygies/public_html/wiki/includes/libs/rdbms/database/DBConnRef.php(261): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#5 /home/judygies/public_html/wiki/includes/Revision/RevisionStore.php(1617): Wikimedia\Rdbms\DBConnRef->select(array, array, array, string, array, array)
#6 /home/judygies/public_html/wiki/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)
#7 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision{closure}()
#8 /home/judygies/public_html/wiki/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)
#9 /home/judygies/public_html/wiki/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()
#10 /home/judygies/public_html/wiki/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)
#11 /home/judygies/public_html/wiki/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)
#12 /home/judygies/public_html/wiki/includes/Revision.php(965): Revision->getMainSlotRaw()
#13 /home/judygies/public_html/wiki/includes/page/WikiPage.php(641): Revision->getContentModel()
#14 /home/judygies/public_html/wiki/includes/libs/objectcache/WANObjectCache.php(1277): WikiPage->{closure}(boolean, integer, array, NULL)
#15 /home/judygies/public_html/wiki/includes/libs/objectcache/WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#16 /home/judygies/public_html/wiki/includes/page/WikiPage.php(647): WANObjectCache->getWithSetCallback(string, integer, Closure)
#17 /home/judygies/public_html/wiki/includes/page/WikiPage.php(269): WikiPage->getContentModel()
#18 /home/judygies/public_html/wiki/includes/page/WikiPage.php(256): WikiPage->getContentHandler()
#19 /home/judygies/public_html/wiki/includes/actions/Action.php(98): WikiPage->getActionOverrides()
#20 /home/judygies/public_html/wiki/includes/actions/Action.php(156): Action::factory(string, WikiPage, RequestContext)
#21 /home/judygies/public_html/wiki/includes/MediaWiki.php(155): Action::getActionName(RequestContext)
#22 /home/judygies/public_html/wiki/includes/MediaWiki.php(777): MediaWiki->getAction()
#23 /home/judygies/public_html/wiki/includes/MediaWiki.php(517): MediaWiki->main()
#24 /home/judygies/public_html/wiki/index.php(42): MediaWiki->run()
#25 {main}

Exception caught inside exception handler: [XF3EpTdTXuWZEMwqnoK4BgAAAFA] /wiki/Main_Page Wikimedia\Rdbms\DBQueryError from line 1496 of /home/judygies/public_html/wiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application’s database schema updater after upgrading?
Query: SELECT slot_revision_id,slot_content_id,slot_origin,slot_role_id,content_size,content_sha1,content_address,content_model FROM mw_slots INNER JOIN mw_content ON ((slot_content_id = content_id)) WHERE slot_revision_id = ‘3’
Function: MediaWiki\Revision\RevisionStore::loadSlotRecords
Error: 1146 Table ‘judygies_mw1.mw_slots’ doesn’t exist (localhost)

Backtrace:
#0 /home/judygies/public_html/wiki/includes/libs/rdbms/database/Database.php(1466): Wikimedia\Rdbms\Database->makeQueryException(string, integer, string, string)
#1 /home/judygies/public_html/wiki/includes/libs/rdbms/database/Database.php(1226): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#2 /home/judygies/public_html/wiki/includes/libs/rdbms/database/Database.php(1693): Wikimedia\Rdbms\Database->query(string, string)
#3 /home/judygies/public_html/wiki/includes/libs/rdbms/database/DBConnRef.php(49): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)
#4 /home/judygies/public_html/wiki/includes/libs/rdbms/database/DBConnRef.php(261): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#5 /home/judygies/public_html/wiki/includes/Revision/RevisionStore.php(1617): Wikimedia\Rdbms\DBConnRef->select(array, array, array, string, array, array)
#6 /home/judygies/public_html/wiki/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)
#7 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision{closure}()
#8 /home/judygies/public_html/wiki/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)
#9 /home/judygies/public_html/wiki/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()
#10 /home/judygies/public_html/wiki/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)
#11 /home/judygies/public_html/wiki/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)
#12 /home/judygies/public_html/wiki/includes/Revision.php(965): Revision->getMainSlotRaw()
#13 /home/judygies/public_html/wiki/includes/page/WikiPage.php(641): Revision->getContentModel()
#14 /home/judygies/public_html/wiki/includes/libs/objectcache/WANObjectCache.php(1277): WikiPage->{closure}(boolean, integer, array, NULL)
#15 /home/judygies/public_html/wiki/includes/libs/objectcache/WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#16 /home/judygies/public_html/wiki/includes/page/WikiPage.php(647): WANObjectCache->getWithSetCallback(string, integer, Closure)
#17 /home/judygies/public_html/wiki/includes/page/WikiPage.php(269): WikiPage->getContentModel()
#18 /home/judygies/public_html/wiki/includes/page/WikiPage.php(256): WikiPage->getContentHandler()
#19 /home/judygies/public_html/wiki/includes/actions/Action.php(98): WikiPage->getActionOverrides()
#20 /home/judygies/public_html/wiki/includes/actions/Action.php(156): Action::factory(string, WikiPage, SkinVector)
#21 /home/judygies/public_html/wiki/includes/skins/SkinTemplate.php(253): Action::getActionName(SkinVector)
#22 /home/judygies/public_html/wiki/includes/skins/SkinTemplate.php(448): SkinTemplate->wrapHTML(Title, string)
#23 /home/judygies/public_html/wiki/includes/skins/SkinTemplate.php(225): SkinTemplate->prepareQuickTemplate()
#24 /home/judygies/public_html/wiki/includes/OutputPage.php(2706): SkinTemplate->outputPage()
#25 /home/judygies/public_html/wiki/includes/exception/MWExceptionRenderer.php(136): OutputPage->output()
#26 /home/judygies/public_html/wiki/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(Wikimedia\Rdbms\DBQueryError)
#27 /home/judygies/public_html/wiki/includes/exception/MWExceptionHandler.php(98): MWExceptionRenderer::output(Wikimedia\Rdbms\DBQueryError, integer)
#28 /home/judygies/public_html/wiki/includes/exception/MWExceptionHandler.php(172): MWExceptionHandler::report(Wikimedia\Rdbms\DBQueryError)
#29 /home/judygies/public_html/wiki/includes/MediaWiki.php(544): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBQueryError)
#30 /home/judygies/public_html/wiki/index.php(42): MediaWiki->run()
#31 {main}


#9

It look like your MediaWiki database is missing the mw_slots table, which was introduced in MW v1.31. You could run MW’s maintenance/update.php following these directions: https://www.mediawiki.org/wiki/Manual:Update.php

Otherwise, I’m not sure how I can help, given that this is a MW error. You could try starting a topic on MW’s support desk: https://www.mediawiki.org/wiki/Project:Support_desk


#10

Hi Judy,
Have you checked with your host (is it still Reclaim) to make sure that the MW install isn’t set to auto update? Either way, your hosting provider might be able to help.
–Sharon


#11

Yep that was it–and the Reclaim folks helped me right out! Thanks! Judy