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:

Using Encrypt/Decrypt (2003) Bug or syntax error on my part? (1997) multi-paragraph fields (1997) Re:Emailer and encryption (1997) WebStar Secure on other machine (1997) question: webmerchant connection (1997) Summing fields (1997) Image upload (2000) [showif] question (2000) Associative lookup style? (1997) ShowNext (1997) Shopping Cart variation... (1997) writing db to disk (1997) When is unitShipCost calculated? (1998) [WebDNA] multi hyperlinks in text paragraphs (2014) WebMerchant setup (1998) No luck with taxes (1997) Webcat run amuk (2002) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) WebTen and WebCat (1997)