Re: [WebDNA] Writing to db in memory, but not to file

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109124
interpreted = N
texte = Hi Brian! did you check you had "Automatically commit databases to disk after = modification" ? You can also use [commitdatabase] If this doesn't work, then there is a directory permission problem (the = directory on your disk is not allowing WebDNA to write in). If the file = already exists, it might not be 666 (or 660 if you use another ID than = _www) - chris On May 24, 2012, at 13:39, Brian Wachter wrote: > I am trying to write a record to a database using > [replace db=3D/db/myDatabase&append=3DT]=85[/replace] > =20 > The database in memory is getting updated, but the database file is = NOT getting written, so when the server is restarted and the memory gets = flushed, all of the records since the last server restart are getting = lost. > =20 > Any suggestions as to why my database file is not actually getting = written to? I suspect it=92s a file permissions issue. Even if I make = =93everyone=94 Read/Write, it still does not work. Do I need a =93_www=94 = group or owner or something like that? > =20 > I am running OS X Lion Server 10.7.4 and WebDNA 7 fcgi. > =20 > Thanks, > Brian > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] Writing to db in memory, but not to file (Brian Wachter 2012)
  2. Re: [WebDNA] Writing to db in memory, but not to file (christophe.billiottet@webdna.us 2012)
  3. [WebDNA] Writing to db in memory, but not to file (Brian Wachter 2012)
Hi Brian! did you check you had "Automatically commit databases to disk after = modification" ? You can also use [commitdatabase] If this doesn't work, then there is a directory permission problem (the = directory on your disk is not allowing WebDNA to write in). If the file = already exists, it might not be 666 (or 660 if you use another ID than = _www) - chris On May 24, 2012, at 13:39, Brian Wachter wrote: > I am trying to write a record to a database using > [replace db=3D/db/myDatabase&append=3DT]=85[/replace] > =20 > The database in memory is getting updated, but the database file is = NOT getting written, so when the server is restarted and the memory gets = flushed, all of the records since the last server restart are getting = lost. > =20 > Any suggestions as to why my database file is not actually getting = written to? I suspect it=92s a file permissions issue. Even if I make = =93everyone=94 Read/Write, it still does not work. Do I need a =93_www=94 = group or owner or something like that? > =20 > I am running OS X Lion Server 10.7.4 and WebDNA 7 fcgi. > =20 > Thanks, > Brian > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us christophe.billiottet@webdna.us

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:

[isfile] ? (1997) Groups doesn't work (1997) problems with 2 tags (1997) [WebDNA] Listfiles and sort order (2010) Date Question (2002) Shopping Cart Page (1997) Secure Server (1997) The beginning (1997) Credit Card Number checking (1997) Stock Quote (2001) Plugin or CGI or both (1997) Append File help needed (2000) Moment of Thanks (1997) Help formatting search results w/ table (1997) WC2.0 Memory Requirements (1997) Bug or syntax error on my part? (1997) Download Question (1997) WebCatb15 Mac CGI -- [purchase] (1997) Getting Emailer to send mail (1997) [WebDNA] lighttpd problem with returnraw http header (2018)