[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Subcatalog Bug?
Hi Pable,
Here is my own way of how to create subcatalog. (if anybody think i'm
wrong, please correct me, thanx).
#######in Minivend.cfg
Catalog simple /home/minivend/catalogs/simple /cgi-bin/simple /simple
Subcatalog easy simple /home/minivend/catalogs/simple /cgi-bin/easy
#######in catalog.cfg
- no change
#######in easy.cfg (put in the same directory as catalog.cfg)
Variable SERVER_NAME 206.111.118.118
Variable CGI_URL /cgi-bin/test93s
Variable ORDERS_TO pumin@hotmail.com
Variable IMAGE_DIR /images/test93s
Variable SAMPLEHTML /home/httpd/html/test93s
PageDir pages
DataDir products
ScratchDir tmp
Database products products.asc TAB
NewTags Yes
ParseVariables Yes
VendURL http://__SERVER_NAME____CGI_URL__
ImageDir __IMAGE_DIR__/
ParseVariables No
#############
And this subcatalog will share same session, products, userdb, checkout
etc. with the main catalog. (also i did copy the vlink of /cgi-bin/simple
to /cgi-bin/easy. ) Then restart Minivend, call the cgi-bin/easy, and you
should be fine.
Best Regards,
Pumin@hotmail.com
>Pablo Martinez wrote:
>
> > ****** message to minivend-users from "Pablo Martinez"
><minivend@edikon.com> ******
> >
> > Hi all,
> >
> > I am in the process of creating sub-catalogs for database maintenance
> > reasons. I believe I am correctly following the specs with no success.
>The
> > steps I am taking are as follow:
> >
> > 1. I create a new main catalog.
> > 2. I create a copy of the main catalog.cfg and re-name it to easy.cfg
> > 3. A new subcatalog directive is added to minivend.cfg. The entries for
> > both catalogs look like this:
> > Catalog main /home/catalogs/main /cgi-bin/main /main
> > SubCatalog easy main /home/catalogs/main /cgi-bin/easy
> >
> > 4. I create a copy of the /cgi-bin/main to /cgi-bin/easy
> > 5. Now I restart the web server and am able to access the main catalog
>with
> > no trouble.
> >
> > Now at this point I try to access the /cgi-bin/easy with the browser and
>I
> > get an internal error message in the browser. When I look at the error
>log,
> > I get this:
> >
> > 192.168.34.1 - - [30/June/1999:13:22:01 -0400] easy /cgi-bin/easy
>Runtime
> > error: do not know how to copy CODE(0x8a24a5c) at
> > /home/web/mvend/lib/Vend/Util.pm line 652
> >
> > Not sure if this is a bug or a configuration issue. Anybody's help
>would be
> > greatly appreciated.
> >
> > Thanks,
> > Pablo
> >
> > -
> > To unsubscribe from the list, DO NOT REPLY to this message. Instead,
>send
> > email with 'UNSUBSCRIBE minivend-users' in the body to
>Majordomo@minivend.com.
> > Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com