Loading...
 
Skip to main content

Tiki Importer - Mediawiki

Status
Closed
Subject
Tiki Importer - Mediawiki
Version
11.x Regression
12.x Regression
Category
  • Error
Feature
Import-Export
Resolution status
Fixed or Solved
Submitted by
SCO2land
Volunteered to solve
manivannans
Lastmod by
Torsten Fabricius
Rating
(0)
Description

Hi,

When trying to use the Tiki Importer for Mediawiki, I ended up with a blank page.

Reproducible everytime:

  • Menu Admin / Tiki Importer
  • In the dropdown box "Select the software to import from", select Mediawiki
  • Click OK

=> blank page

I added this to view errors:
ini_set('display_errors',1);
error_reporting(E_ALL);

Fatal error: require_once(): Failed opening required 'Text/Wiki/Mediawiki.php' (include_path='/path/to/my/tiki/vendor/bombayworks/zendframework1/library:/path/to/my/tiki/vendor/bombayworks/zendframework1/extras/library:/path/to/my/tiki/vendor/phpseclib/phpseclib/phpseclib:.:/usr/lib64/php/:/usr/share/pear/:/usr/share/php/:/path/to/my/tiki/') in /path/to/my/tiki/lib/importer/tikiimporter_wiki_mediawiki.php on line 9


Indeed there is no Mediawiki.php in those folders

Workaround:
I found this file in the folder /vendor_extra/pear/Text/Wiki/
I copied the folder Text into /vendor/bombayworks/zendframework1/library
The file was properly called.

I guess it would be better to correct or add the path but I don't know how.

Thnak you!

Solution

Hi @SCO2land,

Direct includes would cause error, so I just removed it from the file. Now the error is gone. But I did not test with mediawiki import files. Can you please test this with 12x version, it's fixed now.

Please check this commit id: 48535.

Importance
7
Easy to solve?
9
Priority
63
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4931
Created
Saturday 16 November, 2013 21:55:46 UTC
by SCO2land
LastModif
Thursday 21 November, 2013 21:36:14 UTC


Show PHP error messages