First I commented the "if (SCRIPT_FILENAME == __FILE__) " line of index.php because I only was viewing a blank page.
Then acceded for the first time at phpwiki with the user and password of admin user without problems. I log out. I sign in as JoshueMartin, and create the homepage. I go to Preferences but I can't change my preferences, only I can view them. If a log out and log in, the password I enter is not checked.
What can I do to store my password and preferences?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-08-31
> If a log out and log in, the password I enter is
> not checked.
My guess for the password is that you should set
ALLOW_BOGO_LOGIN = false
also, since you are only using PersonalPage in USER_AUTH_ORDER = "PersonalPage", I guess you can try setting USER_AUTH_POLICY = first-only -- but again, that's just my guess.
Hope it helps,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello.
My system is: Linux Slackware 9.1, Apache 2.0.49, PHP 4.3.5 and phpwiki 1.3.11 (from cvs).
I have tried to authenticate to a mysql database withouth success, so I'm traying to authenticate to "PersonalPage" now, which seems more "easy".
The relevant configuration is:
COMPRESS_OUTPUT = false
CACHE_CONTROL = NO_CACHE
DATABASE_TYPE = SQL
ALLOW_ANON_USER = true
ALLOW_ANON_EDIT = false
ALLOW_BOGO_LOGIN = true
ALLOW_USER_PASSWORDS = true
USER_AUTH_ORDER = "PersonalPage"
PASSWORD_LENGTH_MINIMUM = 4
USER_AUTH_POLICY = stacked
AUTH_USER_FILE_STORABLE = false
GROUP_METHOD = WIKIPAGE
THEME = default
DEFAULT_LANGUAGE = es
First I commented the "if (SCRIPT_FILENAME == __FILE__) " line of index.php because I only was viewing a blank page.
Then acceded for the first time at phpwiki with the user and password of admin user without problems. I log out. I sign in as JoshueMartin, and create the homepage. I go to Preferences but I can't change my preferences, only I can view them. If a log out and log in, the password I enter is not checked.
What can I do to store my password and preferences?
Thanks.
> If a log out and log in, the password I enter is
> not checked.
My guess for the password is that you should set
ALLOW_BOGO_LOGIN = false
also, since you are only using PersonalPage in USER_AUTH_ORDER = "PersonalPage", I guess you can try setting USER_AUTH_POLICY = first-only -- but again, that's just my guess.
Hope it helps,
David