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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 13:13 Go to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 13: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
add to buddy list
ignore all messages by this user
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 13: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
add to buddy list
ignore all messages by this user
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 13:44 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 14:07 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
As my previous post indicated there was a patch committed for this problem.

So, the problem is gone. Smile


FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Oct 16 21:44:08 EDT 2017

Total time taken to generate the page: 0.00750 seconds