Results 1 to 4 of 4

Thread: Problems with log file

  1. #1
    Join Date
    Aug 2012
    Posts
    5

    Default Problems with log file

    The instructions for setting up the log are not clear to me. In particular, the LOGDIR
    imperative has just one example:


    $LOGDIR = "/home/mysite/logs";

    Now, is 'home' a literal? or a placeholder? In a formMail alert I see:

    DOCUMENT_ROOT: /home/myname6/public_html

    so should I follow that syntax and code something like:


    $LOGDIR = "/home/myname6/public_html/SpecialSale";

    or is it sufficient to code, say,
    $LOGDIR = "public_html/SpecialSale";

    I have not found the magic pattern yet: no log entries
    have been added. I am trying to use the log as one way
    of debugging, since I am still getting:

    ----------------------------------------
    The following error occurred in FormMail : no_recipients ********** Error=The form has an internal error - no actions or recipients were specified. email: realname:
    ---------------------------------------

    but recipients, email, and realname are all included in my form.

    Sigh.

    -Steve

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Problems with log file

    Start with a full path - its safer.I don't think the log file is written to if there's an error in the form.U should fix the error first.

  3. #3
    Join Date
    Aug 2012
    Posts
    5

    Default Re: Problems with log file

    Thanks. I've got the error fixed, now I'm trying to get logging to work.

    My real question here is: what does that look like? What is implied by
    "Start with a full path"? Is the example using


    $LOGDIR = "/home/mysite/logs";

    generic or precise? Is 'home' a place holder or, perhaps, public_html for example?
    Or does it need the domain name?

    Thanks.

  4. #4
    Join Date
    Aug 2012
    Posts
    5

    Cool Re: Problems with log file

    Never mind. Got it working. I used

    $LOGDIR="/home/trnnn/public_html";

    where 'home' is the word 'home', literally;
    'trnnn' is my user-id on the system;
    'public_html' is the system's place for
    my html. Now that I know, I could have
    gone one level deeper, but I can change
    that later.

    Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problems with form results to CSV file
    By smith_ja2001 in forum Community Support
    Replies: 2
    Last Post: 15-Sep-2011, 11:37 AM
  2. INI File Problems
    By Max in forum Community Support
    Replies: 1
    Last Post: 30-May-2008, 11:43 AM
  3. File Upload problems
    By kdoug in forum Community Support
    Replies: 1
    Last Post: 17-Oct-2007, 04:32 AM
  4. File Upload Problems only on MacIntosh
    By kwalerow in forum Community Support
    Replies: 3
    Last Post: 22-Dec-2006, 06:25 PM
  5. csv file problems
    By Badnet in forum FormMail Subscription Support
    Replies: 2
    Last Post: 12-Nov-2004, 02:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •