• We’re using PDF Forms Filler for Contact Form 7 Enterprise Extension on the website. Sometimes our form comes as two files: a blank PDF and data file in TXT format. That happens randomly and I can’t figure out what could cause the problem. Please advise.

    • This topic was modified 6 years, 3 months ago by lenazilber.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author maximum.software

    (@maximumsoftware)

    The plugin is programmed to fail gracefully when it is unable to contact the Pdf.Ninja API to fill the PDF file. In the failure mode, it attaches the blank PDF and a text file to the email. The text file contains the information the user filled in and the error message which contains the reason why PDF filling failed. This is done so that the data is not lost and someone can resolve the problem.

    What is the error message that you are getting in the txt file? It should be at the top of the txt file.

    How often does this happen?

    Thread Starter lenazilber

    (@lenazilber)

    We are using the enterprise version that runs locally on our server. There is no specific error, just:

    Error generating PDF:

    Form data:

    Txt_Title_1: Mrs.
    Txt_First_Name_1: lena
    Txt_Last_Name_1: zilber
    Txt_Address_1: 4968 Dundas St W
    Txt_City_1: Toronto
    Txt_Province_1: ON
    Txt_Postal_1: M9A 1B7

    and so on.

    Thread Starter lenazilber

    (@lenazilber)

    I tested the form five times and only the first submission had failed – came in as two files. When I clicked submit first time it took quite a time for the form to process. The other four tests worked fine.

    • This reply was modified 6 years, 3 months ago by lenazilber.
    Plugin Author maximum.software

    (@maximumsoftware)

    Oh, sorry, apparently I didn’t read your post completely.

    The enterprise extension fills PDFs on your server. There must have been some kind of issue with running the executables locally. I am not exactly sure why it is failing. I would have to look at it myself. If it starts working fine after a couple of times, maybe there is a problem with memory usage on your server. Maybe your server has a low amount of free memory, so, the first time it timed out due to swapping, the second time it worked but it was still swapping so it was slow. The next few times were fast due to it being done with swapping.

    Can you see what the output of free -m command is on your server?

    If you like, I can investigate this myself but you would need to provide me with credentials to your wp-admin. You can send it to my email, admin at maximum dot software.

    Thread Starter lenazilber

    (@lenazilber)

    Thank you for the quick response. The form does fail first time and next submissions usually work fine. I’ll address the issue to our hosting and let you know the results.

    • This reply was modified 6 years, 3 months ago by lenazilber.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Enterprise PDF Forms Filler generates blank PDF and data in TXT format’ is closed to new replies.