Re: Issues with Wiki Dump

"Vargenau, Marc-Etienne (Nokia - FR/Paris-Saclay)" <[email protected]> Sat, 15 Jan 2022 21:36:53 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <PR3PR07MB818378F45AE77529319117A4AC559@PR3PR07MB8183.eurprd07.prod.outlook.com>
Hi Harold,

'ZipArchive' is a standard class of PHP since PHP 5.2.0
https://www.php.net/manual/en/class.ziparchive

Probably your PHP is not compiled with that class.
You should check with phpinfo().

Best regards,

Marc-Etienne

-----Original Message-----
From: Harold Hallikainen <[email protected]> 
Sent: Saturday, January 15, 2022 8:23 PM
To: Harold Hallikainen <[email protected]>
Cc: Discussion on PhpWiki features, bugs, development. <[email protected]>
Subject: [Phpwiki-talk] Issues with Wiki Dump

I am having issues with the wiki dump. Here are the PHP error messages:

[15-Jan-2022 18:55:17 UTC] PHP Fatal error:  Uncaught Error: Class 'ZipArchive' not found in
/home/harold/public_html/org/bh/wiki/lib/loadsave.php:217
Stack trace:
#0 /home/harold/public_html/org/bh/wiki/lib/main.php(1273):
MakeWikiZip(Object(WikiRequest))
#1 /home/harold/public_html/org/bh/wiki/lib/main.php(819):
WikiRequest->action_zip()
#2 /home/harold/public_html/org/bh/wiki/lib/main.php(1456):
WikiRequest->handleAction()
#3 /home/harold/public_html/org/bh/wiki/lib/main.php(1480): main() #4
/home/harold/public_html/org/bh/wiki/index.php(60):
include('/home/harold/pu...')
#5 {main}
  thrown in /home/harold/public_html/org/bh/wiki/lib/loadsave.php on line
217
[15-Jan-2022 18:55:59 UTC] PHP Notice:  Undefined index: MinPage in /home/harold/public_html/fr/index.php on line 9
[15-Jan-2022 18:55:59 UTC] PHP Notice:  Undefined index: MaxPage in /home/harold/public_html/fr/index.php on line 10
[15-Jan-2022 18:56:00 UTC] PHP Notice:  Undefined index: HOME in /home/harold/public_html/org/w6iwi/script/rbn.php on line 108
[15-Jan-2022 18:56:05 UTC] PHP Notice:  Undefined index: MinPage in /home/harold/public_html/fr/index.php on line 9
[15-Jan-2022 18:56:05 UTC] PHP Notice:  Undefined index: MaxPage in /home/harold/public_html/fr/index.php on line 10
[15-Jan-2022 18:56:26 UTC] PHP Notice:  Undefined index: MinPage in /home/harold/public_html/fr/index.php on line 9
[15-Jan-2022 18:56:26 UTC] PHP Notice:  Undefined index: MaxPage in /home/harold/public_html/fr/index.php on line 10
[15-Jan-2022 18:56:35 UTC] PHP Fatal error:  Uncaught Error: Class 'ZipArchive' not found in
/home/harold/public_html/org/bh/wiki/lib/loadsave.php:217
Stack trace:
#0 /home/harold/public_html/org/bh/wiki/lib/main.php(1273):
MakeWikiZip(Object(WikiRequest))
#1 /home/harold/public_html/org/bh/wiki/lib/main.php(819):
WikiRequest->action_zip()
#2 /home/harold/public_html/org/bh/wiki/lib/main.php(1456):
WikiRequest->handleAction()
#3 /home/harold/public_html/org/bh/wiki/lib/main.php(1480): main() #4
/home/harold/public_html/org/bh/wiki/index.php(60):
include('/home/harold/pu...')
#5 {main}
  thrown in /home/harold/public_html/org/bh/wiki/lib/loadsave.php on line
217



Using Dump To Directory, a lot of files (perhaps all) show up in the specified directory, but this error message appears at the bottom of the page.

Fatal PhpWiki Error: couldn't open file "/home/harold/tmp/wikidump/" for writing

I just updated to  phpwiki-code-r10903-trunk and the errors still appear.
I am going to try a restore from the dump to directory since it looks like it may be working.

THANKS!

Harold






_______________________________________________
Phpwiki-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpwiki-talk