Re: encrypting templates....

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32417
interpreted = N
texte = First, you can get rid of the no data returned error message by placing something like Done into your template before or after the writefile context, so webcat actually has some data to return.But the real problem could very well be with version 3.0.8. I've never had this problem with 3.0.7, and I refuse to create problems like this for myself by loading 3.0.8 onto my Mac which has had many new problems reported on this list but never fixed ...>...didn't think I could get it to work the first time around. > >I have a template that works just fine. It's name is index.tpl. > >I created a template to encrypt index.tpl; saved it as >encryptfile.tpl; and it looks like this: > >[writefile file=newindex.tpl&secure=F]Copyright 2000 West21 Systems, Inc. > >[encrypt seed=TEMPLATE][include file=index.tpl&raw=T][/encrypt][/writefile] > >Which is the example from the WebCat docs with only the file names >and copyright notice changed. Then I hit encryptfile.tpl from a >browser and I get an error No Data Returned... understandable. A >file named newindex.tpl is created in the folder. > >When I hit http://sitename/index.tpl, I get the correct page. > >When I hit http://sitename/newindex.tpl, I get a text display of the >encrypted file... like this: > >Copyright 2000 West21 Systems, Inc. >>1H9%0D*FI=&*p3~~%2C=-E *Tm!lE3@%00*1 >-'*S[|'*-'%0BSj*u= >%09g-48x*}r*&&i>Iګ1 > > >(You get the idea.) > >So... what's wrong? > >MacOS, WebSTAR 4.2, WebCat 3.0.8 (if it makes a difference) > >Thanks, >___Joe___ > >_________________________________________________ >Joseph D'Andrea JoeDan@West21.com >WEST21.com Internet services for the 21st Century > http://www.west21.com/ >_________________________________________________ > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://search.smithmicro.com/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: encrypting templates.... (Kenneth Grome 2000)
  2. encrypting templates.... (Joseph D'Andrea 2000)
First, you can get rid of the no data returned error message by placing something like Done into your template before or after the writefile context, so webcat actually has some data to return.But the real problem could very well be with version 3.0.8. I've never had this problem with 3.0.7, and I refuse to create problems like this for myself by loading 3.0.8 onto my Mac which has had many new problems reported on this list but never fixed ...>...didn't think I could get it to work the first time around. > >I have a template that works just fine. It's name is index.tpl. > >I created a template to encrypt index.tpl; saved it as >encryptfile.tpl; and it looks like this: > >[writefile file=newindex.tpl&secure=F]Copyright 2000 West21 Systems, Inc. > >[encrypt seed=TEMPLATE][include file=index.tpl&raw=T][/encrypt][/writefile] > >Which is the example from the WebCat docs with only the file names >and copyright notice changed. Then I hit encryptfile.tpl from a >browser and I get an error No Data Returned... understandable. A >file named newindex.tpl is created in the folder. > >When I hit http://sitename/index.tpl, I get the correct page. > >When I hit http://sitename/newindex.tpl, I get a text display of the >encrypted file... like this: > >Copyright 2000 West21 Systems, Inc. >>1H9%0D*FI=&*p3~~%2C=-E *Tm!lE3@%00*1 >-'*S[|'*-'%0BSj*u= >%09g-48x*}r*&&i>Iګ1 > > >(You get the idea.) > >So... what's wrong? > >MacOS, WebSTAR 4.2, WebCat 3.0.8 (if it makes a difference) > >Thanks, >___Joe___ > >_________________________________________________ >Joseph D'Andrea JoeDan@West21.com >WEST21.com Internet services for the 21st Century > http://www.west21.com/ >_________________________________________________ > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://search.smithmicro.com/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ 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:

PCS Frames (1997) listfiles-looking for slick solution (1997) Total number (2004) Re:Gil's in the lead (1999) Line Feed Character Appended (1998) Dark Horse Comics success story (1997) affiliate marketing program (1998) I'm having trouble using [url][interpret][math] together inlookup (1997) Nationality (2003) WebCat2 - [format thousands] (1997) [ListFiles] context & alias (1997) WebDNA-Talk Digests (1997) Multiple download orders of the same product? (1997) AW: AW: Credit card processing - UK (1997) [WriteFile] problems (1997) Last digit of Credit Card Stripped (1997) Single Link browsing (1997) Unusual characters in the db ... (2002) Founditems Add/remove graphic display problem (1999) Big Databases (1997)