bug when cookie is missing [message #1997] |
Fri, 26 April 2002 20:15  |
|
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 #2006 is a reply to message #2001] |
Sat, 27 April 2002 05:50   |
|
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 07:27   |
|
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 07:35] Report message to a moderator
|
|
|
Re: bug when cookie is missing [message #2008 is a reply to message #2007] |
Sat, 27 April 2002 08:03   |
|
And to make the chaos complete: It also exists this variation: U choose a new avatar and hit preview. then u cannot view it (see above) After submitting the changes the admin message is generated. Avatar is approved and the user gets the message. but looking at the existing messages actually reveals that there's still no avatar. it only shows up in the profile. the described phenomenon is happening with Mozilla. If I change my own avatar as administrator then it shows up in the generated message saying it would have been approved by the administrator but still not in any message I post. really confusing  bye Ken
|
|
|
|
|
Re: bug when cookie is missing [message #2023 is a reply to message #2020] |
Sat, 27 April 2002 17:58   |
Ilia
 Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
remove from buddy list ignore all messages by this user
|
|
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 #2025 is a reply to message #2024] |
Sat, 27 April 2002 19:08   |
|
Ok, we're slowly approaching the solution. The avatar immediately showed up in the preview but right after submitting changes I got this one:
Quote: | Warning: Unable to open '/usr/local/httpd/htdocs/kunden/web180/hidden/tmp//usr/local/httpd/htdocs/k unden/web180/hidden/tmp//262560RZnc5' for reading: No such file or directory in /usr/local/httpd/htdocs/kunden/web180/html/forum/register.php on line 2529
Warning: Cannot add header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/web180/html/forum/register.php:2529) in /usr/local/httpd/htdocs/kunden/web180/html/forum/register.php on line 2024
|
Mind the paths, they look really interesting I'll spam this thread as soon I find some more bye Ken
|
|
|
|