Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-30 14:25:51

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

[resolved] Mail comments to author no longer working

Hey guys,

Stellar job on 4.0.7, appreciate all of your hard work.

After upgrading my blog from 4.0.6 to 4.0.7 whenever a comment is left it no longer gets emailed to me (the author). The preference is set to Yes.

I did install the latest version of Textpattern on a second server and did not experience this problem. It worked as expected, leading me to believe it is an issue with my server and possibly not Textpattern itself.

What can I do to help diagnose and find a solution to this problem?

Thanks for any help.

Update: See below.

Last edited by Sam (2008-11-30 14:43:56)

Offline

#2 2008-11-30 14:42:01

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

Re: [resolved] Mail comments to author no longer working

After a little bit of further investigating I think it may well have something to do with 4.0.7 after all.

I just installed 4.0.6 on the same domain and commenting on an article does send the comment to me.

It’s probably some obscure setting on my server. Has the way that comments are sent to the author changed in 4.0.7?

Thanks again.

Offline

#3 2008-11-30 15:09:10

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [resolved] Mail comments to author no longer working

Try to check if general php mail() function works at your hosting.

Last edited by the_ghost (2008-11-30 15:09:23)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#4 2008-11-30 15:12:44

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

Re: [resolved] Mail comments to author no longer working

@the_ghost: Yes, it does. I am using zem_contact_reborn on my Contact page and that continues to work.

Offline

#5 2008-11-30 15:49:48

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

Re: [resolved] Mail comments to author no longer working

If you create a new user, do you receive the login details by email?

Offline

#6 2008-11-30 17:27:12

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

Re: [resolved] Mail comments to author no longer working

Ruud, no I didn’t and received this error:

Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE in /home/***/textpattern/lib/txplib_misc.php on line 1048

Turning safe mode off for this domain fixed this issue, but is this advised? Do you think many others may have a similar problem, or is this likely a specific setting on my server?

Thanks for your help as always.

Offline

#7 2008-11-30 17:34:44

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: [resolved] Mail comments to author no longer working

I found that zem_redirect was causing this to happen on one of my domains. I didn’t actually find the problem itself, but it went away when I stopped using the plugin.

Offline

#8 2008-11-30 18:28:22

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

Re: [resolved] Mail comments to author no longer working

It’s a bug in TXP.
This should be fixed in changeset 3035

If you want, you can replace /textpattern/lib/txplib_misc.php with this file

If you can override safe_mode for your own domain, I don’t really see how it could be a safety measure for your own domain. Safe_mode will be removed in PHP6 btw.

Last edited by ruud (2008-11-30 18:32:05)

Offline

#9 2008-12-16 22:28:47

nickoli
New Member
From: Stoke-on-Trent
Registered: 2007-07-03
Posts: 9
Website

Re: [resolved] Mail comments to author no longer working

That replacement file seems to be working for me, too, after I encounted this problem when trying to add a new user.

Offline

#10 2009-02-01 13:35:06

TomBus
Member
From: Bavaria
Registered: 2005-07-06
Posts: 85

Re: [resolved] Mail comments to author no longer working

After I have replaced the file, it works again.

Offline

#11 2009-05-04 03:44:35

acleese
New Member
Registered: 2009-05-04
Posts: 8

Re: [resolved] Mail comments to author no longer working

I’m now having the same problem after upgrading to 4.0.8. I add a user and get the same error. Of course, the user does not get the email with the randomly-generated password, so effectively I cannot add a user.

I replaced the aforementioned file, but to no avail.

Any ideas?

Last edited by acleese (2009-05-04 03:45:10)

Offline

#12 2009-06-01 14:48:35

alanpmcd
Member
Registered: 2009-05-02
Posts: 21

Re: [resolved] Mail comments to author no longer working

I have received the same error message in inviting a new user:

<<Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE in /home/***/textpattern/lib/txplib_misc.php on line 1048>>

[equivalent path on my system]

The login and password have purportedly been sent but the potential user hasn’t received them.

I’m not clear what the conclusion was of the preceding exchange. How do I work around this? Any ideas? I’m newly an admin and trying to invite new users.

alanpmcd

Offline

Board footer

Powered by FluxBB