Dear all,
not sure if this is the right forum I posted to.
After a registered user has changed his signature via Forum Profile, the personal information in Your_Account will not be displayed anymore and the Your_Account menu disappeared. Means he can not even logout and login again, because there is no button !
Further we noticed that the news messages are also not displayed in that case.
Once the user deleted the relating cookies, he can re-login and everything is fine until the next signature change
We do run PHP Nuke 7.0
I am hunting this bug over many months, but can not get rid of it. It seems to be a cookie refresh/update issue which fails ...
Since the previous installation it had worked, but failed at any day in-between.
Is there any work arround or issue it could be relating to ?
Any comment is highly appreciated, Thanks in advance
Cheers
=EU=Argus
EU_Argus Nuke Soldier
Joined: Jan 18, 2004
Posts: 27
Posted:
Sun Feb 11, 2007 4:17 pm
Not sure if it helps someone, but I made the following addon in file includes/usercp_register.php arround line 502, where the docookie function is used.
It seems to fix my problem, I assume that I do overwrite some variables with other blocks or whatever, no idea so far ... but it works ...
Code:
//
// ARGUS AddOn - cookie problem - start 1
//
$sql = "SELECT user_id, username, user_password, storynum, umode, uorder, thold, noscore, ublockon, theme FROM ".$user_prefix."_users WHERE username='$username' AND user_password='$user_password'";
$result = $db->sql_query($sql);
if ($db->sql_numrows($result) == 1) {
$userinfo = $db->sql_fetchrow($result);
//
// ARGUS AddOn - cookie problem - end 1
//
docookie($userinfo[user_id],$userinfo[username],$userinfo[user_password],$userinfo[storynum],$userinfo[umode],$userinfo[uorder],$userinfo[thold],$userinfo[noscore],$userinfo[ublockon],$userinfo[theme],$userinfo[commentmax]);
//
// ARGUS AddOn - cookie problem - start 2
//
}
//
// ARGUS AddOn - cookie problem - end 2
//
You couldn't help me out this time, but I am with You and always appreciate the fast and smart helps here. thx.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum