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 = 109128
interpreted = N
texte = Thanks a lot for the help on this issue and the admin login. Turns out the =auto-commit preference was not set, and indeed using the [commitdatabase] w=orked in the absence of the preference being set.Brian-----Original Message-----From: christophe.billiottet@webdna.us [mailto:christophe.billiottet@webdna.=us]=20Sent: Thursday, May 24, 2012 12:44 PMTo: talk@webdna.usSubject: Re: [WebDNA] Writing to db in memory, but not to fileHi Brian!did you check you had "Automatically commit databases to disk after modific=ation" ?You can also use [commitdatabase]If this doesn't work, then there is a directory permission problem (the dir=ectory on your disk is not allowing WebDNA to write in). If the file alread=y exists, it might not be 666 (or 660 if you use another ID than _www)- chrisOn May 24, 2012, at 13:39, Brian Wachter wrote:> I am trying to write a record to a database using [replace=20> db=3D/db/myDatabase&append=3DT]...[/replace]> =20> The database in memory is getting updated, but the database file is NOT g=etting 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 writte=n to? I suspect it's a file permissions issue. Even if I make "everyone" Re=ad/Write, it still does not work. Do I need a "_www" group or owner or some=thing like that?> =20> I am running OS X Lion Server 10.7.4 and WebDNA 7 fcgi.> =20> Thanks,> Brian> =20> --------------------------------------------------------- This message=20> is sent to you because you are subscribed to the mailing list . To=20> unsubscribe, E-mail to: archives:=20> http://mail.webdna.us/list/talk@webdna.us Bug Reporting:=20> support@webdna.us---------------------------------------------------------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.usBug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
Thanks a lot for the help on this issue and the admin login. Turns out the =auto-commit preference was not set, and indeed using the [commitdatabase] w=orked in the absence of the preference being set.Brian-----Original Message-----From: christophe.billiottet@webdna.us [mailto:christophe.billiottet@webdna.=us]=20Sent: Thursday, May 24, 2012 12:44 PMTo: talk@webdna.usSubject: Re: [WebDNA] Writing to db in memory, but not to fileHi Brian!did you check you had "Automatically commit databases to disk after modific=ation" ?You can also use [commitdatabase]If this doesn't work, then there is a directory permission problem (the dir=ectory on your disk is not allowing WebDNA to write in). If the file alread=y exists, it might not be 666 (or 660 if you use another ID than _www)- chrisOn May 24, 2012, at 13:39, Brian Wachter wrote:> I am trying to write a record to a database using [replace=20> db=3D/db/myDatabase&append=3DT]...[/replace]> =20> The database in memory is getting updated, but the database file is NOT g=etting 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 writte=n to? I suspect it's a file permissions issue. Even if I make "everyone" Re=ad/Write, it still does not work. Do I need a "_www" group or owner or some=thing like that?> =20> I am running OS X Lion Server 10.7.4 and WebDNA 7 fcgi.> =20> Thanks,> Brian> =20> --------------------------------------------------------- This message=20> is sent to you because you are subscribed to the mailing list . To=20> unsubscribe, E-mail to: archives:=20> http://mail.webdna.us/list/talk@webdna.us Bug Reporting:=20> support@webdna.us---------------------------------------------------------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.usBug Reporting: support@webdna.us
Brian Wachter
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:
WC2f3 (1997)
problems with 2 tags shakur (1997)
WebCatalog Builder : bug on the web site (2000)
Another search question please... (1998)
301 redirect (2008)
still facing truncated [texta] problem (2000)
Bug Report, maybe (1997)
Emailer again (1997)
database paths/names, and a typo (1997)
[WebDNA] Test - no messages since 9th of June 2009. (2009)
[WebDNA] Version control (git or subversion) workflow for WebDNA (2012)
4.0.2b4 (2000)
OT: WebDNA and LINUX (2004)
Bug? (1997)
Setting up WebCatalog with Retail Pro data (1996)
Help with sorting search results sorting (1998)
how to know the [LineIndex] number webcat generated during a [AddLineItem]? (2000)
system crashes, event log (1997)
Year 2070 (2000)
return missing item (was:WebCat Sales) (1997)