|
||||||
| ionFiles Forum for the support of ionFiles - Joomla! component |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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 |
| Sponsored Links |
|
|
|
|||||
|
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.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||
|
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.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||
|
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. |
| Sponsored Links |
|
|
|
|||||
|
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.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||||
|
Can you post the link to your download URL so that I can test?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Thinking in C++, 2nd Edition, Volume 1 and 2 -- PDFs | DanC++ | C and C++ | 6 | 01-19-2008 01:19 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |