Question
Our Twiki installation has been working, except we've been having email issues.
When we register a new user,
TWikiRegistration, the script adds a line in .htpasswd, successfully sends an email, but it hangs and eventually it displays 'Page cannot be displayed'. It also does not create the users' Twiki page.
Twiki warning log shows nothing.
Twiki log puts entry '| 15 Dec 2006 - 13:28 |
TWikiRegistrationAgent | save |
TWikiUsers | | 172.25.202.90 |'
Apache error log shows nothing.
We did modify the Net.pm to change the port to 25000. But the email functionality works from
ResetPassword and also using the mailnotify script.
Can you help us please?
Environment
--
MarkVanBerkel - 15 Dec 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
This looks as if TWiki is unable to create the user's home topics. Make sure that the user id running the Apache service has write access to the
directory twiki/data/Main/, since this is needed to
create files.
Try whether you can create new topics in the
Main web with a browser (working as a TWiki admin). If you can, then I am wrong
--
HaraldJoerg - 15 Dec 2006
Yes, TWiki admin and regular users are able to create new topics in the Main web so I don't think the permissions on that directory is the issue.
--
MarkVanBerkel - 18 Dec 2006
It possibly hangs when/after sending out the e-mail? Try to use the external sendmail instead of Net::SMTP, see options in configure.
--
PeterThoeny - 18 Dec 2006
Ok, I will try that - we were having a separate issue with sendmail as well. Until I get a bit extra time to look at it, I will assume that will fix our issue. Thanks.
In the meantime, I've temporarily changed two lines of register.pm in the _emailRegistrationConfirmations function to use an empty $warnings and $err and now registration will continue, but without any emails.
--
MarkVanBerkel - 19 Dec 2006
I am setting this to answered for now. Reopen if needed.
--
PeterThoeny - 19 Dec 2006
Peter, I have a question regarding a TWiki installation we are trying to promote at our company. We are just learning it, and have inadvertently disabled the ability for the register script to create the
UserTopic? during registration. Instead of the "Thank you" message:
You can review your changes in your personal TWiki topic
It fails a permission and gives the following error:
Attention Access check on
TestUser1? failed. Action "CHANGE": access not allowed on web.
The user account has been created, but it didn't create the user topic, and so he does not have his Main.Userform, and his Wiki name is not a topic.
Can you tell me which permission I need to set back? Thanks so much.
--
AndrewSoeldner - 05 Oct 2007
Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed. Please open a new support question.
--
PeterThoeny - 03 Dec 2007
I had this problem because I did not allow the
TWikiRegistrationAgent permission to change Main Web.
--
RalfMartin - 14 Dec 2008