PDF Download -> Notice: Undefined variable: mimeType
Posted: 29 Sep 2008, 19:39
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
the file now starts with
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
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