Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eMember » WP eMember Troubleshooting

PHP error from Digital Product URL

(5 posts) (2 voices)
  • Started 5 months ago by devvoman
  • Latest reply from devvoman
  • Possible Solutions (Related Topics):
    1. Error Messages when Updating a digital product
    2. Shipping cost added to digital products
    3. eStore - wp cart for digital products
    4. Base price is missing for digital product variations
    5. shipping is added to paypal for digital products

Tags:

  • Digital Product URL
  • eMember
  • PHP
  1. devvoman
    Member

    Hi there,

    When a user purchases an item and the digital product URL is clicked, I am presented with a webpage full of PHP errors. The best way I can demonstrate this is to provide the actual download link:

    http://www.h-productions.se/hybrid/wp-content/plugins/wp-cart-for-digital-products/download.php?file=2xOa%2FCgHVvyVgqTr

    Your help would be much appreciated with this - it's the last and final thing I need to fix before I can fully use the system.

    Many thanks.

    Tom

    Posted 5 months ago #
  2. wzp
    Moderator

    What version of PHP are you using on the server?

    Posted 5 months ago #
  3. devvoman
    Member

    PHP 5.3.8

    Posted 5 months ago #
  4. wzp
    Moderator

    The problem is caused by a change to the way PHP 5.3.x enforces syntax rules. Until the code can be officially updated (in about 12 hours), please make the following edits to the download.php file...

    On lines 3 to 21, for each occurrence of...
    define(ESTORE_DLVS_WHATEVER, 'VALUE');

    Change to...
    define('ESTORE_DLVS_WHATEVER', 'VALUE');

    What you are doing is placing the constant name inside single quotes.

    Posted 5 months ago #
  5. devvoman
    Member

    Amazing it worked... thank you!!!

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin