Tags:
create new tag
view all tags

Question

After default installation of TWiki on a new Linux server running Ubuntu Hardy and moving data files from a former Windows installation over to the linux server, nearly everything works smoothly, except for TWiki not allowing the registration of new users. The register link in the WebLeftBar is hidden, the login site does not show any registration button.

Calling view/TWiki/TWikiRegistration manually the first line of the site tells me that registration was disabled for this TWiki.

  • .htaccess is writable for www-data.
  • twiki/bin/login shows not proper text but an empty red bordered yellow square (see attachment), so some MAKETEXT seems to go wrong.
  • Moving from Win to Linux has also been a downgrade: The Win server ran TWiki 4.2.0, Linux is running the version provided by the Hardy default package 4.1.2. But since I only moved data files no bin or lib contents I thought this was no problem.

I can't find any setting for disabling registration, so I guess this is a script or path setting error somewhere. TWikiRegistration uses the code %IF{"context registration_supported" [...] for checking registration. What does context registration_supported check exactly?

Any other settings/files I need to check I might not have thought of?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin (see attached configure.htm)
Server OS: Linux Hardy
Web server: Apache 2.2.8
Perl version: Perl 5.8.8
Client OS: Windows XP SP2
Web Browser: Firefox 2.0
Categories: Registration

-- PhilippSGeisler - 05 Jun 2008

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.

You say that you only moved data files, no bin or lib. However bin/TWiki and pub/TWiki are tied to the release. There are definitely template and skin changes that depend upon new variables, etc. I don't believe that you should have moved them from 4.2 back to 4.1.2. Also the tools directory should not have been copied. I'm not sure about bin/Main or pub/Main. Obviously you need to keep them for the registration data, but not sure about other topics. You should probably have also compared the 4.1.2 Main/TWikiPreferences to the 4.2 version and verified any differences in configuration parameters.

-- GeorgeClark - 07 Jun 2008

You are certainly right, I know the move has been in best case "straightforward" thinking, in worst case - and I guess it is - naive. wink

I had been prepared for a negative result, i.e. nothing working at all after the move, but surprisingly there seem to be very little differences. Now I was hoping to get around setting up the TWiki anew, but obviously the few that exist are afterwards hard to track down.

Long story short, I will back up user data once more and do a clean install of 4.2, then reinsert the user data - this time more carefully.

Thank you for your answer.

-- PhilippSGeisler - 09 Jun 2008

I know it's a bit late, but I had the same problem. I rectified it by changing the permissions of data/.htpasswd so it was editable by apache2.

Hope that helps guys.

-- ChrisCauser - 07 Oct 2008

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm configure.htm r1 manage 167.6 K 2008-06-05 - 08:54 UnknownUser saved configure contents
JPEGjpg twiki-login.jpg r1 manage 55.4 K 2008-06-05 - 08:56 UnknownUser cropped screenshot of login render error
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-10-07 - ChrisCauser
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.