[ic] How to automate creation of catalogs

Paul Cauberg paul@quarp.com
Wed, 13 Dec 2000 04:37:00 +0100


--=====================_60166334==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Thanks for your answer, I tried to get it to work but it gives an error:

Can't use an undefined value as an ARRAY reference at 
/home/quarp/interchange/lib/IniConf.pm line 438.

Below's the command that I use, any help is appreciated.

/home/quarp/interchange/bin/makecat -F \
--basedir=/interchange/catalogs \
--cgibase=/cgi-bin/ic \
--documentroot=/home/quarp/www \
--interchangegroup=quarp \
--interchangeuser=quarp \
--vendroot=/home/quarp/interchange  \
--catroot=/interchange/catalogs \
--cgidir=/home/quarp/cgi-bin/ic/test \
--servername=www.quarp.nl \
--cgiurl=/cgi-bin/ic/test \
--demotype=construct \
--mailorderto=paul@dream.nl \
--catuser=quarp \
--imagedir=/home/quarp/www/ic/test/images \
--imageurl=/ic/test/images \
--linkmode=UNIX \
--samplehtml=/home/quarp/www/ic/test \
--sampleurl=/ic/test \
--sharedir=/home/quarp/www/ic/test \
--shareurl==/ic/test --catalogname=test \
--permtype=user \
test

--=====================_60166334==_.ALT
Content-Type: text/html; charset="us-ascii"

Thanks for your answer, I tried to get it to work but it
gives an error:

Can't use an undefined value as an ARRAY reference at /home/quarp/interchange/lib/IniConf.pm line 438.

Below's the command that I use, any help is appreciated.

/home/quarp/interchange/bin/makecat -F \
--basedir=/interchange/catalogs \
--cgibase=/cgi-bin/ic \
--documentroot=/home/quarp/www \
--interchangegroup=quarp \
--interchangeuser=quarp \
--vendroot=/home/quarp/interchange  \
--catroot=/interchange/catalogs \
--cgidir=/home/quarp/cgi-bin/ic/test \
--servername=www.quarp.nl \
--cgiurl=/cgi-bin/ic/test \
--demotype=construct \
--mailorderto=paul@dream.nl \
--catuser=quarp \
--imagedir=/home/quarp/www/ic/test/images \
--imageurl=/ic/test/images \
--linkmode=UNIX \
--samplehtml=/home/quarp/www/ic/test \
--sampleurl=/ic/test \
--sharedir=/home/quarp/www/ic/test \
--shareurl==/ic/test --catalogname=test \
--permtype=user \
test
--=====================_60166334==_.ALT--