I am currently running ionFiles 4.2 but anytime I use the File Download -> Yes it sends an empty PDF (0 bytes) and an Adobe error:
"Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
If I set File Download -> No, it works just fine.
Are there any recommended steps to troubleshooting this?
Any help is appreciated.
Thank you,
Michael
I've seen this problem when your webhost has disabled fopen with non-local files. This means you can't use fopen with any URL such as http://www.mysite.com/pdf.pdf. If the files are hosted on your local server use the relative path, IE: /files/mypdf.pdf. If you need help, let me know.
Jordan, thank you! I bet that is it. I made the relative path change and I can see that I am on the right path, but joomla is putting too much info in URL when I click on the link (http://www.domain.com/home/.serverna...onfiles/my.pdf).
I know this is a Joomla problem but if you could point me int he right direction I would appreciate it.
Michael
It looks like you are not entering the relative paths correctly. Remove the "http://www.domain.com/home/" and just put "/dir/file.pdf". For example, if you put http://www.domain.com/file/mypdf.pdf to download normally, just insert "/file/mypdf.pdf" in ionFiles.
I have tried three variations to test this out:
/files/mypdf.pdf
result:
http://www.domain.com/home/.server/a...iles/mypdf.pdf
----------------------------------------------------------------
files/mypdf.pdf
result:
http://www.domain.com/home/.server/a...iles/mypdf.pdf
---------------------------------------------------------------
mypdf.pdf
result:
/home/.server/account/domain.com/cms/mypdf.pdf
Thank you for your help.
And none of these methods worked? Can you create a temporary admin account for me on your Joomla! installation and PM me the details? I'd like to look into this bug more and hopefully get it resolved.
I am having the same problem with ionfiles.. I put the url file but the pdf does not open. please help
Can you post the link to your download URL so that I can test?
I have been resolved the problem, i did what you said about the url and it works.
Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks