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, 1 month ago by admin.
-
AuthorPosts
-
October 3, 2011 at 12:41 am #4466rockindianaMember
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 #37249adminKeymaster1. 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 #37250rockindianaMemberFollowing 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 #37251wzpModeratorIt 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 #37252rockindianaMemberWith 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 #37253wzpModerator“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 #37254adminKeymasterFirst, 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:
October 4, 2011 at 8:13 pm #37255rockindianaMemberI 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 #37256adminKeymasterI sent you an email to get site access so I can check it out.
October 6, 2011 at 3:03 am #37257adminKeymasterYour 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”)
-
AuthorPosts
- You must be logged in to reply to this topic.