Topic on Extension talk:DumpHTML

Fatal error, running DumpHTML from Shell

4
91.57.77.46 (talkcontribs)

Hello :)

we searched, and found many people with the same error, but with no solutions... perhaps someone can help us...

we get the following error, when we try to run the dumpHTML.php from shell (different working folders, same error): Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '__DIR__/Maintenance.php' (include_path='.:/usr/local/lib/php') in /.../mediawiki/maintenance/commandLine.inc on line 24

kind regards, markus h.

Kelson (talkcontribs)

try the latest version of DumpHTML&Mediawiki and run DumpHTML as extension (not in the maintenance directory).

91.57.89.200 (talkcontribs)

Thank you for your answer, but that was not the Problem.

Out PHP-Version was too low (5.2.17). We updated php to 5.3.10 and now the script runs....

BUT: it only creates the index.html and all the links lead back to the online-version, which is of course non-sense for an offline-copy ;) Does anyone know, how we can force dumpHTML to download ALL pages as html-files and make relative links?

kind regards, markus h.

Reply to "Fatal error, running DumpHTML from Shell"