Last modified: 2009-03-20 15:07:13 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 T19952, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17952 - Semantic MediaWiki has 'use of undefined constant DATE_W3C' error
Semantic MediaWiki has 'use of undefined constant DATE_W3C' error
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-12 14:46 UTC by Sergey Chernyshev
Modified: 2009-03-20 15:07 UTC (History)
1 user (show)

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


Attachments

Description Sergey Chernyshev 2009-03-12 14:46:23 UTC
I'm getting this PHP Notice in logs when running nightly SMW_dumpRDF.php (command line):

PHP Notice:  Use of undefined constant DATE_W3C - assumed 'DATE_W3C' in /.../extensions/SemanticMediaWiki/specials/Export/SMW_SpecialOWLExport.php on line 566
Comment 1 Chad H. 2009-03-17 04:14:18 UTC
User doesn't have DateTime installed for using the DATE_ constants. WORKSFORME?
Comment 2 Sergey Chernyshev 2009-03-17 04:46:28 UTC
I took a closer look to it and it seems that this issue only manifests itself when ran using cron.

Also, it started to happen only after upgrade to PHP 5.2.8 (and latest version of SMW).

I'll try to do more debugging to see what's wrong with it.
Comment 3 Sergey Chernyshev 2009-03-20 15:07:13 UTC
OK, I was wrong - it took some time for me to realize that cron is using old installation of PHP that came in RPM.

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


Navigation
Links