Forums

Can't link to PDF File

GaetanoH 27 Oct, 2016
Hello, so I have a file uploading in my forms. So after I click save I could edit the record and the uploadfile has changed to an icon where you can click on to show the file you just uploaded. So this works for almost everything. Docx, doc, png, jpeg, but when I upload a pdf it gives no errors but when I click the link it shows me a 500 error.

Can you guys help me out.
GreyHead 27 Oct, 2016
1 Likes
Hi GaetanoH,

No idea at all. What is the URL that shows up for the pdf link?

Bob
GaetanoH 27 Oct, 2016
Hello, thanks for responding. It shows this url, it's on intranet thought! http://intranet/components/com_chronoforms5/chronoforms/uploads/bestelbonformEdit/094229_Winterbanden2014.pdf

However, it now says: The page cannot be displayed because an internal server error has occurred. instead of the usual 500 error
GreyHead 27 Oct, 2016
Hi GaetanoH,

Does the file exist at that location? If it does then I'd guess that there is some kind of server setting blocking access.

Bob
GaetanoH 27 Oct, 2016
Yes, it does exist at that location, and you mean settings in Joomla or just in the server in general?

Thanks for responding!
GreyHead 27 Oct, 2016
Hi GaetanoH,

I mean the server in general - .htaccess blocks. I can't think of anything usual that would block .pdf files but allow .docx, etc.

If you copy and paste that URL into a browser tab does that show an error?

Bob
GaetanoH 27 Oct, 2016
Yes, that also blocks it and shows the error posted above.
GreyHead 27 Oct, 2016
Hi GaetanoH,

Then it's not something that CF is doing but somewhere else on the site or server :-(

Bob
This topic is locked and no more replies can be posted.