You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
Pages: 1
Hello!
I'm new to Maian Music but I really like what I see so far, you're one excellent coder David!
I've got it installed and running, took me some hours to get the paypal payment processing right but now it's all good!
Well, almost. I got one tiny problem ... On the download page each song link works only once, when I click it again it tells me the link has expired even when the limit is set to 3 or any other number in the admin panel. I thought that's a bit strange. When I hit "refresh" in the browser it changes the button graphic to "expired". The number for how many more times I can view the download page decreases by one, which is correct (I set it to 10) So the only thing not working is the download button expiry.
I've not found any other issues with the script, any ideas what might be the reason for this? I tried deleting cookies and changing expiry settings and different browsers and just kept re-buying the songs in sandbox mode, yet the error persists.
Thanks in advance for your help ![]()
"SunSpire"
Offline
Hi there,
Thanks for your kind words. ![]()
Now this *might* be a bug, so you`ll probably have to wait until I revise the script. Thats about the best I can offer at the moment. Thanks for letting me know anyway.
Offline
You're welcome! I got some spare time this weekend and will attempt a fresh install on my server and do some more testing. If the error happens again then I'll happily wait for your script revision. My album isn't finished yet so am not in a hurry to sell it ![]()
"SunSpire"
Offline
Ok, excellent. Well, I`m sure its an error, but let me know anyway.
Offline
Yep deffo a bug!
Any ideas how to fix this David? About 1 in 3 customers is getting "expired" messages no matter how high I set the page & file download limits.
Can the amount be hardcoded into the relevant script (index.php - I'm guessing) instead of relying on the settings panel? Maybe that's the problem?
Cheers,
D ![]()
Offline
Hmm, wonder what that might be? Clearly some dodgy coding. lol.
Line 1209 in the main index file of the original installation has this:
if ($SETTINGS->page_expiry>0 && ($cartPurchase->visits>=$cartPurchase->download_times)) {
include(PATH.'control/header.php');
$tpl_error = new Savant2();
$tpl_error->assign('ERROR_TEXT',$msg_checkout12);
$tpl_error->assign('ERROR_MESSAGE',str_replace('{store}',cleanData($SETTINGS->website_name),$msg_checkout13));
$tpl_error->display('templates/checkout/error.tpl.php');
include(PATH.'control/footer.php');
exit;
}
Whip out that block and the check is removed.
Offline
Haha, so what happens if I do that then? Where do I set the default download limits?
Also, I take it that this doesn't affect the page visit's at all right?
Last edited by davet (10-11-2010 17:18:16)
Offline
Right just tried this out...
1) Removed the offending code as above ![]()
2) Bought something from the store
3) Page said I had 15 downloads & 15 visits left
4) The Page visits count went down after refreshing the page but after downloading the file for the first time the remaining download count didn't change.
5) Downloaded the file another 2 times
6) On the fourth attempt to download I got the expired error message (even though the count was still saying 15)
Offline
Looks like there is some bug in there that needs sorting. I`ll take a look when I can.
Offline
This is a big problem on my site. I have taken away the page expiry part from the code like suggested above and that's fine but the download count doesn't change and always allows only 3 downloads which is not enough to many of my customers since they might have problems with their connection and such. Is there any way to increase the allowed download count? Thanks.
Offline
This is a big problem on my site. I have taken away the page expiry part from the code like suggested above and that's fine but the download count doesn't change and always allows only 3 downloads which is not enough to many of my customers since they might have problems with their connection and such. Is there any way to increase the allowed download count? Thanks.
Isn`t it in the settings?
Offline
hifly wrote:This is a big problem on my site. I have taken away the page expiry part from the code like suggested above and that's fine but the download count doesn't change and always allows only 3 downloads which is not enough to many of my customers since they might have problems with their connection and such. Is there any way to increase the allowed download count? Thanks.
Isn`t it in the settings?
Sure it is but that does not work as described above by others as well.
Offline
Sorry, not had chance to check this yet.
Offline
Please resolve this issues as almost 1/2 of all my customers are unable to download their purchases due to downloads expiring. Any solution would be fine. Even a temporary one.
Last edited by jiril (28-10-2011 09:01:56)
Offline
I tested it on my offline setup and couldn`t see any issues. Its still on my list of things to do.
Offline
Pages: 1