Tagged: PDF not being sent with form
May 1, 2023 at 7:57 am #49151
Greetings, we are having an issue with our form located at https://houndandpurr.com/hound-purr-release-form.
The PDF was being attached to the form normally up until April 17, when it simply stopped sending the PDF with the email.
We have tried everything, including rebuilding the form and the PDF from scratch, and it still won’t send the PDF.
The PDF can be exported from the dataset on the Export tab of the plugin, and the output is correct. The only problem is that it is not being sent even though the checkbox for “Send email” is checked.
We can provide admin access to you privately if you would like to check under the hood.
All the plugins, themes and the WordPress core are up to date. The server runs on PHP 7.4.33.May 1, 2023 at 8:01 am #49152CarlGuest
In this forum you wait in vain for help!May 1, 2023 at 1:33 pm #49154May 2, 2023 at 6:14 am #49158
Thank you for your prompt response. I have sent you login credentials along with a screenshot of the setup that we need to have fixed.
Please copy firstname.lastname@example.org with your responses to this ticket.
Thanks in advance for your help with this.May 2, 2023 at 6:38 am #49159
Hi Admin, another issue cropped up. I added the download link to the form message as per your suggestion, but the link is downloading the wrong PDF. Instead of my test form from 5/2 it is downloading David D’Amico’s form from May 1.May 2, 2023 at 7:00 am #49160
Hi Admin, I could not figure out how to make the shortcode dynamic so that it uses the dataset from the form being sent. Please advise.May 2, 2023 at 6:01 pm #49169
To make the shortcode dynamic, replace dataset=xx with dataset=[id]
We will reply by email regarding your support ticket and we remain at your service.May 2, 2023 at 6:02 pm #49170
[id] will fetch the current entry’s ID.May 3, 2023 at 1:44 am #49173Jens SchulzeGuest
I have experienced exactly the same problem, currently using the download link as suggested above until the bug is resolved.May 3, 2023 at 8:59 am #49176
Hi Jens, thanks for the update. Is the bug being looked at? I just applied an update to the Formidable Forms plugin and I wonder if that will make a difference.
On a separate topic, the download link does show on the form message, but it is generating a blank PDF. This is the shortcode currently on the form:
[formidable-download form="houndpurrreleaseform423" dataset="id" layout="1011"]
Shouldn’t id have brackets around it?May 3, 2023 at 10:15 am #49177
Yes, brackets must be used.
Replace dataset=”id” with dataset=[id]
We remain at your service.May 3, 2023 at 1:58 pm #49182
Hi Support Team, in response to this request sent by email:
“Sending any email from houndandpurr.com is not working. We can return WP to its default email service; however, that will require the reentry of the gmail credentials to start using the SMTP plugin again.
Please test PRO2PDF attachments with WP’s default email client to determine if the issue is with PRO2PDF or the SMTP plugin.
We remain at your service.”
This is our feedback:
While the SMTP works using the default PHPMail function, we would rather use the SMTP relay using the Google Workspace email email@example.com.
The problem was the the client changed the email account’s password without our knowledge, so Easy WP SMTP could not authenticate.
I have secured the latest password, entered it into the plugin settings and tested it.
It is now working again. Apologies for any inconvenience this may have caused as you try to debug the issue with the missing PDF attachments.
Note: We tried to reply by email and received this error message:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
LMTP error after RCPT TO:<firstname.lastname@example.org>:
552 5.2.2 <email@example.com> Mailbox is full / Blocks limit exceeded / Inode limit exceeded
Reporting-MTA: dns; srv.oldmedi.com
Status: 5.0.0May 3, 2023 at 5:31 pm #49186
Thank you for your reply and for letting us know about our support email bounce. It’s resolved and we’ll take another look at the attachment issue.
We remain at your service.May 3, 2023 at 5:31 pm #49187
Greetings, Support Team. It looks like the PDF is finally being attached and the download link is also working correctly.
I have one other ask. It appears the datasets are being named after the content of the last field (the date of the signature at the bottom of the form). Before they used to be titled after the entry in the first field, the last name of the client filling out the form.
Is there a way to have the datasets named after the content of the “LastName” field? That is much more useful when looking at the datasets in the export tabs.
Thank you very much for your diligence with this matter.May 3, 2023 at 5:38 pm #49188
That’s great news!
To change the dataset title text;
– Open the PRO2PDF Field Map Layout
– SELECT the radio button called “Use as Dataset Name?” located to the left of the field map whose data you want to show as the dataset title.
– Click SAVE at the bottom of the field map layout.
We remain at your service.May 4, 2023 at 1:02 pm #49192
Hi Admin, I did as you suggested to change the dataset names and it worked perfectly.
However, now a problem has come up with the PDF that is attached to the message. They won’t open in Acrobat or Mac Preview. Acrobat returns this error message:
Adobe Acrobat could not open ‘Hound and Purr Release Form 2023.pdf’ because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn’t correctly decoded).
Could you look into what is causing this issue? Before changing the dataset name the attached PDF was opening without issues.May 4, 2023 at 1:06 pm #49193
Following up on the latest issue, it seems the attached PDF may be using the wrong map. There is a map someone created named Hound and Purr Release Form 23 which has no fields. Map Preview says the PDF can’t be opened because it is empty. Could it be that that the attached PDF is using this map instead of the correct Field Map titled Hound and Purr Release Form 2023 Map? The download link does work correctly, as the correct field map is specified in the shortcode.May 4, 2023 at 4:57 pm #49194
Yes, that is likely the cause of the issue.
Remove ALL unused, incomplete, discarded, and abandoned field map layouts from your installation – especially those with email attachment(s) selected.
Let us know if the issue is not resolved by removing the field map layout(s).
We remain at your service.May 5, 2023 at 6:02 am #49196
Hi Admin, I had tried removing the suspect field map yesterday, but then the datasets for the correct field map all went “empty” and it forced me to restore the database to correct the issue. Fortunately I had backed up the database right before I removed the field map.
I did not try to remove the other field maps as well in case I need to export older form entries for our client.
Please advise.May 5, 2023 at 9:22 am #49197
We removed the incomplete field map layouts and all appears to be working as expected.
Let us know if you have any further issues as we remain at your service.May 5, 2023 at 10:26 am #49198
Hi Admin, thank you for looking into the issue with the empty PDF. Everything seems to be working fine again.May 28, 2023 at 10:29 am #49243abel.jimenezParticipant
We also have the same problem, the plugin doesn’t attach any PDF, while other forms are working correctly.
The PDF can be exported fine. Also, if we let only one notification active it works, but if there are more active notifications in the same or other field map affecting the same form, it doesn’t work.
We tried to uninstall Pro2PDF and reinstall again, create again dataset from 0, and restoring dataset backups, with same results.
What can we do?. If needed, we can provide admin credentials. We also tried with older versions of PHP.
Thanks in advance.
Some installation data: Plugin folder: formidablepro-2-pdf, PHP version: 8.1.18, WP version: 6.2.2, FrmAppHelper: Yes, Trial: No
CURL: 7.87.0, CURL Test: Yes
=== Formidable PRO2PDF PDFTK ===
Linux com1003.raiolanetworks.es 4.18.0-372.16.1.lve.el8.x86_64 #1 SMP Thu Jul 14 07:23:57 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
Shell Exec: Yes
- This reply was modified 3 months, 4 weeks ago by abel.jimenez.