Last modified: 2007-12-28 08:36:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12169 - refreshData.php and unifyProperties.php will not run
refreshData.php and unifyProperties.php will not run
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-01 11:19 UTC by Terry A. Hurlbut
Modified: 2007-12-28 08:36 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Terry A. Hurlbut 2007-12-01 11:19:30 UTC
Yesterday I upgraded Semantic MediaWiki from version 0.7 to 1.0 RC2. The provided update-helping scripts SMW_refreshData.php and SMW_unifyProperties.php refused to run. My PHP interpreter returned "parse errors" as follows:

For SMW_refreshData.php:

Syntax error: Unexpected T_OBJECT_OPERATOR in [path]/SMW_refreshData.php Line 106

For SMW_unifyProperties.php:

Syntax error: Unexpected T_OBJECT_OPERATOR in [path]/inputbox.php Line 75

These two errors were not show-stoppers in my upgrade; happily the only semantic annotations that the wiki involved contained were relations, and I had only twenty or so of those defined. I simply moved them all to page-type properties by hand. But to someone who has used SMW more heavily than we had, it could be a show-stopper.
Comment 1 Markus Krötzsch 2007-12-28 08:36:06 UTC
I cannot reproduce this bug. Are you using PHP5 without specific PHP4-compatibility settings enabled? Especially zend.ze1_compatibility_mode should not be used (but this would break elsewhere in MW too ...). The problem might be related to your PHP distribution, so an exact version number would possibly be useful.


Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links