![]() | Home | Contact | Jobs | LinuxTag | MiniVend | MiniMate | ![]() |
The version of MiniMate is 4.0.0.1. An archive of this version
is available from this site and from ftp.minivend.com
(daily updates) and can be used on all operating systems.
MiniVend 4.00 and higher is required to running MiniMate.
Additionally there is a older version of MiniMate for the 3.x series of MiniVend. These (MiniMate-3.14.0.3.tar.gz) requires at least MiniVend 3.12.
racke@linuxia.de:/tmp > gzip -cd minimate.tar.gz | tar -xf -On a computer running Linux or with GNU tar the following is sufficient:
racke@linuxia.de:/tmp > tar -xzf minimate.tar.gzAfter unpacking the sources change to the directory
MiniMate-4.0.0.1. Then run the
install script with the installation directory of MiniVend as
parameter:racke@linuxia.de:/tmp/MiniMate-4.0.0.1 > perl install ~/mvendThe script checks the existence of
minivend.cfg
, creates a subdirectory lib/MiniMate in the
installation directory and copies the necessary files into this directory.
Now you need to edit your minivend.cfg and add the following
line:
#include lib/MiniMate/minimate.cfgThe administration tool is available after a restart of MiniVend. You can access it from every catalog. Use the pages
admin/menu.html (with frames) resp. config/menu.html
(without frames). For example, the URL to access the catalog is
http://linuxia.de/cgi-bin/simple. Then the simpler variant of
MiniMate can be found at http://linuxia.de/cgi-bin/simple/config/menu
.
Please note that currently protecting the administration tool against access from other people.
Term::ReadKey misses resizeCan't exec "resize": No such file or directory at /usr/lib/perl5/site_perl/Term/ReadKey.pm line 305. Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/lib/perl5/site_perl/Term/ReadKey.pm line 323. make: *** No targets. Stop.This is a known problem with Perl and MakeMaker on Solaris. There are reports for this problem on Linux (Slackware and SuSE) where X isn't installed. Mike Heins suggested the following workaround:
export LINES=24 COLUMNS=80
or (for Korn and similar shells)
setenv LINES=24
setenv COLUMNS=80
Alternatively, you may uninstall Term::ReadKey.
<LocationMatch /cgi-bin/simple/+(admin|config)> AuthType Basic AuthUserFile /home/minivend/users AuthName "MiniVend Administration" require valid-user </LocationMatch>The plus sign is necessary to protect against access with the URL
/cgi-bin/simple//config/menu.html. Enter the user
name of the shop owner in the catalog configuration file catalog.cfg
:RemoteUser minivendFor access to the MiniMate pages by the shop owner create empty files named
.access in the directories
config and admin:racke@linuxia.de:~ > rm -f /home/minivend/lib/MiniMate/pages/config/.access racke@linuxia.de:~ > touch /home/minivend/lib/MiniMate/pages/config/.access racke@linuxia.de:~ > rm -f /home/minivend/lib/MiniMate/pages/admin/.access racke@linuxia.de:~ > touch /home/minivend/lib/MiniMate/pages/admin/.accessCreate files named
.access_gate in the same directories to allow access by the user
authentified through Apache:*: [perl arg="config" interpolate=1]
return 1 if $Safe{config}{RemoteUser} eq q{[data session user]};
return 0;
[/perl]
.access in all directories containing MiniMate pages.All those pages are accessible only by the shop owner defined by the catalog configuration directives
RemoteUser and Password:Variable MV_NO_CRYPT 1 RemoteUser demo Password Gu3109nThe shop owner access the MiniMate pages via the internal web server provided by the MiniVend daemon:
http://www.linuxia.de:7786/simple/config/menu
For image upload please choose on the page config/menu "Upload
other files".
category for the products
database exists. A workaround for this problem is to access a
MiniVend page like the following after editing with MiniMate:
<HTML><HEAD><TITLE>Index Update</TITLE></HEAD>
<BODY>
[index table=products
extension=category
spec="rf=category,0
ra=yes
tf=category"
]
</BODY>
206.111.118.118 4pedfCqg:206.111.118.118 - [30/June/1999:12:30:14 -0700]
test01 /cgi-bin/simple/config/dbedit Runtime error: Can't use string
("2ndDayAir") as a HASH ref while "strict refs" in use at (eval 68) line 22.
>
206.111.118.118 4pedfCqg:206.111.118.118 - [30/June/1999:12:30:31 -0700]
test01 /cgi-bin/simple/config/dbedit Runtime error: Can't use string
("Ground") as a HASH ref while "strict refs" in use at (eval 68) line 22.
>
206.111.118.118 4pedfCqg:206.111.118.118 - [30/June/1999:12:31:00 -0700]
test01 /cgi-bin/simple/config/dbedit Runtime error: Can't use string
("locale") as a HASH ref while "strict refs" in use at (eval 68) line 22.
>
userdb) for the catalog managed
by MiniMate.
Database minimate minimate.asc TABThe database can be named differently if you set the variable
MINIMATE_TABLE to the corresponding value in the catalog
configuration:Variable MINIMATE_TABLE mmcontrol Database mmcontrol mmcontrol.asc TAB
minimate.
| Field name | Description |
username | MiniMate username |
super | 1 for superusers, 0 otherwise. |
yes_tables | space-separated list of databases |
no_tables | space-separated list of databases |
A Russian, a German and a French translation has been already made.
config/db_column [4.0 only]config/menuconfig/upload_otherdirective_value NAME [PARSEVARS]MiniMate::CfgMgrmm_acl_enabledlocalefileslocales
subdirectory.
https:
admin/menu file uploads to the internal variety instead of using
external mv_upload program.localefiles.config/dbedit).Makefile.PL for Win32 systems. Rewrote the
install script.
Data::Dumper removed.Betty Chung for preparing the MiniMate pages for localization.
Alexei Yakimovich for the Russian translation.
Birgitt Funk for the German translation.
Stephen M. LaBar, Jr. for his help
to make Makefile.PL working on Win32 systems.
Kaare Rasmussen and Robert Hutchinson
for reporting the resize problem and again Mike Heins
for the workaround.
Bob Jordan for reporting the
Data::Dumper problem.
Marc Infield for reporting a documentation bug (20000103).
Waldemar Gerr for his suggestion on documenting the installation.
Marci Beedle for reporting his problem with the documentation in respect of an MiniMate URL.
.access
INDEX
localefiles
minimate
MINIMATE_TABLE
mm_acl_enabled
Password
RemoteUser
resize
Term::ReadKey
userdb