[append] problems

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51325
interpreted = N
texte = Hi everyone, I'm trying to create an interface that will automatically create a new Sandbox and then add a new default user to the Sandbox's Users.db Here's what I have: [!]** This names the sandbox and is working **[/!] [append db=^../WDNA_Sandbox.db][!] [/!]id=[short_name]&[!] [/!]root=[URL]D:\Inetpub\wwwroot\[_newROOT][/URL]&[!] [/!]state=Active&[!] [/!]create_date=[time format=%H:%M], [date format=%d/%m/%Y]&[!] [/!]mod_date=[time format=%H:%M], [date format=%d/%m/%Y]&[!] [/!]create_user=[username]&[!] [/!]mod_user=[username]&[!] [/!]emailer=1&[!] [/!]triggers=1[/append] [!]** This creates the sandbox folder and is working **[/!] [COPYFOLDER from=^../SandBoxes/MASTER_SANDBOX&to=^../SandBoxes/[short_name]] [!]** This SHOULD write to the Sandbox users.db **[/!] [append ^../Sandboxes/[short_name]/Users.db][!] [/!]user=[uppercase][_USERID][/uppercase]&[!] [/!]pass=[url][encrypt][uppercase][_USERPW][/uppercase][/encrypt][/url]&[!] [/!]groups=[uppercase]SBADMIN[/uppercase]&[!] [/!][/append] The last [append] is not working... it is writing CORRECTLY, but is updating the MAIN users.db, not the specified sandbox users.db The path is right (as far as I can tell... but it's just choosing to write to the wrong db. Any words of wisdom out there (flippant words welcome too, if they work). Regards, Tim -- Tim Robinson IDFK Web Developments tim@idfk.com.au 114a/40 Yeo Street Neutral Bay 2089 Australia Phone +612 9908 2134 Fax +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [append] problems v2 ( "Scott Anderson" 2003)
  2. [append] problems v2 ( Tim Robinson 2003)
  3. Re: [append] problems ( Tim Robinson 2003)
  4. Re: [append] problems ( "Scott Anderson" 2003)
  5. Re: [append] problems ( Tim Robinson 2003)
  6. Re: [append] problems ( Tim Robinson 2003)
  7. Re: [append] problems ( Alain Russell 2003)
  8. Re: [append] problems ( Tim Robinson 2003)
  9. Re: [append] problems ( Alain Russell 2003)
  10. [append] problems ( Tim Robinson 2003)
Hi everyone, I'm trying to create an interface that will automatically create a new Sandbox and then add a new default user to the Sandbox's Users.db Here's what I have: [!]** This names the sandbox and is working **[/!] [append db=^../WDNA_Sandbox.db][!] [/!]id=[short_name]&[!] [/!]root=[url]D:\Inetpub\wwwroot\[_newROOT][/URL]&[!] [/!]state=Active&[!] [/!]create_date=[time format=%H:%M], [date format=%d/%m/%Y]&[!] [/!]mod_date=[time format=%H:%M], [date format=%d/%m/%Y]&[!] [/!]create_user=[username]&[!] [/!]mod_user=[username]&[!] [/!]emailer=1&[!] [/!]triggers=1[/append] [!]** This creates the sandbox folder and is working **[/!] [COPYFOLDER from=^../SandBoxes/MASTER_SANDBOX&to=^../SandBoxes/[short_name]] [!]** This SHOULD write to the Sandbox users.db **[/!] [append ^../Sandboxes/[short_name]/Users.db][!] [/!]user=[uppercase][_USERID][/uppercase]&[!] [/!]pass=[url][encrypt][uppercase][_USERPW][/uppercase][/encrypt][/url]&[!] [/!]groups=[uppercase]SBADMIN[/uppercase]&[!] [/!][/append] The last [append] is not working... it is writing CORRECTLY, but is updating the MAIN users.db, not the specified sandbox users.db The path is right (as far as I can tell... but it's just choosing to write to the wrong db. Any words of wisdom out there (flippant words welcome too, if they work). Regards, Tim -- Tim Robinson IDFK Web Developments tim@idfk.com.au 114a/40 Yeo Street Neutral Bay 2089 Australia Phone +612 9908 2134 Fax +612 9908 4837 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Tim Robinson

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 can't find database (1997) [OT] See Flash? (2003) How to Display text in empty fields (1997) Template transformed itself into a database? (1998) New commands in Final candidate (1997) Protecting webdelivery (1997) OT: javascript for dynamic pulldowns? (1998) Weird problems with [SHOWIF]s (1997) killer-format in cart (1998) Secure server question (1997) [WebDNA] TCPconnect and Bitcoin rate (2019) [input] [/input] (1997) Help formatting search results w/ table (1997) [Sum] function? (1997) WC2.0 Memory Requirements (1997) Document Contains No Data! (1997) Sort Order on a page search (1997) A question on sub-categories (1997) Problems getting parameters passed into email. (1997) FlushDatabase Suggestion (1998)