[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

[email protected]
Newsgroups gmane.org.wikimedia.mediawiki.bugs
Message-ID <[email protected]/>
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044

--- Comment #17 from [email protected] ---
I tried the same (adding $wgPdfHandlerDpi = '150'; to LocalSettings.php,
reupload a file). But when delete a file and reupload in Wiki I get a php error

 [19-Nov-2014 12:53:14 UTC] PHP Warning:  COPY /B /Y "C:\WINDOWS
\TEMP\localcopy_25bb7e96359f-1.tmp" "d:\MediawikiTestwiki_Images
\f\f0\0003_1110_Technische_Dokumentation.pdf"
 C:\WINDOWS\TEMP\localcopy_25bb7e96359f-1.tmp 
 Zugriff verweigert
        0 Datei(en) kopiert.
 in C:\Inetpub\Www_root\Testwiki\includes\filebackend\FSFileBackend.php on line
282

In my wikis debug txt file there are several hits to that windows path. Here is
one sequence while reupload:

wfShellExec: "C:\Program Files\xpdf\bin64\pdfinfo.exe" -enc UTF-8 -l 9999999
-meta "C:\WINDOWS\TEMP/localcopy_25bb7e96359f-1.tmp"
PdfImage::retrieveMetaData: "C:\Program Files\xpdf\bin64\pdftotext.exe"
"C:\WINDOWS\TEMP/localcopy_25bb7e96359f-1.tmp" -
wfShellExec: "C:\Program Files\xpdf\bin64\pdftotext.exe"
"C:\WINDOWS\TEMP/localcopy_25bb7e96359f-1.tmp" -
wfShellExec: "C:\Program Files\xpdf\bin64\pdfinfo.exe" -enc UTF-8 -l 9999999
-meta "C:\WINDOWS\TEMP/localcopy_25bb7e96359f-1.tmp"
PdfImage::retrieveMetaData: "C:\Program Files\xpdf\bin64\pdftotext.exe"
"C:\WINDOWS\TEMP/localcopy_25bb7e96359f-1.tmp" -
wfShellExec: "C:\Program Files\xpdf\bin64\pdftotext.exe"
"C:\WINDOWS\TEMP/localcopy_25bb7e96359f-1.tmp" -
FSFile::getProps: C:\WINDOWS\TEMP/localcopy_25bb7e96359f-1.tmp loaded, 57638
bytes, application/pdf.
UploadBase::verifyExtension: mime type application/pdf matches extension pdf,
passing file

I cant't remember having some path configured to windows/temp.

The file reupload itself worked but there is still no pdf-thumbnail.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.