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

Bad Behavior Plugin Blocks PDF Stamper – Here's the work around

by

Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › WP PDF Stamper F.A.Q/Instructions › Bad Behavior Plugin Blocks PDF Stamper – Here's the work around

  • This topic has 5 replies, 5 voices, and was last updated 11 years, 11 months ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 7, 2010 at 5:28 am #2338
    vfontjr
    Member

    When testing the PDF Stamper program, I kept receiving the error: “An error occurred while trying to stamp the file!” I reviewed all of the information I could find on this website but nothing would work. Knowing that the Bad Behavior plugin also causes havoc with Paypal’s IPN, I decided to disable the plugin and try a manual stamp again. This time I received an fseek() error so I knew I was making progress. The fseek error was fixed by changing the URL to an absolute path. The stamping worked. Changing the absiolute path back to a URL and the stamping worked again.

    To fix Bad Behavior, you need add the following to Bad Behavior whitelist.inc.php file:

    $bb2_whitelist_urls = array(

    “/wp-content/plugins/wp-cart-for-digital-products/paypal.php”,

    “/wp-content/plugins/wp-pdf-stamper/api/stamp_api.php”,

    The first entry after array allows Bad Behavior to work with Paypal’s IPN. The second line allows Bad Behavior to work with PDF Stamper.

    December 7, 2010 at 11:12 pm #27144
    amin007
    Participant

    Thank you for posting the work around :)

    January 21, 2012 at 10:20 pm #27145
    hilariom
    Member

    Sorry I don’t know if this can be the workaround in my situation.

    I don’t understand what kind of action do you do to get the fseek error.

    I am worried of modifying the whitelist.inc.php without making exactly the test you did.

    In my case PAYPAL seam to be working (at least with Estore)

    Regards

    January 22, 2012 at 5:33 am #27146
    admin
    Keymaster

    First lets get your Manual stamping to work. From your other post it seems that you are having issue with that. Please follow what I said on your other post:

    https://support.tipsandtricks-hq.com/forums/topic/an-error-occured-while-trying-to-stamp-the-file-2

    May 25, 2013 at 1:03 am #27147
    thewsk
    Member

    where on the server do I put whitelist.inc.php

    May 25, 2013 at 11:02 pm #27148
    admin
    Keymaster

    You don’t have to add that file. It is already in the following directory on your server:

    .../wp-content/plugins/bad-behavior/bad-behavior/whitelist.inc.php

    You shouldn’t have to modify that file though. I think you should just be able to add the IP addresses or script paths that you want to white list in the settings menu of that plugin and that should do it. Look for a white list menu inside that plugin’s dashboard area.

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