Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Email Plugin not installed

posted by Krow on 12:28 PM February 28th, 2003   Printer-friendly   Email story
I'm a relative slash newbie. I've just installed 2.3.0. During the install, I chose "Email Plugin" (I think it was item #6 on the list), but when I click on the email icon for a story, I get a page that says:
  The plugin you have requested Slash::Email, was not properly installed.

I tried restarting both slash and apache, and I tried using the install-plugin tool (again, I chose Email, and said yes to using symlinks), but the page continues to state that it's not installed properly.

I do have an Email directory in the plugins directory, and everything there looks good (to my untrained eye). I also looked in the logs, but there was no mention of the Email plugin in the slashd.log file. I seem to have the perl module installed correctly. I find these three files:
  /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread -multi/auto/Slash/Email
  /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread -multi/auto/Slash/Email/.packlist
  /usr/lib/perl5/site_perl/5.8.0/Slash/Email. pm

Any ideas what might not be installed properly or how it is determined that a plugin either is or is not installed?

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • Borked plugins (Score:3, Insightful)

    by tf23 (175) <tf23NO@SPAMlottadot.com> on Friday February 28 2003, @03:12PM (#5795) Homepage Journal
    Yesterday there was a discussion on IRC of the plugins that were thought to be borked and not working quite so well with the latest cvs.

    Of them, email was one. Also was bunchablocks, discussion editor and menu editor.

    I don't recall the entire list. I'm sure one of the OSDN folk would be able to point them out.

    --
    lottadot [lottadot.com]
    • What was the outcome of the borked plugins discussion? Are people working on fixing them or not? I ask because if there are going to be changes made, I'll just grab the new ones instead of spending time trying to repair the broken ones I've got.

      A friend of mine got email working by changing two lines in email.pl:

      [1131][root@gytha]1# diff email.pl_orig email.pl
      259c259
      < my($slashdb, $constants, $user, $form, $Email) = @_;
      ---
      > my($slashdb, $constants, $user, $form, $Plugins) = @_;
      262c262
      < my $rc = $Email->removeFromOptoutList($form->{email});
      ---
      > my $rc = $Plugins->{Email}->removeFromOptoutList($form->{em ail});

      I also noticed some of the blocks weren't working in bunchablocks, and have had problems with the discussion editor. Haven't used the Menu editor yet so no comments there, but I also seem to be having problems with the Events plugin.

      Anyway - I might swing by the irc channel and see what's going on as well.

      • CVS has been updated for plugins.

        I applied your above patches to Email, if you find anymore please send us patches.
        --

        --
        You can't grep a dead tree.
  • responding to my own post:

    needed to add this line:

    PerlModule Slash::Email

    to /usr/local/slash/httpd/slash.conf
    (also uncommented other relevant perl modules
    while I was in there).