FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » 2.5.0RC3 - user sessions?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.5.0RC3 - user sessions? [message #10537] Wed, 04 June 2003 04:34 Go to next message
Xodnizel   United States
Messages: 73
Registered: May 2003
Karma: 0
Member
With 2.5.0RC3, I am experiencing general weirdness. After I registered a test account, I received an email, and followed the link, which said I had entered the incorrect url. It was the correct url, and it still apparently activated the account, after looking at the database(reset_key set to 0, blocked set to N, email_conf set to Y, conf_key set to 0). I did try going to the url another time, and I got the same error message(this was before I manually checked the mysql table). When I tried to log in with the username and password, fudforum silently failed. I looked at the fud25_ses row for my test user, and it existed

mysql> select * from fud25_ses where user_id=73;
+------+----------------------------------+--------+---------+------------+----------+------------+------+----------+
| id | ses_id | sys_id | user_id | action
| forum_id | time_sec | data | returnto |
+------+----------------------------------+--------+---------+------------+----------+------------+------+----------+
| 4340 | 076eaf3c6fa36b2359562e759ff286ab | 0 | 73 | Login Form
| 0 | 1054701425 | NULL | |
+------+----------------------------------+--------+---------+------------+----------+------------+------+----------+
1 row in set (0.00 sec)

I logged in as the admin user, successfully, went to the control panel, and enabled allowing sessions from different hosts at the same time. I then tried to log in as my test user again(in Lynx), and it stalled indefinitely.

Another thing I noticed before I ran this user reg test was that whenever I went to post a new topic, or reply to a topic, the connection stalled. The new topic or reply was created, but I didn't know it since the connection got stuck and never finished. This seems to happen every time now.

Also, what is the cvs repository and module name for 2.5.x?
Re: 2.5.0RC3 - user sessions? [message #10538 is a reply to message #10537] Wed, 04 June 2003 05:56 Go to previous messageGo to next message
Xodnizel   United States
Messages: 73
Registered: May 2003
Karma: 0
Member
I kill -HUP'd my Apache server parent process, and almost everything is working correctly. I don't know what to think now. The only thing I can think of is that the php module isn't disconnecting from the mysql server properly....or maybe there's a memory leak somewhere. I'll look at it more closely when I'm more awake.

The user registration quirk seems to be caused by redirecting the user to the same page after validation has succeded, resulting in a second validation attempt that obviously fails.

[Updated on: Wed, 04 June 2003 05:57]

Report message to a moderator

Re: 2.5.0RC3 - user sessions? [message #10545 is a reply to message #10538] Wed, 04 June 2003 13:26 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The user registration quirck is a rather old issue that I once in a while see, but was never able to replicate. I'll try to track down why it happens or why would the double redirect occur.

As for the other issue, I'd upgrade to the latest version of PHP (4.3.2) if you are not running it yet, before going after problem. I would say recommend using non-bundled mysql libs rather then the ones prepackaged with PHP.


FUDforum Core Developer
Re: 2.5.0RC3 - user sessions? [message #10556 is a reply to message #10545] Wed, 04 June 2003 15:40 Go to previous messageGo to next message
Xodnizel   United States
Messages: 73
Registered: May 2003
Karma: 0
Member
I tried switching to the non-bundled mysql libraries, and had the same problem. I have been running with persistent connections turned on in fudforum. I've turned them off, and restarted mysql. I'll have to wait and see if this fixes it. It usually takes a while for the problems to occur...perhaps something is wrong with the table locks.

[Updated on: Wed, 04 June 2003 15:41]

Report message to a moderator

Re: 2.5.0RC3 - user sessions? [message #10557 is a reply to message #10556] Wed, 04 June 2003 15:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hmm... I used to use persistent connections before, but they just lead to too many problems (not forum related) and and performance difference is minimal. So, I tend to prefer nonresistant ones now a days.

FUDforum Core Developer
Re: 2.5.0RC3 - user sessions? [message #10559 is a reply to message #10557] Wed, 04 June 2003 16:52 Go to previous messageGo to next message
Xodnizel   United States
Messages: 73
Registered: May 2003
Karma: 0
Member
Turning off persistent connections fixed the problem.
Re: 2.5.0RC3 - user sessions? [message #10563 is a reply to message #10559] Wed, 04 June 2003 17:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Smile

I've added a check for double confirmation in the CVS, so in the future going to e-mail confirmation link should not cause an error message to appear.


FUDforum Core Developer
Re: 2.5.0RC3 - user sessions? [message #10638 is a reply to message #10563] Thu, 05 June 2003 22:12 Go to previous message
Xodnizel   United States
Messages: 73
Registered: May 2003
Karma: 0
Member
Nevermind, I fixed the problem. I had removed the theme selection field from the register/profile template, because I wasn't using it. So fudforum was setting the theme in people's profiles to "0", which was preventing them from logging on.

Quote:


I think the check might be masking the underlying problem.

I cleared out my user database, and reloaded the anonymous user entry.

Users aren't getting the double-validation error, but they are unable to post after validating. Instead of logging them on, trying to logon will just redirect them to whatever page they were just on.

This is not happening with users that I added via the control panel before I enabled registration for general users.

Users are able to change their profiles after registering, and if the incorrect password is typed in, fudforum will complain, as it should.

http://fud.starmen.net/ if you want to look at it, if I don't figure out the problem.

(This is 2.5.0RC4, but I was having a similar problem in 2.5.0RC3).

[Updated on: Thu, 05 June 2003 22:24]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RC4 upgrade: Consistency checker bombs out
Next Topic: 2.5.0RC4 PMs
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 19:04:57 GMT 2024

Total time taken to generate the page: 0.02853 seconds