Fresh install of spam-6.x-1.0 on Drupal 6.17 and I get the following error when clicking Filters:

Fatal error: Cannot redeclare spam_scan() (previously declared in /home/username/public_html/mydomain.com/site/sites/all/modules/spam.module:34) in /home/username/public_html/mydomain.com/site/spam.module on line 85

Any suggestions on how to fix this?

Comments

jason331’s picture

Component: URL Filter » Miscellaneous
gnassar’s picture

Status: Active » Postponed (maintainer needs more info)

Honestly, the error message makes it sound like the spam module got copied to two different locations when you installed it...

Can anyone replicate this problem? I'll give it a little bit so folks can test before I close it.

AlexisWilke’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

Yes, you should erase the version under this folder:

/home/username/public_html/mydomain.com/site/

I mark this as fixed since it was in July and it has nothing to do with the module per se. Really... it's just installation quirk.

Thank you.
Alexis

gnassar’s picture

Status: Fixed » Closed (works as designed)

Not to be picky ;) but if we're closing it, it should probably be an as-designed or can't-reproduce.

This way, it takes one more item off of the "open issues" filter. ;)

jeremy’s picture

FYI: "fixed" tickets will automatically switch to "closed" after two weeks, at which time they no longer show up as an "open issue".

gnassar’s picture

Yes. But in the meanwhile, my open-tickets list keeps it on there for another two weeks, adding to the sea of green we currently have. Besides, at the pace I've been going, I'm going to have all the open issues handled well before then. ;)

And perhaps more seriously, we didn't "fix" anything. I just picked the status based on the action appropriate for the ticket.