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

Home » FUDforum Development » FUDforum 3.0+ » bug: sending pm while not logged in
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
bug: sending pm while not logged in [message #2039] Sun, 28 April 2002 17:13 Go to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Hi,
There's an issue if an unregistered user attempts to send a PM to a registered user. Normally the result should be an error message saying that anonymous user aren't allowed to perform the action. However instead the SQL query will fail:
Quote:

Query Failed: SELECT SUM(length) FROM fud2_pmsg WHERE duser_id=
Reason: You have an error in your SQL syntax near '' at line 1
From: /usr/local/httpd/htdocs/kunden/web180/html/forum/ppost.php
Server Version: 3.23.37-log

bye Ken
Re: bug: sending pm while not logged in [message #2040 is a reply to message #2039] Sun, 28 April 2002 17:15 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
Is this the right approach to replicating the condition:

1) Login
2) Begin writing private message
3) Logout in a new windows (so that the window with ppost.php is still open)
4) Submit the private message


FUDforum Core Developer
Re: bug: sending pm while not logged in [message #2041 is a reply to message #2039] Sun, 28 April 2002 17:20 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
Fixed in CVS.

Affected files: ppost.php.t ppost.tmpl


FUDforum Core Developer
Re: bug: sending pm while not logged in [message #2042 is a reply to message #2041] Sun, 28 April 2002 17:44 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Quote:

Is this the right approach to replicating the condition:

1) Login
2) Begin writing private message
3) Logout in a new windows (so that the window with ppost.php is still open)
4) Submit the private message

Nice way to crash the forum Wink however my approach is different:
- go to the forum, but without any cookies (like an unregistered user)
- browse into a thread and click one of the member's PM button
-> Query fails.
But I think after all we ve been watching the same issue
bye
Ken
Re: bug: sending pm while not logged in [message #2045 is a reply to message #2042] Sun, 28 April 2002 18:07 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
As my previous post indicated there was a patch committed for this problem.

So, the problem is gone. Smile


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: bug: dead link in send email to friend
Next Topic: Issue with reporting messages
Goto Forum:
  

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

Current Time: Sat Nov 23 23:10:09 GMT 2024

Total time taken to generate the page: 0.02079 seconds