Discuss Troubleshooting

From semantic-mediawiki.org

Contents

Thread titleRepliesLast modified
Ask not working - version problem118:47, 18 March 2014
Large queries break for no obvious reason215:20, 7 March 2014

Ask not working - version problem

It all started when an ask query didn't work:

I've got this simple 'ask' clause:

{{#ask: [[category:Incident]]}}

It finds three pages. When I do a search, though:

http://xxxx/wiki/index.php?title=Category:Incident

I get 17 pages

I was advised to get my revisions in sync.

Now I'm still having trouble getting my system to 1.19.1, and I seem to be somewhere between two revisions - the reason was to fix a problem with 'ask' and the consequence is that it now doesn't work at all.

SMW is at Semantic MediaWiki(Version 1.8.0.5).

I have to run the updates through cron, without phar.so, but it's working, thus:

cd www/wiki;php-cli -c etc maintenance/update.php;php-cli -c etc extensions/Composer/bin/composer update --verbose ;php-cli -c etc extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php -d 50 -v

If, though, I replace the Extensions/SemanticMediaWiki 1.8.0 directory with the 1.19.1 directory, I get lots of:

" Warning: Class 'SMW\Store' not found in SemanticMediaWiki.php on line 60 "

Any suggestions of what I'm getting wrong gratefully received!

10:25, 17 March 2014

You will have to delete the folders of the old SMW 1.8.x prior to installing SMW 1.9.x Just today some useful information for working with shared hosting environments were added.

18:47, 18 March 2014
 

Large queries break for no obvious reason

In our ReplicationWiki we have trouble with a search form that restricts us to no more than six fields to search in simultaneously, e.g., searching for seven like this: http://replication.uni-goettingen.de/wiki/index.php?title=Special%3AAsk&q=[[Article+authors%3A%3A~*]]+%09%0D%0A[[Article+year%3A%3A~*]]%0D%0A[[Article+JEL+codes%3A%3A~*]]%0D%0A[[Article+methods+and+estimation%3A%3A~*]]%0D%0A[[Article+data+used%3A%3A~*]]%0D%0A[[Article+software+used%3A%3A~*]]%0D%0A[[Article+code%3A%3A1]]&po=&eq=yes&p[format]=broadtable&sort_num=&order_num=ASC&p[limit]=&p[offset]=&p[link]=all&p[sort]=&p[headers]=show&p[mainlabel]=&p[intro]=&p[outro]=&p[searchlabel]=%E2%80%A6+further+results&p[default]=&p[class]=sortable+wikitable+smwtable&eq=yes
produces the error message
"The following query conditions could not be considered due to the wikis restrictions in query size or depth".
Suhosin for us doesn't work as it is not technically possible from the server side. Is there some other solution? ReplicationWiki-fan (talk)

14:39, 5 March 2014

Some configuration settings will have to be adjusted.

14:59, 5 March 2014

That worked for us, thank you!

15:20, 7 March 2014