[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Problem report
404 means file not found, so maybe the cgi-bin does not contain "simple"
The only thing I saw that might have caused this is:
Variable CGI_URL http://www.homa.de/cgi-bin/simple
in your catalog.cfg file, mine only has: /cgi-bin/simple
(Although this may have something to do with the full url usage which
I don't use, but I don't think this is where you set it)
You may want to just run makecat again, and you will have an option to
edit the above variable, just set it to /cgi-bin/simple and see if that works.
Kyle Cook (KC)
At 11:36 AM 9/28/99 -0500, you wrote:
>****** message to minivend-users from homa@homa.de ******
>
>#### Description of problem
>
>Hello there,
>
>I need some help. I cant start the catalog. I get Error 404 File not found.
>I have read the whole documentation but I can't find anything. The
>installation seemed to be correct and there is no other Error.
>
>Thank you.
>
>Best regards
>
>Holger
>homa@homa.de
>
>
>
>#### Perl version
>Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
> Platform:
> osname=linux, osvers=2.0.32, archname=i386-linux
> uname='linux porky.redhat.com 2.0.32 #1 wed nov 19 00:46:45 est 1997
>i686 unknown '
> hint=recommended, useposix=true, d_sigaction=define
> bincompat3=y useperlio=undef d_sfio=undef
> Compiler:
> cc='cc', optimize='-O2', gccversion=2.7.2.1
> cppflags='-Dbool=char -DHAS_BOOL'
> ccflags ='-Dbool=char -DHAS_BOOL'
> stdchar='char', d_stdstdio=define, usevfork=false
> voidflags=15, castflags=0, d_casti32=define, d_castneg=define
> intsize=4, alignbytes=4, usemymalloc=n, prototype=define
> Linker and Libraries:
> ld='cc', ldflags =' -L/usr/local/lib'
> libpth=/usr/local/lib /lib /usr/lib
> libs=-lndbm -lgdbm -ldb -ldl -lm -lc
> libc=/lib/libc.so.5.3.12, 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 Mar 8 1998 02:51:28
> @INC:
> /usr/lib/perl5/i386-linux/5.00404
> /usr/lib/perl5
> /usr/lib/perl5/site_perl/i386-linux
> /usr/lib/perl5/site_perl
> .
>
>#### OS version
>Linux bubis2.bubis.com 2.0.36 #6 Thu Dec 17 16:03:46 CST 1998 i586 unknown
>
>#### Main server config
>Catalog simple /home/homa/catalogs/simple
>http://www.homa.de/cgi-bin/simple /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.homa.de
>> Variable CGI_URL http://www.homa.de/cgi-bin/simple
>> Variable SECURE_SERVER http://www.homa.de
>> Variable ORDERS_TO homa
>> Variable IMAGE_DIR /simple/images
>> Variable DOCROOT /home/homa/www
>> Variable SAMPLEHTML /home/homa/www/simple
>> Variable SAMPLEURL http://www.homa.de/simple
>>
>> Variable COMPANY The Art Store
>> Variable ADDRESS 123 Any St.
>> Variable CITY Anytown, USA 00000
>> Variable PHONE (555) 555-5555
>> Variable TOLLFREE (888) 555-5555
>> Variable FAX (555) 555-5556
>> 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 OH IL
>> Variable TAXRATE OH=6, IL=7.25
>> Variable TAXSHIPPING OH
>39c39
>< Variable MV_NO_CRYPT __MVC_NOCRYPT__
>---
>> Variable MV_NO_CRYPT
>1002c1002
>< Password __MVC_SUPASSWD__
>---
>> Password sWbRjRhdHtEec
>1113c1113
>< RemoteUser __MVC_SUPERUSER__
>---
>> RemoteUser minivend
>
>#### Main MiniVend error.log (last 50 lines)
>- - - [28/September/1999:10:46:33 -0500] - - CyberCash module found
>(CyberCash 2).
>- - - [28/September/1999:10:46:34 -0500] - - MiniVend V3.14-3
>- - - [28/September/1999:10:46:34 -0500] - - Config '_mv_admin' at server
>startup
>- - - [28/September/1999:10:46:34 -0500] - - Config 'simple' at server startup
>- - - [28/September/1999:10:46:36 -0500] - - START server (26825) (INET and
>UNIX)
>- - - [28/September/1999:10:46:36 -0500] - - Accepting connections from
>localhost|127\.0\.0\.1
>- - - [28/September/1999:10:51:41 -0500] - - STOP server (26825) on signal
TERM
>- - - [28/September/1999:10:51:46 -0500] - - CyberCash module found
>(CyberCash 2).
>- - - [28/September/1999:10:51:47 -0500] - - MiniVend V3.14-3
>- - - [28/September/1999:10:51:47 -0500] - - Config '_mv_admin' at server
>startup
>- - - [28/September/1999:10:51:48 -0500] - - Config 'simple' at server startup
>- - - [28/September/1999:10:51:48 -0500] - - START server (27548) (INET and
>UNIX)
>- - - [28/September/1999:10:51:48 -0500] - - Accepting connections from
>localhost|127\.0\.0\.1
>- - - [28/September/1999:10:53:35 -0500] - - STOP server (27548) on signal
TERM
>- - - [28/September/1999:10:53:42 -0500] - - CyberCash module found
>(CyberCash 2).
>- - - [28/September/1999:10:53:43 -0500] - - MiniVend V3.14-3
>- - - [28/September/1999:10:53:43 -0500] - - Config '_mv_admin' at server
>startup
>- - - [28/September/1999:10:53:43 -0500] - - Config 'simple' at server startup
>- - - [28/September/1999:10:53:45 -0500] - - START server (27684) (INET and
>UNIX)
>- - - [28/September/1999:10:53:45 -0500] - - Accepting connections from
>localhost|127\.0\.0\.1
>- - - [28/September/1999:11:08:07 -0500] - - STOP server (27684) on signal
TERM
>- - - [28/September/1999:11:08:13 -0500] - - CyberCash module found
>(CyberCash 2).
>- - - [28/September/1999:11:08:14 -0500] - - MiniVend V3.14-3
>- - - [28/September/1999:11:08:14 -0500] - - Config '_mv_admin' at server
>startup
>- - - [28/September/1999:11:08:15 -0500] - - Config 'simple' at server startup
>- - - [28/September/1999:11:08:17 -0500] - - START server (30168) (INET and
>UNIX)
>- - - [28/September/1999:11:08:17 -0500] - - Accepting connections from
>localhost|127\.0\.0\.1
>LOCAL - minivend [28/September/1999:11:10:38 -0500] -
>http://www.homa.de/cgi-bin/simple/process Undefined catalog:
>http://www.homa.de/cgi-bin/simple
>- - - [28/September/1999:11:11:24 -0500] - - Runtime error: REQUEST_METHOD
>is not defined at /home/homa/mvend/bin/minivend line 2138.
>>
>- - - [28/September/1999:11:11:24 -0500] - - Could not open error file : No
>such file or directory
>>
>> to report this error:
>> - - - [28/September/1999:11:11:24 -0500] - - Runtime error: REQUEST_METHOD
>is not defined at /home/homa/mvend/bin/minivend line 2138.
>> >
>>
>- - - [28/September/1999:11:30:43 -0500] - - Added/changed catalog simple:
>>
>> Directory: /home/homa/catalogs/simple
>> Script: www.homa.de/cgi-bin/simple
>> Aliases: /simple
>>
>- - - [28/September/1999:11:30:43 -0500] - - Bad script name
>'http://www.homa.de/cgi-bin/simple' for reconfig.
>- - - [28/September/1999:11:31:19 -0500] - - STOP server (30168) on signal
TERM
>- - - [28/September/1999:11:31:29 -0500] - - CyberCash module found
>(CyberCash 2).
>- - - [28/September/1999:11:31:30 -0500] - - MiniVend V3.14-3
>- - - [28/September/1999:11:31:30 -0500] - - Config '_mv_admin' at server
>startup
>- - - [28/September/1999:11:31:31 -0500] - - Config 'simple' at server startup
>- - - [28/September/1999:11:31:32 -0500] - - START server (1448) (INET and
>UNIX)
>- - - [28/September/1999:11:31:32 -0500] - - Accepting connections from
>localhost|127\.0\.0\.1
>
>#### Catalog error.log (last 50 lines)
>No entries.
>
>#### DBM Status
>Have GDBM_File.
>Have DB_File.
>
>-
>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