[ic] Adding columns to the products database?

Mike Heins mikeh@minivend.com
Sat, 26 Aug 2000 14:38:50 -0400


Quoting Frysco! (fox-interchange@vulpes.net):
> Hi,
> 
>  I downloaded and installed Interchange this past weekend after being
>  redirected after looking for Minivend. Certainly, I think that the
>  Interchange 'enhanced' version of Minivend is a significant improvement. 
> 
>  Anyway... what I'm attempting to do is use the 'simple/barry' catalog and
>  modify it for what I need to do. 
> 
>  I've pretty much got it close to how I need it now, but I'm to the point
>  where I need to add a few more columns/fields to the products database
>  (doing this via the products.txt file)
> 
>  I've tried just tacking the extra column into the text file, but when I
>  try and force-reload the pages, or restart the minvend server, the web
>  connection to anywhere under /cgi-bin/<catalog> seems to just hang. 
> 
>  I'm assuming that there's a relation between products.txt and something
>  else that is causing this, but I've so far been unable to find it. 
> 
>  Could anyone point me to the right place?
> 

IF you are using DBM this should be automatic.

If you want products.txt to overwrite your SQL database, then just
remove products/products.sql and restart the daemon (or reconfig the
catalog). It should be fine then.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.8220 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.