Page 1 of 2

PDF stop to show

Posted: 13 Dec 2015, 11:35
by kigor
Hello,
I see strange problem.
I have last version of phoca download and phoca plugin downloand on few my site. In one this simple stop to work or better PDF is not show any more. As I not made any change to Joomla or/and other component/module/plugin I am very confuse what now blocked PDF to be show.
You can see for example is this page
[removed - javascript attack detected on the site]

when you click Inpiu dalmazia 12.12.2015 you will receive text like in the end of this post (and this is part, in total this pdf have 8 page, 2.9mb).
TO show PDF I use this code:
{phocadownload view=file|id=565}

What can I do?


%PDF-1.5 %âãÏÓ 21 0 obj <> endobj 180 0 obj <>/Filter/FlateDecode/ID[<09D1A9EE7C028B4AADB55911B70BBDBE><09D1A9EE7C028B4AADB55911B70BBDBE>]/Index[21 293]/Info 20 0 R/Length 483/Prev 2974201/Root 22 0 R/Size 314/Type/XRef/W[1 3 1]>>stream hÞì“MH”Q†ïw'g”›hÂÉ©t‚'lQƒÈ0Ž‚‚.\ˆÍ$˜éèJEjn‚ Û…âΈ@¡ƒj5‚ J¸MÚmœ¾ó|CßE·n7/çžûžs” (­”wOhݪÂÀ‘IaEBèïvþ$Þ*̼D'mZñ³¢u‡va4M¤ÏúÉÇç\†Õi2}èeñiz„þ$‡È§zezVŒ>‡‡UÔʃäëø‚ºïØ5#™þ»èV·ÝZžs©çÑYôaY }[XþQÜê~ˆŽ|&þ–ü1ô,ôþYÃyßpÄYÜTóoaɁ8?¿'ºê97à\coÚp~€ŽÂ«0Næ0/gUë–>ÿñ9j„±6W70Ë•^Â’©ñ™ ҝŠõè„û6ôÚ©;D-ê>½ÉMÉéY)î¥Ò¹Ó»^¡ïCgÒQȍhœ­…Ã]”N¬/¼±š_ÄßPq…Ìo†7šÎ=ÏŒnón·šn½Ül¨Qxí<ùÿâsÎœ³Ò`—pÁuÓߍYbƉÅÜ_P¬~d"ë²ÍKï¿ò’שˏ(¹nÓ;%*¿¹ª´ý™ÔÞqÂ'_ÿÇýÔ©;»Më\3 endstream endobj startxref 0 %%EOF 313 0 obj <>stream hÞì–ÛKTQÆ¿}Ι™3ŽÎ8šã]'MSSÓR³›¼5šš™©åµì2£f“iZŽ¹'Í&³šÊ[i0ô„äCȉ‚ê͇z(˜? ‰ˆ®Ð1„4¬T"ú`±añ±öïe- TèðC:©Çƒ?4Õ‘¹cºô€vhJø{E9™\Á+]T®nj»ÖÃs™—ÎÛÇ×Ï? 0(X¿<„ ]¾2"2jUtLìê¸ø5k’Ö%¯ß°qÓæ”-ÂÖÔ´ôŒÌm†¬ìí9¹y;òwì*Ü]T\²goiYyEeÕ¾ýÕ:l4ÕÔÖ©?j>Öp¼±éDsËÉS­–¶ÓíÔz¦£ól×9Ûùî=/]¶_¹z­·¯`ðú¡a’þëh‰3Ù ­äOÉfK[4ãb ýœ÷[hMK6#5n¾hKŽ635nn´á¥G›gl ÛŠ¶,ä´ÿhÿÚìvZãæTùðKÙq †hì2Κׂ`j4@ñR{W$ï%‹8‹ôj¤ínàºf­µcÄêÚ‚XÁï)Ïä‚ÀÂMØdø ò$U‘‘uŠá…ðnÑ¢D¥¼Õy‹m”}ƒh(#˜Ç”uâû@mG´Hâá2ŠúïN*9儁„£Ô¦¤Ê2~|\] …ñU¤¼ˆK€Ú#e_!L/9“ì.w¨:“÷²3ÅVöúœ‰÷Ð 2Oà)ýÞˆ¡p¢Dd àafMLèm<Ëíxž\ÊôCkF#8é_ â‘-09¤ÝQMÑ݉(ª¨ƒÊ9éÔC㠁`'WE"¡L&ó‚éHUHÉ…›fÑ»>q£\‚ôø ©ù;z)7ßÏc­°è1L•£&2¡}Mç8E´ˆ©H˜> endobj 23 0 obj <>/MediaBox[0 0 793.7 1162.21]/Parent 19 0 R/Resources 181 0 R/Rotate 0/Type/Page>> endobj 24 0 obj <>stream hÞì[isÛ8ýûø1SSÜQ•J•Ú\Nì5Z}PlÚÑŒ,y%y6ž_¿¯J%Q"eYÑ$±‹"Hâb£Ýï©Hx"R™kqV8t8¤£

Re: PDF stop to show

Posted: 15 Dec 2015, 01:41
by Jan
Hi, on the site you have linked is some javascript attack code, try to fix this security problem first. Maybe this is the reason for this. :idea:



Jan

Re: PDF stop to show

Posted: 16 Dec 2015, 11:06
by kigor
Thanks for your replay. Well in the end I found solution. Simple Joomla update and now PDF can again be downloaded.
But worry me what you write about javascript attack code. When you see it?

Re: PDF stop to show

Posted: 18 Dec 2015, 02:28
by Jan
Hi, my antivirus software made an alert - not sure if it is false alarm or true but I just got the warning :idea:

Jan

Re: PDF stop to show

Posted: 08 Jan 2016, 12:55
by dadoen
kigor wrote:Thanks for your replay. Well in the end I found solution. Simple Joomla update and now PDF can again be downloaded.
But worry me what you write about javascript attack code. When you see it?
I have same problem, what Joomla update resolve problem ?

Re: PDF stop to show

Posted: 08 Jan 2016, 13:43
by kigor
I have 2.5.10 and update to last 2.5.28

Re: PDF stop to show

Posted: 08 Jan 2016, 13:48
by dadoen
Thanks ,

I have 3.4.8 but problem also in 3.2.

http://www.openwaterswim-serbia.org.rs/ ... n-mitrovic

Have any another solutions?

Re: PDF stop to show

Posted: 14 Jan 2016, 23:31
by Jan
Hi, the PDF on this link is corrupted but why, really no idea, do you have a link to the site where the PDF button is located?

Jan

Re: PDF stop to show

Posted: 18 Jan 2016, 17:16
by Jan
Hi, try to change the filename (remove the spaces from the name) and try to add it as another new file in Phoca Download. Does it work in Phoca Download component? (Can you paste me a link to phoca download component category view where this new file will be listed)?

Jan

Re: PDF stop to show

Posted: 18 Jan 2016, 18:46
by unhbuzzard
I've got the same problem- script showing instead of a pdf. Site is: http://idorss.com/index.php/resources/brochures

I tried removing spaces in the file name but that did not fix it. Any ideas are appreciated!