Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1165 2012-06-07 13:23:51

txpdevcoder
Member
Registered: 2012-06-07
Posts: 58

Re: zem_contact_reborn 4.0.3.20

Hi there.

My Host (Media Temple) recently upgraded PHP to PHP version: 5.3.13 and now zem_contact_appears to not succesfully send emails out from contact forms. It reaches the the thank you page for filling the form out, and does not report any errors. so i think its succesfully sending, but the email never arrives in my inbox. to and from address in the contact form are unique, and exist and belong to that domain / hosting account.

Is there an issue with this version of PHP and zem_contact_reborn-4.0.3.20m

Thanks

James

Offline

#1166 2012-06-07 13:35:43

[Axel]
Member
From: Switzerland/Denmark
Registered: 2007-07-26
Posts: 65
Website

Re: zem_contact_reborn 4.0.3.20

I just tried it out on a server running PHP 5.3.13 with zem_contact_reborn-4.0.3.20 and it works as supposed. So something else got upgraded on you server. I suggest you contact your host and ask for support.

Sunny Greetz

Axel


Greetz [Axel]

Offline

#1167 2012-06-07 13:41:24

txpdevcoder
Member
Registered: 2012-06-07
Posts: 58

Re: zem_contact_reborn 4.0.3.20

Thats intresting – thanks alot for verifying that they work, i appreciate it.

J

Offline

#1168 2012-06-07 14:25:51

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: zem_contact_reborn 4.0.3.20

I’m PHP 5.3.5 and zem 4.0.3.20 on (mt) (dv server) and all still works. Good luck.


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#1169 2012-06-07 15:07:03

txpdevcoder
Member
Registered: 2012-06-07
Posts: 58

Re: zem_contact_reborn 4.0.3.20

well thats even more intresting, thank you alanfluff. seems i cant change to 5.3.5 on the grid server. did you manually install it, as your on dedicated?

Offline

#1170 2012-06-07 19:08:42

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: zem_contact_reborn 4.0.3.20

No I didn’t manually install that ver of PHP. I’m not super-smart at sys-admin stuff so I rely on the standard build for the most part and I am almost certain I’ve not upgraded my PHP myself. I used to be on gs, I’ve not been on it for over a year now and going dv took more $ and some steep learning (for me) but it’s been 100% worth it.


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#1171 2012-06-07 23:06:15

fbox
Member
From: Melbourne
Registered: 2006-02-18
Posts: 42

Re: zem_contact_reborn 4.0.3.20

Hi James, do you happen to be using Gmail or Google Apps for your email? You say the email addresses exist and belong to the same domain/hosting account.

I’ve had similar sounding issues with messages being filtered out prior to even reaching a spam folder at Google Apps, due to SPF on our server end and other email security settings at Google’s end. I can’t explain how the PHP upgrade might have contributed to this, but the symptoms sound very similar.

To get around it I edited zem_contact_reborn to manually set the ‘envelope sender’ in the message headers using a -f flag:

Near line 229:
if (mail($to, $subject, $msg, $headers,"-f ".$from))

and near line 235:
mail(zem_contact_strip($zem_contact_from), $subject, $msg, $headers,"-f ".$from);

Hopefully that would help mail delivery, even if you’re using your local mail server.

– L.

Offline

#1172 2012-06-12 16:19:30

pafruu
Member
From: New Brunswick, Canada
Registered: 2010-01-14
Posts: 65

Re: zem_contact_reborn 4.0.3.20

Hello all,

after redaing some 20 pages of porst, I couldnt find the answer I was looking for so here is my question.

I am using zem_contact_reborn so that volunteers can sign up to volunteer at a specific camp(s). I am using the zem_contact_checkbox and I have put it not required as I have 4 choices of camps to choose from.

As I understand it, putting all 4 required would prevent the form to submit as all checkbox would have to be selected. Although I really need my volunteers to indicate which camps they want to volunteer for.

Here is the code for the form:

(...)
<tr>								
<td colspan="2"><h4>I want to be at ...</h4></td></tr>							
<tr>
<td colspan="2">
<txp:zem_contact_checkbox group="Campselect" label="Kids Kamp" name="Kids Kamp" required="0"/><span class="early">July 3 - 7 </span><br>
<txp:zem_contact_checkbox group="Campselect" label="Family Camp" name="Family Camp" required="0" /><span class="early">July 14 - 29 </span><br>
<txp:zem_contact_checkbox group="Campselect" label="Young Adult Camp" name="Young Adult Camp" required="0"/><span class="early">Aug 3 - 5</span><br>
<txp:zem_contact_checkbox group="Campselect" label="Youth Camp" name="Youth Camp" required="0"/><span class="early">Aug 6 - 11</span></td>
</tr>
(...)

Is there a way that I can tell Zem_contact to make sure that 1 or more of those checkboxes are selected?

I’m sorry if this question seems easy, its just that I am not that good with php, Am I right to assume that it is a php issue?

Thaks for your help in advance

Patrick

{Edited to add bc.. for better code display. – Uli}

Last edited by uli (2012-06-12 16:49:13)


I try, and I try, and I try…. and sometimes I achieve

Offline

#1173 2012-06-12 21:06:26

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

@pafruu, you can probably do this by combining ZCR with adi_contact

Offline

#1174 2012-06-13 10:09:33

txpdevcoder
Member
Registered: 2012-06-07
Posts: 58

Re: zem_contact_reborn 4.0.3.20

@fbox

OMG! That was legendary. Ive spent a week trying to figure this out. It now works, thanks to you. I owe you a beer :)

James

Last edited by txpdevcoder (2012-06-13 10:30:03)

Offline

#1175 2012-06-13 12:06:18

pafruu
Member
From: New Brunswick, Canada
Registered: 2010-01-14
Posts: 65

Re: zem_contact_reborn 4.0.3.20

thank you ruud, I will try that :)


I try, and I try, and I try…. and sometimes I achieve

Offline

#1176 2012-06-14 06:47:09

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: zem_contact_reborn 4.0.3.20

I’m getting a ‘Function split() is deprecated’ error using <txp:zem_contact_select /> … I searched the forum and found that I have to change ‘split’ into ‘explode’ in the plug-in code. But than I’m getting the error ’406 Not Acceptable’. It means I’m not permitted to change the file or something … !? Some help is appreciated on how I must tackle this one.

Last edited by RedFox (2012-06-14 09:05:24)

Offline

Board footer

Powered by FluxBB