From: Schott, P. D (Pete) <pet...@al...> - 2011-01-18 12:50:29
|
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 |