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:
Just Testing (1997)
text size limitation (1997)
Date sorting (1997)
Re:What file? (1997)
pictures / referrer etc. (1998)
Zeroing out shipping costs (2000)
Q on the best way to set up a security function so users can edit records (1999)
b12 cannot limit records returned and more. (1997)
db security on NT (1997)
page redirect in webDNA (1997)
[WebDNA] Stop hacking (2013)
Credit Card not accepted (1998)
[shownext max=?] armed (1997)
Claris HomePage messes up the code (1997)
.htm file tags not showing up (2000)
vcode (2003)
Price Not Appearing (2000)
Include vs. lookup? (1998)
formatting dates from a field ... (1997)
process SSI (1998)