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 12 years, 5 months ago by
admin.
-
AuthorPosts
-
December 7, 2010 at 5:28 am #2338
vfontjr
MemberWhen 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 #27144amin007
ParticipantThank you for posting the work around
January 21, 2012 at 10:20 pm #27145hilariom
MemberSorry 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 #27146admin
KeymasterFirst 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 #27147thewsk
Memberwhere on the server do I put whitelist.inc.php
May 25, 2013 at 11:02 pm #27148admin
KeymasterYou 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.phpYou 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.
-
AuthorPosts
- You must be logged in to reply to this topic.