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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14169, the corresponding Phabricator task for complete and up-to-date bug report information.
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