SV: Re: DokuWikiFCKW.pm not working?
Lindgren Daniel <daniel.lindgren <at> tullverket.se>
2008-09-01 07:29:09 GMT
> I've been working on a major upgrade to DokuWikiFCK and I've
> written the attached for users of DokuWikiFCK on windows.
> You may have to go into the file and change the temp
> directory at line 51 from C:\Windows\temp to your temp
> directory, although the php documentation suggests this will
> not be necessary.
>
> Change the name of html2wiki to html2wiki.pl and place it in
> the same directory as your Perl binary, or any other
> directory which is in your Path.
Tried the new save.php with fckg (correct?) and empty (deleted) pages was the result. I used html2wiki.bat
instead of ...pl because my Perl installation hasn't registered to handle .pl.
The HTML tempfile is created but the shell_exec conversion to DokuWikiFCK by html2wiki doesn't seem to
happen, at least not with a resturn result in the $TEXT variable. If I try it manually it works, eg
"html2wiki.bat c:\temp\_dw3A.tmp -dialect DokuWikiFCK" on the command line.
Changing temp directory wasn't necessary on my installation, but if you want to you have to use double
backslashes in Windows, eg "C:\\Temp".
If I select "DW Edit" everything works fine, but I guess that means I completely bypass fckg. Deselecting
"Convert FCK ..." has no effect.
=====================================================================
Med vänliga hälsningar/Best Regards
Tulldata, Driftenheten Tel : 0920-259618
Daniel Lindgren Mobil : 070-6725325
Aurorum 3 Fax : 0920-259790
(Continue reading)