Clearing errors in MT logs

If you happen to run an MT3.14 install, and have MT-Blacklist 2.04b as well as MT-SpamLookUp 2.0 installed, you may have noticed some errors in your main MT activity log. The errors look like this :

Plugin error: plugins/Blacklist/Blacklist.pl Can't locate Blacklist/Plugin.pm in @INC (@INC contains: /public_html/friedkitten/cgi-bin/plugins/Blacklist/lib ./extlib ./lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1

The error is related to MT-Blacklist, not to MT-SpamLookUp. The trick to get rid of the error is to edit the file Blacklist.pl which usually can be found in the plugins directory where you installed MT, then look in the subdirectory "Blacklist". On line 20, you'll notice the referrence :

use lib 'plugins/Blacklist/lib';

Edit that path so it becomes an absolute path, looking like :

use lib 'home/username/public_html/cgi-bin/mt/plugins/Blacklist/lib';

Of course, you'll have to change the path used in the example above to reflect your own setup. If you've got questions, don't ask me :) Instead check in the MT-Blacklist forums.

Posted by ServMe at April 17, 2005 9:22 PM | Techy Bits |

Comments

Post a comment




Remember Me?