Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just recently upgraded to version 6 of Akimet, after upgrading drupal as well to version 6, ran update.php as well. Now when I try to submit spam on any page, it goes to a 404 Page not found error. The same if I try to Unpublish a comment.
Comment | File | Size | Author |
---|---|---|---|
#10 | akismet_03_28_2009.patch | 7.24 KB | patricksettle |
#8 | akismet_3_27_2009.patch | 2.84 KB | peterpoe |
Comments
Comment #1
Ares78 CreditAttribution: Ares78 commentedmoved to the correct area, my apologies... I should clarify, when marking a posted comment as spam, it will go to the 404 Page not found error, I'm not actually submitting spam myself :P
Comment #2
coofercat CreditAttribution: coofercat commentedFor what it's worth, I get the same problem (after a similar upgrade experience). Actually, I'm finding most Akismet based comment management is problematic :-(
Comment #3
keathmilligan CreditAttribution: keathmilligan commentedSame issue. So far, Akismet module does not appear to be working at all.
Comment #4
tcblack CreditAttribution: tcblack commentedDitto on the same issue.
When I click "Submit Spam" or "Submit Ham" in a commentI get a 404.
Comment #5
alpinejag CreditAttribution: alpinejag commentedsame here
Comment #6
Napzilla CreditAttribution: Napzilla commentedAkismet causes me to receive the same 404 message when I'm trying to post any content at all, not just when marking a comment as spam.
Comment #7
Drupalone CreditAttribution: Drupalone commentedI get the same error. But I think this modul is not maintained anymore...
Comment #8
peterpoe CreditAttribution: peterpoe commentedTry applying this patch, which should solve this problem. It also fixes a bug (which you could not even see, since it the 404 error blocked everything) where the "submit ham" link on node and comments would not work.
Comment #9
patricksettle CreditAttribution: patricksettle commentedDang beat me to the punch, was going to work on this today.
Patch mostly works.
Had to change the function call on line 302 form:
over to :
I'm working on a clean patch with both changes as I type, I'll upload soon.
EDIT:
Oops. Also forgot, there's several l() calls that are not formated for drupal 6.
Comment #10
patricksettle CreditAttribution: patricksettle commentedOk, so there's several things here that were causing the akismet module to not work at all for me. I've several of which peterpoe knocked out in the patch in #8
I had also found a few more that were still causing some problems. Which include multiple cases of the incorrect use of the l() function. In drupal 6 the extra attributes are in an array, not as separate arguments. And a couple more instances where the akismet_content_load function was being fed the whole object and not just the id.
I've rolled them all into a patch, which (fingers crossed) should take care of the basics. This doesn't address the admin screens layout or any other issues, but does get the links working completely again.
Comment #12
spookypld CreditAttribution: spookypld commentedWhat does it mean ?
I count to 17 rows? I've found it a little bit messy :/
Comment #13
peterpoe CreditAttribution: peterpoe commented@spookypld: It's a patch, see http://drupal.org/node/60108
Comment #14
apadernoI am closing this issue, since it's for a Drupal version not supported.