Re: Error.html

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13090
interpreted = N
texte = >I currently have WebStar configured to send .html files through the WC >Plug-In and I'm encountering a problem when calling up pages that don't >exist. > >If I try to go to a non-existent page like: >http://www.dhorse.com/DoesntExist.html >I get the message: >Error: template ':DoesntExist.html' not found > >If I try to go to a non-existent directory like: >http://www.dhorse.com/DoesntExist >I get the Error.html page. This should work. If it doesn't, email me so I can help you fix it:1- Open the errormessages.db. You will see two fields - Name and Message.2- Find the record named TemplateNotFound. It is probably the first record in that database file.3- The text in the Message field of that record currently say something like Error: template '[param1]' not found.4- Replace that Message text with: [include /Error.html]5- If your Error.html file is not in the WebSTAR root folder, change the path in the include tag to show the actual path to the Error.html file. Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: Error.html (Kenneth Grome 1997)
  2. Re: Error.html (Michael Winston 1997)
  3. Re: Error.html (Kenneth Grome 1997)
  4. Error.html (Michael Winston 1997)
  5. Re: Running _every_ page through WebCat-error.html (Grant Hulbert 1997)
  6. Running _every_ page through WebCat-error.html (grichter@panavise.com (Gary Richter) 1997)
>I currently have WebStar configured to send .html files through the WC >Plug-In and I'm encountering a problem when calling up pages that don't >exist. > >If I try to go to a non-existent page like: >http://www.dhorse.com/DoesntExist.html >I get the message: >Error: template ':DoesntExist.html' not found > >If I try to go to a non-existent directory like: >http://www.dhorse.com/DoesntExist >I get the Error.html page. This should work. If it doesn't, email me so I can help you fix it:1- Open the errormessages.db. You will see two fields - Name and Message.2- Find the record named TemplateNotFound. It is probably the first record in that database file.3- The text in the Message field of that record currently say something like Error: template '[param1]' not found.4- Replace that Message text with: [include /Error.html]5- If your Error.html file is not in the WebSTAR root folder, change the path in the include tag to show the actual path to the Error.html file. Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCatalog for guestbook ? (1997) Cart doesn't interpret tag! (1997) WCS Newbie question (1997) Signal Raised (1997) How do I specify a & character in Grep? (2000) Kaaaaahhhhhhhnnnnnnn! (1997) Webcat2, WebCommerce, Mod 10 etc. (1997) WebDNA 6 (2004) WebCatalog for Postcards ? (1997) [WebDNA] Processor Maxing out (2010) date display (1999) [format 40s]text[/format] doesn't work (1997) Re:WebCatalog/WebMerchant III (1998) Resume Catalog ? (1997) your mail (2000) RE: Re:Signal Raised (1997) credit card - Revised (1997) ShowNext & Showif together (1999) THANKS (1997) TRAINING videos - Prove IT. (1998)