Re: Bad creator codes which cause access denied errormessage

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14787
interpreted = N
texte = >Now my problem is that when I >go to catalogadmin.tmpl in my browser and make changes over the web, the >edited files override the BBEdit format and are automatically saved as >(in this case) WebSTAR/SSL 2.1 documents whose creator code is >corrupted in the same way. Ken, Paul, or whoever; any thoughts on this >one? Being able to edit over the web is crucial. > >Thanks, again. I'm sure you all know how awesome it feels when someone >gives you a solution, you try it, and bingo!, it works! YES!! Hi John,There's no corruption going on with your creator codes. What you're seeing is WebCatalog's automatic security features being put into action when you use the [writefile] context that's in your catalogadmin.tmpl file.The WebCatalog HTML docs explain exactly what's happening to you. In other words, it's in the manual! Please review the WebCatalog HTML docs under contexts:[writefile] for a complete explanation of how to resolve your problem.In the meantime, here's my quick and dirty explanation:Apparently you're using [writefile] without setting the secure=F >parameter. If you don't set the secure=F parameter in the [writefile] context, WebCat (and Typhoon) assumes that you want the file to be secured, so it sets the Creator code to WWW‡ instead of ttxt. That prevents WebSTAR from serving the file.In other words, if you're going to use the [writefile] context on files you intend to let WebSTAR serve for you, then you have to use the proper syntax in your [writefile] stuff:[writefile file=path/to/file.html&secure=F]Again, this is explained in easy-to-understand detail in the HTML docs. There's also a WebDNA-Talk list (and a Typhoon-Talk list) where I'll be glad to help you some more if you have additional WebCat or Typhoon questions ... :)Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Associated Messages, from the most recent to the oldest:

    
  1. Re: Bad creator codes which cause access denied errormessage (Kenneth Grome 1997)
  2. Re: Bad creator codes which cause access denied errormessage (Kenneth Grome 1997)
>Now my problem is that when I >go to catalogadmin.tmpl in my browser and make changes over the web, the >edited files override the BBEdit format and are automatically saved as >(in this case) WebSTAR/SSL 2.1 documents whose creator code is >corrupted in the same way. Ken, Paul, or whoever; any thoughts on this >one? Being able to edit over the web is crucial. > >Thanks, again. I'm sure you all know how awesome it feels when someone >gives you a solution, you try it, and bingo!, it works! YES!! Hi John,There's no corruption going on with your creator codes. What you're seeing is WebCatalog's automatic security features being put into action when you use the [writefile] context that's in your catalogadmin.tmpl file.The WebCatalog HTML docs explain exactly what's happening to you. In other words, it's in the manual! Please review the WebCatalog HTML docs under contexts:[writefile] for a complete explanation of how to resolve your problem.In the meantime, here's my quick and dirty explanation:Apparently you're using [writefile] without setting the secure=F >parameter. If you don't set the secure=F parameter in the [writefile] context, WebCat (and Typhoon) assumes that you want the file to be secured, so it sets the Creator code to WWW‡ instead of ttxt. That prevents WebSTAR from serving the file.In other words, if you're going to use the [writefile] context on files you intend to let WebSTAR serve for you, then you have to use the proper syntax in your [writefile] stuff:[writefile file=path/to/file.html&secure=F]Again, this is explained in easy-to-understand detail in the HTML docs. There's also a WebDNA-Talk List (and a Typhoon-Talk List) where I'll be glad to help you some more if you have additional WebCat or Typhoon questions ... :)Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. 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:

Search results templates (1996) color and size options (1997) ReturnRaw and redirect one last question (1997) Quit revisited (1997) ListFields and [name] (1997) Lookup Notfound (1998) 'RequiredField' Question (1998) Setting Cart value (2000) beta 6 on OSX wierdness | more (2000) Webcat/Webmerchant part II (1998) nested showif? (1998) Need some assistance. (1999) SKU (1997) WebCat/CyberStudio Compatibility (1998) [WebDNA] SkipJack Authorize interface help (2009) Nested Loops and SHOWIFs (1997) Payfuse? (2006) Mac v. NT (1998) duplicate cart numbers - New P3P Rule (2002) Initiating NewCart (1997)