Akopia Akopia Services

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

[mv] install bug (?) - from Israel




	Hello minivend'ers,

	I am trying to install your e-commerce system. It looks
	impressive, and seems nicely translatable into Hebrew.

	I downloaded and installed MiniVend V3.14-4.

	But I could not fully install the "simple" sample.
	You can see:   http://www.baby.israel.net/simple
	Only the first page of the demo appears.

	..............................................................
	The installation program did NOT create:
	http://www.baby.israel.net/simple/cgi-bin/prog/noframes
	..............................................................

	Your FAQ does not contain such problem.

	Actually "prog" is an executable, NOT a directory:
file cgi-bin/prog
cgi-bin/prog: setuid ELF 32-bit LSB executable, Intel 80386, version 1,
dynamically linked (uses shared libs), not stripped

The error log says:
...................
[Fri Jan 14 20:20:08 2000] [error] [client 192.114.82.106] File does not
exist: /www-servers/chagitz/docs/baby/simple/cgi-bin/prog/noframes


	I am attaching the report problem.
	the "Main MiniVend error.log" section contains records of some
	desperate tests of mine, e.g. "/cgi-bin/prog.sh", which you
	can ignore ...

	I am an experienced programmer, with lots of perl and web
	programming hours.
	We are going to prepare a Hebrew site for selling products for new
	born babies. 

	I would appreciate your help greatly.

	Bye,

	Hagit Zagagy,
	Haifa, Israel.
	chagitz@actcom.co.il


To: minivend-users@minivend.com
Subject: Problem report

#### Perl version
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.1-ac1, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1 17:44:44 est 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Apr  6 1999 23:34:07
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005
    .

#### OS version
Linux web1.actcom.co.il 2.2.13ac3 #7 SMP Wed Nov 10 16:43:35 IST 1999 i686 unknown

#### Main server config
Catalog       simple /home/chagitz/catalogs/simple cgi-bin/prog /simple
Variable   MV_NO_CRYPT   1
AdminUser  minivend:nevairbe
AllowGlobal _mv_admin
GlobalSub sub test_global_sub { return 'Test of global subroutine OK.' }
HouseKeeping 5
MaxServers 5
PIDcheck  300
TcpMap  7786 -
TolerateGet  Yes
Variable TEST_VARIABLE Test of global variable OK.
UserTag loc hasEndTag   1
UserTag loc Interpolate 1
UserTag loc Order locale
UserTag loc Routine <<EOF
sub {
    my ($locale, $message) = @_;
    return $message unless $Vend::Cfg->{Locale};
    my $ref;
    if($locale) {
        return $message
            unless defined $Vend::Cfg->{Locale_repository}{$locale};
        $ref = $Vend::Cfg->{Locale_repository}{$locale}
    }
    else {
        $ref = $Vend::Cfg->{Locale};
    }
    return defined $ref->{$message} ? $ref->{$message} : $message;
EOF
UserTag var Interpolate 1
UserTag var PosNumber 2
UserTag var Order name global
UserTag var Routine <<EOF
sub {
    $_[1] and return $Global::Variable->{shift @_};
    return $Vend::Cfg->{Variable}{shift @_};
EOF
UserTag summary Order amount name currency format total reset hide
UserTag summary PosNumber 6
UserTag summary Routine <<EOF
use vars qw/%summary_hash/;
sub {
    my ($amount, $name, $currency, $format, $total, $reset, $hide) = @_;
	unless ($name) {
		$name = 'ONLY0000';
		%summary_hash = () if Vend::Util::is_yes($reset);
	else {
		$summary_hash{$name} = 0 if Vend::Util::is_yes($reset);
	$summary_hash{$name} += $amount if length $amount;
	$amount = $summary_hash{$name} if Vend::Util::is_yes($total);
	return '' if defined $hide && Vend::Util::is_yes($hide);
	return sprintf $format, $amount if $format;
    return Vend::Util::currency($amount) if $currency;
    return $amount;
EOF
UserTag  db-date  Order table format
UserTag  db-date  PosNumber 2
UserTag  db-date  Routine <<EOF
sub {
    my ($format, $db) = @_;
    $format = '%A %d %b %Y';
	$db = 'products' unless $db;
    my $mtime = (stat($Vend::Cfg->{Database}{'file'}))[9];
    return POSIX::strftime($format, localtime($mtime));
EOF
UserTag  db-count  Order table
UserTag  db-count  PosNumber 1
UserTag  db-count  Routine <<EOF
sub {
    my ($db) = @_;
    $db = 'products' unless $db;
    my $ref = Vend::Data::database_exists_ref($db)
        or return "Bad table $db";
    $ref = $ref->ref();
    my $count;
    while ($ref->each_record()) {
        $count++;
    }
    return $count;
EOF
UserTag bar-button Order page current
UserTag bar-button PosNumber 2
UserTag bar-button HasEndTag 1
UserTag bar-button Routine   <<EOR
sub {
	use strict;
	my ($page, $current, $html) = @_;
	$current = $Global::Variable->{MV_PAGE}
		if ! $current;
	$html =~ s:\[selected\]([\000-\377]*)\[/selected]::i;
	my $alt = $1;
	return $html if $page ne $current;
	return $alt;
EOR

#### Catalog config differences
3,30c3,30
< Variable    SERVER_NAME     __MVC_SERVERNAME__
< Variable    CGI_URL         __MVC_CGIURL__
< Variable    SECURE_SERVER   http://__MVC_SERVERNAME__
< Variable    ORDERS_TO       __MVC_MAILORDERTO__
< Variable    IMAGE_DIR       __MVC_IMAGEURL__
< Variable    DOCROOT         __MVC_DOCUMENTROOT__
< Variable    SAMPLEHTML      __MVC_SAMPLEHTML__
< Variable    SAMPLEURL       __MVC_SAMPLEURL__
< 
< Variable    COMPANY         __MVC_COMPANY__
< Variable    ADDRESS         __MVC_ADDRESS__
< Variable    CITY            __MVC_CITY__
< Variable    PHONE           __MVC_PHONE__
< Variable    TOLLFREE        __MVC_TOLLFREE__
< Variable    FAX             __MVC_FAX__
< Variable    LOGO            __MVC_LOGO__
< Variable    SMLOGO          __MVC_SMLOGO__
< Variable    HEADERBG        __MVC_HEADERBG__
< Variable    TABLEFG         __MVC_TABLEFG__
< Variable    HEADERTEXT      __MVC_HEADERTEXT__
< Variable    BARBG           __MVC_BARBG__
< Variable    BARTEXT         __MVC_BARTEXT__
< Variable    BGIMAGE         __MVC_BGIMAGE__
< Variable    BGCOLOR         __MVC_BGCOLOR__
< Variable    ENCRYPTOR       __MVC_ENCRYPTOR__
< Variable    TAXAREA         __MVC_TAXAREA__
< Variable    TAXRATE         __MVC_TAXRATE__
< Variable    TAXSHIPPING     __MVC_TAXSHIPPING__
---
> Variable    SERVER_NAME     www.baby.israel.net
> Variable    CGI_URL         cgi-bin/prog
> Variable    SECURE_SERVER   http://www.baby.israel.net
> Variable    ORDERS_TO       chagitz
> Variable    IMAGE_DIR       /simple/images
> Variable    DOCROOT         /www-servers/chagitz/docs/baby
> Variable    SAMPLEHTML      /www-servers/chagitz/docs/baby/simple
> Variable    SAMPLEURL       http://www.baby.israel.net/simple
> 
> Variable    COMPANY         Baby Mall
> Variable    ADDRESS         Actcom Haifa
> Variable    CITY            Haifa, Israel
> Variable    PHONE           04-8111111
> Variable    TOLLFREE        1-800-333-333
> Variable    FAX             04-8222222
> Variable    LOGO            artstore.gif
> Variable    SMLOGO          artsmall.gif
> Variable    HEADERBG        BGCOLOR=#00F0F0
> Variable    TABLEFG         BGCOLOR=#EEEEEE
> Variable    HEADERTEXT      #000000
> Variable    BARBG           #00F0F0
> Variable    BARTEXT         #FF0000
> Variable    BGIMAGE         blue_pap.gif
> Variable    BGCOLOR         #FFFFFF
> Variable    ENCRYPTOR       none
> Variable    TAXAREA         all
> Variable    TAXRATE         all=18
> Variable    TAXSHIPPING     none
39c39
< Variable      MV_NO_CRYPT      __MVC_NOCRYPT__
---
> Variable      MV_NO_CRYPT      1
1002c1002
< Password                __MVC_SUPASSWD__
---
> Password                yom1tov
1113c1113
< RemoteUser   __MVC_SUPERUSER__
---
> RemoteUser   chagitz

#### Main MiniVend error.log (last 50 lines)
> 
- - - [14/January/2000:11:52:03 +0200] - - Could not open error file : No such file or directory
> 		
> to report this error:
> - - - [14/January/2000:11:52:03 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> > 
> 
- - - [14/January/2000:11:52:37 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> 
- - - [14/January/2000:11:52:37 +0200] - - Could not open error file : No such file or directory
> 		
> to report this error:
> - - - [14/January/2000:11:52:37 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> > 
> 
192.114.82.136 - - [14/January/2000:11:56:16 +0200] - /cgi-bin/prog.sh Undefined catalog: /cgi-bin/prog.sh
- - - [14/January/2000:14:35:57 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> 
- - - [14/January/2000:14:35:57 +0200] - - Could not open error file : No such file or directory
> 		
> to report this error:
> - - - [14/January/2000:14:35:57 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> > 
> 
- - - [14/January/2000:14:36:37 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> 
- - - [14/January/2000:14:36:37 +0200] - - Could not open error file : No such file or directory
> 		
> to report this error:
> - - - [14/January/2000:14:36:37 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> > 
> 
- - - [14/January/2000:14:36:47 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> 
- - - [14/January/2000:14:36:47 +0200] - - Could not open error file : No such file or directory
> 		
> to report this error:
> - - - [14/January/2000:14:36:47 +0200] - - Runtime error: REQUEST_METHOD is not defined at /home/chagitz/mvend/bin/minivend line 2138.
> > 
> 
- - - [14/January/2000:14:37:42 +0200] - - Undefined catalog: 
- - - [14/January/2000:14:38:12 +0200] - - Undefined catalog: 
- - - [14/January/2000:14:41:49 +0200] - - Undefined catalog: 
- - - [14/January/2000:14:45:16 +0200] - - Undefined catalog: 
- - - [14/January/2000:14:45:22 +0200] - - Undefined catalog: 
192.114.80.175 - - [14/January/2000:14:45:37 +0200] - /cgi-bin/prog.pl Undefined catalog: /cgi-bin/prog.pl
192.114.80.175 - - [14/January/2000:14:47:06 +0200] - /cgi-bin/prog.pl Undefined catalog: /cgi-bin/prog.pl
- - - [14/January/2000:14:53:19 +0200] - - Undefined catalog: 
192.114.80.175 - - [14/January/2000:14:53:31 +0200] - /cgi-bin/prog.pl Undefined catalog: /cgi-bin/prog.pl
192.114.80.175 - - [14/January/2000:15:00:09 +0200] - /cgi-bin/prog.pl Undefined catalog: /cgi-bin/prog.pl

#### Catalog error.log (last 50 lines)
No entries.

#### DBM Status
Have GDBM_File.
Have DB_File.


After you have examined this output for possible error indications, please
send it, along with a description of the problem, to:

	minivend-users@minivend.com

You might be able to do that with:
	
	./report_problem -s


Search for: Match: Format: Sort by: