Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Successful login takes two attempts
I just created my vanilla forum a week ago. I have about 60 users registered. I'm starting to notice that it takes two login attempts before I'm authenticated. What are some tips to troubleshoot the root cause of this behavior? Has anyone else seen this behavior?
0
This discussion has been closed.
Comments
If you sign in and it puts you back to the sign in page, try to manually change the url to point at your discussions index to see if you are actually successfully signed in. If you are, then it is definitely a redirecting error and probably has something to do with that FORWARD_VALIDATED_USER_URL setting.
from the /conf/settings.php file:
$Configuration['WEB_ROOT'] = '/vanillaforum/';
$Configuration['BASE_URL'] = 'http://hawleyfamilyweb.com/vanillaforum/';
$Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://hawleyfamilyweb.com/vanillaforum/';
Is this not correct? This should bring up 'index.php', right?
After the first attempt, the url in the browser's (Firefox) address line is:
http://www.hawleyfamilyweb.com/vanillaforum/people.php?PageAction=SignOutNow&ReturnUrl=http://www.hawleyfamilyweb.com/vanillaforum/
My hosting is linux with php 4.3.11, MySQL 5.0.18. Vanilla 1.0.3
This is also on the address line when I first access the site. So I am not sure - is there something wrong with the address line? I think that I have configured Vanilla correctly. I notice that the Lussumo Community address when signing in doesn't have the 'SignOutNow" part - but I don't know why it puts that there on my installation.
Anybody have any suggestions?
1) I must change
$Configuration['COOKIE_DOMAIN'] = ''; <== <b>empty str NOT 'localhost'
$Configuration['COOKIE_PATH'] = '/vanilla/';
2) Then
$Configuration['WEB_ROOT'] = '/vanilla/';
$Configuration['BASE_URL'] = 'http://datatuki.sicom.fi/vanilla/';
$Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://datatuki.sicom.fi/vanilla/'; <== NOT <b>'localhost/vanilla/'
Now Sign In works at one attempt.
R- JoH
What config file are you referencing?
I cannot find a file named 'config' in the entire directory structure. However, in the file 'settings.php' under the 'appg' directory, it has a line that reads:
$Configuration['SAFE_REDIRECT'] = 'people.php?PageAction=SignOutNow';
Is this the setting you were referencing? If so, what should it be? This was configured by my hosting's automatic installer (godaddy).
Thanks much!