On Montag, 25. August 2008, Daniel Friesen wrote: > Over at Wikia we've been getting issues with SMW. Sometimes on > undeletion a blank page (ie: php fatal error) is given making it > impossible to undelete a page.
SMW 1.3 (release date Sept 7) will fix this (and clean this particular piece of code); a pity that it affected someone just before that :-(. I will create a bugfix release SMW 1.2.2 and update SVN as well. Give me some hours for that. -- Markus P.S. Any Wikia-related troubles can be sent directly to Denny and me to ensure the speedy fixes. > Aug 25 04:04:31 10.8.2.55 httpd[6273]: PHP Fatal error: Call to a > member function getSubject() on a non-object in > /usr/wikia/source/releases_200808.3/extensions/3rdparty/SemanticMediaWiki/i >ncludes/SMW_Factbox.php on line 326 > > This appears to be the |$this_ns = > SMWFactbox::$semdata->getSubject()->getNamespace(); call inside of > > |SMWFactbox::addImportedDefinition. > > This would be caused because SMWFactbox::$semdata is not checked to see > if it's set before making that call. > > Could someone else handle this one? Unfortunately I don't know what that > function should output if there is a failure in getting the namespace. > Also, there may be an issue with the whole namespace stuff. > > FWIW, last page I had issues undeleting was a user talkpage. Annotations > should actually be off. Perhaps actual annotating is disabled, but for > some reason the factbox is being called, and causing an error because no > annotating was done and thus no title is set for it to use. > > Oh, btw... I kinda find (SMWFactbox::$semdata === NULL) to be quite > ugly. !isset(SMWFactbox::$semdata) works fine, and it's more > understandable when you read it. -- Markus Krötzsch Semantic MediaWiki http://semantic-mediawiki.org http://korrekt.org [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel