Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-06-07 12:49:10

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

Big PHP Bug - Help!

Hi,

I have a number of client sites running on a Media Temple grid server. They recently did some house keeping and removed all legacy version of PHP, leaving the current version (PHP version: 5.3.13) only enabled.

The problem is, since then, Textpattern seems unable to send any emails out, either from the sites via forms created with zem_contact_reborn but more worringly, when ressetting a users password, the email containing a new genereated password never arrives, despite TXP reporting it was successfully sent.

Ive checked the server logs and put TXP in dev mode to see if that gives me any clues, but i cant see any errors or anything to suggest its not working.

Ive also tried setting the sender envelope address in textpattern’s back end with no luck, although im not sure what this does.

There was an issue with emails a couple of years ago when split() was deprecated from PHP, rendering txp and zem_contact to not function until it was fixed. Is it possible there is now another similar issue??

Id really apprecciate some help, as my clients are starting to get restless!

EDIT: ive now got Textpattern to send out password reset emails by setting an envelope sender address. I think I was causing some kind of loop before by using the same email address as the admin account.

Issue still stands though – but i think this is down to zem_contact_reborn now.

Best,

James

Last edited by txpdevcoder (2012-06-07 13:17:54)

Offline

#2 2012-06-07 13:18:12

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,538
Website GitHub Twitter

Re: Big PHP Bug - Help!

hi James

i dont know what the problem could be, but the first step is to post the txp diagnostic to have some informations to try figuring out what it could be.

Cheers

Offline

#3 2012-06-07 13:26:13

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

Re: Big PHP Bug - Help!

I think this possibly a problem with the host now, as ive had the plugin verified working on this PHP version by another member of the community. Ill request support from Media Temple again.

Thanks.

Last edited by txpdevcoder (2012-06-07 13:48:42)

Offline

#4 2012-06-07 14:42:57

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: Big PHP Bug - Help!

It still can be a problem with one of the other plugins. I’ve a gut feeling you could test whether aks_header is involved.

Edit: Umm, aks_header isn’t a culprit per se, a) it’s been mentioned in the (now deleted) diagnostics and b) I’ve a slight remembrance that it has been critical somewhere else. But I might be totally wrong. Umm.

Last edited by uli (2012-06-07 14:47:15)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2012-06-07 14:44:35

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: Big PHP Bug - Help!

Has the host perhaps prevented the use of PHP’s mail() function? I’ve encountered a host that has done that, and you need to patch one txp file and use pear mail. More details here, here and here (an old thread but it still works on a more recent version of txp).


TXP Builders – finely-crafted code, design and txp

Offline

#6 2012-06-07 14:53:48

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

Re: Big PHP Bug - Help!

i have placed a simple script on the server that literally just sends a one line email out via php mail() and this worked.

Ill disable aks_header and see if that helps. it shudnt be intfereing as its its installed but not in use??

Offline

#7 2012-06-07 14:58:58

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

Re: Big PHP Bug - Help!

uninstalling aks_header made no difference.

Last edited by txpdevcoder (2012-06-07 14:59:18)

Offline

Board footer

Powered by FluxBB