bug when cookie is missing [message #1997] |
Sat, 27 April 2002 00:15 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Hello, this one seems to be rather esoteric, but can easily happen if u use an adfilterring software, which has cookieblocking capabilities as well . Steps to reproduce:
-At first u normally login to ur profilepage. -now delete the forum's cookies. (or alternatively turn on ur blocking software ) -next select subscriptions and then: u will witness the following encounter:
Quote: | Query Failed: INSERT INTO fud2_ses (ses_id,time_sec,data,sys_id,user_id) VALUES('0b05a221664eb36dd0c30d6803f9b27f',1019865616,'$this->data = array('err_id'=>'beecd7cf2dccb1eb63ecfcdcab249900','er_msg'=>'Du bist nicht angemeldet, bitte hole das jetzt nach<br><br>Falls Du Dich registrieren willst, gehe bitte zum <a href="register.php?S=ea5d8ab984ed2e85bee2ce0409e0d4dd">Registr ierungsformular</a><br>Falls Du Dich anmelden willst, gehe bitte zum <a href="login.php?S=ea5d8ab984ed2e85bee2ce0409e0d4dd">Anmeldefor mular</a>','err_t'=>'FEHLER: Du bist nicht angemeldet','ret_to'=>'P1M9ZWE1ZDhhYjk4NGVkMmU4NWJlZTJjZTA0MDllMGQ0ZGQ=' );', '2c823779d3c3080aae3e27099779dff7',2000000004) Reason: You have an error in your SQL syntax near 'err_id'=>'beecd7cf2dccb1eb63ecfcdcab249900','er_msg'=>'Du bist nicht angemeldet,' at line 1 From: /usr/local/httpd/htdocs/kunden/web180/html/forum/subscribed.php Server Version: 3.23.37-log
|
The behaviour after a failed authentification should be "u re not logged in". Works with any other link shown in the profile bye Ken
|
|
|
Re: bug when cookie is missing [message #2001 is a reply to message #1997] |
Sat, 27 April 2002 00:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Ken can you please verify you are using LATEST cookies.inc.t and just to be sure recompile the forum.
The problem you are seeing is actually the result of a bug that was fixed sometime today.
FUDforum Core Developer
|
|
|
Re: bug when cookie is missing [message #2006 is a reply to message #2001] |
Sat, 27 April 2002 09:50 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Hi Prottoss, I do re-install the forum from the scratch each time I ve made a cvs check-in. Just to be sure I can catch some bugs with the installer, too. The code was definetly a recent one. Ken
|
|
|
Re: bug when cookie is missing [message #2007 is a reply to message #2006] |
Sat, 27 April 2002 11:27 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
I used the code from around an hour ago for a reinstall but the problem still persists. New way of reproducing it: U need two different browsers. Log in regularly with one. Then minimize the window and start ur second browser. Also log in. Now after a while return to the minimized window and hit just one of the menu items in ur profile -> error appears both on mozilla and in IE, depending which one was idle. The avatar issue has been improved. The only thing not working is that right after uploading the avatar in the user's profile it won't show up there if u hit preview. If a user deletes the avatar and uploads a new one, there's no approval message generated for the administrator. Hence the user never ever will have a new avatar. It only shows up in the user's profile. The Java Script complaint of MSIE6.0 is there again, now I can easily reproduce it each time I refresh the register.php. Error message says in line 111 a ')' would be expected. Interesting is, that I'm not able to view the page source either. To me it turns out that it seems to be an IE issue, so maybe closer investigation is required. ---edit--- The avatar issue with no generated approval message seems to depend on whether u re logged in with two different browsers or not. Ken
[Updated on: Sat, 27 April 2002 11:35] Report message to a moderator
|
|
|
|
Re: bug when cookie is missing [message #2019 is a reply to message #2008] |
Sat, 27 April 2002 19:16 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
This is really interesting: When I'm not logged in as a user, I suddenly can see my avatar I chose. But by the time I log in it will disappear again. Any idea? bye Ken
|
|
|
|
Re: bug when cookie is missing [message #2023 is a reply to message #2020] |
Sat, 27 April 2002 21:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Okie finally managed to fix some of the bugs you've mentioned:
1) Cookie bug fixed (affected file cookies.inc.t) 2) Avatar upload bug fixed (affected file post_proc.inc.t)
Still working on the JavaScript issue on IE...
P.S. I recommend you do a complete re-install since a rather major change was done in the forum. The result of the change is that user's homepage url & bio are no longer stored in a file but rather in MySQL.
FUDforum Core Developer
|
|
|
|
|
Re: bug when cookie is missing [message #2026 is a reply to message #2025] |
Sun, 28 April 2002 00:03 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Fixed in CVS.
Affected files (tmp_view.php.t, post_proc.inc.t)
Please note that at point file upload appears to be broken
Debuging it now...
Update: file upload is working it was a local bug...
FUDforum Core Developer
[Updated on: Sun, 28 April 2002 00:39] Report message to a moderator
|
|
|