Not logged in. · Lost password · Register
Forum: General Help and Support Features and Functionality RSS
Error in Site export fonction
Avatar
flechter #1
Member for a week · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Error in Site export fonction
Hello,

We want to export our Wiki, but when we try to use the internal fonction it don't seems to work,  we have this error in apache log:
[Thu Dec 06 17:39:44 2018] [error] [client 172.17.19.41] PHP Warning:  Declaration of action_plugin_xslfo::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/www/html/dokuwiki/lib/plugins/xslfo/action.php on line 265, referer: http://sinfo04:8080/dokuwiki/doku.php?id=gsf:start_gsf&do=admin&page=siteexport

does anyone know this error and can help us to solve it ?

Regards

Stéphane Didierjean
Avatar
schplurtz (Moderator) #2
Member since Nov 2009 · 310 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
Hi,
This error is well known. try to update your xslfo plugin first. Explanations and instruction to fix are here : https://www.patreon.com/posts/declaration-be-20638123

Not sure this will fix your export issue though.

Please, let us know.
http://schplurtz.free.fr/wiki/
Avatar
flechter #3
Member for a week · 2 posts
Group memberships: Members
Show profile · Link to this post
Hello,

Thanks a lot for your help, it solve the error in the apache log.
But my export stil failed.
When I try with the wget option i have this error :
wget --max-redirect=74 --output-document=siteexport.zip --post-data="id=start&addParams=1&depth=0&depthType=1.0&do=siteexport&ens=start&exportLinkedPages=1&renderer=&template=bootstrap3" http://sinfo04:8080/wiki/doku.php?id=doku.php --http-user=sdidierjean --http-passwd=*****
--2018-12-07 09:53:32--  http://sinfo04:8080/wiki/doku.php?id=doku.php
Resolving sinfo04... 172.17.211.109
Connecting to sinfo04|172.17.211.109|:8080... connected.
HTTP request sent, awaiting response... 302 Found
Location: /wiki/lib/exe/fetch.php?cache=nocache&siteexport=d219cf60c4aba4f9e57144281e121781&sectok=cd3deac8a1dc38d804ff5f8b76d7b29a&media=wiki:siteexport.zip [following]
--2018-12-07 09:53:32--  http://sinfo04:8080/wiki/lib/exe/fetch.php?cache=nocache&siteexport=d219cf60c4aba4f9e57144281e121781&sectok=cd3deac8a1dc38d804ff5f8b76d7b29a&media=wiki:siteexport.zip
Connecting to sinfo04|172.17.211.109|:8080... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2018-12-07 09:53:32 ERROR 500: Internal Server Error.

I didn't find any error in the apache log, where can i find an error ?
I also try with curl or direct http download but it also failed.

Regards

Stephane
Avatar
schplurtz (Moderator) #4
Member since Nov 2009 · 310 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
Are you sure you looked in the correct place ? 500 error should be in the logs.
If you have access to apache config files, look for the ErrorLog directive in
all the files in apache config directory. Maybe, adapt the logLevel Directive.
If you're lucky, you'll manage to get relevant logs.

Without logs it's impossible to guess where the problem is... Things that come to mind are memory_limit and the max_execution_time limit, or some other limit I'm not aware of,  and PHP lacking some feature required by the siteexport plugin (check the plugin page). But it could really be anything. You definitely need the logs.
http://schplurtz.free.fr/wiki/
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-12-14, 04:26:51 (UTC +01:00)