Re: Bug in WC 4.02 on RH Linux with Append

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41598
interpreted = N
texte = Is the template saved with Mac linefeeds, by chance?I'm not sure how webcat behaves if 999 records have unix line terminators and you append a record with a mac line terminator... Maybe... rewrite the whole file with mac linefeeds?Should be easy to test.-Dale>Here is the code that makes the database turn into mac line feeds. >If someone can show me how this is wrong and somehow converting the >linefeeds in the database I will rescind my post about [append] >having a problem. > >Thanks > >--- begin --- >[closedatabase db=/databases/terms_related.db] >deleting forward links - termID = [termID]
>[DELETE db=/databases/terms_related.db&eqfld_TermIDdata=[termID]] >deleting back links - termID = [termID]
>[DELETE db=/databases/terms_related.db&eqfld_relatedIDdata=[termID]] > >[formvariables] >[showif [name]=link_to] > [hideif [value]=[termID]] >[append >db=/databases/terms_related.db]fld_termID=[Value]&fld_relatedID=[termID][/append] > [/hideif] >[/showif] > >[showif [name]=add_link] > [hideif [value]=[termID]] > >[append >db=/databases/terms_related.db]fld_termID=[termID]&fld_relatedID=[value][/append] > [/hideif] >[/showif] > > >[name] - [value]
>[/formvariables] >--- end --- > > >------------------------------------------------------------- >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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Bug in WC 4.02 on RH Linux with Append (dale's stuff 2002)
  2. Re: Bug in WC 4.02 on RH Linux with Append (Dale LaFountain 2002)
  3. Bug in WC 4.02 on RH Linux with Append (dale's stuff 2002)
Is the template saved with Mac linefeeds, by chance?I'm not sure how webcat behaves if 999 records have unix line terminators and you append a record with a mac line terminator... Maybe... rewrite the whole file with mac linefeeds?Should be easy to test.-Dale>Here is the code that makes the database turn into mac line feeds. >If someone can show me how this is wrong and somehow converting the >linefeeds in the database I will rescind my post about [append] >having a problem. > >Thanks > >--- begin --- >[closedatabase db=/databases/terms_related.db] >deleting forward links - termID = [termID]
>[DELETE db=/databases/terms_related.db&eqfld_TermIDdata=[termID]] >deleting back links - termID = [termID]
>[DELETE db=/databases/terms_related.db&eqfld_relatedIDdata=[termID]] > >[formvariables] >[showif [name]=link_to] > [hideif [value]=[termID]] >[append >db=/databases/terms_related.db]fld_termID=[Value]&fld_relatedID=[termID][/append] > [/hideif] >[/showif] > >[showif [name]=add_link] > [hideif [value]=[termID]] > >[append >db=/databases/terms_related.db]fld_termID=[termID]&fld_relatedID=[value][/append] > [/hideif] >[/showif] > > >[name] - [value]
>[/formvariables] >--- end --- > > >------------------------------------------------------------- >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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Dale LaFountain

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:

Great product and great job ! (1997) problem with NT beta (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) login via cookies (2006) [sendmail] questions... (1997) [addlineitems] (1997) Problem with version 4 browsers (1998) Problem (1997) WebCat2b12plugin - [search] is broken ... not! (1997) Buying sans cart (1997) [index] (1997) international time (1997) replacing founditems ... (2002) WebCat2b15MacPlugin - [protect] (1997) Search (1997) Time/date formatting %X doesn't work ... (1997) Pricelist (1999) Multiple prices (1997) Possible Bug in 2.0b15.acgi (1997) Heads up, cookies *may* be outlawed in Europe (2001)