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

encrypted download links not working

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › encrypted download links not working

Tagged: amazon s3, donwload link not working, estore, fopen, Method 7, S3

  • This topic has 37 replies, 6 voices, and was last updated 13 years, 6 months ago by wzp.
Viewing 15 posts - 1 through 15 (of 38 total)
1 2 3 →
  • Author
    Posts
  • April 1, 2011 at 3:26 pm #3093
    archeon
    Member

    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 #30927
    wzp
    Moderator

    Change the URL conversion preference to “relative.”

    April 1, 2011 at 3:56 pm #30928
    wzp
    Moderator

    Wow, 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 #30929
    archeon
    Member

    Where 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 #30930
    archeon
    Member

    Wait, found that setting and it still doesn’t work

    April 1, 2011 at 11:32 pm #30931
    wzp
    Moderator

    Given 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.

    A Bucket Full Of Objects — Amazon S3

    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 #30932
    archeon
    Member

    Trying 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 #30933
    wzp
    Moderator

    Replace “bucket” with the name of your S3 bucket and “object” with the name of your file.

    April 3, 2011 at 1:32 am #30934
    wzp
    Moderator

    P.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 #30935
    archeon
    Member

    Aha! I had an uppercase letter in the bucket name

    April 3, 2011 at 1:26 pm #30936
    wzp
    Moderator

    8)

    Maybe I need to incorporate some sort of input validation…

    June 17, 2011 at 7:28 pm #30937
    zskyman
    Member

    I 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 #30938
    wzp
    Moderator

    1. 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 #30939
    zskyman
    Member

    no, 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 #30940
    wzp
    Moderator

    It 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?

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 38 total)
1 2 3 →
  • 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