Jump to content

Recommended Posts

Posted

Howdy, looking for some direction.

 

I have successfully installed DadaMail on my account and it is working. I now want to take the next step and add the discussion list feature "dada_bridge.pl" to the installation.

 

The steps to do so are taking me into new turf so thought I would check w/ y'all to see if you can provide me w/ any insight as to if certain of these steps are not necessary with my hosting on TCH.

 

You can see the steps by going to: http://mojo.skazat.com/support/documentation/dada_bridge.pl.html

 

Thank you, in advance, for any help you can provide.

Posted

Most of the steps appear to be necessary, but when installing to a TCH server, you have to work around not having shell access as noted below:

 

Requirements:

 

MIME-Tools - Instead of checking to see if this is installed from command line (shell), you'll need to log into your CPanel and click on the "Click to View" link next to "Installed Perl Modules" in the left column.

 

This page will show the rather large list of all modules installed on your server. I'd suggest using your browser's "Find" feature and search for "Mime::Tools" in the page. If MIME::Tools is installed, you should find it in the page, and see most (if not all) of these other modules listed near it (which are also a part of the MIME-Tools package):

>MIME::Body
MIME::Decoder
MIME::Decoder::Base64
MIME::Decoder::BinHex
MIME::Decoder::Binary
MIME::Decoder::Gzip64
MIME::Decoder::NBit
MIME::Decoder::QuotedPrint
MIME::Decoder::UU
MIME::Entity
MIME::Field::ConTraEnc
MIME::Field::ContDisp
MIME::Field::ContType
MIME::Field::ParamVal
MIME::Head
MIME::Parser
MIME::Parser::Filer
MIME::Parser::Reader
MIME::Parser::Results
MIME::Tools
MIME::WordDecoder 
MIME::Words

I believe MIME-Tools should already be installed on your server, but if MIME-Tools does not appear to be installed, I'd recommend opening a Help Desk ticket and asking them to install it for you.

 

Installation

 

Change the lib path - You won't be able to run the command shown to list the perl library directories on the server. You can run this script instead from your browser (script name should end in '.cgi', and be sure to set its permissions to 0755 before running it):

>#!/usr/bin/perl

use CGI::Carp qw(fatalsToBrowser);

print "Content-Type: text/plain\n\n";
print $_ ."\n" foreach @INC;

If you see the current directory in the path list ("."), do not include it in the paths you add to the plugin script. After running the above script and adding the listed directories to the plugin script, you can delete the above script from the server.

 

Set the cron job

Use the Cron Jobs icon in your CPanel to set this up, and use the following as the 'Command to run' (with the correct path to the script for your account):

>/usr/bin/perl /home/myaccount/cgi-bin/dada/plugins/dada_bridge.pl >/dev/null 2>&1

All of the other instructions should be followed as they are given.

 

Hope this helps...

Posted

Wow, what a great and thorough reply. I'll follow through on this and drop back here and let you know how I do... thank you so very very much for your help.

Posted

Hi David ... had TCH Support make sure MIME-Tools was installed. And now have a CGI in place on my site with the code you provided. It returns a 404 error. Please see PM for details.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...