From: Peter P. <pe...@wi...> - 2013-12-30 19:17:50
|
Thanks Larry Much appreciated On 30/12/2013 19:12, Larry Silverman wrote: > Hi Peter, > > Jeroen De Dauw posted an answer in his reply to the same question I asked > on his blog: > http://www.bn2vs.com/blog/2013/11/22/paramprocessor-1-0-released/ > > In his blog reply, Jeroen wrote: > > This shows we have a problem with specifying open version ranges… this > will no longer be the case as of SMW 1.9. > You are using a too recent version of Validator. You need version 0.5.x. > If you download the SMW tarball, it will include the correct version of > Validator. > I have added this information to our current primary compatibility > documentation: > https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/INSTALL.md#versions > > Before I received Jeroen's reply, I had already ended up upgrading to 1.9 > beta 1 which eliminated the problem. > > > Larry Silverman > Chief Technology Officer > TrackAbout, Inc. > 708.497.9794 > > > On Mon, Dec 30, 2013 at 12:54 PM, Peter Presland <pe...@wi...>wrote: > >> Hi Larry >> >> I have just encountered the same issue and cannot recall any config >> changes that may have triggered it. >> >> Did you get it fixed? If so, what was the problem? >> >> On 18/12/2013 18:11, Larry Silverman wrote: >>> Greetings! >>> >>> I'm running MW 1.22.0, PHP 5.3.3 on RHEL5, MySQL 5.5.31 >>> Extensions in use: Cite, ImageMap, SyntaxHighlight_GeSHi, WikiEditor, >>> BreadCrumbs, LdapAuthentication, Lingo, Semantic MediaWiki, SphinxSearch, >>> Widgets >>> >>> SMW is new to me. I'm getting a blank page on the Semantic Search >>> Special:Ask page, and also getting blank pages trying to add a simple >> query >>> to a wiki page. >>> >>> The apache error log contains the following: >>> >>> [Tue Dec 17 18:55:07 2013] [error] [client x.x.x.x] PHP Warning: Missing >>> argument 2 for ParamProcessor\\ParamDefinition::__construct(), called in >>> >> /usr/local/devmediawiki-1.22.0/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php >>> on line 589 and defined in >>> >> /usr/local/devmediawiki-1.22.0/vendor/param-processor/param-processor/src/ParamProcessor/ParamDefinition.php >>> on line 172 >>> >>> [Tue Dec 17 18:55:07 2013] [error] [client x.x.x.x] PHP Notice: >> Undefined >>> variable: name in >>> >> /usr/local/devmediawiki-1.22.0/vendor/param-processor/param-processor/src/ParamProcessor/ParamDefinition.php >>> on line 174 >>> >>> [Tue Dec 17 18:55:07 2013] [error] [client x.x.x.x] PHP Fatal error: >> Call >>> to undefined method SMWParamFormat::getDescription() in >>> >> /usr/local/devmediawiki-1.22.0/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QuerySpecialPage.php >>> on line 73 >>> >>> ----- >>> For the first warning, I see that in SMW_QueryProcessor.php on line 589 >> the >>> following using only one argument: >>> $params['source'] = new SMWParamSource( 'source' ); >>> >>> The constructor has two required arguments: >>> /** >>> * Constructor. >>> * >>> * @since 1.0 >>> * >>> * @param string $type >>> * @param string $name >>> * @param mixed $default Use null for no default (which makes the >>> parameter required) >>> * @param string $message >>> * @param boolean $isList >>> */ >>> public function __construct( $type, $name, $default = null, >>> $message = null, $isList = false ) { >>> $this->type = $type; >>> $this->name = $name; >>> $this->default = $default; >>> $this->message = $message; >>> $this->isList = $isList; >>> >>> $this->postConstruct(); >>> } >>> ------ >>> I'm not sure what's at the heart of the other two errors. >>> >>> Advice welcome, thanks! >>> >> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into >> your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >> AppDynamics Pro! >>> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Semediawiki-user mailing list >>> Sem...@li... >>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>> >>> >> >> > |