- This topic has 1 reply, 2 voices, and was last updated 14 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Amazon S3 Direct Download With Hidden URL
Hello – I receive the following error when using hidden URLs and downloading from Amazon S3.
Fatal error: Allowed memory size of 103809024 bytes exhausted (tried to allocate 4096 bytes) in
/nfs/c04/h01/mnt/58894/domains/example.com/html/wp-content/plugins/wp-cart-for-digital-products/download.php on line 114
This appears to be because the eStore plugin pulls the file locally before downloading to the client computer and the webhost memory limit is reached.
Is there a way to download directly from Amazon S3 and still have the URL hidden?
If you want to keep the original URL hidden then eStore must read the remote file and serve it to the browser (as soon as you let the browser handle the file download it’s download location is not hidden anymore).
When it reads the remote file it will temporarily store it in your servers memory (if your hosting plan is really tight on memory then it won’t work)