IMPORTANT UPDATE: Please DOWNLOAD and update the Formidable PRO2PDF to the Latest Version!

5 page PDF document with 4 signatures

Home Forums Bugs and Troubleshooting 5 page PDF document with 4 signatures

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #43644 Reply
    alexhash
    Participant

    Hello,

    I managed to map my PDF document and map all fields, including the signature field, and the document is send by email as attachement signed and all ok.

    I am having an issue that I cannot solve:
    My document needs to have the same signature on each page, 4 signatures in total (1 signature on each page).
    I modified my PDF document and copy pasted the Signature Field (text field) on page 2, 3 and 4. I remapped the document with the form in wordpress and the document send as attachement after the form is filled, has only the signature on the first page.

    I then tried to create each signature field (text field) in PDF document with a separate name (Signature, Signature2, Signature3, Signature4) and map each of these fields in the plugin. When I tried to submit the form my website takes very long and then returns 520.

    I then tried to map only 2 Signature fields (instead of 4) to see if it works this way, and I still get the same 520 error.

    Does the plugin work with only 1 signature on the document ? We really need to have the document signed on each page.

    Could you kindly please tell me what are the exact steps that I need to do in order to have this solved (client fills the form, drwas his signature once and we get the emailed PDF with his signature on each page) ?

    #43667 Reply
    admin
    Keymaster

    For each signature, the plugin takes more time to process the merge which can cause the timeout error.

    For best results, it’s necessary to optimize the PDF and the Formidable Form Signature Field. Here are some additional ways to speed up the process and/or extend the timeout limit.
    – Compress the PDF form to the smallest possible file size. (Less than 100k if possible)
    – Create a uniquely named Text Field for each signature on the PDF and map each of them to one single Formidable Form Signature Field.
    – Decrease the Signature Field Multiplier (resolution) using this code.
    – Disable the PDF Attachment and add a shortcode link to the email body so the user can download the PDF on-demand rather than as an attachment.
    – Increase the following PHP settings;
    max_execution_time = 600
    max_input_time = 600
    max_input_vars = 4000
    memory_limit = 512M
    post_max_size = 256M
    session.gc_maxlifetime = 1440

    If you need additional assistance, provide the following with your reply.
    – Confirmation of the above suggestions, what was and was not done.
    – Copy of the PDF Form that is uploaded to the plugin

    We remain at your service.

    #43996 Reply
    alexhash
    Participant

    Hello again,

    I have paid 40 USD for 12 months for this plugin and I am currently unable to use it.
    I wrote you 2 emails and still got no answer from anyone on your side.
    There was a “Premium Support” mention on the website when I purchased, how can I benefit from the Premium support ?

    Please help me with the issue that I am having so I can fully use your plugin.
    Our document requires 4 signatures on the same document and your plugin is unable to generate it as website returns 520 error.

    Form Page:
    attached is the PDF used in Formidable PRO2PDF – Cerere_Sedere_420_2-3c2.pdf
    attached is the PDF generated with 520 error on website – Generated PDF file from FORM signed and sent after 45 seconds on email.pdf

    I followed your instructions:
    I contacted the hosting company and they confirmed all settings were updated fo PHP as mentioned by you:
      – Increase the following PHP settings;
        max_execution_time = 600
        max_input_time = 600
        max_input_vars = 4000
        memory_limit = 512M
        post_max_size = 256M
        session.gc_maxlifetime = 1440
    + they increased the number of PHP workers to 10 workers.

      – Compress the PDF form to the smallest possible file size. (Less than 100k if possible)
     I have compressed the document to the maximum possible and it went down from 986 kb to 320 kb – please see it attached. “Cerere_Sedere_420_2-3c2.pdf”
    I have even created a blank PDF with just some fields and mapped them and everything and it has 32 kb in total, but it still does not work to create it with 4 signatures as site returns 520 as timeout.

      – Create a uniquely named Text Field for each signature on the PDF and map each of them to one single Formidable Form Signature Field.
    I did this and I reduced the signature box in the form from 450 x 150 to 300 x 100 px (to reduce the size, space and resources)

      – Decrease the Signature Field Multiplier (resolution) using this code.
    I have decreased to 0 using this code and tested, the signature is at lowest resolution possible

      – Disable the PDF Attachment and add a shortcode link to the email body so the user can download the PDF on-demand rather than as an attachment.
    If i Disable PDF attachment and (x) checkmark to send email, and I only send an email from the Form notification email with a link, everything works fine, but once I press the download link received on email, I cannot get the file, as my website refuses to generate it, as I continuously hit the 520 error from Cloudflare timeout. I think that after 30 seconds of inactivity, Cloudflare gives 520 error.
    I have also tried to get the file by “EXPORT” tab in Formidable PRO2PDF, and press Export to PDF or Preview PDF – none are able to generate my file as I keep getting 520 error.
    The only way I managed to get this to work is if I deleted 3 signatures, and left the document with only 1 signature, then most of the times it works.

    I also tried this:
    I really need the PDF to be sent as attachment by email to our clients (this is a must for us), so I checked the field Attach file to Email Notification > YES, and (x) Send Email.

    With these settings, I get the email with the attachment PDF after 45-60 seconds after pressing the “submit” button in the form page, but on website the client gets a 520 error, which we do not want, as we need the form to redirect to the thank you page (a simpe page with 2 lines of text, nothing special there).
    Please see attached the generated document from the form, with 520 error on website after submit, called “Generated PDF file from FORM signed and sent after 45 seconds on email.pdf”

    I do now know what else to do and how to make it work, so please help me with a solution so I can use the plugin and generate my PDF with 4 signatures, send it by email and redirect client to a thank you page without any error.

    I got in contact with my hosting again today and they had another look on the hosting side.
    They confirmed yet again that all the PHP settings are as you told me, and that everything is fine on the server side.

    They also confirmed that the only way it works super fast, without any 520 error is if there is no PDF generated or sent by email or generated so I think the problem is generating the PDF which takes a little time 45-60 seconds.
    We also tried generating it again from the back-end of admin in WordPress, from Formidable PRO2PDF >> EXPORT tab >> Export or Preiew PDF. None of those is generating the file if it has 4 signatures. So I cannot generate it from a link or from the plugin itself, it just refuses to work as hdasig returns 520 error as timeout.

    Hosting team told me that I keep getting these errors, can you please have a look ?
    You are still getting this error: 1/18/2022 1:29:07 PM[18-Jan-2022 19:29:07] WARNING: [pool susr2f09dc] child 19655 said into stderr: “sh: 1: pdftk: not found”
    and
    root@4ae91fc4d514:/var/convesio# curl localhost/wp-admin/admin-ajax.php?action=wpfx_generate&form=cereresedere420-2-3c&dataset=159&layout=1002&key=c605d542c23bc49527a803d1bdc4bb45
    [1] 20176
    [2] 20177
    [3] 20178
    [4] 20179
    root@4ae91fc4d514:/var/convesio# The secret key for this form is not valid.

    My hosting thinks this isn’t a hosting issue,but maybe it’s a code issue. SO please help me solve this.

    Looking forward for your answer ASAP.

    P.S. here is the information from Under the Hood, I hope this helps as well:

    Plugin folder: formidablepro-2-pdf
    PHP version: 7.4.25
    WP version: 5.8.3
    FrmAppHelper: Yes
    Trial: No
    PDFTK: No
    System: Linux 4ae91fc4d514 5.0.0-1025-gcp #26~18.04.1-Ubuntu SMP Mon Nov 11 13:09:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    CURL: 7.58.0
    CURL error: No
    CURL test: Yes
    PHP Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, geoip, gettext, iconv, igbinary, imap, intl, json, exif, mysqli, newrelic, pdo_mysql, Phar, posix, pspell, readline, redis, shmop, SimpleXML, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache

    /var/convesio/wordpress/wp-content/plugins/formidablepro-2-pdf/fields is writable: Yes
    /var/convesio/wordpress/wp-content/plugins/formidablepro-2-pdf/fields can have files: Yes
    /var/convesio/wordpress/wp-content/plugins/formidablepro-2-pdf/fields write successful: Yes
    /var/convesio/wordpress/wp-content/plugins/formidablepro-2-pdf/fields delete successful: Yes
    /tmp is writable: Yes
    /tmp can have files: Yes
    /tmp write successful: Yes
    /tmp delete successful: Yes
    /var/convesio/wordpress/wp-content/uploads/fpropdf-forms is writable: Yes
    /var/convesio/wordpress/wp-content/uploads/fpropdf-forms can have files: Yes
    /var/convesio/wordpress/wp-content/uploads/fpropdf-forms write successful: Yes
    /var/convesio/wordpress/wp-content/uploads/fpropdf-forms delete successful: Yes

    #44014 Reply
    admin
    Keymaster

    Thank you for the follow-up email today, we found the two prior email in the SPAM folder.
     
    After reviewing your emails we do not believe your installation/server configuration will be compatible with the PRO2PDF plugin.   

    You will need to consider switching to our other plugin, E2Pdf which better handles multiple signatures.  We offer a PRO2PDf to E2Pdf template converter here

    Let us know if we should process a refund for the purchase of PRO2PDF. We remain at your service.

    #44030 Reply
    alexhash
    Guest

    Hello,

    will this E2PDF plugin mean that the client can input 1 signature and the document will generate automatically the signature on the 4 pages ?
    Or does the client has to sign 4 times ?
    What is the price for this E2PDF plugin ?

    “After reviewing your emails we do not believe your installation/server configuration will be compatible with the PRO2PDF plugin.”
    – Please give me more details, so I know what my server should have in order for 4 signatures to work ? I can try to switch the hosting provider if this is a hosting issue.

    #44031 Reply
    alexhash
    Guest

    Hello,

    will this E2PDF plugin mean that the client can input 1 signature and the document will generate automatically the signature on the 4 pages ?
    Or does the client has to sign 4 times ?
    What is the price for this E2PDF plugin ?

    “After reviewing your emails we do not believe your installation/server configuration will be compatible with the PRO2PDF plugin.”
    – Please give me more details, so I know what my server should have in order for 4 signatures to work ? I can try to switch the hosting provider if this is a hosting issue.

    #44032 Reply
    alexhash
    Guest

    Can i please get a 1 week trail for E2PDF to see if it works for what I need ? Then I decide if I keep both or only one of them ?

    #44046 Reply
    admin
    Keymaster

    We offer refunds on both plugins, but no trial versions. However, the free version of E2Pdf includes all functionality with a limit of one 1-page template. If you purchase the $20 version you will be able to test for 15-days before asking for a full refund.

    We can refund PRO2PDF if the plugin does not work correctly on your server.

    We remain at your service.

    #44047 Reply
    admin
    Keymaster

    The server timeout error may need to be researched by your hosting provider. We can take a look at your template on our server if you upload it to this form.

    Yes, E2Pdf can map one FF signature to multiple image objects on the PDF.

    We remain at your service.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: 5 page PDF document with 4 signatures
Your information: