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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Mollom


Go to End


826 Views

Avatar
bettsaj

Community Member, 46 Posts

29 July 2011 at 5:25pm

I originally posted this in the Mollom thread above, but i suspect it's been missed, therefore I've reposted it here....

Just installed Mollom. and can't appear to get it to work. This is what I have done so far:

Downloaded and installed the latest release of spamprotection module.
Downloaded and installed the latest release of mollom.
Launched Dreamweaver and downloaded the _config.php file, opened it up in Dreamweaver and added this code to the file:

Mollom::setPublicKey('public-key');
Mollom::setPrivateKey('my private key');
SpamProtectorManager::set_spam_protector('MollomSpamProtector');

after that the _config.php file looked like this:

<?php 

LeftAndMain::require_javascript('userforms/javascript/FieldEditor.js'); 
LeftAndMain::require_css('userforms/css/FieldEditor.css'); 
Mollom::setPublicKey('my public-key'); 
Mollom::setPrivateKey('my private key'); 
SpamProtectorManager::set_spam_protector('MollomSpamProtector'); 

?>

Obviously I changed the keys to what I got off the Mollom website after registration. I then uploaded the newly configured _config.php file to the server.

Now when i log into the CMS and check the Mollom report i get the message "Mollom Key Status
You have not configured your key. Please add it to mysite/_config.php."

I know I have added it, I've double checked it, deleted it and then re-uploaded twice now and still no luck. any ideas what I may be doing wrong??