Replace with Producteditor.tpl

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26135
interpreted = N
texte = Help. I'm using the ProductEditor.tpl from the Tea Room tutorial. When I attempt to update product using the replace comand, the data isn't actually replaced to the database. I've been searching the WebCatalog archives and haven't found a solution to work for me. 1) The version of WebCat I'm using is Macintosh CGI version 3.0.42) COMMIT DATABASE preference is set to Automatically commit databases to disk after modification3) Replace command may be issued by non-administrators4) I have made sure that there are no username or password fields used in my database. (from archive: 1997/09/03 17:29:09 Kenneth Grome Re: Replace Statement)5) I have tried using the [closedatabase db=catalog.txt] tag in both ProductEditor.tpl and AdminModified.tpl. (from archive: 1998/02/20 19:25:49 Kenneth Grome Re: updating with ProductEditor)5) I have tried using the [closedatabase db=catalog.txt] tag in both ProductEditor.tpl and AdminModified.tpl. (from archive: 1998/02/20 19:25:49 Kenneth Grome Re: updating with ProductEditor) 6) I have tried using the [commitdatabase db=catalog.txt] tag in both ProductEditor.tpl and AdminModified.tpl.Here is the the code for the form I'm using: [protect admin, cyn] Product Editor

Product Editor

From this page, you may change information about this product, or you may remove the product from your catalog. You must enter the correct administration username and password after clicking Update Product Information

[ Go Back to Catalog Administration | [foundItems] Remove this product from the Catalog ]

[showif Windows=[platform]] [/showif]
SKU[sku] (this is the unique product code for this item)
Category
Title
Has Description Check if True
Description
Price Taxable Non-Taxable
unitShipCost
Product Photo Has Photo No Photo
Photo Name:
[/foundItems] J. Danz------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Replace with Producteditor.tpl (J. Danz 2000)
  2. Re: Replace with Producteditor.tpl (The Mooseman 2000)
  3. Re: Replace with Producteditor.tpl (J. Danz 2000)
  4. Re: Replace with Producteditor.tpl (The Mooseman 2000)
  5. Re: Replace with Producteditor.tpl (J. Danz 2000)
  6. Re: Replace with Producteditor.tpl (Kenneth Grome 2000)
  7. Replace with Producteditor.tpl (J. Danz 2000)
Help. I'm using the ProductEditor.tpl from the Tea Room tutorial. When I attempt to update product using the replace comand, the data isn't actually replaced to the database. I've been searching the WebCatalog archives and haven't found a solution to work for me. 1) The version of WebCat I'm using is Macintosh CGI version 3.0.42) COMMIT DATABASE preference is set to Automatically commit databases to disk after modification3) Replace command may be issued by non-administrators4) I have made sure that there are no username or password fields used in my database. (from archive: 1997/09/03 17:29:09 Kenneth Grome Re: Replace Statement)5) I have tried using the [closedatabase db=catalog.txt] tag in both ProductEditor.tpl and AdminModified.tpl. (from archive: 1998/02/20 19:25:49 Kenneth Grome Re: updating with ProductEditor)5) I have tried using the [closedatabase db=catalog.txt] tag in both ProductEditor.tpl and AdminModified.tpl. (from archive: 1998/02/20 19:25:49 Kenneth Grome Re: updating with ProductEditor) 6) I have tried using the [commitdatabase db=catalog.txt] tag in both ProductEditor.tpl and AdminModified.tpl.Here is the the code for the form I'm using: [protect admin, cyn] Product Editor

Product Editor

From this page, you may change information about this product, or you may remove the product from your catalog. You must enter the correct administration username and password after clicking Update Product Information

[ [platform]]?username=[url][username][/url]&password=[url][password][/url][/showif]>Go Back to Catalog Administration | [founditems] [platform]]&username=[url][username][/url]&password=[url][password][/url][/showif]&db=catalog.txt&eqskudata=[url][sku][/url]>Remove this product from the Catalog ]

[showif Windows=[platform]] [username]> [password]> [/showif]
SKU[sku] (this is the unique product code for this item)
Category [input][category][/input] size=15>
Title [input][title][/input] size=70>
Has Description Check if True
Description
Price Taxable Non-Taxable
unitShipCost
Product Photo Has Photo No Photo
Photo Name: [input][PhotoName][/input] size=20>
[/foundItems] J. Danz------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 J. Danz

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 on Leopard (2008) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) search question (2001) .eml files (2001) Sorry another test - please ignore (2005) when is failing to [URL]ize values in a comparison risky? (1999) 2.1b3 --> way slow (1997) bug in [SendMail] (1997) Separate SSL Server (1997) Snake Bites (1997) Multiple download orders of the same product? (1997) NT considerations (1997) Sharing DBs across domains (2001) What am I missing (1997) Running 2 two WebCatalog.acgi's (1996) StoreBuilder and PayPal (2002) Duplicate Emails being sent (2004) WebCat2: Items xx to xx shown, etc. (1997) Ok here is a question? (1997) Great product and great job ! (1997)