[ic] Is there a new version?

Kristina Pullon kpullon@hotmail.com
Fri, 26 Jan 2001 14:03:59 -0500


When I dl'd interchange last october - there were some problems with it.  Is 
there a newer version now I should download?  I never could get the "select 
color" part to work.



>From: interchange-users-admin@lists.akopia.com
>Reply-To: interchange-users@lists.akopia.com
>To: interchange-users@lists.akopia.com
>Subject: Interchange-users digest, Vol 1 #270 - 17 msgs
>Date: Fri, 26 Jan 2001 13:55:58 -0500
>
>
>Send Interchange-users mailing list submissions to
>	interchange-users@lists.akopia.com
>
>To subscribe or unsubscribe via the web, visit
>	http://lists.akopia.com/mailman/listinfo/interchange-users
>or, via email, send a message with subject or body 'help' to
>	interchange-users-request@lists.akopia.com
>You can reach the person managing the list at
>	interchange-users-admin@lists.akopia.com
>
>When replying, please edit your Subject line so it is more specific than
>"Re: Contents of Interchange-users digest..."
>
>
>Today's Topics:
>
>   1. Define different price for each color. (Thomas N. Stefanidis)
>   2. Re: security (order number, failure to update) (Mike Heins)
>   3. Login Problem (David Bigler)
>   4. Re: How do I move a catalog from one system to another? (Doug Alcorn)
>   5. UI hacking (Doug Alcorn)
>   6. *** LOOP TAG with spaces *** (Marc Aubert)
>   7. Re: *** LOOP TAG with spaces *** (Murray Gibbins)
>   8. Re: Login Problem (Robert Trembath)
>   9. Re: Login Problem (Dan Garwood)
>   10. Re: security (order number, failure to update) (cfm@maine.com)
>   11. Re: Undefined Catalog Error after creating new catalog (Ed LaFrance)
>   12. Re: Undefined Catalog Error after creating new catalog (Robert 
>Trembath)
>   13. Re: Undefined Catalog Error after creating new catalog (Doug Alcorn)
>   14. Re: *** LOOP TAG with spaces *** (Mike Heins)
>   15. Re: security (order number, failure to update) (Mike Heins)
>   16. Re: security (order number, failure to update) (Ron Phipps)
>   17. using catalog.cfg to change data output (scott andreas)
>
>--__--__--
>
>Message: 1
>Date: Fri, 26 Jan 2001 17:08:28 +0200
>From: "Thomas N. Stefanidis" <thomas@prometheas.gr>
>Organization: http://www.prometheas.gr
>To: Interchange Mailing List <interchange-users@lists.akopia.com>
>Subject: [ic] Define different price for each color.
>Reply-To: interchange-users@lists.akopia.com
>
>Hello,
>I have a product (a scuba-diving mask)
>Each mask has 3 models(3 different colors).
>Each price is different.How can i spesify that?
>Is there a way for that drop menu to be placed into the product
>page(where u get the details of the product) and only in the checkout?
>
>Thank u
>
>Thomas
>
>
>--__--__--
>
>Message: 2
>Date: Fri, 26 Jan 2001 10:24:03 -0500
>From: Mike Heins <mikeh@minivend.com>
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] security (order number, failure to update)
>Reply-To: mike@minivend.com
>Reply-To: interchange-users@lists.akopia.com
>
>Quoting cfm@maine.com (cfm@maine.com):
> > Quoting myself:
> > >
> > > In recent Interchange (and maybe Minivend 4) all you have to do is
> > >
> > > 	[perl]
> > > 		$Session->{mv_order_number} = your_unique_number();
> > > 	[/perl]
> > >
> > > It will bypass OrderCounter at that point, and use yours. Then it
> > > is on your head. 8-)
> >
> > Yes, we're using that but have not thought it through all the way.  
>We're
> > grabbing an order number from our key generator, inserting the order
> > into the order table and order_items table, and then verifying that
> > we read back the same record.  On failure the idea was to send an
> > op-header redirect; that didn't work too well on the **report** page. 
>:->
> > Fixed that.
> >
> > Still, if the system can't generate proper numbers and clean data what
> > should it do?  Shut down gracefully?
>
>Most businesses don't ever like to stop taking orders as long as they
>are sure the price and delivery are reasonable. I usually fall back
>to an OrderNumber style file that has a unique series of numbers like
>ABC00000. The order number will be unique (presuming you set it up so
>each machine has a unique ID) and will alert you to the fact that there
>will be a customer service problem.
>
>That is why Interchange writes orders 4 places by default -- the
>order email image (based on order number), the database, the email,
>and if all else fails the tracking.asc file. Obviously you run from
>one, but the others are there to reconstruct if necessary.
>
>--
>Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
>phone +1.513.523.7621 fax 7501 <heins@akopia.com>
>
>Nature, to be commanded, must be obeyed. -- Francis Bacon
>
>--__--__--
>
>Message: 3
>Date: 26 Jan 2001 09:34:46 CST
>From: David Bigler <dbigler@usa.net>
>To: interchange-users@lists.akopia.com
>Subject: [ic] Login Problem
>Reply-To: interchange-users@lists.akopia.com
>
>I can't get into Admin, but my site is still working.  When I go to the 
>login
>admin page  and login, I get the following message from my browser:
>Netscape is unable to locate the server http:.
>Please check the server name and try again.
>
>The following address is displayed when I click login:
>http://http://--address--.
>
>Any ideas?  I need to edit the site but can't get in!
>
>
>
>____________________________________________________________________
>Get free email and a permanent address at http://www.netaddress.com/?N=1
>
>--__--__--
>
>Message: 4
>To: interchange-users@minivend.com
>Subject: Re: [ic] How do I move a catalog from one system to another?
>From: Doug Alcorn <doug@lathi.net>
>Date: 26 Jan 2001 10:50:39 -0500
>Reply-To: interchange-users@lists.akopia.com
>
>frank.maestas@ttseagle.com writes:
>
> > I've keyed in and configured all my catalog data on a small test
> > computer and now need to put it all on the real web server.
>
>My experience with this is that you should install interchange from
>scratch on the new server.  Get the 'construct' demo working without a
>hitch.  Once you've done that, you know you have a valid and complete
>installation of IC.  Then use the new machine's bin/makecat to make a
>default/fresh catalog with the name of your production catalog.  Make
>sure it works with fresh data.
>
>Now you're ready to copy up your catalog/config/*, catalog/pages/*,
>and catalog/templates/*.  Depending on what you data source is, you
>will need to copy your data in.  I usually use mysql.  So to get the
>data from the development box, I can just 'mysqldump --add-drop-table
>-p tablename > tablename.sql'.  On the production box I can then 'cat
>tablename.sql | mysql -p tablename'.  All that's the easy part.
>
>If you've made any changes to the catalog.cfg in development, you need
>to look at making the same changes (by hand) to the production box.
>In my experience, you can't just copy the catalog.cfg from one box to
>another.  This is doubly true for the variables.txt file.  You need to
>carefully evaluate what stuff from the development variables to change
>in the production variables.  Something I've started doing is not
>making all my changes in a file called site.cfg and then #including
>that at the bottom of the catalog.cfg.  I'm sure there's a way to do
>this with the variables, I'm just not smart enough to figure it out
>yet.
>--
>  (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
>  oo / PGP 02B3 1E26 BCF2 9AAF 93F1  61D7 450C B264 3E63 D543
>  |_/  If you're a capitalist and you have the best goods and they're
>       free, you don't have to proselytize, you just have to wait.
>
>
>--__--__--
>
>Message: 5
>To: interchange-users@minivend.com
>From: Doug Alcorn <doug@lathi.net>
>Date: 26 Jan 2001 10:54:18 -0500
>Subject: [ic] UI hacking
>Reply-To: interchange-users@lists.akopia.com
>
>I know I can make copies of what is in $ICBASE/UI/pages/admin into the
>catalog's pages/admin directory and override the default behavior.
>
>What I want to do is add new pages to the UI rather than just
>overriding them.  For instance, I have a new page that should be a
>sub-menu off "Items".  Where do I go to add it so that it will show up
>on the sub-menubar?
>
>I don't need any new security levels or anything like that. Just using
>the itemedit security.
>--
>  (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
>  oo / PGP 02B3 1E26 BCF2 9AAF 93F1  61D7 450C B264 3E63 D543
>  |_/  If you're a capitalist and you have the best goods and they're
>       free, you don't have to proselytize, you just have to wait.
>
>
>
>--__--__--
>
>Message: 6
>Date: Fri, 26 Jan 2001 17:05:40 +0100
>To: interchange-users@lists.akopia.com
>From: Marc Aubert <maubert@swisscenter.ch>
>Subject: [ic] *** LOOP TAG with spaces ***
>Reply-To: interchange-users@lists.akopia.com
>
>Hello,
>
>We have a big problem in the loop tag.
>
>We would like that the loop tag's arguments contain spaces (examples :
>
>[loop "Sun Microsystems", "Texas Instruments"]
>          [loop-code]
>[/loop]
>
>We would like to be displayed :
>
>Sun Microsystems
>Texas Instruments
>
>AND NOT :
>
>Sun
>Microsystems
>Texas
>Instruments
>
>We've tried to put several things ('', "", arg=, put in variable,
>etc.) without any success.
>
>Please do help us !!
>
>Thank you very much...
>
>--__--__--
>
>Message: 7
>Date: Fri, 26 Jan 2001 16:13:26 +0000
>From: Murray Gibbins <Murray@scotweb.ltd.uk>
>Organization: Scotweb Ltd
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] *** LOOP TAG with spaces ***
>Reply-To: interchange-users@lists.akopia.com
>
>Marc Aubert wrote:
>
> > [loop "Sun Microsystems", "Texas Instruments"]
> >          [loop-code]
> > [/loop]
>
>How about [loop "Sun&nbsp;Microsystems", "Texas&nbsp;Instruments"]
>
>Or some other HTML code for a space ?
>
>--
>   ____
>   \__/    Murray Gibbins             murray@scotweb.ltd.uk
>   /  \    Programmer
>_ \__/ _  ================================================
>\\ || //  Scotweb Limited,             info@scotweb.ltd.uk
>  \\||//   13a Albert Terrace,    http://www.scotweb.ltd.uk
>   \||/    Edinburgh EH10 5EA   Tel: +44 (0)  131 270 82 33
>    ||     Scotland. Europe.    Fax: +44 (0) 7020  93 49 04
>
>--__--__--
>
>Message: 8
>From: "Robert Trembath" <robert@ishoptech.com>
>To: <interchange-users@lists.akopia.com>
>Subject: Re: [ic] Login Problem
>Date: Fri, 26 Jan 2001 10:15:26 -0600
>charset="iso-8859-1"
>Reply-To: interchange-users@lists.akopia.com
>
>Check the catalog.cfg file in your catalog directory
>----- Original Message -----
>From: "David Bigler" <dbigler@usa.net>
>To: <interchange-users@lists.akopia.com>
>Sent: Friday, January 26, 2001 9:34 AM
>Subject: [ic] Login Problem
>
>
> > I can't get into Admin, but my site is still working.  When I go to the
>login
> > admin page  and login, I get the following message from my browser:
> > Netscape is unable to locate the server http:.
> > Please check the server name and try again.
> >
> > The following address is displayed when I click login:
> > http://http://--address--.
> >
> > Any ideas?  I need to edit the site but can't get in!
> >
> >
> >
> > ____________________________________________________________________
> > Get free email and a permanent address at http://www.netaddress.com/?N=1
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>--__--__--
>
>Message: 9
>From: "Dan Garwood" <res087jh@verizon.net>
>To: <interchange-users@lists.akopia.com>
>Subject: Re: [ic] Login Problem
>Date: Fri, 26 Jan 2001 11:21:41 -0500
>charset="iso-8859-1"
>Reply-To: interchange-users@lists.akopia.com
>
>You will need to look in the catalog.cfg file. Change the lines that are
>incorrect and uncomment them by removing the # in front of the line. 
>Restart
>interchange and is should be good to go.
>
>Dan
>----- Original Message -----
>From: "David Bigler" <dbigler@usa.net>
>To: <interchange-users@lists.akopia.com>
>Sent: Friday, January 26, 2001 10:34 AM
>Subject: [ic] Login Problem
>
>
> > I can't get into Admin, but my site is still working.  When I go to the
>login
> > admin page  and login, I get the following message from my browser:
> > Netscape is unable to locate the server http:.
> > Please check the server name and try again.
> >
> > The following address is displayed when I click login:
> > http://http://--address--.
> >
> > Any ideas?  I need to edit the site but can't get in!
> >
> >
> >
> > ____________________________________________________________________
> > Get free email and a permanent address at http://www.netaddress.com/?N=1
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>--__--__--
>
>Message: 10
>From: cfm@maine.com
>Date: Fri, 26 Jan 2001 11:38:12 -0500
>To: interchange-users@lists.akopia.com
>Cc: cfm@maine.com
>Subject: Re: [ic] security (order number, failure to update)
>Reply-To: interchange-users@lists.akopia.com
>
>On Fri, Jan 26, 2001 at 10:24:03AM -0500, Mike Heins wrote:
>
> > > Still, if the system can't generate proper numbers and clean data what
> > > should it do?  Shut down gracefully?
> >
> > Most businesses don't ever like to stop taking orders as long as they
> > are sure the price and delivery are reasonable. I usually fall back
> > to an OrderNumber style file that has a unique series of numbers like
> > ABC00000. The order number will be unique (presuming you set it up so
> > each machine has a unique ID) and will alert you to the fact that there
> > will be a customer service problem.
>
>Agreed.  Still, the root of this thread that I've so handily
>deleted was **failure** to update a number in a registered userdb.
>Orders are same.  In that case orders or registered users get
>mixed or nixed, at least in the database and for anything else
>that keys off that non updated sequence number.
>
> > That is why Interchange writes orders 4 places by default -- the
> > order email image (based on order number), the database, the email,
> > and if all else fails the tracking.asc file. Obviously you run from
> > one, but the others are there to reconstruct if necessary.
>
>We've stopped paying attention to the tracking.asc file.  That
>is a good idea to revisit.  Thank you.  In a real time scenario -
>say the userdb and access permissions - one runs the risk of
>compromising more than just a sale.  Maybe it's enough to
>verify that the counter file has been changed and synced to disk?
>
>Best,
>
>cfm
>
>--
>
>Christopher F. Miller, Publisher                             cfm@maine.com
>MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
>1.207.657.5078                                       http://www.maine.com/
>Content management, electronic commerce, internet integration, Debian linux
>
>--__--__--
>
>Message: 11
>Date: Fri, 26 Jan 2001 08:47:06 -0800
>To: interchange-users@lists.akopia.com
>From: Ed LaFrance <edl@newmediaems.com>
>Subject: Re: [ic] Undefined Catalog Error after creating new catalog
><001b01c0871b$7997eb80$89dc2ed0@takedown>
><980482539.3a70f9eb7ed2e@www.palb.com>
><20010125235542.A9195@maine.com>
><20010126000948.A17353@bill.minivend.com>
><20010126092944.A29867@maine.com>
>Reply-To: interchange-users@lists.akopia.com
>
>At 08:54 AM 1/26/01 -0600, you wrote:
> >I have created  2 new catalogs based on construct template. When I try to
> >access them I get "undefined catalog". However, I have verified that all 
>the
> >files were created and have restarted the interchange service. Still no
> >dice. Please help.
>
>Undefined catalog usually means a) there is no entry for the catalog in
>interchange.cfg, or b) there was some error in configuring the catalog on
>interchange startup, so it was skipped.  You should start by checking these
>things.
>
>- Ed L.
>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>New Media E.M.S.               Software Solutions for Business
>463 Main St., Suite D          edl@newmediaems.com
>Placerville, CA  95667         http://www.newmediaems.com
>(530) 622-9421                 (530) 622-9426 Fax
>(866) 519-4680 Toll-Free
>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>
>--__--__--
>
>Message: 12
>From: "Robert Trembath" <robert@ishoptech.com>
>To: <interchange-users@lists.akopia.com>
>Subject: Re: [ic] Undefined Catalog Error after creating new catalog
>Date: Fri, 26 Jan 2001 11:33:58 -0600
>charset="iso-8859-1"
>Reply-To: interchange-users@lists.akopia.com
>
>Fixed it. It was a file permisions problem.
>----- Original Message -----
>From: "Ed LaFrance" <edl@newmediaems.com>
>To: <interchange-users@lists.akopia.com>
>Sent: Friday, January 26, 2001 10:47 AM
>Subject: Re: [ic] Undefined Catalog Error after creating new catalog
>
>
> > At 08:54 AM 1/26/01 -0600, you wrote:
> > >I have created  2 new catalogs based on construct template. When I try 
>to
> > >access them I get "undefined catalog". However, I have verified that 
>all
>the
> > >files were created and have restarted the interchange service. Still no
> > >dice. Please help.
> >
> > Undefined catalog usually means a) there is no entry for the catalog in
> > interchange.cfg, or b) there was some error in configuring the catalog 
>on
> > interchange startup, so it was skipped.  You should start by checking
>these
> > things.
> >
> > - Ed L.
> >  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > New Media E.M.S.               Software Solutions for Business
> > 463 Main St., Suite D          edl@newmediaems.com
> > Placerville, CA  95667         http://www.newmediaems.com
> > (530) 622-9421                 (530) 622-9426 Fax
> > (866) 519-4680 Toll-Free
> >  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>--__--__--
>
>Message: 13
>To: interchange-users@minivend.com
>Subject: Re: [ic] Undefined Catalog Error after creating new catalog
><001b01c0871b$7997eb80$89dc2ed0@takedown>
><980482539.3a70f9eb7ed2e@www.palb.com> <20010125235542.A9195@maine.com>
><20010126000948.A17353@bill.minivend.com> <20010126092944.A29867@maine.com>
><4.3.0.20010126084511.00def460@pop.mindspring.com>
>From: Doug Alcorn <doug@lathi.net>
>Date: 26 Jan 2001 12:31:36 -0500
>Reply-To: interchange-users@lists.akopia.com
>
>Ed LaFrance <edl@newmediaems.com> writes:
>
> > Undefined catalog usually means a) there is no entry for the catalog
> > in interchange.cfg, or b) there was some error in configuring the
> > catalog on interchange startup, so it was skipped.  You should start
> > by checking these things.
>
>Is this in the FAQ?  It should be.
>--
>  (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
>  oo / PGP 02B3 1E26 BCF2 9AAF 93F1  61D7 450C B264 3E63 D543
>  |_/  If you're a capitalist and you have the best goods and they're
>       free, you don't have to proselytize, you just have to wait.
>
>
>--__--__--
>
>Message: 14
>Date: Fri, 26 Jan 2001 12:57:56 -0500
>From: Mike Heins <mikeh@minivend.com>
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] *** LOOP TAG with spaces ***
>Reply-To: mike@minivend.com
>Reply-To: interchange-users@lists.akopia.com
>
>Quoting Marc Aubert (maubert@swisscenter.ch):
> > Hello,
> >
> > We have a big problem in the loop tag.
> >
> > We would like that the loop tag's arguments contain spaces (examples :
> >
> > [loop "Sun Microsystems", "Texas Instruments"]
> >          [loop-code]
> > [/loop]
> >
> > We would like to be displayed :
> >
> > Sun Microsystems
> > Texas Instruments
> >
> > AND NOT :
> >
> > Sun
> > Microsystems
> > Texas
> > Instruments
> >
> > We've tried to put several things ('', "", arg=, put in variable,
> > etc.) without any success.
> >
>
>There are two ways. I recommend newline separation:
>
>[loop lr=1 list=|
>Sun Microsystems
>Texas Instruments
>     |]
>	[loop-code] <BR>
>[/loop]
>
>Or if you already have a quoted list:
>
>[loop quoted=1 list=|"Sun Microsystems" "Texas Instruments"|]
>     [loop-code] <BR>
>[/loop]
>
>No comma in the above. It is better to do this to avoid possible
>quote collision:
>
>[tmp quoted_list]"Sun Microsystems" "Texas Instruments"[/tmp]
>[loop quoted=1 list="[scratch quoted_list]"]
>     [loop-code] <BR>
>[/loop]
>
>Same applies for the lr=1 version; if you pre-set it in scratch
>then you avoid flakiness due to quoting problems.
>
>--
>Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
>phone +1.513.523.7621 fax 7501 <heins@akopia.com>
>
>Unix version of an Outlook-style virus:
>It works on the honor system. Please forward this message to everyone
>you know, and delete a bunch of your files at random.
>
>--__--__--
>
>Message: 15
>Date: Fri, 26 Jan 2001 13:03:23 -0500
>From: Mike Heins <mikeh@minivend.com>
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] security (order number, failure to update)
>Reply-To: mike@minivend.com
>Reply-To: interchange-users@lists.akopia.com
>
>Quoting cfm@maine.com (cfm@maine.com):
> > On Fri, Jan 26, 2001 at 10:24:03AM -0500, Mike Heins wrote:
> >
> > > > Still, if the system can't generate proper numbers and clean data 
>what
> > > > should it do?  Shut down gracefully?
> > >
> > > Most businesses don't ever like to stop taking orders as long as they
> > > are sure the price and delivery are reasonable. I usually fall back
> > > to an OrderNumber style file that has a unique series of numbers like
> > > ABC00000. The order number will be unique (presuming you set it up so
> > > each machine has a unique ID) and will alert you to the fact that 
>there
> > > will be a customer service problem.
> >
> > Agreed.  Still, the root of this thread that I've so handily
> > deleted was **failure** to update a number in a registered userdb.
> > Orders are same.  In that case orders or registered users get
> > mixed or nixed, at least in the database and for anything else
> > that keys off that non updated sequence number.
>
>Are you telling me that Interchange's OrderCounter gave you back a number
>without die()-ing? That should never happen. If it can't increment, it
>should die. When did it not?
>
>I have seen some reported problems with File::CounterFile on BSD, but
>not otherwise.
>
> >
> > > That is why Interchange writes orders 4 places by default -- the
> > > order email image (based on order number), the database, the email,
> > > and if all else fails the tracking.asc file. Obviously you run from
> > > one, but the others are there to reconstruct if necessary.
> >
> > We've stopped paying attention to the tracking.asc file.  That
> > is a good idea to revisit.  Thank you.  In a real time scenario -
> > say the userdb and access permissions - one runs the risk of
> > compromising more than just a sale.  Maybe it's enough to
> > verify that the counter file has been changed and synced to disk?
> >
>
>That is supposed to happen in the increment. It should die if it doesn't.
>That is a hard failure, and you should always die on a hard failure.
>
>I think we are talking about two different things here. I was assuming
>you were asking "what happens if my remote db/order number server goes 
>down?".
>My answer is then that you fall back to OrderCounter. If OrderCounter 
>fails,
>then you have a hard problem and should die (and presumably alert that the
>server is down).
>
>--
>Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
>phone +1.513.523.7621 fax 7501 <heins@akopia.com>
>
>I don't want to get to the end of my life and find I have just
>lived the length of it. I want to have lived the width of it as
>well. -- Diane Ackerman
>
>--__--__--
>
>Message: 16
>From: "Ron Phipps" <rphipps@reliant-solutions.com>
>To: <interchange-users@lists.akopia.com>
>Subject: Re: [ic] security (order number, failure to update)
>Date: Fri, 26 Jan 2001 10:25:04 -0800
>charset="iso-8859-1"
>Reply-To: interchange-users@lists.akopia.com
>
>Mike,
>
>Can you discuss some of the other ways of handling the order number outside
>of IC?  Were getting ready to launch a high traffic site next week Thursday
>and if there is a chance that these errors could happen we'd like to avoid
>that.  A bit about our setup, were running an Alpha 600 (EV56) with a gig 
>of
>RAM on RedHat with MySQL as the backend.  Are plans are to see how this box
>handles under load and if it cannot do the job we'll be loading up another
>Alpha 600 just to handle the MySQL server.  What is your recommended
>solution for this situation?  Thanks for your help.
>
>-Ron
>
>----- Original Message -----
>From: "Mike Heins" <mikeh@minivend.com>
>To: <interchange-users@lists.akopia.com>
>Sent: Friday, January 26, 2001 10:03 AM
>Subject: Re: [ic] security (order number, failure to update)
>
>
> > Quoting cfm@maine.com (cfm@maine.com):
> > > On Fri, Jan 26, 2001 at 10:24:03AM -0500, Mike Heins wrote:
> > >
> > > > > Still, if the system can't generate proper numbers and clean data
>what
> > > > > should it do?  Shut down gracefully?
> > > >
> > > > Most businesses don't ever like to stop taking orders as long as 
>they
> > > > are sure the price and delivery are reasonable. I usually fall back
> > > > to an OrderNumber style file that has a unique series of numbers 
>like
> > > > ABC00000. The order number will be unique (presuming you set it up 
>so
> > > > each machine has a unique ID) and will alert you to the fact that
>there
> > > > will be a customer service problem.
> > >
> > > Agreed.  Still, the root of this thread that I've so handily
> > > deleted was **failure** to update a number in a registered userdb.
> > > Orders are same.  In that case orders or registered users get
> > > mixed or nixed, at least in the database and for anything else
> > > that keys off that non updated sequence number.
> >
> > Are you telling me that Interchange's OrderCounter gave you back a 
>number
> > without die()-ing? That should never happen. If it can't increment, it
> > should die. When did it not?
> >
> > I have seen some reported problems with File::CounterFile on BSD, but
> > not otherwise.
> >
> > >
> > > > That is why Interchange writes orders 4 places by default -- the
> > > > order email image (based on order number), the database, the email,
> > > > and if all else fails the tracking.asc file. Obviously you run from
> > > > one, but the others are there to reconstruct if necessary.
> > >
> > > We've stopped paying attention to the tracking.asc file.  That
> > > is a good idea to revisit.  Thank you.  In a real time scenario -
> > > say the userdb and access permissions - one runs the risk of
> > > compromising more than just a sale.  Maybe it's enough to
> > > verify that the counter file has been changed and synced to disk?
> > >
> >
> > That is supposed to happen in the increment. It should die if it 
>doesn't.
> > That is a hard failure, and you should always die on a hard failure.
> >
> > I think we are talking about two different things here. I was assuming
> > you were asking "what happens if my remote db/order number server goes
>down?".
> > My answer is then that you fall back to OrderCounter. If OrderCounter
>fails,
> > then you have a hard problem and should die (and presumably alert that 
>the
> > server is down).
> >
> > --
> > Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
> > phone +1.513.523.7621 fax 7501 <heins@akopia.com>
> >
> > I don't want to get to the end of my life and find I have just
> > lived the length of it. I want to have lived the width of it as
> > well. -- Diane Ackerman
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>--__--__--
>
>Message: 17
>Date: Fri, 26 Jan 2001 10:50:52 -0800
>From: scott andreas <scotta@homer-simpson.learnserv.com>
>Organization: Learnin Services, Inc.
>To: interchange-users@lists.akopia.com
>Subject: [ic] using catalog.cfg to change data output
>Reply-To: interchange-users@lists.akopia.com
>
>Is there a way with in the catalog.cfg to change the data output.
>Our database is loaded with acronyms and I want to display ledgable
>data.
>
>I know that I can change the column reference of our_price with
>pricefield   our_price
>
>but how can I override data?
>
>For instance:
>
>our user database has creditcard information of:
>
>7  = american express
>5  = visa
>3  = mastercard
>
>and so forth.
>
>Is what i want to have displayed is
>
>american express
>visa
>or
>masterccard
>
>in the html output.
>
>I believe that it would be much easier to have these definitions in the
>catalog.cfg directory than having to go through and placing alot if [if]
>statements in the pages.
>
>Any ideas?
>--
>J. Scott Andreas :)
>Programmer/Webintegrator
>e-mail: scotta@homer.learnserv.com
>phone: 1-800-877-9378 ext. 146
>fax: (541) 744-2056
>       ---    __o
>      ---   _-\<,_
>       --- (_)/ (_)
>
>
>
>--__--__--
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>End of Interchange-users Digest

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com