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
--
PhilippSGeisler - 05 Jun 2008
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.
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.
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