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

Problem with PDF Stamper whe working with WP eStore

by

Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › WP PDF Stamper Troubleshooting › Problem with PDF Stamper whe working with WP eStore

Tagged: cURL, pdf stamper

  • This topic has 9 replies, 3 voices, and was last updated 13 years, 7 months ago by admin.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • October 3, 2011 at 12:41 am #4466
    rockindiana
    Member

    This is the situation:

    – I am using WordPress 3.0.1 with Wp eStore v 5.9.7 and pdf Stamper v3.3.8

    – The manual pdf stamping works OK

    – The download with WP eStore works OK when PDF Stamper is not used (“Stamp the PDF File” is unchecked)

    – When used together, the stamped file is correctly created in the Destination Directory of Stamped Files, but the download link gets the following error:

    “Download file cannot be found. Please let us know. Thank you!”

    And the Debug file message:

    “FAILURE : Error on file_exists(‘Error!’)”

    So, apparently both plugins seems to work OK when working separately, but a problem comes up when both Stamper and eStore works together: it seems that eStore can not address the right link of the stamped file…

    Any help?

    Thanks in advance.

    October 3, 2011 at 1:16 am #37249
    admin
    Keymaster

    1. Empty your “Debug Logs” by hitting the reset debug log button in eStore settings menu.

    2. Click on the Encrypted download link

    3. Share the content of the full debug log file named “download_manager_debug.log”

    October 3, 2011 at 6:41 pm #37250
    rockindiana
    Member

    Following your instructions, this is what I get:

    [10/03/2011 6:40 PM] – Advisory : Log file reset.


    [10/03/2011 6:40 PM] – FAILURE : Error on file_exists(‘Error!’)

    October 3, 2011 at 7:13 pm #37251
    wzp
    Moderator

    It means the file was not properly stamped. Try manually stamping the file, to see if you get any errors.

    October 3, 2011 at 9:43 pm #37252
    rockindiana
    Member

    With the manual stamping I get the output file properly stamped… but I get the following message on the “Manual Stamping” page:

    An error occurred while trying to stamp the file!

    Success!

    But as I said, the file seems to be correctly stamped.

    Just to mention that the stamped file is named: output_file_xxxxxxxxxxxxx.pdf

    (where xxxxxxxxxxxxx are 13 characters of which the initial five are the same as in the “Secret Key for PDF Stamping”)

    Any ideas?

    October 3, 2011 at 11:07 pm #37253
    wzp
    Moderator

    “An error occurred while trying to stamp the file!” will prevent the stamper from communicating with eStore. @admin will have to look into this…

    October 4, 2011 at 12:45 am #37254
    admin
    Keymaster

    First, lets work on getting the Manual stamping to work without any error. Please go through the following checklist to see if you made any mistakes explained there:

    https://support.tipsandtricks-hq.com/forums/topic/an-error-occurred-while-trying-to-stamp-the-file-pdf-file-creation-checklist

    October 4, 2011 at 8:13 pm #37255
    rockindiana
    Member

    I have follow all the recommendations in the checklist, including changing the theme (i’m using “Twenty Ten 1.1 by the WordPress team”) and deactivating most of the plugins… I am also using your pdf example file (pdf-stamper-sample-ebook.pdf) and everything remains the same.

    The manual stamping seems to work fine because the file is CORRECTLY stamped, but the two lines error message remains:

    ” An error occurred while trying to stamp the file!

    Success! “

    Any additional ideas?

    Thanks.

    October 5, 2011 at 12:04 am #37256
    admin
    Keymaster

    I sent you an email to get site access so I can check it out.

    October 6, 2011 at 3:03 am #37257
    admin
    Keymaster

    Your server has a restriction on the “CURL” library where it doesn’t allow HTTP POST on the same site. The plugin has an option to go around this. We did the following modification in the plugin to address the issue.

    1. Open the “wp_pdf_stamp.php” file and look for the following line of code:

    define(‘WP_PDF_STAMP_DO_NOT_USE_CURL’, “0”)

    2. Once you find it replace it with the following:

    define(‘WP_PDF_STAMP_DO_NOT_USE_CURL’, “1”)

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