Zend_Http_Client_Exception Passed parameter is not a valid HTTP URI

106 views
Skip to first unread message

ma...@nsmlv.org

unread,
Feb 27, 2017, 12:02:40 PM2/27/17
to Scripto Dev
Hi -

We are trying to use wordpress/omeka/scripto/mediawiki to crowdsource transcription of card catalog images.  All the software has been installed, but it appears there is a configuration problem based on the error message below when we try to invoke scripto.  The wordpress and omeka system information is shown below the error message.  What is wrong?

Thanks in advance for your help

Omeka has encountered an error
Zend_Http_Client_Exception
Passed parameter is not a valid HTTP URI.
exception 'Zend_Http_Client_Exception' with message 'Passed parameter is not a valid HTTP URI.' in /home/xxx/nsmlv.org/omeka/application/libraries/Zend/Http/Client.php:318
Stack trace:
#0 /home/xxx/nsmlv.org/omeka/plugins/Scripto/libraries/Scripto/Service/MediaWiki.php(113): Zend_Http_Client->setUri(NULL)
#1 /home/xxx/nsmlv.org/omeka/plugins/Scripto/libraries/Scripto.php(77): Scripto_Service_MediaWiki->__construct(NULL, true)
#2 /home/xxx/nsmlv.org/omeka/plugins/Scripto/ScriptoPlugin.php(366): Scripto->__construct(Object(ScriptoAdapterOmeka), Array)
#3 /home/xxx/nsmlv.org/omeka/plugins/Scripto/controllers/IndexController.php(39): ScriptoPlugin::getScripto()
#4 /home/xxx/nsmlv.org/omeka/application/libraries/Zend/Controller/Action.php(516): Scripto_IndexController->indexAction()
#5 /home/xxx/nsmlv.org/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#6 /home/xxx/nsmlv.org/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#7 /home/xxx/nsmlv.org/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#8 /home/xxx/nsmlv.org/omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#9 /home/xxx/nsmlv.org/omeka/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#10 /home/xxx/nsmlv.org/omeka/admin/index.php(28): Omeka_Application->run()
#11 {main}

================
Wordpress System info
================
System Information
WordPress Information
Home URL: http://www.nsmlv.org
Site URL: http://www.nsmlv.org/wordpress
WP Version: 4.7.2
WP Multisite: 
WP Memory Limit: 256 MB
WP Debug Mode:  No
WP Cron:  Yes
Language: en_US
Server Information
Server Info: Apache
PHP Version: 5.6.29
PHP Post Max Size: 65 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.35.0, OpenSSL/1.0.1
SUHOSIN Installed: 
MySQL Version: 5.6.28
Max Upload Size: 64 MB
Default Timezone is UTC: Yes
PHP Error Log File Location: 
fsockopen/cURL: Yes
SoapClient: Yes
DOMDocument: Yes
GZip: Yes
Multibyte String: Yes
Remote Get Status: Yes
Current Theme
Name: Flat
Version: 1.7.7
Author URL: https://themeisle.com
Child Theme:  No. If you're want to modifying a theme, it safe to create a child theme. See: How to create a child theme
Active Plugins (16)
Calendar by Kieran O'Shea  1.3.9
Contact Form 7 - reCAPTCHA by iambriansreed  1.2.0
Contact Form 7 by Takayuki Miyoshi  4.6.1
PayPal Form by CodePeople.net  1.1.81
Easy Media Download by naa986  1.1.2
iPanorama 360 Lite by Avirtum  1.3.2
Ninja Forms by The WP Ninjas  3.0.29
Google Analytics for WordPress by praveenchauhan1984  1.1
PDF Embedder by Dan Lester  2.8
Quiz And Survey Master by Frank Corso  4.7.10
Show Hide Author by Marios Alexandrou  2.3
Page Builder by SiteOrigin by SiteOrigin  2.4.25
VR Views by Daniel Walmsley  1.5.1
WP Advanced PDF by CedCommerce  1.1.3
WP Super Cache by Automattic  1.4.9
WP System Info by Nurul Amin  1.1
===========================
Omeka system information
===========================
System Information
User
Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Role super
System
Omeka 2.4.1
PHP 5.6.29 (cgi-fcgi)
OS Linux 3.2.61-grsec-modsign x86_64
MySQL Server 5.6.28
MySQL Client mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
PHP Extensions
Regular bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imagick, imap, json, libxml, mbstring, mcrypt, mhash, mysql, 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, zip, zlib
Plugins
Scripto 2.2
Themes
berlin 2.3.1
default 2.3.2 (current)
seasons 2.3.1

Jim Safley

unread,
Feb 27, 2017, 12:50:37 PM2/27/17
to Scripto Dev
Thanks for the system information. It appears you need to add your MediaWiki API URL to the Scripto plugin configuration page.

Mary

unread,
Feb 27, 2017, 5:07:32 PM2/27/17
to Scripto Dev
Hi Jim -

We think this is our mediawiki url:

http://www.nsmlv.org/mediawiki/api.php

And we looked at these instructions:

https://www.mediawiki.org/wiki/API:Main_page#What_you_need_to_access_the_API

but it's not clear what file needs to be manually edited, or how to use a gui to do the edit, fo add the mediawiki url to scripto.  Would you please clarify?

Thanks

Mary

Jim Safley

unread,
Feb 27, 2017, 7:36:51 PM2/27/17
to Scripto Dev
I'm assuming you have MediaWiki, Omeka, and the Scripto plugin for Omeka installed. In the Omeka administrative interface go to the "Plugins" page and find the Scripto plugin. Click on "Configure" and enter the URL to your MediaWiki API there. Submit the form and it should tell you that you've successfully configured Scripto.

--
You received this message because you are subscribed to the Google Groups "Scripto Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scripto-dev...@googlegroups.com.
To post to this group, send email to scrip...@googlegroups.com.
Visit this group at https://groups.google.com/group/scripto-dev.
For more options, visit https://groups.google.com/d/optout.

Mary

unread,
Feb 27, 2017, 11:25:46 PM2/27/17
to Scripto Dev
Hi Jim -

Thank you!! That fixed our problem.

Mary
Reply all
Reply to author
Forward
0 new messages