Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, BreadCrumbsPlugin, CommentPlugin, EditTablePlugin, EmptyPlugin, FilterPlugin, FlexWebListPlugin, GluePlugin, IfDefinedPlugin, InterwikiPlugin, NatSkinPlugin, PreferencesPlugin, RedDotPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, SpellerPagesPlugin, SpreadSheetPlugin, TablePlugin, TwistyPlugin, WysiwygPlugin, XpTrackerPlugin
Server OS: Windows XP Professional (cygwin)
Web server: Apache 1.3.35 (Win32)
Perl version: 5.8.7-5 (Cygwin)
Client OS: MS Windows XP
Web Browser: Internet Explorer 6
Categories: Registration

-- MarkVanBerkel - 15 Dec 2006

Answer

ALERT! 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 smile

-- 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

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
Perl source code filepm Net.pm r1 manage 9.7 K 2006-12-15 - 20:05 UnknownUser Net.pm
HTMLhtm TWiki_Configuration.htm r1 manage 172.6 K 2006-12-15 - 20:01 UnknownUser Configuration
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-12-14 - RalfMartin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.