Re: [WebDNA] Databases not staying open

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104345
interpreted = N
texte = This is a multi-part message in MIME format. --------------020201070801050905070608 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Tom, I'm getting in late on this thread and haven't read everything, so forgive me if I'm off target a little, but... I have never run into this problem myself, but IIRC commas are the delimiters for [table]s, so your problem would be similar to having a non-escaped or char in a flat-file .db, no? Not sure if it helps, but in hindsight it makes sense (to me). I guess what I'm saying is while it may or may not be documented behavior, in hindsight, is it really a bug? -Dan On 1/11/2010 9:15 AM, Tom Duke wrote: > Hi all, > > Ok found the code that was causing the problem (below). I have a > comma within the 'prefVALUE' for the fourth field - the template > chokes on this and causes all databases to be closed. Is it > documented anywhere that commas cannot be used in values within WebDNA > tables? > > What makes this more odd is that the template worked no problem on a > Mac. The site was transferred to a Linux box running CentOS and > WebDNA 6.2 on Friday. The other complication was that this template > was being hit by a trigger once a day at 16:05. The trigger was set at > the standard retry at ten second intervals and timeout after 30 secs, > but it would appear that the trigger just kept hitting the page > constantly causing the databases to be constantly closed. > > I fixed it by removing the fourth field from the table and then adding > it using [append] - someone mentioned this method on the list in the past. > > - Tom > > > > > [!] > > > ------------------------------------ > ### Set the form prefs ### > > [/!][table name=formPREFS&fields=prefID,prefTITLE,prefVALUE] > 1 formID formcontact > 2 formTITLE The title for the form > 3 formMAILFROM no-reply@revolutionaries.ie > > 4 formMAILTO email1@revolutionaries.ie > ,email2@revolutionaries.ie > > 5 formMAILBCC emailfrom@revolutionaries.ie > > 6 formCLIENT The client > 7 formMAILSPAM F > [/table][!] > > [/!][search > table=formPREFS&neprefIDdatarq=find_all][founditems][text][prefTITLE]=[prefVALUE][/text][/founditems][/search] --------------020201070801050905070608 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Tom, I'm getting in late on this thread and haven't read everything, so forgive me if I'm off target a little, but... I have never run into this problem myself, but IIRC commas are the delimiters for [table]s, so your problem would be similar to having a non-escaped <tab> or <linebreak> char in a flat-file .db, no? Not sure if it helps, but in hindsight it makes sense (to me). I guess what I'm saying is while it may or may not be documented behavior, in hindsight, is it really a bug? -Dan

On 1/11/2010 9:15 AM, Tom Duke wrote: Hi all,

Ok found the code that was causing the problem (below). =C2=A0I ha= ve a comma within the 'prefVALUE' for the fourth field - the template chokes on this and causes all databases to be closed. =C2=A0Is it documen= ted anywhere that commas cannot be used in values within WebDNA tables?

What makes this more odd is that the template worked no problem on a Mac. =C2=A0The site was transferred to a Linux box running CentOS an= d WebDNA 6.2 on Friday. =C2=A0The other complication was that this template was being hit by a trigger once a day at 16:05. The trigger was set at the standard retry at ten second intervals and timeout after 30 secs, but it would appear that the trigger just kept hitting the page constantly causing the databases to be constantly closed.

I fixed it by removing the fourth field from the table and then adding it using [append] - someone mentioned this method on the list in the past.

- Tom




[!]


------------------------------------
### =C2=A0Set the form prefs =C2=A0###

[/!][table name=3DformPREFS&fields=3DprefID,prefTITLE,prefVALU= E]
1 formID formcontact=
2 formTITLE The title for the form
3 formMAILFROM no-= reply@revolutionaries.ie
4 formMAILTO email= 1@revolutionaries.ie,email= 2@revolutionaries.ie
5 formMAILBCC em= ailfrom@revolutionaries.ie
6 formCLIENT The client<= /div>
7 formMAILSPAM F
[/table][!]

[/!][search table=3DformPREFS&neprefIDdatarq=3Dfind_all][founditems][text][prefTI= TLE]=3D[prefVALUE][/text][/founditems][/search]

--------------020201070801050905070608-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Databases not staying open (Donovan Brooke 2010)
  2. Re: [WebDNA] Databases not staying open (Kenneth Grome 2010)
  3. Re: [WebDNA] Databases not staying open (christophe.billiottet@webdna.us 2010)
  4. Re: [WebDNA] Databases not staying open (Govinda 2010)
  5. Re: [WebDNA] Databases not staying open (Kenneth Grome 2010)
  6. Re: [WebDNA] Databases not staying open (christophe.billiottet@webdna.us 2010)
  7. Re: [WebDNA] Databases not staying open (Govinda 2010)
  8. Re: [WebDNA] Databases not staying open (christophe.billiottet@webdna.us 2010)
  9. Re: [WebDNA] Databases not staying open (Donovan Brooke 2010)
  10. Re: [WebDNA] Databases not staying open (Tom Duke 2010)
  11. Re: [WebDNA] Databases not staying open (Govinda 2010)
  12. Re: [WebDNA] Databases not staying open (Tom Duke 2010)
  13. Re: [WebDNA] Databases not staying open (Dan Strong 2010)
  14. Re: [WebDNA] Databases not staying open (Tom Duke 2010)
  15. Re: [WebDNA] Databases not staying open (Kenneth Grome 2010)
  16. Re: [WebDNA] Databases not staying open (Dan Strong 2010)
  17. Re: [WebDNA] Databases not staying open (Govinda 2010)
  18. Re: [WebDNA] Databases not staying open (Tom Duke 2010)
  19. Re: [WebDNA] Databases not staying open (Donovan Brooke 2010)
  20. Re: [WebDNA] Databases not staying open (Kenneth Grome 2010)
  21. Re: [WebDNA] Databases not staying open (Tom Duke 2010)
  22. Re: [WebDNA] Databases not staying open (Kenneth Grome 2010)
  23. Re: [WebDNA] Databases not staying open (Tom Duke 2010)
  24. Re: [WebDNA] Databases not staying open (christophe.billiottet@webdna.us 2010)
  25. Re: [WebDNA] Databases not staying open (Kenneth Grome 2010)
  26. [WebDNA] Databases not staying open (Tom Duke 2010)
This is a multi-part message in MIME format. --------------020201070801050905070608 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Tom, I'm getting in late on this thread and haven't read everything, so forgive me if I'm off target a little, but... I have never run into this problem myself, but IIRC commas are the delimiters for [table]s, so your problem would be similar to having a non-escaped or char in a flat-file .db, no? Not sure if it helps, but in hindsight it makes sense (to me). I guess what I'm saying is while it may or may not be documented behavior, in hindsight, is it really a bug? -Dan On 1/11/2010 9:15 AM, Tom Duke wrote: > Hi all, > > Ok found the code that was causing the problem (below). I have a > comma within the 'prefVALUE' for the fourth field - the template > chokes on this and causes all databases to be closed. Is it > documented anywhere that commas cannot be used in values within WebDNA > tables? > > What makes this more odd is that the template worked no problem on a > Mac. The site was transferred to a Linux box running CentOS and > WebDNA 6.2 on Friday. The other complication was that this template > was being hit by a trigger once a day at 16:05. The trigger was set at > the standard retry at ten second intervals and timeout after 30 secs, > but it would appear that the trigger just kept hitting the page > constantly causing the databases to be constantly closed. > > I fixed it by removing the fourth field from the table and then adding > it using [append] - someone mentioned this method on the list in the past. > > - Tom > > > > > [!] > > > ------------------------------------ > ### Set the form prefs ### > > [/!][table name=formPREFS&fields=prefID,prefTITLE,prefVALUE] > 1 formID formcontact > 2 formTITLE The title for the form > 3 formMAILFROM no-reply@revolutionaries.ie > > 4 formMAILTO email1@revolutionaries.ie > ,email2@revolutionaries.ie > > 5 formMAILBCC emailfrom@revolutionaries.ie > > 6 formCLIENT The client > 7 formMAILSPAM F > [/table][!] > > [/!][search > table=formPREFS&neprefIDdatarq=find_all][founditems][text][prefTITLE]=[prefVALUE][/text][/founditems][/search] --------------020201070801050905070608 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Tom, I'm getting in late on this thread and haven't read everything, so forgive me if I'm off target a little, but... I have never run into this problem myself, but IIRC commas are the delimiters for [table]s, so your problem would be similar to having a non-escaped <tab> or <linebreak> char in a flat-file .db, no? Not sure if it helps, but in hindsight it makes sense (to me). I guess what I'm saying is while it may or may not be documented behavior, in hindsight, is it really a bug? -Dan

On 1/11/2010 9:15 AM, Tom Duke wrote: Hi all,

Ok found the code that was causing the problem (below). =C2=A0I ha= ve a comma within the 'prefVALUE' for the fourth field - the template chokes on this and causes all databases to be closed. =C2=A0Is it documen= ted anywhere that commas cannot be used in values within WebDNA tables?

What makes this more odd is that the template worked no problem on a Mac. =C2=A0The site was transferred to a Linux box running CentOS an= d WebDNA 6.2 on Friday. =C2=A0The other complication was that this template was being hit by a trigger once a day at 16:05. The trigger was set at the standard retry at ten second intervals and timeout after 30 secs, but it would appear that the trigger just kept hitting the page constantly causing the databases to be constantly closed.

I fixed it by removing the fourth field from the table and then adding it using [append] - someone mentioned this method on the list in the past.

- Tom






------------------------------------
### =C2=A0Set the form prefs =C2=A0###

[/!][table name=3DformPREFS&fields=3DprefID,prefTITLE,prefVALU= E]
1 formID formcontact=
2 formTITLE The title for the form
3 formMAILFROM no-= reply@revolutionaries.ie
4 formMAILTO email= 1@revolutionaries.ie,email= 2@revolutionaries.ie
5 formMAILBCC em= ailfrom@revolutionaries.ie
6 formCLIENT The client<= /div>
7 formMAILSPAM F
[/table][!]

[/!][search table=3DformPREFS&neprefIDdatarq=3Dfind_all][founditems][text][prefTI= TLE]=3D[prefVALUE][/text][/founditems][/search]

--------------020201070801050905070608-- Dan Strong

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:

[WebDNA] webdna.us (2008) help on HMAC_SHA1 or ROMCARD gateway (2004) Limiting user access to .tmpl files (1997) writefile, csv, tab and excel import behavior (2004) problem serving foreign languages text (1997) F2 to F3 rocky transition (1997) A multi-processor savvy WebCatalog? (1997) How fast is your server? (2002) Shopping carts and reloading pages (1997) [WebDNA] Yosemite (2014) Permissions Ignored - PLEASE HELP (2003) frames & carts (1997) [WriteFile] problems (1997) Draft Manual, Tutorial, and more (1997) test - ignore (2008) Need a better [elapsedtime] (2000) Variables for chat (1997) can WC render sites out? (1997) HTTP "host" header (2003) WebCat2b13MacPlugin - [math][date][/math] problem (1997)