![]() |
|
Contact_form error - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Contact_form error (/thread-13139.html) |
Contact_form error - ctdlg - 24-09-2018 Hello, My contact_form plugin does not send messages. This is from my form.php. Here is one line generating problem : I use the zenphoto_sendmail extension. I did try the other mail extension -> same errors. Variables like $mailcontent['name'] are not declared, but it's probably not the problem. When I press the "send" message, I get no error message and get a blank contact form. Contact_form error - acrylian - 24-09-2018 We would need to know the line you listed with "xxx". Also what settings have you set regarding the fields of the contact_form. It is generally working as we use it on our own site ourselves. And we do get mails occasionally. Contact_form error - ctdlg - 24-09-2018 Yes, line 24 for example from original form.php does give me this error. But also line 86 ... I tried a simple php file, and it does send mail Contact_form error - acrylian - 24-09-2018 I sadly don't really have time to dig into it right now. But the array $mailcontent should actually be defined with all indices even empty when the form is called. Within the Contact_form error - ctdlg - 24-09-2018 Well, thank you very much, again ! Your suggestion printContactForm() helped me a lot It works with your help : I found a post saying that it was working with codeblocs in the codeblock section. Message confirmation appears -> message sent ... and I did receive it. Again, thank you. I do appreciate your help. Contact_form error - acrylian - 25-09-2018 Now I am curious how you used the plugin actually. Is it possible that you left out some details above? If you use the standard contact.php page it should be working out of the box the same way. Contact_form error - ctdlg - 30-09-2018 Hello acrylian, |