From: Neill M. <ne...@nl...> - 2011-01-18 13:38:35
|
Hi Pete. Did you apply the required SMW+ patches to Mediawiki? Cheers Neill. On 18/01/11 13:19, Schott, Peter D (Pete) wrote: > Yaron, > Thanks for the quick reply. I had to install MediaWiki but SMW+ did install a version of SMW. > > If I remove Semantic Drilldown reference from LocalSettings.php, the problem still persists. > > Pete > > From: Yaron Koren [mailto:ya...@gm...] > Sent: Tuesday, January 18, 2011 8:09 AM > To: Schott, Peter D (Pete) > Cc: sem...@li... > Subject: Re: [Semediawiki-user] errors on 'Browse properties" page when visiting from page with 'Ask' query > > Hi, > > It's my understanding that SMW+ comes with its own version of both MediaWiki and SMW - if so, it could be that one or both of those alternate versions are conflicting in some way with the Semantic Drilldown code. That's my guess, anyway. > > -Yaron > On Tue, Jan 18, 2011 at 7:50 AM, Schott, Peter D (Pete)<pet...@al...<mailto:pet...@al...>> wrote: > I am using SMW+ 1.5.2 with SMW 1.5.2 and MW 1.16.0 and am running into problems that did not exist with SMW 1.5.0 and Semantic Bundles. > > I have a page that contains an 'ask' query. Sample query: > Sample ask query: > {{#ask: [[Person::{{FULLPAGENAME}}]][[DCBsentiment::+]][[TopicName::+]] > |format=table > |?TopicName > |?Person > |?SentimentFeeling=Feeling > |?SentimentDate > |searchlabel= > |sort=SentimentDate|order=descending > }} > > The query returns results as expected but if I visit the 'browse properties' page > (sample URL: http://petescho.lra.lucent.com/smwplus/index.php/Special:Browse/Person:Pete.Schott), I get the following 'warnings': > <br /> > <b>Warning</b>: urlencode() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/GlobalFunctions.php</b> on line<b>308</b><br /> > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > <br /> > > <b>Warning</b>: mysql_real_escape_string() expects parameter 1 to be string, array given in<b>/var/www/smwplus/includes/db/DatabaseMysql.php</b> on line<b>280</b><br /> > > If I take out the SMW+ extensions (remove from LocalSettings.php) leaving SMW, I see same warnings, however, I do not see any warnings using same queries and data in SMW 1.5.0 with Semantic Bundles. > > Any assistance would be appreciated. > Thanks > > Pete > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Semediawiki-user mailing list > Sem...@li...<mailto:Sem...@li...> > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > -- > WikiWorks * MediaWiki Consulting * http://wikiworks.com > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > |