Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
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
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
<guess>Clear cookies ?</guess>

Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
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
There is another post on this issue that was due to the session files.
https://www.ubbcentral.com/forums/ubbthreads.php/ubb/showflat/Number/233761


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
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
C
enthusiast
enthusiast
C Offline
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
C
enthusiast
enthusiast
C Offline
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
C
enthusiast
enthusiast
C Offline
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
C
enthusiast
enthusiast
C Offline
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
G
veteran
veteran
G Offline
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
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
are all the users using internet explorer?

Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
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
SD Offline
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
C
enthusiast
enthusiast
C Offline
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
C
enthusiast
enthusiast
C Offline
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
C
enthusiast
enthusiast
C Offline
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.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 686 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)