Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Anti-spam frustration

Go to End

19 Posts   4377 Views


30 June 2009 at 3:08pm (Last edited: 30 June 2009 3:09pm), Community Member, 28 Posts

We attempted to add mollum and spamprotection to a site, and have spent hours with no result.

We first attempted to use the stable builds, and this gave no result, so tried with the latest builds of mollum, spamprotection, and userforms. Now not only is the the anti spam not present, but the addition of the line:


in the config.php file causes the following to be displayed on all pages (including the ../build ../flush ../admin, etc)

Fatal error: Class 'SpamProtecterManager' not found in /home/trainer/public_html/mysite/_config.php on line 30

Changing ' to " or 'SpamProtecterManager' to SpamProtectorManager' as indicated in other threads has not remedied the situation.

Has anyone else encountered this, and found a solution?


30 June 2009 at 5:11pm Forum Moderator, 5511 Posts

If you are using the latest trunk builds of mollom and spam protection then the following code should work


Note we had to fix the 'set_spam_protector' vs 'set_spam_protecter' throughout the code and I may have overlooked the docs. Try that and let me know how you get on.


30 June 2009 at 6:45pm (Last edited: 30 June 2009 6:46pm), Community Member, 28 Posts

Still no luck; website won't function with the code in place.

Fatal error: Class 'SpamProtectorManager' not found in /home/trainer/public_html/mysite/_config.php on line 30

Appreciate the help.


30 June 2009 at 6:54pm Forum Moderator, 5511 Posts

Well the error - 'SpamProtectorManager' lets start there - Do you have a 'SpamProtectorManager.php' file with a class inside it called 'SpamProtectorManager'. Also make sure this file starts with a '<?php' not just '<? ' as some servers won't pick it up with php shorttags.

It should be located in spamprotection/code/. If so next thing to check is you have a '_config.php' file in spamprotection/ (so SS loads the code). Next thing is to run to rebuild the manifest (to include all the php files).


1 July 2009 at 8:46am Community Member, 28 Posts

This morning I decided to start from scratch, and have deleted the old modules, and uploaded the latest:


I ran /dev/build (and flushed the cache) and visiting the site, all works as it should, except that the anti-spam elements are not present on the page (I also tested from another browser and machine, both of which weren't logged in). As I understand it the latest releases should install the necessary elements automatically; is this correct?


1 July 2009 at 1:33pm Forum Moderator, 5511 Posts

Is this in page comment form?.

Can you check in the CMS -> Reports Section to see if your mollom key is valid


1 July 2009 at 1:49pm Community Member, 28 Posts

The key is shown as valid.

This is for the contact form:

If it helps, the URI is


1 July 2009 at 2:57pm Forum Moderator, 5511 Posts

Have you added a Spam Protection Field to the form in the CMS? Can you see that as an option?

Go to Top