bug: sending pm while not logged in [message #2039] |
Sun, 28 April 2002 17:13 |
Olliver
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 |
Ilia
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
|
|
|
|
|
|