Page 1 of 1

PDF Download -> Notice: Undefined variable: mimeType

Posted: 29 Sep 2008, 19:39
by juergen852
Hello,

installed version: Phoca Download Version 1.0.4

If I download a PDF-File from my site, the PDF can't be opened.
Looking into the file's code, there's some additional Text put in front of the PDF file.
The file is OK on the server, but not after the DL.

BTW: I uploaded german language files too. de-DE.com_phocadownload.zip, unzipped it and manually uploaded it with ftp to the language directories.

Instead of

Code: Select all

%PDF-1.4
%äãÏÒ
2 0 obj
<</Subtype/Image
/Width 674
/Height 224
/BitsPerComponent 8
/ColorSpace/DeviceRGB
/Filter/DCTDecode
/Length 3 0 R
>>
stream
the file now starts with

Code: Select all


Notice: Undefined variable: mimeType in /srv/www/vhosts/benzing-ls.de/httpdocs/joomla/components/com_phocadownload/views/category/view.html.php on line 131
%PDF-1.4
%äãÏÒ
2 0 obj
<</Subtype/Image
/Width 674
/Height 224
/BitsPerComponent 8
/ColorSpace/DeviceRGB
/Filter/DCTDecode
/Length 3 0 R
>>
stream

Re: PDF Download -> Notice: Undefined variable: mimeType

Posted: 30 Sep 2008, 23:48
by Jan
Thank you for this information, I found this but, it will be fixed in the next version, I hope I will release it soon, Jan