Lost Password?


  #1 (permalink)  
Old 03-19-2008, 08:27 PM
_michael_ _michael_ is offline
Newbie
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0
_michael_ is on a distinguished road
Default [Solved]Corrupted PDFs

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-20-2008, 10:32 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Corrupted PDFs

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-20-2008, 02:27 PM
_michael_ _michael_ is offline
Newbie
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0
_michael_ is on a distinguished road
Default Re: Corrupted PDFs

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-21-2008, 10:11 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Corrupted PDFs

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-21-2008, 01:25 PM
_michael_ _michael_ is offline
Newbie
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0
_michael_ is on a distinguished road
Default Re: Corrupted PDFs

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 03-21-2008, 02:11 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Corrupted PDFs

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-12-2008, 04:17 PM
imedranoo imedranoo is offline
Newbie
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
imedranoo is on a distinguished road
Default Re: Corrupted PDFs

I am having the same problem with ionfiles.. I put the url file but the pdf does not open. please help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-13-2008, 07:31 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Corrupted PDFs

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-14-2008, 09:03 AM
imedranoo imedranoo is offline
Newbie
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
imedranoo is on a distinguished road
Talking Re: Corrupted PDFs

I have been resolved the problem, i did what you said about the url and it works.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

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


All times are GMT -5. The time now is 11:17 PM.

Contest Stats

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

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads