<< Home

Download problem...

Use this forum for issues related to TriniTronic's Nice PayPal Downloads Extension.

Moderator: jamesSBT

Re: Download problem...

Postby colin99 » Wed Dec 21, 2011 2:06 pm

Playing around with a couple of permissions -- like chmod on the file itself - makes no difference.

Something to note:

Even though I am not successfully downloading the file, the counter in the N-PayPal admin area is incrementing...
Like I said, everything seems to be running up and until the last step where the file is "pushed" to the client browser.
colin99
Tropos
Tropos
 
Posts: 13
Joined: Thu Feb 24, 2011 4:21 pm

Re: Download problem...

Postby Michael » Wed Dec 21, 2011 5:28 pm

Hi,

Check the file path for the file folder. Go to Administrator>>Components>>Nice PayPal Downloads>>Settings. I noticed that your file path contains jupgrade/ in it. This looks like a "stay-over" from your last upgrade. I checked this in the browser. When I go to the right path with jupgrade/ in it, I get a 404 page not found error. But, when I exclude the jupgrade/ portion of the path, I get a .htaccess security pop up. I think if you remove the jupgrade/ part of the path you may be right as rain.

~ Best regards
Contributed by Michael Babcock
User avatar
Michael
Cosmos
Cosmos
 
Posts: 2533
Joined: Thu Aug 14, 2008 12:30 am

Re: Download problem...

Postby colin99 » Wed Dec 21, 2011 10:45 pm

/jupgrade is the actual root web directory so all the file paths are correct -

If I changed the file path I would no longer see the mp3 library in ../jupgrade/mp3-space -

I played around with the domain pointers: pointing back to the old site at /path/to/www
and the problem persisted.

One of my ISP techs suggested that it might be a MIME type issue -
but I have similar files for free download in another DIR with Phocadownload
with no issues.

Another day tomorrow.
colin99
Tropos
Tropos
 
Posts: 13
Joined: Thu Feb 24, 2011 4:21 pm

Re: Download problem...

Postby colin99 » Thu Dec 22, 2011 9:06 am

This mornings experiment:

Set the file path to the same file path as my Phocadownload file area (which is full of files, pdf's, doc's, mp3's, etc) that freely and successfully
download in a heartbeat.

Created a nice-download with one of them - and boom, same set of errors.

That kind of tells me that this is an issue in the extension and not with the ISP's PHP settings.

Funny thing: I was actually dreaming about this problem last night -
sometimes real solutions come out of dreams.
Thankfully, this issue is probably not rocket science - I can grasp what is going on - just a case of plugging away at it until the cause reveals
itself.
colin99
Tropos
Tropos
 
Posts: 13
Joined: Thu Feb 24, 2011 4:21 pm

Re: Download problem...

Postby Michael » Thu Dec 22, 2011 1:19 pm

Hi,

"One of my ISP techs suggested that it might be a MIME type issue -
but I have similar files for free download in another DIR with Phocadownload
with no issues."

This is possible. The Nice PayPal Downloads tries to determine what the file type is and then pass that information to the browser. It is supposed to fail gracefully, meaning that if it cannot, then it tells the browser just to do the download without knowing the file type. If there was an error during this identification process, it could hang the download. Plus, different servers have different file extensions that they recognize. If Phocadownloads does not try to identify the file type first, then there may be no error and the file would download no problem.

Let me take a look at a few things, then I will show you how to bypass the code responsible for identifying the mime type.

~ Best
Contributed by Michael Babcock
User avatar
Michael
Cosmos
Cosmos
 
Posts: 2533
Joined: Thu Aug 14, 2008 12:30 am

Re: Download problem...

Postby colin99 » Thu Dec 22, 2011 1:45 pm

Fixed!

Turn OFF GZipping on the Joomla site!

Bingo!

Going to check this on Joomla 1.6

Hurrah -
colin99
Tropos
Tropos
 
Posts: 13
Joined: Thu Feb 24, 2011 4:21 pm

Re: Download problem...

Postby Michael » Thu Dec 22, 2011 1:55 pm

You're the man! :D

Thanks for sharing your solution with the forum!!

~ Merry Christmas
Contributed by Michael Babcock
User avatar
Michael
Cosmos
Cosmos
 
Posts: 2533
Joined: Thu Aug 14, 2008 12:30 am

Previous

Return to Joomla: Nice PayPal Downloads

Who is online

Users browsing this forum: Google [Bot] and 2 guests