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:
WebCatalog NT (1996)
WC Database Format (1997)
[WebDNA] Bug in [thisurlplusget] on v7 (2011)
Strange intermittent WebDNA problems (2008)
Add command creates new cart but I'm passing existing cart...? (2000)
pop up menu's (1998)
Database Options (1997)
Webcat no longer supported? (2006)
Running 2 two WebCatalog.acgi's (1996)
Add a field to the error log? (1997)
WebCatalog and WebMerchant reviewed by InfoWorld (1997)
limiting found items (2001)
[ShowNext] (1997)
RE: [WebDNA] WebDNA Upgrade Question - eCommerce (2009)
Pull Down Search (2000)
still having shipCost.db Problem (1997)
math with multiple [founditems] (1999)
Using Cookie for client specific info? (1997)
Execute Applescript (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)