This question about Using an extension: Answered

Cannot execute SendEmailPlugin

I installed and activated the SendEmail Plugin using configure. It reported the installation was completed without errors. The plugin is shown as active in the wiki. However, when I try to use the plugin I get the following message:

Not Found

The requested URL /CorporateWiki/bin/sendemail/System/SendEmailPlugin was not found on this server.

On my installation I think the URL should be rewritten as /CorporateWiki/bin/lib/Foswiki/Plugins/SendEmailPlugin

How do I track down the source of this problem and how do I correct?

-- MikePengelly - 10 Feb 2010

The lib directory should never be directly accessible from the browser URL. If there is any chance it could be directly read, you would risk exposing your internal configuration. Scripts executed by the client are installed into the bin directory. There are a couple of things to check
  • Verify that the shebang is correct for your environment in bin/sendemail
  • Make sure you went through at least one bin/configure save cycle, and that the switchboard entry has been created in lib/LocalSite.cfg
-- GeorgeClark - 10 Feb 2010

QuestionForm edit

Subject Using an extension
Extension SendEmailPlugin
Version Foswiki 1.0.7
Status Answered
Topic revision: r3 - 13 Feb 2010, GeorgeClark - This page was cached on 09 Jan 2018 - 12:41.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License