|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
I've updated our forum rules and used the "Force Users to Accept Rules on Next Visit?" so users can agree to the terms. I have a number of users reporting they are stuck in an infinite loop agreeing to the terms and that they never get past the screen.
Any ideas here?
Won't you take me to Funkytown?
|
|
|
|
Joined: Jan 2004
Posts: 2,474 Likes: 3
Pooh-Bah
|
Pooh-Bah
Joined: Jan 2004
Posts: 2,474 Likes: 3 |
<guess>Clear cookies ?</guess>
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
Yeah that doesn't work I've tried it in several browsers.
Won't you take me to Funkytown?
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
Permissions seem to be correct and I've tried clearing out the directory. Still stuck.
Won't you take me to Funkytown?
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
The strange thing here is that some users have had no problem, while others have. I have also in the current and past have had a certain fraction of users who seem to get stuck at some point of the registration, whether it the age verification, user agreement, or captcha. I can't help to think there is some strange configuration problem.
For my personal account I was able to get through the agreement fine, but for another test account it hung up. I looked at the DB records for the agreement and it was not inserting a value into the user_rules_accepted field.
Won't you take me to Funkytown?
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
Update
I've manually put in an accepted value and I got past the screen. I then set that value to zero, at which point it forced me to the agreement screen, but upon accepting the terms I got past it. So there is something strange going on here, and I think it has to do with users who have not logged in for a while, but that is just a guess.
Won't you take me to Funkytown?
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
It seems for users that have problems getting past the agreement screen, if I get them logged in by manually setting the agreement value, reset the agreement value so they have to agree again, things work. So I suspect it has something to do with a session or cookie value. I've tried deleting cookies and deleting the session value, but it didn't appear to rectify it.
Won't you take me to Funkytown?
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
I have not been able to replicate this, it only happens with certain users, which leads me to believe that it is a cookie/session issue.
Any ideas on how to resolve this? Delete all the session value in the db and in the sessions folder?
Won't you take me to Funkytown?
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
There should be a sessions folder in the ubb directory. Try removing all inside but the index and see if that helps
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
are all the users using internet explorer?
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
actually it's Firefox on Windows and I've been able to repeat it in OS X.
Won't you take me to Funkytown?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
well, i noticed similar on my local wamp setup with your board.
you are loading a lot of other stuff besides threads on a page..
i never tracked it down tho
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
well if you can't figure it out.....
Won't you take me to Funkytown?
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Might I suggest to open a support ticket? Rick has not responded to this item but then he might be moving. Then again it would be a test with the new owner.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: May 2006
Posts: 243 Likes: 1
Enthusiast
|
Enthusiast
Joined: May 2006
Posts: 243 Likes: 1 |
I accidentally checked the checkbox to "Force Users to Accept Rules on Next Visit?" when I corrected a typo in the rules.
And I see there is no way to rescind that accidental action.
Does anyone know the database table and column where the flag is set. I am thinking I could UN-set it.
Thanks!
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
The table is ubbt_USERS and the field is USER_RULES_ACCEPTED. You need to enter a unix timestamp for all the values.
Won't you take me to Funkytown?
|
|
|
|
Joined: May 2006
Posts: 243 Likes: 1
Enthusiast
|
Enthusiast
Joined: May 2006
Posts: 243 Likes: 1 |
I ran this update, and it seems to have worked:
update ubbt_USERS set user_rules_accepted=1308670000 where user_rules_accepted = 0
But I am curious... There must be some config file that gets set when I check the checkbox. ... ah yes, found it: Line 227 (next to last line) in config.inc.php: 'FORCE_RULES' => '1308669553',
I suppose I could just remove that line.
Last edited by Steve C; 06/21/2011 4:29 PM.
|
|
|
|
Joined: Jun 2004
Posts: 207
enthusiast
|
enthusiast
Joined: Jun 2004
Posts: 207 |
Or probably just set it to 0. Glad you figured it out.
Did you have the same complaints of an infinite loop?
Won't you take me to Funkytown?
|
|
|
|
Joined: May 2006
Posts: 243 Likes: 1
Enthusiast
|
Enthusiast
Joined: May 2006
Posts: 243 Likes: 1 |
No infinite loop, but the requirement was set this morning, and I updated the user_rules_accepted this afternoon.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
702
guests, and
193
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|