I am not sure what's wrong. But anyway, have you enter valid API key for the external service provider you are going to use?
If not, please do so first.
Also, please try the followings and see if it helps or not.
1) Clear the cache from Configuration > Performance page.
2) At the same page, disable cache, also uncheck the checkbox for CSS aggregator and Javascript aggregator.
3) Disable the AntiSpam module and enable it again.
4) Clear the browser's cache and restart the browser.
The line define('ANTISPAM_DRUPAL_VERSION', '6'); is OK. It's no longer used in anywhere.
I thought that maybe I have screwed up the packaging too. So I downloaded the antispam-7.x-1.0.tar.gz archive from drupal.org and and installed it to a brand-new D7 site which did not have any third party modules installed yet (Drupal Core only) and tested it. AntiSpam module worked just fine.
If the installation is done OK, then at least you should be able to access config and content moderation queue pages at
admin/config/antispam
admin/content/antispam
If you can not access antispam config page, then something went wrong with the installtion.
Have you enabled CleanURL? AntiSpam requires it. Please check this too.
Could you reinstall the AntiSpam module? (downloaind the antispam module archive from Drupal.org and install it).
Reporting back. Drupal coding standards related failure: <? opening tag instead of <?php in antispam.module line one... Voilá, it's working without the garbage.
Comments
Comment #1
pixture commentedPlease take the screenshot and attach it here.
D7 version has been working on my server (two servers that runs D7). It's supposed to work fine.
Comment #2
Cheek commented(double post)
Comment #3
Cheek commentedWeird.. I get this on every page.
Comment #4
pixture commentedI am not sure what's wrong. But anyway, have you enter valid API key for the external service provider you are going to use?
If not, please do so first.
Also, please try the followings and see if it helps or not.
1) Clear the cache from Configuration > Performance page.
2) At the same page, disable cache, also uncheck the checkbox for CSS aggregator and Javascript aggregator.
3) Disable the AntiSpam module and enable it again.
4) Clear the browser's cache and restart the browser.
Comment #5
Cheek commentedI tried all that, but it didn't work.
There's nothing at 'admin/config/antispam' either.
Maybe something went wrong with the packaging. In antispam.module it says:
define('ANTISPAM_DRUPAL_VERSION', '6');
Comment #6
pixture commentedThe line define('ANTISPAM_DRUPAL_VERSION', '6'); is OK. It's no longer used in anywhere.
I thought that maybe I have screwed up the packaging too. So I downloaded the antispam-7.x-1.0.tar.gz archive from drupal.org and and installed it to a brand-new D7 site which did not have any third party modules installed yet (Drupal Core only) and tested it. AntiSpam module worked just fine.
If the installation is done OK, then at least you should be able to access config and content moderation queue pages at
admin/config/antispam
admin/content/antispam
If you can not access antispam config page, then something went wrong with the installtion.
Have you enabled CleanURL? AntiSpam requires it. Please check this too.
Could you reinstall the AntiSpam module? (downloaind the antispam module archive from Drupal.org and install it).
Comment #7
scorchio commentedSame here as #3, on a Hungarian site I can see garbage only - it prints the whole antispam.module file.
Comment #8
scorchio commentedReporting back. Drupal coding standards related failure: <? opening tag instead of <?php in antispam.module line one... Voilá, it's working without the garbage.
Comment #9
pixture commented>@ scorchio,
Thank you for the information. I will fix it and release it this week. :-)
Comment #10
Cheek commentedHadn't thought of that. Confirmed working, thanks scorchio!
Comment #11
Everett Zufelt commentedPlease report further 7.x-1.x issues separately.