Unable to post any comments

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
loobis
Regular
Posts: 6
Joined: Sat Feb 24, 2007 7:41 pm

Unable to post any comments

Post by loobis »

People are currently unable to post any comments to my blog. Sometimes it just says "Comments are not allowed", but sometimes it says this:
---------------------------------------------------
Warning: event_hook(bundled-libs/Net/DNSBL.php): failed to open stream: No such file or directory in /home/content/l/o/o/loobis/html/words/plugins/serendipity_event_spamblock_rbl/serendipity_event_spamblock_rbl.php on line 79

Fatal error: event_hook(): Failed opening required 'bundled-libs/Net/DNSBL.php' (include_path='/home/content/l/o/o/loobis/html/words/:/home/content/l/o/o/loobis/html/words/bundled-libs/:.:/usr/local/lib/php') in /home/content/l/o/o/loobis/html/words/plugins/serendipity_event_spamblock_rbl/serendipity_event_spamblock_rbl.php on line 79
-------------------------------------------------

Here is like 78-82 of that .php (79 is the 2nd line, obviously:
--------------------------------------------------------
// Check for IP listed in RBL
require_once (defined('S9Y_PEAR_PATH') S9Y_PEAR_PATH :bundled-libs/')
. 'Net/DNSBL.php';
$dnsbl = new Net_DNSBL();
$remoteIP = $_SERVER['REMOTE_ADDR'];
# $remoteIP = '81.70.69.193';
---------------------------------------

I had a huge problem with Trackback SPAM about a month ago, so I had added a few plugins. I noticed that when I remove the plugin "Spam Protector - A variety of...", I can submit test comments, but I also received about 300+ Trackback Smap Emails in about 5 minutes.

Does anyone have any ideas? I have previously edited that .htaccess file to aid in spam blocking as well.

You can test this at www.loobis.com/words.

Thanks in advance for any help. I'd really appreciate it.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Unable to post any comments

Post by garvinhicking »

Hi!

Yes, those people have blacklisted IPs.

You either need to turn off your blacklisting, or your commenters must use different IPs. ;)

Best regardds,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
loobis
Regular
Posts: 6
Joined: Sat Feb 24, 2007 7:41 pm

Post by loobis »

So that means that my IP at home, my friend's IP at work, and my IP at work are all blacklisted? That doesn't seem right.

Is there any way I can edit the blacklist?

What's also strange is that the few times I didn't receive the error, I still received the message "your comment was not added because comments are not allowed..."
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes. Many RBLS services nowadays blacklist Dial-UP IP addresses, which is 99% of what all your users use.

The blacklists are by default "sbl-xbl.spamhaus.org, bl.spamcop.net" (see config of your blacklist plugin), so only those providers can decide who to blacklist.

Reading your error message again: It could also be that you are missing files; check if in your s9y directory you have the file bundled-libs/Net/DNSBL.php -- those files are required for that plugin and by default are shipped with s9y. In your case they might be missing?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
loobis
Regular
Posts: 6
Joined: Sat Feb 24, 2007 7:41 pm

Post by loobis »

OK, so I lookeed at my bundled-libs, and I'm missing the Net folder.

Actually, this is all I have in bundled libs:
Docs
Onyx
Tests
Text
XML
Create_release.sh
Pear.php
tmp

So, I downloaded the Serendipity source files and copied that net folder out there. I also copied the HTTP folder out there because it was missing...so...why not?

When I try posting a comment now, I get this:
"Your comment could not be added, because comments for this entry have been disabled. Click here to return to the comments, and here to close this window. "

I know that comments are enabled, so I'm not sure what to try next.

I think it might have something to do with my SpamBlocker Plugin, because it worked when I removed that (but that started the flood of TrackBack Spam...)

Thanks for all the help so far.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

How did you configure the antispam plugin? Be sure to go through all options, you might have been too restrictive?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply