https://bugzilla.wikimedia.org/show_bug.cgi?id=28334

--- Comment #7 from Markus Krötzsch <[email protected]> 2011-03-31 
14:42:04 UTC ---
(In reply to comment #6)
> Markus,
> 
> Does not update anything. Nothing has changed.

That is very strange. Does the script say "Refreshing specified pages!" and "1
pages refreshed." or what exactly is the output? If the output is correct, then
maybe some HTTP or browser caching prevents you from seeing the change? I have
to correct myself: the modification date would not be changed. But it would
still be surprising if both the wrong and the correct pages are refreshed to
exactly the same data with this script.

... 
> I'll follow the instructions on the page
> http://semantic-mediawiki.org/wiki/Help:Repairing_SMW's_data
> 
> 1. php SMW_setup.php --delete
> 2. php SMW_refreshData.php -ftpv -s 0 -e 500
> 3. php SMW_refreshData.php -ftpv -s 501 -e 1000
> 4. php SMW_refreshData.php -ftpv -s 1001 -e 1500
> 5. php SMW_refreshData.php -ftpv -s 1501 -e 2000
> ...
> 10. php SMW_refreshData.php -v
> 
> Can you tell me if this is the right way to go?

That's not quite right: the parameter "-f" of SMW_refreshData.php will delete
the database (you should also see a warning). So you should not use it many
times in a row. If you manually call "SMW_setup.php --delete" then you do not
need to use -f at all (in this case, you must call SMW_setup.php without
parameters first to re-create the SMW tables).

I am curious if this complete reset fixes your problem.

If this does not help, then the next step will be to uncomment all extensions
in LocalSettings.php and load Semantic MediaWiki only. Then repeat the complete
refresh (with delete) and see if this helps. If not, then we have at least
clarified that this is an SMW problem and not caused by another extension.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to