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 Hans-Joachim Leidinger <jojo@buchonline.net>     ******

Ed LaFrance schrieb:
> 
> ******    message to minivend-users from Ed LaFrance <edlafrance@printexusa.com>     ******
> 
> At 09:35 PM 6/2/00 +0200, you wrote:
> >******    message to minivend-users from Hans-Joachim Leidinger
> ><jojo@buchonline.net>     ******
> >
> >Ed LaFrance schrieb:
> > >
> > > ******    message to minivend-users from Ed LaFrance
> > <edlafrance@printexusa.com>     ******
> > >
> > > 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!
> >
> >If I remembered right, the "#include usertag/*" works for MV4 and _not_
> >for earlier Version.
> >Right?
> 
> Well, here are the last few lines from minivend.cfg.dist, which is the
> virgin cfg file included with the distribution:
> 
>          ### The old user database stuff
>          ### DON'T ### include userdb.cfg
> 
>          ### The minivend administration stuff
>          #include admin/mv_admin.cfg
> 
>          ### Include if you want non-English error messages. Not complete.
>          # #include locale.error
> 
>          #include flycat.cfg
>          #include form_mail.cfg
> 
> You will see these in any 3.14-5 minivend server installation, whether you
> have built a catalog or not...So I would say that #include was supported in
> 3.14-5.  Not to mention the fact that it works in most of the 3.14-5
> installs I have done - just not the ones on this server.  Minivend isn't
> broken, this is a configuration issue, I'm just not sure where to
> start.  What you prevent #inlcude from working?

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

-- 
-------------Hans-Joachim Leidinger---------------------


-
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: