Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Bug on external content module


Go to End


2 Posts   1203 Views

Avatar
minimike

Community Member, 4 Posts

12 April 2012 at 3:07pm

Hi there

I'm evaluating Silverstripe CMS since some hours. Installed it on a PostgreSQL Database
first installed the PostgreSQL Module
After installation I've installed the module "external content" what is an dependency for the "cmis module"

here is my trace

[User Error] Uncaught Zend_Uri_Exception: Scheme "silverstripe" is not supported
GET /admin/external-content/

Line 127 in /usr/local/www/vhosts/virtualizing.org/docroot/external-content/thirdparty/Zend/Uri.php

Source

118 // Break intentionally omitted
119 case 'https':
120 $className = 'Zend_Uri_Http';
121 break;
122
123 case 'mailto':
124 // TODO
125 default:
126 require_once 'Zend/Uri/Exception.php';
127 throw new Zend_Uri_Exception("Scheme \"$scheme\" is not supported");
128 break;
129 }
130
131 Zend_Loader::loadClass($className);
132 $schemeHandler = new $className($scheme, $schemeSpecific);
133
Trace

Zend_Uri::factory(Silverstripe)
Line 261 of Client.php
Zend_Http_Client->setUri(Silverstripe)
Line 244 of Client.php
Zend_Http_Client->__construct(Silverstripe,Array)
Line 394 of WebApiClient.php
WebApiClient->getClient(Silverstripe)
Line 328 of WebApiClient.php
WebApiClient->callUrl(Silverstripe,Array,cmisobject)
Line 150 of AbstractSeaMistRepository.php
AbstractSeaMistRepository->getRepositoryRoot()
Line 161 of CmisContentSource.php
CmisContentSource->getRoot()
Line 185 of CmisContentSource.php
CmisContentSource->stageChildren(1)
Line 442 of Hierarchy.php
Hierarchy->doAllChildrenIncludingDeleted()
Line 425 of Hierarchy.php
Hierarchy->AllChildrenIncludingDeleted()
call_user_func_array(Array,Array)
Line 693 of Object.php
Object->__call(AllChildrenIncludingDeleted,Array)
Line 168 of Hierarchy.php
CmisContentSource->AllChildrenIncludingDeleted()
Line 168 of Hierarchy.php
Hierarchy->markChildren(CmisContentSource)
Line 226 of Hierarchy.php
Hierarchy->markById(1,1)
Line 244 of Hierarchy.php
Hierarchy->markToExpose(CmisContentSource)
call_user_func_array(Array,Array)
Line 693 of Object.php
Object->__call(markToExpose,Array)
Line 297 of ExternalContentAdmin.php
ExternalContentSource->markToExpose(CmisContentSource)
Line 297 of ExternalContentAdmin.php
ExternalContentAdmin->SiteTreeAsUL()
Line 369 of ViewableData.php
ViewableData->obj(SiteTreeAsUL,,,1)
Line 446 of ViewableData.php
ViewableData->XML_val(SiteTreeAsUL,,1)
Line 86 of .cache.external-content.templates.ExternalContentAdmin_left.ss
include(/var/tmp/silverstripe-cache-usr-local-www-vhosts-virtualizing.org-docroot/.cache.external-content.templates.ExternalContentAdmin_left.ss)
Line 429 of SSViewer.php
SSViewer->process(ExternalContentAdmin)
Line 342 of ViewableData.php
ViewableData->renderWith(Array)
Line 488 of LeftAndMain.php
LeftAndMain->Left()
Line 369 of ViewableData.php
ViewableData->obj(Left,,,1)
Line 446 of ViewableData.php
ViewableData->XML_val(Left,,1)
Line 59 of .cache.cms.templates.LeftAndMain.ss
include(/var/tmp/silverstripe-cache-usr-local-www-vhosts-virtualizing.org-docroot/.cache.cms.templates.LeftAndMain.ss)
Line 429 of SSViewer.php
SSViewer->process(ExternalContentAdmin)
Line 202 of Controller.php
Controller->handleAction(SS_HTTPRequest)
Line 143 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
Director::direct(/admin/external-content/)
Line 127 of main.php

My installed php stuff

web# pkg_info | grep pear
pear-1.9.4_1 PEAR framework for PHP
pear-Benchmark-1.2.9 PEAR framework to benchmark PHP scripts or function calls
pear-channel-phpunit-20110327 PEAR channel pear.phpunit.de
pear-phpunit-PHPUnit-3.4.15 PEAR regression testing framework for unit tests
web# pkg_info | grep php
pear-channel-phpunit-20110327 PEAR channel pear.phpunit.de
pear-phpunit-PHPUnit-3.4.15 PEAR regression testing framework for unit tests
php5-5.3.10_1 PHP Scripting Language
php5-bcmath-5.3.10_1 The bcmath shared extension for php
php5-ctype-5.3.10_1 The ctype shared extension for php
php5-curl-5.3.10_1 The curl shared extension for php
php5-dom-5.3.10_1 The dom shared extension for php
php5-gd-5.3.10_1 The gd shared extension for php
php5-gettext-5.3.10_1 The gettext shared extension for php
php5-hash-5.3.10_1 The hash shared extension for php
php5-iconv-5.3.10_1 The iconv shared extension for php
php5-imap-5.3.10_1 The imap shared extension for php
php5-json-5.3.10_1 The json shared extension for php
php5-ldap-5.3.10_1 The ldap shared extension for php
php5-mbstring-5.3.10_1 The mbstring shared extension for php
php5-mcrypt-5.3.10_1 The mcrypt shared extension for php
php5-pdo-5.3.10_1 The pdo shared extension for php
php5-pdo_pgsql-5.3.10_1 The pdo_pgsql shared extension for php
php5-pgsql-5.3.10_1 The pgsql shared extension for php
php5-posix-5.3.10_1 The posix shared extension for php
php5-session-5.3.10_1 The session shared extension for php
php5-simplexml-5.3.10_1 The simplexml shared extension for php
php5-soap-5.3.10_1 The soap shared extension for php
php5-sqlite-5.3.10_1 The sqlite shared extension for php
php5-tokenizer-5.3.10_1 The tokenizer shared extension for php
php5-xml-5.3.10_1 The xml shared extension for php
php5-zlib-5.3.10_1 The zlib shared extension for php

Im running FreeBSD 8.3 with Apache MPM worker. PHP runs with Mod_FCGID.

Maybe someone with more experiance has an idea whats going wrong here.

cheers Darko

Avatar
minimike

Community Member, 4 Posts

13 April 2012 at 11:09am

Edited: 13/04/2012 11:10am

I've given it up. The current state the for me important external modules seems to bugfull. I've stopped all work with silverstripe and choosen another one. Sorry, but thanks for the code.

cheers Darko