[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 newSandbox and then add a new default user to the Sandbox's Users.dbHere'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 updatingthe MAIN users.db, not the specified sandbox users.dbThe path is right (as far as I can tell... but it's just choosing to writeto the wrong db.Any words of wisdom out there (flippant words welcome too, if they work).Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +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:
Hi everyone,I'm trying to create an interface that will automatically create a newSandbox and then add a new default user to the Sandbox's Users.dbHere'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 updatingthe MAIN users.db, not the specified sandbox users.dbThe path is right (as far as I can tell... but it's just choosing to writeto the wrong db.Any words of wisdom out there (flippant words welcome too, if they work).Regards,Tim-- Tim RobinsonIDFK Web Developmentstim@idfk.com.au114a/40 Yeo StreetNeutral Bay 2089AustraliaPhone +612 9908 2134Fax +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)