- This topic has 5 replies, 5 voices, and was last updated 11 years, 6 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
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
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.
Thank you for posting the work around
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
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
where on the server do I put whitelist.inc.php
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.