Jump to content

PDF Problem - ionFiles 2.0

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
16 replies to this topic

#1
Friedel

Friedel

    Newbie

  • Members
  • PipPip
  • 16 posts
Hi!

Strange, but still with version 2.0.0 downloading a PDF-file only works with marking "yes" to "File download?" on my machine.
When I mark "no" to this queation Acrobat Reader (6 & 7) still reports an error due to a corrupt file.

The downloaded file has now a size of 462 Bytes. (Same with a JPG-file)

Regards,
Friedel

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Interesting, I will test this and see if I can replicate the error. Can you post your URL in the meantime?

#3
Friedel

Friedel

    Newbie

  • Members
  • PipPip
  • 16 posts
Hi Jordan

you have a private mail with the URL.

Regards,
Friedel

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Here is the beta that I mentioned in my PM. Please see if this fixes your problems.

Attached Files



#5
Friedel

Friedel

    Newbie

  • Members
  • PipPip
  • 16 posts
Well, I tested 2.1 beta but still it does not download the file correctly.
(You still got my URL for your testing.)

Regards,
Friedel

#6
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Thanks, I'll take a look at this very soon. I have an idea of how to get around this problem.

#7
Friedel

Friedel

    Newbie

  • Members
  • PipPip
  • 16 posts
Wouldn't it be smart to use relative paths (starting at the Joomla directory) instead of absolute paths?

Regards,
Friedel

#8
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Replace the download.php with this one.

Attached Files



#9
Friedel

Friedel

    Newbie

  • Members
  • PipPip
  • 16 posts
Done!

But there is no improvement.
Does it matter that in the new download.php it says: "error_reporting(0);" ?

Regads,
Friedel

#10
Guest_Jordan_*

Guest_Jordan_*
  • Guests
That would be because I attached the wrong one. Try this one and let me know when it is installed.

Attached Files



#11
Friedel

Friedel

    Newbie

  • Members
  • PipPip
  • 16 posts
Now it is uploaded.
Regards,
Friedel

#12
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Ok, I think I have this resolved now. Try this download.php.

Attached Files