"Charles Corrigan" <charles@...> writes:
>> From: Torsten Bronger [mailto:bronger@...]
>> Sent: 24 April 2005 19:43
>> To: phpwiki-talk@...
>> Subject: [Phpwiki-talk] phpwiki-1.3.11_rc3: Login problems
>> For the editorial collaborative work on a student newspaper, we need
>> a Wiki with some sort authentication, i.e., nobody outside should be
>> able to read the draft versions. If this is impossible to achieve,
>> at least only authorised people must be able to do any changes.
>> Is this possible with phpWiki?
> Yes. Have a look at the file doc/README.security - with a small
> amount of change, it should be possible to do what you want.
Thank you, I managed to customise it to what I wanted. I create new
users manually directly in the mySQL database. Later, the user sets
his password. (Passwords are encrypted so that I don't see them
accidentally, but I recommend my users not to use valuable
passwords.) Is this a good approach?
>> No I fiddle around with 1.3.11 RC3. While there is a login and
>> password facility, I'm unable to login. It always says "Password
>> invalid", no matter which login name I try. What's goind wrong?
> Did you create an admin user id and password in the config.ini?
Yes, this was not the problem.
The breakthrough was getting rid of the table prefix. Some parts of
phpWiki wanted to have a table "user", others "PREFIX_user". The
only solution was deleting it. Then, two fields in table "user"
were commented out in mysql-initialize.sql (e.g. "groupname"), but I
needed them for the Db authentication method.
Moreover, USER_AUTH_METHOD must have been "first-only", because
Fatal error: Call to a member function on a non-object in
when I tried to log in as an unauthorised user.
By the way, what does "Overlage Session data" mean?
Torsten Bronger, aquisgrana, europa vetus