Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › encrypted download links not working
- This topic has 37 replies, 6 voices, and was last updated 13 years ago by wzp.
-
AuthorPosts
-
April 1, 2011 at 3:26 pm #3093archeonMember
I seem to be having a problem where my encrypted links are not working. The buyer gets the following eror mesage when trying to download the file.
“cURL transfer options could not be set. Please let us know. Thank you!”
Is the problem connected to the downloader php or is there a server setting I need to change?
here’s the log of a failed download:
[04/01/2011 3:10 PM] – Status : Unresolved DL file path = http://www.mydomain.com/wp-content/plugins/wp-cart-for-digital-products/downloads/mypdf.pdf
[04/01/2011 3:10 PM] – Warning : Invalid URL conversion target = /wp-content/plugins/wp-cart-for-digital-products/downloads/mypdf.pdf
[04/01/2011 3:10 PM] – Advisory : Forcing “Do Not Convert” option.
[04/01/2011 3:10 PM] – Status : Resolved DL file path = http://www.mydomain.com/wp-content/plugins/wp-cart-for-digital-products/downloads/mypdf.pdf
[04/01/2011 3:10 PM] – Warning : PHP safe mode ON.
[04/01/2011 3:10 PM] – Advisory : No DL file path conversion performed on URL.
[04/01/2011 3:10 PM] – Advisory : URL aware fropen() disabled, forcing cURL…
[04/01/2011 3:10 PM] – Advisory : Unable to affect maximum PHP script execution time. Download method will terminate after 30 seconds have elasped. Downloads not completed within that time period will be invalid.
[04/01/2011 3:10 PM] – Status : Dispatching DL method = 7
[04/01/2011 3:10 PM] – FAILURE : Error on curl_setopt()
Anyone know how I can fix this issue?
April 1, 2011 at 3:51 pm #30927wzpModeratorChange the URL conversion preference to “relative.”
April 1, 2011 at 3:56 pm #30928wzpModeratorWow, also be aware that whoever your hosting provider is, has your account really locked down. You may need to switch to the Amazon S3 integration mode.
April 1, 2011 at 5:29 pm #30929archeonMemberWhere is the setting to change the url preference?
Yeah my hosting contract is up in July so I’ve been looking for a place to move my sites.
April 1, 2011 at 5:37 pm #30930archeonMemberWait, found that setting and it still doesn’t work
April 1, 2011 at 11:32 pm #30931wzpModeratorGiven that both the Absolute and Relative URL conversion preferences do not work for you; and the fact that your hosting package is so locked down; my recommendation is that, if you want to continue using your current provider, that you implement the Amazon S3 integration feature.
By doing so, you are effectively outsourcing the storage and downloading of files from your server to the faster and more reliable Amazon S3 servers.
Amazon Web Services Simple Storage Service (AWS S3) Integration
When you begin looking for another host, please specifically look for these items, based on the messages returned in you log file:
* Ability to turn off PHP Safe Mode (mandatory). This is where most of the problems come from.
* Ability to use URL aware fopen() calls in PHP (should have). Affects ability to use cURL and ability to access files stored under a different subdomain.
* Ability to affect maximum PHP script execution time (mandatory). Without this ability, your self hosted downloads may be truncated.
* Ability to use cURL (nice to have, but optional). Affects ability to use DL method 7. eStore tried using method 7 in your case because Absolute and Relative URL conversion failed.
April 2, 2011 at 8:26 pm #30932archeonMemberTrying to use S3 but now I’m getting the following error – Please tell us the AS3TP URI for the product was either malformed or that the AS3TP configuration is incorrect. Thank you!
I’m sure the key and secret key are correct, and I’m following the example for the URI.
as3tp://bucket.s3.amazonaws.com/object
Is there another setting I need to check or uncheck?
Should the “downloadable” box be checked on the product?
April 2, 2011 at 10:04 pm #30933wzpModeratorReplace “bucket” with the name of your S3 bucket and “object” with the name of your file.
April 3, 2011 at 1:32 am #30934wzpModeratorP.S. A common mistake is to create bucket names with upper case letters…
http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?BucketRestrictions.html
April 3, 2011 at 2:33 am #30935archeonMemberAha! I had an uppercase letter in the bucket name
April 3, 2011 at 1:26 pm #30936wzpModeratorMaybe I need to incorporate some sort of input validation…
June 17, 2011 at 7:28 pm #30937zskymanMemberI am having problems also…
When the link is emailed, it returns.
Download file cannot be opened. Please let us know. Thank you!
I dont know where to start giving info..so if someone will ask what is important, I will do my best to answer so I can get my website working correctly.
Alan
June 17, 2011 at 9:46 pm #30938wzpModerator1. Are you hosting the files on your server or on Amazon?
2. Is the Product URL correct?
3. Is the problem only happening for a particular file?
4. Does the problem only happen for emailed links?
June 17, 2011 at 11:06 pm #30939zskymanMemberno, it is hosted with bluehost.com
as far as i know, yes..i used the media uploader with wordpress. then copied and pasted that url into line that says location of digital download.
no..it happens on every file that i can see
no..it happens also if i go to admin functions and create encryted link also.
June 18, 2011 at 12:28 am #30940wzpModeratorIt could be a permissions problem. If you copied the product URL and pasted it into the address bar of your browser, while you are not logged into the site, does the file download?
-
AuthorPosts
- You must be logged in to reply to this topic.