Closed (fixed)
Project:
Spam
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2007 at 06:20 UTC
Updated:
2 Nov 2007 at 12:21 UTC
When a user enter's something in the guestbook (or a spambot does). He gets the below error message. For the guestbook I use the guestbook module (http://drupal.org/project/guestbook). Spam does not get published, but the error get's logged (so it's poluting my log).
preg_match_all() [<a href='function.preg-match-all'>function.preg-match-all</a>]: Compilation failed: missing terminating ] for character class at offset 4 in /customers/[website]/httpd.www/sites/all/modules/spam/spam.module on line 1100.
Comments
Comment #1
xl-network commentedNothing yet...?
Comment #2
jeremy commentedIs this still happening for you? If so, are you using custom filters? Offhand, I'm guessing this is an issue with one of your custom filters being badly formatted. There have been some major changes to the spam module since your bug report, so the line number is no longer useful. Please test again with the latest release, and if it's still a problem re-open this issue, pasting in the updated error message.
Comment #3
mygumbo commentedThis was happening to me, too, and so I checked my custom filters, and I was trying to match "[url" - and thus, the error about a non-terminating ].
Comment #4
xl-network commentedI updated to the latest version and still it did nothing. Can you tell me where you fixed/changed the [url thingie?
Comment #5
xl-network commentedNever mind... I found it under /admin/settings/spam/custom. I removed the [url and [img thing and it worked.
Comment #6
(not verified) commented