[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] Re: MiniMate Seems to be making errors!
****** message to minivend-users from "Cameron B. Prince" <cbp@InternetExpertsLLC.com> ******
This was a non-critical error on my server. The way I fixed it is as
follows:
1. cd mvend/lib/Vend/
2. chmod 744 Config.pm
3. edit Config.pm and change as follows:
ORIGINAL CODE
sub parse_url {
my($var, $value) = @_;
config_warn(
"The $var directive (now set to '$value') should probably\n" .
"start with 'http:' or 'https:'")
unless $value eq '/mv_admin' or $value =~ m/^https?:/i
or $Vend::InternalHTTP;
$value =~ s./$..;
$value;
}
MODIFIED CODE
sub parse_url {
my($var, $value) = @_;
config_warn(
"The $var directive (now set to '$value') should probably\n" .
"start with 'http:' or 'https:'")
unless $value eq '/mv_admin' or $value =~ m/^https?:/i or
'/config/menu'
or $Vend::InternalHTTP;
$value =~ s./$..;
$value;
}
All you need to do is add or '/config/menu' and it will make the error go
away.
Be sure to chmod Config.pm back to 444
Hope this helps...
-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of Cory
Sent: Thursday, April 27, 2000 4:28 PM
To: minivend-users@minivend.com
Subject: [mv] Re: MiniMate Seems to be making errors!
****** message to minivend-users from Cory
<digital@arcane.specialty-books.com> ******
I accidentally hit the ^X button in Pine and the message wisked away,
about 50% done. I apologize for the extra traffic and the trouble this
causes everyone
Original Message:
> MV Version : MV 3.14-5
> MiniMate : 3.14.0.3
>
> Server: RedHat 5.2 based / Perl 5.005_03 built for i686-linux
>
> The error is placed in the /home/minivend/error.log (which is the base
> MiniVend error log for my installation.)
>
> It deals with one of my catalogs, ISIM. The error generated is:
>
> abyss.DOMAIN.com QfCGr69N:DOMAIN.com -
> [27/April/2000:18:15:04 -0400] isim /cgi-bin/isim/config/menu The VendURL
> directive (now set to '') should probably
> > start with 'http:' or 'https:'
> > In line 30 of the configuration file '':
> > UserTag table-font Routine <<EOR
> >
The Rest:
I believe this error is being caused by this piece of code in the
menu.html file (~/lib/MiniMate/pages/config/menu.html) :
<UL>
<LI><A HREF="[directive-value VendURL 1]" TARGET="_blank">
[L]in new window[/L]
</A><BR>
<LI><A HREF="[directive-value VendURL 1]" TARGET="_top">
[L]in top of this window[/L]
</A><BR>
</UL>
I think the error message is generated twice (once for each appearance of
the [directive-value VendURL 1] tag.
I double checked to make sure that no errors of this type are generated at
catalog start, and that no errors are generated using the store normally.
I also checked to make sure that VendURL was set properly in my
/cats/isim/catalog.cfg (the location of the isim [catalog w/ problem])
file.
I have not looked at the other stores on the server for this trouble, but
I *think* that MiniMate would generate the same error, regardless of
catalog.
I will test this, and if it reveals anything interesting, I'll post more.
The problem doesn't seem to cause any REAL trouble, but I thought perhaps
I could fix it and save some space in my error.log file ;)
Thanks --
Cory
-
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
-
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