+ Reply to Thread
Results 1 to 2 of 2

Thread: Cannot access template file..

  1. #1
    Join Date
    Jun 2006
    Posts
    4

    Default Cannot access template file..

    Hi..

    I am trying to set up plain text formatiing..

    I have configured the $TEMPLATEDIR in my formmail.php like thus:

    Code:
    $TEMPLATEDIR = "/tmp";
    I have also tried the following..

    Code:
    $TEMPLATEDIR = "<url>/tmp";
    Code:
    $TEMPLATEDIR = "../tmp";
    Code:
    $TEMPLATEDIR = "\tmp";

    I have template plain.txt in the tmp folder.
    And I have set mail_options field in the form as mentioned in the FAQ

    I still get the mails in the original format, and the template is not being used. I get the mail script error saying the template file could not be accessed.

    What am I doing wrong?

    I am using a free hosting service for the php file..

    Thanks very much in advance for any help....

  2. #2
    Join Date
    Jul 2005
    Posts
    175

    Default Re: Cannot access template file..

    Hi

    You have to quote your full path. Link stated below should solve your problem.
    http://tectite.com/vbforums/showthread.php?t=874

    Erik

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Replies: 2
    Last Post: 11-Jul-2007, 08:03 AM
  2. Easier access to configuration options
    By FLEB in forum Your Suggestions
    Replies: 4
    Last Post: 24-Apr-2007, 09:13 AM
  3. Replies: 1
    Last Post: 23-Aug-2006, 10:32 PM
  4. Error: Access is Denied.
    By frogza in forum FormMail Subscription Support
    Replies: 1
    Last Post: 05-Jan-2005, 09:05 PM
  5. Downloading CSV file in Access
    By jgold723 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 30-Aug-2004, 11:35 AM

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