Home › Forums › Bugs and Troubleshooting › PDF no longer attached to the Form message
Tagged: PDF not being sent with form
- This topic has 21 replies, 3 voices, and was last updated 1 year, 6 months ago by abel.jimenez.
-
AuthorPosts
-
MarkParticipant
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.
CarlGuestIn this forum you wait in vain for help!
adminKeymasterMarkParticipantThank 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 albertoz@cm2media.ca with your responses to this ticket.
Thanks in advance for your help with this.
MarkParticipantHi 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.
MarkParticipantHi 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.
adminKeymasterTo 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.
adminKeymaster[id] will fetch the current entry’s ID.
Jens SchulzeGuestI have experienced exactly the same problem, currently using the download link as suggested above until the bug is resolved.
MarkParticipantHi 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?
adminKeymasterYes, brackets must be used.
Replace dataset=”id” with dataset=[id]
We remain at your service.
MarkParticipantHi 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 contact@houndandpurr.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:support@formidablepro2pdf.com
LMTP error after RCPT TO:<support@formidablepro2pdf.com>:
552 5.2.2 <support@formidablepro2pdf.com> Mailbox is full / Blocks limit exceeded / Inode limit exceeded
Reporting-MTA: dns; srv.oldmedi.comAction: failed
Final-Recipient: rfc822;support@formidablepro2pdf.com
Status: 5.0.0adminKeymasterThank 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.
MarkParticipantGreetings, 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.
adminKeymasterThat’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.
MarkParticipantHi 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.
MarkParticipantFollowing 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.
adminKeymasterYes, 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.
MarkParticipantHi 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.
adminKeymasterWe 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.
MarkParticipantHi Admin, thank you for looking into the issue with the empty PDF. Everything seems to be working fine again.
abel.jimenezParticipantHi Admin.
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.
Regards.Abel
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
PDFTK: No
ImageMagick: Yes
Passthru: Yes- This reply was modified 1 year, 6 months ago by abel.jimenez.
-
AuthorPosts