Page 1 of 1

Problems downloading PDF's from site.

Posted: Tue 28. Mar 2006, 09:16
by liro
Hi,
I get an 'error' message while trying to download a PDF file from my site.

Adobe gives a message "There was an error opening this document. This file could not be found".
This message appears if I click the pdf file for download and want to open it immediately.
If I save it first and then open, there is no problem.

I already deleted the file and uploaded it again, but this did not solve the problem.

PDF is at http://www.rk-kerken-lisse.nl/index.php?id=9,5,0,0,1,0

Any suggestions what this might be?

Liro

Posted: Tue 28. Mar 2006, 10:10
by SoulDiver
hello

it seems like it helped ;-) when i download or open the file everything works fine!

cheers - adi

ERROR still exists but only in IE

Posted: Sat 23. Sep 2006, 17:39
by liro
Hi,
Today I received an email from someone using IE and he could not open the PDF files I have on my site.

I checked myself and indeed this is correct. When trying to download and select open, Adobe give an error that the file could not be found.

Download section at: http://www.rk-kerken-lisse.nl/index.php?downloads

This problem is only in IE. When I use Firefox everything is ok.
Any idea what this could be???

Thanks
Liro

Posted: Sat 23. Sep 2006, 18:34
by axelko
Hi, see http://www.phpwcms.de/forum/viewtopic.php?t=12243 for the same problem. For the pdf files you can set in the conf.inc.php $phpwcms['inline_download'] = 1; . Now the pdf directly opens in the browser.
But still it's a problem direct opening media files (like .wmv .asf) in IE. There's no solution yet. The $phpwcms['inline_download'] = 1; workaround doesn't work here.

Greetz,

Axel

Posted: Sat 23. Sep 2006, 18:55
by liro
Thanks. But I'm running on 1.2.6
The line $phpwcms['inline_download'] = 1 is not even mentioned here.
Any other place I can change something like this?

Liro

Posted: Thu 21. Dec 2006, 13:38
by sebby
Consider changing

Code: Select all

header("Accept-Ranges: bytes");
to

Code: Select all

header("Accept-Ranges: none");
see details in the following thread:

http://www.phpwcms.de/forum/viewtopic.php?t=13225

I am still waiting for a second opinion on this though... be careful!

Regards,

Seb