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'reseeing is WebCatalog's automatic security features being put intoaction when you use the [writefile] context that's in yourcatalogadmin.tmpl file.The WebCatalog HTML docs explain exactly what's happening to you. Inother words, it's in the manual! Please review the WebCatalog HTMLdocs under contexts:[writefile] for a complete explanation of howto 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 besecured, so it sets the Creator code to WWW‡ instead of ttxt. Thatprevents WebSTAR from serving the file.In other words, if you're going to use the [writefile] context onfiles you intend to let WebSTAR serve for you, then you have to usethe 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 HTMLdocs. 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 additionalWebCat or Typhoon questions ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
Associated Messages, from the most recent to the oldest:
>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'reseeing is WebCatalog's automatic security features being put intoaction when you use the
[writefile] context that's in yourcatalogadmin.tmpl file.The WebCatalog HTML docs explain exactly what's happening to you. Inother words, it's in the manual! Please review the WebCatalog HTMLdocs under contexts:
[writefile] for a complete explanation of howto 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 besecured, so it sets the Creator code to WWW‡ instead of ttxt. Thatprevents WebSTAR from serving the file.In other words, if you're going to use the
[writefile] context onfiles you intend to let WebSTAR serve for you, then you have to usethe 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 HTMLdocs. 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 additionalWebCat or Typhoon questions ... :)Sincerely, Ken GromeWebDNA Solutionshttp://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:
stumped (2001)
groups and [ShowNext] (1997)
WCS Newbie question (1997)
The Send Mail Button is the Best Troubleshooter (1998)
Writefile, Raw & include (2002)
Applescript error (1998)
problems with 2 tags (1997)
Search Engine questions ... (2002)
ShowNext Command (1997)
Initiating NewCart (1997)
apostrophe in search item (1997)
[Sum] function? (1997)
syntax question, not in online refernce (1997)
[WebDNA] Need someone to port CakePHP auction site to WebDNA (2010)
IE problems persist (2004)
I'm tired of all this! (2000)
RE: [WebDNA] Good advise on [Showif] or alternative... (2012)
SiteGaurd file Cache vs webcatalog cache (1997)
5.0 Pricing (2003)
WC Database Format (1997)