Last modified: 2014-11-03 06:40:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74349, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72349 - Not working on MW1.23
Not working on MW1.23
Status: RESOLVED DUPLICATE of bug 72044
Product: MediaWiki extensions
Classification: Unclassified
PdfHandler (Other open bugs)
REL1_23-branch
PC Windows Server 2003
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-22 09:44 UTC by mrmax
Modified: 2014-11-03 06:40 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description mrmax 2014-10-22 09:44:13 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
Comment 1 Andre Klapper 2014-10-22 09:48:57 UTC
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 ?
Comment 2 mrmax 2014-10-23 07:56:05 UTC
(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.
Comment 3 mrmax 2014-10-31 12:15:53 UTC
(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
Comment 4 Andre Klapper 2014-10-31 17:08:00 UTC
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
Comment 5 mrmax 2014-10-31 18:34:14 UTC
(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
Comment 6 mrmax 2014-10-31 18:57:01 UTC
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
Comment 7 Andre Klapper 2014-11-03 06:40:27 UTC
Thanks! Marking as duplicate then - let's continue in bug 72044.

*** This bug has been marked as a duplicate of bug 72044 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links