Dragonfly CMS v9 ⇒ Downloads Pro ⇒ [solved] PDF files don't download ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks Downloads Pro

[solved] PDF files don't download Reply to topic


Sorry to re raise this old issue but was it ever solved? I have uploaded .pdf extension in both downloads and downloads pro and all I see when I attempt to download it all I see is the attached screen shot and does not download the file.
Attachment: pdf-1.jpg
Description
Filesize 85.45 KiB
Viewed 6 Time(s)
You are not allowed to view/download this attachment

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
unix / Apache 2.2.15 / MySQL 5.0.92 / PHP 5.3.8/ CMS 9.4.0.0

Last edited by macuserau on Sun Feb 12, 2012 6:42 am; edited 1 time in total


I use can download the upload pdf from my other site so is it caused by the DF upgrade. Or is it more then likely the Version of the PDF

DF version 9.2.1 Download 3.0.0.15 pdf download ok

DF version 9.3.2.0 Download 3.0.0.15 pdf don't download

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
unix / Apache 2.2.15 / MySQL 5.0.92 / PHP 5.3.8/ CMS 9.4.0.0


Does the download points to a local or an external pdf file ... enabling notices and warnings in debug will also help.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Nano
They files are held locally. I uploaded them. I have just remembered that I tested them after the upload, (but this was before my site upgraded to 9.3.2.0). I will try the enabling notices and warnings to see what info i can get.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
unix / Apache 2.2.15 / MySQL 5.0.92 / PHP 5.3.8/ CMS 9.4.0.0


Last version is 9.3.3, however nothing ever changed in that area, not even close ... and we have tested in few 9.3.3 and its working fine.

Moreover, PDF version shouldn't make any different.

Didn't your server had any recent change?

Can you pass us the detail for the download?
If private, do you know how to get Request and Response Headers from the PDF file (with firebug, chrome, opera ...)?

That is all I need, Request and Response Headers.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


I am not sure what you require here nano.

I will check about changes with my server

it's all my .pdf.

you can find some of them here:
www.cofscouts.org.au/i...name=Notes

the example above is in the form of downloads pro but it is also happening in downloads. I am using both modules.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
unix / Apache 2.2.15 / MySQL 5.0.92 / PHP 5.3.8/ CMS 9.4.0.0


I'm getting a blank page when I try to download the file, it's possible you have a parse error somewhere.

Make sure you overwrite _all_ files inside your website /include folder with original ones.

If none help, enable CPG_DEBUG inside /includes/config.php for more details.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Nano
Just upgraded to 9.3.3.0 and all good, I will mark as solved.
Why did this fix it?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
unix / Apache 2.2.15 / MySQL 5.0.92 / PHP 5.3.8/ CMS 9.4.0.0


I had a blank page when trying to download, and headers sent from your website were unfamiliar to me.
Both of them indicates something went wrong at a very early stage, up, in the code.

One ore more corrupted or modified core files, was surely the cause.
Upgrade didn't fix it, using original files did.

Glad you got it sorted.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

All times are UTC


Jump to: