PDF's aren't opening on new server
Permalink
I have a site that was maxing out my old server. I ended up having to move the site to a bigger more stable server.. but when I did the PDF links stopped working throughout the site.
This particular client needs to have these PDFs available for emergency room doctors and are currently liable for any issues that may arise from this.
The PDF links seem like they download fine.. but when you checked the files after downloading they all say unconfirmed download and won't open..
Here is an example of a page with links to PDFs that no longer work.
http://www.semproducts.com/product-catalog/prep-products/zero-voc-s... They seem to be pointed to a download_file directory that doesn't exist.. but that may just be C5 programming..
Please help!
This particular client needs to have these PDFs available for emergency room doctors and are currently liable for any issues that may arise from this.
The PDF links seem like they download fine.. but when you checked the files after downloading they all say unconfirmed download and won't open..
Here is an example of a page with links to PDFs that no longer work.
http://www.semproducts.com/product-catalog/prep-products/zero-voc-s... They seem to be pointed to a download_file directory that doesn't exist.. but that may just be C5 programming..
Please help!
Anyone? This has got to have something to do with the way concrete5 accesses it's PDFs.. Right now the links on the site are linked to /download_file/the name of the file as opposed to /file/29808094/9089480/ like they really are.. So it has something to do with that php code that tells it what directory to look in not working..
Interesting. I tried to download from your page example without success but it worked when I used Chrome Dev tools to inspect element and opened from there. Just throwing it out there (because I really don't know) but are all permissions set properly?
Yes.. Full access on all folders and directories.. Files download on a cellphone but not on a browser..
The exact same site athttp://sem.agenity.com on another server and the files download fine..
Joel Lucibello
Agenity Corporation
http://www.agenity.com
joel@agenity.com
704.728.1110
"We make websites smarter!"
The exact same site athttp://sem.agenity.com on another server and the files download fine..
Joel Lucibello
Agenity Corporation
http://www.agenity.com
joel@agenity.com
704.728.1110
"We make websites smarter!"
Got it to open from your site but had to right click to open in new window (also "prettied" the URL on the new page by removing /index.php/)
and it downloaded..... slowly....
still puzzled why, but its got my curiosity
and it downloaded..... slowly....
still puzzled why, but its got my curiosity
I got it working!.. In the semproducts index.php file i turned off the zlib compression.
I had it off in the main php config file that made it work in ie and ff
Not sure why chrome was still busted but i changed it and now.. viola.
I had it off in the main php config file that made it work in ie and ff
Not sure why chrome was still busted but i changed it and now.. viola.