Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[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)
Sam Brown
sambrown.me | welovetxp.com
Offline
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.
Sam Brown
sambrown.me | welovetxp.com
Offline
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
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.
Sam Brown
sambrown.me | welovetxp.com
Offline
Re: [resolved] Mail comments to author no longer working
If you create a new user, do you receive the login details by email?
Offline
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.
Sam Brown
sambrown.me | welovetxp.com
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
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
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
#13 2009-08-06 06:59:19
- monicahu
- Member
- From: Sydney NSW
- Registered: 2009-03-07
- Posts: 69
Re: [resolved] Mail comments to author no longer working
I have installed 4.0.8 and the site is using zem_contact_reborn. I could send out add-user-emails and password-reset-emails from TXP, as well as receiving emails via contact form using the zem_contact_reborn up until 27 Jul 2009. However, now I find that I can’t send any password-rest-emails. I simply get “could not mail xxxx”. The new user did not get invite email. And the zem_contact_reborn Contact form couldn’t send mail at all.
Which part of the system should I look into? I’ve asked the hosting server administrator to check the SMTP service and he said he couldn’t see any problem and said there was no change in the last week. Our site can no longer accept information from the public through the Contact Form any more. The worst is: we just launch the new site in July!
Please HELP!
Last edited by monicahu (2009-08-06 10:41:38)
Monica
Life with God is the purpose.
Offline
#14 2009-08-07 05:02:34
- monicahu
- Member
- From: Sydney NSW
- Registered: 2009-03-07
- Posts: 69
Re: [resolved] Mail comments to author no longer working
monicahu wrote:
I have installed 4.0.8 and the site is using zem_contact_reborn. I could send out add-user-emails and password-reset-emails from TXP, as well as receiving emails via contact form using the zem_contact_reborn up until 27 Jul 2009. However, now I find that I can’t send any password-rest-emails. I simply get “could not mail xxxx”. The new user did not get invite email. And the zem_contact_reborn Contact form couldn’t send mail at all. Which part of the system should I look into? I’ve asked the hosting server administrator to check the SMTP service and he said he couldn’t see any problem and said there was no change in the last week. Our site can no longer accept information from the public through the Contact Form any more. The worst is: we just launch the new site in July!
The problem has been resolved. It’s the security setting on the server that was causing this problem.
Monica
Last edited by monicahu (2009-08-07 05:04:10)
Monica
Life with God is the purpose.
Offline