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

PHP error from Digital Product URL

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › PHP error from Digital Product URL

Tagged: Digital Product URL, eMember, PHP

  • This topic has 4 replies, 2 voices, and was last updated 13 years, 4 months ago by devvoman.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 21, 2011 at 8:04 pm #5099
    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

    December 21, 2011 at 8:39 pm #39959
    wzp
    Moderator

    What version of PHP are you using on the server?

    December 21, 2011 at 9:00 pm #39960
    devvoman
    Member

    PHP 5.3.8

    December 21, 2011 at 10:03 pm #39961
    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.

    December 21, 2011 at 10:18 pm #39962
    devvoman
    Member

    Amazing it worked… thank you!!!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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