On 31/07/11 04:30, Samuel Lampa wrote: > Hi, > > Debugging the RDF Import in RDFIO, I got this: > > Fatal error: Call to a member function setId() on a non-object in > /home/samuel/www/smw-trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php > on line 1975 > > (Full stack trace here: http://pastebin.com/Z5JktQDZ ) > > Row 1975 in SMW_SQLStore2.php goes: > > $this->m_idCache->setId( $title, $namespace, $iw, $subobjectName, 0 ); > > ... and debugging it, I see that indeed $this->m_idCache is unitialized, > and that the constructor for SMW_SQLStore2 is indeed never run! (My > breakpoint on line 113 doesn't get caught). > > Any ideas how this could happen? Am I missing some LocalSettings-setting > for SMW_SQLStore2?
Could you say which storage backend you use (setting of $smwgDefaultStore)? Maybe some derived implementation does not call its parent constructor. Markus ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel