Bug Reports: Re: Upload PDF file to Documents in Asset Library
Sorry for the delay. Your site looks really good, by the way!
Could you let me know what the error message is when the upload fails? I don't see any evidence of it in the log files, so hopefully what it says on the screen is meaningful!
I suspect it might be to do with the given MIME type of the PDF file - perhaps Voice isn't recognising the type that your computer has identified it as.
I'm having similar problems uploading a pdf to the Buckinghamshire Record Society site (http://www.bucksvoice.net/brs). Some upload fine, but one I'm currently trying to upload either gives a 'Zero Sized Reply' error message or goes to an "Internet Explorer cannot display the webpage" error straight away. Any thoughts?
If you get an error straight away when you start the upload then it's probably due to the file size. The maximum size for a single file is 20MB. Is it larger than that??
Joe - Voice Admin
I'm having the same problem with a PDF. The file is 500kb's I have tried saving in different PDF formats via Illustrator.
It states that it's saving the file and then after a while I get "There was a server error processing your request".
The site is e-voice.org.uk/GRACA.
For the meantime, I have added the file as a jpg, which is not ideal.
Please can you advise?
In this case, Rachel, it looks like your web browser is trying to upload the PDF file with an invalid type.
As well as the file extension (.pdf), when the file is uploaded to the system the browser tells it what sort of file it is (the MIME type). For a PDF file it should say it's of type "application/pdf", but in fact it's saying it's of type "application/force-download" - which is a completely invalid type, and so the server is rejecting it.
It may be something to do with where you got the PDF from, or how it was created on your computer.
In the longer term I will see if I can engineer a fix such that if a file is uploaded with an invalid type then the system will guess the correct type rather than failing to upload. However, in the meantime you could try uploading it with a different browser, or from a different computer, to see if that helps!
Joe - Voice Admin
Many thanks for the quick reply.
I managed to upload the PDF using Chrome rather than Firefox.