RE: Still Learning

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13378
interpreted = N
texte = John ->I still have a couple of matters that I seem to be struggling with as I mature >in my understanding of WebCatalog. >1) This past week the WebCatalog acgi crashed. I noted the following error >report - >Condition: Unknown Exception Caught File: LModelDirector.cp Line #677 >I reported this last week. I did not get any reply about this error message.This is a known but rare problem in 2.0, and will be fixed in version 2.0.1, which should be out within a few days.>2) I also previously reported some problems trying to update various databases >without having to close all WebCatalog databased. >On Friday I confirmed that remote edits, adds and deletions to an Ads.DB were >neither taking with my WebDNA command embedded in an html [closedatabase >/folder/ads.db] with the / being relative to the main server root directory, >not relative to WebCatalog or the WebCatalog acgi. >I also confirmed that the master CatalogAdmin area for Webcatalog also failed >to store and close the changes made to the Ads.DB area for a specific client.I'm not sure if I understand how you are doing this - do you have the edit/add/delete *inside* a [closedatabase] tag? Try doing just a very simple, specific replace command, then using a [closedatabase] tag, then accessing that page to see if the replace is performed and written to disk. Something like:-------- [replace db=/folder/ads.db&eqADNUMBERdata=14]status=old[/replace] [closedatabase db=/folder/ads.db] -------- (you don't need that db= for closedatabase - it will work either way)This will find all records in the database where the ADNUMBER field is equal to 14 and change the contents of the status field to old (you'll obviously want to change this to fit your database). The [closedatabase] command then writes the changes to disk, and you should be able to open that ads.db file in a text editor and see the change. You can even search for the change, just to compare with what you see when you open the file, by using:----------- [search db=/folder/ads.db&eqADNUMBERdata=14] [founditems][adnumber], [status]
[/founditems] [/search] -----------farther down on that same page. If this does not work for you, please send us the exact WebDNA you are using, and perhaps a URL to try it out.I hope this helps,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. RE: Still Learning (Marc Eagle 1997)
John ->I still have a couple of matters that I seem to be struggling with as I mature >in my understanding of WebCatalog. >1) This past week the WebCatalog acgi crashed. I noted the following error >report - >Condition: Unknown Exception Caught File: LModelDirector.cp Line #677 >I reported this last week. I did not get any reply about this error message.This is a known but rare problem in 2.0, and will be fixed in version 2.0.1, which should be out within a few days.>2) I also previously reported some problems trying to update various databases >without having to close all WebCatalog databased. >On Friday I confirmed that remote edits, adds and deletions to an Ads.DB were >neither taking with my WebDNA command embedded in an html [closedatabase >/folder/ads.db] with the / being relative to the main server root directory, >not relative to WebCatalog or the WebCatalog acgi. >I also confirmed that the master CatalogAdmin area for Webcatalog also failed >to store and close the changes made to the Ads.DB area for a specific client.I'm not sure if I understand how you are doing this - do you have the edit/add/delete *inside* a [closedatabase] tag? Try doing just a very simple, specific replace command, then using a [closedatabase] tag, then accessing that page to see if the replace is performed and written to disk. Something like:-------- [replace db=/folder/ads.db&eqADNUMBERdata=14]status=old[/replace] [closedatabase db=/folder/ads.db] -------- (you don't need that db= for closedatabase - it will work either way)This will find all records in the database where the ADNUMBER field is equal to 14 and change the contents of the status field to old (you'll obviously want to change this to fit your database). The [closedatabase] command then writes the changes to disk, and you should be able to open that ads.db file in a text editor and see the change. You can even search for the change, just to compare with what you see when you open the file, by using:----------- [search db=/folder/ads.db&eqADNUMBERdata=14] [founditems][adnumber], [status]
[/founditems] [/search] -----------farther down on that same page. If this does not work for you, please send us the exact WebDNA you are using, and perhaps a URL to try it out.I hope this helps,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Marc Eagle

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:

WebCat2b15MacPlugin - showing [math] (1997) Summing fields (1997) Targeted Redirect (1999) setting taxable to true (1997) Auto-closing of databases (was DON'T use old cart file!) (1997) How To question on setting up downloads (1997) ShowIf inside formulas (1997) [TaxableTotal] - not working with AOL and IE (1997) WebCatalog/WebMerchant 2.1 (1998) Tab Charactor (1997) [WebDNA] [regex] (2015) Talk List Suggestions (1997) Emailer setup (1997) WebCat for Unix?? (1997) Help! WebCat2 bug (1997) [shippingtotal] & Formulas.db prob (2003) [format xs] freeze (1997) Database Security Rev., (2002) Founditems Add/remove graphic display problem (1999) Relevancy Rating (1998)