AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: aplmusic on March 18, 2019, 11:49:10 AM

Title: Digital download: works for pc but not for mobile
Post by: aplmusic on March 18, 2019, 11:49:10 AM
I'm setting up AbanteCart as a store for mp3 downloads. All setup has gone well, and I have tested a purchase and completed a download on my pc just fine. However, when trying the download on android, or iphone, the download starts, runs a very long time, and is unsuccessful.
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 19, 2019, 02:51:47 AM
Hello.

Did you set up file mask correctly in your download settings? Can you please share screenshot with download config (in admin)
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 19, 2019, 03:13:06 AM
Thanks for your reply.  As far as I can tell the download mask is correct. It will download fine to my pc, but not to cell phones.
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 19, 2019, 04:23:30 AM
No, mask is not correct. Please add .mp3 at the end
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 19, 2019, 04:40:26 AM
I corrected the file extension, but the same problem still exists.
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 19, 2019, 06:57:59 AM
Hi.

Does your files are valid mp3 file? I mean not only extension .mp3 but content
I am not able to replicate issue on IOS device Safari browser in latest AbanteCart 1.2.14
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 19, 2019, 07:26:26 AM
Yes, I have been testing only one mp3 file and it is valid. The earlier confusion about the file extension was because I was trying to alter the length of the file name and forgot to correct it, but my earlier tests were with the valid file and correct ending. I just heard about the latest upgrade, maybe I should try 1.2.14 ?
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 19, 2019, 07:55:17 AM
So whats happen when you start download on mobile device?
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 19, 2019, 08:22:39 AM
It looks like its downloading a file from   appalachianmusic.net which is my website where the store is located, but it runs a long time, without showing a progress bar, and finally stops with the message " download unsuccessful."

When I download on pc, I get the pop up asking to open or save file, and download is normal.

I do download mp3s to my android regularly, from Dropbox, so this is hard to figure out.
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 19, 2019, 09:25:37 AM
What is your AbanteCart version?
What is your server OS?
Please provide example of your mp3 file
What is the file size?
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 19, 2019, 03:25:01 PM
I have AbanteCart  1.2.13,   I downloaded it less than a week ago.
I am running Windows 7 on my pc
Android v 4.4.2
My friend has an iphone, not sure of model, but has same problem.

The mp3 is 5.3MB, this is too big to send as an attachment, and this forum doesn't permit external links

If you would like to try to do the download from my store site, it is currently set for testing, so you can proceed through checkout without being charged, but you would have to register an account with email and password.

Here is the only tune currently available for download:  Black Eyed Susie, it is track 1 of the album Up In The Batten House

appalachianmusic.net/store/
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 19, 2019, 05:06:42 PM
I have tried a few other things today, none of these worked on the mobile, but were ok on pc:

tried using a smaller size mp3 file, 1.5 MB

tried downloading the latest AbanteCart 1.2.14, same results
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 20, 2019, 06:24:37 AM
Pack files to zip and change file mask to ****.zip
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 20, 2019, 08:06:07 AM
tried zip, still doesn't work on mobile.   pc ok
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 22, 2019, 06:19:35 AM
I contacted my web host, he duplicated this problem, trying to download to his iPhone 5S was unsuccessful. He recommended reviewing the code on the website or contacting a developer to solve the problem.
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 22, 2019, 06:59:38 AM
What is your server OS?

Aks your hosting if you dont know
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 22, 2019, 07:19:21 AM
linux
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 22, 2019, 07:38:26 AM
Hello.

I am check your website from iphone 6 and after click on download live stream with mp3 is started.
Title: Re: Digital download: works for pc but not for mobile
Post by: Basara on March 22, 2019, 07:46:04 AM
Previously you mention you able to download mp3 from other websites.
Could you confirm that you can do with ios device?
Please provide example

for your info https://stackoverflow.com/a/8917745
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 22, 2019, 08:10:10 AM
What I meant was my android phone regularly downloads mp3s, and it seems the problem lies elsewhere. I don't have an iphone, and I don't understand the rest of your request.  The problem I am experiencing seems to happen with some, but not all phones.

For anyone who would like to help, I've created a test version of this problem using AbanteCart v1.2.14

With a mobile device visit   appalachianmusic.net/cart
There is a test customer account, follow login instructions and attempt to download the music file
This works on some phones, but not all. seems to always work on pcs fine. would appreciate hearing from anyone with results
Title: Re: Digital download: works for pc but not for mobile
Post by: abolabo on March 26, 2019, 08:05:37 AM
i afraid we cannot to solve this issue on old mobile devices.
Problem is in media player installed on mobile device.
mp3 files plays in stream mode. That's why  this problem not related to abantecart.
For example QuickTime Player on old iphones cannot play mp3 stream mode.
Same problem with old Android devices.
Title: Re: Digital download: works for pc but not for mobile
Post by: aplmusic on March 26, 2019, 09:13:04 AM
Hello,
Thanks very much for looking into this. I tested some other store software and seemed to get the same results. I prefer AbanteCart to work with, has nice features for this ptoject.