Loading...
 
Tiki Importer

Tiki Importer


MediaWiki import under PHP 8

United States

I am trying to import from MediaWiki into an existing TikiWiki (trying to consolidate my wikis). I have recently updated to TikiWiki 26.2 and my server runs PHP 8.2.12. I am importing from MediaWiki 1.41.0.

When I use the importer, I get the response:

Loading and validating the XML file

Fatal error: Uncaught Error: Non-static method Text_Wiki::factory() cannot be called statically in MY TIKIWIKI DIR/lib/importer/tikiimporter_wiki_mediawiki.php:125
Stack trace:

  1. 0 MY TIKIWIKI DIR/lib/importer/tikiimporter_wiki_mediawiki.php(109): TikiImporter_Wiki_Mediawiki->configureParser()
  2. 1 MY TIKIWIKI DIR/tiki-importer.php(56): TikiImporter_Wiki_Mediawiki->import('/tmp/phpetlPMw')
  3. 2 {main} thrown in MY TIKIWIKI DIR/lib/importer/tikiimporter_wiki_mediawiki.php on line 125


Can you advise?

Canada

Sounds like a side-effect of the migration to PHP8

Workaround: Import from MediaWiki to Tiki24, and then upgrade from Tiki24 to Tiki26

I will make sure this is fixed for Tiki27


Upcoming Events

1)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6) 
Tiki birthday
7)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting