Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Problem with #inlcude in minivend.cfg? wierd



******    message to minivend-users from Ed LaFrance <edlafrance@printexusa.com>     ******

At 10:57 PM 6/2/00 +0200, you wrote:
>******    message to minivend-users from Hans-Joachim Leidinger 
><jojo@buchonline.net>     ******
>
>Ed LaFrance schrieb:
>
> > > > Hi all -
> > > >
> > > > I noticed on a recent mv3.14-5 install that some usertags and 
> glogalsubs
> > > > weren't working, after some investigation, I determined that ONLY those
> > > > routines contained in files and referenced with the #include 
> directive in
> > > > minivend.cfg were affected.  I copied a couple of these routines into
> > > > minivend.cfg and restarted the server, and they work now!
> > > >
> > > > I couldn't find any case history on this in the faq or archives. No 
> errors
> > > > are reported on server startup, and by all appearances the tags were
> > > > undefined before I moved them into minivend.cfg:  for instance, 
> [reconfig]
> > > > shows up unparsed in the browser. This MV installation (like nearly all
> > > > those I work on) is running on a shared virtual server at an ISP.  Does
> > > > this look like a permissions issue?
> > > >
> > > > Thanks to anyone who replies!



>[del]




>I've trouble to understand you right! Are you missing the feature
>"#include usertag/*"? Wrong or right?
>If you look in you minivend.cfg once more. You will find this..
>
>## UserTag                      Default: none
>#
># Custom tag for every catalog served by this MiniVend.
>#
># UserTag
>
># [loc locale*] message [/loc]
>#
>and so on and after this, you can see the rest. Regarding your message
>about "#include was supported..". This is right. But this should
>probably not be right for the usertag. I've not look into the both codes
>of MV4 and MV3. But why is M.H. writing
>
>## UserTag                      Default: none
>#
># Custom tag for every catalog served by this MiniVend.
>#
># UserTag
>
>instead of
>
>#include usertag/*
>
>?
>Maybe MV3 was not ready or fit to include the usertag? Maybe the usertag
>need a special handle than other include directives? I think so.

Joachim -

As far as I can tell, in MV4 Mike put all the usertag files in a directory 
in vendroot called usertag, then referenced them in minivend,cfg with

         #include usertag/*

In MV3, he did not have a usertag directory, but he did have usertags and 
globalsubs in some files: form_mail.cfg, admin/mv_admin.cfg, and some 
others.  The were referenced in minivend.cfg with

         #include admin/mv_admin.cfg

         #include flycat.cfg
         #include form_mail.cfg

It is basically the same thing as MV4, just not as neat.  And it works - in 
most installations I have done.  I don't know why it does not work here.

Does anyone know: where is the Perl code which reads minivend.cfg and 
specifically which opens files it finds in #include statements in 
minivend.cfg, and reads their contents? I have poked through the code of 
start and restart in the bin directory but I don't see it.  I was hoping 
that looking at the code might give me a clue...

- Ed L.


Printex Marking Technologies
12113 Kirkham Rd.
Poway, CA  92064  U.S.A.
858-513-2418
800-982-1928
858-513-2419 FAX
http://www.printexusa.com


-
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


Search for: Match: Format: Sort by: