[ php-blog-Bugs-2182668 ] Spam Protector (RBL) - Net_DNSBL::getTxt()
"SourceForge.net" <[email protected]> Mon, 20 Oct 2008 16:08:36 +0000
| Newsgroups | gmane.comp.serendipity.trackers |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2182668, was opened at 2008-10-20 11:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=2182668&group_id=75065
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jonathan Hull (masterrr)
Assigned to: Nobody/Anonymous (nobody)
Summary: Spam Protector (RBL) - Net_DNSBL::getTxt()
Initial Comment:
When "Spam Protector (RBL)" is enabled, whenever a comment is posted I get the following error:
Fatal error: Call to undefined method Net_DNSBL::getTxt() in /var/www/jonhull.net/blog3/plugins/serendipity_event_spamblock_rbl/serendipity_event_spamblock_rbl.php on line 94
All dependencies and needed packages are installed.
After looking around a while I found that if I change the require_once line in serendipity_event_spamblock_rbl.php from:
require_once (defined('S9Y_PEAR_PATH') ? S9Y_PEAR_PATH : 'bundled-libs/') . 'Net/DNSBL.php';
to simply:
require_once 'Net/DNSBL.php';
that it worked fine.
-Jon
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=2182668&group_id=75065
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/