i have finally gotten tfmail to work. i had everything in the cgi-bin and all worked. i then moved the location of the trt and trc files (for added security reasons) to: home/sitename/tfmail/

the tfmai.pl script: is in the cgi-bin

the missing fields template still works but when all fields are filled out the error message i receive is:

-----------------
Application Error An error has occurred in the program bad logfile name [ ] at TFmail.pl line 1048.
----------------

my tfmail.pl script is configured as follows: </c>

use constant DEBUGGING => 1; use constant LIBDIR => '/home/sitename/tfmail/'; use constant MAILPROG => '/usr/sbin/sendmail -oi -t'; use constant POSTMASTER => 'terra@sitename.com'; use constant CONFIG_ROOT => '/home/sitename/tfmail/'; use constant SESSION_DIR => '.'; use constant MAX_DEPTH => 0; use constant CONFIG_EXT => '.trc'; use constant TEMPLATE_EXT => '.trt'; use constant ENABLE_UPLOADS => 0; use constant USE_MIME_LITE => 1; use constant LOGFILE_ROOT => '/home/sitename/tfmail/log/'; use constant LOGFILE_EXT => '.log'; use constant HTMLFILE_ROOT => ''; use constant HTMLFILE_EXT => '.htm'; use constant CHARSET => 'iso-8859-1';

the logile_ext and logfile_root fields were left blank. i recently tried filling the fields out (as they are above now) and this still did not solve the error message problem.

i created a log folder under the tfmail folder and saved a notpad file as .log...... i hope this is not too amusing...

I do not understand how to create a logfile template (i think i need a template?!) and the actual logfile itself. i have searched and searched google and forums for information on how to do this. is a log file simply a notepad file saved with a .log extension?

at this point if anyone can please help i will even pay you something if you want. i know this is probably simple stuff for people who understnad fully but it is daunting for me.

please and thank you.,
zak


In reply to tfmail_application error_bad logfile name by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.