Last modified: 2014-11-03 06:40:27 UTC
Hey everybody, i have a apache server system on windows 2003 server running. There i have two mediawiki installations one version is 1.23.2 and the other 1.21. Both have the same configuration in localsettings.php for pdfhandler extension: require_once ("$IP/extensions/PdfHandler/PdfHandler.php"); $wgPdfProcessor = 'C:\Programme\gs\gs9.10\bin\gswin32.exe'; $wgPdfPostProcessor = 'C:\Programme\ImageMagick-6.8.7-Q16\convert.exe'; $wgPdfInfo = 'C:\Programme\xpdfbin-win-3.03\bin32\pdfinfo.exe'; $wgPdftoText = 'C:\Programme\xpdfbin-win-3.03\bin32\pdftotext.exe'; On my mediawiki 1.21 that works fine, but on my mediawiki 1.23.2 i am not able to get a preview of an uploaded pdf, it doesn't do anything (no error message at all). Funny thing, if I choose older uploaded pdfs on my mediawiki 1.23.2 (which had already a preview image) it works fine. Any idea would be welcome. Regards, Max
Have you asked on https://www.mediawiki.org/wiki/Project:Support_desk yet? Have you checked http://www.mediawiki.org/wiki/Manual:How_to_debug ?
(In reply to Andre Klapper from comment #1) > Have you asked on https://www.mediawiki.org/wiki/Project:Support_desk yet? > Have you checked http://www.mediawiki.org/wiki/Manual:How_to_debug ? No I didn't asked on Support Desk, but tried to find some information about that issue there. However, thanks for the link about debuging possibilities, maybe I can find something about what's going wrong.
(In reply to mrmax from comment #2) > (In reply to Andre Klapper from comment #1) > > Have you asked on https://www.mediawiki.org/wiki/Project:Support_desk yet? > > Have you checked http://www.mediawiki.org/wiki/Manual:How_to_debug ? > > No I didn't asked on Support Desk, but tried to find some information about > that issue there. However, thanks for the link about debuging possibilities, > maybe I can find something about what's going wrong. Ok, now I know why I can see older pdfs as image preview and newer pdfs not. I looked for the file in the image directory of my wiki and older pdfs have converted versions of themself, while newer do not get one. So questions is why is PdfHandler not longer able to generate or save images of that pdfs? I already checked folder access, which should be ok. As I said on same server there is an additional wiki (older Version 1.21) and there anything else works fine. Does somebody know a good adresse for an how-to of debug what happen with pdf (PDFHandlder) call on my server, so that I can get more information where the problem occurs? Thanks, Max
I'd recommend to also give https://www.mediawiki.org/wiki/Project:Support_desk and maybe https://www.mediawiki.org/wiki/Extension_talk:PdfHandler a try... For general debug info: http://www.mediawiki.org/wiki/Manual:How_to_debug
(In reply to Andre Klapper from comment #4) > I'd recommend to also give > https://www.mediawiki.org/wiki/Project:Support_desk and maybe > https://www.mediawiki.org/wiki/Extension_talk:PdfHandler a try... > > For general debug info: http://www.mediawiki.org/wiki/Manual:How_to_debug Discussion page of PdfHandler extension refers to Bugzilla and looks closed. And a similar topic (https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Installing_extension:pdfhandler#Installing_Extension:PdfHandler_47073) isn't really answered (NO, I do not have spaces in my configuration). Anyway, I played with my secondary wiki (V1.21), which as I said works fine with PdfHandler, and updated it to V1.23.2 afterwards PdfHandler isn't working anymore. If I downgrade the wiki files again back to V1.21 anything is fine again. Also an update to V1.23.6 doesn't work. Regards, Max
Ok, I was able to activate debug log file and I guess I have the same problem like: https://bugzilla.wikimedia.org/show_bug.cgi?id=72044
Thanks! Marking as duplicate then - let's continue in bug 72044. *** This bug has been marked as a duplicate of bug 72044 ***