Last modified: 2009-03-20 15:07:13 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
User doesn't have DateTime installed for using the DATE_ constants. WORKSFORME?
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.
OK, I was wrong - it took some time for me to realize that cron is using old installation of PHP that came in RPM.