Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Empty File Download

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Empty File Download

Tagged: download file, empty file, encrypted download, not working, product download

  • This topic has 11 replies, 5 voices, and was last updated 15 years, 3 months ago by RRG.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • January 3, 2010 at 1:38 pm #619
    knadolny
    Member

    I just downloaded your shopping cart plugin and I love using it. I tried another one earlier and it just didn’t do the job. I’m glad I found yours.

    I’ve just about set everything up, but am having trouble with the product download. I was testing the Paypal features live and I got it to work. When I downloaded the file, I got a blank zip file. The zip file that should come with the download is about 20MB.

    I used the Admin functions to create download links to test out other files and I can’t get any of them to work. I’m not sure what the problem is? I’ll tackle the problem over the next few days but your insight is appreciated.

    I can send you a sample download link via email if you like.

    Cheers,

    Kevin

    January 3, 2010 at 7:20 pm #17018
    Ivy
    Member

    Hi, Did you check that the file path is correct? Check this first and if this is not the problem please let me know so we can troubleshoot this some more.

    Ivy

    January 5, 2010 at 11:40 am #17019
    knadolny
    Member

    Ivy,

    Thanks for the idea. I took another look at the file path. First I made the file names simpler to see if that was the problem. The downloaded file was then 4kB instead of the 22MB but more than 0kB as before. I then used the full link instead starting from starting from http://capturingchinese.com/.

    This results in the following error:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 18353907 bytes) in D:Hosting4445488htmlwp-contentpluginswp-cart-for-digital-productsdownload.php on line 114

    I’m now more confused than before.

    Any help is appreciated.

    Cheers,

    Kevin

    January 5, 2010 at 9:55 pm #17020
    amin007
    Participant

    The following error usually means you are running out of RAM memory on your server:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 18353907 bytes) in D:Hosting4445488htmlwp-contentpluginswp-cart-for-digital-productsdownload.php on line 114

    This can happen if you are hosting on a shared hosting and you are using more than the RAM allocated to you.

    When this happens the server randomly kills any running script to free up memory. This would mean that when you start the download process the script is getting killed by the server so it’s not completing.

    Try unchecking the “Downloadable” option on this product. This will make the browser handle the download rather than the script.

    January 5, 2010 at 11:04 pm #17021
    knadolny
    Member

    Ivy,

    Great! It works like a charm now. Just to verify, is the file still encrypted and the user won’t know where the file is coming from? I’m thinking yes, but just want to confirm.

    If so then I should be all set. Thanks for your help. I would have had a lot of trouble on my own.

    Cheers.

    January 6, 2010 at 7:09 am #17022
    amin007
    Participant

    It is not as secure as the other option unfortunately. Given your server situation… you will have to fix that issue before you can use the other option though.

    February 7, 2010 at 3:12 am #17023
    Mike
    Member

    Hello,

    A customer purchased my ebook yesterday. ( I use wp estore) I received an email letting me know of the purchase and received the money. The customer got the email with the encrypted download link but when he tried to download the ebook a php file gets downloaded instead of the pdf book. I had him send me the email and I tried to download the book from the encrypted link and got the same problem. A php file was downloaded to my computer instead of the pdf book. When I copy and paste the encrypted link into my browser I get the pdf ebook.

    Any ideas what is going on?

    February 7, 2010 at 11:21 am #17024
    amin007
    Participant

    That is weird. So the link works in the browser when entered directly but not if it’s in an email?

    February 8, 2010 at 5:16 pm #17025
    Mike
    Member

    Yeah, I thought it was wierd as well. I went back and checked it though. It doesn’t work if I try to download it by right clicking but if I left click on it in the email it will work. So I guess there really is no problem. I’ll just change my instructions in the email from “right click” to “click”

    February 8, 2010 at 10:11 pm #17026
    amin007
    Participant

    ah I see what you are doing now. Right clicking on that link won’t work. Right clicking on a link and downloading it is a browser feature but the encrypted download option is handled by the plugin so even the browser do not know where the download is coming from otherwise the link location can get compromised.

    February 8, 2010 at 10:17 pm #17027
    Mike
    Member

    ahh…smart.

    Thanks

    February 22, 2010 at 6:44 pm #17028
    RRG
    Member

    I’m not getting the out of memory error, just a downloaded file with no KB’s. Pretty much a empty file. I am on a shared server, but they claim its no fault of theirs (lunarpages) Any ideas?

    Thank for reading

    RRG

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ