Ticket #118 (closed defect: fixed)
Uncaught exception when deleting all spam at once
| Reported by: | rickc | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | Habari Core Software | Version: | SVN |
| Keywords: | spam, comment moderation, has_patch | Cc: | rickc |
Description
Environment: Using a Sqlite database, r1305, Apache 2.2.4, PHP 5.2.3, Sqlite 3.3.17.
What I did: I selected Manage->Spam. On the spam screen I tried to delete all spam by checking the Delete 'em all checkbox, then clicking the Moderate button. I expected all spam to be deleted.
What I expected: All spam in the database to be deleted.
What I got: Uncaught Exception: Exception: PDO::prepare() [function.PDO-prepare]: SQLSTATE[HY000]: General error: 1 near "comments": syntax error
Note: Clicking the text on the next line of the screen to Mark All For Deletion, then clicking the Moderate button works properly to delete the spam shown on the current screen.
