+ Reply to Thread
Results 1 to 3 of 3

Thread: can't get good or bad templates to work...

  1. #1
    Join Date
    Aug 2005
    Posts
    2

    Default can't get good or bad templates to work...

    Hello,

    I'm new to php (but not to other languages).

    I've been able to get the formmailer to work - great program by the way.

    Problem: can't get the good or bad templates to work.... error is something like: failed to open stream: No such file or directory and Error=Failed to process template "success.html"......

    In searching the forums, it was suggested to try the.... testurlopen.php....here are the results:
    PHP version is: 4.3.11
    Safe mode is: Off (this is good!)
    URL open failed: failed to open stream: no suitable wrapper could be found

    Does this mean it's a problem with my hosting service?

    Thank you in advance

  2. #2
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: can't get good or bad templates to work...

    Hi,

    URL open failed: failed to open stream: no suitable wrapper could be found

    Does this mean it's a problem with my hosting service?
    Restriction - yes. "Problem" - depends on your perspective.

    I would say there is a problem because there really is no reason why a PHP should not be able to open a URL.

    However, this will only stop your templates from working if you use $TEMPLATEURL in FormMail.

    If you use $TEMPLATEDIR, instead, specifying a directory (a directory doesn't being with "http:", BTW), then templates should work.

    Use the http://www.yourdomain/formmail.php?testalert=1 feature to find our the correct directory path for your document root (and, hence, your template directory).
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Aug 2005
    Posts
    2

    Default Re: can't get good or bad templates to work...

    Thank you!!! It works!!

+ 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. How To Pick a Good PHP Hosting Company
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 09-Mar-2005, 11:14 PM
  2. How To Pick a Good Hosting Company
    By russellr in forum FormMailEncoder/Decoder
    Replies: 0
    Last Post: 09-Mar-2005, 11:14 PM
  3. New Server - Templates sent as plain text
    By Anubis in forum FormMail Subscription Support
    Replies: 10
    Last Post: 19-Jan-2005, 11:30 AM
  4. encoder and good template
    By dunn123 in forum FormMailEncoder/Decoder
    Replies: 3
    Last Post: 13-Jan-2005, 12:36 AM
  5. Good Template - a sample for you to use
    By russellr in forum FormMail
    Replies: 0
    Last Post: 31-Aug-2004, 05:05 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