From: tlagard at seidata.com (Tom LaGard )
Date: Wed, 31 Jan 2001 14:01:15 -0500
Subject: [ic] PayPal and interchange
What I did to incorporate paypal and interchange was just put a banner on
the
reciept page and have them click on that and enter the order number as the
item
number. If you are not planning on selling a lot of products a day through
your
site. I am going to look at it some more and try and incorporate the
autopay that
they have to offer.
Tom LaGard
Web Developer
SEI Data, INC
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Michelle
Sent: Wednesday, January 31, 2001 1:40 PM
To: interchange-users@lists.akopia.com
Subject: [ic] PayPal and interchange
Hi,
Is anyone currently using interchange with PayPal? If so, would you provide
a detailed explanation, and code if possible. Please excuse my lack of
knowledge, I am not a programmer.
Thank you to everyone for your advice on search engine question. All help is
greatly appreciated.
Michelle B
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: mystic at mantramail.com (Mystic Mysterious )
Date: Thu, 01 Feb 2001 00:40:42
Subject: [ic] Help Urgent ( Installing Demo Catalogue )
Hello Everyone,
I am a total newbie to Akopia Interchange. I have
installed Interchange on the server. Now, when i am
running demo catalogue installation, it exits
installation with an error ( the error is stated below ) :
"mkdir /usr/local/etc/httpd/htdocs/construct: Permission
denied at bin/makecat line 1355"
Please help me as sson as possible, as this is real
urgent.
Regards
mystic
------------------------------------
Email for life. Free registration at
http://email.mantraonline.com/
From: mystic at mantramail.com (Mystic Mysterious )
Date: Thu, 01 Feb 2001 00:40:48
Subject: [ic] Help Urgent ( Installing Demo Catalogue )
Hello Everyone,
I am a total newbie to Akopia Interchange. I have
installed Interchange on the server. Now, when i am
running demo catalogue installation, it exits
installation with an error ( the error is stated below ) :
"mkdir /usr/local/etc/httpd/htdocs/construct: Permission
denied at bin/makecat line 1355"
Please help me as sson as possible, as this is real
urgent.
Regards
mystic
------------------------------------
Email for life. Free registration at
http://email.mantraonline.com/
From: res087jh at verizon.net (Dan Garwood )
Date: Wed, 31 Jan 2001 14:17:00 -0500
Subject: [ic] Help Urgent ( Installing Demo Catalogue )
> Hello Everyone,
>
> I am a total newbie to Akopia Interchange. I have
> installed Interchange on the server. Now, when i am
> running demo catalogue installation, it exits
> installation with an error ( the error is stated below ) :
>
> "mkdir /usr/local/etc/httpd/htdocs/construct: Permission
> denied at bin/makecat line 1355"
Are you running the makecat program as root? or does the user you are login
as have permission to run the makecat program...this is an issue of
permissions.
> Please help me as sson as possible, as this is real
> urgent.
>
> Regards
> mystic
>
Dan Garwood
Que Solutions
(813)659-3450
From: chris at sitemajic.net (Chris Jesseman )
Date: Wed, 31 Jan 2001 14:29:37 -0500 (EST)
Subject: [ic] Set different prices to each color(or size).
Thomas,
You can create multiple columns in the pricing table to adjust for different
prices, ie 28x32|28x34| etc.
I'm getting ready to use this scheme in a clothing store:
http://developer.akopia.com/archive/interchange-users/1999/msg05613.html
There is a lot more info in the docs and mailing lists.
-Chris
Quoting "Thomas N. Stefanidis" <thomas@prometheas.gr>:
> Any help?
> I can't insert any items because almost all of them have many colors
> (and many different prices).
> Any ideas???
>
>
> Thomas
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
Chris Jesseman, President
http://www.sitemajic.net
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Wed, 31 Jan 2001 21:58:06 +0200
Subject: [ic] How to remove affiliates?
Any ideas?
From: fehler at usvideocenter.de (fehler )
Date: Wed, 31 Jan 2001 21:04:03 +0100
Subject: [ic] Cross Sell Items
Hi out there, we have encountered a very strange prob. It is not possible to
have interchange give us correct cross sell items.
we have deleted using the ui all items in the merchandising.dbdm, then using
the ui tool we picked an item and also an category
if we understand it right, interchange should then give us the picked item
only if another item is picked with the same category.
but the item shows up all the time ? is there something we missed ?
From: brianmac at brimac.com (Brian M )
Date: Wed, 31 Jan 2001 13:13:06 -0800
Subject: [ic] Using atsbank / merchantcommerce with Interchange
> Has anyone configured IC to work with atsbank / merchantcommerce ??
>
> Any examples? Code??
>
>
> --
> ==============================================
> Scott D. Medlock scottm@cosimo.net
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
I've done this. It involves changing most of the checkout page. The credit card is entered on the ATS secure server, not on the
interchange server. The way I have it, order info is sent to you from ATS by email, not from interchange. No CC info is kept in
interchange or sent over email or unsecure server connections this way. I'm not where I can access the files at the moment, but if you
want I can send you my revised checkout page this evening. You'll have to put in your merchant number in a few places, and create the
accepted.html and declined.html pages used by ATS. Email me directly if you would like the pages.
--
Brian brianmac@brimac.com
Sent using NeoMail, a web-based e-mail client.
http://neomail.sourceforge.net
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Wed, 31 Jan 2001 16:35:25 -0600
Subject: [ic] Interchange now a Red Hat product
Mike (or anyone that this might apply to),
Does this mean efforts towards the GUI are for naught? Is a GUI slated for
release by RH with the product? If I have hit a sensitive note a private
message would be fine. Kinda fingured it somewhat correct in my assessment
awhile back :) Hope everyone does very well with this venture.
Steve
Mike Heins wrote:
> Dear All,
>
> I am excited to announce...We thank you all, and hope that you
> will proceed with us on the next stage of the journey.
>
> Best Regards,
> Mike Heins
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
From: greg at valuemedia.com (Greg )
Date: Wed, 31 Jan 2001 13:44:19 -0800
Subject: [ic] continue shopping button
Hi all,
I have a simple question, I want the continue shopping button on the basket
page to bring the customer back to the last page that he or she was at prior
to adding and item to the basket. The current setting for the continue
shopping button is:
[set Continue shopping]
mv_todo=return
mv_nextpage=main
[/set]
I am sure I read something in the mail list a long time ago (probably in
minivend) on how to access the last page viewed, but I have been unable to
find it again on the list. I know I need mv_nextpage=[something here], but
cannot figure out or remember what that is. I know someone probably has
this off the top of their head, or at least I hope so. Thank you in
advance,
Greg
Valuemedia.com
14355 Fern Dell Lane
La Pine, OR 97739
Toll Free 1-877-631-2888
Phone 1-541-388-0100
Fax 1-541-388-0200
email sales@valuemedia.com
URL http://www.valuemedia.com
From: rsmith at crepsunited.com (Robert Smith )
Date: Wed, 31 Jan 2001 17:20:42 -0500
Subject: [ic] Clear shopping cart?
Hey everybody...2 little questions:
1) Anybody have any code for clearing the shopping cart via a button or
similar? How would I go about that?
2) I was trying to write a Usertag to do #1, but I keep getting an error:
UserTag 'clear_cart' code is not a subroutine reference
In line 332 of the configuration file 'catalog.cfg':
UserTag clear_cart Routine <<EOR
Yet here is how it is in catalog.cfg:
UserTag clear_cart Order cart
UserTag clear_cart Routine <<EOR
sub {
my ($cart) = @_;
$cart = 'main' unless $cart;
my $counter = 0;
do {
splice @{$Carts->{$cart}}, $counter--, 1;
++$counter;
} until $counter > $#{$Carts->{$cart}};
return '';
}
Any help would be much appreciated!
Robert Smith
From: doug at lathi.net (Doug Alcorn )
Date: 31 Jan 2001 17:15:39 -0500
Subject: [ic] Sofware Development from Russia ($15-$20 per hour)
"Dan Garwood" <res087jh@verizon.net> writes:
> STOP SPAMMING THIS GROUP,
>
> This list is not for advertising. We would appreciate you not advertising on
> this list. This list is to help communicate problems with Interchange. This
> is clear and blatant spam and should be reported as such.
>
> Mike please remove this guy from the list please.
>
I don't know that he is subscribed. Does the list have a subscription
requirement to post? That is a questionable policy. I have
implemented it on one of my other lists. The results are mixed; zero
spam, but measurable user frustration.
This message has shown up on other mailing lists I belong to as well.
I think this is classic spam in that it is just sent to as many
addresses as possible. I am quite certain he's not going to see your
response.
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: res087jh at verizon.net (Dan Garwood )
Date: Wed, 31 Jan 2001 17:31:03 -0500
Subject: [ic] Sofware Development from Russia ($15-$20 per hour)
Okay Russian hunting party. Who is with me? Yeah your right. I just noticed
one in Mysql. I pitty the person that spends that little, because they will
get what they paid for or be drug out to the end of time and cost as much as
a true professional firm. Sorry to clutter the list all.
I do know that Mike has a spam policy on the list. I know I have read it.
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Doug
> Alcorn
> Sent: Wednesday, January 31, 2001 5:16 PM
> To: interchange-users@minivend.com
> Subject: Re: [ic] Sofware Development from Russia ($15-$20 per hour)
>
>
> "Dan Garwood" <res087jh@verizon.net> writes:
>
> > STOP SPAMMING THIS GROUP,
> >
> > This list is not for advertising. We would appreciate you not
> advertising on
> > this list. This list is to help communicate problems with
> Interchange. This
> > is clear and blatant spam and should be reported as such.
> >
> > Mike please remove this guy from the list please.
> >
>
> I don't know that he is subscribed. Does the list have a subscription
> requirement to post? That is a questionable policy. I have
> implemented it on one of my other lists. The results are mixed; zero
> spam, but measurable user frustration.
>
> This message has shown up on other mailing lists I belong to as well.
> I think this is classic spam in that it is just sent to as many
> addresses as possible. I am quite certain he's not going to see your
> response.
> --
> (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
> oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
> |_/ If you're a capitalist and you have the best goods and they're
> free, you don't have to proselytize, you just have to wait.
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: support at mediaservices.net (MediaServices Network )
Date: Wed, 31 Jan 2001 16:34:15 -0600
Subject: [ic] Sofware Dev from Russia
>>>off-shore programmers
Just what we all need, programmers sitting on some boat in the ocean off of
Siberia. I guess the radiation has not cleared the air there yet ;-)
Russ Smith
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Doug
Alcorn
Sent: Wednesday, January 31, 2001 4:16 PM
To: interchange-users@minivend.com
Subject: Re: [ic] Sofware Development from Russia ($15-$20 per hour)
"Dan Garwood" <res087jh@verizon.net> writes:
> STOP SPAMMING THIS GROUP,
>
> This list is not for advertising. We would appreciate you not advertising
on
> this list. This list is to help communicate problems with Interchange.
This
> is clear and blatant spam and should be reported as such.
>
> Mike please remove this guy from the list please.
>
I don't know that he is subscribed. Does the list have a subscription
requirement to post? That is a questionable policy. I have
implemented it on one of my other lists. The results are mixed; zero
spam, but measurable user frustration.
This message has shown up on other mailing lists I belong to as well.
I think this is classic spam in that it is just sent to as many
addresses as possible. I am quite certain he's not going to see your
response.
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: support at integricity.com (Integricity Support Team )
Date: Thu, 01 Feb 2001 07:03:52 +0800
Subject: [ic] Changing mv_* vars
Hello all,
Just a quick question, how do you set the mv_* vars ?
Can't seem to find it in the documentation.
Thanks
Best regards,
Alex Lam
mailto:support@integricity.com
Integricity Corporation
From: rene at hertell.com (Rene Hertell )
Date: Thu, 1 Feb 2001 01:10:20 +0200
Subject: [ic] Sofware Development from Russia ($15-$20 per hour)
} -----Original Message-----
} From: interchange-users-admin@lists.akopia.com
} [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of
} sw000000@mail.ru
} Sent: 31 January 2001 19:37
} To: interchange-users@minivend.com
} Subject: [ic] Sofware Development from Russia ($15-$20 per hour)
If they can't spell SOFTWARE correct, so how much time and money would it
take for them to find missing letters in their own code... ;)
From: rene at hertell.com (Rene Hertell )
Date: Thu, 1 Feb 2001 01:11:06 +0200
Subject: [ic] Sofware Dev from Russia
} >>>off-shore programmers
}
} Just what we all need, programmers sitting on some boat in the
} ocean off of
} Siberia. I guess the radiation has not cleared the air there yet ;-)
If I got it right, there is no ocean near Siberia... :)
Rene
From: warren-odom at stenocall.com (Warren Odom )
Date: Wed, 31 Jan 2001 17:21:05 -0600
Subject: [ic] Sofware Dev from Russia
What about the Arctic Ocean?
-- Warren
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com] On Behalf Of Rene Hertell
Sent: Wednesday, January 31, 2001 5:11 PM
To: interchange-users@lists.akopia.com
Subject: RE: [ic] Sofware Dev from Russia
} >>>off-shore programmers
}
} Just what we all need, programmers sitting on some boat in the
} ocean off of
} Siberia. I guess the radiation has not cleared the air there yet ;-)
If I got it right, there is no ocean near Siberia... :)
Rene
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: chennaor at netvision.net.il (Chen Naor )
Date: Thu, 1 Feb 2001 01:32:05 +0200
Subject: [ic] pgsql - sql query with regular-expression
Hi,
using postgresql 7.0.3.
I'm trying to use regular-expression in a sql queries - is it possible in
minivend/interchange? (it works in pgsql)
This is what I'm trying to do, but I fail:
[query
list=1
st=db
sql=|
SELECT COUNT(*) FROM products
WHERE category = 'BOGU' and countries like ~
'[^A-Z]*(AT)[^A-Z]*' |
]
[sql-param count]
[/query]
Thanks
Chen Naor
Lilux Systems.
http://www.lilux.co.il
email: chen@lilux.co.il
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Thu, 1 Feb 2001 08:35:08 +0800
Subject: [ic] Category Searching (also interested)
as soon as i get some time, i'm going to write some stuff up for the
building a catalog manual - my first catalog has been built from the ground
up, and as such i've learnt a far bit as to how the basic functions all fit
together - and I have to say, this is one of the areas where the currently
available documentation does lack. but what is an open source projcet for
except for average everyday joes to contribute where they can?
----- Original Message -----
From: msquared <msquared@digitalwizards.com.au>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, January 31, 2001 5:35 PM
Subject: Re: [ic] Category Searching (also interested)
> On Mon, Jan 22, 2001 at 10:44:40AM +0100, Company InterNet Services wrote:
>
> > >I have a customer who would like to have customers select a category,
and
> > >then enter a search term. The system would then return only the
results
> > >that contain that term and contain an entry in the category field
matching
> > >the selected category. Could anyone suggest an easy and efficient way
to
> > >accomplish this?
> >
> > I would also like to more about this...
>
> Same goes for me.
>
> Perhaps someone knowledgable enough could write a FAQ entry, or something?
> Seems like a common enough question... :)
>
> 2
> Regards, /|/|
> / | (MSquared)
> --
> ___________________________________________
> M Squared <msquared@digitalwizards.com.au>
> Product development
> Digital Wizards
> http://www.digitalwizards.com.au
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Thu, 1 Feb 2001 08:44:09 +0800
Subject: [ic] form_mail.
i think the problem here is that basically, it's pretty hard to know where
to start sometimes. You want to achieve a result, and you really have no
idea what to start grepping for. ok, this example is probably a little
sily - "email" is a *too* obvious thing to grep for - the only reason I
didnt think to do it was that the old MV 4.0 way of sending an email was
completely different - I grepped all over the place for those tags, and
didnt find anything :)
----- Original Message -----
From: Mike Heins <mikeh@minivend.com>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, January 31, 2001 7:15 PM
Subject: Re: [ic] form_mail.
> Quoting Rene Hertell (rene@hertell.com):
> > } This is because we don't use that anymore:
> > }
> > } [email from="me@mine.com" to="you@yours.com" subject="Testing
> > } email tag"]
> > } This is the message.
> > } [/email]
> > }
> > } Much better, I think. There are several examples in the demos...
> >
> > Is there a version of this usertag that can use CC and BCC?
> >
>
> Yes, but it is time to read the source and docs. There is also:
>
> [email-raw]
> From: me@mine.com
> To: you@yours.com
> Subject: Testing
> Bcc: whoever@whereever.com
>
> Message.
> [/email-raw]
>
> Again, look at the examples. Does noone besides me know how to
> use grep? 8-)
>
> --
> Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> phone +1.513.523.7621 fax 7501 <heins@akopia.com>
>
> Unix version of an Outlook-style virus:
> It works on the honor system. Please forward this message to everyone
> you know, and delete a bunch of your files at random.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: jnealy at symetrek.com (John Nealy )
Date: Wed, 31 Jan 2001 19:58:23 -0500
Subject: [ic] How to set zero shipping
I know this in the archives somewhere, but I can't seem to find it. How
do I go about setting the shipping cost to zero if a customer lives in a
city where my client will deliver the product to their doorstep?
(If any one knows the post with this answer just direct me there)
Thanks
John Nealy
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 31 Jan 2001 21:08:04 -0500
Subject: [ic] pgsql - sql query with regular-expression
Quoting Chen Naor (chennaor@netvision.net.il):
> Hi,
> using postgresql 7.0.3.
> I'm trying to use regular-expression in a sql queries - is it possible in
> minivend/interchange? (it works in pgsql)
>
> This is what I'm trying to do, but I fail:
> [query
> list=1
> st=db
> sql=|
> SELECT COUNT(*) FROM products
> WHERE category = 'BOGU' and countries like ~
> '[^A-Z]*(AT)[^A-Z]*' |
> ]
>
> [sql-param count]
>
> [/query]
>
[sql-pos 0]
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
I have a cop friend who thinks he ought be able to give a new ticket;
"too dumb for conditions".
From: msquared at digitalwizards.com.au (msquared )
Date: Thu, 1 Feb 2001 12:08:40 +0800
Subject: [ic] Search parameters in tutorial
I've been playing with the tutorial (which is very informative, I might
add), and came across a problem.
I set up the search box on the tutorial site as per the instructions in
the tutorial:
http://developer.akopia.com/cgi-bin/ic/dev/iccattut_50.html
However, it seems to search every field in the product table, not just the
ones that are listed.
It didn't seem to matter what I changed the sf (search field) to in the
[set testname][/set] tags. I assume that sets a server-side session
variable, which is then referenced by the hidden form field mv_profile?
As a side issue, it seems that we can add interchange tags to user
comments on the tutorial. You'll note that I made three tries at
indicating some interchange tags in the user comments before I finally got
it right. :-)
Is that a potential security risk?
2
Regards, /|/|
/ | (MSquared)
--
___________________________________________
M Squared <msquared@digitalwizards.com.au>
Product development
Digital Wizards
http://www.digitalwizards.com.au
From: heins at akopia.com (Mike Heins )
Date: Wed, 31 Jan 2001 23:57:27 -0500
Subject: [ic] Search parameters in tutorial
Quoting msquared (msquared@digitalwizards.com.au):
> As a side issue, it seems that we can add interchange tags to user
> comments on the tutorial. You'll note that I made three tries at
> indicating some interchange tags in the user comments before I finally got
> it right. :-)
>
> Is that a potential security risk?
Yes, and thank you for pointing it out. There is always a risk when you
display user data that gets put directly in a database. In this case,
the problem was supposed to be prevented by:
@scrub = split /[\s,\0]+/, $CGI->{mv_data_fields};
for( @scrub ) {
$CGI->{$_} =~ s/\[/[/g;
}
Recently one of our people used the UI page editor to edit the page and
it became after the entities were translated on the way in:
for( @scrub ) {
$CGI->{$_} =~ s/\[/[/g;
}
Oops. The UI page editor is a no-no right now for embedded Perl because
of this -- I will see if I can figure out a way to deal with this in
the future.
One thing that comes to mind is a directive like NoSearch which specifies
tables which should be allowed to contain square brackets (things that might
contain JavaScript, etc.) All others would not be allowed to have
them. Then you filter the resulting data on output.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Function in chaos, finish in style. -- Unknown
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Wed, 31 Jan 2001 22:26:36 -0800
Subject: [ic] Clear shopping cart?
Here's the code I use to clear the cart, I have this on my basket page.
[button
text="Clear Basket"
src="other/clear_basket.gif"
hidetext=1
form=basket
]
mv_todo=cancel
mv_nextpage=index
[/button]
This should work for you. The mv_todo=cancel should clear the cart and the
mv_nextpage=index will bounce you to index.html. Take it easy!
-Ron
----- Original Message -----
From: "Robert Smith" <rsmith@crepsunited.com>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, January 31, 2001 2:20 PM
Subject: [ic] Clear shopping cart?
> Hey everybody...2 little questions:
>
> 1) Anybody have any code for clearing the shopping cart via a button or
> similar? How would I go about that?
>
> 2) I was trying to write a Usertag to do #1, but I keep getting an error:
>
> UserTag 'clear_cart' code is not a subroutine reference
> In line 332 of the configuration file 'catalog.cfg':
> UserTag clear_cart Routine <<EOR
>
> Yet here is how it is in catalog.cfg:
>
> UserTag clear_cart Order cart
> UserTag clear_cart Routine <<EOR
> sub {
> my ($cart) = @_;
>
> $cart = 'main' unless $cart;
> my $counter = 0;
>
> do {
> splice @{$Carts->{$cart}}, $counter--, 1;
> ++$counter;
> } until $counter > $#{$Carts->{$cart}};
>
> return '';
> }
>
> Any help would be much appreciated!
>
> Robert Smith
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: mikeh at minivend.com (Mike Heins )
Date: Thu, 1 Feb 2001 01:32:45 -0500
Subject: [ic] Tips and Tricks: Locking down your system
Tips and Tricks: Locking down your system
Interchange has lots of built-in protections to make developing your
catalogs pretty care-free. But it will definitely pass you the ammo
to shoot yourself in the foot, as will any templating system that has
power. So you have to be careful, as you do in any scripting environment.
Most of the protections have to do with:
* Tags like [cgi foo], [data ...] and such are not reparsed for tags.
(The only non-container tags that are
* The [value foo] tag never allows a left square bracket to be output.
* Safe is used for Perl, which means that arbitrary perl code
which reads/writes or uses IO is not possible.
* The Interchange files don't need to be readable or writable
by any other user ID, so CGI/PHP programs run by the web server
can't get at them.
* Dangerous operations are allowed only via global UserTag,
and not by catalog UserTag.
But there are ways that user-entered data could end up getting
parsed for tags. The most common breach is to take possibly
tainted user data entered into a form and put it in a database
without filtering it first. There are several ways to do
that:
1. For user-entered form fields like name, address, etc
you should always use the [value ...] tag to display
them.
2. You can filter lists of variables automatically with
Filter name textarea_put
Filter address textarea_put
Filter comments textarea_put
Filter email textarea_put
in catalog.cfg.
3. You can prevent problems in some cases by using the data tag
(i.e. [data table=foo col=bar key="[item-param something]"])
which is not reparsed for tags as [item-data ....] is.
This is not foolproof unless you control the key in some fashion --
in most cases, you will use [data session username] or something
you control.
4. You should never put user-entered data directly in a Scratch
variable, which can be called with mv_click and mv_check.
5. Process all user-entered data before putting it in a
database that could be displayed in a page later. Or process
it before it is displayed.
6. When putting data inside a container tag, the output of which
is reparsed for more tags by default, consider setting reparse=0.
There are other ways to nail down your system and make it more
difficult to have a security problem.
* Use the WRITE_CONTROL database settings.
Database products WRITE_CONTROL 1
It is the default for MV DBM databases (i.e. you have to have a
[flag type=write table=foo] to write) but not for SQL.
The UI does the proper write flagging, so this should have
no effect on it.
AUTHORS NOTE: I should have made WRITE_CONTROL the default for SQL
in MV4, my bad. As long as MV3 compatibility was as poor as it turned
out to be, I should have gone for it.
* Set "NoAbsolute Yes" in interchange.cfg, it prevents [file /some/dir]
or [include /some/rogue/file] from being used. NOTE: This is the
default starting in IC 4.7.x.
* Split the admin server onto a different IC iteration from your
production catalog, and disable the UI for the production
catalog. That allows you to set the pages/ directory to be read-only
for the production server, and to put WRITE_CONTROL in the production
catalog_after.cfg or etc/<catalog id>.after file.
You could also use a different username to access the SQL data,
and make the production server username have read-only access.
You can use a different UID for the admin server iteration,
and make all directories except products/, upload/, tmp/, session/,
and logs/ read-only for the production server UID.
* Make as much stuff read-only as you can. Develop a script which
sets things read-write while you are admin-ing, and read-only
otherwise.
* Always make ICDIR/*.cfg, ICDIR/bin/*, and ICDIR/lib/* read-only for
the IC user.
* Don't let the interchange daemon user ID have read or write permission
on things it doesn't need.
* Never use AllowGlobal in production if you have user-entered data
going into a database. (AllowGlobal is not the default, so many
people won't know what it is -- see Interchange Configuration.)
Things that are in the works for 4.8 to improve security are:
* Better default security settings in the demo.
* Better permissions settings in the UI.
* Optional filtering for tables, with explicit override to
allow [ in certain situations.
* bin/set_permissions script to audit (and optionally fix)
permission loopholes.
* New global config paramter:
ReadOnlyConfig Yes
If the IC daemon has write permission on any file that it reads for
global config, or for any executable module, it refuses to use it.
* New [table-editor] tag which allows you to do secure entry
forms without having to worry about every byte.
All in all, Interchange has been proven to be securable over time.
But we all have to do our part and think about what we are doing
with user-entered data.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: ramoore at axion-it.net (Randy Moore )
Date: Thu, 01 Feb 2001 02:00:27 -0500
Subject: [ic] MIME header confusion for some mail clients (Eudora/PINE)
I've been digging into the much discussed problem of MIME headers for order
reports (etc/report) from the demo for certain mail clients. In my case, it
is Eudora but some PINE users have seen the same problem.
Basically what seems to happen is that with the default 'etc/report' setup,
we only see the MIME block for the credit card number. Our mail clients
hide the entire order_text section.
I've figured out that this is due to the Content-Type header at the top of
the email message (not the ones included with each MIME block).
This first Content-Type header is always:
Content-Type: multipart/alternative; BOUNDARY .......
But my understanding is that this tells the mail client to pick whichever
of the following content type options it can best display (I could easily
be wrong with this interpretation BTW).
So, I looked for a way to change this header to
Content-Type: multipart/mixed; BOUNDARY ......
Which (I believe) lets the mail client treat each MIME block separately.
In the "sub mime" code in Interpolate.pm, I found that there is an option
called "attach_only", which if set would change the Content-Type appropriately.
After much experimenting, I realized that setting the "attach_only" option
in my [tag op=mime] tags in 'etc/report' will not help because some other
call to the 'sub mime' subroutine is setting this first MIME tag.
I found it in Order.pm, at line 1877:
$mime = Vend::Interpolate::mime('header', {}, '') if $use_mime;
But from this there is no run-time way of setting the "attach_only" option.
I can (and did) change this line to:
$mime = Vend::Interpolate::mime('header', {attach_only => 1}, '') \
if $use_mime;
This worked perfectly for me, but is clearly not what was intended for
general use.
BTW, I know I could simply remove all the MIME tags from 'etc/report' and
Eudora would get along just fine, but I'm interested in a more universal
solution here (a demo that works for everyone).
So does any one know of a general solution out of this? I don't know what
(if any) problems there would be if the default Content-Type were changed
from multipart/alternative to multipart/mixed.
Suggestions anyone?
Randy Moore
Axion Information Technologies, Inc.
email ramoore@axion-it.net
phone 301-408-1200
fax 301-445-3947
From: ramoore at axion-it.net (Randy Moore )
Date: Thu, 01 Feb 2001 02:24:06 -0500
Subject: [ic] Another MIME issue for attachments, filenames
How do I assign a filename to an attachment when using the [tag mime ..]
tags?
I seem to remember that this is possible, but I can't find anything in the
archives or in skimming the code.
If this is not possible currently, would Akopia appreciate a patch to
Interpolate.pm that makes it possible? If so, I'd be happy to supply one.
Thanks.
Randy Moore
Axion Information Technologies, Inc.
email ramoore@axion-it.net
phone 301-408-1200
fax 301-445-3947
From: jason at sohonetworks.cc (Jason Osborne )
Date: Thu, 1 Feb 2001 01:23:12 -0600
Subject: [ic] A couple quick questions about your product...
Hello, I am trying to decide if Akopia's Interchange is the right E-commerce
solution for the company I work for. We are going to need to sell Nokia
products through an e-commerce package and was wondering if Interchange
would work. Here are the questions the big man upstairs has given me to
answer. Please tell me if these don't apply.
a) Do you provide with a PC program that will rate shipments? If so, please
describe if there is any charge for this service.
b) Describe your company’s Electronic Data Interchange (EDI) capabilities
and give examples of how your EDI system is used by other shippers.
c) Describe your shipment tracking and proof of delivery capabilities. Can
Nokia obtain verbal, faxed and written proof of delivery.
Thank you for all your help, Jason.
--
Jason Osborne
Data and Telecom Network Solutions
Your total Internetworking solutions provider!
3847 Timberglen Rd., STE 4013
Dallas, TX 75287
Phone: 972-307-0676
Pager: 972-320-2426
Web: http://www.sohonetworks.cc
E-mail: sales@sohonetworks.cc
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Wed, 31 Jan 2001 23:38:52 -0800
Subject: [ic] Another MIME issue for attachments, filenames
Hello Randy,
Here is the code used when attaching the credit card info in it's encrypted
form. This is present in the file:
CAT_ROOT/etc/report
[tag op=mime
interpolate=1
type=application/pgp-encrypted
description="CreditCard_[value mv_order_number]"]
[value mv_credit_card_info]
[/tag]
The 'description' field is what sets the filename from what I see. Good
luck!
-Ron
----- Original Message -----
From: "Randy Moore" <ramoore@axion-it.net>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, January 31, 2001 11:24 PM
Subject: [ic] Another MIME issue for attachments, filenames
> How do I assign a filename to an attachment when using the [tag mime ..]
> tags?
>
> I seem to remember that this is possible, but I can't find anything in the
> archives or in skimming the code.
>
> If this is not possible currently, would Akopia appreciate a patch to
> Interpolate.pm that makes it possible? If so, I'd be happy to supply one.
>
> Thanks.
> Randy Moore
> Axion Information Technologies, Inc.
>
> email ramoore@axion-it.net
> phone 301-408-1200
> fax 301-445-3947
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Thu, 1 Feb 2001 15:50:41 +0800
Subject: [ic] Interchange and categories
Hi all!
I just managed to get Interchange working with postgreSQL. The products are
currently listed as one long list.
What I would like to do is to know how to separate my products into
different categories.
Regards,
Bryan Chen
TechMex Far East Pte Ltd
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Thu, 1 Feb 2001 16:06:08 +0800
Subject: [ic] Interchange and categories
easiest way is to add another column called "category" and in there, put the
name of the category you want the product to reside in. then, when building
your searches, search the category field for that string. simple :)
----- Original Message -----
From: Bryan Chen <bryan_chen@techmex.com.sg>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, February 01, 2001 3:50 PM
Subject: [ic] Interchange and categories
> Hi all!
>
> I just managed to get Interchange working with postgreSQL. The products
are
> currently listed as one long list.
>
> What I would like to do is to know how to separate my products into
> different categories.
>
> Regards,
> Bryan Chen
> TechMex Far East Pte Ltd
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Thu, 1 Feb 2001 16:19:10 +0800
Subject: [ic] Interchange and categories
That's right! Why didn't I think of that! Thanks!
One more thing:
How do I have an inventory table in the database like the "construct" demo?
Thanks again!
-----Original Message-----
easiest way is to add another column called "category" and in there, put the
name of the category you want the product to reside in. then, when building
your searches, search the category field for that string. simple :)
----- Original Message -----
> Hi all!
>
> I just managed to get Interchange working with postgreSQL. The products
are
> currently listed as one long list.
>
> What I would like to do is to know how to separate my products into
> different categories.
>
> Regards,
> Bryan Chen
> TechMex Far East Pte Ltd
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: mikeh at minivend.com (Mike Heins )
Date: Thu, 1 Feb 2001 03:25:32 -0500
Subject: [ic] MIME header confusion for some mail clients (Eudora/PINE)
Quoting Randy Moore (ramoore@axion-it.net):
[snip beginning of nice analysis]
> So, I looked for a way to change this header to
> Content-Type: multipart/mixed; BOUNDARY ......
>
> Which (I believe) lets the mail client treat each MIME block separately.
>
> In the "sub mime" code in Interpolate.pm, I found that there is an option
> called "attach_only", which if set would change the Content-Type appropriately.
>
> After much experimenting, I realized that setting the "attach_only" option
> in my [tag op=mime] tags in 'etc/report' will not help because some other
> call to the 'sub mime' subroutine is setting this first MIME tag.
>
> I found it in Order.pm, at line 1877:
> $mime = Vend::Interpolate::mime('header', {}, '') if $use_mime;
>
This is correct.
> But from this there is no run-time way of setting the "attach_only" option.
>
> I can (and did) change this line to:
> $mime = Vend::Interpolate::mime('header', {attach_only => 1}, '') \
> if $use_mime;
>
> This worked perfectly for me, but is clearly not what was intended for
> general use.
>
> BTW, I know I could simply remove all the MIME tags from 'etc/report' and
> Eudora would get along just fine, but I'm interested in a more universal
> solution here (a demo that works for everyone).
>
> So does any one know of a general solution out of this? I don't know what
> (if any) problems there would be if the default Content-Type were changed
> from multipart/alternative to multipart/mixed.
Multipart alternative allows you to default the first part of the message
display to text display without having to operate on the attachement. In
other words, a text part followed by one or more attachments.
My mail client handles them just fine.
>
> Suggestions anyone?
Update the current hacked-up MIME I did 5 years ago to use a real module
like MIME_Lite. If you want to see how far we have come in coding
standards, look at the mime() and send_mail() routines. Yuck. 8-)
I anticipate we will be doing this soon; we are working on a total
payment/routing/mail update for 4.8 and this can be part of it. (For
instance, we will be removing the dependency on a mailer program that
uses -t and probably make Mail::Send or somesuch available.)
I am always hesitant to Yet Another Module, but luckily this
is an infrequently done operation that can only be "require"ed when
needed. And we can modularize the current stuff to be a fallback in
case people don't have those modules.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
From: ramoore at axion-it.net (Randy Moore )
Date: Thu, 01 Feb 2001 03:32:01 -0500
Subject: [ic] Another MIME issue for attachments, filenames
At 11:38 PM 1/31/01 -0800, you wrote:
>Hello Randy,
>
>Here is the code used when attaching the credit card info in it's encrypted
>form. This is present in the file:
>
>CAT_ROOT/etc/report
>
>[tag op=mime
> interpolate=1
> type=application/pgp-encrypted
> description="CreditCard_[value mv_order_number]"]
>[value mv_credit_card_info]
>[/tag]
>
>The 'description' field is what sets the filename from what I see. Good
>luck!
Hi Ron,
Yes, that works for Outlook, but not for Eudora. Attachments with proper
filenames under Eudora seem to have an extra MIME header like:
Content-Disposition: attachment; filename="myfile.txt"
Thanks though.
>-Ron
>
>----- Original Message -----
>From: "Randy Moore" <ramoore@axion-it.net>
>To: <interchange-users@lists.akopia.com>
>Sent: Wednesday, January 31, 2001 11:24 PM
>Subject: [ic] Another MIME issue for attachments, filenames
>
>
> > How do I assign a filename to an attachment when using the [tag mime ..]
> > tags?
> >
> > I seem to remember that this is possible, but I can't find anything in the
> > archives or in skimming the code.
> >
> > If this is not possible currently, would Akopia appreciate a patch to
> > Interpolate.pm that makes it possible? If so, I'd be happy to supply one.
> >
> > Thanks.
> > Randy Moore
> > Axion Information Technologies, Inc.
> >
> > email ramoore@axion-it.net
> > phone 301-408-1200
> > fax 301-445-3947
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Randy Moore
Axion Information Technologies, Inc.
email ramoore@axion-it.net
phone 301-408-1200
fax 301-445-3947
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Thu, 1 Feb 2001 16:52:43 +0800
Subject: [ic] Storing orders
How would I go about storing orders in the database and allowing the
administrator to view it from the admin interface, like what "construct"
does.
Thanks!
Bryan
From: mikeh at minivend.com (Mike Heins )
Date: Thu, 1 Feb 2001 04:01:41 -0500
Subject: [ic] Another MIME issue for attachments, filenames
Quoting Randy Moore (ramoore@axion-it.net):
> At 11:38 PM 1/31/01 -0800, you wrote:
> >Hello Randy,
> >
> >Here is the code used when attaching the credit card info in it's encrypted
> >form. This is present in the file:
> >
> >CAT_ROOT/etc/report
> >
> >[tag op=mime
> > interpolate=1
> > type=application/pgp-encrypted
> > description="CreditCard_[value mv_order_number]"]
> >[value mv_credit_card_info]
> >[/tag]
> >
> >The 'description' field is what sets the filename from what I see. Good
> >luck!
>
> Hi Ron,
>
> Yes, that works for Outlook, but not for Eudora. Attachments with proper
> filenames under Eudora seem to have an extra MIME header like:
>
> Content-Disposition: attachment; filename="myfile.txt"
A cheesy hack is to do:
[tag
op=mime
type=text/plain
description=|
A file I want to send
Content-Disposition: attachment; filename="myfile.txt"
|]
That is based upon the fact that the last thing in the header
is description. You could append any header (except Content-Type
and Content-ID).
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: info at ayayu.com (Ayayu Infomation desk )
Date: Thu, 1 Feb 2001 18:32:23 +0900
Subject: [ic] How to modify data item in userdb without minimate ?
Hi all,
I would like to modify data item in userdb, for example membership
level,
in userdb from custom page without minimate.
After login as administrator account, I can list of all of userdb.
I can select a user but I can't modify the value of membership level
code.
It changed administrator's value. Below is the tags in html.
How should I do?
Please any suggestion.
I can change the value from Minimate db maintenance page.
Minivend is 4.04.
Thanks.
S,Murahashi
[tag touch userdb][/tag]
[set Change]
[tag flag write]userdb[/tag]
[userdb function=save]
[/set]
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=Change>
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
<INPUT TYPE=hidden NAME=mv_username VALUE="test">
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=m_userbrowse1>
Member Ship?
<INPUT TYPE=text NAME=membership VALUE=" " SIZE=2>
<INPUT TYPE=submit VALUE="Change" SIZE=10><BR>
</FORM>
From: jojo at buchonline.net (jojo at buchonline.net )
Date: Thu, 1 Feb 2001 10:21:45 +0100 (CET)
Subject: [ic] Changing mv_* vars
On 1 Feb, Integricity Support Team wrote:
> Hello all,
>
> Just a quick question, how do you set the mv_* vars ?
> Can't seem to find it in the documentation.
Maybe
[perl]
$::Values->{mv_<anyname>} = '';
[/perl]
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1671441
45886 Gelsenkirchen FAX: 0209 1671441
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 01 Feb 2001 01:43:12 -0800
Subject: [ic] A couple quick questions about your product...
Jason,
At 01:23 AM 2/1/2001 -0600, you wrote:
>would work. Here are the questions the big man upstairs has given me to
>answer. ^^^^^^^^^^^^^^^^^^^^
You're on speaking terms with GOD!?
>a) Do you provide with a PC program that will rate shipments? If so,
>please
>describe if there is any charge for this service.
Yes, shipments are rated: 1 = bad, 10 = very good. Sorry, I didn't
understand your question.
>b) Describe your company's Electronic Data Interchange (EDI) capabilities
>and give examples of how your EDI system is used by other shippers.
Wow. People still use EDI? I thought that's what XML and Java were
supposed to get rid of. :-) Just kidding. Interchange doesn't come with
any de-facto standard EDI translator. It is written in Perl, and has an
XML translator (if that helps -- we're year 2001 here, buddy).
But there are tons of products/services out there that will take your
database data (which is what Interchange stores it in) and will output it
to any EDI format you want. There is a lot of great open source software
in this area, check out http://www.americancoders.com/OpenBusinessObjects/
especially.
Perl: Procedure Extraction and Reporting Language. It's perfect for
writing an EDI translator, it only took me 8 hours to whip up a trans.pl
that translated EDI -> database. For a current project, I'm just trading
raw database dumps (this time, the other end gets stuck with all the
translation work - ha!).
>c) Describe your shipment tracking and proof of delivery
>capabilities. Can
>Nokia obtain verbal, faxed and written proof of delivery.
Hmm. Shipment tracking is not exactly built into the demo, but it can be
easily done by interfacing with the fedex.com sites and giving a customer
links to access it. Verbal, faxed, and written proof of delivery are
handled by the delivery service, are they not? Or do you mean: will the
confirmation be directly written to your customer records database? I've
been thinking about implementing that, myself, sometime soon.
I hope that helps. You'll find that if Interchange doesn't fit your needs
out of the box, it can stretch to any size. (Mike made it Any Size Fits
All (TM)).
Speaking of trademarks, I had a funny happen today: Customer was working
on getting some things trademarked, and was doing some research when he
said: "Boy, that 'TM' company sure owns a lot of stuff!". He laughed when
I told him that stood for tradmark and said, "Oh! So that's what that
means!". He has two degrees, one is a masters.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: admin at huntinternational.com (Admin )
Date: Thu, 1 Feb 2001 07:32:15 -0700
Subject: [ic] Add new item bug?
When logging into the admin at Akopia.com, when you click on create new
item, you get a nice template. When I click on create new item on my system,
I get an 2 Ok and Cancel buttons. What do I need to do to get a template
setup. I have compared all of my tables with akopias, and they all seem to
be the same. What am I doing wrong?
From: eurosimo at yahoo.com (Simo )
Date: Thu, 1 Feb 2001 06:39:02 -0800 (PST)
Subject: [ic] Removing a User Note
Hi all,
I added a user note to
http://developer.akopia.com/cgi-bin/ic/dev/iccattut_48.html
which i realised was wrong immediately after posting
it. Is there the facility to remove such errors, or do
i just have to wait until the list admin finds it?
:) Simo
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: slickcode at scws.com (Slick Code Engineering )
Date: Thu, 01 Feb 2001 16:34:22 +0000
Subject: [ic] Uk currency problem
Hi all,
we're new to this software, and are having problems getting Interchange
to display a British Pound symbol (£) instead of the US Dollar symbol ($).
We're read the International section in the manual and also the mail
list archives, but still not sure what to do!
We have edited the catalog.cfg file and tried changing en_US to en_UK,
but it makes no difference. This must be a simple change! Can anyone
advise the necessary steps please?
Also, with our experimenting, we seem to have lost the table "locale"
which was listed under 'tables' in the 'administration' section of the
GUI utility. This never existed in the MySQL database anyway (as far
as I could see0, but how do we reload it please?
Many thanks to anyone who can point us in the right direction.
Thanks,
Mike
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Thu, 01 Feb 2001 18:59:09 +0200
Subject: [ic] HELP!My client will check progress of his site in 2 days and....
....... i still can't do 2 things..
I have done everything else....but i can't :
1)Give different prices for each product size......Can't someone please
explain that to me?I have read all documents and i can't get anything
right.
Can anyone tell me what to do(what settings to add,where)?
2)Adding 2 different currencies .... I can use Greek or Euro but not at
the same time.I use the catalog.cfg...but when i uncomment the euro
settings.....all greek settings disappear and only euro shows up (and
vice-versa )...
------catalog.cfg----------
Locale el_GR frac_digits 0
Locale el_GR mon_decimal_point ""
Locale el_GR mon_thousand_sep .
Locale el_GR mon_thousands_sep .
Locale el_GR p_cs_precedes 0
Locale el_GR p_sep_by_space 1
Locale el_GR currency_symbol äñ÷
#Locale eur_EUR PriceDivide 370.750
#Locale eur_EUR p_cs_precedes 0
#Locale eur_EUR currency_symbol euro
#Locale eur_EUR p_sep_by_space 2
#Locale eur_EUR mon_decimal_point ,
------catalog.cfg----------
i'm going crazy!!I still have 2 days!
Any idea would be really a great help
Thomas
From: geek_la at yahoo.com (geek_la at yahoo.com )
Date: Thu, 1 Feb 2001 09:18:41 -0800 (PST)
Subject: [ic] How to set zero shipping
--- John Nealy <jnealy@symetrek.com> wrote:
> I know this in the archives somewhere, but I can't
> seem to find it. How
> do I go about setting the shipping cost to zero if a
> customer lives in a
> city where my client will deliver the product to
> their doorstep?
> (If any one knows the post with this answer just
> direct me there)
> Thanks
>
> John Nealy
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
>
http://lists.akopia.com/mailman/listinfo/interchange-users
We just use a seperate shipping method for local
ground delivery and have a flash applet on the site so
they can look up their zip code.
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: agree at godzone.net.nz (Glen and Rosanne Eustace )
Date: Fri, 2 Feb 2001 06:37:56 +1300
Subject: [ic] Minimate functionality
I'm not sure whether my first posting succeeded in getting to the list
as I wasn't subscribed at the time.
I understand the IC has similiar functionality to what was minimate in
minivend, I wasn't using it in the latter but I can not find it or its
replacement in the former. How does one administer the various databases
over the web, without having to write your own pages ?
Thanks.
--
Glen and Rosanne Eustace,
GodZone Internet Services, a division of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand
Ph: +64 6 357 8168, Mobile: +64 21 424 015
From: agree at godzone.net.nz (Glen and Rosanne Eustace )
Date: Fri, 2 Feb 2001 06:44:21 +1300
Subject: [ic] mv4 -> IC Question
I have just upgraded to IC4.6.1 and the following code no longer works.
<select name="...">
[sql type="list" query="....."]
<option>[sql-param 1]
[/sql]
</select>
I am using postgresql 7.0.3, and this worked fin with mv4
I get the right number of items in the pull down but they are all blank,
the [sql-param 1] is not returning a value.
What should this be changed to ?
--
Glen and Rosanne Eustace,
GodZone Internet Services, a division of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand
Ph: +64 6 357 8168, Mobile: +64 21 424 015
From: davidb at communitylink.com (davidb )
Date: Thu, 01 Feb 2001 11:46:43 -0600
Subject: [ic] Catalog Config SSL
When installing a new catalog, I am having trouble getting SSL to work.
I think that I may be specifing the wrong location for the required
folders. Everything works fine unless I want SSL - which I do - Here's
where I am confused-
Server name? [localhost] this is just my server name, no https, right?
SSL ..
Aliases? is this where the https goes, or do I specify a directory for
files to be placed in? I'm thinking that perhaps if I'm not specifing
the correct dir then that is why I can't PROCEED from my cart.
It looks like when I PROCEED that it finds the https address specified
in the catalog secure server name but it isn't interacting with any
other files. I get a popup that tells me I've chosen a secure document
and I click continue and then I get either the cgi-bin error or that
this page is unavailable. I've checked the SSL folders and there in't
anything there. So the question is, does this sound like my problem and
does anyone know any solutions to get SSL working? I've looked at the
archives and haven't been able to clearly fix this particular problem.
From: wex at ufl.edu (Josh Wexelbaum )
Date: Thu, 01 Feb 2001 13:19:23 -0800
Subject: [ic] modifying default Interchange to have 2 tables in
I'm using the default interchange demo. I want to display 2 columns of results on my results.html page. The problem I'm running into is that it only gets 1 item at a time from the database, so the formatting is difficult.
What is the easiest way to accomplish this?
From: al00283876 at academ01.slp.itesm.mx (al00283876 at academ01.slp.itesm.mx )
Date: Thu, 1 Feb 2001 12:28:51 -0600
Subject: [ic] Catalog Config SSL
im getting the same error, i think is an iexplorer bug that does not accept
dummy ssl certificates or something like that, i only receive this error
using IE... try using netscape and click on the PROCEED button. Both ask
me if i want to accept the certificate but when i answer yes, only netscape
continues with the checkout, explorer gives a dns error or says the page
does not exist.
hope you find a solution for this...
regards
-- Original Message --
>When installing a new catalog, I am having trouble getting SSL to work.
>I think that I may be specifing the wrong location for the required
>folders. Everything works fine unless I want SSL - which I do - Here's
>where I am confused-
>
>Server name? [localhost] this is just my server name, no https, right?
>SSL ..
>Aliases? is this where the https goes, or do I specify a directory for
>files to be placed in? I'm thinking that perhaps if I'm not specifing
>the correct dir then that is why I can't PROCEED from my cart.
>
>It looks like when I PROCEED that it finds the https address specified
>in the catalog secure server name but it isn't interacting with any
>other files. I get a popup that tells me I've chosen a secure document
>and I click continue and then I get either the cgi-bin error or that
>this page is unavailable. I've checked the SSL folders and there in't
>anything there. So the question is, does this sound like my problem and
>does anyone know any solutions to get SSL working? I've looked at the
>archives and haven't been able to clearly fix this particular problem.
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: rkirby at mylineup.com (Raymond Kirby )
Date: Thu, 01 Feb 2001 11:44:07 -0700
Subject: [ic] Interchange server is unavailable...
Fixed
Here's how
rm .../interchange/src/tlink.localhost.7786
rm .../interchange/src/vlink._usr_lib_interchange_etc_socket
rm .../interchange/src/config.cache
rm .../interchange/src/config.h
rm .../interchange/src/config.log
rm .../interchange/src/tlink
rm .../interchange/src/vlink
.../interchange/bin/compile_link
cp .../interchange/src/vlink .../httpd/cgi-bin/store
wolf bang everything worked again yepeeeeee!!!!!
Raymond Kirby
Happijac Company
MIS Manager
e-mail rkirby@NO_SPaM#mylineup.com
From: treahy at mmaz.com (Barry Treahy, Jr. )
Date: Thu, 01 Feb 2001 13:03:33 -0700
Subject: [ic] Uk currency problem
Slick Code Engineering wrote:
> Hi all,
>
> we're new to this software, and are having problems getting Interchange
> to display a British Pound symbol (£) instead of the US Dollar symbol ($).
in the locale for that currency I used:
Locale en_UK currency_symbol £
Barry
--
Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
From: scotta at homer-simpson.learnserv.com (scott andreas )
Date: Thu, 01 Feb 2001 12:06:09 -0800
Subject: [ic] modifying default Interchange to have 2 tables inresults.html
Josh Wexelbaum wrote:
>
> I'm using the default interchange demo. I want to display 2 columns of results on my results.html page. The problem I'm running into is that it only gets 1 item at a time from the database, so the formatting is difficult.
>
> What is the easiest way to accomplish this?
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
Usertag [table-organize]
It makes for create multiple rows and colums very (relative) easy.
Their is documentation about it at akopia's site under "usertags
library" ==> [table-organize]
Note: your going half to declare this tag in catalog.cfg...just copy
UserTag table-organize Order cols ==> EOR
and everything in between to catalog.cfg directory
J. Scott Andreas :)
Programmer/Webintegrator
e-mail: scotta@homer.learnserv.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
--- __o
--- _-\<,_
--- (_)/ (_)
From: jojo at leidinger.net (Hans-Joachim Leidinger )
Date: Thu, 01 Feb 2001 21:14:35 +0100
Subject: [ic] HELP!My client will check progress of his site in 2 days
"Thomas N. Stefanidis" wrote:
>
> ....... i still can't do 2 things..
> I have done everything else....but i can't :
> 1)Give different prices for each product size......Can't someone please
> explain that to me?I have read all documents and i can't get anything
> right.
> Can anyone tell me what to do(what settings to add,where)?
> 2)Adding 2 different currencies .... I can use Greek or Euro but not at
> the same time.I use the catalog.cfg...but when i uncomment the euro
> settings.....all greek settings disappear and only euro shows up (and
> vice-versa )...
> ------catalog.cfg----------
> Locale el_GR frac_digits 0
> Locale el_GR mon_decimal_point ""
> Locale el_GR mon_thousand_sep .
> Locale el_GR mon_thousands_sep .
> Locale el_GR p_cs_precedes 0
> Locale el_GR p_sep_by_space 1
> Locale el_GR currency_symbol äñ÷
>
> #Locale eur_EUR PriceDivide 370.750
> #Locale eur_EUR p_cs_precedes 0
> #Locale eur_EUR currency_symbol euro
> #Locale eur_EUR p_sep_by_space 2
> #Locale eur_EUR mon_decimal_point ,
> ------catalog.cfg----------
>
> i'm going crazy!!I still have 2 days!
> Any idea would be really a great help
A sample from a german shop...
(default locale is de_DE)
[subtotal]
<!-- switch to eur_EUR-->
[setlocale eur_EUR]
EUR [currency][calc][subtotal noformat=1]*0.5123[/calc][/currency]
<!-- switch back to de_DE-->
[setlocale de_DE]
My setting of catalog.cfg looks like
Locale eur_EUR frac_digits 2
Locale eur_EUR p_cs_precedes 0
Locale eur_EUR p_sep_by_space 2
Locale eur_EUR mon_decimal_point ,
Locale eur_EUR mon_thousands_sep .
Locale de_DE frac_digits 2
Locale de_DE p_cs_precedes 0
Locale de_DE p_sep_by_space 2
Locale de_DE mon_decimal_point ,
Locale de_DE mon_thousands_sep .
and my locale.asc (or locale.txt) looks like
code en_US de_DE fr_FR
default 0 1 0
or in my first page is a
[setlocale de_DE]
Good lucks!
Joachim
--
-------------Hans-Joachim Leidinger---------------------
From: interchange at my-school.com (IC-Admin )
Date: Thu, 1 Feb 2001 17:29:28 -0500 (EST)
Subject: [ic] first news story
http://www.infoworld.com/articles/hn/xml/01/02/01/010201hnredhat.xml?p=br&s=2
Birgitt
From: cafedvd at yahoo.com (sda sda )
Date: Thu, 1 Feb 2001 15:42:17 -0800 (PST)
Subject: [ic] Separate inventory for different sizes possible?
How can I have separate inventory quantities for
different sizes of a product?
For example, 4 for small size and 10 for size large
of T-shirt
When someone orders size small, I want the
inventory for small size to be 3.
Could someone tell me how I can do this?
Thanks in advance,
Sung
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 01 Feb 2001 16:08:10 -0800
Subject: [ic] Interchange now a Red Hat product
>I am excited to announce that Interchange is now a Red Hat product. This
>will be announced publicly at Linux World in New York tomorrow, Wednesday,
>Jan. 31.
LinuxWorld: Red Hat boosts e-commerce platform
http://www.infoworld.com/articles/hn/xml/01/02/01/010201hnredhat.xml
By Ed Scannell
Snippet:
...
RED HAT BEEFED up its line of Internet-based infrastructure solutions
Wednesday at LinuxWorld Expo, announcing it would add Aktopia's Interchange
e-commerce platform to its lineup.
With Aktopia's product, users looking to piece together an integrated
infrastructure for e-commerce applications have more flexibility to do so
and at a lower cost, according to Red Hat officials. The product joins the
Stronghold Secure Web Server and CCVS' e-commerce payment system in Red
Hat's solutions portfolio.
Like those two offerings, Interchange will be tightly tied together through
the Red Hat Network, which is an Internet-based
...
So, what's up with AkTopia? Did the author misspell the company name on
accident, or was he implying the Interchange is more like Utopia? (I agree
with the latter, but I think it was the former).
To me, "Interchange will be tightly tied together through the Red Hat
Network" sounds like marketing blather. I assume it means that updated
interchange*.rpm's will be available on RHN, but maybe it is something
more? (Maybe an intelligent bot that checks your install for
non-upgrade-compliant features and intelligently upgrades only what is safe
to upgrade on a per-file basis?)
Anyway, it's probably more accurate to get your information straight from
akopia.com. BTW, I noticed that interchange isn't in the latest RedHat
beta (Fisher 7.1), but that'll probably be fixed in rawhide pretty soon,
right? (That's more of a marketing issue, anyway).
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 01 Feb 2001 16:16:04 -0800
Subject: [ic] mv4 -> IC Question
At 06:44 AM 2/2/2001 +1300, you wrote:
>I have just upgraded to IC4.6.1 and the following code no longer works.
>
><select name="...">
>[sql type="list" query="....."]
> <option>[sql-param 1]
>[/sql]
></select>
>
>I am using postgresql 7.0.3, and this worked fin with mv4
>
>I get the right number of items in the pull down but they are all blank,
>the [sql-param 1] is not returning a value.
>
>What should this be changed to ?
[sql-pos 1]
(to quote mike)
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: mat at booksellersolutions.com (Mathew Jones )
Date: Thu, 01 Feb 2001 16:31:52 -0800
Subject: [ic] Date Widget
Hi,
We have several catalogs set up on Interchange 4.5.5, and have just
noticed that under order and traffic statistics, it pulls up the Month
of "March" twice in the drop down instead of February and March. When
the first instance of March is selected, and you click to view the
stats, it brings up the stats for February. The second instance pulls
up March as it is supposed to.
I looked in the code for this page and the following is what set the
Months.
[widget type=date name=ui_begin_date]
Has anyone experienced this, or have any idea why its is happening, and
what we can do to fix it?
Thanks
Mat
--
booksellersolutions.com
Read what the SF Examiner says about booksellersolutions.com:
http://www.sfexaminer.com/business/default.jsp?story=b.web.0121
2141 Mission St #301
San Francisco, CA 94110
(415) 554-0568
From: support at mediaservices.net (MediaServices Network )
Date: Thu, 1 Feb 2001 18:25:02 -0600
Subject: [ic] Interchange now a Red Hat product
Why can not they spell Akopia's name correctly :)
SNIP----
>With Aktopia's product, users looking to piece together an integrated
infrastructure for e-commerce applications have more flexibility to do so
and at a lower cost, according to Red Hat officials. The product joins the
Stronghold Secure Web Server and CCVS' e-commerce payment system in Red
Hat's solutions portfolio
Russ Smith
MediaServices Network, Inc
http://MediaServices.net
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan B
Sent: Thursday, February 01, 2001 6:08 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] Interchange now a Red Hat product
>I am excited to announce that Interchange is now a Red Hat product. This
>will be announced publicly at Linux World in New York tomorrow, Wednesday,
>Jan. 31.
LinuxWorld: Red Hat boosts e-commerce platform
http://www.infoworld.com/articles/hn/xml/01/02/01/010201hnredhat.xml
By Ed Scannell
Snippet:
...
RED HAT BEEFED up its line of Internet-based infrastructure solutions
Wednesday at LinuxWorld Expo, announcing it would add Aktopia's Interchange
e-commerce platform to its lineup.
With Aktopia's product, users looking to piece together an integrated
infrastructure for e-commerce applications have more flexibility to do so
and at a lower cost, according to Red Hat officials. The product joins the
Stronghold Secure Web Server and CCVS' e-commerce payment system in Red
Hat's solutions portfolio.
Like those two offerings, Interchange will be tightly tied together through
the Red Hat Network, which is an Internet-based
...
So, what's up with AkTopia? Did the author misspell the company name on
accident, or was he implying the Interchange is more like Utopia? (I agree
with the latter, but I think it was the former).
To me, "Interchange will be tightly tied together through the Red Hat
Network" sounds like marketing blather. I assume it means that updated
interchange*.rpm's will be available on RHN, but maybe it is something
more? (Maybe an intelligent bot that checks your install for
non-upgrade-compliant features and intelligently upgrades only what is safe
to upgrade on a per-file basis?)
Anyway, it's probably more accurate to get your information straight from
akopia.com. BTW, I noticed that interchange isn't in the latest RedHat
beta (Fisher 7.1), but that'll probably be fixed in rawhide pretty soon,
right? (That's more of a marketing issue, anyway).
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 01 Feb 2001 16:54:05 -0800
Subject: [ic] Date Widget
At 04:31 PM 2/1/2001 -0800, you wrote:
>We have several catalogs set up on Interchange 4.5.5, and have just
>noticed that under order and traffic statistics, it pulls up the Month
>of "March" twice in the drop down instead of February and March. When
>the first instance of March is selected, and you click to view the
>stats, it brings up the stats for February. The second instance pulls
>up March as it is supposed to.
>[...]
>Has anyone experienced this, or have any idea why its is happening, and
>what we can do to fix it?
Y2k+1 bug. Leap day is in Feb, that's why.
Seriously, are you getting anything in the error logs? Have you tried
4.6.1? What DB are you using? Have you followed your SQL output (what IC
is sending for queries) during the time the reports are generated?
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Fri, 2 Feb 2001 09:07:14 +0800
Subject: [ic] Add new item bug?
huh? I have the two ok buttons aswell, one at the top and one at the
bottom - it means you dont have to scroll all the way to the top/bottom,
when you're editing at the other end of the page. If you wish to change this
behaviour, simple create an "admin" directory in your catalogname/pages dir,
and copy the page from the UI into there, and edit it appropriately.
----- Original Message -----
From: Admin <admin@huntinternational.com>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, February 01, 2001 10:32 PM
Subject: [ic] Add new item bug?
> When logging into the admin at Akopia.com, when you click on create new
> item, you get a nice template. When I click on create new item on my
system,
> I get an 2 Ok and Cancel buttons. What do I need to do to get a template
> setup. I have compared all of my tables with akopias, and they all seem to
> be the same. What am I doing wrong?
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: admin at huntinternational.com (Admin )
Date: Thu, 1 Feb 2001 18:25:08 -0700
Subject: [ic] Add new item bug?
I appreciate your help but I don't have a page in the UI directory except
for in the help folder, which is not what I need. What do I need to call
this file that goes into the catalog/pages/admin/ Thank you.
----- Original Message -----
From: "Cameron Germein" <cameron.germein@team.eftel.com>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, February 01, 2001 6:07 PM
Subject: Re: [ic] Add new item bug?
> huh? I have the two ok buttons aswell, one at the top and one at the
> bottom - it means you dont have to scroll all the way to the top/bottom,
> when you're editing at the other end of the page. If you wish to change
this
> behaviour, simple create an "admin" directory in your catalogname/pages
dir,
> and copy the page from the UI into there, and edit it appropriately.
>
> ----- Original Message -----
> From: Admin <admin@huntinternational.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Thursday, February 01, 2001 10:32 PM
> Subject: [ic] Add new item bug?
>
>
> > When logging into the admin at Akopia.com, when you click on create new
> > item, you get a nice template. When I click on create new item on my
> system,
> > I get an 2 Ok and Cancel buttons. What do I need to do to get a template
> > setup. I have compared all of my tables with akopias, and they all seem
to
> > be the same. What am I doing wrong?
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Fri, 2 Feb 2001 09:50:12 +0800
Subject: [ic] Orders in Interchange
Are orders stored when a customer checks out?
I am using PostgreSQL. How would I go about storing orders in a database?
Regards,
Bryan Chen
TechMex Far East Pte Ltd
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Fri, 2 Feb 2001 09:52:13 +0800
Subject: [ic] Add new item bug?
ls interchange/lib/UI/pages/admin/
access.html env_vars.html item_price.html
report_save.html
access_permissions.html error.html item_up.html
reports
add_meta_option.html error_item.html layout.html
search_wizard.html
advanced.html export_table.html login.html
search_wizard2.html
affiliates.html flex_editor.html logout.html
search_wizard3.html
bug_report.html flex_select.html merchandising.html
search_wizard_results.html
build_related.html flex_select_box.html meta_editor.html
ship.html
button_builder.html format_meta.html order.html
ship_data.html
compedit.html fr_index.html order_status.html
ship_edit.html
config.html genconfig.html order_view.html
ship_range.html
customer.html genreport.html orderstats.html
sku_selector.html
customer_bill.html genstats.html page.html
special
customer_change_pass.html gentable.html page_edit.html
spread.html
customer_pref.html genupload.html page_new.html
spread_control.html
customer_select.html genxport.html page_preview.html
tablereport.html
customer_ship.html group.html page_save.html
tax.html
customer_view.html group_edit.html payment.html
trafficstats.html
dbdownload.html import_table.html preferences.html
upload_config.html
dbinfo.html index.html quicklinks.html
upload_file.html
do_upload.html item.html reconfig.html
upload_image.html
do_upload_page.html item_cross.html regen.html
upload_other.html
do_view.html item_edit.html regenerate.html
upload_pages.html
entry.html item_feature.html report.html
user_change_pass.html
entry_select.html item_inventory.html report_results.html
user_edit.html
these are the pages that make up the UI. in your case, i think you want to
copy item_edit.html, although on further inspection, i'm only getting the
two sets of "OK" buttons in the add user section - but that might just be
me. I havent hacked it apart enough to look. I really dont see why this is
an issue though... i mean, if both buttons are working fine, why not just
leave it there? is it really that terrible?
----- Original Message -----
From: Admin <admin@huntinternational.com>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 02, 2001 9:25 AM
Subject: Re: [ic] Add new item bug?
> I appreciate your help but I don't have a page in the UI directory except
> for in the help folder, which is not what I need. What do I need to call
> this file that goes into the catalog/pages/admin/ Thank you.
>
>
> ----- Original Message -----
> From: "Cameron Germein" <cameron.germein@team.eftel.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Thursday, February 01, 2001 6:07 PM
> Subject: Re: [ic] Add new item bug?
>
>
> > huh? I have the two ok buttons aswell, one at the top and one at the
> > bottom - it means you dont have to scroll all the way to the top/bottom,
> > when you're editing at the other end of the page. If you wish to change
> this
> > behaviour, simple create an "admin" directory in your catalogname/pages
> dir,
> > and copy the page from the UI into there, and edit it appropriately.
> >
> > ----- Original Message -----
> > From: Admin <admin@huntinternational.com>
> > To: <interchange-users@lists.akopia.com>
> > Sent: Thursday, February 01, 2001 10:32 PM
> > Subject: [ic] Add new item bug?
> >
> >
> > > When logging into the admin at Akopia.com, when you click on create
new
> > > item, you get a nice template. When I click on create new item on my
> > system,
> > > I get an 2 Ok and Cancel buttons. What do I need to do to get a
template
> > > setup. I have compared all of my tables with akopias, and they all
seem
> to
> > > be the same. What am I doing wrong?
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: mat at booksellersolutions.com (Mathew Jones )
Date: Thu, 01 Feb 2001 18:03:33 -0800
Subject: [ic] Date Widget
Hi Dan,
Nothing in the error logs.
Dont want to have to move all our clients to 4.6.1 right now.
I am using mysql.
It seems to be passing the correct month to the stats report since it pulls up
February when I select the first instance of March. Where does minivend pull
the Month Names from? Everything was fine prior to today.
Mat
Dan B wrote:
> At 04:31 PM 2/1/2001 -0800, you wrote:
> >We have several catalogs set up on Interchange 4.5.5, and have just
> >noticed that under order and traffic statistics, it pulls up the Month
> >of "March" twice in the drop down instead of February and March. When
> >the first instance of March is selected, and you click to view the
> >stats, it brings up the stats for February. The second instance pulls
> >up March as it is supposed to.
> >[...]
> >Has anyone experienced this, or have any idea why its is happening, and
> >what we can do to fix it?
>
> Y2k+1 bug. Leap day is in Feb, that's why.
>
> Seriously, are you getting anything in the error logs? Have you tried
> 4.6.1? What DB are you using? Have you followed your SQL output (what IC
> is sending for queries) during the time the reports are generated?
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: heins at akopia.com (Mike Heins )
Date: Thu, 1 Feb 2001 21:10:55 -0500
Subject: [ic] Date Widget
Quoting Mathew Jones (mat@booksellersolutions.com):
> Hi Dan,
>
> Nothing in the error logs.
> Dont want to have to move all our clients to 4.6.1 right now.
> I am using mysql.
> It seems to be passing the correct month to the stats report since it pulls up
> February when I select the first instance of March. Where does minivend pull
> the Month Names from? Everything was fine prior to today.
Bug in lib/UI/Primitive.pm. I certainly don't have that old version laying
around, but the diff should be enough for you to figure it out.
*** Primitive.pm 2000/10/14 17:47:35 1.25
--- Primitive.pm 2001/02/02 02:09:00
***************
*** 647,652 ****
--- 647,653 ----
for(1 .. 12) {
$t[4] = $_ - 1;
+ $t[5] = 1;
push @months, [sprintf("%02d", $_), POSIX::strftime("%B", @t)];
}
For now, I bet if you restart Interchange it goes away, and won't come
back until at least April 1. 8-)
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: admin at huntinternational.com (Admin )
Date: Thu, 1 Feb 2001 19:27:08 -0700
Subject: [ic] Add new item bug?
See my problem is that I can't get a real page to come up when I click on
Create New Item. I think I should get a page that has a place to change the
SKU, short description, category Image, thumb and logn description. I get
nothing. I uploaded the pages from /interchange/lib/UI/pages/admin/ to
/catalogs/sales1/pages/admin/ Nothing worked, But then I did copy the
item_edit.html from akopia's site into mine, and I guess it works.
----- Original Message -----
From: "Cameron Germein" <cameron.germein@team.eftel.com>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, February 01, 2001 6:52 PM
Subject: Re: [ic] Add new item bug?
> ls interchange/lib/UI/pages/admin/
>
>
> access.html env_vars.html item_price.html
> report_save.html
> access_permissions.html error.html item_up.html
> reports
> add_meta_option.html error_item.html layout.html
> search_wizard.html
> advanced.html export_table.html login.html
> search_wizard2.html
> affiliates.html flex_editor.html logout.html
> search_wizard3.html
> bug_report.html flex_select.html merchandising.html
> search_wizard_results.html
> build_related.html flex_select_box.html meta_editor.html
> ship.html
> button_builder.html format_meta.html order.html
> ship_data.html
> compedit.html fr_index.html order_status.html
> ship_edit.html
> config.html genconfig.html order_view.html
> ship_range.html
> customer.html genreport.html orderstats.html
> sku_selector.html
> customer_bill.html genstats.html page.html
> special
> customer_change_pass.html gentable.html page_edit.html
> spread.html
> customer_pref.html genupload.html page_new.html
> spread_control.html
> customer_select.html genxport.html page_preview.html
> tablereport.html
> customer_ship.html group.html page_save.html
> tax.html
> customer_view.html group_edit.html payment.html
> trafficstats.html
> dbdownload.html import_table.html preferences.html
> upload_config.html
> dbinfo.html index.html quicklinks.html
> upload_file.html
> do_upload.html item.html reconfig.html
> upload_image.html
> do_upload_page.html item_cross.html regen.html
> upload_other.html
> do_view.html item_edit.html regenerate.html
> upload_pages.html
> entry.html item_feature.html report.html
> user_change_pass.html
> entry_select.html item_inventory.html
report_results.html
> user_edit.html
>
> these are the pages that make up the UI. in your case, i think you want to
> copy item_edit.html, although on further inspection, i'm only getting the
> two sets of "OK" buttons in the add user section - but that might just be
> me. I havent hacked it apart enough to look. I really dont see why this is
> an issue though... i mean, if both buttons are working fine, why not just
> leave it there? is it really that terrible?
>
>
> ----- Original Message -----
> From: Admin <admin@huntinternational.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Friday, February 02, 2001 9:25 AM
> Subject: Re: [ic] Add new item bug?
>
>
> > I appreciate your help but I don't have a page in the UI directory
except
> > for in the help folder, which is not what I need. What do I need to call
> > this file that goes into the catalog/pages/admin/ Thank you.
> >
> >
> > ----- Original Message -----
> > From: "Cameron Germein" <cameron.germein@team.eftel.com>
> > To: <interchange-users@lists.akopia.com>
> > Sent: Thursday, February 01, 2001 6:07 PM
> > Subject: Re: [ic] Add new item bug?
> >
> >
> > > huh? I have the two ok buttons aswell, one at the top and one at the
> > > bottom - it means you dont have to scroll all the way to the
top/bottom,
> > > when you're editing at the other end of the page. If you wish to
change
> > this
> > > behaviour, simple create an "admin" directory in your
catalogname/pages
> > dir,
> > > and copy the page from the UI into there, and edit it appropriately.
> > >
> > > ----- Original Message -----
> > > From: Admin <admin@huntinternational.com>
> > > To: <interchange-users@lists.akopia.com>
> > > Sent: Thursday, February 01, 2001 10:32 PM
> > > Subject: [ic] Add new item bug?
> > >
> > >
> > > > When logging into the admin at Akopia.com, when you click on create
> new
> > > > item, you get a nice template. When I click on create new item on my
> > > system,
> > > > I get an 2 Ok and Cancel buttons. What do I need to do to get a
> template
> > > > setup. I have compared all of my tables with akopias, and they all
> seem
> > to
> > > > be the same. What am I doing wrong?
> > > >
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > >
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 1 Feb 2001 21:46:05 -0500
Subject: [ic] Separate inventory for different sizes possible?
On Thu, Feb 01, 2001 at 03:42:17PM -0800, sda sda wrote:
>
> How can I have separate inventory quantities for
> different sizes of a product?
>
> For example, 4 for small size and 10 for size large
> of T-shirt
> When someone orders size small, I want the
> inventory for small size to be 3.
Using different code numbers (sku) probably wouldn't work, eh? ;^>
>
> Could someone tell me how I can do this?
> Thanks in advance,
> Sung
>
>
> __________________________________________________
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 01 Feb 2001 19:10:17 -0800
Subject: [ic] Date Widget
At 09:10 PM 2/1/2001 -0500, you wrote:
>Quoting Mathew Jones (mat@booksellersolutions.com):
> > Hi Dan,
> >
> > Nothing in the error logs.
> > Dont want to have to move all our clients to 4.6.1 right now.
> > I am using mysql.
> > It seems to be passing the correct month to the stats report since it
> pulls up
> > February when I select the first instance of March. Where does minivend
> pull
> > the Month Names from? Everything was fine prior to today.
>
>Bug in lib/UI/Primitive.pm. I certainly don't have that old version laying
>around, but the diff should be enough for you to figure it out.
>
>*** Primitive.pm 2000/10/14 17:47:35 1.25
>--- Primitive.pm 2001/02/02 02:09:00
>***************
>*** 647,652 ****
>--- 647,653 ----
>
> for(1 .. 12) {
> $t[4] = $_ - 1;
>+ $t[5] = 1;
> push @months, [sprintf("%02d", $_), POSIX::strftime("%B", @t)];
> }
>
>For now, I bet if you restart Interchange it goes away, and won't come
>back until at least April 1. 8-)
Ha! I knew it was a Y2k leap day bug! And you all thought I was joking. :-)
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Thu, 1 Feb 2001 19:22:15 -0800
Subject: [ic] Orders in Interchange
Yes orders are stored in the database during checkout
Transaction (Header)
Orderline (Detail)
Take it easy.
-Ron
----- Original Message -----
From: "Bryan Chen" <bryan_chen@techmex.com.sg>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, February 01, 2001 5:50 PM
Subject: [ic] Orders in Interchange
> Are orders stored when a customer checks out?
> I am using PostgreSQL. How would I go about storing orders in a database?
>
> Regards,
> Bryan Chen
> TechMex Far East Pte Ltd
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: msquared at digitalwizards.com.au (msquared )
Date: Fri, 2 Feb 2001 11:20:40 +0800
Subject: [ic] Akopia/interchange web hosting?
On Fri, Jan 26, 2001 at 12:35:17PM -0800, Soheil Shaghaghi wrote:
> Hi. I do IC hosting.
Is advertising appropriate traffic for this list? If not, is there a list
where it -is- appropriate traffic? I'm having fun playing with IC myself,
but I'm sure there are people that would like an easy way to find people
to install, configure, and/or host IC for them...
2
Regards, /|/|
/ | (MSquared)
--
___________________________________________
M Squared <msquared@digitalwizards.com.au>
Product development
Digital Wizards
http://www.digitalwizards.com.au
From: msquared at digitalwizards.com.au (msquared )
Date: Fri, 2 Feb 2001 11:21:55 +0800
Subject: [ic] database values...override?
On Wed, Jan 24, 2001 at 11:18:46AM -0800, scott andreas wrote:
> Our data has values
>
> S which I want to display as Sales
> O which I want to display as Entry
> A which I want to display as Administration
Hey, what happens if you put __SOMEVARIABLE__ in the database? Is it
parsed and expanded as a catalog variable?
2
Regards, /|/|
/ | (MSquared)
--
___________________________________________
M Squared <msquared@digitalwizards.com.au>
Product development
Digital Wizards
http://www.digitalwizards.com.au
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Fri, 2 Feb 2001 11:29:08 +0800
Subject: [ic] Akopia/interchange web hosting?
i was wondering if it would be appropriate for me to mention on this list
that i'll be living in the UK from march the 18th onwards, and looking for
work - and that i've had IC experience of sorts :) but of course, that's
COMPLETELY off topic, so i wont mention it at all...
----- Original Message -----
From: msquared <msquared@digitalwizards.com.au>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 02, 2001 11:20 AM
Subject: Re: [ic] Akopia/interchange web hosting?
> On Fri, Jan 26, 2001 at 12:35:17PM -0800, Soheil Shaghaghi wrote:
>
> > Hi. I do IC hosting.
>
> Is advertising appropriate traffic for this list? If not, is there a list
> where it -is- appropriate traffic? I'm having fun playing with IC myself,
> but I'm sure there are people that would like an easy way to find people
> to install, configure, and/or host IC for them...
>
> 2
> Regards, /|/|
> / | (MSquared)
> --
> ___________________________________________
> M Squared <msquared@digitalwizards.com.au>
> Product development
> Digital Wizards
> http://www.digitalwizards.com.au
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Fri, 2 Feb 2001 13:57:37 +0800
Subject: [ic] if statements that check who's logged in.
i've scanned throug the docs, and found that i can do this:
[if value username =~ /^guest/i]
[include guestleft]
[else]
[include left]
[/else]
[/if]
and it works. except for the fact that when i log out and the back in again,
it doesnt change the value in username, which causes the clause checking to
fail :) So i decided, i'd try it with data session username, as such:
[if data session username =~ /^guest/i]
[include guestleft]
[else]
[include left]
[/else]
[/if]
except that it doesnt work :) doing a [data session username] returns the
right value so like... what am i doing wrong here? :) surely people have
gotten this working before in an easy and straightforward manner - i assumed
what i found in the docs would work, but it turns out it doesnt do exactly
what i was planning... :)
From: pervy at netvigator.com (Sean )
Date: Fri, 2 Feb 2001 14:29:56 +0800
Subject: [ic] Akopia/interchange web hosting?
Email me at pervy@netvigator.com I'd like to discuss something with you
Apologies to the list :-)
Sean
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Cameron
Germein
Sent: Friday, February 02, 2001 11:29 AM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] Akopia/interchange web hosting?
i was wondering if it would be appropriate for me to mention on this list
that i'll be living in the UK from march the 18th onwards, and looking for
work - and that i've had IC experience of sorts :) but of course, that's
COMPLETELY off topic, so i wont mention it at all...
----- Original Message -----
From: msquared <msquared@digitalwizards.com.au>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 02, 2001 11:20 AM
Subject: Re: [ic] Akopia/interchange web hosting?
> On Fri, Jan 26, 2001 at 12:35:17PM -0800, Soheil Shaghaghi wrote:
>
> > Hi. I do IC hosting.
>
> Is advertising appropriate traffic for this list? If not, is there a list
> where it -is- appropriate traffic? I'm having fun playing with IC myself,
> but I'm sure there are people that would like an easy way to find people
> to install, configure, and/or host IC for them...
>
> 2
> Regards, /|/|
> / | (MSquared)
> --
> ___________________________________________
> M Squared <msquared@digitalwizards.com.au>
> Product development
> Digital Wizards
> http://www.digitalwizards.com.au
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: jojo at buchonline.net (jojo at buchonline.net )
Date: Fri, 2 Feb 2001 09:42:04 +0100 (CET)
Subject: [ic] if statements that check who's logged in.
On 2 Feb, Cameron Germein wrote:
> i've scanned throug the docs, and found that i can do this:
>
> [if value username =~ /^guest/i]
> [include guestleft]
> [else]
> [include left]
> [/else]
> [/if]
>
> and it works. except for the fact that when i log out and the back in again,
> it doesnt change the value in username, which causes the clause checking to
> fail :) So i decided, i'd try it with data session username, as such:
>
> [if data session username =~ /^guest/i]
> [include guestleft]
> [else]
> [include left]
> [/else]
> [/if]
>
> except that it doesnt work :) doing a [data session username] returns the
> right value so like... what am i doing wrong here? :) surely people have
> gotten this working before in an easy and straightforward manner - i assumed
> what i found in the docs would work, but it turns out it doesnt do exactly
> what i was planning... :)
Try [if-data ...] .... [/if-data] or use
[seti sessionuser][data session username][/seti]
[if scratch sessionuser =~ /^guest/i]
instead.
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1671441
45886 Gelsenkirchen FAX: 0209 1671441
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Fri, 2 Feb 2001 01:47:09 -0800
Subject: [ic] IE caching problems?
Hey all,
Were about a day away from launching our site, woohoo! We've got a few bugs
left to pound out, one of which is a bug caused by caching problems in IE.
Now I haven't seen this bug on any of my clients other systems but it is
apparent on the new site. I've been reading up on MS about problems with
the NoCache header and Meta tags. The solution was to place another HEAD at
the bottom of the html file however these tags are ignored in IE 4 and 5.
The next solution was to use ASP code to do response.writes however IC is
running on Apache. Has anyone ran into this problem and how did you solve
it? Thanks!
-Ron
From: info at ayayu.com (Ayayu Infomation desk )
Date: Fri, 2 Feb 2001 19:21:51 +0900
Subject: [ic] search error. Object saved wrong
Is there anybody know search error. Object saved wrong?
Below is error log from Interchange 4.6.1.(FreeBSD)
Sometimes, Search error occured and error message showed from
results.html.
hcns003.zaq.ne.jp iIVFppre:ne.jp - [02/February/2001:16:42:06 +0900]
outdoor-w
/cgibin/outdoor-w.cgi/scan/MM=e83069a8c5b65ade3baaab0919e20bf4:20:39:20
search error: Object saved wrong in
/mnt/web/guide/ayayu.com/catalogs/outdoor-w/tmp/i/iIVFppre.e83069a8c5b65
ade3baaab0919e20bf4 for search ID
iIVFppre.e83069a8c5b65ade3baaab0919e20bf4.
Previous search string is below.
http://www.ayayu.com/cgibin/outdoor-w.cgi/scan/fi=products/st=db/co=yes/
sf=category/se=000009/sf=brand/se=000020/tf=sku/ml=20.html
I guess thst my ISP machine delayed, the error happened.
What's worng or what can I do for this?
Thank you.
S.Murahashi
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 2 Feb 2001 05:05:35 -0500
Subject: [ic] IE caching problems?
Quoting Ron Phipps (rphipps@reliant-solutions.com):
> Hey all,
>
> Were about a day away from launching our site, woohoo! We've got a few bugs
> left to pound out, one of which is a bug caused by caching problems in IE.
> Now I haven't seen this bug on any of my clients other systems but it is
> apparent on the new site. I've been reading up on MS about problems with
> the NoCache header and Meta tags. The solution was to place another HEAD at
> the bottom of the html file however these tags are ignored in IE 4 and 5.
> The next solution was to use ASP code to do response.writes however IC is
> running on Apache. Has anyone ran into this problem and how did you solve
> it? Thanks!
On home page:
[if session browser =~ /MSIE/]
[set mv_no_count][/set]
[/if]
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 2 Feb 2001 05:15:01 -0500
Subject: [ic] search error. Object saved wrong
Quoting Ayayu Infomation desk (info@ayayu.com):
> Is there anybody know search error. Object saved wrong?
>
> Below is error log from Interchange 4.6.1.(FreeBSD)
>
> Sometimes, Search error occured and error message showed from
> results.html.
>
> hcns003.zaq.ne.jp iIVFppre:ne.jp - [02/February/2001:16:42:06 +0900]
> outdoor-w
> /cgibin/outdoor-w.cgi/scan/MM=e83069a8c5b65ade3baaab0919e20bf4:20:39:20
> search error: Object saved wrong in
> /mnt/web/guide/ayayu.com/catalogs/outdoor-w/tmp/i/iIVFppre.e83069a8c5b65
> ade3baaab0919e20bf4 for search ID
> iIVFppre.e83069a8c5b65ade3baaab0919e20bf4.
>
> Previous search string is below.
> http://www.ayayu.com/cgibin/outdoor-w.cgi/scan/fi=products/st=db/co=yes/
> sf=category/se=000009/sf=brand/se=000020/tf=sku/ml=20.html
>
> I guess thst my ISP machine delayed, the error happened.
> What's worng or what can I do for this?
I am guessing this is an I/O error in Storable or Data::Dumper
caused by the ongoing problems with Perl, signals, I/O, and FreeBSD.
FreeBSD is not the best platform for Interchange, unfortunately. But
hope is on the horizon -- one of our new engineers, Mark Cox, is one
of the Apache programmers. He has a bit more knowledge on this stuff
than I do -- I am not much of a C hacker and that is what this needs.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Fri, 02 Feb 2001 10:22:44 +0000
Subject: [ic] BUG -: possible bug in 4.6.1
In my basket page I'm doing this .....
------------------------------------------------------
[loop args="[scratch cart-loop]" prefix=what_the_hell]
[set what_the_hell-code][what_the_hell-code][/set]
[perl tables="[what_the_hell-code]_thekeys [what_the_hell-code]_fields
[what_the_hell-code]" global=1]
my $debug = 0;
# This code deals withthe problem of
# minvend giving the atributes of products
# incremental numericla "form-name" values
# This stops two products in two different
# carts having independant product atributes.
# To solve this the new form-names have the
# name of the cart prepended to it.
# This code then deals with the
# parseing of this new form-name.
# It takes the values and puts them
# into the correct carts and products
my $cart = $Scratch->{'what_the_hell-code'};
(! defined $cart)?die"Undefined Cart":1;
(! $cart)?die"False Cart":1;
# now we need the mv_ip number
if(exists($Carts->{$cart}) && defined($Carts->{$cart}) ){
foreach my $product_hash_ref (@{$Carts->{$cart}}){
(!defined $product_hash_ref)?die"no $cart \$product_hash_ref":1;
my $db_cart_thekeys = $Db{$cart."_thekeys"};
(!defined $db_cart_thekeys)?die"no $cart \$product_hash_ref
\$db_cart_thekeys":1;
# we have the cart, so ..
# now we now that if we have the choice
# a choice must be there.
# This means that the procudt db must
# have an entry for this field into
# ohter wise we don't give a choice.
my $product_db_ref = $Db{$cart} ;
(!defined $product_db_ref)?die"\$product_db_ref not defined":1;
foreach my $key (split(/\s/,($db_cart_thekeys->field("fields","keys")))){
if(! defined($cart)){
die"\$cart not defined\n";
}
if(! defined($key)){
die"\$key not defined\n";
}
my $cart_field = $cart."_fields" ;
my $db_cart_field = $Db{$cart."_fields"};
if(! defined($db_cart_field)){
my $str = "\$Db = \$Db\n";
$str .= "\$key = $key\n";
$str .= "\$cart_field = $cart_field\n";
$str .= "\$db_cart_field not defined\n";
die"$str";
}
if($db_cart_field->field($key,"basket")){
# ok if we are here then we have an posible atribute
# of the product.
if($db_cart_field->field($key,"choice")){
# if we are here then we know that this sttribute
# is one that can be posibly set for the product
# we have the cart, so ..
if( (defined $product_db_ref->test_column($key)) && (defined
$product_db_ref->field($product_hash_ref->{code},$key)) &&
$product_db_ref->field($product_hash_ref->{code},$key) ){
my $mv_ip = $product_hash_ref->{mv_ip} ;
my $cgi_thing = $cart."_".$key.$mv_ip ;
my $cgi_val = $CGI->{$cart."_".$key.$mv_ip} ;
if((defined $cgi_val) && ($cgi_val)){
$product_hash_ref->{$key} = $cgi_val;
}
}
}
}
select(undef,undef,undef,0.0001);
}
}
}
return ;
[/perl]
[/loop]
-----------------------------------------------------
When the catalog is visited the firts time after an interchange restart I get
this error .....
-----------------------------------------------------
193.195.20.134 XkP6udYz:193.195.20.134 - [02/February/2001:10:07:39 +0000] carn
/cgi-bin/carn/process Safe: $Db = $Db
> $key = description
> $cart_field = carn_fields
> $db_cart_field not defined
>
>
>
> my $debug = 0;
>
> # This code deals withthe problem of
> # minvend giving the atributes of products
> # incremental numericla "form-name" values
> # This stops two products in two different
> # carts having independant product atributes.
>
> # To solve this the new form-names have the
> # name of the cart prepended to it.
>
> # This code then deals with the
> # parseing of this new form-name.
> # It takes the values and puts them
> # into the correct carts and products
>
> my $cart = $Scratch->{'what_the_hell-code'};
>
> (! defined $cart)?die"Undefined Cart":1;
> (! $cart)?die"False Cart":1;
>
>
>
> # now we need the mv_ip number
>
> if(exists($Carts->{$cart}) && defined($Carts->{$cart}) ){
> foreach my $product_hash_ref (@{$Carts->{$cart}}){
>
> (!defined $product_hash_ref)?die"no $cart \$product_hash_ref":1;
>
> my $db_cart_thekeys = $Db{$cart."_thekeys"};
>
> (!defined $db_cart_thekeys)?die"no $cart \$product_hash_ref \$db_cart_thekeys":1;
>
>
>
>
> # we have the cart, so ..
>
> # now we now that if we have the choice
> # a choice must be there.
> # This means that the procudt db must
> # have an entry for this field into
> # ohter wise we don't give a choice.
>
> my $product_db_ref = $Db{$cart} ;
>
> (!defined $product_db_ref)?die"\$product_db_ref not defined":1;
>
> foreach my $key (split(/\s/,($db_cart_thekeys->field("fields","keys")))){
>
> if(! defined($cart)){
> die"\$cart not defined\n";
> }
> if(! defined($key)){
> die"\$key not defined\n";
> }
>
> my $cart_field = $cart."_fields" ;
> my $db_cart_field = $Db{$cart."_fields"};
>
> if(! defined($db_cart_field)){
> my $str = "\$Db = \$Db\n";
> $str .= "\$key = $key\n";
> $str .= "\$cart_field = $cart_field\n";
> $str .= "\$db_cart_field not defined\n";
>
> die"$str";
> }
>
> if($db_cart_field->field($key,"basket")){
>
> # ok if we are here then we have an posible atribute
> # of the product.
>
> if($db_cart_field->field($key,"choice")){
>
> # if we are here then we know that this sttribute
> # is one that can be posibly set for the product
>
> # we have the cart, so ..
>
> if( (defined $product_db_ref->test_column($key)) && (defined $product_db_ref->field($product_hash_ref->{code},$key)) && $product_db_ref->field($product_hash_ref->{code},$key) ){
>
> my $mv_ip = $product_hash_ref->{mv_ip} ;
>
> my $cgi_thing = $cart."_".$key.$mv_ip ;
>
> my $cgi_val = $CGI->{$cart."_".$key.$mv_ip} ;
>
> if((defined $cgi_val) && ($cgi_val)){
>
> $product_hash_ref->{$key} = $cgi_val;
> }
>
> }
> }
> }
> select(undef,undef,undef,0.0001);
>
> }
>
> }
> }
>
>
>
> return ;
>
>
------------------------------------------------------
But if I change the start of my code to ...
-------------------------------------------------------
[loop args="[scratch cart-loop]" prefix=what_the_hell]
[set what_the_hell-code][what_the_hell-code][/set]
[comment] look up feilds data to pump the cache[/comment]
[set silly][data table="[what_the_hell-code]_fields" field="code"
key="description"][/set]
[perl]delete $Scratch->{silly}[/perl]
[perl tables="[what_the_hell-code]_thekeys [what_the_hell-code]_fields
[what_the_hell-code]" global=1]
.....
---------------------------------------------------------
I get no error messages.
Is this werid or what !!!!!
RH 7.0
Perl 5.6
Interchange rpm 4.6.1 (plus my diffs)
http://www.morpheux.org/interchange/patches/Interchange.4.6.1-1-murray.diff.gz
NB I had this problem before I patched Interchange!
section of my interchange.cfg ....
----------------------------------------------------------
DataBase carn /var/lib/interchange/catalogs/carn/www/products/products.as
c TAB
DataBase carn WRITE_CONTROL 1
DataBase carn READ_ONLY 1
DataBase carn_company /var/lib/interchange/catalogs/carn/www/products/com
panyconfig.asc TAB
DataBase carn_company WRITE_CONTROL 1
DataBase carn_company READ_ONLY 1
DataBase carn_config /var/lib/interchange/catalogs/carn/www/products/conf
ig.asc TAB
DataBase carn_config WRITE_CONTROL 1
DataBase carn_config READ_ONLY 1
DataBase carn_thekeys /var/lib/interchange/catalogs/carn/www/products/key
s.asc TAB
DataBase carn_thekeys WRITE_CONTROL 1
DataBase carn_thekeys READ_ONLY 1
DataBase carn_currencies /var/lib/interchange/catalogs/carn/www/products/
currencies.asc TAB
DataBase carn_currencies WRITE_CONTROL 1
DataBase carn_currencies READ_ONLY 1
DataBase carn_fields /var/lib/interchange/catalogs/carn/www/products/fie
lds.asc TAB
DataBase carn_fields WRITE_CONTROL 1
DataBase carn_fields READ_ONLY 1
DataBase carn_scotweb /var/lib/interchange/catalogs/carn/www/products/sco
tweb.asc TAB
DataBase carn_scotweb WRITE_CONTROL 1
DataBase carn_scotweb READ_ONLY 1
Database carn_locale /var/lib/interchange/catalogs/carn/www/products/loc
ale.asc TAB
DataBase carn_locale WRITE_CONTROL 1
DataBase carn_locale READ_ONLY 1
---------------------------------------------------------------------
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interch_list at mili.com.br (Juliano )
Date: Fri, 2 Feb 2001 08:29:27 -0200
Subject: [ic] A simple question.
Hello,
I installed Interchange 4.6.1 and I tried to modify the demo
catalog ( construct ) changing some pics on /image/navigation to make a
test, I restarted the interchange daemon and nothing happened. The
initial page continued the same.
Where are these pics stored?
Obs: I changed the default_b.gif image to another pic with same name and
continued showing original pic.
thanks.
Juliano.
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Fri, 2 Feb 2001 02:55:43 -0800
Subject: [ic] IE caching problems?
Wow that simple? Does it send both the header and the meta tag equivalent?
Thanks Mike!
-Ron
----- Original Message -----
From: "Mike Heins" <mikeh@minivend.com>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 02, 2001 2:05 AM
Subject: Re: [ic] IE caching problems?
> Quoting Ron Phipps (rphipps@reliant-solutions.com):
> > Hey all,
> >
> > Were about a day away from launching our site, woohoo! We've got a few
bugs
> > left to pound out, one of which is a bug caused by caching problems in
IE.
> > Now I haven't seen this bug on any of my clients other systems but it is
> > apparent on the new site. I've been reading up on MS about problems
with
> > the NoCache header and Meta tags. The solution was to place another
HEAD at
> > the bottom of the html file however these tags are ignored in IE 4 and
5.
> > The next solution was to use ASP code to do response.writes however IC
is
> > running on Apache. Has anyone ran into this problem and how did you
solve
> > it? Thanks!
>
> On home page:
>
> [if session browser =~ /MSIE/]
> [set mv_no_count][/set]
> [/if]
>
> --
> Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> phone +1.513.523.7621 fax 7501 <heins@akopia.com>
>
> Experience is what allows you to recognize a mistake the second
> time you make it. -- unknown
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Fri, 2 Feb 2001 03:03:05 -0800
Subject: [ic] search error. Object saved wrong
> > hcns003.zaq.ne.jp iIVFppre:ne.jp - [02/February/2001:16:42:06 +0900]
> > outdoor-w
> > /cgibin/outdoor-w.cgi/scan/MM=e83069a8c5b65ade3baaab0919e20bf4:20:39:20
> > search error: Object saved wrong in
> > /mnt/web/guide/ayayu.com/catalogs/outdoor-w/tmp/i/iIVFppre.e83069a8c5b65
> > ade3baaab0919e20bf4 for search ID
> > iIVFppre.e83069a8c5b65ade3baaab0919e20bf4.
>
> I am guessing this is an I/O error in Storable or Data::Dumper
> caused by the ongoing problems with Perl, signals, I/O, and FreeBSD.
We've recieved these same errors on a RedHat x86 box running IC. It may be
more wide spread then FreeBSD.
-Ron
From: jstew at natural-parenting.com (Joel Stewart )
Date: Fri, 2 Feb 2001 11:17:43 -0000
Subject: [ic] SSL ocassionally drops basket
Help!!!
Has anyone come across the basket intermittantly dropping its contents when
going to another domain for SSL. This is only an occassional problem for me
but happens often enough(nearly half the time) to be a concern. I made the
changes in the interchange.cfg and catalog.cfg files as recommended and this
enabled the basket to carry over. There doesnt seem to be any reason or
pattern to its occurrance, but I have only ever been able to complete two
sequential(within an hour) test purchases once out of twenty tries.
Sometimes (10% of the time)it bypasses the Secure server and tries to go
back to an unknown, unsecure page. Could it be an overloaded server (secure
or unsecure)? How would I check? Maybe a problem with sessions or cookies?
I'm still rather new to Unix/Linux and Interchange but I'm learning fast.
TIA for any advice
Joel Stewart
NPUK
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Fri, 02 Feb 2001 11:25:18 +0000
Subject: [ic] SSL ocassionally drops basket
Joel Stewart wrote:
>
> Help!!!
> Has anyone come across the basket intermittantly dropping its contents when
> going to another domain for SSL.
yes, I'm tearing my hair out about it now :-)
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 2 Feb 2001 06:37:14 -0500
Subject: [ic] IE caching problems?
Quoting Ron Phipps (rphipps@reliant-solutions.com):
> Wow that simple? Does it send both the header and the meta tag equivalent?
>
Nope. It uses a more reliable method -- unique integer always in the URL.
That should work even for stubborn proxy caches. I think you could have
grepped the docs and figured that one out -- I would leave you to do that
but I think this might be helpful to a few people and I need to start building
my library of FAQs back up.
FAQ: Why does MSIE cache my pages?
If the user has the settings in Internet options set to "Never", "Once
per session", or "Automatically", which is typical, then this might be
a problem. If you have the scratch value mv_no_count set (the default
in our demos, see catalog.cfg), then the URL will appear as a simple
.html page.
This is good in the general case, as caching can reduce load on your
system. If you want to have constantly changing dynamic content, however,
then it might be a problem.
You can get caching effects on any browser, if they have an analogous
function. Netscape/Mozilla does -- see the "Edit Preferences" under
Advanced->Cache. It is not quite as aggressive in its caching behavior,
however, and problems are fewer.
The way to defeat it for all browsers is to remove this line from
catalog.cfg:
ScratchDefault mv_no_count 1
This causes a unique integer to be appended to all URLs except
form POSTs. It defeats caching when that is at all possible.
A good way to do this is to only turn off caching for logged-in
users. If they don't have an account on your system, you may not
have much dynamic to show them. To do this, place
[set mv_no_count][/set]
on the destination page for logged in users.
If you prefer to keep the unique integer out of the URL, and you
trust proxy servers to honor the parameter (hah!), you can do:
Autoload <<EOA
[if session browser =~ /MSIE/]
[tag op=header]Pragma: no-cache[/tag]
[/if]
EOA
or even
Autoload <<EOA
[if session browser =~ /MSIE/]
$Variable->{NO_CACHE} = '<META HTTP-EQUIV="Pragma" content="no-cache">';
[/if]
EOA
with __NO_CACHE__ in the header for pages you don't want cached.
This may not work well for AOL, as their proxy servers are extremely
aggressive when there are no QUERY_STRING parameters.
On a busy system this method can place a bit of additional load on the
system and is not real desirable. For best performance you should define a
GlobalSub and just pass the routine name:
interchange.cfg:
GlobalSub <<EOS
sub standard_autoload {
if ($Session->{browser} =~ /MSIE/) {
$Tag->tag( { op => 'header', body => 'Pragma: no-cache' } );
}
}
EOS
catalog.cfg:
Autoload standard_autoload
TIP: It performs better because it is precompiled and is a simple
subroutine call -- very fast. It is the way to do very complicated
processing for every user without incurring lots of tag parse
overhead on every access. A few little tags in Autoload won't
kill you, but I wouldn't want to do a lot on a busy system.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 2 Feb 2001 06:42:09 -0500
Subject: [ic] search error. Object saved wrong
Quoting Ron Phipps (rphipps@reliant-solutions.com):
> > > hcns003.zaq.ne.jp iIVFppre:ne.jp - [02/February/2001:16:42:06 +0900]
> > > outdoor-w
> > > /cgibin/outdoor-w.cgi/scan/MM=e83069a8c5b65ade3baaab0919e20bf4:20:39:20
> > > search error: Object saved wrong in
> > > /mnt/web/guide/ayayu.com/catalogs/outdoor-w/tmp/i/iIVFppre.e83069a8c5b65
> > > ade3baaab0919e20bf4 for search ID
> > > iIVFppre.e83069a8c5b65ade3baaab0919e20bf4.
> >
> > I am guessing this is an I/O error in Storable or Data::Dumper
> > caused by the ongoing problems with Perl, signals, I/O, and FreeBSD.
>
> We've recieved these same errors on a RedHat x86 box running IC. It may be
> more wide spread then FreeBSD.
IF someone (running RedHat and Perl 5.6.0 all latest modules, need binary
compatibility on file) can attach an offending file, I will take a look
at it.
I will need to know whether you are running Storable, as I suspect
you are. If you are not, or are not running the very latest version,
get updated as you *will* get these errors with binary data.
This would be exacerbated with frequent Unicode characters or other
binary data -- and there are a few Unicode bugs in Perl which are being
touched up for 5.6.1, so that can be it too.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 2 Feb 2001 06:45:34 -0500
Subject: [ic] SSL ocassionally drops basket
Quoting Murray Gibbins (Murray@scotweb.ltd.uk):
> Joel Stewart wrote:
> >
> > Help!!!
> > Has anyone come across the basket intermittantly dropping its contents when
> > going to another domain for SSL.
>
> yes, I'm tearing my hair out about it now :-)
>
You simply can't stop this in all cases when you have different
servers. There is an FAQ on it, and it has been gone through many
times before.
The most reliable method I have seen is to make all order operations
secure, i.e.
[order code=os28007 secure=1]Order now![/order]
That way if the browser gets confused, it will at least have the items
where they should be.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: cpi at accxs.net (ACC&S )
Date: Fri, 2 Feb 2001 14:38:18 +0100
Subject: [ic] select color, size...
Hi all,
I would like to do something like that :
-------------------------------------------------------------------
size | 36 | 38 | 40 .....
-------------------------------------------------------------------
Color | white | white | Blue
| Blue | red | -
--------------------------------------------------------------------
Price | 125 | 130 | 140
But i don't know if is it possible... how to do.... and how a person can
select his choice.
An idea ??
thanks
From: david at akopia.com (David Adams )
Date: Fri, 02 Feb 2001 10:39:28 -0500
Subject: [ic] Interchange now a Red Hat product
> Date: Thu, 01 Feb 2001 16:08:10 -0800
> To: interchange-users@lists.akopia.com
> From: Dan B <db@cyclonehq.dnsalias.net>
> Subject: Re: [ic] Interchange now a Red Hat product
> Reply-To: interchange-users@lists.akopia.com
>
> LinuxWorld: Red Hat boosts e-commerce platform
> http://www.infoworld.com/articles/hn/xml/01/02/01/010201hnredhat.xml
[snip]
> So, what's up with AkTopia? Did the author misspell the company name on
> accident, or was he implying the Interchange is more like Utopia? (I agree
> with the latter, but I think it was the former).
I also agree that Interchange is like a web developer's Utopia. :-)
Apparently the journalist in question was not listening very hard during the
press conference yesterday. I can't blame him, though. At the same press
conference, we were also treated to a long discussion of how Red Hat Linux
was deployed at a Japanese grocery store chain by a man with a very strong
accent, so we were all a little tired to listening hard by the end. I have
emailed the author to see if they can correct the misspelling.
> To me, "Interchange will be tightly tied together through the Red Hat
> Network" sounds like marketing blather. I assume it means that updated
> interchange*.rpm's will be available on RHN, but maybe it is something
> more? (Maybe an intelligent bot that checks your install for
> non-upgrade-compliant features and intelligently upgrades only what is safe
> to upgrade on a per-file basis?)
All we can say now is that Red Hat Network's eventual goal is certainly as
ambitious as what you describe, and there will be services available for
Interchange through Red Hat network. Interchange users will not be required
to subscribe to RHN, of course, but we'll try hard to make it very
worthwhile.
David Adams
www.akopia.com
703-456-2924 Office
202-422-3283 Mobile
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Fri, 02 Feb 2001 16:15:18 +0000
Subject: [ic] BUG :- Very severe, but I've got a fix
RH 7.0
Perl 5.6
Interchange 4.6.1 rpm
Apache , mod_ssl
If you run from a https when first ordering a product with cookies *off* in
Netscape or IE ( not knonquer or omnibrowser) the cart is lost and the session
id lost when hitting "Recalculate" in the basket.
this is a DEBUG lists which shows it....
Start DEBUG at Fri Feb 2 15:26:56 2001
[goto shop]
main:debug: session='' cookie='' chost=''
main:debug: session name='Rg3RHkkT:193.195.20.134'
[select product range]
main:debug: arg is
main:debug: session='Rg3RHkkT' cookie='' chost=''
main:debug: session name='Rg3RHkkT:193.195.20.134'
[select products]
main:debug: arg is
main:debug: session='Rg3RHkkT' cookie='' chost=''
main:debug: session name='Rg3RHkkT:193.195.20.134'
[order products and enter https]
main:debug: arg is
main:debug: session='Rg3RHkkT' cookie='' chost=''
main:debug: session name='Rg3RHkkT:193.195.20.134'
[ now in basket still in https still with no cookies, hit recalculate]
main:debug: arg is
main:debug: session='Rg3RHkkT' cookie='' chost=''
main:debug: session name='rvme5mXZ:193.195.20.134'
main:debug: arg is
----------------------------------------
The problem is in the interchange perl
../bin/interchange
snip-------
if(! $compare_host) {
new_session() unless $CGI::secure;
$Vend::Session->{shost} = $CGI::secure;
}
elsif ($compare_host ne $CGI::remote_addr) {
::logDebug ('$compare_host ne $CGI::remote_addr '.$CGI::remote_addr);
new_session() ;
}
---------------
should be
---------------
if(! $compare_host) {
#::logDebug ("not compare host");
new_session() unless $CGI::secure;
$Vend::Session->{shost} = $CGI::secure;
}
elsif ($compare_host ne $CGI::remote_addr) {
#::logDebug ('$compare_host ne $CGI::remote_addr '.$CGI::remote_addr);
new_session() unless ($CGI::secure && $Vend::Session->{shost});
}
----------------
Yours
Murray
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 2 Feb 2001 11:52:23 -0500
Subject: [ic] BUG :- Very severe, but I've got a fix
Quoting Murray Gibbins (Murray@scotweb.ltd.uk):
> [order products and enter https]
>
> main:debug: arg is
> main:debug: session='Rg3RHkkT' cookie='' chost=''
> main:debug: session name='Rg3RHkkT:193.195.20.134'
>
> [ now in basket still in https still with no cookies, hit recalculate]
>
> main:debug: arg is
>
> main:debug: session='Rg3RHkkT' cookie='' chost=''
> main:debug: session name='rvme5mXZ:193.195.20.134'
Yes, this will happen with cookies off, just as in the FAQ.
> main:debug: arg is
>
> ----------------------------------------
>
> The problem is in the interchange perl
>
> ../bin/interchange
>
> snip-------
>
> if(! $compare_host) {
> new_session() unless $CGI::secure;
> $Vend::Session->{shost} = $CGI::secure;
> }
> elsif ($compare_host ne $CGI::remote_addr) {
> ::logDebug ('$compare_host ne $CGI::remote_addr '.$CGI::remote_addr);
> new_session() ;
> }
>
> ---------------
>
> should be
> ---------------
> if(! $compare_host) {
> #::logDebug ("not compare host");
> new_session() unless $CGI::secure;
> $Vend::Session->{shost} = $CGI::secure;
> }
> elsif ($compare_host ne $CGI::remote_addr) {
> #::logDebug ('$compare_host ne $CGI::remote_addr '.$CGI::remote_addr);
> new_session() unless ($CGI::secure && $Vend::Session->{shost});
> }
If $compare_host doesn't match $Vend::Session->{shost}, then you have
a security violation. If $compare_host is set and $CGI::secure is set,
then the IPs should match -- secure is not supposed to proxy, so you
won't have varying IPs as you might with non-secure.
Looks to me like the bug is:
$Vend::Session->{shost} = $CGI::secure;
It should be:
$Vend::Session->{shost} = $CGI::remote_addr;
Try backing out your change and putting that in and seeing if it works.
I think Stefan pointed this out to me some time ago, but for some reason
I couldn't see it. Thanks for working on this to make me see the light.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
From: jon at akopia.com (Jon Jensen )
Date: Fri, 2 Feb 2001 11:05:35 -0600 (CST)
Subject: [ic] Interchange now a Red Hat product
On Thu, 1 Feb 2001, Dan B wrote:
> BTW, I noticed that interchange isn't in the latest RedHat beta
> (Fisher 7.1), but that'll probably be fixed in rawhide pretty soon,
> right?
Interchange (and Tallyman before it) has never been part of the main Red
Hat installation, but rather on the Linux Applications CD (LACD). In other
words, it's on a "bonus" CD that comes with some Red Hat boxed sets.
That could change in the future, of course.
Jon
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Fri, 02 Feb 2001 17:18:00 +0000
Subject: [ic] BUG :- Very severe, but I've got a fix
Mike Heins wrote:
> If $compare_host doesn't match $Vend::Session->{shost}, then you have
> a security violation. If $compare_host is set and $CGI::secure is set,
> then the IPs should match -- secure is not supposed to proxy, so you
> won't have varying IPs as you might with non-secure.
>
Opps, sorry :-)
> Looks to me like the bug is:
>
> $Vend::Session->{shost} = $CGI::secure;
>
> It should be:
>
> $Vend::Session->{shost} = $CGI::remote_addr;
>
> Try backing out your change and putting that in and seeing if it works.
Will do first thing Monday, it's clocking off time on Scotland.
>
> I think Stefan pointed this out to me some time ago, but for some reason
> I couldn't see it. Thanks for working on this to make me see the light.
Cheers, just remember me on the changes/bug lists. :-)
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: edl at newmediaems.com (Ed LaFrance )
Date: Fri, 02 Feb 2001 09:49:52 -0800
Subject: [ic] if statements that check who's logged in.
At 09:42 AM 2/2/01 +0100, you wrote:
>On 2 Feb, Cameron Germein wrote:
> > i've scanned throug the docs, and found that i can do this:
> >
> > [if value username =~ /^guest/i]
> > [include guestleft]
> > [else]
> > [include left]
> > [/else]
> > [/if]
> >
> > and it works. except for the fact that when i log out and the back in
> again,
> > it doesnt change the value in username, which causes the clause checking to
> > fail :) So i decided, i'd try it with data session username, as such:
> >
> > [if data session username =~ /^guest/i]
> > [include guestleft]
> > [else]
> > [include left]
> > [/else]
> > [/if]
> >
> > except that it doesnt work :) doing a [data session username] returns the
> > right value so like... what am i doing wrong here? :) surely people have
> > gotten this working before in an easy and straightforward manner - i
> assumed
> > what i found in the docs would work, but it turns out it doesnt do exactly
> > what i was planning... :)
>
I believe that should be [if session username =~ /whatever/]...[/if]
- Ed L.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D edl@newmediaems.com
Placerville, CA 95667 http://www.newmediaems.com
(530) 622-9421 (530) 622-9426 Fax
(866) 519-4680 Toll-Free
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
From: interchange at my-school.com (IC-Admin )
Date: Fri, 2 Feb 2001 14:08:50 -0500 (EST)
Subject: [ic] Interchange now a Red Hat product
David Adams wrote:
> I also agree that Interchange is like a web developer's Utopia. :-)
[snip]
> All we can say now is that Red Hat Network's eventual goal is certainly
> as ambitious as what you describe, and there will be services available
> for Interchange through Red Hat network. Interchange users will not be
> required to subscribe to RHN, of course, but we'll try hard to make it
> very worthwhile.
http://www.zdnet.com/zdnn/stories/news/0,4586,2681490,00.html?chkpt=zdhpnews01
hmm, sounds really good to me... :-)
<quote>:
NEW YORK--The Red Hat Network is more than a subscription system for
keeping Linux computers updated--it's also a potential tool for
enabling computer makers such as IBM to resell Red Hat's services.
</quote>
...
<quote>:
Young believes that the days are numbered for the philosophy that
customers may not scrutinize the underlying programming
instructions of their software. ... because customers will
naturally gravitate to software over which they have more power.
</quote>
...
<quote>
Proprietary licensing is like buying a car with the hood locked and
the salesman keeping the keys, said Young, who has been called "chief
analogy officer" for his tendency to do things such as compare
software licensing policies to geopolitics.
</quote>
yeah, so simple...and so true... I could tell you stories about car
salesmen not getting it... and customers to want to have more power... :-)
Birgitt
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Fri, 2 Feb 2001 11:38:42 -0800
Subject: [ic] IE caching problems?
> Nope. It uses a more reliable method -- unique integer always in the URL.
> That should work even for stubborn proxy caches. I think you could have
> grepped the docs and figured that one out -- I would leave you to do that
> but I think this might be helpful to a few people and I need to start
building
> my library of FAQs back up.
I searched the online docs for pragma, nocache, cache and mv_no_count and
was uanble to find what I was looking for. Which docs was this faq in?
Perhaps I don't have it in my search path for when I run into problems.
> If you prefer to keep the unique integer out of the URL, and you
> trust proxy servers to honor the parameter (hah!), you can do:
>
> Autoload <<EOA
> [if session browser =~ /MSIE/]
> [tag op=header]Pragma: no-cache[/tag]
> [/if]
> EOA
>
> or even
>
> Autoload <<EOA
> [if session browser =~ /MSIE/]
> $Variable->{NO_CACHE} = '<META HTTP-EQUIV="Pragma"
content="no-cache">';
> [/if]
> EOA
>
> with __NO_CACHE__ in the header for pages you don't want cached.
>
Come to find out this method does not work with the new IE 5 browsers. Here
are the MSDN articles that describe the problem and solution:
Points out to put another <HEAD> and <META> tag at the BOTTOM of the page
for <IE 5. Does not work for IE 5.
http://support.microsoft.com/support/kb/articles/Q222/0/64.ASP
Points out to write to the header of the page with nocache options like so
(converted to JScript)
http://support.microsoft.com/support/kb/articles/Q234/0/67.ASP
<%
response.setHeader("Cache-Control","no-cache"); file://HTTP 1.1
response.setHeader("Pragma","no-cache"); file://HTTP 1.0
response.setDateHeader ("Expires", 0); file://prevents caching at the proxy
server
%>
I'm going to use the mv_set_no_count as this *should* work for IE. If it
doesn't then we'll use the JScript code to write out the header.
Thanks!
-Ron
From: leej1 at mail.com (Lee Johnson )
Date: Fri, 2 Feb 2001 14:59:50 -0500 (EST)
Subject: [ic] (no subject)
hi,
I asked this in the previous digest and nobody has answered it. I'm posting
again and I'm a newbie please help me.
I will install IC 4.6.1 on my virtual server on a ISP. The dir structure is
like /home/username/www/cgi-bin.
Now now if I set dir as above my URL is like
http://domain/~username/construct.cgi/ (as I learned from dev site) but I'm
not sure about this. What should I use /home/username/ or /home/username/www
or /home/username/www/cgi-bin? Also I want to change construct.cgi to
cart.cgi, how this is done?
Any suggestion wil greatly appreciated.
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
From: TNELSON at ECS-INC.com (Tim Nelson )
Date: Fri, 2 Feb 2001 15:47:06 -0500
Subject: [ic] Help with [loop list=,please.
Hi,
I am tring to get the [loop] tag to work with a list provided as a array
reference.
Here is the code: (It produces output of ARRAY(blah,blah) instead of
the actual list)
[calc]
# Make a structure
my @ary = (
[
[ qw/key1 val1a val1b/ ],
[ qw/key2 val2a val2b/ ],
[ qw/key3 val3a val3b/ ],
[ qw/key4 val4a val4b/ ]
]
);
$Scratch->{ary} = \@ary;
return;
[/calc]
[loop list=`$Scratch->{ary}` more=1 ml=2]
[list]
[loop-code] [loop-pos 1] [loop-pos 2]<BR>
[/list]
[more-list]
More matches: [more]
[/more-list]
[/loop]
Thanks.
From: jon at akopia.com (Jon Jensen )
Date: Fri, 2 Feb 2001 14:48:24 -0600 (CST)
Subject: [ic] Help with [loop list=,please.
On Fri, 2 Feb 2001, Tim Nelson wrote:
> [loop list=`$Scratch->{ary}` more=1 ml=2]
(Untested:) How about `@{ $Scratch->{ary} }` instead? You need to
dereference the array ref you put in the scratch variable.
Jon
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 2 Feb 2001 21:54:43 -0500
Subject: [ic] IE caching problems?
Quoting Ron Phipps (rphipps@reliant-solutions.com):
> > Nope. It uses a more reliable method -- unique integer always in the URL.
> > That should work even for stubborn proxy caches. I think you could have
> > grepped the docs and figured that one out -- I would leave you to do that
> > but I think this might be helpful to a few people and I need to start
> building
> > my library of FAQs back up.
>
> I searched the online docs for pragma, nocache, cache and mv_no_count and
> was uanble to find what I was looking for. Which docs was this faq in?
> Perhaps I don't have it in my search path for when I run into problems.
Maybe I wasn't clear -- the FAQ didn't exist until I just wrote it.
The docs on mv_no_count did -- that is what I would have had you find. 8-)
>
> > If you prefer to keep the unique integer out of the URL, and you
> > trust proxy servers to honor the parameter (hah!), you can do:
> >
> > Autoload <<EOA
> > [if session browser =~ /MSIE/]
> > [tag op=header]Pragma: no-cache[/tag]
> > [/if]
> > EOA
> >
> > or even
> >
> > Autoload <<EOA
> > [if session browser =~ /MSIE/]
> > $Variable->{NO_CACHE} = '<META HTTP-EQUIV="Pragma"
> content="no-cache">';
> > [/if]
> > EOA
> >
> > with __NO_CACHE__ in the header for pages you don't want cached.
> >
>
> Come to find out this method does not work with the new IE 5 browsers. Here
> are the MSDN articles that describe the problem and solution:
>
> Points out to put another <HEAD> and <META> tag at the BOTTOM of the page
> for <IE 5. Does not work for IE 5.
> http://support.microsoft.com/support/kb/articles/Q222/0/64.ASP
>
> Points out to write to the header of the page with nocache options like so
> (converted to JScript)
> http://support.microsoft.com/support/kb/articles/Q234/0/67.ASP
>
> <%
> response.setHeader("Cache-Control","no-cache"); file://HTTP 1.1
> response.setHeader("Pragma","no-cache"); file://HTTP 1.0
> response.setDateHeader ("Expires", 0); file://prevents caching at the proxy
> server
> %>
>
This gets added to the new FAQ -- thanks, Ron. I appreciate your contributions
on the list.
> I'm going to use the mv_set_no_count as this *should* work for IE. If it
> doesn't then we'll use the JScript code to write out the header.
It should indeed work.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 2 Feb 2001 21:58:50 -0500
Subject: [ic] Help with [loop list=,please.
Quoting Tim Nelson (TNELSON@ECS-INC.com):
> Hi,
>
> I am tring to get the [loop] tag to work with a list provided as a array
> reference.
>
> Here is the code: (It produces output of ARRAY(blah,blah) instead of
> the actual list)
>
> [calc]
> # Make a structure
> my @ary = (
> [
> [ qw/key1 val1a val1b/ ],
> [ qw/key2 val2a val2b/ ],
> [ qw/key3 val3a val3b/ ],
> [ qw/key4 val4a val4b/ ]
> ]
> );
> $Scratch->{ary} = \@ary;
> return;
> [/calc]
> [loop list=`$Scratch->{ary}` more=1 ml=2]
> [list]
> [loop-code] [loop-pos 1] [loop-pos 2]<BR>
> [/list]
> [more-list]
> More matches: [more]
> [/more-list]
> [/loop]
>
That wasn't added until 4.6.1 -- or at least I thought it was
added. Sometimes I get confused. It is in CVS.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: jon at akopia.com (Jon Jensen )
Date: Fri, 2 Feb 2001 23:14:12 -0600 (CST)
Subject: [ic] Help with [loop list=,please.
On Fri, 2 Feb 2001, Jon Jensen wrote:
> On Fri, 2 Feb 2001, Tim Nelson wrote:
>
> > [loop list=`$Scratch->{ary}` more=1 ml=2]
>
> (Untested:) How about `@{ $Scratch->{ary} }` instead? You need to
> dereference the array ref you put in the scratch variable.
Sorry about the bad advice I gave. Your code worked as-is, but the feature
wasn't added until after 4.6.1. So it's in CVS, and will be in 4.6.2.
Jon
From: andrew at benevolent-tech.com (Andrew Waegel )
Date: Fri, 02 Feb 2001 21:44:48 -0800
Subject: [ic] controlling session expiration after purchase
Hello,
I need to allow the administrative user of my interchange system to enter
multiple orders using the UI -without- having to log in over and over again.
It seems that the session is expired upon successful checkout, which makes
sense, we don't want old purchase data hanging around.
But is there any simple way to have the administrative user retain their
credentials after placing a order through the UI, so they don't have to
relogin?
Thanks,
- Andrew
>>> Andrew Waegel Benevolent Technologies <<<
>>> 510 527 6116 asw@benevolent-tech.com <<<
From: heins at akopia.com (Mike Heins )
Date: Sat, 3 Feb 2001 03:03:35 -0500
Subject: [ic] controlling session expiration after purchase
Quoting Andrew Waegel (andrew@benevolent-tech.com):
> Hello,
>
> I need to allow the administrative user of my interchange system to enter
> multiple orders using the UI -without- having to log in over and over again.
>
> It seems that the session is expired upon successful checkout, which makes
> sense, we don't want old purchase data hanging around.
>
> But is there any simple way to have the administrative user retain their
> credentials after placing a order through the UI, so they don't have to
> relogin?
Not at the moment. I just added a patch to CVS which allows recognition of
a MV_USERPROFILE cookie. I had been meaning to do it all along, but forgot.
Thanks for jogging my memory.
It would take just a little bit of patching of the login page to set the
hidden values mv_cookie_password=1, then on the admin/pages/entry.html
page you add:
[set-cookie name=MV_USERPROFILE value=ui]
Now when entry.html takes you through the process, it logs you out
and logs you in as before. But the next time you come in, you will
be auto-logged-in and continue on.
This is a little bit insecure for the root admin user to do, since
it means saving the password to disk. Not too bad for a user who only
has permission to enter orders.
I will look at adding logic in the next version which recognizes this
situation and sets the expiration to nothing (meaning the cookie isn't
stored to disk).
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Sat, 03 Feb 2001 15:26:50 +0200
Subject: [ic] Prices won't update when i choose a new size.
Hello,
I have managed to add sizes and colors for products.
I have set the price for product at 22.000
then the sizes are :
S/M=23.000,
M/L=24.000
L/XL=25.000
The sizes shows up with the product description, but when i choose a
size,the price won't change(it remains 22.000).
Is there a way to reload the page each time i choose a different size so
that the price changes?
Thank you.
Thomas
From: jason at sohonetworks.cc (Jason Osborne )
Date: Sun, 4 Feb 2001 01:46:26 -0600
Subject: [ic] interchange + billing
Has anyone tested implementing interchange with any type of
billing/accounting software? I have been interested in see what can be done
to create a "complete solution" with the help of interchange.
From: jean-pierre.parent at bridgepoint-intl.com (jean-pierre.parent at bridgepoint-intl.com )
Date: Sun, 4 Feb 2001 14:13:36 -0500
Subject: [ic] 2 quickies...
Hi everyone,
I've just read in the configuration manual that there is a similar
catalog.cfg
version of the interchange.cfg "VarName" directive but it doesn't specify
its name? Does anyone know it?
Also...where could i get information on setting up affiliates? I only have
the
database reference manual left to read and i doubt its in there...
Is there any other doc available online or in different formats?
Thanks a lot...
Jean-Pierre Parent
parentjp
From: schurkmaster at yahoo.com (johny brabo )
Date: Sun, 4 Feb 2001 13:02:47 -0800 (PST)
Subject: [ic] UI question: grouping items
Hello,
I'm trying to make a group of items.
eg. I want to sell a computer, and together with it, I
want to give links to the parts the computer consists
of. so:
pentium III
hard disk 20 GIG
17 inch monitor
.....
How would I best do this?
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: jason at sohonetworks.cc (Jason Osborne )
Date: Sun, 4 Feb 2001 15:50:53 -0600
Subject: [ic] myODBC question
I had a quick question. I setup myODBC and imported the database into MS
Access, but I can't seem to write changes to product prices back. Is this a
known problem or do I have something setup wrong. The database user I am
using to access the MySQL database has full permission to do anything it
needs to. Thanks, Jason.
From: malcolmw at upshot.com (Webb, Malcolm )
Date: Sun, 4 Feb 2001 17:20:13 -0800
Subject: [ic] CCVC vs. Signio/Verisign...
Hi-
Given Redhat's recent acquisition of Akopia, I thought I'd take a look at
Redhat's CCVS (credit card auth/capture/credit). I am currently using Signio
for CCauth and am pretty happy with it, but since CCVS is backed by
Redhat...
I was wondering if anyone on the list could give some feedback about their
experiences with CCVS and Interchange? Do you find that using a modem
affects the speed of real-time auth? Have you had any issues with concurrent
auths by multiple shoppers? How does CCVS's feature set compare to Signio?
Any input appreciated...
P.S.- Congrats to Mike and the Minivend/Akopia team on the acquisition!
===========================================
Malcolm Webb
===========================================
From: robert at ishoptech.com (Robert Trembath )
Date: Sun, 4 Feb 2001 19:26:14 -0600
Subject: [ic] myODBC question
Reverify your permissions in MySQL and make sure your using the correct user
in myODBC.
----- Original Message -----
From: "Jason Osborne" <jason@sohonetworks.cc>
To: "Interchange Mailing List" <interchange-users@lists.akopia.com>
Sent: Sunday, February 04, 2001 3:50 PM
Subject: [ic] myODBC question
> I had a quick question. I setup myODBC and imported the database into MS
> Access, but I can't seem to write changes to product prices back. Is this
a
> known problem or do I have something setup wrong. The database user I am
> using to access the MySQL database has full permission to do anything it
> needs to. Thanks, Jason.
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: msquared at digitalwizards.com.au (msquared )
Date: Mon, 5 Feb 2001 11:26:04 +0800
Subject: [ic] Here's an easy results sort method
On Sat, Jan 27, 2001 at 11:33:36PM -0800, Jason Ballou wrote:
> I also did some reading through the Interchange
> Catalog-Building Tutorial manual, most specifically in
> section 13.5 "Sorting the product list".
> Unfortunately this didn't really address how to sort
> in an existing catalog
How does it not pertain to existing catalogs?
I would have thought that the method of sorting they present would work on
any catalog.
> -------------------------------------
>
> Here it is...
>
> On your results.html page, scroll down to:
> [search-list]
>
> and directly below it add:
> [sort products:sku]
>
> -------------------------------------
Hey, that also works on the catalog tutorial. :)
Change this line:
[loop search="ra=yes/fi=products/tf=price/to=n"]
to these lines:
[loop search="ra=yes/fi=products/to=n"]
[sort products:price]
Note the removal of 'tf=price' from the loop tag, and moving an equivalent
entry into a sort tag.
Funky!
I suppose the only question is: which is more efficient?
2
Regards, /|/|
/ | (MSquared)
--
___________________________________________
M Squared <msquared@digitalwizards.com.au>
Product development
Digital Wizards
http://www.digitalwizards.com.au
From: rage at sohonetworks.cc (Jason Osborne )
Date: Sun, 4 Feb 2001 22:02:20 -0600
Subject: [ic] myODBC question
ok, i checked and the user "myodbc" has full permissions and it is the user
being used to access the database in access. when i change a value in
access, it comes back and says that another user is editing the database and
it will only let me drop my changes. the save button is always grayed out. i
have not turned interchange off and tried yet, but i have tried some other
things. any ideas? Thanks, Jason.
btw, has anyone put a billing system together that integrates with
interchange?
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Robert
Trembath
Sent: Sunday, February 04, 2001 7:26 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] myODBC question
Reverify your permissions in MySQL and make sure your using the correct user
in myODBC.
----- Original Message -----
From: "Jason Osborne" <jason@sohonetworks.cc>
To: "Interchange Mailing List" <interchange-users@lists.akopia.com>
Sent: Sunday, February 04, 2001 3:50 PM
Subject: [ic] myODBC question
> I had a quick question. I setup myODBC and imported the database into MS
> Access, but I can't seem to write changes to product prices back. Is this
a
> known problem or do I have something setup wrong. The database user I am
> using to access the MySQL database has full permission to do anything it
> needs to. Thanks, Jason.
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Mon, 5 Feb 2001 17:02:06 +0800
Subject: [ic] Showing a few new/promotional items on the main page
Hi all!
How can I do and in-page search that only shows a maximum of 3 items chosen
at random from the products table. Ths products being displayed must be
those that have value "1" from the column "new" in the products table.
Thanks.
P.S. What I was looking for is the same as that in the construct demo, where
only a few random "NEW/SALE" items are displayed, but I couldn't find the
source which did that.
Regards,
Bryan Chen
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 5 Feb 2001 04:31:09 -0500
Subject: [ic] myODBC question
Quoting Jason Osborne (rage@sohonetworks.cc):
> ok, i checked and the user "myodbc" has full permissions and it is the user
> being used to access the database in access. when i change a value in
> access, it comes back and says that another user is editing the database and
> it will only let me drop my changes. the save button is always grayed out. i
> have not turned interchange off and tried yet, but i have tried some other
> things. any ideas? Thanks, Jason.
>
This should actually be put in the FAQ for MySQL and Interchange.
Basically, at least one of your fields has to be a TIMESTAMP type
or you won't be able to write. I would search DEJA if you have
more problems, the answer is there.
>
> btw, has anyone put a billing system together that integrates with
> interchange?
It has some QuickBooks links that are working for a few people...
see the extensions directory.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 5 Feb 2001 04:46:53 -0500
Subject: [ic] 2 quickies...
Quoting jean-pierre.parent@bridgepoint-intl.com (jean-pierre.parent@bridgepoint-intl.com):
> Hi everyone,
>
> I've just read in the configuration manual that there is a similar
> catalog.cfg version of the interchange.cfg "VarName" directive but it doesn't
> specify its name? Does anyone know it?
>
There was supposed to be -- I don't know why it isn't in there. It would
be called "VarName". I have all the logic in place to support it... 8-}
All you need to do to add it is put in interchange.cfg:
AddDirective VarName varname
At that point:
VarName mv_session_id id
would change the mapping of the mv_session_id variable.
I wouldn't use any other two-letter ones, though -- those are all
reserved for the search parameters. 1 or 3 chars is fine.
I will put the directive back in the next version. Thanks for finding
the bug.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Mon, 05 Feb 2001 10:11:00 +0000
Subject: [ic] BUG :- Very severe, but I've got a fix
Mike Heins wrote:
>
> Looks to me like the bug is:
>
> $Vend::Session->{shost} = $CGI::secure;
>
> It should be:
>
> $Vend::Session->{shost} = $CGI::remote_addr;
>
> Try backing out your change and putting that in and seeing if it works.
yep that seems to work :-)
When can we see a new RPM ?
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: info at ayayu.com (Ayayu Infomation desk )
Date: Mon, 5 Feb 2001 21:39:00 +0900
Subject: [ic] partial import not working
1)
Still partial Import from UI is not working.
UI message is success but no record updated.
Import of table : Upload succeeded
Using fields from file: 'sku price
'
2 records processed of 2 input lines.
2)
New redcord add from UI also does'nt work well.
Below is Message from UI, but there are no error in errorlog file.
FATAL error
There is no row with index 'LL1010101' at
/mnt/web/guide/ayayu.com/interchange/lib/Vend/Table/Common.pm line 255,
chunk 2.
Progress to date:
Using fields from file: 'sku description title title_jp template_page
comment comment_jp display image price wholesale availability brand
category nontaxable weight size color gift_cert related featured
download dl_type dl_location inactive'
Adding record 'LL1010101'.
Is there any mis configuration in my site?
Could you please tell me any suggestion?
Murahashi
----- Original Message -----
From: Ayayu Infomation desk <info@ayayu.com>
To: <interchange-users@minivend.akopia.com>
Sent: Friday, January 12, 2001 10:23 AM
Subject: Re: [ic] partial import not working
>
> ----- Original Message -----
> From: Mike Heins <mikeh@minivend.com>
> To: <interchange-users@minivend.akopia.com>
> Sent: Friday, January 12, 2001 4:49 AM
> Subject: Re: [ic] partial import not working
>
>
> > Quoting Ayayu Infomation desk (info@ayayu.com):
> > > Recently I upgrade IC from 4.6.0 to 4.6.1.
> > >
> > > On 4.6.0, I can import partial data which is two column data "sku
> and
> > > price" for products.
> > > But partial import funtion does not work well on 4.6.1.
> > >
> > > The message does not show error and no error.log.
> > >
> > > Import of table : Upload succeeded
> > >
> > > Using fields from file: 'sku price
> > > '
> > > 44 records processed of 44 input lines.
> > >
> > > I noticed there is small change of UI of import.
> > > Something changed?
> > >
> >
> > You say it doesn't work, but it looks like it did. What happened?
> > The routine is saying it updated 44 records. Didn't it?
>
> It didn't update prices in all of records.
>
> >
> > --
> > Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> > phone +1.513.523.7621 fax 7501 <heins@akopia.com>
> >
> > Being against torture ought to be sort of a bipartisan thing.
> > -- Karl Lehenbauer
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: schurkmaster at yahoo.com (johny brabo )
Date: Mon, 5 Feb 2001 05:59:22 -0800 (PST)
Subject: [ic] gouping items
Hello,
Maybe my last question wasn't very clear since I
didn't get an answer.
I am looking for a simple way to show an item and
links to parts of that item, so eg. I show a computer
and beneath it I show links to the parts. People can
Buy the whole computer, but they also can see what
screen it has, what memory and so on...
The "order groups"-function doesn't seem to fit my
needs since there is no need to sell multiple items at
once. Also "accesoires" isn't really what I need I
guess. Can someone hint me to a solution?
Any small advice is appreciated
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: cfm at maine.com (cfm at maine.com )
Date: Mon, 5 Feb 2001 09:13:32 -0500
Subject: [ic] gouping items
On Mon, Feb 05, 2001 at 05:59:22AM -0800, johny brabo wrote:
> Hello,
> Maybe my last question wasn't very clear since I
> didn't get an answer.
>
> I am looking for a simple way to show an item and
> links to parts of that item, so eg. I show a computer
> and beneath it I show links to the parts. People can
> Buy the whole computer, but they also can see what
> screen it has, what memory and so on...
>
> The "order groups"-function doesn't seem to fit my
> needs since there is no need to sell multiple items at
> once. Also "accesoires" isn't really what I need I
> guess. Can someone hint me to a solution?
TABLE assemblies (
code varchar
part varchar
)
Where code is the big item and "part" is the code
for the item that goes into it. One code in your
products table can have any number of records in
assemblies. I'm presuming that each "part" in assembly
is also in your products table so you can pull the additional
information you need. Alternatively, denormalize
assemblies and add the fields to make display easier/faster.
SELECT * FROM products WHERE code=[item_code]; # display item
SELECT * FROM assemblies WHERE code=[item_code]; # for each loop
>
> Any small advice is appreciated
>
> __________________________________________________
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: davidb at communitylink.com (davidb )
Date: Mon, 05 Feb 2001 08:42:00 -0600
Subject: [ic] Checkout?
I know this has been covered before but I can order an item, then go to
the basket and proceed. When I get to my secure checkout page, the
carts contents have dropped. Is there a tag I can put on the flypage so
this dosen't happen? Everything else works!
From: akopia at davetotten.com (David Totten )
Date: Mon, 5 Feb 2001 07:59:31 -0700
Subject: [ic] Checkout?
On Mon, Feb 05, 2001 at 08:42:00AM -0600, davidb wrote:
> I know this has been covered before but I can order an item, then go to
Yes this has been covered, and there is a FAQ entry about it.
> the basket and proceed. When I get to my secure checkout page, the
> carts contents have dropped. Is there a tag I can put on the flypage so
> this dosen't happen? Everything else works!
>
you can find it here:
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq03%2e08&mv_pc=90
From: chris at phatweb.net (Chris )
Date: Mon, 5 Feb 2001 13:01:29 -0500
Subject: [ic] problem setting up catalog.
I have interchange installed in /home/phatweb/interchange
I went into /home/phatweb/interchange/bin and ran makecat and it appeared to
go successfully.
It DID create a /home/phatweb/public_html/construct folder and a subdir
under it called images. But no files were copied into it.
I guess all I need to know is what else do I need to do to make it copy the
files into that dir and I'll be good to go.
Thanks in advance!!
AWESOME looking product!!
-Chris
From: davidb at communitylink.com (davidb )
Date: Mon, 05 Feb 2001 12:09:16 -0600
Subject: [ic] Cart Questions
When I go to the secure server, my images are dropped. Any ideas why?
I've gone to the FAQ to check out the explanation for why the cart
contents are dropped when going to SSL- Where do I find
interchange.cfg? I've found it through FTP and found it in the
interchange folder, but I can't edit it.
Any help would be greatly appreciated.
From: TNELSON at ECS-INC.com (Tim Nelson )
Date: Mon, 5 Feb 2001 13:56:03 -0500
Subject: [ic] Can GlobalSub override item_price routine?
Is it possible to override the item_price routine in MV?
(I would rather do that than hack the IC code)
Can anyone give me a simple example of always returning a
price of $1.23?
Thanks.
Tim Nelson
Enterprise Computer Systems, Inc.
Phone: 203-225-0066 Fax: 203-225-0414 Email: tnelson@ecs-inc.com
From: scotta at homer-simpson.learnserv.com (scott andreas )
Date: Mon, 05 Feb 2001 11:26:20 -0800
Subject: [ic] gouping items
cfm@maine.com wrote:
>
> On Mon, Feb 05, 2001 at 05:59:22AM -0800, johny brabo wrote:
> > Hello,
> > Maybe my last question wasn't very clear since I
> > didn't get an answer.
> >
> > I am looking for a simple way to show an item and
> > links to parts of that item, so eg. I show a computer
> > and beneath it I show links to the parts. People can
> > Buy the whole computer, but they also can see what
> > screen it has, what memory and so on...
> >
> > The "order groups"-function doesn't seem to fit my
> > needs since there is no need to sell multiple items at
> > once. Also "accesoires" isn't really what I need I
> > guess. Can someone hint me to a solution?
>
> TABLE assemblies (
> code varchar
> part varchar
> )
>
> Where code is the big item and "part" is the code
> for the item that goes into it. One code in your
> products table can have any number of records in
> assemblies. I'm presuming that each "part" in assembly
> is also in your products table so you can pull the additional
> information you need. Alternatively, denormalize
> assemblies and add the fields to make display easier/faster.
>
> SELECT * FROM products WHERE code=[item_code]; # display item
>
> SELECT * FROM assemblies WHERE code=[item_code]; # for each loop
>
>
> >
> > Any small advice is appreciated
> >
> > __________________________________________________
> > Get personalized email addresses from Yahoo! Mail - only $35
> > a year! http://personal.mail.yahoo.com/
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
>
> Christopher F. Miller, Publisher cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> 1.207.657.5078 http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
Here's an idea.
Have the user select the computer. The cart will display the computer
with related items all checked beneath it. If the user unchecks the
related item the cart will recalculate itself subtracting the unneeded
item. Or you can start with a base model and add related items to it in
the cart. This way the user check the box and adds parts to the computer
hince building a computer.
Within the cart the user can click on the description hyperlink to view
what that item actually is
Just a suggestion
--
J. Scott Andreas :)
Programmer/Webintegrator
e-mail: scotta@homer.learnserv.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
--- __o
--- _-\<,_
--- (_)/ (_)
From: wex at ufl.edu (Josh Wexelbaum )
Date: Mon, 05 Feb 2001 14:32:49 -0800
Subject: [ic] left and right side of products on index.html
I'm using the default Construct Demo. I am using the User Interface, and have selected half of the links to my items to be displayed on the left (designated as 'left') hand side of the index.html page, the other half (designated as 'right') I want on the far right side of the page. The left items show up, but the right do not. Any ideas on how I might solve this problem?
From: steve at studiol.com (Steve Lederman )
Date: Mon, 5 Feb 2001 11:51:18 -0800
Subject: [ic] InterChange memory requirements
Hi:
We have installed InterChange with the construct demo on a Iserver Virtual
Host (FreeBSD4.). We handled the Perl issues and the Free BSD stuff.
Does anyone know or have the memory specs for InterChange?
Thanks
Steve Lederman
Studio Lederman, Inc.
steve@studiol.com
http://www.studiol.com
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Mon, 5 Feb 2001 12:05:40 -0800
Subject: [ic] InterChange memory requirements
We've got a few sites running on a Dual PII 400 with 128 mb Ram, one of
these sites is fairly active (20+ GB data each month) the other is not
active at all (< 1 GB). We've had no complaints from the users that the
site is slow. We are getting ready to launch another site that we expect to
do 50+ GB of traffic each month that will be running on an Alpha 600 with 1G
of ram, I'll post with some stats once we go live. Good luck!
-Ron
----- Original Message -----
From: "Steve Lederman" <steve@studiol.com>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 05, 2001 11:51 AM
Subject: [ic] InterChange memory requirements
> Hi:
>
> We have installed InterChange with the construct demo on a Iserver Virtual
> Host (FreeBSD4.). We handled the Perl issues and the Free BSD stuff.
>
> Does anyone know or have the memory specs for InterChange?
>
> Thanks
>
> Steve Lederman
> Studio Lederman, Inc.
> steve@studiol.com
> http://www.studiol.com
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: jonc at webmaint.com (Jonathan Clark )
Date: Mon, 5 Feb 2001 20:27:48 -0000
Subject: [ic] Can GlobalSub override item_price routine?
This is a multi-part message in MIME format.
------=_NextPart_000_0004_01C08FB2.1AB0A9F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
> Is it possible to override the item_price routine in MV?
> (I would rather do that than hack the IC code)
>
> Can anyone give me a simple example of always returning a
> price of $1.23?
>
> Thanks.
The simple answer is yes you can override it.
You do this by specifying a custom usertag and then altering the default
CommonAdjust setting.
I use:
CommonAdjust [user-price] ;products:price
Which means return user-price if it exists, otherwise return the price from
the products file.
To return $1.23 you define a usertag:
UserTag user-price Routine <<EOR
sub {
return 1.23
}
and put it in catalog.cfg. then restart your ic server.
I use a custom tag to return pricing based upon a customer price, or price
band price (see attached usertags) The second tag is used to allow
formatting changes if the customer has been given a special price. (probably
not the best perl, but it works.)
good luck!
Jonathan
Webmaint.
------=_NextPart_000_0004_01C08FB2.1AB0A9F0
Content-Type: text/plain;
name="user-price.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="user-price.txt"
UserTag user-price Order
UserTag user-price Interpolate 1
UserTag user-price Routine <<EOR
sub {
my $username=3D $Session->{username} || 'nouser';
if ($username eq 'nouser') {
# ::logError("user not logged in for price");
return undef;}
# get the user's price break (A,B,C)...
my $band;
if ($Scratch->{priceband} ne '0'){
$band=3D$Scratch->{priceband};
}
my $code =3D $Vend::Interpolate::item->{code};
my $qty =3D $Vend::Interpolate::item->{quantity};
my @qtybreaks =3D (1,5,10,20);
my $level;
my $field;
# decide which price break to use...
foreach $level ( @qtybreaks ) {
last if ($qty < $level);
$field =3D "q$level";
}
my $opt =3D { sql =3D> "select $field from custpricing where =
sku=3D'$code' and username=3D'$username'",
};
my $db =3D $Vend::Database{custpricing} ;
my $ary=3D $db->query($opt, '[sql-code]');
if(! ref $ary) {
::logError("Could not make custom price item query for item=3D$code, =
user=3D$username, quantity=3D$qty, field=3D$field");
return undef;
=09
}
# if there is no user pricing check for band...
if ((!$$ary[0][0]) && $band){
my $opt =3D { sql =3D> "select $field from custpricing where =
sku=3D'$code' and username=3D'$band'",
};
$ary=3D $db->query($opt, '[sql-code]');
if(! ref $ary) {
return undef;
::logError("Could not make custom price item query for item=3D$code, =
user=3D$username, quantity=3D$qty, field=3D$field");
}
}
return $$ary[0][0];
}
EOR
------=_NextPart_000_0004_01C08FB2.1AB0A9F0--
From: martyk at gmx.de (Martin Kisser )
Date: Mon, 5 Feb 2001 22:42:01 +0100
Subject: [ic] item-accessories
Hi List!
I can't figure out, why my [item-accessories size__MVC_FIELDMUNGE__] - tag
in the flypage only give me the following line:
<INPUT TYPE="hidden" NAME="mv_order_size" VALUE="">
Catalog.cfg:
UseModifier size__MVC_FIELDMUNGE__ color
is set
Products-Table: Column exists
[item-field size__MVC_FIELDMUNGE__] gives the value "S=S,M=M,L=L*,XL=XL"
i also tried
[item-accessories size__MVC_FIELDMUNGE__ type="select"]
...please help...
Is there an row for that sku in the pricing-table needed?
Thanks,
Martin
From: agree at godzone.net.nz (Glen and Rosanne Eustace )
Date: Tue, 6 Feb 2001 12:24:39 +1300
Subject: [ic] Minimate
>From the resounding silence, do I take it that there isn't in fact a
replacement for Minimate in Interchange.
If this is the case, is there anything else I can use to modify the
tables. I am using postgresql and am aware of phpPgAdmin, but it is a
bit lowlevel and doesn't realte in any way to Interchange.
--
Glen and Rosanne Eustace,
GodZone Internet Services, a division of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand
Ph: +64 6 357 8168, Mobile: +64 21 424 015
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Mon, 05 Feb 2001 15:55:34 -0800
Subject: [ic] interchange + billing
At 01:46 AM 2/4/2001 -0600, you wrote:
>Has anyone tested implementing interchange with any type of
>billing/accounting software? I have been interested in see what can be done
>to create a "complete solution" with the help of interchange.
Murrah Boswell <otrcomm@isp-systems.com> is working on an accounting
software package that will integrate very well with Interchange. I am
using MAS90, and integrating at the database level (X data from interchange
gets inmported into MAS90 every Y minutes).
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Mon, 5 Feb 2001 16:09:30 -0800
Subject: [ic] Minimate
There is a complete admin interface available through Interchange which
excels beyond Minimate. Please checkout http://developer.akopia.com which
contains links off the frontpage for the Demo which includes the Admin side.
Good luck!
-Ron
----- Original Message -----
From: "Glen and Rosanne Eustace" <agree@godzone.net.nz>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 05, 2001 3:24 PM
Subject: [ic] Minimate
> >From the resounding silence, do I take it that there isn't in fact a
> replacement for Minimate in Interchange.
>
> If this is the case, is there anything else I can use to modify the
> tables. I am using postgresql and am aware of phpPgAdmin, but it is a
> bit lowlevel and doesn't realte in any way to Interchange.
>
> --
> Glen and Rosanne Eustace,
> GodZone Internet Services, a division of AGRE Enterprises Ltd.,
> P.O. Box 8020, Palmerston North, New Zealand
> Ph: +64 6 357 8168, Mobile: +64 21 424 015
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: warren-odom at stenocall.com (Warren Odom )
Date: Mon, 5 Feb 2001 18:08:01 -0600
Subject: [ic] Minimate
The UI (user interface) in Interchange is basically an improved version of
Minimate.
-- Warren
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com] On Behalf Of Glen and
Rosanne Eustace
Sent: Monday, February 05, 2001 5:25 PM
To: interchange-users@lists.akopia.com
Subject: [ic] Minimate
>From the resounding silence, do I take it that there isn't in fact a
replacement for Minimate in Interchange.
If this is the case, is there anything else I can use to modify the
tables. I am using postgresql and am aware of phpPgAdmin, but it is a
bit lowlevel and doesn't realte in any way to Interchange.
--
Glen and Rosanne Eustace,
GodZone Internet Services, a division of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand
Ph: +64 6 357 8168, Mobile: +64 21 424 015
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: ven at pragakhan.com (Victor Nolton )
Date: Mon, 5 Feb 2001 19:19:24 -0500
Subject: [ic] Minimate
There is a new interface for Interchange. I have managed to setup
Minimate 4 on a IC 4.6.1 but had some problems but nothing a few
edits couldn't fix.
Ven
>>From the resounding silence, do I take it that there isn't in fact a
>replacement for Minimate in Interchange.
>
>If this is the case, is there anything else I can use to modify the
>tables. I am using postgresql and am aware of phpPgAdmin, but it is a
>bit lowlevel and doesn't realte in any way to Interchange.
>
>--
>Glen and Rosanne Eustace,
>GodZone Internet Services, a division of AGRE Enterprises Ltd.,
>P.O. Box 8020, Palmerston North, New Zealand
>Ph: +64 6 357 8168, Mobile: +64 21 424 015
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: jojo at leidinger.net (Hans Joachim Leidinger )
Date: Tue, 06 Feb 2001 01:31:02 +0100
Subject: [ic] Another MIME Type for PGP in IC 4.6.1?
Hi list,
today was my last work, because I´ve a new job.
In this case, my former boss has ordered, to update the old MV3.x to the
IC 4.6.1 and his catalog too. After a lot of works. I was able to do
that since last week. After detecting some bugs, I was in a muddle,
because my boss couldn´t get an email with credit card encrypted. In my
test server, all works very fine. Looking around the codes/pages/config
files etc. did not give me any difference, hints, etc.. I did not read
the emails with the NS 4.6x or NS 4.7x in my test suite.
Going to the PC of my boss and fetching the old email with the credit
card info (encrypted) from the old MV3.x looks fine. There is a credit
card info encryted and attached.
All the files (orders/<ordernumber>, tracking.asc, etc.) has the right
content with credit card encrypted.
Looking into the newest email from the IC 4.6.1 via the NS of my boss
has no credit card info attached. Looking into the source code, I see
the credit card info encrypted suddenly. The different between the new
email and the old email is the different MIME-Type. The old email has a
"multipart/mixed" and the newest email has a "multipart/alternative" as
a MIME-Type. With "multipart/alternative", NS is not able to show my
boss any attached credit card info encrypted.
Changing
my $msg_type = $opt->{attach_only} ? "multipart/mixed" :
"multipart/alternative";
to
my $msg_type = $opt->{attach_only} ? "multipart/alternative" :
"multipart/mixed";
in Interpolate.pm solve the problem.
Am I missing some coherences?
Am I missing some News?
Any comments?
Thanks!
Joachim
--
-------------<FreeBsd>--------------------------------------------------
Hans-Joachim Leidinger email: hans-joachim.leidinger@home.gelsen-net.de
FAX : +49 0209-398265
From: dbigler at usa.net (David Bigler )
Date: 5 Feb 2001 18:41:11 CST
Subject: [ic] Help! With Dropped Cart Contents w/ SSL.
I'm pretty sure I need to change interchange.cfg. Problem is I don't know how
to change it. I know where & how catalog.cfg is changed, is it in a similar
place, and if not/so how can I edit it? Any help is greatly appreciated- I'm
trying to have this done tomorrow.
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Tue, 6 Feb 2001 10:07:00 +0800
Subject: [ic] Restarting the IC server
Sorry for troubling everybody again.
I just started using Interchange and would like to know how I could restart
the Interchange server from a CGI/Perl script. Anyone knows how I can do
that?
Regards,
Bryan Chen
TechMex Far East Pte Ltd
From: jbenjamin at biznesshosting.com (Joshua Benjamin )
Date: Mon, 5 Feb 2001 22:38:54 -0500
Subject: [ic] Server Move
Wee.
I've recently moved Interchange to a new server and moved a catalog with it.
Not when going to the URL for the catalog I get "Undefined catalog:
/unusualsilver" -- There's a lot of differences in this server from the old
like a new Apache and su_exec stuff (finally ironned it I think) -- but
anyway here is strace output of the interchange process when I access the
CGI.
open("/var/run/interchange", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 12
fstat(12, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
[root@optimus interchange]# strace -p 23968
select(16, [10 11], NULL, NULL, {1, 860000}) = 0 (Timeout)
time(NULL) = 981429804
open("/var/run/interchange", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 12
fstat(12, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
getdents(12, /* 8 entries */, 3933) = 176
getdents(12, /* 0 entries */, 3933) = 0
close(12) = 0
time(NULL) = 981429804
select(16, [10 11], NULL, NULL, {3, 0}) = 1 (in [10], left {2, 810000})
accept(10, {sin_family=AF_UNIX, path=@
@Üùÿ¿ ®}, [2]) = 12
fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(0xc, 0xbffff70c) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4027a000
_llseek(12, 0, 0xbffff74c, SEEK_CUR) = -1 ESPIPE (Illegal seek)
fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(0xc, 0xbffff704) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4027b000
_llseek(12, 0, 0xbffff744, SEEK_CUR) = -1 ESPIPE (Illegal seek)
fork() = 23986
close(12) = 0
munmap(0x4027b000, 4096) = 0
close(12) = -1 EBADF (Bad file descriptor)
munmap(0x4027a000, 4096) = 0
wait4(-1, 0xbffff8b8, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGUSR1 (User defined signal 1) ---
sigreturn() = ? (mask now [])
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 9], 0, NULL) = 23986
--- SIGCHLD (Child exited) ---
time(NULL) = 981429804
select(16, [10 11], NULL, NULL, {3, 0}) = ? ERESTARTNOHAND (To be restarted)
--- SIGUSR2 (User defined signal 2) ---
sigreturn() = ? (mask now [])
time(NULL) = 981429804
select(16, [10 11], NULL, NULL, {3, 0} <unfinished ...>
--
-----==- Joshua Benjamin josh@biznesshosting.com|
----==-- _ Chief Operations Officer |
---==---(_)__ __ ____ __ Biznesshosting, Inc. |
--==---/ / _ \/ // /\ \/ / Your business: online faster, cheaper. |
-=====/_/_//_/\_,_/ /_/\_\ http://www.biznesshosting.com |
The choice of a GNU generation |
---------------------------------------------------------------------+
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Mon, 5 Feb 2001 19:52:12 -0800
Subject: [ic] Server Move
Have you added your catalog to the interchange.cfg?
-Ron
----- Original Message -----
From: "Joshua Benjamin" <jbenjamin@biznesshosting.com>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 05, 2001 7:38 PM
Subject: [ic] Server Move
> Wee.
> I've recently moved Interchange to a new server and moved a catalog with
it.
> Not when going to the URL for the catalog I get "Undefined catalog:
> /unusualsilver" -- There's a lot of differences in this server from the
old
> like a new Apache and su_exec stuff (finally ironned it I think) -- but
> anyway here is strace output of the interchange process when I access the
> CGI.
>
> open("/var/run/interchange", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 12
> fstat(12, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fcntl(12, F_SETFD, FD_CLOEXEC) = 0
> [root@optimus interchange]# strace -p 23968
> select(16, [10 11], NULL, NULL, {1, 860000}) = 0 (Timeout)
> time(NULL) = 981429804
> open("/var/run/interchange", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 12
> fstat(12, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fcntl(12, F_SETFD, FD_CLOEXEC) = 0
> getdents(12, /* 8 entries */, 3933) = 176
> getdents(12, /* 0 entries */, 3933) = 0
> close(12) = 0
> time(NULL) = 981429804
> select(16, [10 11], NULL, NULL, {3, 0}) = 1 (in [10], left {2, 810000})
> accept(10, {sin_family=AF_UNIX, path=@
> @Üùÿ¿ ®}, [2]) = 12
> fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
> fstat64(0xc, 0xbffff70c) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)
> = 0x4027a000
> _llseek(12, 0, 0xbffff74c, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
> fstat64(0xc, 0xbffff704) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)
> = 0x4027b000
> _llseek(12, 0, 0xbffff744, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> fork() = 23986
> close(12) = 0
> munmap(0x4027b000, 4096) = 0
> close(12) = -1 EBADF (Bad file descriptor)
> munmap(0x4027a000, 4096) = 0
> wait4(-1, 0xbffff8b8, 0, NULL) = ? ERESTARTSYS (To be restarted)
> --- SIGUSR1 (User defined signal 1) ---
> sigreturn() = ? (mask now [])
> wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 9], 0, NULL) = 23986
> --- SIGCHLD (Child exited) ---
> time(NULL) = 981429804
> select(16, [10 11], NULL, NULL, {3, 0}) = ? ERESTARTNOHAND (To be
restarted)
> --- SIGUSR2 (User defined signal 2) ---
> sigreturn() = ? (mask now [])
> time(NULL) = 981429804
> select(16, [10 11], NULL, NULL, {3, 0} <unfinished ...>
>
> --
> -----==- Joshua Benjamin josh@biznesshosting.com|
> ----==-- _ Chief Operations Officer |
> ---==---(_)__ __ ____ __ Biznesshosting, Inc. |
> --==---/ / _ \/ // /\ \/ / Your business: online faster, cheaper. |
> -=====/_/_//_/\_,_/ /_/\_\ http://www.biznesshosting.com |
> The choice of a GNU generation |
> ---------------------------------------------------------------------+
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: jbenjamin at biznesshosting.com (Joshua Benjamin )
Date: Mon, 5 Feb 2001 23:07:57 -0500
Subject: [ic] FW: Server Move
Nevermind, apparently the init script doesn't output startup
errors...anywhere. starting it with su -c indentified a missing DBD::mysql
file.
--
-----==- Joshua Benjamin josh@biznesshosting.com|
----==-- _ Chief Operations Officer |
---==---(_)__ __ ____ __ Biznesshosting, Inc. |
--==---/ / _ \/ // /\ \/ / Your business: online faster, cheaper. |
-=====/_/_//_/\_,_/ /_/\_\ http://www.biznesshosting.com |
The choice of a GNU generation |
---------------------------------------------------------------------+
-----Original Message-----
From: Joshua Benjamin [mailto:jbenjamin@biznesshosting.com]
Sent: Monday, February 05, 2001 10:39 PM
To: interchange-users@lists.akopia.com
Subject: Server Move
Wee.
I've recently moved Interchange to a new server and moved a catalog with it.
Not when going to the URL for the catalog I get "Undefined catalog:
/unusualsilver" -- There's a lot of differences in this server from the old
like a new Apache and su_exec stuff (finally ironned it I think) -- but
anyway here is strace output of the interchange process when I access the
CGI.
open("/var/run/interchange", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 12
fstat(12, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
[root@optimus interchange]# strace -p 23968
select(16, [10 11], NULL, NULL, {1, 860000}) = 0 (Timeout)
time(NULL) = 981429804
open("/var/run/interchange", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 12
fstat(12, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
getdents(12, /* 8 entries */, 3933) = 176
getdents(12, /* 0 entries */, 3933) = 0
close(12) = 0
time(NULL) = 981429804
select(16, [10 11], NULL, NULL, {3, 0}) = 1 (in [10], left {2, 810000})
accept(10, {sin_family=AF_UNIX, path=@
@Üùÿ¿ ®}, [2]) = 12
fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(0xc, 0xbffff70c) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4027a000
_llseek(12, 0, 0xbffff74c, SEEK_CUR) = -1 ESPIPE (Illegal seek)
fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(0xc, 0xbffff704) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4027b000
_llseek(12, 0, 0xbffff744, SEEK_CUR) = -1 ESPIPE (Illegal seek)
fork() = 23986
close(12) = 0
munmap(0x4027b000, 4096) = 0
close(12) = -1 EBADF (Bad file descriptor)
munmap(0x4027a000, 4096) = 0
wait4(-1, 0xbffff8b8, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGUSR1 (User defined signal 1) ---
sigreturn() = ? (mask now [])
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 9], 0, NULL) = 23986
--- SIGCHLD (Child exited) ---
time(NULL) = 981429804
select(16, [10 11], NULL, NULL, {3, 0}) = ? ERESTARTNOHAND (To be restarted)
--- SIGUSR2 (User defined signal 2) ---
sigreturn() = ? (mask now [])
time(NULL) = 981429804
select(16, [10 11], NULL, NULL, {3, 0} <unfinished ...>
--
-----==- Joshua Benjamin josh@biznesshosting.com|
----==-- _ Chief Operations Officer |
---==---(_)__ __ ____ __ Biznesshosting, Inc. |
--==---/ / _ \/ // /\ \/ / Your business: online faster, cheaper. |
-=====/_/_//_/\_,_/ /_/\_\ http://www.biznesshosting.com |
The choice of a GNU generation |
---------------------------------------------------------------------+
From: jbeima at reality.palb.com (John Beima )
Date: Mon, 05 Feb 2001 22:13:07 -0700 (MST)
Subject: [ic] Restarting the IC server
That would be a security whole if that was allowed now wouldn't that???
You may wish to read the docs on this issue, I know you will find your answer
there...
Quoting Bryan Chen <bryan_chen@techmex.com.sg>:
> Sorry for troubling everybody again.
> I just started using Interchange and would like to know how I could
> restart
> the Interchange server from a CGI/Perl script. Anyone knows how I can do
> that?
>
> Regards,
> Bryan Chen
> TechMex Far East Pte Ltd
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange at my-school.com (IC-Admin )
Date: Tue, 6 Feb 2001 01:28:22 -0500 (EST)
Subject: [ic] Re:[mv] Interchange now a Red Hat product (DANGER...)
Carl wrote:
> But getting any assistance on how to connect CCVS to a bank, Redhat
> didn't have a clue, nor would they give any!
[snip]
> But Redhat almost destroyed this (I do like RedHat, its just my dealing
> with them on CCVS showed that RedHat obtained a great product but didn't
> have clue as to what it could/could not do). I pray this does not happen
> with Minivend/IC.
Noone would like that to happen, I assume. But I wouldn't worry about it.
You have to allow a company to generate revenue. As they can't make money
with the software, they have to build a structure whereby they can
offer services you have to pay for. Getting an open source program
explained is such a service. How else should they compete against the big
companies, who will either open up their source code or dump their
software prices and who have already service structures like that
in place ?
If they would neglect those services or overprice them, then they can't
make it. If they would give it away the services at no cost, they won't
make it either.
This is what Germans call my little "Milchrechnung"
I guess they have to offer excellent services and you pay a reasonable
price for everything you can't figure out on your own. How far Red Hat
could make this the fundamental principle, could become a somewhat ethical
question of consultancies in general.
If the consultancy comprises teaching with the goal that the customer is
empowered to set up and build his system on his own, they will have to
teach and you pay for it. If the consultancy comprises of building and
setting up systems, then they don't have to teach, they have to set-up and
maintain. In reality it most probably will always be a mixture of both,
because the customer might want to get taught in order to save on
maintenance.
Or can someone explain another way of making income for a company who
deals with open source software and doesn't sell hardware ?
Anyhow, Minivend from day one and I think Tallyman too, as well as
then IC, stood steadfast behind leaving the source code open. Considering
the make money fast climate in those early days when both packages were
still babies, that deserves high respect from the developers and
so far Red Hat has my respect in that matter as well. I am not sure, if
SuSE has a complete free of charge open source e-commerce software
package in its box. I doubt it. Basically customers are willing to
pay for a good product and a good service. I just don't know how much.
:-)
So, did I extinguish the fire you set with my home-made gardenhose ? <g>
Birgitt
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Tue, 6 Feb 2001 13:54:29 +0800
Subject: [ic] css and [page] tags.
after discussing this with one of the denizens of #interchange (hi
Queticon!), i still never really worked out what the best way of approaching
this is...
as far as functionality goes, [page][/page] == <A></A> - all except for the
fact you cant specify `CLASS="xxxx"` in a page tag. Which is a bit of a
problem... :) I've tried using <div>,<span>, specifying on the <p> tag, so
on and so on - but i cannot, no matter what i try, get it to use the class
i'm specifying for the link that is generated by the [page] tags. the only
link it seems i can apply is the default css a.link style - which is fine,
except for when you want to have more than one style applied to elements on
your page :)
has ANYONE managed to work out the best way around this?
From: porl at namee.com.au (Porl )
Date: Tue, 06 Feb 2001 17:02:31 +1100
Subject: [ic] Re:[mv] Interchange now a Red Hat product (DANGER...)
We will wait and see on that...
$10 anyone?
At 01:28 6/02/2001 -0500, you wrote:
>Carl wrote:
>
> > But getting any assistance on how to connect CCVS to a bank, Redhat
> > didn't have a clue, nor would they give any!
>
>[snip]
>
> > But Redhat almost destroyed this (I do like RedHat, its just my dealing
> > with them on CCVS showed that RedHat obtained a great product but didn't
> > have clue as to what it could/could not do). I pray this does not happen
> > with Minivend/IC.
>
>Noone would like that to happen, I assume. But I wouldn't worry about it.
>
>You have to allow a company to generate revenue. As they can't make money
>with the software, they have to build a structure whereby they can
>offer services you have to pay for. Getting an open source program
>explained is such a service. How else should they compete against the big
>companies, who will either open up their source code or dump their
>software prices and who have already service structures like that
>in place ?
>
>If they would neglect those services or overprice them, then they can't
>make it. If they would give it away the services at no cost, they won't
>make it either.
>
>This is what Germans call my little "Milchrechnung"
>
>I guess they have to offer excellent services and you pay a reasonable
>price for everything you can't figure out on your own. How far Red Hat
>could make this the fundamental principle, could become a somewhat ethical
>question of consultancies in general.
>
>If the consultancy comprises teaching with the goal that the customer is
>empowered to set up and build his system on his own, they will have to
>teach and you pay for it. If the consultancy comprises of building and
>setting up systems, then they don't have to teach, they have to set-up and
>maintain. In reality it most probably will always be a mixture of both,
>because the customer might want to get taught in order to save on
>maintenance.
>
>Or can someone explain another way of making income for a company who
>deals with open source software and doesn't sell hardware ?
>
>Anyhow, Minivend from day one and I think Tallyman too, as well as
>then IC, stood steadfast behind leaving the source code open. Considering
>the make money fast climate in those early days when both packages were
>still babies, that deserves high respect from the developers and
>so far Red Hat has my respect in that matter as well. I am not sure, if
>SuSE has a complete free of charge open source e-commerce software
>package in its box. I doubt it. Basically customers are willing to
>pay for a good product and a good service. I just don't know how much.
>:-)
>
>So, did I extinguish the fire you set with my home-made gardenhose ? <g>
>
>Birgitt
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Tue, 6 Feb 2001 15:05:43 +0800
Subject: [ic] Multipage forms
I am using Interchange 4.6.1
Is it possible to make a multipage form.
What I want to do is have a standard first page. The second page, however,
will be displayed based on which one of two radio buttons the user had
selected in the first page.
After this is all done, how do I combine all this information to be
submitted to an e-mail address?
(I know how to use the etc/report, but what I don't know is how to combine
the info from the different pages together.)
Thanks in advance!
Regards,
Bryan Chen
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Tue, 6 Feb 2001 15:40:15 +0800
Subject: [ic] Creating my own admin interface
Hi again.
Anybody knows what is the best way to update products records through a
custom-made admin interface?
The only one I can think of right now is letting the interface update
products.txt, then restarting the interchange server manually. However, this
is really cumbersome. So anyone has better ways?
Thanks a whole lot!
Bryan
From: bbisaillon at pmail.net (Brian Bisaillon )
Date: Mon, 5 Feb 2001 21:19:42 -0500
Subject: [ic] CSP (Commerce Solutions Provider)
Me and some friends were thinking on setting up a business here in Canada.
We'll be hosting local (or remote) businesses' websites on our servers. We
are probably going to go with a High Speed DSL solution (equivalent to a
fractional T1) from Bell. We would get 32 static ips, DNS, a Cisco router,
etc. with that. It's only going to cost us just less than 1/3 of the cost of
a full T1 in this area (here it costs 2200$/month canadian). We as students
just finishing up at college don't want to spend too much but we would
really like to provide more than just a simple website for local (or remote)
businesses. We want to provide some EBusiness/ECommerce solutions as well.
I've been searching and searching for hours and days looking for cheap
solutions or some way to implement this. I came across some link on the
Internet that pointed me to Red Hat's site and I read about Interbase. I was
amazed! I recently made my own Linux distribution that will basically just
run purely as a server. I'm going to compile the Interbase code on it and
see what it can do. I already have the latest versions of Apache, MySQL,
OpenSSL and PHP installed and working on my distribution. I compiled them
from scratch. I also have the latest version of Perl sitting on my system
here. I haven't programmed in Perl before but I've done stuff in various
other programming languages. Basically, small useful utilities I coded. The
biggest thing I probably coded was my own chat server (very basic one but it
didn't support message relaying yet or a database system) in Erlang. I'm not
in college to learn programming. I pretty much do it on my own. I'm in my
3rd year of Computer Network Technology and after this I'll have two
diplomas come April/2001. Anyways, back on topic. I wanted to know if any
other sites are using Interchange right now? How stable is it? What are some
things I should consider when setting this up? I suppose I'll find a lot of
answers in the documentation when I read it and set it up tomorrow. However,
I'm interested in knowing how stable this is and if it's worthit for us to
go ahead with this. The best part is that this software is FREE and I mean
we are college students that don't have a whole lot of money. Therefore, if
we can set this thing up on our Linux servers it'd be great for us! Plus,
any outside customers on the Internet such as U.S. customers would benefit
from our services because to U.S. customers, canadian pricing is much
cheaper. For example, if I roll out some services for say 24.95$/mth + GST
(7%) it would cost U.S. customers peanuts. We'd be raking in the cash as
well once we get a good customer base. We are planning on providing fault
tolerance using RAID and we're going to talk to Bell about fault tolerance
involving the routers. We still have a lot of background work to do on legal
issues that might be involved with our business. However, if we can get this
thing off the ground we'll definitely be sitting pretty! If Interchange is
going to be rolled out on a large scale (maybe it's already really popular
but I'm not sure) then I don't see why I wouldn't want to get more in depth
training on it unless of course I can figure this stuff out on my own.
Basically, do you all think this is a good idea? We have all the machines
already, we have the operating system and the software (including
Interchange), we'd get bandwidth provided by Bell for a reasonable cost
(449$/mth canadian) and all we'd really have to worry about is Marketing
etc. However, in this city no one has done what we plan to do. We can really
get the ball rolling and really compete effectively with local businesses
here. Most businesses here are providing dial-up accounts etc. and Bell is
charging them an arm and a leg for reselling bandwidth. We decided if you
can't compete with Bell run with them and the result would be much cheaper.
We will be running this out of my friend's home as well. He has a bunch of
security setup there and all we really need now is some UPS' and make sure
that everything is insured. As for important data we'll be backing it up and
putting it in a safe place (perhaps a safe or something? maybe even look
into some security service). For example, if our server went down we don't
want to lose all of the financial information related to the businesses we
host otherwise we'd be in big trouble. Anyways, you can sort of see what
we've been thinking of here. We were also thinking on establishing our
customer base first (and that won't be a problem because we already have
people waiting for us to get up and running! they're eager!) and of course
on the Internet we can also establish an international clientele.
All in all, if anyone on this list can provide me with more information to
help me along please do so. I'm kinda fuzzy on the whole digital certificate
thing too! I guess we'd have to signup for a digital certificate with some
sort of service? Also, I was thinking about SSL and all the services that
currently don't support it and I was thinking of using stunnel to pipe my
services through it for more security. Is that also a good idea? I know it's
not related to Interchange but I guess it could be.
Thank you in advance all for your replies! I'm sure I'll get some...
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Tue, 6 Feb 2001 15:43:39 +0800
Subject: [ic] Creating my own admin interface
try the already created UI. http://yourcatalogue.com/catalogname/admin/login
----- Original Message -----
From: Bryan Chen <bryan_chen@techmex.com.sg>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 06, 2001 3:40 PM
Subject: [ic] Creating my own admin interface
> Hi again.
> Anybody knows what is the best way to update products records through a
> custom-made admin interface?
> The only one I can think of right now is letting the interface update
> products.txt, then restarting the interchange server manually. However,
this
> is really cumbersome. So anyone has better ways?
>
> Thanks a whole lot!
>
> Bryan
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Tue, 6 Feb 2001 15:50:51 +0800
Subject: [ic] CSP (Commerce Solutions Provider)
Interbase is a Borland SQL DB (off memory), whereas Interchange is an
ecommerce backend mega super funkdafied
more-flavour-than-you-can-see-hear-taste-or-smell piece of software used for
creating ecommerce websites. :)
----- Original Message -----
From: Brian Bisaillon <bbisaillon@pmail.net>
To: Interchange Mailing List <interchange-users@lists.akopia.com>
Sent: Tuesday, February 06, 2001 10:19 AM
Subject: [ic] CSP (Commerce Solutions Provider)
> Me and some friends were thinking on setting up a business here in Canada.
> We'll be hosting local (or remote) businesses' websites on our servers. We
> are probably going to go with a High Speed DSL solution (equivalent to a
> fractional T1) from Bell. We would get 32 static ips, DNS, a Cisco router,
> etc. with that. It's only going to cost us just less than 1/3 of the cost
of
> a full T1 in this area (here it costs 2200$/month canadian). We as
students
> just finishing up at college don't want to spend too much but we would
> really like to provide more than just a simple website for local (or
remote)
> businesses. We want to provide some EBusiness/ECommerce solutions as well.
> I've been searching and searching for hours and days looking for cheap
> solutions or some way to implement this. I came across some link on the
> Internet that pointed me to Red Hat's site and I read about Interbase. I
was
> amazed! I recently made my own Linux distribution that will basically just
> run purely as a server. I'm going to compile the Interbase code on it and
> see what it can do. I already have the latest versions of Apache, MySQL,
> OpenSSL and PHP installed and working on my distribution. I compiled them
> from scratch. I also have the latest version of Perl sitting on my system
> here. I haven't programmed in Perl before but I've done stuff in various
> other programming languages. Basically, small useful utilities I coded.
The
> biggest thing I probably coded was my own chat server (very basic one but
it
> didn't support message relaying yet or a database system) in Erlang. I'm
not
> in college to learn programming. I pretty much do it on my own. I'm in my
> 3rd year of Computer Network Technology and after this I'll have two
> diplomas come April/2001. Anyways, back on topic. I wanted to know if any
> other sites are using Interchange right now? How stable is it? What are
some
> things I should consider when setting this up? I suppose I'll find a lot
of
> answers in the documentation when I read it and set it up tomorrow.
However,
> I'm interested in knowing how stable this is and if it's worthit for us to
> go ahead with this. The best part is that this software is FREE and I mean
> we are college students that don't have a whole lot of money. Therefore,
if
> we can set this thing up on our Linux servers it'd be great for us! Plus,
> any outside customers on the Internet such as U.S. customers would benefit
> from our services because to U.S. customers, canadian pricing is much
> cheaper. For example, if I roll out some services for say 24.95$/mth + GST
> (7%) it would cost U.S. customers peanuts. We'd be raking in the cash as
> well once we get a good customer base. We are planning on providing fault
> tolerance using RAID and we're going to talk to Bell about fault tolerance
> involving the routers. We still have a lot of background work to do on
legal
> issues that might be involved with our business. However, if we can get
this
> thing off the ground we'll definitely be sitting pretty! If Interchange is
> going to be rolled out on a large scale (maybe it's already really popular
> but I'm not sure) then I don't see why I wouldn't want to get more in
depth
> training on it unless of course I can figure this stuff out on my own.
>
> Basically, do you all think this is a good idea? We have all the machines
> already, we have the operating system and the software (including
> Interchange), we'd get bandwidth provided by Bell for a reasonable cost
> (449$/mth canadian) and all we'd really have to worry about is Marketing
> etc. However, in this city no one has done what we plan to do. We can
really
> get the ball rolling and really compete effectively with local businesses
> here. Most businesses here are providing dial-up accounts etc. and Bell is
> charging them an arm and a leg for reselling bandwidth. We decided if you
> can't compete with Bell run with them and the result would be much
cheaper.
> We will be running this out of my friend's home as well. He has a bunch of
> security setup there and all we really need now is some UPS' and make sure
> that everything is insured. As for important data we'll be backing it up
and
> putting it in a safe place (perhaps a safe or something? maybe even look
> into some security service). For example, if our server went down we don't
> want to lose all of the financial information related to the businesses we
> host otherwise we'd be in big trouble. Anyways, you can sort of see what
> we've been thinking of here. We were also thinking on establishing our
> customer base first (and that won't be a problem because we already have
> people waiting for us to get up and running! they're eager!) and of course
> on the Internet we can also establish an international clientele.
>
> All in all, if anyone on this list can provide me with more information to
> help me along please do so. I'm kinda fuzzy on the whole digital
certificate
> thing too! I guess we'd have to signup for a digital certificate with some
> sort of service? Also, I was thinking about SSL and all the services that
> currently don't support it and I was thinking of using stunnel to pipe my
> services through it for more security. Is that also a good idea? I know
it's
> not related to Interchange but I guess it could be.
>
> Thank you in advance all for your replies! I'm sure I'll get some...
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: jbeima at reality.palb.com (John Beima )
Date: Tue, 06 Feb 2001 01:28:41 -0700 (MST)
Subject: [ic] css and [page] tags.
A smart-assed answer would be to learn how to properly code HTML so you don't
need Style Sheets... But that would just be a late night half tired
quick responce...
John Beima
Quoting Cameron Germein <cameron.germein@team.eftel.com>:
> after discussing this with one of the denizens of #interchange (hi
> Queticon!), i still never really worked out what the best way of
> approaching
> this is...
>
> as far as functionality goes, [page][/page] == <A></A> - all except for
> the
> fact you cant specify `CLASS="xxxx"` in a page tag. Which is a bit of a
> problem... :) I've tried using <div>,<span>, specifying on the <p> tag,
> so
> on and so on - but i cannot, no matter what i try, get it to use the
> class
> i'm specifying for the link that is generated by the [page] tags. the
> only
> link it seems i can apply is the default css a.link style - which is
> fine,
> except for when you want to have more than one style applied to elements
> on
> your page :)
>
> has ANYONE managed to work out the best way around this?
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: jbeima at reality.palb.com (John Beima )
Date: Tue, 06 Feb 2001 01:29:31 -0700 (MST)
Subject: [ic] Multipage forms
Read up on the [cgi] tag... It is your answer...
John Beima
Quoting Bryan Chen <bryan_chen@techmex.com.sg>:
> I am using Interchange 4.6.1
> Is it possible to make a multipage form.
> What I want to do is have a standard first page. The second page,
> however,
> will be displayed based on which one of two radio buttons the user had
> selected in the first page.
> After this is all done, how do I combine all this information to be
> submitted to an e-mail address?
> (I know how to use the etc/report, but what I don't know is how to
> combine
> the info from the different pages together.)
>
> Thanks in advance!
>
> Regards,
> Bryan Chen
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Tue, 6 Feb 2001 16:31:34 +0800
Subject: [ic] css and [page] tags.
heh, and unfortunately not entirely accurate as far as i know... i didnt
think it was possible to turn off underlining in links without using css
styles?
----- Original Message -----
From: John Beima <jbeima@reality.palb.com>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 06, 2001 4:28 PM
Subject: Re: [ic] css and [page] tags.
> A smart-assed answer would be to learn how to properly code HTML so you
don't
> need Style Sheets... But that would just be a late night half tired
> quick responce...
>
> John Beima
>
>
> Quoting Cameron Germein <cameron.germein@team.eftel.com>:
>
> > after discussing this with one of the denizens of #interchange (hi
> > Queticon!), i still never really worked out what the best way of
> > approaching
> > this is...
> >
> > as far as functionality goes, [page][/page] == <A></A> - all except for
> > the
> > fact you cant specify `CLASS="xxxx"` in a page tag. Which is a bit of a
> > problem... :) I've tried using <div>,<span>, specifying on the <p> tag,
> > so
> > on and so on - but i cannot, no matter what i try, get it to use the
> > class
> > i'm specifying for the link that is generated by the [page] tags. the
> > only
> > link it seems i can apply is the default css a.link style - which is
> > fine,
> > except for when you want to have more than one style applied to elements
> > on
> > your page :)
> >
> > has ANYONE managed to work out the best way around this?
> >
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> 2713B Spring Place SW, Decatur, Alabama, United States, 35603
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: schurkmaster at yahoo.com (johny brabo )
Date: Tue, 6 Feb 2001 01:08:59 -0800 (PST)
Subject: [ic] gouping items
Thank you for the hints Scott and Christopher,
I didn't know that the shopping cart takes care of
assemblies that way, but I'm certainly going to use
it.
kind regards
----- Original Message -----
From: scott andreas
<scotta@homer-simpson.learnserv.com>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 05, 2001 8:26 PM
Subject: Re: [ic] gouping items
> cfm@maine.com wrote:
> >
> > On Mon, Feb 05, 2001 at 05:59:22AM -0800, johny
brabo wrote:
> > > Hello,
> > > Maybe my last question wasn't very clear since I
> > > didn't get an answer.
> > >
> > > I am looking for a simple way to show an item
and
> > > links to parts of that item, so eg. I show a
computer
> > > and beneath it I show links to the parts. People
can
> > > Buy the whole computer, but they also can see
what
> > > screen it has, what memory and so on...
> > >
> > > The "order groups"-function doesn't seem to fit
my
> > > needs since there is no need to sell multiple
items at
> > > once. Also "accesoires" isn't really what I need
I
> > > guess. Can someone hint me to a solution?
> >
> > TABLE assemblies (
> > code varchar
> > part varchar
> > )
> >
> > Where code is the big item and "part" is the code
> > for the item that goes into it. One code in your
> > products table can have any number of records in
> > assemblies. I'm presuming that each "part" in
assembly
> > is also in your products table so you can pull the
additional
> > information you need. Alternatively, denormalize
> > assemblies and add the fields to make display
easier/faster.
> >
> > SELECT * FROM products WHERE code=[item_code]; #
display item
> >
> > SELECT * FROM assemblies WHERE code=[item_code]; #
for each loop
> >
> >
> > >
> > > Any small advice is appreciated
> > >
> > >
__________________________________________________
> > > Get personalized email addresses from Yahoo!
Mail - only $35
> > > a year! http://personal.mail.yahoo.com/
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > >
http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > --
> >
> > Christopher F. Miller, Publisher
cfm@maine.com
> > MaineStreet Communications, Inc 208
Portland Road, Gray, ME 04039
> > 1.207.657.5078
http://www.maine.com/
> > Content management, electronic commerce, internet
integration, Debian linux
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> >
http://lists.akopia.com/mailman/listinfo/interchange-users
>
> Here's an idea.
>
> Have the user select the computer. The cart will
display the computer
> with related items all checked beneath it. If the
user unchecks the
> related item the cart will recalculate itself
subtracting the unneeded
> item. Or you can start with a base model and add
related items to it in
> the cart. This way the user check the box and adds
parts to the computer
> hince building a computer.
>
> Within the cart the user can click on the
description hyperlink to view
> what that item actually is
>
> Just a suggestion
> --
> J. Scott Andreas :)
> Programmer/Webintegrator
> e-mail: scotta@homer.learnserv.com
> phone: 1-800-877-9378 ext. 146
> fax: (541) 744-2056
> --- __o
> --- _-\<,_
> --- (_)/ (_)
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
From: martyK at gmx.de (Martin Kisser )
Date: Tue, 6 Feb 2001 11:18:10 +0100 (MET)
Subject: [ic] item-accessories - solved
For everyone who's interested:
I solved the problem with:
[item-accessories
size__MVC_FIELDMUNGE__,select,size__MVC_FIELDMUNGE__,products]
i dont know, why to split the parameters with "," - but it works ;-)
Martin
> From: "Martin Kisser" <martyk@gmx.de>
> Subject: [ic] item-accessories
>
> Hi List!
>
> I can't figure out, why my [item-accessories size__MVC_FIELDMUNGE__] - tag
> in the flypage only give me the following line:
> <INPUT TYPE="hidden" NAME="mv_order_size" VALUE="">
[...]
--
Sent through GMX FreeMail - http://www.gmx.net
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Tue, 06 Feb 2001 13:02:09 +0200
Subject: [ic] How to reload a page when u choose a new size?
Hello.
I want the page to be reloaded each time a user chooses a new size while
the price changes too.
How can i do that?
Thank you.
Thomas
From: interchange at my-school.com (IC-Admin )
Date: Tue, 6 Feb 2001 10:49:57 -0500 (EST)
Subject: [ic] CSP (Commerce Solutions Provider)
Brian Bisaillon wrote:
> Basically, do you all think this is a good idea?
Very good idea, you are on the right track... :-)
> I wanted to know if any other sites are using Interchange right now? How
> stable is it? What are some things I should consider when setting this
> up?
What did you think, that RedHat offers software which isn't used by anyone
? Sure, there are sites who use IC. You should consider reading the docs
and reading the mailing list. And yes, it is stable like a rock, if you
configure it properly.
> and of course on the Internet we can also establish an international
> clientele.
I would focus on your local ones first :-). Good luck.
P.S. One of the nicest things about Minivend/IC is the enthusiasm it can
generate. I really think Mike and the Akopia team did a lot of young guys
a very good service.
Birgitt
From: schurkmaster at yahoo.com (johny brabo )
Date: Tue, 6 Feb 2001 06:40:45 -0800 (PST)
Subject: [ic] perl code overview?
Hello all,
I'm starting to think it would be best for me to
struggle myself troughout interchanges perl code.
Do you have an overview of the program's structure,
because at the moment it's like a monolitic block to
me.
thanks
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
From: support at admiralexpress.com (Phillip A. Ryals )
Date: Tue, 6 Feb 2001 08:41:21 -0600
Subject: [ic] Datamining with Interchange
Hi all,
I'm new here, and I hope this hasn't been asked before...
I'm looking at Interchange to replace my company's current ecom software.
It's a proprietary/unstable piece that I'm not allowed to touch (it's in
another state). The best option (and I've investigated many) is to create a
new one.
The problem is that we have a proprietary system that all business runs on.
Our current software interfaces through a gateway to get realtime customer
pricing (via contracts) and a real system order number. The nice thing is
that it's all done for us, and we can just pull the order up in the system
as if customer service put it in themselves.
I'm curious whether Interchange might be adaptable to this type of
environment. It would mean somehow linking it to a gateway that it could
query for pricing. Also, when the order is placed, Interchange would need
to let the order go through to our system (attaching the account number as
the method of payment) instead of processing the order itself.
I hope someone might be able to help. We might even need a consultant. I'm
not terribly strong in perl, and that might be where I'm going with this.
Thanks for any comments/suggestions!
-phillip
From: cfm at maine.com (cfm at maine.com )
Date: Tue, 6 Feb 2001 10:34:46 -0500
Subject: [ic] perl code overview?
On Tue, Feb 06, 2001 at 06:40:45AM -0800, johny brabo wrote:
> Hello all,
>
> I'm starting to think it would be best for me to
> struggle myself troughout interchanges perl code.
>
> Do you have an overview of the program's structure,
> because at the moment it's like a monolitic block to
> me.
Start with Interpolate.pm and work out from there. You'll
get into Data.pm and Util.pm right away and other modules
as you need to. Don't start with bin/minivend or it will
likely make no sense.
I've attached something that will dump your session and show
much of the data structure.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
#!/usr/bin/perl
# sessiondump.html
# rev 2000-12-21, cfm for perl 5.6 ref
[tag op=header]
Content-Type: text/plain
[/tag]
[realperl]
{
my(@OUT,@foo,$i,$test,$what);
@foo=["Vend::",''];
$i=0;
while($what = shift @foo) {
my($x);
$test = $what->[0];
unless($what->[0] =~ /->/ || $what->[0] !~ /::$/) {
for (sort keys %{eval "*$what->[0]"}) {
unshift @foo, ["$what->[0]$_",$what->[1].' '];
}
}
$what->[0]=~s/::$//;
$x=eval "\$$what->[0]";
push @OUT, qq`$what->[1]$what->[0] - ${\(eval "\$$what->[0]")}\n`;
if(ref($x) eq "HASH") {
for(sort keys %{$x}) {
unshift @foo, ["$what->[0]\->{'$_'}","$what->[1] "];
}
next;
}
if(ref($x) eq "ARRAY") {
for(my $i = 0; $i < @{$x}; $i++) {
unshift @foo, ["$what->[0]\->[$i]","$what->[1] "];
}
next;
}
}
return join '',@OUT;
}
[/realperl]
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Tue, 06 Feb 2001 16:17:32 +0000
Subject: [ic] BUG :- Very severe, but I've got a fix
Murray Gibbins wrote:
>
> Mike Heins wrote:
>
> >
> > Looks to me like the bug is:
> >
> > $Vend::Session->{shost} = $CGI::secure;
> >
> > It should be:
> >
> > $Vend::Session->{shost} = $CGI::remote_addr;
> >
> > Try backing out your change and putting that in and seeing if it works.
>
> yep that seems to work :-)
>
> When can we see a new RPM ?
Damn, it's bouncing me out of https after the basket. damn,damn,damn :-(
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: doug at lathi.net (Doug Alcorn )
Date: 06 Feb 2001 11:34:46 -0500
Subject: [ic] mod_minivend status
Is mod_minivend known to work with apache 1.3.14? From the home page
at http://indev.insu.com/mod_minivend/mod_minivend.html says as of
last year mod_minivend is looking for a new maintainer. It also
doesn't say anything about working with IC v4.x.
The reason I ask all this is that I couldn't get apache to load the
module. I'm running apache 1.3.14 compiled from source. I compiled
mod_minivend as DSO using apxs. I don't have the exact error messages
in front of me (doh!), sorry. I was just wondering known recent
configurations of mod_minivend, IC, and apache.
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: michael at panamacom.com (Michael Schwartz )
Date: Tue, 6 Feb 2001 11:49:02 -0500
Subject: [ic] error on charge operation 'mauthonly'..Help please!
Hi all,
I did a re-installation of minivend 4.04, because I changed servers, and
everything went fine, but I am getting this error:
Fatal error on charge operation 'mauthonly': Undefined subroutine
&Vend::Order::doDirectPayment called at /home/io/mvend/lib/Vend/Order.pm
line 715.
in the error.log. The problem is that all the stores are not functioning
correctly with cybercash, and I really dont understand the error message.
Since the stores are live, this is pretty urgent. Can someone give me a
hint about this error??
Thanks!
Michael
From: frank.maestas at ttseagle.com (frank.maestas at ttseagle.com )
Date: Tue, 6 Feb 2001 10:36:01 -0700
Subject: [ic] How do we create a subsection in layout ed.
Hello,
Using Interchange 4.6
I am a little confused here. In the Layout Editor, there is a reference in
the help screen to creating a "subsection" by clicking on the "create
subsection" icon.
I looked, and there is no "create subsection" icon.
Another strange thing, I run IC on two servers. One server displays icons
in the Layout Editor, and the other server displays standard html style
buttons. Neither server has a create subsection icon or button though.
Has the create subsection option been removed?
Thanks!
Frank Maestas
frank.maestas@ttseagle.com
From: doug at lathi.net (Doug Alcorn )
Date: 06 Feb 2001 12:45:29 -0500
Subject: [ic] CSP (Commerce Solutions Provider)
"Brian Bisaillon" <bbisaillon@pmail.net> writes:
> Basically, do you all think this is a good idea?
Don't quit your day-job. This is a competitive business that requires
a lot to know. E-Commerse is a beast unto itself. Yes, being Linux
smart takes away some of the learning curve. I don't want to
discourage you from starting. There _is_ a market for service
providers who can actually provide good service. I have been the
victim more than once of signing up for services on the 'net that were
less than advertised.
I recommend finding a local business that wants to "get online".
Start with just one e-comm site. Don't take on too much at once.
After you've worked you way through one complete site you will be much
smarter than you are now. If you are doing two or three at the same
time, all of them will be screwed up. If you're doing only one then
just that one will be screwed up.
Actual E-Comm experience is the key. Work cheap to get several sites
under your belt. What you really want is an education in e-comm.
Getting money from your clients just helps you float while you get
your education.
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: racke at linuxia.de (Stefan Hornburg )
Date: 06 Feb 2001 19:08:46 +0100
Subject: [ic] Datamining with Interchange
"Phillip A. Ryals" <support@admiralexpress.com> writes:
> Hi all,
>
> I'm new here, and I hope this hasn't been asked before...
>
> I'm looking at Interchange to replace my company's current ecom software.
> It's a proprietary/unstable piece that I'm not allowed to touch (it's in
> another state). The best option (and I've investigated many) is to create a
> new one.
>
> The problem is that we have a proprietary system that all business runs on.
> Our current software interfaces through a gateway to get realtime customer
> pricing (via contracts) and a real system order number. The nice thing is
> that it's all done for us, and we can just pull the order up in the system
> as if customer service put it in themselves.
>
> I'm curious whether Interchange might be adaptable to this type of
> environment. It would mean somehow linking it to a gateway that it could
> query for pricing.
This should be quite possible. An example for a customized pricing
(you can use a global usertag which has the full power of Perl):
# Pricing
UserTag calc_price Order code quantity
UserTag calc_price Routine <<EOF
sub {
my ($code, $quantity);
if ($Vend::Interpolate::item) {
$code = $Vend::Interpolate::item->{code};
$quantity = $Vend::Interpolate::item->{quantity};
} else {
($code, $quantity) = @_;
}
# sanity check
if ($code !~ /^\d+$/ || $quantity !~ /^\d+$/) {
Log ("Wrong input for calc_price: CODE $code QUANTITY $quantity");
return;
}
my $db = Vend::Data::database_exists_ref('price');
my $keys = $db->query ("select price,min from price where component_idf = $code order by min");
my $price;
if (@$keys) {
# fallback price
$price = $keys->[0]->[0];
# check for appropriate price
for (my $i = 0; $i < @$keys; $i++) {
if ($quantity > $keys->[$i]->[1]) {
$price = $keys->[$i]->[0];
}
}
}
$price;
}
EOF
CommonAdjust [calc_price]
> Also, when the order is placed, Interchange would need
> to let the order go through to our system (attaching the account number as
> the method of payment) instead of processing the order itself.
I produced a patch for IC so you can call any function "Sub" from
within a order route, so this is feasible too.
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: racke at linuxia.de (Stefan Hornburg )
Date: 06 Feb 2001 19:10:29 +0100
Subject: [ic] error on charge operation 'mauthonly'..Help please!
"Michael Schwartz" <michael@panamacom.com> writes:
> Hi all,
> I did a re-installation of minivend 4.04, because I changed servers, and
> everything went fine, but I am getting this error:
> Fatal error on charge operation 'mauthonly': Undefined subroutine
> &Vend::Order::doDirectPayment called at /home/io/mvend/lib/Vend/Order.pm
> line 715.
>
> in the error.log. The problem is that all the stores are not functioning
> correctly with cybercash, and I really dont understand the error message.
> Since the stores are live, this is pretty urgent. Can someone give me a
> hint about this error??
Your Cybercash configuration seems to be broken. Read the docs/ML archive
on this topic.
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: cfm at maine.com (cfm at maine.com )
Date: Tue, 6 Feb 2001 13:26:29 -0500
Subject: [ic] Datamining with Interchange
> > The problem is that we have a proprietary system that all business runs on.
> > Our current software interfaces through a gateway to get realtime customer
> > pricing (via contracts) and a real system order number. The nice thing is
> > that it's all done for us, and we can just pull the order up in the system
> > as if customer service put it in themselves.
> >
> > I'm curious whether Interchange might be adaptable to this type of
> > environment. It would mean somehow linking it to a gateway that it could
> > query for pricing.
>
Think this through carefully and completely. Among the things that
can bite you: if you have a lot of items and big pages your gateway
system is going to get hammered. Think of what can be cached, how
and where, what sort of optimizations you might make. You might only
stub in for it at first, but success might just kill you if you don't
plan for it.
> This should be quite possible. An example for a customized pricing
> (you can use a global usertag which has the full power of Perl):
>
> # Pricing
> UserTag calc_price Order code quantity
> UserTag calc_price Routine <<EOF
> sub {
> my ($code, $quantity);
>
> if ($Vend::Interpolate::item) {
> $code = $Vend::Interpolate::item->{code};
> $quantity = $Vend::Interpolate::item->{quantity};
> } else {
> ($code, $quantity) = @_;
> }
>
> # sanity check
> if ($code !~ /^\d+$/ || $quantity !~ /^\d+$/) {
> Log ("Wrong input for calc_price: CODE $code QUANTITY $quantity");
> return;
> }
>
> my $db = Vend::Data::database_exists_ref('price');
> my $keys = $db->query ("select price,min from price where component_idf = $code order by min");
> my $price;
>
> if (@$keys) {
> # fallback price
> $price = $keys->[0]->[0];
> # check for appropriate price
> for (my $i = 0; $i < @$keys; $i++) {
> if ($quantity > $keys->[$i]->[1]) {
> $price = $keys->[$i]->[0];
> }
> }
> }
> $price;
> }
> EOF
>
> CommonAdjust [calc_price]
>
> > Also, when the order is placed, Interchange would need
> > to let the order go through to our system (attaching the account number as
> > the method of payment) instead of processing the order itself.
>
> I produced a patch for IC so you can call any function "Sub" from
> within a order route, so this is feasible too.
>
> Ciao
> Racke
>
> --
> LinuXia Systems && Cobolt NetServices, eCommerce and more
> Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
> http://www.linuxia.de - http://www.cobolt.net
> --> Junior Officer of the MiniVend/Interchange Bug Patrol <---
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: jbeima at reality.palb.com (John Beima )
Date: Tue, 06 Feb 2001 11:28:15 -0700 (MST)
Subject: [ic] css and [page] tags.
Actually that only works in IE from what I have seen, and then your users have
no idea what they are sposed to click. I did from work for a division of
Paramount Television, this was killed VERY quick...
John Beima
Quoting Cameron Germein <cameron.germein@team.eftel.com>:
> heh, and unfortunately not entirely accurate as far as i know... i didnt
> think it was possible to turn off underlining in links without using css
> styles?
>
> ----- Original Message -----
> From: John Beima <jbeima@reality.palb.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Tuesday, February 06, 2001 4:28 PM
> Subject: Re: [ic] css and [page] tags.
>
>
> > A smart-assed answer would be to learn how to properly code HTML so
> you
> don't
> > need Style Sheets... But that would just be a late night half tired
> > quick responce...
> >
> > John Beima
> >
> >
> > Quoting Cameron Germein <cameron.germein@team.eftel.com>:
> >
> > > after discussing this with one of the denizens of #interchange (hi
> > > Queticon!), i still never really worked out what the best way of
> > > approaching
> > > this is...
> > >
> > > as far as functionality goes, [page][/page] == <A></A> - all except
> for
> > > the
> > > fact you cant specify `CLASS="xxxx"` in a page tag. Which is a bit
> of a
> > > problem... :) I've tried using <div>,<span>, specifying on the <p>
> tag,
> > > so
> > > on and so on - but i cannot, no matter what i try, get it to use the
> > > class
> > > i'm specifying for the link that is generated by the [page] tags.
> the
> > > only
> > > link it seems i can apply is the default css a.link style - which is
> > > fine,
> > > except for when you want to have more than one style applied to
> elements
> > > on
> > > your page :)
> > >
> > > has ANYONE managed to work out the best way around this?
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> > John Beima
> > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> >
> > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> >
> > Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> > 2713B Spring Place SW, Decatur, Alabama, United States, 35603
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: jbeima at reality.palb.com (John Beima )
Date: Tue, 06 Feb 2001 11:51:30 -0700 (MST)
Subject: [ic] Datamining with Interchange
G'Day Phillip,
Actually this is very possible...
You can simply turn off the cc processing...
When the user logs on, have his corp. account number follow him around in a
session variable.
Re-format the achive invoice file, to look how you want it to...
Then after an order is processed, call a system script to ftp/mail/scp to where
you need it for your system to pick it up...
John Beima
Quoting "Phillip A. Ryals" <support@admiralexpress.com>:
> Hi all,
>
> I'm new here, and I hope this hasn't been asked before...
>
> I'm looking at Interchange to replace my company's current ecom
> software.
> It's a proprietary/unstable piece that I'm not allowed to touch (it's in
> another state). The best option (and I've investigated many) is to
> create a
> new one.
>
> The problem is that we have a proprietary system that all business runs
> on.
> Our current software interfaces through a gateway to get realtime
> customer
> pricing (via contracts) and a real system order number. The nice thing
> is
> that it's all done for us, and we can just pull the order up in the
> system
> as if customer service put it in themselves.
>
> I'm curious whether Interchange might be adaptable to this type of
> environment. It would mean somehow linking it to a gateway that it
> could
> query for pricing. Also, when the order is placed, Interchange would
> need
> to let the order go through to our system (attaching the account number
> as
> the method of payment) instead of processing the order itself.
>
> I hope someone might be able to help. We might even need a consultant.
> I'm
> not terribly strong in perl, and that might be where I'm going with
> this.
>
> Thanks for any comments/suggestions!
> -phillip
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: chris at makesoftware.net (Chris )
Date: Tue, 6 Feb 2001 10:52:14 -0800
Subject: [ic] SSL Not Working
I'm trying to setup SSL on a different domain.
(https://secure.domain.com/secure/demostore/construct)
The store is configured on http://demostore.domain.com/construct
When I created the demo construct catalog I entered
/secure/demostore/construct/cgi-bin/construct as an Alias (in the makecat
program).
I added to my httpd.conf:
ScriptAlias /secure/demostore/construct/cgi-bin/
/var/websites/demostore.domain.com/cgi-bin/
I also changed the SECURE_SERVER variable in the Preferences section to
https://secure.domain.com/secure/demostore/construct Applied the Changes.
Now whenever I go to checkout I get this message: We're sorry, the
Interchange server is unavailable...
We are out of service or may be experiencing high system demand, please try
again soon. Does anyone know what I'm misconfiguring to get this error?
Thanks
From: edl at newmediaems.com (Ed LaFrance )
Date: Tue, 06 Feb 2001 11:14:28 -0800
Subject: [ic] css and [page] tags.
At 01:28 AM 2/6/01 -0700, you wrote:
>Quoting Cameron Germein <cameron.germein@team.eftel.com>:
>
> > after discussing this with one of the denizens of #interchange (hi
> > Queticon!), i still never really worked out what the best way of
> > approaching
> > this is...
> >
> > as far as functionality goes, [page][/page] == <A></A> - all except for
> > the
> > fact you cant specify `CLASS="xxxx"` in a page tag. Which is a bit of a
> > problem... :) I've tried using <div>,<span>, specifying on the <p> tag,
> > so
> > on and so on - but i cannot, no matter what i try, get it to use the
> > class
> > i'm specifying for the link that is generated by the [page] tags. the
> > only
> > link it seems i can apply is the default css a.link style - which is
> > fine,
> > except for when you want to have more than one style applied to elements
> > on
> > your page :)
> >
> > has ANYONE managed to work out the best way around this?
<a href="[area foo]" class=myclass>Bar</a>
or
<a href="[area foo]" style="(inline style)">Bar</a>
- Ed L.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D edl@newmediaems.com
Placerville, CA 95667 http://www.newmediaems.com
(530) 622-9421 (530) 622-9426 Fax
(866) 519-4680 Toll-Free
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
From: briank at nacs.net (Brian Kosick )
Date: Tue, 06 Feb 2001 14:54:51 -0500
Subject: [ic] undefined subroutine
Hello all
I've just upgraded to mv 4.0.4a from mv 3.14, I have compiled it
successfully, and installed it successfully, on a Cobalt Raq3. When I
moved the catalog over, I get
"Undefined subroutine &Vend::Scan::interpolate_html called at
/usr/local/mvend/lib/Vend/Scan.pm line 341"
This only happens, on the index page, where there are buttons to the
categories in the cart.
here's some code
<TR><TD [var LEFTTBFG]><FORM ACTION="[process_search secure=1]" METHOD=POST>
<INPUT TYPE="hidden" NAME="mv_profile" VALUE="default_profile">
<INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="Control Solution">
<INPUT TYPE="image" SRC="[var SBIMAGECONTROL]" BORDER="0" ALT="Control
Solution"><BR></TD></TR
></FORM>
the checkout page comes up correctly.
The subroutine for interpolate_html shows up in Parse.pm, and I have not
modified it. Scan.pm calls the sub routine interpolate_html. Everytime it
needs to search for something(it seems), it dies. with that error
At 11:49 AM 2/6/01 -0500, you wrote:
>Hi all,
>I did a re-installation of minivend 4.04, because I changed servers, and
>everything went fine, but I am getting this error:
>Fatal error on charge operation 'mauthonly': Undefined subroutine
>&Vend::Order::doDirectPayment called at /home/io/mvend/lib/Vend/Order.pm
>line 715.
>
>in the error.log. The problem is that all the stores are not functioning
>correctly with cybercash, and I really dont understand the error message.
>Since the stores are live, this is pretty urgent. Can someone give me a
>hint about this error??
>
>Thanks!
>
>Michael
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: chris at makesoftware.net (Chris )
Date: Tue, 6 Feb 2001 12:07:53 -0800
Subject: [ic] SSL Not Working
aw ha..."If you used the makecat program to build the catalog, it should
warn you if it was not able to make the link program setuid." give me a
break it was the last line in the docs... ;)
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Chris
Sent: Tuesday, February 06, 2001 10:52 AM
To: interchange-users@lists.akopia.com
Subject: [ic] SSL Not Working
I'm trying to setup SSL on a different domain.
(https://secure.domain.com/secure/demostore/construct)
The store is configured on http://demostore.domain.com/construct
When I created the demo construct catalog I entered
/secure/demostore/construct/cgi-bin/construct as an Alias (in the makecat
program).
I added to my httpd.conf:
ScriptAlias /secure/demostore/construct/cgi-bin/
/var/websites/demostore.domain.com/cgi-bin/
I also changed the SECURE_SERVER variable in the Preferences section to
https://secure.domain.com/secure/demostore/construct Applied the Changes.
Now whenever I go to checkout I get this message: We're sorry, the
Interchange server is unavailable...
We are out of service or may be experiencing high system demand, please try
again soon. Does anyone know what I'm misconfiguring to get this error?
Thanks
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: support at admiralexpress.com (Phillip A. Ryals )
Date: Tue, 6 Feb 2001 14:13:39 -0600
Subject: [ic] Datamining with Interchange
>Then after an order is processed, call a system script to ftp/mail/scp to
where
>you need it for your system to pick it up...
Everything sounds good so far... thank you John, Racke and Stefan!
So I can use their acct# as a session variable and should be able to
retrieve pricing through a custom gateway.
I don't really understand how I might go about getting the order into our
system though. I gather the above must be suggesting a script that parses
the email that would normally be sent and inputs it into our system? Would
IC be able to call that script when an order is completed, or would it need
to be scheduled to run throughout the day? We have a pretty tight schedule
that requires the orders to be in the system by certain times in order for
them to be delivered same/next day. It would be nice if the script could be
called at order completion instead of just relying on the scheduler to catch
what it can when it runs. I couldn't find that particular config option
though...
Thanks again!
-phillip
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Tue, 6 Feb 2001 12:28:35 -0800
Subject: [ic] Datamining with Interchange
> I don't really understand how I might go about getting the order into our
> system though. I gather the above must be suggesting a script that parses
> the email that would normally be sent and inputs it into our system?
Would
> IC be able to call that script when an order is completed, or would it
need
> to be scheduled to run throughout the day? We have a pretty tight
schedule
> that requires the orders to be in the system by certain times in order for
> them to be delivered same/next day. It would be nice if the script could
be
> called at order completion instead of just relying on the scheduler to
catch
> what it can when it runs. I couldn't find that particular config option
> though...
Phillip,
I'd be interested to hear about your experiences if you do take this task
on, sounds like some custom work but would work well when finished. To
answer your question the way to do this would probably be to call a usertag
in Reciept.html (which is displayed to the user when they complete an order)
that would pull the information from the database (instead of trying to
parse the email) and call an API supported by your accounting program to
insert the data into the system. Is the accounting system proprietary?
Does it have an API for inserting data into the invoice, customer and item
area? The way this has been accomplished with Quickbooks is to dump an IIF
file once a day which is data pulled out of the Interchange database and
formatted for QBooks to handle. If your system supports a type of file
format import it would just mean making your own Accounting usertags to
write that file out, definitely do-able. Good luck!
-Ron
From: jimmer at mail.compuwerx.com (j p )
Date: Tue, 6 Feb 2001 15:30:53 -0500
Subject: [ic] trouble with demo
Hi,
I am loading interchange 4.6 and haven't got past getting the demo "contruct something". When I got to "check out", I get:
"
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Apache/1.3.12 Server at pluto.compuwerx.com Port 80 "
any ideas?
thanks, Jim
From: racke at linuxia.de (Stefan Hornburg )
Date: 06 Feb 2001 22:30:58 +0100
Subject: [ic] Datamining with Interchange
"Phillip A. Ryals" <support@admiralexpress.com> writes:
> >Then after an order is processed, call a system script to ftp/mail/scp to
> where
> >you need it for your system to pick it up...
>
> Everything sounds good so far... thank you John, Racke and Stefan!
>
> So I can use their acct# as a session variable and should be able to
> retrieve pricing through a custom gateway.
>
> I don't really understand how I might go about getting the order into our
> system though. I gather the above must be suggesting a script that parses
> the email that would normally be sent and inputs it into our system?
No. With my patch you can define a GlobalSub/Sub which interfaces with
your system. My configuration for this case:
ParseVariables Yes
Route main default 1
Route main report report/body
Route main email __ORDERS_TO__
Route main supplant 1
Route main sub htmlmail
Route main locale 1
Route main increment 0
ParseVariables No
Route copy_user report report/customer
Route copy_user email ""
Route copy_user empty 1
Route copy_user supplant 1
Route copy_user sub ""
Route copy_user locale 1
Route copy_user increment 0
Route log report report/sdrs
Route log email ""
Route log empty 1
Route log supplant 1
Route log increment 0
Sub <<EOF
sub htmlmail{
my ($email, $subject, $body) = @_;
$Tag->email_html({to => $email, subject => $subject}, $body);
}
EOF
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: interchange at my-school.com (IC-Admin )
Date: Tue, 6 Feb 2001 17:52:36 -0500 (EST)
Subject: [ic] perl code overview?
Christopher Miller wrote:
> Start with Interpolate.pm and work out from there. You'll
> get into Data.pm and Util.pm right away and other modules
> as you need to. Don't start with bin/minivend or it will
> likely make no sense.
> I've attached something that will dump your session and show
> much of the data structure.
I like your contribution. Hope it would be attached and included as
an advice to the tutorial.
Birgitt
From: joachim.richter at usvideocenter.de (joachim.richter )
Date: Tue, 06 Feb 2001 21:19:44 +0100
Subject: [ic] Banner GIFS
Hi everybody,
how do I implement Banners as gifs. we are using a programm (gi construction set) to make gif banners.
it is easy with text banners,. can we use gifs. how do we do it. thanx
From: interchange at my-school.com (IC-Admin )
Date: Tue, 6 Feb 2001 18:09:10 -0500 (EST)
Subject: [ic] CSP (Commerce Solutions Provider)
> > Basically, do you all think this is a good idea?
>
> Don't quit your day-job.
>
> What you really want is an education in e-comm. Getting money from
> your clients just helps you float while you get your education.
Yes, of course, absolutely. I second that. I thought that he was a young
student and thought, he didn't have that much of a day job anyhow. Whatever
you have to keep you swimming, keep it and the rest of the time, just
learn and do try it out.
Birgitt
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Tue, 06 Feb 2001 17:08:19 -0600
Subject: [ic] Banner GIFS
<IMG SRC="my.gif" BORDER=0 ALT="My Banner">
"joachim.richter" wrote:
> Hi everybody,
>
> how do I implement Banners as gifs. we are using a programm (gi construction set) to make gif banners.
> it is easy with text banners,. can we use gifs. how do we do it. thanx
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
From: support at admiralexpress.com (Phillip A. Ryals )
Date: Tue, 6 Feb 2001 16:19:21 -0600
Subject: [ic] Datamining with Interchange
Unfortunately, our system is horribly proprietary. It's called DDMS, if you
might have heard of it. It's made specifically for the office-products
industry. What stinks is that it is the best available for what we need.
The problem is their e-com software. They want to charge insane amounts and
scrimp on features, all while hosting it across the country. nice. :)
They do sell a package that provides a basic API to the system. They refuse
to work with you if you need help though, so I'm a bit nervous about
starting this thing. I basically requires that you write an entire gateway
to interface a 3rd party system to theirs. Hopefully, it isn't as bad as it
sounds. But I sincerely believe I can help the independent dealers if I go
through with it and make InterChange work with DDMS easily. It'll just be a
huge project.
Regular importing, btw, isn't an option because the customer needs to have
delivery same or next day. We need the order in the system and waiting as
soon as it is placed so that it can be processed for fulfillment. We
actually connect to our wholesalers seven times a day to upload orders and
have them delivered to our warehouse.
So long story short, this has to be as transparent as possible to the rest
of the system. Everyone is used to the orders just appearing, so it's my
job to make sure that happens. yay! :)
-phillip
----Original Message----
Phillip,
I'd be interested to hear about your experiences if you do take this task
on, sounds like some custom work but would work well when finished. To
answer your question the way to do this would probably be to call a usertag
in Reciept.html (which is displayed to the user when they complete an order)
that would pull the information from the database (instead of trying to
parse the email) and call an API supported by your accounting program to
insert the data into the system. Is the accounting system proprietary?
Does it have an API for inserting data into the invoice, customer and item
area? The way this has been accomplished with Quickbooks is to dump an IIF
file once a day which is data pulled out of the Interchange database and
formatted for QBooks to handle. If your system supports a type of file
format import it would just mean making your own Accounting usertags to
write that file out, definitely do-able. Good luck!
-Ron
From: jcarnahan at networq.com (Jeff Carnahan )
Date: Tue, 6 Feb 2001 15:36:46 -0800
Subject: [ic] mod_minivend status
mod_minivend will work just fine under that version of Apache (and many
other recent versions) however, in my experience I've always compiled it in
statically, so I can't address the problems you're having with it as a DSO..
But yes, it does work with Apache 1.3.14 ... Perhaps if you posted the error
message, I could be more helpful.
--
Jeff Carnahan - jcarnahan@networq.com
}-----Original Message-----
}From: interchange-users-admin@lists.akopia.com
}[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Doug
}Alcorn
}Sent: Tuesday, February 06, 2001 8:35 AM
}To: interchange-users@minivend.com
}Subject: [ic] mod_minivend status
}
}
}Is mod_minivend known to work with apache 1.3.14? From the home page
}at http://indev.insu.com/mod_minivend/mod_minivend.html says as of
}last year mod_minivend is looking for a new maintainer. It also
}doesn't say anything about working with IC v4.x.
}
}The reason I ask all this is that I couldn't get apache to load the
}module. I'm running apache 1.3.14 compiled from source. I compiled
}mod_minivend as DSO using apxs. I don't have the exact error messages
}in front of me (doh!), sorry. I was just wondering known recent
}configurations of mod_minivend, IC, and apache.
}--
} (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
} oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
} |_/ If you're a capitalist and you have the best goods and they're
} free, you don't have to proselytize, you just have to wait.
}
}
}
}_______________________________________________
}Interchange-users mailing list
}Interchange-users@lists.akopia.com
}http://lists.akopia.com/mailman/listinfo/interchange-users
}
From: andrew at benevolent-tech.com (Andrew Waegel )
Date: Tue, 06 Feb 2001 17:46:09 -0800
Subject: [ic] order profiles lost after upgrade?
Hello,
I upgraded to IC 4.6.2 to take advantage of Mike H's nifty new user
profiles, but now my catalog seems to be ignoring the directives in
etc/profiles.order, both in the customer and administration arenas. I've
checked my path names/permissions extensively, and am stumped. It's like
it's going to the order route and completely bypassing the profile.
Did anything regarding order profile handling change in 4.6.2? Moreover,
does anyone know whereabouts in the source interchange looks up the order
profiles? Is it at startup or on the fly?
Thanks,
- Andrew
>>> Andrew Waegel Benevolent Technologies <<<
>>> 510 527 6116 asw@benevolent-tech.com <<<
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Wed, 7 Feb 2001 11:31:03 +0800
Subject: [ic] Searching
Hi
I have a column in the products table that is named 'visible'.
What I would like to do is display only the products which have the
'visible' value set to 1.
I have tried many various methods but it does not seem to work, because I
have already separated my products into different categories and thus if I
perform a search with sf=category/se=4/sf=visible/se=1, it will return
incorrect items for that category.
How can I do a search where category = 4 and where visible is set to 1?
Bryan
From: jbeima at reality.palb.com (John Beima )
Date: Tue, 06 Feb 2001 22:43:27 -0700 (MST)
Subject: [ic] Searching
Look up one-click searches in the manuals...
Quoting Bryan Chen <bryan_chen@techmex.com.sg>:
> Hi
>
> I have a column in the products table that is named 'visible'.
> What I would like to do is display only the products which have the
> 'visible' value set to 1.
>
> I have tried many various methods but it does not seem to work, because
> I
> have already separated my products into different categories and thus if
> I
> perform a search with sf=category/se=4/sf=visible/se=1, it will return
> incorrect items for that category.
>
> How can I do a search where category = 4 and where visible is set to 1?
>
>
> Bryan
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 7 Feb 2001 06:43:01 -0500
Subject: [ic] order profiles lost after upgrade?
Quoting Andrew Waegel (andrew@benevolent-tech.com):
> Hello,
>
> I upgraded to IC 4.6.2 to take advantage of Mike H's nifty new user
> profiles, but now my catalog seems to be ignoring the directives in
> etc/profiles.order, both in the customer and administration arenas. I've
> checked my path names/permissions extensively, and am stumped. It's like
> it's going to the order route and completely bypassing the profile.
>
> Did anything regarding order profile handling change in 4.6.2? Moreover,
> does anyone know whereabouts in the source interchange looks up the order
> profiles? Is it at startup or on the fly?
That isn't in 4.6.x, only 4.7.x ....
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: davidb at communitylink.com (davidb )
Date: Wed, 07 Feb 2001 08:03:53 -0600
Subject: [ic] Cookies?
I think I've found the answer to my problems, the problem is I'm not
completely sure what it means. Could someone smarter than me please
clarify these instructions from the ic config page (like where the
CookieDomain directive goes and what it will look like)?
If planning to use more than one host name within the same domain for
naming purposes (perhaps a secure server and non-secure server), set the
domain with the CookieDomain directive. This must contain at least two
periods (.) as per the cookie specification, and must be located in the
same server as the domain.
I'm not clear as to the specifics of this, so if anyone can help out, it
would be greatly appreciated.
Thanks.
From: bob at circlesquared.com (Bob Curtis )
Date: Wed, 07 Feb 2001 15:07:30 +0000
Subject: [ic] Cookies?
Cookies Yes
CookieDomain www.site-for-shopping.co.uk
CookieDomain www.site-for-ssl.co.uk
that seemed to work for me. (I have a site for all the process bar the
ordering, and another for the ssl stuff)
davidb wrote:
> I think I've found the answer to my problems, the problem is I'm not
> completely sure what it means. Could someone smarter than me please
> clarify these instructions from the ic config page (like where the
> CookieDomain directive goes and what it will look like)?
>
> If planning to use more than one host name within the same domain for
> naming purposes (perhaps a secure server and non-secure server), set the
> domain with the CookieDomain directive. This must contain at least two
> periods (.) as per the cookie specification, and must be located in the
> same server as the domain.
>
> I'm not clear as to the specifics of this, so if anyone can help out, it
> would be greatly appreciated.
> Thanks.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: dieterle at fzi.de (Stefan Dieterle )
Date: Wed, 7 Feb 2001 16:53:23 +0100 (MET)
Subject: [ic] Problem with on-the-fly Page in a FORM
Hello all,
i have problems creating a on-the-fly page in a <FORM>.
For example:
writing: <a href="[area fp-product [item-code]]">
in order to display a the page with some product parameters works very
well. But in a from like
[set GOW]
mv_todo=return
mv_nextpage=[area fp-product [item-code]]
[/set]
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=GOW>
Username <INPUT NAME=myusername SIZE=10>
<INPUT TYPE=submit NAME=mv_check VALUE="Go">
</FORM>
I always got the error page
Sorry, the page
(http://localhost:5080/cgi-bin/shop/fp-product.html?mv_arg=kue1&mv_pc=1730)
was not found
Wenn I open the page
http://localhost:5080/cgi-bin/shop/fp-product.html?mv_arg=kue1&mv_pc=1730
direkt in my browser, it works.
Has anybody an idea?
Kind regards
Stefan
-----------------
Stefan Dieterle
FZI
Karlsruhe
From: rabay at passosuemg.br (Gualberto Rabay )
Date: Wed, 07 Feb 2001 15:27:09 -0200
Subject: [ic] Tutorial Checkout error-help needed
Dear all,
I have followed the steps described in the Catalog-Building Tutorial and
everything was ok till
I tried to checkout my shoping. Even if I fill all required fields of
the checkout form the
needfiel.html is called. In this case I also expected that the empty
variables were listed,
as described in the Tutorial, but It only prints the message that
something was left but do not
say what.
I have checked the profiles.order, checkout.html and needfield.html but
coul not see any error.
Could someone give a help!!
Thanks,
Gualberto Rabay
Dept. of Computing - UEMG
Brazil
From: nick.davies at iname.com (Nick Davies )
Date: Wed, 07 Feb 2001 17:31:59 +0000
Subject: [ic] Locale Settings for UK - new user :(
Hi People,
I've just installed interchnage and i'm trying to get it to work with
United Kingdom locale settings, what do i have to do? I have found the
catalogs/products/locale.txt file, which is assume is the correct place
to add new locales. But on adding what i thought were the correct values
for the UK and putting en_UK settings in the catalog config file it
changed everything to German settings.
Please help :)
Nick.
From: davidb at communitylink.com (davidb )
Date: Wed, 07 Feb 2001 12:35:46 -0600
Subject: [ic] CookieDomain
I am having trouble with the cart's contents dropping as soon as I
proceed to checkout. The CHECKOUT page is secure, so the info has to
move from one server to another. The site is www.***.com, while the
secure site is https://***.com, so from what I understand, the info
isn't being passed to the secure server.
I have searched the documentation and still do not clearly understand
what the problem is. It looks like it is a CookieDomain problem, but I
am not certain how to implement this. I have tried inserting it into
the CATALOG.CFG but I think that I am doing this incorrectly. The only
documentation that I have read says to set it to:
CookieDomain .yourdomain.com
*it must have at least two periods or browsers will ignore it.
What does this mean? Do I insert ..https://www.***.com or what? And
where/how would it go?
I'm freaking out about this right now.
Any help is greatly appreciated.
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Wed, 7 Feb 2001 10:42:48 -0800
Subject: [ic] CookieDomain
>I am having trouble with the cart's contents dropping as soon as I
>proceed to checkout. The CHECKOUT page is secure, so the info has to
>move from one server to another. The site is www.***.com, while the
>secure site is https://***.com, so from what I understand, the info
>isn't being passed to the secure server.
>
>I have searched the documentation and still do not clearly understand
>what the problem is. It looks like it is a CookieDomain problem, but I
>am not certain how to implement this. I have tried inserting it into
>the CATALOG.CFG but I think that I am doing this incorrectly. The only
>documentation that I have read says to set it to:
>
>CookieDomain .yourdomain.com
>*it must have at least two periods or browsers will ignore it.
>
>What does this mean? Do I insert ..https://www.***.com or what? And
>where/how would it go?
Here is an example of a CookieDomain config we used before purchasing an SSL
cert for one of our clients:
CookieDomain .caseetc.com .reliant-solutions.com
It goes in your catalog.cfg. However you may need more then this please
read this FAQ:
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq03%2e08&mv_pc=7
1
>I'm freaking out about this right now.
Don't freak out, all it takes is some patience and the ability to search
developer.akopia.com and the mailing list. This question gets asked about
once a month and is answered the same way. Thanks.
-Ron
From: josh at bluebonnet.net (Joshua Scott )
Date: Wed, 7 Feb 2001 12:56:29 -0600
Subject: [ic] Customer Input Variables
I have been looking on the Akopia site for some info on doing a custom =
input field for a client. My problem was similar to the one that someone =
answered in the newsgroup. The only difference is that we only needed =
the line of text option to come up on selected items. We solved that =
problem, we also added the code that was suggested in the newsgroup. =
This brings me to my problem... It looks great but the information is =
not being saved, not even from page to page. In other words, if the =
client gets to the final check out and has not logged in, if they have =
inputted the custom text, after they log in to complete the sale the =
information is gone also the information is not being passed to the =
receipt or the e-mail even though we have updated those regions.
I hope you all can help.. we are stumped. :-)
Thanks,
Joshua Scott
From: jason at mediabang.com (Jason Kohles )
Date: Wed, 7 Feb 2001 12:34:37 -0700
Subject: [ic] CookieDomain
--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Feb 07, 2001 at 12:35:46PM -0600, davidb wrote:
>=20
> CookieDomain .yourdomain.com
> *it must have at least two periods or browsers will ignore it.
>=20
> What does this mean? Do I insert ..https://www.***.com or what? And
> where/how would it go?
>=20
All this means is you cannot set a cookie for (for example)
CookieDomain .com, as it doesnt contain enough dots (in theory). Setting
it to .yourdomain.com will work, as that contains two dots and will not
make the browsers privacy features suspicious.
--=20
Jason Kohles -- jason@mediabang.com phone (801)364-0185
http://www.mediabang.com/ fax (801)364-0186
gpg/pgp key: DFB67AD9 http://www.jasonkohles.com/pgpkey.txt
Far better it is to dare mighty things, to win glorious triumphs, even
though checkered by failure, than to take rank with those poor spirits
who neither enjoy much nor suffer much, because they live in the grey
twilight that knows not victory nor defeat. -- Theodore Roosevelt
--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6gaNNjKIREt+2etkRAh1NAKDeN0KArCi2a0/nl4eCeoYWuIpFwgCfQFjd
QK/CRMfTN6yq4gdGo2DBp/c=
=rFpm
-----END PGP SIGNATURE-----
--zhXaljGHf11kAtnf--
From: doug at lathi.net (Doug Alcorn )
Date: 07 Feb 2001 23:22:40 -0500
Subject: [ic] survey of purchase ratios
I'm just curious, this is my first real on-line catalog experience.
I've been up for two months taking orders. We have a pretty good
product selection and our products are fairly well suited to 'net
selling. So far I'm getting 0.62% of my visits turning into
purchases. Also, I'm getting only about 11% of the products put in
carts turning into sales.
How typical is this? Should I be concerned with how low these numbers
are?
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: chris at makesoftware.net (Chris )
Date: Wed, 7 Feb 2001 15:40:03 -0800
Subject: [ic] Image Uploading not displaying
hi i just installed the RPM from akopia (4.6.1). I installed the construct
demo. I went ahead and linked the images directories (from the makecat
program) to allow image uploading. My problem is when i go to edit an
item/create in the admin, i see IMAGE and THUMB but there is NO file-input
field next to it like on the online demo from akopia. What other
configuration must be done?
Thanks,
From: chris at makesoftware.net (Chris )
Date: Wed, 7 Feb 2001 16:28:20 -0800
Subject: [ic] Image Uploading not displaying
doh..fixed in the latest CVS version
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Chris
Sent: Wednesday, February 07, 2001 3:40 PM
To: interchange-users@minivend.com
Subject: [ic] Image Uploading not displaying
hi i just installed the RPM from akopia (4.6.1). I installed the construct
demo. I went ahead and linked the images directories (from the makecat
program) to allow image uploading. My problem is when i go to edit an
item/create in the admin, i see IMAGE and THUMB but there is NO file-input
field next to it like on the online demo from akopia. What other
configuration must be done?
Thanks,
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Thu, 8 Feb 2001 12:55:02 +0800
Subject: [ic] css and [page] tags. updated: the [order] tag :)
The: <a href="[area foo]" class=myclass>Bar</a> method works not with
[order][/order] tags... nor does wrapping it in a <div> or <span>. Any ideas
on getting these babies to use a css style?
----- Original Message -----
From: Ed LaFrance <edl@newmediaems.com>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 07, 2001 3:14 AM
Subject: Re: [ic] css and [page] tags.
> At 01:28 AM 2/6/01 -0700, you wrote:
>
> >Quoting Cameron Germein <cameron.germein@team.eftel.com>:
> >
> > > after discussing this with one of the denizens of #interchange (hi
> > > Queticon!), i still never really worked out what the best way of
> > > approaching
> > > this is...
> > >
> > > as far as functionality goes, [page][/page] == <A></A> - all except
for
> > > the
> > > fact you cant specify `CLASS="xxxx"` in a page tag. Which is a bit of
a
> > > problem... :) I've tried using <div>,<span>, specifying on the <p>
tag,
> > > so
> > > on and so on - but i cannot, no matter what i try, get it to use the
> > > class
> > > i'm specifying for the link that is generated by the [page] tags. the
> > > only
> > > link it seems i can apply is the default css a.link style - which is
> > > fine,
> > > except for when you want to have more than one style applied to
elements
> > > on
> > > your page :)
> > >
> > > has ANYONE managed to work out the best way around this?
>
>
> <a href="[area foo]" class=myclass>Bar</a>
> or
> <a href="[area foo]" style="(inline style)">Bar</a>
>
> - Ed L.
>
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> New Media E.M.S. Software Solutions for Business
> 463 Main St., Suite D edl@newmediaems.com
> Placerville, CA 95667 http://www.newmediaems.com
> (530) 622-9421 (530) 622-9426 Fax
> (866) 519-4680 Toll-Free
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: ven at pragakhan.com (Victor Nolton )
Date: Thu, 8 Feb 2001 01:55:04 -0500
Subject: [ic] [Error] Tag
I have a checkout_profile on one page that checks for the name and
address and email address of a user. In the past if the user typed in
"blah" as a email address MV use to say something to the affect of
"is this really your email address?", on the page if they put in
"blah" it's considered legit and the page passes.
I'm not use to the [error] tags, but is there a way to make it check
to see if the email address has a @ symbol and a .com or .net or
whatever?
[set checkout_profile]
First=required
Last=required
Address=required
City=required
Country=required
State=required
Zip=required
email=required
&fatal = yes
&set=mv_email [value email]
[/set]
[error all=1 show_var=1 show_error=1 joiner='<br>']
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: schrader.news at evendi.de (Christian Schrader )
Date: Thu, 8 Feb 2001 10:32:03 +0100
Subject: [ic] Died in select, retrying: error
Hi there,
I have just installed interchange 4.6.1 on two Redhat 6.2 Systems from the
rh6.rpm.
On both machines I get the following error in the
/var/log/interchange/error.log
"Died in select, retrying: error 'Unterbrechung wahrend des
Betriebssystemaufrufs' from select."
This means in English roughly, "broken pipe during system call".
Everything seems to work though.
Has anybody experienced this problem?
Chris
From: dave.barr at cricinfo.com (Dave Barr )
Date: Thu, 8 Feb 2001 10:20:27 +0000
Subject: [ic] [Error] Tag
>I have a checkout_profile on one page that checks for the name and
>address and email address of a user. In the past if the user typed
>in "blah" as a email address MV use to say something to the affect
>of "is this really your email address?", on the page if they put in
>"blah" it's considered legit and the page passes.
>
>I'm not use to the [error] tags, but is there a way to make it check
>to see if the email address has a @ symbol and a .com or .net or
>whatever?
>
>[set checkout_profile]
>First=required
>Last=required
>Address=required
>City=required
>Country=required
>State=required
>Zip=required
>email=required
>&fatal = yes
>&set=mv_email [value email]
>[/set]
>[error all=1 show_var=1 show_error=1 joiner='<br>']
Hi Ven,
I put profiles under:
_Path_To_Catalog_/etc/profiles.order
Along the lines of:
[snip]
__NAME__ check_email
email=required
&fatal = yes
email=email
__END__
[/snip]
Otherwise heres another way of doing it directly on the page:
[snip]
[if value form_errors]
<B><FONT COLOR=RED>[value form_errors]</FONT></B><P>
[value name=form_errors set=""]
[/if]
[set check_email]
[if type=value term=email op="!~" compare="/\w+@[-A-Za-z0-9.]+\.[A-Za-z]+/"]
form_errors=We need a VALID eMail address for you.
mv_nextpage=@@MV_PAGE@@
[else]
mv_nextpage=index
[/else]
[/if]
[/set]
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_todo VALUE=return>
<INPUT TYPE=hidden NAME=mv_check VALUE=check_email>
<INPUT TYPE=text NAME=email VALUE="[value email]" SIZE="20" MAXLENGTH="128">
<INPUT TYPE=SUBMIT VALUE="Submit">
</FORM>
[/snip]
It should take you to index.html if a successful regex is performed
on the address otherwise an error in red will be shown...
HTH
"D"
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dave Barr eCommerce Technical Manager CricInfo Ltd
www.cricinfo.com dave.barr@cricinfo.com Tel: 01249 700748
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: nick.davies at iname.com (Nick Davies )
Date: Thu, 08 Feb 2001 10:58:52 +0000
Subject: [ic] Localtion
Is it possible to set the default location for the entire shop to a
specific country. I'm in the UK but it always defaults to Us/Canada
(When new customer signing up for example). Can this be changed to show
a europe/uk type list?
Thanks
Nick.
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Thu, 08 Feb 2001 14:27:09
Subject: [ic] account.html donot show red blank fields.
Hi,
Have anyone fixed the account.html problem where the blank fields should be
shown in red color not bold black.
In checkout html it works well but in account.html didn't!!!
I have check the akopia on-line store and it's not working too.
Please help me,
Thank you in advance,
Marcelo
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Thu, 08 Feb 2001 14:29:18
Subject: [ic] account.html do not perform the blank fields check.
Hi,
I'm new on Interchange and I'm having a little problem.
I'm translating the demo store to portuguese. The "new account" page
(account.html) do not perform the check fields. At least i think because it
do not show the missing fields in red like in checkout.html.
I have checked the account.html and checkout.html and compared then both.
But still coudn't see the red error in account.html.
This same problem happens in Akopia on-line demo store.
Does anyone have fixed it?
If yes, please help me.
Thank you in advance,
Marcelo F. De Paula
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Thu, 08 Feb 2001 14:32:14
Subject: [ic] Account.html do not check blank fields like checkout. why?
Hi,
I'm new on Interchange and I'm having a little problem.
I'm translating the demo store to portuguese. The "new account" page
(account.html) do not perform the check fields. At least i think because it
do not show the missing fields in red like in checkout.html.
I have checked the account.html and checkout.html and compared then both.
But still coudn't see the red error in account.html.
This same problem happens in Akopia on-line demo store.
Does anyone have fixed it?
If yes, please help me.
Thank you in advance,
Marcelo F. De Paula
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: info at 4co.de (Company InterNet Services )
Date: Thu, 8 Feb 2001 16:07:42 +0100
Subject: [ic] checkout.html Does not proceed with order
I'm using the Construct site, and only have visa and master card as valid payment.
when I'm logged in as Milton (test, test) I can checkout using the credit card 41111....
However on any other user ID, I get an error.... (Errors marked in RED) however nothing is highlighted
and nothing was added to: logs/log or errors.log
I have tried using two other Credit card numbers, but it just keeps redisplaying checkout.html
Lost...
Ken
From: gina at sitediva.com (Gina K. Anderson )
Date: Thu, 8 Feb 2001 10:46:12 -0500
Subject: [ic] Subcategory Help?
Hi all,
Just figuring out Interchange, and have run into a couple of snags with
subcategories.
First, is it possible to have subcategories with the same name in different main
categories? For example:
Dog Products
-Food
-Cages
Cat products
-Food
-Cages
etc?
I tried the category=D_Food, and category=C_Food to try and separate, but the
names that display in the "adding items" UI just have two "Food" categories.
It's hard to tell which is dog food, and which is cat food ;) I have a client
who will be using the store once I figure it out, and she wants the organization
this way, she will be adding items herself later, and needs to know which
subcategory she is adding to.
Secondly, when I do add subcategories, they show up in "construct something"
demo store, but they don't show up in the list of subcategories in the "Add
Item" UI. I tried applying changes, but it didn't solve anything.
Any guidance?
Thanks,
Gina
From: gina at sitediva.com (Gina K. Anderson )
Date: Thu, 8 Feb 2001 10:50:03 -0500
Subject: [ic] Image Upload Error
Hi all,
I get an error when I try to upload images:
"The following error occurred:
Error writing file images/items/blanket.jpg.
Please correct and try again.
Maybe you need to log in?"
So I log in again, get the same error. This store was installed by a hoster, is
there a permission setting I should look for?
Gina
From: dickweisinger at hotmail.com (Dick Weisinger )
Date: Thu, 08 Feb 2001 08:13:59 -0800
Subject: [ic] Internationalized?
Hi,
I'm thinking of using Interchange, but I'm wondering if there might be
problems related to the use of double byte characters.
I looked at a few messages on the board and I see code like:
for( @scrub ) {
$CGI->{$_} =~ s/\[/[/g;
}
Won't this kind of code cause problems with double-byte data?
Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: scotta at homer-simpson.learnserv.com (scott andreas )
Date: Thu, 08 Feb 2001 08:14:27 -0800
Subject: [ic] Subcategory Help?
"Gina K. Anderson" wrote:
>
> Hi all,
>
> Just figuring out Interchange, and have run into a couple of snags with
> subcategories.
>
> First, is it possible to have subcategories with the same name in different main
> categories? For example:
>
> Dog Products
> -Food
> -Cages
>
> Cat products
> -Food
> -Cages
>
> etc?
>
> I tried the category=D_Food, and category=C_Food to try and separate, but the
> names that display in the "adding items" UI just have two "Food" categories.
> It's hard to tell which is dog food, and which is cat food ;) I have a client
> who will be using the store once I figure it out, and she wants the organization
> this way, she will be adding items herself later, and needs to know which
> subcategory she is adding to.
>
> Secondly, when I do add subcategories, they show up in "construct something"
> demo store, but they don't show up in the list of subcategories in the "Add
> Item" UI. I tried applying changes, but it didn't solve anything.
>
> Any guidance?
>
> Thanks,
> Gina
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
yes it is...declare your search paramaters containing both colums. As
far as the UI goes...click on the meta hyperlink and rename the column
to suit your needs
--
J. Scott Andreas :)
Programmer/Webintegrator
e-mail: scotta@homer.learnserv.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
--- __o
--- _-\<,_
--- (_)/ (_)
From: jojo at leidinger.net (Hans Joachim Leidinger )
Date: Thu, 08 Feb 2001 17:25:39 +0100
Subject: [ic] Died in select, retrying: error
Christian Schrader wrote:
>
> Hi there,
> I have just installed interchange 4.6.1 on two Redhat 6.2 Systems from the
> rh6.rpm.
> On both machines I get the following error in the
> /var/log/interchange/error.log
> "Died in select, retrying: error 'Unterbrechung wahrend des
> Betriebssystemaufrufs' from select."
> This means in English roughly, "broken pipe during system call".
>
> Everything seems to work though.
>
> Has anybody experienced this problem?
Yes! You have set your locale to german and not to english in your OS.
Joachim
--
-------------<FreeBsd>--------------------------------------------------
Hans-Joachim Leidinger email: hans-joachim.leidinger@home.gelsen-net.de
FAX : +49 0209-398265
From: cpi at accxs.net (ACC&S )
Date: Thu, 8 Feb 2001 17:25:14 +0100
Subject: [ic] locale
Hi all,
[L] [/L], [loc] [/loc] or [setlocale fr_FR] doesn't work.
This is in my catalog.cfg
ProductFiles products fr_products
# Uncomment only if you have these locales on your system
Locale de_DE
#Locale de_DE LC_CTYPE de_DE
Locale fr_FR
Locale en_US
#Locale en_US LC_CTYPE C
LocaleDatabase locale
my locale.txt :
code en_US de_DE fr_FR
PriceDivide 0.5409 1 1
currency_symbol $ DM FF
decimal_point . . ,
default 0 0 1
frac_digits 2 2 2
mon_decimal_point . , ,
mon_thousand_sep
mon_thousands_sep , , .
p_cs_precedes 1
p_sep_by_space 1
price_picture DM ### ### ###,##
ProductFiles products de_products fr_products
products products de_products fr_products
C.Catalogue Catalog Katalog Catalogue
If I try with [L]C.Catalogue[/L] in french version the result is C.Catalogue
and no Catalogue.
Could you explain me what is wrong or I need to do
From: rene at hertell.com (Rene Hertell )
Date: Thu, 8 Feb 2001 18:38:21 +0200
Subject: [ic] locale
Did you restart the server? With Minivend I had to do that because the
locale database was read into memory
René
ps. I assume that You edited the file with the admin-UI, and not by hand.
} -----Original Message-----
} From: interchange-users-admin@lists.akopia.com
} [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of ACC&S
} Sent: 08 February 2001 18:25
} To: interchange-users@lists.akopia.com
} Subject: [ic] locale
}
}
} Hi all,
}
} [L] [/L], [loc] [/loc] or [setlocale fr_FR] doesn't work.
}
} This is in my catalog.cfg
}
} ProductFiles products fr_products
}
} # Uncomment only if you have these locales on your system
} Locale de_DE
} #Locale de_DE LC_CTYPE de_DE
} Locale fr_FR
} Locale en_US
}
} #Locale en_US LC_CTYPE C
} LocaleDatabase locale
}
}
} my locale.txt :
}
} code en_US de_DE fr_FR
} PriceDivide 0.5409 1 1
} currency_symbol $ DM FF
} decimal_point . . ,
} default 0 0 1
} frac_digits 2 2 2
} mon_decimal_point . , ,
} mon_thousand_sep
} mon_thousands_sep , , .
} p_cs_precedes 1
} p_sep_by_space 1
} price_picture DM ### ### ###,##
} ProductFiles products de_products fr_products
} products products de_products fr_products
} C.Catalogue Catalog Katalog Catalogue
}
} If I try with [L]C.Catalogue[/L] in french version the result
} is C.Catalogue
} and no Catalogue.
}
} Could you explain me what is wrong or I need to do
}
}
} _______________________________________________
} Interchange-users mailing list
} Interchange-users@lists.akopia.com
} http://lists.akopia.com/mailman/listinfo/interchange-users
}
From: billr at exgate.tek.com (Bill Randle )
Date: Thu, 8 Feb 2001 08:45:10 -0800
Subject: [ic] account.html donot show red blank fields.
On Feb 8, 2:27pm, Marcelo F. De Paula wrote:
} Subject: [ic] account.html donot show red blank fields.
} Hi,
}
} Have anyone fixed the account.html problem where the blank fields should be
} shown in red color not bold black.
}
} In checkout html it works well but in account.html didn't!!!
}
} I have check the akopia on-line store and it's not working too.
}
} Please help me,
}
} Thank you in advance,
}
} Marcelo
Check the mailing list archives. I posted a note with a comment on why
it doesn't work as you might expect and a couple of options on how to
make the error checking work:
Date: Wed, 25 Oct 2000 11:54:04 -0700
Subject: Re: [ic] workaround for bug in error tag
See also:
http://www.minivend.com/pipermail/interchange-users/2000-October/001143.html
as mentioned in the above message for one solution using a [perl] tag.
-Bill
From: schrader.news at evendi.de (Christian Schrader )
Date: Thu, 8 Feb 2001 17:53:25 +0100
Subject: [ic] create template shop
How do I create a template shop?
Can somebody point me to a tutorial?
Thanks, Chris
From: cpi at accxs.net (ACC&S )
Date: Thu, 8 Feb 2001 17:53:08 +0100
Subject: [ic] locale
yes i have
----- Original Message -----
From: Rene Hertell <rene@hertell.com>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, February 08, 2001 5:38 PM
Subject: RE: [ic] locale
> Did you restart the server? With Minivend I had to do that because the
> locale database was read into memory
>
> René
>
> ps. I assume that You edited the file with the admin-UI, and not by hand.
> } -----Original Message-----
> } From: interchange-users-admin@lists.akopia.com
> } [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of ACC&S
> } Sent: 08 February 2001 18:25
> } To: interchange-users@lists.akopia.com
> } Subject: [ic] locale
> }
> }
> } Hi all,
> }
> } [L] [/L], [loc] [/loc] or [setlocale fr_FR] doesn't work.
> }
> } This is in my catalog.cfg
> }
> } ProductFiles products fr_products
> }
> } # Uncomment only if you have these locales on your system
> } Locale de_DE
> } #Locale de_DE LC_CTYPE de_DE
> } Locale fr_FR
> } Locale en_US
> }
> } #Locale en_US LC_CTYPE C
> } LocaleDatabase locale
> }
> }
> } my locale.txt :
> }
> } code en_US de_DE fr_FR
> } PriceDivide 0.5409 1 1
> } currency_symbol $ DM FF
> } decimal_point . . ,
> } default 0 0 1
> } frac_digits 2 2 2
> } mon_decimal_point . , ,
> } mon_thousand_sep
> } mon_thousands_sep , , .
> } p_cs_precedes 1
> } p_sep_by_space 1
> } price_picture DM ### ### ###,##
> } ProductFiles products de_products fr_products
> } products products de_products fr_products
> } C.Catalogue Catalog Katalog Catalogue
> }
> } If I try with [L]C.Catalogue[/L] in french version the result
> } is C.Catalogue
> } and no Catalogue.
> }
> } Could you explain me what is wrong or I need to do
> }
> }
> } _______________________________________________
> } Interchange-users mailing list
> } Interchange-users@lists.akopia.com
> } http://lists.akopia.com/mailman/listinfo/interchange-users
> }
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: gina at sitediva.com (Gina K. Anderson )
Date: Thu, 8 Feb 2001 11:55:35 -0500
Subject: [ic] Subcategory Help?
Hi Scott,
|yes it is...declare your search paramaters containing both colums. As
|far as the UI goes...click on the meta hyperlink and rename the column
|to suit your needs
Um, I think I screwed this up royal :)
I took a look around for "meta", and the only place I found it in the UI was
under Administration>Tables>cat. Here, I clicked on each "Food" subcategory, and
changed the "label" to be more descriptive, "Dog Food" and "Cat Food", but now,
every subcategory in the demo catalog has "Cat Food" where the "name" used to be
<groan>.
Could You be a bit more detailed, I am now trying to figure out how to fix what
I did ;)
Thanks,
Gina
From: jbeima at reality.palb.com (John Beima )
Date: Thu, 08 Feb 2001 10:09:28 -0700 (MST)
Subject: [ic] Subcategory Help?
G'Day Gina,
The reason your new categories are not showing up anywhere is Interchange does
the search based on the txt file, and not the db file. So after you make any
changes or additions to the area & cat database you must make sure you have
exprted the db files. The simple way is to re-edit your new entry and click the
update button at the bottom of the page making sure the auto-export is clicked.
Now the reason it doesn't show up in the item editor is that it does a quick
look up in the products field for all of the categories that have been assigned
to products. Thus ignoring unsed ones in the cat database.
The fix for this is as follows:
1) Start editing any item.
2) Right under the Category label you will see a small blue hyper link labeled
meta click on it.
3) Make sure the first entry in the meta screen "Table::Column" says
"products::category".
4) Change the widget type to "Select Box".
5) Filters shoulld have "--add--" in the left box and "nullselect" in the right.
6) Lookup select shoudl be "name".
7) Lookup table should be "cat".
8) Pre-Filter shoudl be "nullselect".
9) Press "Ok" at the bottom with "Auto-Export" enabled.
10) Apple the changes to the server.
Then all your categories will be active.
Also you can name your categories "Dog Food" or "Cat Food". There can be spaces
in the name...
John Beima
Quoting "Gina K. Anderson" <gina@sitediva.com>:
> Hi all,
>
> Just figuring out Interchange, and have run into a couple of snags with
> subcategories.
>
> First, is it possible to have subcategories with the same name in
> different main
> categories? For example:
>
> Dog Products
> -Food
> -Cages
>
> Cat products
> -Food
> -Cages
>
> etc?
>
> I tried the category=D_Food, and category=C_Food to try and separate,
> but the
> names that display in the "adding items" UI just have two "Food"
> categories.
> It's hard to tell which is dog food, and which is cat food ;) I have a
> client
> who will be using the store once I figure it out, and she wants the
> organization
> this way, she will be adding items herself later, and needs to know
> which
> subcategory she is adding to.
>
> Secondly, when I do add subcategories, they show up in "construct
> something"
> demo store, but they don't show up in the list of subcategories in the
> "Add
> Item" UI. I tried applying changes, but it didn't solve anything.
>
> Any guidance?
>
> Thanks,
> Gina
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: jbeima at reality.palb.com (John Beima )
Date: Thu, 08 Feb 2001 10:10:36 -0700 (MST)
Subject: [ic] Subcategory Help?
G'Day Gina,
Ignor this responce from Scott... It is NOT what you are looking for... It will
mess you up.
John Beima
Quoting "Gina K. Anderson" <gina@sitediva.com>:
> Hi Scott,
>
> |yes it is...declare your search paramaters containing both colums. As
> |far as the UI goes...click on the meta hyperlink and rename the column
> |to suit your needs
>
> Um, I think I screwed this up royal :)
>
> I took a look around for "meta", and the only place I found it in the UI
> was
> under Administration>Tables>cat. Here, I clicked on each "Food"
> subcategory, and
> changed the "label" to be more descriptive, "Dog Food" and "Cat Food",
> but now,
> every subcategory in the demo catalog has "Cat Food" where the "name"
> used to be
> <groan>.
>
> Could You be a bit more detailed, I am now trying to figure out how to
> fix what
> I did ;)
>
> Thanks,
> Gina
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: gina at sitediva.com (Gina K. Anderson )
Date: Thu, 8 Feb 2001 13:32:36 -0500
Subject: [ic] Subcategory Help?
Hi John,
Thanks for helping! Few more questions:
|So after you make any changes or additions to the area
|& cat database you must make sure you have
|exprted the db files.
|click the update button at the bottom of the page
|making sure the auto-export is clicked.
I'm adding categories and subcategories in the "Design" area. I see an "Apply
Changes" at the bottom of each UI page (And I have "Change Area" and "Change
Category"), but I can't find where to check Auto-Export--sorry for all the dumb
questions :/ This is version 4.6.0, don't know if there is a difference between
the newest release and this one?
|The fix for this is as follows:
I tried your instructions, and here I did see the check box for "Auto Export",
so I made sure that was done.
However, I have only one "Food" category that shows up in the Item category drop
down list, it doesn't show "Dog_Food" or "Cat_Food". In the Cat table, the
selectors for these particular categories say:
category=Dog_Food
category=Cat_Food
But they don't show up in the category drop down list in the add item UI, just
as "Food"
So I'm still not sure how to separate the items into their correct categories. I
added a dog food item, and just selected "Food" as the category, hoping it would
lead me to something else, but nothing else happened. I have this on the left
side in the demo store:
Dog Products
-Food
Cat products
-Food
and if I click on either food, I see:
"Sorry, no matches for Dog_Food" (or "Cat_Food" depends on which "Food" I click
:)
So even though an item *is* in the Food category, it doesn't get displayed in
the demo store.
Any further advice?
Gina
|
|Quoting "Gina K. Anderson" <gina@sitediva.com>:
|
|> Hi all,
|>
|> Just figuring out Interchange, and have run into a couple of snags with
|> subcategories.
|>
|> First, is it possible to have subcategories with the same name in
|> different main
|> categories? For example:
|>
|> Dog Products
|> -Food
|> -Cages
|>
|> Cat products
|> -Food
|> -Cages
|>
|> etc?
|>
|> I tried the category=D_Food, and category=C_Food to try and separate,
|> but the
|> names that display in the "adding items" UI just have two "Food"
|> categories.
|> It's hard to tell which is dog food, and which is cat food ;) I have a
|> client
|> who will be using the store once I figure it out, and she wants the
|> organization
|> this way, she will be adding items herself later, and needs to know
|> which
|> subcategory she is adding to.
|>
|> Secondly, when I do add subcategories, they show up in "construct
|> something"
|> demo store, but they don't show up in the list of subcategories in the
|> "Add
|> Item" UI. I tried applying changes, but it didn't solve anything.
|>
|> Any guidance?
|>
|> Thanks,
|> Gina
|>
|>
|> _______________________________________________
|> Interchange-users mailing list
|> Interchange-users@lists.akopia.com
|> http://lists.akopia.com/mailman/listinfo/interchange-users
|>
|
|
|
|John Beima
|jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
|
|P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
|11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
|
|Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
|2713B Spring Place SW, Decatur, Alabama, United States, 35603
|
|_______________________________________________
|Interchange-users mailing list
|Interchange-users@lists.akopia.com
|http://lists.akopia.com/mailman/listinfo/interchange-users
|
|
From: jbeima at reality.palb.com (John Beima )
Date: Thu, 08 Feb 2001 11:43:02 -0700 (MST)
Subject: [ic] Subcategory Help?
You have gone too far down... It should be right at the bottom of the record you
are editing. The button may even just say OK. The tick box for auto-export
should be right next to it...
Then for one added safety sake, when you are done your changes for that
day/morning... Use the apply changes button at the very bottom of the screen.
John
Quoting "Gina K. Anderson" <gina@sitediva.com>:
> Hi John,
>
> Thanks for helping! Few more questions:
>
> |So after you make any changes or additions to the area
> |& cat database you must make sure you have
> |exprted the db files.
> |click the update button at the bottom of the page
> |making sure the auto-export is clicked.
>
> I'm adding categories and subcategories in the "Design" area. I see an
> "Apply
> Changes" at the bottom of each UI page (And I have "Change Area" and
> "Change
> Category"), but I can't find where to check Auto-Export--sorry for all
> the dumb
> questions :/ This is version 4.6.0, don't know if there is a difference
> between
> the newest release and this one?
>
>
> |The fix for this is as follows:
>
>
> I tried your instructions, and here I did see the check box for "Auto
> Export",
> so I made sure that was done.
>
> However, I have only one "Food" category that shows up in the Item
> category drop
> down list, it doesn't show "Dog_Food" or "Cat_Food". In the Cat table,
> the
> selectors for these particular categories say:
>
> category=Dog_Food
> category=Cat_Food
>
> But they don't show up in the category drop down list in the add item
> UI, just
> as "Food"
>
> So I'm still not sure how to separate the items into their correct
> categories. I
> added a dog food item, and just selected "Food" as the category, hoping
> it would
> lead me to something else, but nothing else happened. I have this on the
> left
> side in the demo store:
>
> Dog Products
> -Food
>
> Cat products
> -Food
>
> and if I click on either food, I see:
>
> "Sorry, no matches for Dog_Food" (or "Cat_Food" depends on which "Food"
> I click
> :)
>
> So even though an item *is* in the Food category, it doesn't get
> displayed in
> the demo store.
>
> Any further advice?
>
> Gina
>
>
>
>
>
>
>
>
> |
> |Quoting "Gina K. Anderson" <gina@sitediva.com>:
> |
> |> Hi all,
> |>
> |> Just figuring out Interchange, and have run into a couple of snags
> with
> |> subcategories.
> |>
> |> First, is it possible to have subcategories with the same name in
> |> different main
> |> categories? For example:
> |>
> |> Dog Products
> |> -Food
> |> -Cages
> |>
> |> Cat products
> |> -Food
> |> -Cages
> |>
> |> etc?
> |>
> |> I tried the category=D_Food, and category=C_Food to try and separate,
> |> but the
> |> names that display in the "adding items" UI just have two "Food"
> |> categories.
> |> It's hard to tell which is dog food, and which is cat food ;) I have
> a
> |> client
> |> who will be using the store once I figure it out, and she wants the
> |> organization
> |> this way, she will be adding items herself later, and needs to know
> |> which
> |> subcategory she is adding to.
> |>
> |> Secondly, when I do add subcategories, they show up in "construct
> |> something"
> |> demo store, but they don't show up in the list of subcategories in
> the
> |> "Add
> |> Item" UI. I tried applying changes, but it didn't solve anything.
> |>
> |> Any guidance?
> |>
> |> Thanks,
> |> Gina
> |>
> |>
> |> _______________________________________________
> |> Interchange-users mailing list
> |> Interchange-users@lists.akopia.com
> |> http://lists.akopia.com/mailman/listinfo/interchange-users
> |>
> |
> |
> |
> |John Beima
> |jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> |
> |P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> |11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> |
> |Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> |2713B Spring Place SW, Decatur, Alabama, United States, 35603
> |
> |_______________________________________________
> |Interchange-users mailing list
> |Interchange-users@lists.akopia.com
> |http://lists.akopia.com/mailman/listinfo/interchange-users
> |
> |
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: g.gaskill at aboron.com (Greg Gaskill )
Date: Thu, 8 Feb 2001 13:47:25 -0500
Subject: [ic] survey of purchase ratios
----- Original Message -----
From: "Doug Alcorn" <doug@lathi.net>
To: <interchange-users@minivend.com>
Sent: Wednesday, February 07, 2001 11:22 PM
Subject: [ic] survey of purchase ratios
> I'm just curious, this is my first real on-line catalog experience.
> I've been up for two months taking orders. We have a pretty good
> product selection and our products are fairly well suited to 'net
> selling. So far I'm getting 0.62% of my visits turning into
> purchases. Also, I'm getting only about 11% of the products put in
> carts turning into sales.
>
This seems on the low side, but still acceptable. I personnally run 2
e-shops
(since I had to set something up to show prospective clients what I can do).
The less popular, adult type products content shop gets about 1 in 100
unique users who actually buy something. The more popular dollhouse
miniatures site gets about 1 in 50 unique users who order something. As
far as items in shopping carts that aren't purchased, I haven't got a clue
;-)
This is because our new interchange-driven sites aren't live yet and the old
system doesn't keep those kind of stats.
> How typical is this? Should I be concerned with how low these numbers
> are?
> --
> (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
> oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
> |_/ If you're a capitalist and you have the best goods and they're
> free, you don't have to proselytize, you just have to wait.
From: gina at sitediva.com (Gina K. Anderson )
Date: Thu, 8 Feb 2001 14:12:21 -0500
Subject: [ic] Subcategory Help?
John,
Either I'm blind, or we're talking about different areas where this auto-export
checkbox is supposed to be ;) I'm in the Design>SiteLayout when I
edit/add/delete Categories. The page says:
Layout Editor: Organize your site into categories
And I *don't* see any auto export checkmark. I looked at the akopia demo and
didn't see it there either, so obviously we are talking about two different
areas where you can edit categories, LOL! So which area am I supposed to be in
for this procedure:
|The reason your new categories are not showing up anywhere is Interchange does
|the search based on the txt file, and not the db file. So after you make any
|changes or additions to the area & cat database you must make sure you have
|exprted the db files. The simple way is to re-edit your new entry and
|click the update button at the bottom of the page making sure the
|auto-export is clicked.
I can take a screen shot of my SiteLayout area, if you can write me offlist with
your email address. Mine is ginakra@mail.com.
Thanks so much,
Gina
|-----Original Message-----
|From: interchange-users-admin@lists.akopia.com
|[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of John Beima
|Sent: Thursday, February 08, 2001 1:43 PM
|To: interchange-users@lists.akopia.com
|Subject: RE: [ic] Subcategory Help?
|
|
|You have gone too far down... It should be right at the bottom of the
|record you
|are editing. The button may even just say OK. The tick box for auto-export
|should be right next to it...
|
|Then for one added safety sake, when you are done your changes for that
|day/morning... Use the apply changes button at the very bottom of the screen.
|
|John
|
|
|Quoting "Gina K. Anderson" <gina@sitediva.com>:
|
|> Hi John,
|>
|> Thanks for helping! Few more questions:
|>
|> |So after you make any changes or additions to the area
|> |& cat database you must make sure you have
|> |exprted the db files.
|> |click the update button at the bottom of the page
|> |making sure the auto-export is clicked.
|>
|> I'm adding categories and subcategories in the "Design" area. I see an
|> "Apply
|> Changes" at the bottom of each UI page (And I have "Change Area" and
|> "Change
|> Category"), but I can't find where to check Auto-Export--sorry for all
|> the dumb
|> questions :/ This is version 4.6.0, don't know if there is a difference
|> between
|> the newest release and this one?
|>
|>
|> |The fix for this is as follows:
|>
|>
|> I tried your instructions, and here I did see the check box for "Auto
|> Export",
|> so I made sure that was done.
|>
|> However, I have only one "Food" category that shows up in the Item
|> category drop
|> down list, it doesn't show "Dog_Food" or "Cat_Food". In the Cat table,
|> the
|> selectors for these particular categories say:
|>
|> category=Dog_Food
|> category=Cat_Food
|>
|> But they don't show up in the category drop down list in the add item
|> UI, just
|> as "Food"
|>
|> So I'm still not sure how to separate the items into their correct
|> categories. I
|> added a dog food item, and just selected "Food" as the category, hoping
|> it would
|> lead me to something else, but nothing else happened. I have this on the
|> left
|> side in the demo store:
|>
|> Dog Products
|> -Food
|>
|> Cat products
|> -Food
|>
|> and if I click on either food, I see:
|>
|> "Sorry, no matches for Dog_Food" (or "Cat_Food" depends on which "Food"
|> I click
|> :)
|>
|> So even though an item *is* in the Food category, it doesn't get
|> displayed in
|> the demo store.
|>
|> Any further advice?
|>
|> Gina
|>
|>
|>
|>
|>
|>
|>
|>
|> |
|> |Quoting "Gina K. Anderson" <gina@sitediva.com>:
|> |
|> |> Hi all,
|> |>
|> |> Just figuring out Interchange, and have run into a couple of snags
|> with
|> |> subcategories.
|> |>
|> |> First, is it possible to have subcategories with the same name in
|> |> different main
|> |> categories? For example:
|> |>
|> |> Dog Products
|> |> -Food
|> |> -Cages
|> |>
|> |> Cat products
|> |> -Food
|> |> -Cages
|> |>
|> |> etc?
|> |>
|> |> I tried the category=D_Food, and category=C_Food to try and separate,
|> |> but the
|> |> names that display in the "adding items" UI just have two "Food"
|> |> categories.
|> |> It's hard to tell which is dog food, and which is cat food ;) I have
|> a
|> |> client
|> |> who will be using the store once I figure it out, and she wants the
|> |> organization
|> |> this way, she will be adding items herself later, and needs to know
|> |> which
|> |> subcategory she is adding to.
|> |>
|> |> Secondly, when I do add subcategories, they show up in "construct
|> |> something"
|> |> demo store, but they don't show up in the list of subcategories in
|> the
|> |> "Add
|> |> Item" UI. I tried applying changes, but it didn't solve anything.
|> |>
|> |> Any guidance?
|> |>
|> |> Thanks,
|> |> Gina
|> |>
|> |>
|> |> _______________________________________________
|> |> Interchange-users mailing list
|> |> Interchange-users@lists.akopia.com
|> |> http://lists.akopia.com/mailman/listinfo/interchange-users
|> |>
|> |
|> |
|> |
|> |John Beima
|> |jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
|> |
|> |P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
|> |11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
|> |
|> |Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
|> |2713B Spring Place SW, Decatur, Alabama, United States, 35603
|> |
|> |_______________________________________________
|> |Interchange-users mailing list
|> |Interchange-users@lists.akopia.com
|> |http://lists.akopia.com/mailman/listinfo/interchange-users
|> |
|> |
|>
|>
|> _______________________________________________
|> Interchange-users mailing list
|> Interchange-users@lists.akopia.com
|> http://lists.akopia.com/mailman/listinfo/interchange-users
|>
|
|
|
|John Beima
|jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
|
|P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
|11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
|
|Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
|2713B Spring Place SW, Decatur, Alabama, United States, 35603
|
|_______________________________________________
|Interchange-users mailing list
|Interchange-users@lists.akopia.com
|http://lists.akopia.com/mailman/listinfo/interchange-users
|
|
From: jbeima at reality.palb.com (John Beima )
Date: Thu, 08 Feb 2001 12:26:27 -0700 (MST)
Subject: [ic] Subcategory Help?
NOOO!!!
You should be in Admin - Tables - Cat or Admin - Tables - Area...
The left side is database driven...
John
Quoting "Gina K. Anderson" <gina@sitediva.com>:
> John,
>
> Either I'm blind, or we're talking about different areas where this
> auto-export
> checkbox is supposed to be ;) I'm in the Design>SiteLayout when I
> edit/add/delete Categories. The page says:
>
> Layout Editor: Organize your site into categories
>
> And I *don't* see any auto export checkmark. I looked at the akopia demo
> and
> didn't see it there either, so obviously we are talking about two
> different
> areas where you can edit categories, LOL! So which area am I supposed to
> be in
> for this procedure:
>
> |The reason your new categories are not showing up anywhere is
> Interchange does
> |the search based on the txt file, and not the db file. So after you
> make any
> |changes or additions to the area & cat database you must make sure you
> have
> |exprted the db files. The simple way is to re-edit your new entry and
> |click the update button at the bottom of the page making sure the
> |auto-export is clicked.
>
> I can take a screen shot of my SiteLayout area, if you can write me
> offlist with
> your email address. Mine is ginakra@mail.com.
>
> Thanks so much,
> Gina
>
> |-----Original Message-----
> |From: interchange-users-admin@lists.akopia.com
> |[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of John
> Beima
> |Sent: Thursday, February 08, 2001 1:43 PM
> |To: interchange-users@lists.akopia.com
> |Subject: RE: [ic] Subcategory Help?
> |
> |
> |You have gone too far down... It should be right at the bottom of the
> |record you
> |are editing. The button may even just say OK. The tick box for
> auto-export
> |should be right next to it...
> |
> |Then for one added safety sake, when you are done your changes for that
> |day/morning... Use the apply changes button at the very bottom of the
> screen.
> |
> |John
> |
> |
> |Quoting "Gina K. Anderson" <gina@sitediva.com>:
> |
> |> Hi John,
> |>
> |> Thanks for helping! Few more questions:
> |>
> |> |So after you make any changes or additions to the area
> |> |& cat database you must make sure you have
> |> |exprted the db files.
> |> |click the update button at the bottom of the page
> |> |making sure the auto-export is clicked.
> |>
> |> I'm adding categories and subcategories in the "Design" area. I see
> an
> |> "Apply
> |> Changes" at the bottom of each UI page (And I have "Change Area" and
> |> "Change
> |> Category"), but I can't find where to check Auto-Export--sorry for
> all
> |> the dumb
> |> questions :/ This is version 4.6.0, don't know if there is a
> difference
> |> between
> |> the newest release and this one?
> |>
> |>
> |> |The fix for this is as follows:
> |>
> |>
> |> I tried your instructions, and here I did see the check box for "Auto
> |> Export",
> |> so I made sure that was done.
> |>
> |> However, I have only one "Food" category that shows up in the Item
> |> category drop
> |> down list, it doesn't show "Dog_Food" or "Cat_Food". In the Cat
> table,
> |> the
> |> selectors for these particular categories say:
> |>
> |> category=Dog_Food
> |> category=Cat_Food
> |>
> |> But they don't show up in the category drop down list in the add item
> |> UI, just
> |> as "Food"
> |>
> |> So I'm still not sure how to separate the items into their correct
> |> categories. I
> |> added a dog food item, and just selected "Food" as the category,
> hoping
> |> it would
> |> lead me to something else, but nothing else happened. I have this on
> the
> |> left
> |> side in the demo store:
> |>
> |> Dog Products
> |> -Food
> |>
> |> Cat products
> |> -Food
> |>
> |> and if I click on either food, I see:
> |>
> |> "Sorry, no matches for Dog_Food" (or "Cat_Food" depends on which
> "Food"
> |> I click
> |> :)
> |>
> |> So even though an item *is* in the Food category, it doesn't get
> |> displayed in
> |> the demo store.
> |>
> |> Any further advice?
> |>
> |> Gina
> |>
> |>
> |>
> |>
> |>
> |>
> |>
> |>
> |> |
> |> |Quoting "Gina K. Anderson" <gina@sitediva.com>:
> |> |
> |> |> Hi all,
> |> |>
> |> |> Just figuring out Interchange, and have run into a couple of snags
> |> with
> |> |> subcategories.
> |> |>
> |> |> First, is it possible to have subcategories with the same name in
> |> |> different main
> |> |> categories? For example:
> |> |>
> |> |> Dog Products
> |> |> -Food
> |> |> -Cages
> |> |>
> |> |> Cat products
> |> |> -Food
> |> |> -Cages
> |> |>
> |> |> etc?
> |> |>
> |> |> I tried the category=D_Food, and category=C_Food to try and
> separate,
> |> |> but the
> |> |> names that display in the "adding items" UI just have two "Food"
> |> |> categories.
> |> |> It's hard to tell which is dog food, and which is cat food ;) I
> have
> |> a
> |> |> client
> |> |> who will be using the store once I figure it out, and she wants
> the
> |> |> organization
> |> |> this way, she will be adding items herself later, and needs to
> know
> |> |> which
> |> |> subcategory she is adding to.
> |> |>
> |> |> Secondly, when I do add subcategories, they show up in "construct
> |> |> something"
> |> |> demo store, but they don't show up in the list of subcategories in
> |> the
> |> |> "Add
> |> |> Item" UI. I tried applying changes, but it didn't solve anything.
> |> |>
> |> |> Any guidance?
> |> |>
> |> |> Thanks,
> |> |> Gina
> |> |>
> |> |>
> |> |> _______________________________________________
> |> |> Interchange-users mailing list
> |> |> Interchange-users@lists.akopia.com
> |> |> http://lists.akopia.com/mailman/listinfo/interchange-users
> |> |>
> |> |
> |> |
> |> |
> |> |John Beima
> |> |jbeima@palb.com, support@alocalagent.com, and
> support@alocalchurch.com
> |> |
> |> |P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> |> |11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> |> |
> |> |Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> |> |2713B Spring Place SW, Decatur, Alabama, United States, 35603
> |> |
> |> |_______________________________________________
> |> |Interchange-users mailing list
> |> |Interchange-users@lists.akopia.com
> |> |http://lists.akopia.com/mailman/listinfo/interchange-users
> |> |
> |> |
> |>
> |>
> |> _______________________________________________
> |> Interchange-users mailing list
> |> Interchange-users@lists.akopia.com
> |> http://lists.akopia.com/mailman/listinfo/interchange-users
> |>
> |
> |
> |
> |John Beima
> |jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> |
> |P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> |11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> |
> |Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> |2713B Spring Place SW, Decatur, Alabama, United States, 35603
> |
> |_______________________________________________
> |Interchange-users mailing list
> |Interchange-users@lists.akopia.com
> |http://lists.akopia.com/mailman/listinfo/interchange-users
> |
> |
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: gina at sitediva.com (Gina K. Anderson )
Date: Thu, 8 Feb 2001 14:43:53 -0500
Subject: [ic] Subcategory Help?
John,
|NOOO!!!
|You should be in Admin - Tables - Cat or Admin - Tables - Area...
|The left side is database driven...
<grin> okay, I went to Admin-Tables-Cat, and checked on these records:
1007 1007 Food name simple products category=Dog_Food
1008 1008 Food name simple products category=Cat_Food
Then made sure and clicked the "Edit Checked Records in Sequence", each record
came up in turn, and clicked the "OK" button with the auto export checked. Then
I hit "Apply Changes" at bottom of page. BTW, I do get this every single time I
hit that:
Reconfiguring catalog: ...
please wait...
please wait...
please wait...
please wait...
please wait...
WARNING: Reconfiguration may have timed out.
Last config: Thu Feb 8 14:39:28 2001 (return)
When I get to the "Add new Item" page in the UI, I *still* have only one "Food"
category to pick from. Now that we got that straightened out, how to I sort the
items?
Wanna come to my house? I'll fix you dinner.
Gina
|
|
|Quoting "Gina K. Anderson" <gina@sitediva.com>:
|
|> John,
|>
|> Either I'm blind, or we're talking about different areas where this
|> auto-export
|> checkbox is supposed to be ;) I'm in the Design>SiteLayout when I
|> edit/add/delete Categories. The page says:
|>
|> Layout Editor: Organize your site into categories
|>
|> And I *don't* see any auto export checkmark. I looked at the akopia demo
|> and
|> didn't see it there either, so obviously we are talking about two
|> different
|> areas where you can edit categories, LOL! So which area am I supposed to
|> be in
|> for this procedure:
|>
|> |The reason your new categories are not showing up anywhere is
|> Interchange does
|> |the search based on the txt file, and not the db file. So after you
|> make any
|> |changes or additions to the area & cat database you must make sure you
|> have
|> |exprted the db files. The simple way is to re-edit your new entry and
|> |click the update button at the bottom of the page making sure the
|> |auto-export is clicked.
|>
|> I can take a screen shot of my SiteLayout area, if you can write me
|> offlist with
|> your email address. Mine is ginakra@mail.com.
|>
|> Thanks so much,
|> Gina
|>
|> |-----Original Message-----
|> |From: interchange-users-admin@lists.akopia.com
|> |[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of John
|> Beima
|> |Sent: Thursday, February 08, 2001 1:43 PM
|> |To: interchange-users@lists.akopia.com
|> |Subject: RE: [ic] Subcategory Help?
|> |
|> |
|> |You have gone too far down... It should be right at the bottom of the
|> |record you
|> |are editing. The button may even just say OK. The tick box for
|> auto-export
|> |should be right next to it...
|> |
|> |Then for one added safety sake, when you are done your changes for that
|> |day/morning... Use the apply changes button at the very bottom of the
|> screen.
|> |
|> |John
|> |
|> |
|> |Quoting "Gina K. Anderson" <gina@sitediva.com>:
|> |
|> |> Hi John,
|> |>
|> |> Thanks for helping! Few more questions:
|> |>
|> |> |So after you make any changes or additions to the area
|> |> |& cat database you must make sure you have
|> |> |exprted the db files.
|> |> |click the update button at the bottom of the page
|> |> |making sure the auto-export is clicked.
|> |>
|> |> I'm adding categories and subcategories in the "Design" area. I see
|> an
|> |> "Apply
|> |> Changes" at the bottom of each UI page (And I have "Change Area" and
|> |> "Change
|> |> Category"), but I can't find where to check Auto-Export--sorry for
|> all
|> |> the dumb
|> |> questions :/ This is version 4.6.0, don't know if there is a
|> difference
|> |> between
|> |> the newest release and this one?
|> |>
|> |>
|> |> |The fix for this is as follows:
|> |>
|> |>
|> |> I tried your instructions, and here I did see the check box for "Auto
|> |> Export",
|> |> so I made sure that was done.
|> |>
|> |> However, I have only one "Food" category that shows up in the Item
|> |> category drop
|> |> down list, it doesn't show "Dog_Food" or "Cat_Food". In the Cat
|> table,
|> |> the
|> |> selectors for these particular categories say:
|> |>
|> |> category=Dog_Food
|> |> category=Cat_Food
|> |>
|> |> But they don't show up in the category drop down list in the add item
|> |> UI, just
|> |> as "Food"
|> |>
|> |> So I'm still not sure how to separate the items into their correct
|> |> categories. I
|> |> added a dog food item, and just selected "Food" as the category,
|> hoping
|> |> it would
|> |> lead me to something else, but nothing else happened. I have this on
|> the
|> |> left
|> |> side in the demo store:
|> |>
|> |> Dog Products
|> |> -Food
|> |>
|> |> Cat products
|> |> -Food
|> |>
|> |> and if I click on either food, I see:
|> |>
|> |> "Sorry, no matches for Dog_Food" (or "Cat_Food" depends on which
|> "Food"
|> |> I click
|> |> :)
|> |>
|> |> So even though an item *is* in the Food category, it doesn't get
|> |> displayed in
|> |> the demo store.
|> |>
|> |> Any further advice?
|> |>
|> |> Gina
|> |>
|> |>
|> |>
|> |>
|> |>
|> |>
|> |>
|> |>
|> |> |
|> |> |Quoting "Gina K. Anderson" <gina@sitediva.com>:
|> |> |
|> |> |> Hi all,
|> |> |>
|> |> |> Just figuring out Interchange, and have run into a couple of snags
|> |> with
|> |> |> subcategories.
|> |> |>
|> |> |> First, is it possible to have subcategories with the same name in
|> |> |> different main
|> |> |> categories? For example:
|> |> |>
|> |> |> Dog Products
|> |> |> -Food
|> |> |> -Cages
|> |> |>
|> |> |> Cat products
|> |> |> -Food
|> |> |> -Cages
|> |> |>
|> |> |> etc?
|> |> |>
|> |> |> I tried the category=D_Food, and category=C_Food to try and
|> separate,
|> |> |> but the
|> |> |> names that display in the "adding items" UI just have two "Food"
|> |> |> categories.
|> |> |> It's hard to tell which is dog food, and which is cat food ;) I
|> have
|> |> a
|> |> |> client
|> |> |> who will be using the store once I figure it out, and she wants
|> the
|> |> |> organization
|> |> |> this way, she will be adding items herself later, and needs to
|> know
|> |> |> which
|> |> |> subcategory she is adding to.
|> |> |>
|> |> |> Secondly, when I do add subcategories, they show up in "construct
|> |> |> something"
|> |> |> demo store, but they don't show up in the list of subcategories in
|> |> the
|> |> |> "Add
|> |> |> Item" UI. I tried applying changes, but it didn't solve anything.
|> |> |>
|> |> |> Any guidance?
|> |> |>
|> |> |> Thanks,
|> |> |> Gina
|> |> |>
|> |> |>
|> |> |> _______________________________________________
|> |> |> Interchange-users mailing list
|> |> |> Interchange-users@lists.akopia.com
|> |> |> http://lists.akopia.com/mailman/listinfo/interchange-users
|> |> |>
|> |> |
|> |> |
|> |> |
|> |> |John Beima
|> |> |jbeima@palb.com, support@alocalagent.com, and
|> support@alocalchurch.com
|> |> |
|> |> |P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
|> |> |11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
|> |> |
|> |> |Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
|> |> |2713B Spring Place SW, Decatur, Alabama, United States, 35603
|> |> |
|> |> |_______________________________________________
|> |> |Interchange-users mailing list
|> |> |Interchange-users@lists.akopia.com
|> |> |http://lists.akopia.com/mailman/listinfo/interchange-users
|> |> |
|> |> |
|> |>
|> |>
|> |> _______________________________________________
|> |> Interchange-users mailing list
|> |> Interchange-users@lists.akopia.com
|> |> http://lists.akopia.com/mailman/listinfo/interchange-users
|> |>
|> |
|> |
|> |
|> |John Beima
|> |jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
|> |
|> |P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
|> |11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
|> |
|> |Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
|> |2713B Spring Place SW, Decatur, Alabama, United States, 35603
|> |
|> |_______________________________________________
|> |Interchange-users mailing list
|> |Interchange-users@lists.akopia.com
|> |http://lists.akopia.com/mailman/listinfo/interchange-users
|> |
|> |
|>
|>
|> _______________________________________________
|> Interchange-users mailing list
|> Interchange-users@lists.akopia.com
|> http://lists.akopia.com/mailman/listinfo/interchange-users
|>
|
|
|
|John Beima
|jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
|
|P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
|11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
|
|Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
|2713B Spring Place SW, Decatur, Alabama, United States, 35603
|
|_______________________________________________
|Interchange-users mailing list
|Interchange-users@lists.akopia.com
|http://lists.akopia.com/mailman/listinfo/interchange-users
|
|
From: andrew at benevolent-tech.com (Andrew Waegel )
Date: Thu, 08 Feb 2001 12:20:56 -0800
Subject: [ic] When/where are 'tranaction' data written?
Hello,
I'm adding a field called 'terms' to the transaction table (sql in this
case). I've successfully added it to the table itself, to the manual
order_view page in the UI (i can even update it from there), but I can't
figure out how to insert data for this field into a new order, whether
created by a customer or through the UI.
I've looked over the routes and order profile, and even grepped the source
and module code, but can't find anything like 'writing to transaction
database', or any indication in the dox about how to properly handle an
additional field.
Can anyone help? Thanks!
- Andrew
>>> Andrew Waegel Benevolent Technologies <<<
>>> 510 527 6116 asw@benevolent-tech.com <<<
From: racke at linuxia.de (Stefan Hornburg )
Date: 08 Feb 2001 21:30:27 +0100
Subject: [ic] When/where are 'tranaction' data written?
Andrew Waegel <andrew@benevolent-tech.com> writes:
> Hello,
>
> I'm adding a field called 'terms' to the transaction table (sql in this
> case). I've successfully added it to the table itself, to the manual
> order_view page in the UI (i can even update it from there), but I can't
> figure out how to insert data for this field into a new order, whether
> created by a customer or through the UI.
>
> I've looked over the routes and order profile, and even grepped the source
> and module code, but can't find anything like 'writing to transaction
> database', or any indication in the dox about how to properly handle an
> additional field.
Look at etc/log_transaction.
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: tintones at hotmail.com (Marcelo )
Date: Thu, 08 Feb 2001 18:52:31 -0200
Subject: [ic] account.html donot show red blank fields.
Bill,
I have entered in the
http://www.minivend.com/pipermail/interchange-users/2000-October/001143.html
and made the changes to new_account.html but when i try to create a new
account a error page appears sayng:
Sorry, there was an error in processing this form action. Please report
the error or try again later. (Can't call method "open_table" on an
undefined value at //usr/lib/interchange/lib/Vend/Data.pm line 872. )
my new_account.html is as:
[comment]
ui_template: Yes
ui_template_name: leftonly
[/comment]
[set component_after][/set]
[set members_only]0[/set]
[set page_banner]Criar um novo usuario[/set]
[set component_hsize]2[/set]
[set hbanner][/set]
[set component_before][/set]
[set hpromo_type]specials[/set]
[set page_title]__COMPANY__ -- Novo usuario[/set]
@_LEFTONLY_TOP_@
<!-- BEGIN CONTENT -->
[if session logged_in][bounce href="[area account]"][/if]
[if !scratch new]
[if session failure]
<P>
<font size="2" __FFACE__><b><font color="#FF0000">[data session
failure]</font></b></font>
[data base=session field=failure value=""]
<P>
[/if]
[else]
[set new][/set]
[/else]
[/if]
<div align="left">
<table width="400" align="center" border="1" cellspacing="0"
cellpadding="0" bordercolordark="#0099FF" bordercolorlight="#0099FF">
[set NewAccount]
[set loginfail][/set]
[tag flag write]userdb[/tag]
[perl global=1]
# copy form vars from cgi to values, as [userdb new_account]
requires
# that most of its vars be passed as values, rather than cgi vars.
::update_values();
# check for empty fields
my @required_fields = (qw/
fname lname address1 city
state zip email phone_day
/);
for (@required_fields) {
if (! $Values->{$_}) {
$Vend::Session->{failure} =
$Vend::Session->{errors}{$_} = "Required field $_ is
empty.";
$Scratch->{loginfail} = 1;
}
}
# attempt to validate the email address if no previous failures
if (! $Scratch->{loginfail} && $Values->{email} !~
/[\040-\176]+\@[-A-Za-z0-9.]+\.[A-Za-z]+/) {
$Vend::Session->{errors}{email} =
$Vend::Session->{failure} = "Badly formatted email address";
$Scratch->{loginfail} = 1;
}
[/perl]
mv_nextpage=new_account
[if scratch loginfail]
[log]new account not created[/log]
[else]
[if type=explicit compare="[userdb function=new_account log=1]"]
[log]new_account create ok![/log]
mv_nextpage=account
[tag export userdb][/tag]
[else]
[log]new_account create failed![/log]
[log interpolate=1][data session failure][/log]
[/else]
[/if]
[/else]
[/if]
[/set]
<P>
[if type=explicit compare="[error all=1 show_var=1 keep=1]"]
<FONT COLOR=RED>One field was either empty, or contained wrong
data.</FONT>
The fields are marked with <FONT COLOR=RED>this color</FONT>.
<P>
[/if]
[if session failure]
The error was:
<FONT COLOR=red>[loc][perl]$Vend::Session->{failure}=~s/\s+$//;
return $Vend::Session->{failure};[/perl][/loc]</FONT>
[data base=session field=failure value=""]
[/if]
<P>
[comment]
[set NewAccount]
[if type=explicit compare="[userdb new_account]"]
mv_nextpage=account
[else]
mv_nextpage=new_account
[/else]
[/if]
[/set]
[/comment]
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount>
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
<INPUT TYPE=hidden NAME=function VALUE=new_account>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket>
<tr>
<td>
<table width="400" border="0"
cellspacing="0" cellpadding="2">
<tr bgcolor="#0099FF">
<td width="81" align="right"
bgcolor="#0099FF"><font size="2" __FFACE__><b><font
color="#FFFFFF">Usuario</font></b></font></td>
<td width="204" bgcolor="#FF9900"
align="left">
<input type="text" NAME=mv_username
VALUE="">
</td>
</tr>
<tr bgcolor="#0099FF">
<td width="81" align="right"
bgcolor="#0099FF">
<font color="#FFFFFF" size="2"
__FFACE__><font color="#000000"><b><font
color="#FFFFFF">Senha</font></b></font></font></td>
<td width="204" bgcolor="#FF9900"
align="left">
<INPUT TYPE=password
NAME=mv_password VALUE="">
</td>
</tr>
<tr bgcolor="#669999">
<td width="81" align="right"
bgcolor="#669999">
<p><font __FFACE__ size="2"><b><font
color="#FFFFFF" size="1">Verificar
Senha </font></b> </font></p>
</td>
<td width="204" align="left">
<INPUT TYPE=password NAME=mv_verify
VALUE="">
<font size="1" __FFACE__>
</font> </td>
</tr>
<tr bgcolor="#999999">
<td width="81"> </td>
<td width="204">
<INPUT TYPE=submit VALUE="Criar
usuario">
</td>
</tr>
<tr bgcolor="#999999">
<td width="81" align="right">
<INPUT TYPE=checkbox
NAME=mv_cookie_password VALUE=1>
</td>
<td width="204"><font __FFACE__
size="1" color="#FFFFFF">Log-
me automaticamente<br>(sets
cookie)</font></td>
</tr>
<tr bgcolor="#999999">
<td width="81" align="right"
colspan="2"> </td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</div>
<p> </p>
<!-- END CONTENT -->
@_LEFTONLY_BOTTOM_@
What is happening?
Thank you in advance,
Marcelo F. De Paula
From: jon at akopia.com (Jon Jensen )
Date: Thu, 8 Feb 2001 15:16:03 -0600 (CST)
Subject: [ic] Interchange 4.6.2 now available
We're pleased to announce that Interchange 4.6.2 is now available for
download. This is the most current stable version of Interchange, and we
recommend users upgrade to this version. It is available from our
Developer Resource website at:
http://developer.akopia.com/
Thanks to those who contributed bugfixes and suggestions. We encourage
posts to the interchange-users list and annotations to the online
documentation, both of which are available at the URL above.
The Akopia Team
Changes in this version:
* [loop list=`$Scratch->{ary}`] now accepts a prebuilt array reference to
loop over. Must be in the form returned by $db->query(), i.e. the list
array (of arrays), an optional field hash ref giving the field name to
index pointers, and an optional array ref giving the field names in
order. Thanks to Kaare Rasmussen for the suggestion.
* Fixed bad bug in History, saving mv_credit_card_number in session. Oops.
* Fixed bug in secure/non-secure host comparison, thanks to Murray Gibbins,
Stefan Hornburg, and Hans-Joachim Leidinger.
* Add MV_USERPROFILE to the list of recognized cookies, allowing a
cookie-based admin login. Providing the password is saved in a cookie
(perhaps with no expiration time?) then this will allow multiple-order
entry by running the login process again.
* Fixed up the DisplayErrors auto-response to be localized. Not many people
use this, but trying to localize all error messages.
* Fixed bug in ui_date_widget, generated month name for "Feb 30" which turned
into March.
* Patch supplied by Hans-Joachim Leidinger <jojo@buchonline.net> prevents
blank credit card info from being encrypted.
* Fixed bug #106, hang at install time if specified Interchange user ID
doesn't exist.
* Fixed problem in Search.pm where coordinated search of op=rm would not
match on words only.
* Fixed recent bug that prevented cached DBI connections.
* Fixed a couple of hard-coded mv_metadata references in admin pages
preventing renaming of __UI_META_TABLE__.
* Fix problem with ProductFiles resolution in loops. The Vend::OnlyProducts
setting was confused after the on-the-fly update.
* Convert '[' characters to [ in [value-extended] to prevent reparsing
of Interchange tags from user data.
* Fixed problem with fly-list not accepting base parameter as per docs.
Found by Victor Nolton.
* Added Stefan Hornburg's patch for table image background paths.
Set pragma substitute_table_image to enable this.
* Improved makecat error message when problems occur reading config file.
* Made NoAbsolute default to Yes in interchange.cfg, which gives better
default security for newly-built catalogs.
* Various minor HTML corrections. Thanks to Paul <porl@namee.com.au> and
Mediabang.
* Fixed in-stock notification problem on flypage.html and stock-alert.html.
* RPM only: Fixed logrotate.d file to prevent cascading log rotation like
error.log.1.gz.1.gz etc. Thanks to Murray Gibbins for diagnosis & fix.
(end)
From: ross at designcc.com (J. Ross Dishner )
Date: Thu, 8 Feb 2001 18:29:22 -0600
Subject: [ic] More Detailed Form Returns?
It appears to me that in the standard catalog configuration once a
form is submitted (Such as that of the login page, new account area)
the page returned is the form page. Is there not a success or thanks
for becoming a member type page with an oops if something isn't right
or filled in that is required. Just Wondering.
Ross
From: scott at searchbc.com (Scott Goodman )
Date: Thu, 08 Feb 2001 16:42:03 -0800
Subject: [ic] Emailing customer of status
Hi,
I'm trying to figure out how to automatically send email to a customer
if the status of an order is changed in the back-end. I am mainly
concerned with 'shipped' orders at this point.
Question: is the customer supposed to receive an email when you click on
"Ship checked order, send email to customer if appropriate"? An email is
never sent out, so either this isn't an "appropriate" time, or something
is broken. My guess leans towards broken, but I'm not sure what to
check, or where. Customers receive the email receipt fine.
Scott
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 8 Feb 2001 19:57:25 -0500
Subject: [ic] Emailing customer of status
On Thu, Feb 08, 2001 at 04:42:03PM -0800, Scott Goodman wrote:
>
Don't try to do that in ic itself. Run an outboard
script. We typically store a "shipping_date" in our database
and simply iterate it for all records "today" or "tomorrow"
depending on the effect desired.
It's not obvious to me what you are asking about:
> "Ship checked order, send email to customer if appropriate"?
I'd guess that is the receipt email which you note is going
out fine. What do you think should happen? That ic should
email the customer when item actually **does** ship?
Maybe time for me to upgrade? :-)
cfm
>
> Hi,
>
> I'm trying to figure out how to automatically send email to a customer
> if the status of an order is changed in the back-end. I am mainly
> concerned with 'shipped' orders at this point.
>
> Question: is the customer supposed to receive an email when you click on
> "Ship checked order, send email to customer if appropriate"? An email is
> never sent out, so either this isn't an "appropriate" time, or something
> is broken. My guess leans towards broken, but I'm not sure what to
> check, or where. Customers receive the email receipt fine.
>
> Scott
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: parentjp at videotron.ca (Jean-Pierre Parent )
Date: Thu, 8 Feb 2001 20:24:26 -0500
Subject: [ic] SQL Support Question
Hi everyone,
I've been trying to create a new catalog from scratch. Everything worked
fine until I tried to configure SQL support...
This is what i have in catalog.cfg:
--
Database products __PRODUCT_SOURCE__ __DSN__
Database products DELIMITER CSV
Database products KEY id
Database products COLUMN_DEF "id=INTEGER(8) UNSIGNED NOT
NULL
AUTO_INCREMENT"
Database products COLUMN_DEF "price=DECIMAL(12,2) NOT
NULL"
Database products COLUMN_DEF "description=VARCHAR(128)
NOT NULL"
--
I'm pretty sure its ok...as long as the __PRODUCT_SOURCE__ which is the name
of the file
to import products if i'm not mistaken and the __DSN__ are set up correctly.
I'm using "VariableDatabase variables"
and the variables.txt TAB delimited file looks like:
--
PRODUCT_SOURCE products.csv
DSN dbi:mysql:databasename
--
Also, the database is created and was tested manually...
I believe I am missing some SQL commands somewhere but...where?
thanks,
Jean-Pierre Parent
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Fri, 9 Feb 2001 09:44:14 +0800
Subject: [ic] Restricting orders
Hi!
Question:
How do I restrict a customer so that he/she can only order a maximum
quantity of 1 for each item?
Bryan
From: 6tc1 at qlink.queensu.ca (Timothy Cassidy )
Date: Thu, 8 Feb 2001 23:46:14 -0500 (EST)
Subject: [ic] Want to use new module in embedded Perl code
Hi, I have downloaded and installed a new module for my perl compiler.
This module is referred to as JVM, it allows a programmer to access Java
code from within their perl code.
The module installation has worked great and I have been able to write
Perl code that executes Java code.
Unfortunately when I try to use this JVM library/module in embedded perl,
I get errors. Is there a particular perl file I should include the
use Jvm;
line in so that my embedded perl code can access this library?
If so, please let me know what it is. I have tried reading all the
manuals and the closest I came to finding an answer was page 25 of 58 in
ictemplates.pdf where it mentioned I could override existing methods.
Also, once I make this change in a particular Perl file, how do I
recompile that Perl file so that Interchange (the application) recognizes
the change?
Thanks for any assistance anyone can provide,
Tim Cassidy
From: rene at hertell.com (Rene Hertell )
Date: Fri, 9 Feb 2001 14:31:32 +0200
Subject: [ic] LWP::Simple install fails
Hi list,
I tried to install the LWP::Simple module with the cpan_local_install
script, but the install fails at the test-phase of "robot/ua". I find a lot
of references in some lists, but none of them helped me to solve the
problem.
Is there some way to force the installation of this module (and of modules
in general) so that it would not hang during that test-phase, or is there a
manual way in installing these modules that do not like my ISP:s machine...
Regards,
René
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Fri, 9 Feb 2001 06:43:12 -0700 (MST)
Subject: [IC] shipping based on a fixed base plus so much per item purchased.
Thanks for all the help in the past.
I have all the shipping methods working except this one. Every thing I
have tried does not seem to work.
This is the base where I started. (They are tab seperated)
usps Priority Mail quantity 0 99999999 4
This sets the fixed handling charge of $4.00. What they want is the fixed
handling charge plux 1 dollar for category periodicals and 2 dollars for
category books. They also want a seperate shipping type with just a flat
fee plus 1 dollar for everything in the cart. Which I then created the
following.
usps Priority Mail quantity 0 99999999 4
usps1 Priority Mail1 quantity 0 99999999 4
after reading the icdatabase documents. I thought the following should
work. ***Note I replaced the 4 with f ... below and the \ at the end is
just a place holder to show the line was continued for readability. (It
really is just one long line.)
usps Priority Mail quantity 0 99999999 f 4 + \
[calc][[item-list]...[/item-list][/calc]
for the last case above. It did not work. I then tried for the f...
f [perl][calc] 4 + [item-list] o <products>::<books> * 2 + o \
<products>::<peridocals> [/item-list][/calc][/perl]
and
f [perl][calc] 4 + [item-list] o <sku> [/item-list][/calc][/perl]
neither of these worked. Could some one shed a little light on what I am
doing wrong?
Thanks,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Fri, 09 Feb 2001 16:30:17 +0200
Subject: [ic] How to show new price after i choose new size
Hello.
Anyone has a shop with products that has different sizes or colors?
Is someone chooses a new size,how do u show the new price on the
product?
Do u reload the page?How?
Thomas
From: cpi at accxs.net (ACC&S )
Date: Fri, 9 Feb 2001 16:02:34 +0100
Subject: [ic] [ic]No basket
Hi all,
Do you have a solution to order an item without displaying basket page ?
My solution with minivend is not OK with interchange !!
thanks
From: dance55 at ix.netcom.com (Dan Cetrone )
Date: Fri, 9 Feb 2001 10:34:17 -0800
Subject: [ic] no price label
I sent a previous msg about removing the PRICE label.
Somehow the mail pgm thought I was sending HTML and is holding it up.
I need this info right away so I am repeating my msg.
I want to be able to not show any reference to cost or pricing or even the
price label itself.
I want to use the shopping cart to only generate inquiries.
The clients will use it to request info on the products they see, and we
will then respond with a price quote.
I don't want any reference to pricing or prices or cost or totals. That
would only create confusion.
It must not have anything in it that would cause confusion or seem like they
are buying instead of just requesting pricing information.
Please try to answer me as to how I would do this and if it would be
difficult for me since I am not a programmer.
Dan Cetrone
From: ven at pragakhan.com (Victor Nolton )
Date: Fri, 9 Feb 2001 10:44:45 -0500
Subject: [ic] no price label
why not just edit out all PRICE related tags?
as for the cart... strip out the columns in the cart refering to
price and extension..
or am I misunderstanding what you are saying?
>I sent a previous msg about removing the PRICE label.
>
>Somehow the mail pgm thought I was sending HTML and is holding it up.
>
>I need this info right away so I am repeating my msg.
>
>I want to be able to not show any reference to cost or pricing or even the
>price label itself.
>
>I want to use the shopping cart to only generate inquiries.
>
>The clients will use it to request info on the products they see, and we
>will then respond with a price quote.
>
>I don't want any reference to pricing or prices or cost or totals. That
>would only create confusion.
>
>It must not have anything in it that would cause confusion or seem like they
>are buying instead of just requesting pricing information.
>
>Please try to answer me as to how I would do this and if it would be
>difficult for me since I am not a programmer.
>
>Dan Cetrone
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: cpi at accxs.net (ACC&S )
Date: Fri, 9 Feb 2001 16:52:35 +0100
Subject: [ic] [ic]No basket
ok solved ! sorry
----- Original Message -----
From: ACC&S <cpi@accxs.net>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 09, 2001 4:02 PM
Subject: [ic] [ic]No basket
> Hi all,
>
> Do you have a solution to order an item without displaying basket page ?
> My solution with minivend is not OK with interchange !!
>
> thanks
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: edl at newmediaems.com (Ed LaFrance )
Date: Fri, 09 Feb 2001 08:12:08 -0800
Subject: [ic] Restricting orders
At 09:44 AM 02/09/2001 +0800, you wrote:
>Hi!
>Question:
>How do I restrict a customer so that he/she can only order a maximum
>quantity of 1 for each item?
>
>Bryan
I don't think there is any way to do this other than editing the catalog pages:
1. Simply use [order [item-code]]Order this item[/order] as your order
link (it places 1 item in the cart by default), or use a hidden input:
<input type=hidden name=mv_order_quantity value=1>
...for form-based ordering.
2. Edit the basket and checkout pages to make the text input box for the
item qty a hidden input (similar to above). Place [item-quantity] by
itself in the same <td> as the hidden input if you want to display the "1"
in the qty column.
That should do it!
- Ed L.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D edl@newmediaems.com
Placerville, CA 95667 http://www.newmediaems.com
(530) 622-9421 (530) 622-9426 Fax
(866) 519-4680 Toll-Free
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
From: dance55 at ix.netcom.com (Dan Cetrone )
Date: Fri, 9 Feb 2001 11:23:51 -0800
Subject: [ic] no price label
Thanks Victor - I originally tried to do this in MIVA and I lost all my
work and time, because MIVA can NOT remove the price related wording and
labels and info.
So, I am looking at this program to solve my problem. And it seems like you
are saying that I can EASILY remove ALL the references to price or costs by
just stripping it all out.
Hopefully, you are not saying that I have to use all the guys from the NASA
launch center to re-program this - in order to do what I want.
Can you give me YOUR guesstimate of how difficult this would be for a
newcomer - and I mean "newcomer" to this kind of work.
Thank You
Dan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----- Original Message -----
From: Victor Nolton <ven@pragakhan.com>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 09, 2001 7:44 AM
Subject: Re: [ic] no price label
> why not just edit out all PRICE related tags?
>
> as for the cart... strip out the columns in the cart refering to
> price and extension..
>
> or am I misunderstanding what you are saying?
>
>
> >I sent a previous msg about removing the PRICE label.
> >
> >Somehow the mail pgm thought I was sending HTML and is holding it up.
> >
> >I need this info right away so I am repeating my msg.
> >
> >I want to be able to not show any reference to cost or pricing or even
the
> >price label itself.
> >
> >I want to use the shopping cart to only generate inquiries.
> >
> >The clients will use it to request info on the products they see, and we
> >will then respond with a price quote.
> >
> >I don't want any reference to pricing or prices or cost or totals. That
> >would only create confusion.
> >
> >It must not have anything in it that would cause confusion or seem like
they
> >are buying instead of just requesting pricing information.
> >
> >Please try to answer me as to how I would do this and if it would be
> >difficult for me since I am not a programmer.
> >
> >Dan Cetrone
> >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
>
> http://www.vensnews.com
>
> Victor "Ven" Nolton __________________________ http://www.VensNews.com
> http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
>
> All HTML Encoded email will be ignored. Learn Standards.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: cpi at accxs.net (ACC&S )
Date: Fri, 9 Feb 2001 17:32:24 +0100
Subject: [ic] Locale again !
I sent a previous message about this problem
[L] [/L], [loc] [/loc] or [setlocale fr_FR] doesn't work.
This is in my catalog.cfg
ProductFiles products fr_products
# Uncomment only if you have these locales on your system
Locale de_DE
#Locale de_DE LC_CTYPE de_DE
Locale fr_FR
Locale en_US
#Locale en_US LC_CTYPE C
LocaleDatabase locale
my locale.txt :
code en_US de_DE fr_FR
PriceDivide 0.5409 1 1
currency_symbol $ DM FF
decimal_point . . ,
default 0 0 1
frac_digits 2 2 2
mon_decimal_point . , ,
mon_thousand_sep
mon_thousands_sep , , .
p_cs_precedes 1
p_sep_by_space 1
price_picture DM ### ### ###,##
ProductFiles products de_products fr_products
products products de_products fr_products
C.Catalogue Catalog Katalog Catalogue
If I try with [L]C.Catalogue[/L] in french version the result is C.Catalogue
and no Catalogue.
Could you explain me what is wrong or I need to do
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Fri, 9 Feb 2001 09:46:03 -0800
Subject: [ic] [ic]No basket
On your results page you can set mv_nextpage to ord/checkout instead of
ord/basket and that should do it. Good luck.
-Ron
----- Original Message -----
From: "ACC&S" <cpi@accxs.net>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 09, 2001 7:02 AM
Subject: [ic] [ic]No basket
> Hi all,
>
> Do you have a solution to order an item without displaying basket page ?
> My solution with minivend is not OK with interchange !!
>
> thanks
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Fri, 09 Feb 2001 20:03:44 +0200
Subject: [ic] How to change the "Buy now" and "more information" tags?
Thank you!!
From: xisco at wmega.es (Xisco Canyellas )
Date: Fri, 09 Feb 2001 19:10:54 -0500
Subject: [ic] error when create new catalog
Hello, I'm a new mailing list user .
I have a problem when I create a new catalog. The navigator show this
message:
Undefined catalog: /cgi-bin/newcatalog
The construct demo catalogs work very well, and I create a new simple
catalog as the Catalog-Building Tutorial explain, and also it work ok.
But when I create a new catalog so bin/makecat newcatalog as
with the Catalog-Building Tutorial , no it give me anything error, but
the navigator show the error message.
I check and compare the directories and permisions and all, and I don't
find any error in the files and directories and configuration files.
If can anybody help me, please to reply this e-mail.
Thanks.
Xisco.
From: apatterson at mobil1.net (Amy )
Date: Fri, 9 Feb 2001 12:27:52 -0600
Subject: [ic] questions
I am wondering if you can start over from the beginning with out removing
everything. I am wanting to get rid of the demo catalogs I have made. I
want to start from where I installed the software? does anyone know of
anyway to do this?
thank you
Amy Patterson
apatterson@mobil1.net
From: cfm at maine.com (cfm at maine.com )
Date: Fri, 9 Feb 2001 13:50:02 -0500
Subject: [ic] How to show new price after i choose new size
www.mainelyscrubs.com
All items have separate and distinct product codes. The price
issue is not a problem because of that.
No, we do not reload the page. We try to avoid that sort of thing
in minivend. Javascript would be a safer bet.
On Fri, Feb 09, 2001 at 04:30:17PM +0200, Thomas N. Stefanidis wrote:
> Hello.
> Anyone has a shop with products that has different sizes or colors?
> Is someone chooses a new size,how do u show the new price on the
> product?
> Do u reload the page?How?
>
> Thomas
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: cfm at maine.com (cfm at maine.com )
Date: Fri, 9 Feb 2001 14:15:23 -0500
Subject: [ic] Restricting orders
On Fri, Feb 09, 2001 at 08:12:08AM -0800, Ed LaFrance wrote:
> At 09:44 AM 02/09/2001 +0800, you wrote:
> >Hi!
> >Question:
> >How do I restrict a customer so that he/she can only order a maximum
> >quantity of 1 for each item?
> >
> >Bryan
>
> I don't think there is any way to do this other than editing the catalog pages:
>
> 1. Simply use [order [item-code]]Order this item[/order] as your order
> link (it places 1 item in the cart by default), or use a hidden input:
>
> <input type=hidden name=mv_order_quantity value=1>
>
> ...for form-based ordering.
They's still be able to order more by returning to flypage, no?
You need something that iterates the basket items and blows away more than
one of the items in question. Something along lines:
{
my($item);
for $item (@{$Vend::Session->{carts}{main}}) {
next unless ($item->{code} eq "the one you want to limit");
$item->{quantity}=1 if ($item->{quantity}>0);
}
}
&Vend::Session::put_session(); # might not need this YMMV
make it a usertag and make sure visitor can't get by it.
>
> 2. Edit the basket and checkout pages to make the text input box for the
> item qty a hidden input (similar to above). Place [item-quantity] by
> itself in the same <td> as the hidden input if you want to display the "1"
> in the qty column.
>
> That should do it!
>
> - Ed L.
>
>
>
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> New Media E.M.S. Software Solutions for Business
> 463 Main St., Suite D edl@newmediaems.com
> Placerville, CA 95667 http://www.newmediaems.com
> (530) 622-9421 (530) 622-9426 Fax
> (866) 519-4680 Toll-Free
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: parentjp at pjp.dhs.org (Jean-Pierre Parent )
Date: Fri, 9 Feb 2001 14:47:38 -0500
Subject: [ic] error when create new catalog
> I have a problem when I create a new catalog. The navigator show this
> message:
>
> Undefined catalog: /cgi-bin/newcatalog
I'd say that either you forgot to restart server or server is not aware of
a catalog named "newcatalog".
For the latter make sure you have a catalog definition line in
interchange.cfg
which would look like:
Catalog newcatalog /path/to/catalog/base /cgi/url
/path/after/domain
I suggest you read about the Catalog directive in the Configuration
manual...
also make sure you have catalog.cfg in /path/to/catalog/base and that you
dont get any errors while re-starting interchange:
"/path/to/interchange/bin/interchange -r"
Good luck...
Jean-Pierre Parent
From: parentjp at videotron.ca (Jean-Pierre Parent )
Date: Fri, 9 Feb 2001 14:52:49 -0500
Subject: [ic] Using SQL Databases...
Hello,
I'm trying to configure a catalog that uses MySQL. I think I got it all
working except that it says "catalog.table doesn't exist!" when I restart
interchange...Thats OK as I dont have it yet...I thought Interhcange
would build it using the Database table COLUMN_DEF field=type(x)
directives. I see that its not the case...so do I have to build them
manually
or is there a way to build them as the Contruct Demo does?! Where do
I put the SQL code?
Thanks
Jean-Pierre Parent
From: scott at searchbc.com (Scott Goodman )
Date: Fri, 09 Feb 2001 12:56:14 -0800
Subject: [ic] Emailing customer of status
cfm@maine.com wrote:
> It's not obvious to me what you are asking about:
>
>> "Ship checked order, send email to customer if appropriate"?
>
> I'd guess that is the receipt email which you note is going
> out fine. What do you think should happen? That ic should
> email the customer when item actually **does** ship?
>
"Ship checked order, send email to customer if appropriate" is the label on the button in the "Order status" page of the order management section of the UI. When I click on it I am refreshed to the "Order view" page which indicates that the order is completed and an email copy is sent to the customer.
I'm trying to figure out why the email isn;t going out, even though IC reports "Email copy sent to someone@somewhere.com".
Scott
From: dance55 at ix.netcom.com (Dan Cetrone )
Date: Fri, 9 Feb 2001 16:47:27 -0800
Subject: [ic] no price label
----- Original Message -----
From: Dan Cetrone <dance55@ix.netcom.com>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 09, 2001 11:23 AM
Subject: Re: [ic] no price label
> Thanks Victor - I originally tried to do this in MIVA and I lost all my
> work and time, because MIVA can NOT remove the price related wording and
> labels and info.
>
> So, I am looking at this program to solve my problem. And it seems like
you
> are saying that I can EASILY remove ALL the references to price or costs
by
> just stripping it all out.
>
> Hopefully, you are not saying that I have to use all the guys from the
NASA
> launch center to re-program this - in order to do what I want.
>
> Can you give me YOUR guesstimate of how difficult this would be for a
> newcomer - and I mean "newcomer" to this kind of work.
>
> Thank You
>
> Dan
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ----- Original Message -----
> From: Victor Nolton <ven@pragakhan.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Friday, February 09, 2001 7:44 AM
> Subject: Re: [ic] no price label
>
>
> > why not just edit out all PRICE related tags?
> >
> > as for the cart... strip out the columns in the cart refering to
> > price and extension..
> >
> > or am I misunderstanding what you are saying?
> >
> >
> > >I sent a previous msg about removing the PRICE label.
> > >
> > >Somehow the mail pgm thought I was sending HTML and is holding it up.
> > >
> > >I need this info right away so I am repeating my msg.
> > >
> > >I want to be able to not show any reference to cost or pricing or even
> the
> > >price label itself.
> > >
> > >I want to use the shopping cart to only generate inquiries.
> > >
> > >The clients will use it to request info on the products they see, and
we
> > >will then respond with a price quote.
> > >
> > >I don't want any reference to pricing or prices or cost or totals.
That
> > >would only create confusion.
> > >
> > >It must not have anything in it that would cause confusion or seem like
> they
> > >are buying instead of just requesting pricing information.
> > >
> > >Please try to answer me as to how I would do this and if it would be
> > >difficult for me since I am not a programmer.
> > >
> > >Dan Cetrone
> > >
> > >
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > --
> >
> > http://www.vensnews.com
> >
> > Victor "Ven" Nolton __________________________ http://www.VensNews.com
> > http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
> >
> > All HTML Encoded email will be ignored. Learn Standards.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
From: dance55 at ix.netcom.com (Dan Cetrone )
Date: Fri, 9 Feb 2001 16:59:46 -0800
Subject: [ic] no price label
----- Original Message -----
From: Dan Cetrone <dance55@ix.netcom.com>
To: Dan Cetrone <dance55@ix.netcom.com>;
<interchange-users@lists.akopia.com>
Sent: Friday, February 09, 2001 4:47 PM
Subject: Re: [ic] no price label
>
> ----- Original Message -----
> From: Dan Cetrone <dance55@ix.netcom.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Friday, February 09, 2001 11:23 AM
> Subject: Re: [ic] no price label
>
>
> > Thanks Victor - I originally tried to do this in MIVA and I lost all my
> > work and time, because MIVA can NOT remove the price related wording and
> > labels and info.
> >
> > So, I am looking at this program to solve my problem. And it seems like
> you
> > are saying that I can EASILY remove ALL the references to price or costs
> by
> > just stripping it all out.
> >
> > Hopefully, you are not saying that I have to use all the guys from the
> NASA
> > launch center to re-program this - in order to do what I want.
> >
> > Can you give me YOUR guesstimate of how difficult this would be for a
> > newcomer - and I mean "newcomer" to this kind of work.
> >
> > Thank You
> >
> > Dan
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > ----- Original Message -----
> > From: Victor Nolton <ven@pragakhan.com>
> > To: <interchange-users@lists.akopia.com>
> > Sent: Friday, February 09, 2001 7:44 AM
> > Subject: Re: [ic] no price label
> >
> >
> > > why not just edit out all PRICE related tags?
> > >
> > > as for the cart... strip out the columns in the cart refering to
> > > price and extension..
> > >
> > > or am I misunderstanding what you are saying?
> > >
> > >
> > > >I sent a previous msg about removing the PRICE label.
> > > >
> > > >Somehow the mail pgm thought I was sending HTML and is holding it up.
> > > >
> > > >I need this info right away so I am repeating my msg.
> > > >
> > > >I want to be able to not show any reference to cost or pricing or
even
> > the
> > > >price label itself.
> > > >
> > > >I want to use the shopping cart to only generate inquiries.
> > > >
> > > >The clients will use it to request info on the products they see, and
> we
> > > >will then respond with a price quote.
> > > >
> > > >I don't want any reference to pricing or prices or cost or totals.
> That
> > > >would only create confusion.
> > > >
> > > >It must not have anything in it that would cause confusion or seem
like
> > they
> > > >are buying instead of just requesting pricing information.
> > > >
> > > >Please try to answer me as to how I would do this and if it would be
> > > >difficult for me since I am not a programmer.
> > > >
> > > >Dan Cetrone
> > > >
> > > >
> > > >_______________________________________________
> > > >Interchange-users mailing list
> > > >Interchange-users@lists.akopia.com
> > > >http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > > --
> > >
> > > http://www.vensnews.com
> > >
> > > Victor "Ven" Nolton __________________________ http://www.VensNews.com
> > > http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
> > >
> > > All HTML Encoded email will be ignored. Learn Standards.
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: rene at hertell.com (Rene Hertell )
Date: Fri, 9 Feb 2001 23:55:27 +0200
Subject: [ic] Locale again !
Try this:
[if scratch mv_locale eq ""]
[setlocale locale=fr_FR persist=1]
[/if]
or just [setlocale locale=fr_FR persist=1]
Rene
} -----Original Message-----
} From: interchange-users-admin@lists.akopia.com
} [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of ACC&S
} Sent: 09 February 2001 18:32
} To: interchange-users@lists.akopia.com
} Subject: [ic] Locale again !
}
}
} I sent a previous message about this problem
}
} [L] [/L], [loc] [/loc] or [setlocale fr_FR] doesn't work.
}
} This is in my catalog.cfg
}
} ProductFiles products fr_products
}
} # Uncomment only if you have these locales on your system
} Locale de_DE
} #Locale de_DE LC_CTYPE de_DE
} Locale fr_FR
} Locale en_US
}
} #Locale en_US LC_CTYPE C
} LocaleDatabase locale
}
}
} my locale.txt :
}
} code en_US de_DE fr_FR
} PriceDivide 0.5409 1 1
} currency_symbol $ DM FF
} decimal_point . . ,
} default 0 0 1
} frac_digits 2 2 2
} mon_decimal_point . , ,
} mon_thousand_sep
} mon_thousands_sep , , .
} p_cs_precedes 1
} p_sep_by_space 1
} price_picture DM ### ### ###,##
} ProductFiles products de_products fr_products
} products products de_products fr_products
} C.Catalogue Catalog Katalog Catalogue
}
} If I try with [L]C.Catalogue[/L] in french version the result
} is C.Catalogue
} and no Catalogue.
}
} Could you explain me what is wrong or I need to do
}
}
}
}
}
} _______________________________________________
} Interchange-users mailing list
} Interchange-users@lists.akopia.com
} http://lists.akopia.com/mailman/listinfo/interchange-users
}
From: cfm at maine.com (cfm at maine.com )
Date: Fri, 9 Feb 2001 17:23:40 -0500
Subject: [ic] Emailing customer of status
On Fri, Feb 09, 2001 at 12:56:14PM -0800, Scott Goodman wrote:
> cfm@maine.com wrote:
>
> > It's not obvious to me what you are asking about:
> >
> >> "Ship checked order, send email to customer if appropriate"?
> >
> > I'd guess that is the receipt email which you note is going
> > out fine. What do you think should happen? That ic should
> > email the customer when item actually **does** ship?
> >
> "Ship checked order, send email to customer if appropriate" is the label on the button in the "Order status" page of the order management section of the UI. When I click on it I am refreshed to the "Order view" page which indicates that the order is completed and an email copy is sent to the customer.
>
> I'm trying to figure out why the email isn;t going out, even though IC reports "Email copy sent to someone@somewhere.com".
I can't help with that. Tell us what the logs show and
maybe someone else can.
>
> Scott
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: marc at geronimo.com (marc )
Date: Fri, 09 Feb 2001 14:47:19 -0800
Subject: [ic] 4.6.2 sample store question.
I just updated to 4.6.2 and it appears the size and color pull down in the
checkout area is gone. For example the construct something store the
different widths of the trim brush (1", 2", 3") do not show up.
Has anyone else run into this?
_______________________________________________________
Marc Infield <marc@geronimo.com>
Geronimo Design
601 Minnesota St. Ste. 118
San Francisco, CA 94107
415-285-5403
From: parentjp at videotron.ca (Jean-Pierre Parent )
Date: Fri, 9 Feb 2001 18:48:39 -0500
Subject: [ic] VariableDatabase broken?
Hi again,
I've posted a few questions already and I just found out that all my
problems seem to come from the VariableDatabase directive. For some reason
the .gdbm gets created and the values are not used at ALL...
catalog.cfg:
--BEGIN--
### Variables are inside ~/products/var.txt
Database var var.txt TAB
VariableDatabase var
ParseVariables Yes
### Path info
VendURL http://__SERVER_NAME____CGI_URL__
SecureURL __SECURE_SERVER____CGI_URL__
ImageDir __IMAGE_DIR__/
ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/
ImageDirSecure __SECURE_SERVER____IMAGE_DIR__
### Misc stuff
MailOrderTo __ORDERS_TO__
### Database setup
...
--END--
I have the file products/var.txt and products/var.gdbm. Also, when I do a
"configdump catalogname" I see that NO values are correct.
the var.txt is a (1)TAB delimited text file that looks like:
code Variable
SERVER_NAME domain.com
SECURE_SERVER https://domain.com
IMAGE_DIR /images
CGI_URL /cgi-bin/catalog
DSN dbi:mysql:catalog_db
PRODUCTS_SOURCE products.txt
ORDERS_TO orders
Any help would be appreciated...
Jean-Pierre Parent
From: g.gaskill at aboron.com (Greg Gaskill )
Date: Fri, 9 Feb 2001 19:56:48 -0500
Subject: [ic] Minor issue with makecat
I have been setting up 2 catalogs using interchange 4.6.1
and noticed a strange behavior when adding any catalogs
after the first one.
At the end of the setup after the part where makecat says:
'Database "test_construct" created.
done.
Moving link program to /usr/local/www/cgi-bin/simple
...done.
*Copying share/ files to /usr/local/www/data/first_catalog
...done.
Moving HTML files to /usr/local/www/data/this_catalog/simple
...done.
The share files always get re-copied into the first directory
I ever installed a catalog into, but everthing else goes where
it should. And to make it work I have to copy the akopia
directory from the 'first_catalog' directory to the 'this_catalog'
directory. This isn't hard, but what if the ui isn't the same?
Then my first UI will get mashed.
This is not a problem for me since my first install was only
for testing and isn't being used any longer.
I'm not good enough with perl or interchange to track the
file copying section down. What confuses me is that, at no
time, during makecat do I enter the 'first_catalog' directory.
Thanks,
Greg
From: rene at hertell.com (Rene Hertell )
Date: Sat, 10 Feb 2001 04:16:17 +0200
Subject: [ic] LWP::Simple install fails
Can someone point me to the right direction where I could find an answer to
this problem?
Regards, René
} -----Original Message-----
} From: interchange-users-admin@lists.akopia.com
} [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
} Hertell
} Sent: 09 February 2001 14:32
} To: Interchange-Users
} Subject: [ic] LWP::Simple install fails
}
}
} Hi list,
}
} I tried to install the LWP::Simple module with the cpan_local_install
} script, but the install fails at the test-phase of "robot/ua".
} I find a lot
} of references in some lists, but none of them helped me to solve the
} problem.
}
} Is there some way to force the installation of this module
} (and of modules
} in general) so that it would not hang during that test-phase,
} or is there a
} manual way in installing these modules that do not like my
} ISP:s machine...
}
} Regards,
}
}
} René
}
}
} _______________________________________________
} Interchange-users mailing list
} Interchange-users@lists.akopia.com
} http://lists.akopia.com/mailman/listinfo/interchange-users
}
From: jon at akopia.com (Jon Jensen )
Date: Fri, 9 Feb 2001 20:28:29 -0600 (CST)
Subject: [ic] Bugfix: Interchange 4.6.3 available
On Fri, 9 Feb 2001, marc <marc@geronimo.com> wrote:
> I just updated to 4.6.2 and it appears the size and color pull down in the
> checkout area is gone. For example the construct something store the
> different widths of the trim brush (1", 2", 3") do not show up.
>
> Has anyone else run into this?
I think you were the first one. And it's a good thing! You found a bad bug
that turned up in 4.6.2 when one bug fix exposed a previous, more serious
bug. A subroutine call in Data.pm had two of its parameters swapped, but
that code never got called before the 4.6.2 release due to the earlier bug.
This is a serious problem, so we've fixed it and Interchange 4.6.3 is now
available on the website at the usual place:
http://developer.akopia.com/
Thanks, Marc, for finding and reporting this right away.
Jon
From: shui at lunamedium.com (Sam Hui )
Date: Fri, 9 Feb 2001 19:05:58 -0800
Subject: [ic] Accessing MySQL tables other than the default 'products' table using the search tag
Hi,
We have setup a simple catalog similar to the tutorial, but would like to
setup additional tables under MySQL. The problem we are having is that
whenever we do a search on a table other than default products table using
the loop search:
[loop search="st=db/ra=yes/fi=table_X"]
column_A: [loop-field <table column_A>]
[/loop]
It would seem to return blank or null. Strangely though, if column_A also
exists in the products table, the value returned would be from the products
table not table_X. Doing the same query using query tag:
[query sql="select column_A from table_X" list=1]
column_A: [sql-param column_A]<br>
[/query]
works flawlessly in getting the correct column values.
Here is our table/db setup in our catalog.cfg:
Database products products.sql dbi:mysql:interchange
Database products USER <mysql user>
Database products PASS <mysql password>
Database product_detail product_detail.sql
dbi:mysql:interchange
Database product_detail USER <mysql user>
Database product_detail PASS <mysql password>
Another quick question, is this the only to declare tables (from the same
database) for Interchange? Hoping to see if there is a better way to do
this.
Using Interchange 4.6.1
Any help would be much appreciated.
-Sam
From: racke at linuxia.de (Stefan Hornburg )
Date: 10 Feb 2001 04:31:08 +0100
Subject: [ic] Accessing MySQL tables other than the default 'products' table using the search tag
"Sam Hui" <shui@lunamedium.com> writes:
> Hi,
>
> We have setup a simple catalog similar to the tutorial, but would like to
> setup additional tables under MySQL. The problem we are having is that
> whenever we do a search on a table other than default products table using
> the loop search:
>
> [loop search="st=db/ra=yes/fi=table_X"]
> column_A: [loop-field <table column_A>]
> [/loop]
Try [loop_data table_X column_A].
>
> It would seem to return blank or null. Strangely though, if column_A also
> exists in the products table, the value returned would be from the products
> table not table_X. Doing the same query using query tag:
>
> [query sql="select column_A from table_X" list=1]
> column_A: [sql-param column_A]<br>
> [/query]
>
> works flawlessly in getting the correct column values.
>
>
> Here is our table/db setup in our catalog.cfg:
>
> Database products products.sql dbi:mysql:interchange
> Database products USER <mysql user>
> Database products PASS <mysql password>
>
> Database product_detail product_detail.sql
> dbi:mysql:interchange
> Database product_detail USER <mysql user>
> Database product_detail PASS <mysql password>
>
> Another quick question, is this the only to declare tables (from the same
> database) for Interchange? Hoping to see if there is a better way to do
> this.
Yes, AFAIK. Suggestions for improvements ?
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Fri, 09 Feb 2001 19:46:11 -0800
Subject: [ic] LWP::Simple install fails
>} I tried to install the LWP::Simple module with the cpan_local_install
>} script, but the install fails at the test-phase of "robot/ua".
>} I find a lot
>} of references in some lists, but none of them helped me to solve the
>} problem.
>}
>} Is there some way to force the installation of this module
>} (and of modules
>} in general) so that it would not hang during that test-phase,
>} or is there a
>} manual way in installing these modules that do not like my
>} ISP:s machine...
What version of perl are you using? (Have you tried updating?)
Have you tried manually downloading from search.cpan.org? If you have,
what happens when you...
perl Makefile.PL
make
make test
make install
If the make test fails, maybe the make install will still work and you
won't have to worry about it. I'm not familiar with "robot/ua", but maybe
you wont be using whatever-it-is.
HTH,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Fri, 09 Feb 2001 19:55:15 -0800
Subject: [ic] Accessing MySQL tables other than the default
> > Here is our table/db setup in our catalog.cfg:
> >
> > Database products products.sql dbi:mysql:interchange
> > Database products USER <mysql user>
> > Database products PASS <mysql password>
> >
> > Database product_detail product_detail.sql
> > dbi:mysql:interchange
> > Database product_detail USER <mysql user>
> > Database product_detail PASS <mysql password>
> >
> > Another quick question, is this the only to declare tables (from the same
> > database) for Interchange? Hoping to see if there is a better way to do
> > this.
>
>Yes, AFAIK. Suggestions for improvements ?
Script to automatically generate dbconf/pgsql/xyz.pgsql file from an
existing table/database. That would be going from SQL->IC. (I understand
that IC already has the ability to generate IC->SQL commands?)
How does one get interchange to generate the SQL "CREATE TABLE..." commands
from the above db configuration? (It seems that the demo catalogs build
their dbs automatically, but I can't seem to make my own db's build
automatically). I have to manually CREATE TABLE... *and* put the data into
a dbconf/pgsql/table.pgsql file.
My $0.0172 (adjusted for inflation),
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Fri, 09 Feb 2001 21:38:45 -0800
Subject: [ic] [formel] UserTag: more information, example usage?
-*- Where can I find out more information about the [formel] UserTag?
-*- Does it work with 4.6.1 or is it just 4.7.x?
-*- What benefit does it bring over manually entering form elements? (Does
it automatically remember values?)
-*- Where can I find examples of its usage?
Thanks,
-Dan Browning
formel
#
# UserTag formel - see POD documentation for more information
#
# Copyright 2000 by Stefan Hornburg <racke@linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA.
UserTag formel Order label name type size
# may be should place version information on user-defined tags
# UserTag formel Version 0.03
UserTag formel addAttr
UserTag formel Routine <<EOF
sub {
my ($label, $name, $type, $size, $opt) = @_;
my ($labelhtml, $elhtml, $fmt);
my $contrast = $::Variable->{CONTRAST} || 'red';
my $checkfor = $opt->{'checkfor'} || $name;
my $sizestr = '';
my $labelproc;
$labelproc = sub {
my ($label, $keep) = @_;
if ($Tag->error({name => $checkfor, keep => $keep})) {
if ($opt->{signal}) {
sprintf($opt->{signal}, $label);
} else {
qq{<font color="$contrast">$label</font>};
}
} else {
$label;
}
};
# set defaults
$type = 'text' unless $type;
for ('format', 'order', 'reset', 'signal', 'size') {
next if $opt->{$_};
if ($::Values->{"mv_formel_$_"}) {
$opt->{$_} = $::Values->{"mv_formel_$_"};
}
}
if ($opt->{'format'}) {
$fmt = $opt->{'format'};
} else {
$fmt = '%s %s';
}
if ($opt->{'size'}) {
if ($type eq 'textarea') {
my ($cols, $rows) = split (/\s*[,x\s]\s*/,
$opt->{'size'});
$sizestr = " rows=$rows cols=$cols";
} else {
$sizestr = " size=$opt->{size}";
}
}
if ($type eq 'radio') {
my ($rlabel, $rvalue, $select);
for my $button (split (/\s*,\s*/, $opt->{choices})) {
$select = '';
if ($button =~ /^(.*?)=(.*)$/) {
$rvalue = $1;
$rlabel = $2;
} else {
$rvalue = $rlabel = $button;
}
if ($::Values->{$name} eq $rvalue) {
$select = ' checked';
}
$rlabel = &$labelproc($rlabel, 1);
$elhtml .= qq{<input type=radio name=$name
value="${rvalue}"$select> $rlabel};
}
# delete error implicitly
&$labelproc();
return sprintf ($fmt, $labelhtml, $elhtml);
}
$labelhtml = &$labelproc($label);
if ($opt->{reset}) {
if ($type eq 'textarea') {
$elhtml = qq{<textarea name="${name}"$sizestr></textarea>};
} else {
$elhtml = qq{<input type=$type name="${name}"$sizestr>};
}
} else {
if ($type eq 'textarea') {
$elhtml = qq{<textarea
name="${name}"$sizestr>$::Values->{$name}</textarea>};
} else {
$elhtml = qq{<input type=$type name=$name
value="$::Values->{$name}"$sizestr>};
}
}
if ($opt->{order}) {
# display form element first
sprintf ($fmt, $elhtml, $labelhtml);
} else {
# display label first
sprintf ($fmt, $labelhtml, $elhtml);
}
}
EOF
UserTag formel Documentation <<EOD
=head2 formel
This tag generates a HTML form element. It preserves the user input from
the last display of the current page and looks for
input value errors (using the C<error> tag).
The user-visible description will be displayed
in the color defined by the variable C<CONTRAST> or in red if the
variable is not set.
Parameters for this tag are:
=over 4
=item label
The user-visible description of the form element's purpose.
=item name
The name of the form element which appears in the C<NAME>
attribute of the HTML tag.
=item type
The type of the form element (supported are text, textarea
and radio).
=item size
The width of the form element. For textarea elements you can
specify width and height (e.g. 70x10 or 20,4).
=back
Other options are:
=item checkfor
The name which get passed to the Error tag. The default
is the name of the form element.
=item format
The container format string for the label and the form element.
The default is C<%s %s>.
=item order
Whether the user-visible description or the form element
comes first. Default is the first (order=0).
=item reset
Discards the user input if set to 1.
=item signal
Label container in case of errors. The default is
<font color="__CONTRAST__">%s</font>. If the variable
CONTRAST doesn't exist, the color red is used instead.
=back
You can set defaults for format, order, reset, signal and size with the
corresponding mv_formel_... form variable values, e.g.:
[value name="mv_formel_format" set="<TR><TD>%s</TD><TD>%s</TD></TR>"
hide=1]
[value name="mv_formel_order" set=1 hide=1]
[value name="mv_formel_signal" set="<BLINK>%s</BLINK>" hide=1]
To display the label and the form element seperately call C<formel> twice:
[formel label=Username: name=login format="%s"]
[formel name=login order=1 format="%s"]
EOD
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: rene at hertell.com (Rene Hertell )
Date: Sat, 10 Feb 2001 12:03:12 +0200
Subject: [ic] IC 4.6.3 errors during install
Hi,
I get this kind of errors while installing IC 4.6.3.
Manifying blib/man3/icconfig.8
/usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph
2 of pod/icconfig.pod
/usr/bin/pod2man: bad option in paragraph 1615 of pod/icconfig.pod:
``-r'' should be [CB]<-r>
/usr/bin/pod2man: bad option in paragraph 1617 of pod/icconfig.pod:
``-r'' should be [CB]<-r>
/usr/bin/pod2man: pod/icconfig.pod is missing required section:
DESCRIPTION
Regards, René
From: racke at linuxia.de (Stefan Hornburg )
Date: 10 Feb 2001 11:32:45 +0100
Subject: [ic] Re: [formel] UserTag: more information, example usage?
Dan B <db@cyclonehq.dnsalias.net> writes:
> -*- Where can I find out more information about the [formel] UserTag?
>From me :-)
> -*- Does it work with 4.6.1 or is it just 4.7.x?
4.6.x (CVS LINUXIA branch is 4.6.x + patches + Debian packaging stuff)
> -*- What benefit does it bring over manually entering form elements? (Does
> it automatically remember values?)
I wrote it because I need a more convenient way to highlight incorrect
filled form elements which displays the corresponding page.
It makes your pages shorter and it is possible to change the table
layout in one place.
> -*- Where can I find examples of its usage?
Below.
Bye
Racke
<form METHOD="POST" ACTION="[process-target]">
<INPUT TYPE=hidden NAME=mv_todo VALUE=submit>
<INPUT TYPE=hidden NAME=mv_order_profile VALUE=enroll>
<INPUT TYPE=hidden NAME=mv_successpage VALUE=enrolled>
<INPUT TYPE=hidden NAME=parent VALUE="__STORE_ID__">
<INPUT TYPE=hidden NAME=mv_failpage VALUE="enroll">
[value name="mv_formel_format" set="<TR><TD ALIGN=RIGHT><FONT SIZE=2><B>%s</B></FONT></TD><TD ALIGN=LEFT>%s</TD></TR>" hide=1]
[value name="mv_formel_signal" set="<BLINK>%s</BLINK>" hide=1]
[value name="mv_formel_size" set="20" hide=1]
<TABLE>
[if errors]
<TR><TD COLSPAN=2>There is a problem with one or more fields. Please correct the flashing items below.</TD></TR>
[/if]
[formel label="CHECKS MADE PAYABLE TO" name="payable_to"]
[formel label="OWNER'S FIRST NAME" name="first_name"]
[formel label="OWNER'S LAST NAME" name="last_name"]
[formel label="SITE NAME" name="site_name"]
[formel label="HEADER TITLE (default SITE NAME)" name="head_title"]
[formel label="STREET ADDRESS" name="address" size=30]
[formel label="CITY / PROVINCE" name="city" size=15]
[formel label="STATE" name="state" size=3]
[formel label="POSTAL CODE" name="zip" size=6]
[formel label="COUNTRY" name="country" size=15]
[formel label="TELEPHONE" name="phone" size=15]
[formel label="FAX" name="fax" size=15]
[formel label="SOCIAL SECURITY NO. / TAX I.D." name="ssn" size=15]
[formel label="PRIMARY URL" name="primary_url" size=30]
[formel label="E-MAIL" name="email" size=15]
<TR><TD ALIGN=right>PLEASE SET UP THESE CATALOGS</TD>
<TD ALIGN=left>
[loop arg="__PRODUCT_LINES__"]
[if value cat_type]
<input type="checkbox" name="cat_type" value="[loop-code]" [checked cat_type [loop-code] 1]>[loop-data category name]<BR>
[else]
<input type="checkbox" name="cat_type" value="[loop-code]" checked>[loop-data category name]<BR>
[/else]
[/if]
[/loop]
</TD></TR>
<TR><TD ALIGN=right>I want the catalog(s) co-branded with my graphics</TD>
<TD ALIGN=left>
<input type="radio" name="co_branded" value="YES" [checked co_branded YES]><BR>
</TD></TR>
<TR><TD ALIGN=right>Please use the default graphics</TD>
<TD ALIGN=left>
<input type="radio" name="co_branded" value="NO" [checked co_branded NO]><BR>
</TD></TR>
</TABLE>
</TD></TR>
<TR><TD ALIGN=center>
</TD></TR></TABLE>
</TD></TR>
</TABLE>
<TABLE>
[formel label="E-MAIL MY ORDERS TO:" name="mailorderto" size=20]
<TR><TD ALIGN=right><FONT SIZE=2><B>
LINK MY HOME BUTTONS TO:</TD>
<TD ALIGN=left><input type="text" value="http://" name="url" size=20></TD></TR>
[formel label="PASSWORD FOR ORDER REPORTS:" name="password" size=9 type="password"]
[formel label="VERIFY PASSWORD:" name="verify" size=9 type="password"]
<TR><TD COLSPAN=2>
<CENTER>If you wanted the default graphics, <BR>please skip the next section and <BR>click the sign me up button.</CENTER>
<HR><P>
<CENTER><FONT SIZE=2><B>BODY TAGS
<P>
Please change the values for each field as needed.<BR>
If you prefer to have the graphics kept on our server, <BR>
please email them after completing this form.<P>
None of the following fields are required.
</B></FONT></CENTER>
</TD></TR>
[formel label="MY BACKGROUND IMAGE IS AT:<BR>(this can be left blank if you don't want a background image)" name="background" size="30"]
[formel label="BGCOLOR" name="bgcolor" size=15]
[formel label="TEXT COLOR" name="text" size=15]
[formel label="LINK COLOR" name="link" size=15]
[formel label="VLINK COLOR" name="vlink" size=15]
[formel label="ALINK COLOR" name="alink" size=15]
<TR><TD COLSPAN=2><FONT SIZE=2><B><P>
<CENTER>A custom header and footer can be put on the catalog, <BR>this can be any combination of text, graphics, links and even java<BR>or as simple as a banner.</CENTER>
</TD></TR>
[formel label="HEADER:" name="header" type=textarea size="50x4"]
[formel label="FOOTER:" name="footer" type=textarea size="50x4"]
</TABLE>
</TD></TR>
<TR><TD ALIGN=center>
<TABLE>
<TR><TD ALIGN=center>
<INPUT TYPE="submit" VALUE="Sign Me Up!"><P>
<FONT SIZE=1><B>CLICK "SIGN ME UP!" TO TRANSMIT APPLICATION.
</form></TD></TR>
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: racke at linuxia.de (Stefan Hornburg )
Date: 10 Feb 2001 11:37:46 +0100
Subject: [ic] Accessing MySQL tables other than the default 'products' table using the search tag
Dan B <db@cyclonehq.dnsalias.net> writes:
> > > Here is our table/db setup in our catalog.cfg:
> > >
> > > Database products products.sql dbi:mysql:interchange
> > > Database products USER <mysql user>
> > > Database products PASS <mysql password>
> > >
> > > Database product_detail product_detail.sql
> > > dbi:mysql:interchange
> > > Database product_detail USER <mysql user>
> > > Database product_detail PASS <mysql password>
> > >
> > > Another quick question, is this the only to declare tables (from the same
> > > database) for Interchange? Hoping to see if there is a better way to do
> > > this.
> >
> >Yes, AFAIK. Suggestions for improvements ?
>
> Script to automatically generate dbconf/pgsql/xyz.pgsql file from an
> existing table/database. That would be going from SQL->IC. (I understand
> that IC already has the ability to generate IC->SQL commands?)
Do you need this really ? Specify NoImport for the table in question
and you should be for it except some sidecases.
>
> How does one get interchange to generate the SQL "CREATE TABLE..." commands
> from the above db configuration? (It seems that the demo catalogs build
> their dbs automatically, but I can't seem to make my own db's build
> automatically). I have to manually CREATE TABLE... *and* put the data into
> a dbconf/pgsql/table.pgsql file.
>
See above.
Feel free to ask again if my answer doesn't satisfy you.
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: rene at hertell.com (Rene Hertell )
Date: Sat, 10 Feb 2001 12:54:50 +0200
Subject: [ic] European Tax-stuff (again ...)
Does anyone know when IC will support tax-categories (like we have here in
Europe)?
René
From: racke at linuxia.de (Stefan Hornburg )
Date: 10 Feb 2001 12:18:31 +0100
Subject: [ic] Europeanization of IC
Hello, IC users !
Although IC has support for localization and other stuff that suits
users allover the world, it is still a product with the main focus
on the American market (at least this is what I think).
My company is greatly interested to fill in the gaps for users
in other countries, especially in Europe. As I'm visting Akopia with
an other IC developer in my company in the near future, I would
like to hear from you what do you miss from IC now in this respect.
These points I will discuss there. Besides that CNS will work on
this stuff even if Akopia isn't interested in it now.
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: greg at rubberplant.freeserve.co.uk (Greg Cope )
Date: Sat, 10 Feb 2001 11:39:00 +0000
Subject: [ic] Europeanization of IC
Stefan Hornburg wrote:
>
> Hello, IC users !
>
> Although IC has support for localization and other stuff that suits
> users allover the world, it is still a product with the main focus
> on the American market (at least this is what I think).
>
> My company is greatly interested to fill in the gaps for users
> in other countries, especially in Europe. As I'm visting Akopia with
> an other IC developer in my company in the near future, I would
> like to hear from you what do you miss from IC now in this respect.
>
> These points I will discuss there. Besides that CNS will work on
> this stuff even if Akopia isn't interested in it now.
>
An "pro" European improvements would be great - not saying that
interchange in not great ;-)
If the changes are aceptable to Mike et al, then could they not be
rolled into CVS ?
Greg
> Bye
> Racke
>
> --
> LinuXia Systems && Cobolt NetServices, eCommerce and more
> Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
> http://www.linuxia.de - http://www.cobolt.net
> --> Junior Officer of the MiniVend/Interchange Bug Patrol <---
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: jsaura at eon.es (Julio Saura )
Date: Fri, 9 Feb 2001 12:43:36 +0100
Subject: [ic] Hi there!
Hello ppl,
i have just downloaded the last version of akopia... and when I enter the
admin interface it tells me that i must have GDBM_File or DB_File installed
to work properly... well.. i have installed both three times using CPAN and
it still telling me the same error.... i have noticed that in the error log
file says that i have my gdbm tables in read-only...
any idea of what i am doing wrong... or is a bug of the new version...
thanks in advance
From: racke at linuxia.de (Stefan Hornburg )
Date: 10 Feb 2001 12:56:37 +0100
Subject: [ic] Europeanization of IC
Greg Cope <greg@rubberplant.freeserve.co.uk> writes:
> Stefan Hornburg wrote:
> >
> > Hello, IC users !
> >
> > Although IC has support for localization and other stuff that suits
> > users allover the world, it is still a product with the main focus
> > on the American market (at least this is what I think).
> >
> > My company is greatly interested to fill in the gaps for users
> > in other countries, especially in Europe. As I'm visting Akopia with
> > an other IC developer in my company in the near future, I would
> > like to hear from you what do you miss from IC now in this respect.
> >
> > These points I will discuss there. Besides that CNS will work on
> > this stuff even if Akopia isn't interested in it now.
> >
>
> An "pro" European improvements would be great - not saying that
> interchange in not great ;-)
I would like to compile a list of possible improvements first,
then discuss with Akopia what to do about it.
For each point, I see the following scenarios:
A) Akopia implements it. The patch goes into CVS, most likely
into the development branch.
B) Akopia doesn't like it or would not bother to implement it
=> either my company (CNS) or another IC hacker may
implement it. The patch goes first into the LINUXIA branch.
Later on, we can decide if it is worth to produce an addon
to IC containing code from the A and B scenarios.
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: greg at rubberplant.freeserve.co.uk (Greg Cope )
Date: Sat, 10 Feb 2001 13:20:44 +0000
Subject: [ic] Europeanization of IC
Stefan Hornburg wrote:
>
> Greg Cope <greg@rubberplant.freeserve.co.uk> writes:
>
> > Stefan Hornburg wrote:
> > >
> > > Hello, IC users !
> > >
> > > Although IC has support for localization and other stuff that suits
> > > users allover the world, it is still a product with the main focus
> > > on the American market (at least this is what I think).
> > >
> > > My company is greatly interested to fill in the gaps for users
> > > in other countries, especially in Europe. As I'm visting Akopia with
> > > an other IC developer in my company in the near future, I would
> > > like to hear from you what do you miss from IC now in this respect.
> > >
> > > These points I will discuss there. Besides that CNS will work on
> > > this stuff even if Akopia isn't interested in it now.
> > >
> >
> > An "pro" European improvements would be great - not saying that
> > interchange in not great ;-)
>
> I would like to compile a list of possible improvements first,
> then discuss with Akopia what to do about it.
Well an improvement would be a native (as in the US sales taxes are
native) EU "sales tax" implementation i.e TVA/VAT issues.
One big hole here is that different countries have different criteria
for which band a product is in - so this would need to be left to the
implementor (for example - the different treatment of Books in the UK
and rest of the EU)
And what of delivery charges / pan european delivery companies - they
could be incorporated ?
>
> A) Akopia implements it. The patch goes into CVS, most likely
> into the development branch.
This would be the ideal.
> B) Akopia doesn't like it or would not bother to implement it
> => either my company (CNS) or another IC hacker may
> implement it. The patch goes first into the LINUXIA branch.
This is the best comprimise if A fails ...
Greg
> > Later on, we can decide if it is worth to produce an addon
> to IC containing code from the A and B scenarios.
>
> Bye
> Racke
>
> --
> LinuXia Systems && Cobolt NetServices, eCommerce and more
> Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
> http://www.linuxia.de - http://www.cobolt.net
> --> Junior Officer of the MiniVend/Interchange Bug Patrol <---
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: jon at akopia.com (Jon Jensen )
Date: Sat, 10 Feb 2001 09:33:17 -0600 (CST)
Subject: [ic] IC 4.6.3 errors during install
On Sat, 10 Feb 2001, Rene Hertell wrote:
> I get this kind of errors while installing IC 4.6.3.
>
> Manifying blib/man3/icconfig.8
> /usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph
> 2 of pod/icconfig.pod
> /usr/bin/pod2man: bad option in paragraph 1615 of pod/icconfig.pod:
> ``-r'' should be [CB]<-r>
> /usr/bin/pod2man: bad option in paragraph 1617 of pod/icconfig.pod:
> ``-r'' should be [CB]<-r>
> /usr/bin/pod2man: pod/icconfig.pod is missing required section:
> DESCRIPTION
These warnings are not important, and you can safely ignore them, as they
only deal with manpage creation. I've seen them mostly on Red Hat 6.x,
whose version of pod2man is somehow different than elsewhere.
Jon
From: maillist at b-p-a.com (=?iso-8859-1?q?Marius_Sch=E4fer?= )
Date: Sat, 10 Feb 2001 17:01:32 +0100
Subject: [ic] Europeanization of IC
On 10 Feb 2001 12:18:31 +0100, Stefan Hornburg wrote:
>
>Hello, IC users !
>
>Although IC has support for localization and other stuff that suits
>users allover the world, it is still a product with the main focus
>on the American market (at least this is what I think).
>
>My company is greatly interested to fill in the gaps for users
>in other countries, especially in Europe. As I'm visting Akopia with
>an other IC developer in my company in the near future, I would
>like to hear from you what do you miss from IC now in this respect.
>
>These points I will discuss there. Besides that CNS will work on
>this stuff even if Akopia isn't interested in it now.
>
It is great to hear that you plan do improve the european "part" of IC. I think a great improvement would be
o payment-systems implementation which are available in europe (well, germany) like paybox.
o tax-system prepared for the different countries.
o interfaces to software like sap (well, we talked about this before)
o manual in other language.... hmm.... better dont think about that.
Regards,
Marius
From: tintones at hotmail.com (Marcelo )
Date: Sat, 10 Feb 2001 14:56:06 -0200
Subject: [ic] Why userdb.txt and product.txt are not updated?
Hi everybody,
Database problem:
I have entered some new users in my construct demo catalog thrue the
browser, but in /product/userdb.txt those users do not appear.
And when i delete some product from Admin interface - itens the
/products/products.txt still with the products that i already deleted
before.
What i have to do to actuallize the database?
Thanks,
Marcelo F. De Paula
From: chet at pressler.com (Chet Pressler )
Date: Sat, 10 Feb 2001 09:59:59 -0800
Subject: [ic] products.txt
When I change a price in the construct demo, the products.txt file is no
longer tab delimited and all white space is gone. The site seems to
continue to work but I thought products.txt was a tab spaced file. I only
have a few items to sell that why I thought using products.txt would be fine.
What is the relationship between the .txt and the .gdbm files?
Chet Pressler
Pressler Inc. Video Systems Specialists http://www.pressler.com/
8170 S. Eastern Avenue, Suite 196, Las Vegas, NV 89123
950 Comstock Street, Santa Clara CA 95054
702-616-3760 Voice
801-383-3908 FAX
702-493-6098 Cell (pager e-mail 7024936098@mobile.att.net)
email - chet@pressler.com
From: interchange at my-school.com (IC-Admin )
Date: Sat, 10 Feb 2001 16:04:21 -0500 (EST)
Subject: [ic] Europeanization of IC
Marius Schaefer wrote:
> o manual in other language.... hmm.... better dont think about that.
Why not ? It's just too early to do that, most probably.
birgitt
From: racke at linuxia.de (Stefan Hornburg )
Date: 10 Feb 2001 21:19:43 +0100
Subject: [ic] Europeanization of IC
"Marius Schäfer" <maillist@b-p-a.com> writes:
> On 10 Feb 2001 12:18:31 +0100, Stefan Hornburg wrote:
>
> >
> >Hello, IC users !
> >
> >Although IC has support for localization and other stuff that suits
> >users allover the world, it is still a product with the main focus
> >on the American market (at least this is what I think).
> >
> >My company is greatly interested to fill in the gaps for users
> >in other countries, especially in Europe. As I'm visting Akopia with
> >an other IC developer in my company in the near future, I would
> >like to hear from you what do you miss from IC now in this respect.
> >
> >These points I will discuss there. Besides that CNS will work on
> >this stuff even if Akopia isn't interested in it now.
> >
>
> It is great to hear that you plan do improve the european "part" of IC. I think a great improvement would be
>
> o payment-systems implementation which are available in europe (well,
> germany) like paybox.
OK, added to the list. Are there any other payment systems mainly
used in Europe you would like to see support for ?
> o tax-system prepared for the different countries.
There seems much demand for this.
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: 6tc1 at qlink.queensu.ca (Timothy Cassidy )
Date: Sat, 10 Feb 2001 15:34:53 -0500 (EST)
Subject: [ic] Want to use new module/library in embedded Perl code
Hi, I have downloaded and installed a new module for my perl compiler.
This module is referred to as JVM, it allows a programmer to access Java
code from within their perl code.
The module installation has worked great and I have been able to write
Perl code that executes Java code.
Unfortunately when I try to use this JVM library/module in embedded perl,
I get errors. Is there a particular perl file I should include the
use Jvm;
line in so that my embedded perl code can access this library?
If so, please let me know what it is. I have tried reading all the
manuals and the closest I came to finding an answer was page 25 of 58 in
ictemplates.pdf where it mentioned I could override existing methods.
Also, once I make this change in a particular Perl file, how do I
recompile that Perl file so that Interchange (the application) recognizes
the change?
Thanks for any assistance anyone can provide,
Tim Cassidy
From: cfm at maine.com (cfm at maine.com )
Date: Sat, 10 Feb 2001 16:11:09 -0500
Subject: [ic] Want to use new module/library in embedded Perl code
On Sat, Feb 10, 2001 at 03:34:53PM -0500, Timothy Cassidy wrote:
> Hi, I have downloaded and installed a new module for my perl compiler.
> This module is referred to as JVM, it allows a programmer to access Java
> code from within their perl code.
>
> The module installation has worked great and I have been able to write
> Perl code that executes Java code.
>
> Unfortunately when I try to use this JVM library/module in embedded perl,
> I get errors. Is there a particular perl file I should include the
> use Jvm;
> line in so that my embedded perl code can access this library?
If you don't say what errors exactly you are unlikely to get much
useful help.
All I can suggest is look at user tags and use or
require the module there.
>
> If so, please let me know what it is. I have tried reading all the
> manuals and the closest I came to finding an answer was page 25 of 58 in
> ictemplates.pdf where it mentioned I could override existing methods.
>
> Also, once I make this change in a particular Perl file, how do I
> recompile that Perl file so that Interchange (the application) recognizes
> the change?
You may or may not need to do anything. Worst case restart the catalog.
>
> Thanks for any assistance anyone can provide,
> Tim Cassidy
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: rene at hertell.com (Rene Hertell )
Date: Sat, 10 Feb 2001 23:17:07 +0200
Subject: [ic] Europeanization of IC
> > o payment-systems implementation which are available in europe (well,
> > germany) like paybox.
>
> OK, added to the list. Are there any other payment systems mainly
> used in Europe you would like to see support for ?
How about VISAs SET?
René
From: gina at sitediva.com (Gina K. Anderson )
Date: Sat, 10 Feb 2001 16:18:51 -0500
Subject: [ic] 4.6.3 Fixes This?
Hi gang,
I want to make sure that 4.6.3 fixes this:
My secure server is another domain, and it drops the cart contents on secure
checkout..am I right in understanding that 4.6.3 fixes this issue?
Thanks,
Gina
From: doug at lathi.net (Doug Alcorn )
Date: 10 Feb 2001 16:49:58 -0500
Subject: [ic] Why userdb.txt and product.txt are not updated?
Marcelo <tintones@hotmail.com> writes:
> I have entered some new users in my construct demo catalog thrue the
> browser, but in /product/userdb.txt those users do not appear.
>
> And when i delete some product from Admin interface - itens the
> /products/products.txt still with the products that i already deleted
> before.
I'm not exactly sure since all my catalogs are mysql based; however, I
think you have to "export" the database back to the text file. From
what I understand the text file is just a starting point and not
directly linked to the .db. Take a loot at:
http://developer.akopia.com/cgi-bin/ic/dev/icdatabase_4.html
--
(__) Doug Alcorn <doug@lathi.net> http://www.lathi.net chat:lathinet@yahoo|aol
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: doug at lathi.net (Doug Alcorn )
Date: 10 Feb 2001 16:50:33 -0500
Subject: [ic] products.txt
Chet Pressler <chet@pressler.com> writes:
> What is the relationship between the .txt and the .gdbm files?
http://developer.akopia.com/cgi-bin/ic/dev/icdatabase_4.html
--
(__) Doug Alcorn <doug@lathi.net> http://www.lathi.net chat:lathinet@yahoo|aol
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: doug at lathi.net (Doug Alcorn )
Date: 10 Feb 2001 16:54:35 -0500
Subject: [ic] Emailing customer of status
cfm@maine.com writes:
> On Fri, Feb 09, 2001 at 12:56:14PM -0800, Scott Goodman wrote:
> > I'm trying to figure out why the email isn;t going out, even
> > though IC reports "Email copy sent to someone@somewhere.com".
>
> I can't help with that. Tell us what the logs show and
> maybe someone else can.
>
If it's just a case of mail not going out, sendmail logs might be
interesting too (assuming you're running sendmail). That's where I
would start looking. Does the mail hit sendmail? If you can see
sendmail get it, then it is a sendmail configuration issue as to why
it doesn't get delivered. If sendmail doesn't get it, then it is an
IC issue as to why the mail wasn't generated. My guess is that this
is a sendmail issue. (I'm guessing based on which setup is easier to
screw up not on any actual information included.)
--
(__) Doug Alcorn <doug@lathi.net> http://www.lathi.net chat:lathinet@yahoo|aol
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: obrienj at cuttingedge.net (Jerry O'Brien )
Date: Sat, 10 Feb 2001 18:26:55 -0600
Subject: [ic] help with authorize.net setup
I entered the payment variables and included globalsub authorizenet, and
then placed the recommended html into the checkout.html page in place of the
form that asked for the credit card number. (I want to send everything but
the credit card info to E-Commerce Exchenge's (ECX) secure payment page so I
don't have to worry about ssl).
I can set up a plain html page outside of interchange and make the
connection to the ECX page, but from interchange, I just come right back to
the checkout.html page.
I included my checkout.html below in case anyone would check it for sanity.
Thanks,
Jerry O'Brien
------------------------
[comment]
ui_template: Yes
ui_template_name: fullwidth
[/comment]
[set page_banner]Check Out[/set]
[set bgcolor]#FFFFFF[/set]
[set members_only]0[/set]
[set page_title]__COMPANY__ -- Check Out[/set]
@_NOLEFT_TOP_@
<!-- BEGIN CONTENT -->
[if !session logged_in]
<p><font __FFACE__ size="2" color="#669999">If you have
an account
with us, please login using the fields below. It is not required, but
you can also <a href="[area new_account]">create an account</a>
with us.</font></p>
[if session failure]
<div align="center">
<P>
<font size="2" __FFACE__><b><font color="#FF0000">[calc]delete
$Session->{failure}[/calc]</font></b></font>
<P>
</div>
[/if]
<table width="300" border="1" cellspacing="0"
cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000">
<FORM ACTION="[process secure=1]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=Login>
<INPUT TYPE=hidden NAME=mv_todo VALUE=return>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="ord/checkout">
[set Log In]
mv_nextpage=@@MV_PAGE@@
[/set]
<tr>
<td>
<table width="300" border="0" cellspacing="0"
cellpadding="2">
<tr bgcolor="#0099FF">
<td width="81" align="right"
bgcolor="#0099FF"><font size="2" __FFACE__><b><font
color="#FFFFFF">Username</font></b></font></td>
<td width="204" bgcolor="#FF9900"
align="left">
<INPUT NAME=mv_username
VALUE="[read-cookie MV_USERNAME]">
</td>
</tr>
<tr bgcolor="#0099FF">
<td width="81" align="right"
bgcolor="#0099FF">
<font color="#FFFFFF" size="2"
__FFACE__><font color="#000000"><b><font
color="#FFFFFF">Password</font></b></font></font></td>
<td width="204" bgcolor="#FF9900"
align="left">
<INPUT TYPE=password NAME=mv_password
VALUE="">
<input type="hidden" NAME="mv_check"
value="LogIn">
</td>
</tr>
[comment]
<tr bgcolor="#669999">
<td width="81" align="right"
bgcolor="#669999">
<p><font __FFACE__ size="2"><b><font
color="#FFFFFF" size="1">Merchant
Number</font></b> </font></p>
</td>
<td width="204" align="left">
<input type="text"
name="merchantnumber2" size="10" maxlength="10">
<font size="1" __FFACE__>
<font
color="#FFFFFF">(Optional)</font></font>
</td>
</tr>
[/comment]
<tr bgcolor="#999999">
<td width="81"> </td>
<td width="204">
<input type="submit" value="Log In">
</td>
</tr>
<tr bgcolor="#999999">
<td width="81" align="right">
<INPUT TYPE=hidden
NAME=mv_cookie_password VALUE=0><INPUT TYPE=checkbox NAME=mv_cookie_password
VALUE=1>
</td>
<td width="204"><font __FFACE__ size="1"
color="#FFFFFF">Log
me in automatically<br>(sets
cookie)</font></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<p> </p>
[/if]
<SCRIPT> // JavaScript Form Validation Demo // by Paul Colton
function check_tax(form) {
// Make sure the email field is not blank
var foundState = false;
var ch = form.state.value;
ch = ch.toUpperCase();
[loop list="__TAXAREA__"]
if(ch == "[loop-code]") {
alert("You will be charged [currency][fly-tax
[loop-code]][/currency] sales tax\nsince you are shipping to [loop-code].
Click UPDATE to see the amount in your total.");
foundState = true;
}
[/loop]
return foundState;
}
</SCRIPT>
<FORM ACTION="[process secure=1]" METHOD="POST" name=checkout>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
[if type=explicit compare="[error all=1 show_var=1 keep=1]"]
<P>
<font __FFACE__ size="2"><b>There were errors in your last submission.</b>
<br>
They are shown in <FONT COLOR=__CONTRAST__>__CONTRAST__</FONT> below.</FONT>
<P>
[/if]
<INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="ord/checkout">
[comment]
<!-- Order routes in catalog.cfg -->
<!-- Checkout profile in etc/order.profiles -->
[/comment]
<INPUT TYPE=hidden NAME=mv_order_profile VALUE=checkout_profile>
<INPUT TYPE=hidden NAME=mv_order_route
VALUE="[either]__ORDER_ROUTES__[or]log main copy_user[/either]">
<INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database">
[set Save_database]
[userdb save]
[/set]
<p><font __FFACE__ size="2" color="#669999">Please
verify the information below and click the "Place Order" button to
process
your order.</font></p>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<br>
<table width="455" border="1" cellspacing="0" cellpadding="0"
bordercolor="#FF9900">
<tr>
<td>
<table width="455" border="0" cellspacing="0" cellpadding="0"
bordercolor="#FF9900">
<TR bgcolor="#669999">
<td width="9%"><font color="#FFFFFF" __FFACE__
size="0"><b>Remove</b></font></td>
<td width="13%" align=center>
<font color="#FFFFFF" size="2" __FFACE__><b><font
size="1">SKU</font></b></font>
</td>
<td align=center width="27%">
<font color="#FFFFFF" __FFACE__
size="1"><b>Description</b></font>
</td>
<td width="13%" align="center">
<font __FFACE__ size="1"
color="#FFFFFF"><b>Quantity</b></font>
</td>
<td width="19%" align="right">
<b><font size="1" __FFACE__
color="#FFFFFF">Price</font></b>
</td>
<td align="right" width="19%">
<font __FFACE__ size="1"
color="#FFFFFF"><b>Extension</b></font>
</td>
</TR>
<TBODY>
[if items]
[then]
[item-list]
<TR bgcolor="[item-alternate
2]#CCCCCC[else]#CCCC99[/else][/item-alternate]">
<TD align=center valign=top>
<FONT SIZE="-2"><INPUT TYPE=checkbox NAME="[quantity-name]"
onClick="this.form.action='[process-target]',
this.form.submit()"
VALUE=0></FONT></TD>
<TD WIDTH="2"><font __FFACE__ size="1">[item-code]</font></TD>
<TD><font __FFACE__ size="1">[page
[item-code]][item-description]</A></font>
[if scratch dealer]
[if-item-data pricing sku]
<BR>[page quantity [item-code]]
<font __FFACE__ size="1" COLOR=__CONTRAST__>QUANTITY PRICING</FONT>
</A>
[/if-item-data]
[/if]
[if-item-field weight]
[seti weight][summary amount=`[item-quantity] * [item-field
weight]`][/seti]
[/if-item-field]
<br>
[seti count][item-data inventory quantity][/seti]
[if scratch count eq 0]
<a href="[area stock-alert [item-code]]"><font __FFACE__ size="1"
color="#FF0000">Back Ordered</FONT>
[else]
<font __FFACE__ size="1">Sizes:</font> <FONT SIZE=1>[item-accessories
size][item-accessories color]</FONT>
[/else]
[/if]
</TD>
<TD ALIGN=CENTER valign=top><font __FFACE__ size="1"><INPUT TYPE=text
NAME="[quantity-name]" VALUE="[item-quantity]" SIZE=3></FONT></TD>
<TD ALIGN=RIGHT><font __FFACE__ size="1">[discount-price]</font>[if
discount [item-code]]<BR><font __FFACE__ size="1" COLOR=__CONTRAST__>Item is
discounted [item-discount]</FONT>[/if]</TD>
<TD ALIGN=RIGHT><font __FFACE__ size="1">[item-subtotal]</font></TD>
</TR>
<TR bgcolor="[item-alternate
2]#CCCCCC[else]#CCCC99[/else][/item-alternate]"><TD ALIGN=CENTER
COLSPAN=6><IMG SRC="clear.gif" WIDTH="1" ALT="" HEIGHT="2"
BORDER="0"></td></TR>
<TR bgcolor="[item-alternate
2]#CCCCCC[else]#CCCC99[/else][/item-alternate]">
<TD COLSPAN=2 align="right"><font __FFACE__ size="1" ><b>Address To Ship
To:</b></font></td>
<TD COLSPAN=4 align="left">
[if !value shipto_[item-increment]][value name=shipto_[item-increment]
set="primary" hide=1][/if]
[loop search="
ra=yes
st=db
sq=select * from ship_addresses where username = '[data session username]'
ml=1000
tf=entry
"]
[on-match][data session username]
<SELECT NAME=shipto_[item-increment]>
<OPTION VALUE="primary" [selected shipto_[item-increment] primary]>
Primary
[/on-match]
[list]
<OPTION VALUE="[loop-data ship_addresses code]" [selected
shipto_[item-increment] [loop-data ship_addresses code]]> [loop-data
ship_addresses addr_nick]
[/list]
[on-match]</SELECT>[/on-match]
[no-match]<OPTION TYPE=hidden NAME=shipto_[item-increment]
VALUE="primary">Primary[/no-match]
[/loop]
<a href="[area ship_addresses]"><font __FFACE__ size="1" >Add New
Address</font></a>
</td>
</TR>
<TR bgcolor="[item-alternate
2]#CCCCCC[else]#CCCC99[/else][/item-alternate]"><TD ALIGN=CENTER
COLSPAN=6><IMG SRC="clear.gif" WIDTH="1" ALT="" HEIGHT="4"
BORDER="0"></td></TR>
[/item-list]
[/then]
[else]
<TR><TD ALIGN=CENTER COLSPAN=6>
<H3><font __FFACE__>No items at the moment.</font></H3>
</TD></TR>
[/else]
[/if]
</table>
</td></tr>
</table>
<p>
<table width="455" border="0" cellspacing="0" cellpadding="0"
bordercolor="#FF9900">
[if scratch order_discounted eq 1]
<TR>
<TD ALIGN=RIGHT width="350"><font color="ff0000"
face="sans-serif">Discount: </font></TD>
<TD ALIGN=RIGHT><font face="sans-serif">-[currency][scratch
coupon_amount][/currency]</font></TD>
</TR>
[/if]
<TR>
<TD ALIGN=RIGHT width="350"><font face="sans-serif">Subtotal: </font></TD>
<TD ALIGN=RIGHT><font face="sans-serif">[subtotal]</font></TD>
</TR>
<TR>
<TD ALIGN=RIGHT width="350"><font face="sans-serif">Sales Tax: </font></TD>
<TD ALIGN=RIGHT><font face="sans-serif">[salestax]</font></TD>
</TR>
<TR>
<TD ALIGN=RIGHT width="350"><font face="sans-serif">Shipping: </font></TD>
<TD ALIGN=RIGHT><font face="sans-serif">[shipping]</font></TD>
</TR>
<TR>
<TD ALIGN=RIGHT width="350"><font face="sans-serif">TOTAL: </font></TD>
<TD ALIGN=RIGHT><font face="sans-serif">[total-cost]</font></TD>
</TR>
</table>
</td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td>
<table width="350" border="1" cellspacing="0"
cellpadding="0" bordercolorlight="#000000" bordercolordark="#000000">
<tr>
<td>
<table width="400" border="0" cellspacing="0"
cellpadding="0" align="center">
<tr>
<td bgcolor="#0099FF"><font
__FFACE__><b><font size="1" color="#FFFFFF">Shipping
Address</font></b></font></td>
<td bgcolor="#0099FF"><i><font __FFACE__
size="1" color="#FFFFFF">(primary)</font></i></td>
<td bgcolor="#0099FF"> </td>
<td bgcolor="#0099FF"> </td>
</tr>
<tr>
<td align=right>
<font __FFACE__ size="1">[error name=fname
std_label="First Name" required=1]</font>
</td>
<td align=left>
<b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=fname
VALUE="[value fname]" size="20" maxlength="20">
</font></b>
</td>
<td align="right"><font __FFACE__
size="1">[error name=lname std_label=Last required=1]</font></td>
<td align="left"> <INPUT TYPE=text
NAME=lname VALUE="[value lname]" size="20"></td>
</tr>
<tr>
[if scratch dealer]
<td align="right"><font __FFACE__
size="1">[error name=company std_label=Company required=1]</font>
[else]
<td align="right"><font __FFACE__
size="1">Company</font>
[/else]
[/if]
</td>
<td align="left"><b><font __FFACE__
size="1">
<INPUT TYPE=text NAME=company
VALUE="[value company]" size="20" maxlength="40">
</font></b>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="right"><font __FFACE__
size="1">[error name=address1 std_label=Address required=1]</font>
</td>
<td align="left" colspan=3><b><font
__FFACE__ size="1">
<INPUT TYPE=text NAME=address1
VALUE="[value address1]" size="64" maxlength="64">
</font></b>
</td>
</tr>
<tr>
<td> </td>
<td align="left" colspan=3><b><font
__FFACE__ size="1">
<INPUT TYPE=text NAME=address2
VALUE="[value address2]" size="64" maxlength="64">
</font></b>
</td>
</tr>
<tr>
<td align="right"><font __FFACE__
size="1">[error name=city std_label="City" required=1]</font>
</td>
<td><b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=city VALUE="[value
city]" size="20" maxlength="20">
</font></b></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><font __FFACE__ size="1">[error
name=state std_label="State/Province" required=1]</font></td>
<td align="left"><b><font __FFACE__
size="1">
[loop search="
fi=state.txt
sf=country
se=[default country US]
rf=state,name
ml=100
"
option=state]
[on-match]<SELECT
onChange="check_tax(this.form)" NAME=state>[/on-match]
[list]
<OPTION VALUE="[loop-code]">[loop-pos 1]
[/list]
[on-match]</SELECT>[/on-match]
[no-match]<INPUT NAME=state VALUE="[value
state]" SIZE=20>[/no-match]
[/loop]
</font></b></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="right"><font __FFACE__
size="1">[error name=zip std_label="Zip/Postal Code" required=1] </font>
</td>
<td><b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=zip VALUE="[value
name=zip filter=word]" size="10" maxlength="10">
</font></b></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="right"><font __FFACE__
size="1">[error name=email std_label="Email Address" required=1]</font>
</td>
<td><b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=email VALUE="[value
email]" size="30">
</font></b></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="right"><b><font __FFACE__
size="1">Country</font></b>
</td>
<td colspan="3">
[if value country =~ /(^$|US|CA)/]
<SELECT NAME=country onChange="this.form.submit()">
<OPTION VALUE="US"> United States
<OPTION [selected country CA] VALUE="CA"> Canada
<OPTION VALUE="JP"> Other
</SELECT>
[else]
<SELECT onChange="this.form.submit()" NAME=country>
[loop option=country search="
ra=yes
fi=country
st=db
rf=code,name
ml=1000
tf=name
"]
<OPTION VALUE="[loop-code]"> [loop-data country name]
[/loop]
</SELECT>
[/else]
[/if]
<font __FFACE__ size="1">(will update display)</font>
</td>
</tr>
<tr>
<td align="right"><font __FFACE__
size="1">[error name=phone_day std_label="Daytime Phone" required=1]</font>
</td>
<td><b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=phone_day
VALUE="[value phone_day]" size="12" maxlength="20">
</font></b></td>
<td align="right"><font __FFACE__
size="1">Evening
Phone</font>
</td>
<td align="left"><b><font __FFACE__
size="1">
<INPUT TYPE=text NAME=phone_night
VALUE="[value phone_night]" size="12" maxlength="20">
</font></b></td>
</tr>
[if session ship_message]
<tr>
<td> </td>
<td colspan="3"><font __FFACE__>
<font color="#FF0000"><B>Note:</B></font> [data session ship_message]
</font>
</td>
</tr>
[/if]
<tr>
<td align="right"><font __FFACE__
size="1"><b>Shipping
method</b></font><b><font __FFACE__
size="1">
</font></b>
</td>
<td colspan="3">
<SELECT NAME=mv_shipmode>
[loop option=mv_shipmode
list=|[data table=country key='[default country US]' col=shipmodes]|
]
<OPTION VALUE="[loop-code]"> [shipping-desc [loop-code]]
[/loop]
</SELECT>
</td>
</tr>
<tr>
<td> </td>
<td colspan="3"><font size="1"><i><font
__FFACE__>We
need the bold fields to process your
order</font></i></font>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#FF9900">
<td><font __FFACE__ size="1"><b><font color="#FFFFFF">Mailing
Status</font></b></font></td>
<td><font __FFACE__ size="1"><b><font
color="#FF9900">a</font></b></font></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="center" valign="middle"> </td>
<td align="left"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="center" valign="middle">
<SELECT NAME=email_copy>
<OPTION VALUE="1">Yes
<OPTION [selected name=email_copy value=0] VALUE="0">No
</SELECT>
</td>
<td align="left"><font __FFACE__
size="1">Send
an email copy of my receipt</font></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="center"
valign="middle"> </td>
<td align="left"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="center" valign="middle">
[perl tables="__UI_META_TABLE__ mv_metadata"]
return;
[/perl]
<SELECT NAME=mail_list>
[loop
acclist=1
option=mail_list
list=`
$table = '__UI_META_TABLE__' || 'mv_metadata';
return
tag_data( $table, 'mail_list', 'userdb::mail_list')
|| '=No, 1=Yes';
`]
<OPTION VALUE="[loop-code]">[loop-pos 1]
[/loop]
</SELECT>
</td>
<td align="left"><font __FFACE__
size="1">Mail list</font></td>
<td> </td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
<p> </p>
<table width="350" border="1" cellspacing="0"
cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000">
<tr>
<td>
<table width="400" border="0" cellspacing="0"
cellpadding="0" align="center">
<tr>
<td bgcolor="#0099FF"><font
__FFACE__><b><font size="1" color="#FFFFFF">Billing
Address </font></b></font></td>
<td width="130" bgcolor="#0099FF"><i><font
__FFACE__ size="1" color="#FFFFFF">If different than above</font></i></td>
<td bgcolor="#0099FF"> </td>
<td bgcolor="#0099FF"> </td>
</tr>
<tr>
<td align="right"><b><font __FFACE__
size="1">First
Name</font></b>
</td>
<td align="left"><b><font __FFACE__
size="1">
<INPUT TYPE=text NAME=b_fname
VALUE="[value b_fname]" size="20" maxlength="20">
</font></b>
</td>
<td> <b><font __FFACE__ size="1">Last
Name</font></b> </td>
<td align="left">
<INPUT TYPE=text NAME=b_lname
VALUE="[value b_lname]" size="20">
</td>
</tr>
<tr>
<td align="right"><b><font __FFACE__
size="1">Company</font></b>
</td>
<td align="left"><b><font __FFACE__
size="1">
<INPUT TYPE=text NAME=b_company
VALUE="[value b_company]" size="20" maxlength="20">
</font></b>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="right"><b><font __FFACE__
size="1">Address</font></b>
</td>
<td align="left" colspan=3><b><font
__FFACE__ size="1">
<INPUT TYPE=text NAME=b_address1
VALUE="[value b_address1]" size="64" maxlength="64">
</font></b>
</td>
</tr>
<tr>
<td> </td>
<td align="left" colspan=3><b><font
__FFACE__ size="1">
<INPUT TYPE=text NAME=b_address2
VALUE="[value b_address2]" size="64" maxlength="64">
</font></b>
</td>
</tr>
<tr>
<td align="right"><b><font __FFACE__
size="1">City</font></b>
</td>
<td><b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=b_city VALUE="[value
b_city]" size="20">
</font></b></td>
<td align="right"><b><font __FFACE__
size="1">State/Province</font></b></td>
<td align="left"><b><font __FFACE__
size="1">
<INPUT TYPE=text NAME=b_state
VALUE="[value b_state]" size="5" maxlength="5">
</font></b></td>
</tr>
<tr>
<td align="right"><b><font __FFACE__
size="1">Zip/Postal
Code </font></b>
</td>
<td><b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=b_zip VALUE="[value
b_zip]" size="10" maxlength="10">
</font></b></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="right"><b><font __FFACE__
size="1">Country</font></b>
</td>
<td>
<INPUT TYPE=text NAME=b_country VALUE="[value b_country]" size="10"
maxlength="10">
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#FF9900">
<td><font __FFACE__ size="1"><b><font
color="#FFFFFF">Payment
Method</font></b></font></td>
<td bgcolor="#FF9900"><font __FFACE__
size="1"><b><font color="#FF9900">a</font><font color="#FFFFFF">
</font></b></font></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<SELECT NAME="payment_method" onChange="this.form.submit()">
[if variable CREDIT_CARDS_ACCEPTED]
<option [selected payment_method credit] value="credit">Credit Card
[/if]
[if variable CHECK_ACCEPTED]
<option [selected payment_method check] value="check">Online Check
[/if]
[if variable PO_ACCEPTED]
<option [selected payment_method po] value="po">Company P.O.
[/if]
[if variable POSTAL_ACCEPTED]
<option [selected payment_method postal] value="postal">Postal Billing
[/if]
</SELECT>
</td>
<td colspan="2"> <font __FFACE__ size="1">(will
update display)</font></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</td></tr></table>
[if !value payment_method]
[or value payment_method eq credit]
[then]
<!-- WebLink connection to E-Commerce Exchange - JOB 2/5/01 -->
<br><br>
<form method=post
action="https://secure.quickcommerce.net/gateway/transact.dll">
<input type=HIDDEN name="x_Version" value="3.0">
<input type=HIDDEN name="x_Login" value="3003190">
<input type=HIDDEN name="x_Show_Form" value="PAYMENT_FORM">
<input type=HIDDEN name="x_Amount" value="[total_cost]">
<input type=HIDDEN name="x_Cust_ID" value="[value username]">
<input type=HIDDEN name="x_Description" value="Credit Card Order">
<input type=HIDDEN name="x_Invoice_Num" value="[value order_number]">
<input type=HIDDEN name="x_First_Name" value=fname>
<input type=HIDDEN name="x_Last_Name" value=lname>
<input type=HIDDEN name="x_Company" value="cesi">
<input type=HIDDEN name="x_Address" value="212 Main">
<input type=HIDDEN name="x_City" value="Black River Falls">
<input type=HIDDEN name="x_Zip" value="54615">
<input type=HIDDEN name="x_State" value="WI">
<input type=HIDDEN name="x_Email" value="jobrien@cuttingedge.net">
<input type=HIDDEN name="x_Country" value="USA">
<input type=HIDDEN name="x_Phone" value="715-284-0427">
<input type=HIDDEN name="x_Fax" value="715-284-2548">
<input type=SUBMIT value="Place Order">(You will be directed to a secure
payment form)
</form>
[/then]
[elsif value payment_method eq postal]
<input type=hidden name=fax_order value=1>
[/elsif]
[elsif value payment_method eq check]
<input type=hidden name=fax_order value=1>
<p> </p>
<table width="300" border="1" cellspacing="0"
cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000">
<tr>
<td>
<table width="300" border="0" cellspacing="0"
cellpadding="0" align="center">
<tr>
<td bgcolor="#0099FF" colspan="2"><font
__FFACE__><b><font size="1" color="#FFFFFF">
Check Information
</font></b></font></td>
<td bgcolor="#0099FF"> </td>
<td bgcolor="#0099FF"> </td>
</tr>
<tr>
<td align="right"><b><font __FFACE__
size="1">
Account Number
</font></b>
</td>
<td colspan="3 align="left"><b><font
__FFACE__ size="1">
<INPUT TYPE=text NAME=check_acct
SIZE=22>
</font></b>
</td>
</tr><tr>
<td align="right"><b><font __FFACE__
size="1">
Routing Number
</font></b></td>
<td align="left" colspan="3">
<b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=check_route
SIZE=22>
</font></b>
</td>
</tr><tr>
<td align="right"><b><font __FFACE__
size="1">
Check Number
</font></b></td>
<td align="left" colspan="3">
<b><font __FFACE__ size="1">
<INPUT TYPE=text NAME=check_num SIZE=22>
</font></b>
</td>
</tr>
</table>
</td></tr>
</table>
<!-- moved in to if -->
</td></tr>
<tr><td>
<p> </p>
<INPUT TYPE=SUBMIT VALUE="Refresh"> <B><INPUT TYPE=SUBMIT VALUE="Place
Order" name="mv_click"></B>
<p> </p>
</form>
[/elsif]
[elsif value payment_method eq po]
<input type=hidden name=fax_order value=2>
<p> </p>
<table width="300" border="1" cellspacing="0"
cellpadding="0" bordercolordark="#000000" bordercolorlight="#000000">
<tr>
<td>
<table width="300" border="0" cellspacing="0"
cellpadding="0" align="center">
<tr>
<td bgcolor="#0099FF" colspan="2"><font
__FFACE__><b><font size="1" color="#FFFFFF">
P.O. Information
</font></b></font></td>
<td bgcolor="#0099FF"> </td>
<td bgcolor="#0099FF"> </td>
</tr>
<tr>
<td align=right><b><font __FFACE__ size="1">
[error name=credit_limit_ok std_label="PO Number" required=1]
</font></b></td>
<td align=left colspan=3>
<b><font __FFACE__ size="1">
<INPUT NAME=project_id VALUE="[value project_id]" SIZE=14>
</font></b>
</td>
</tr>
[if type=data
term="userdb::credit_limit::[data session username]"
op=">"
compare=0.01]
<tr>
<td align=right valign=top><b><font __FFACE__ size="1">
Available credit
</font></b></td>
<td align=left colspan=3>
<b><font __FFACE__ size="1">
[currency]
[data table=userdb col=credit_limit key="[data session username]"]
[/currency]
[if type=data
term="userdb::credit_limit::[data session username]"
op=<
compare="[total-cost noformat=1]"
]
<BR>
Order total [total-cost] exceeds credit limit, please call.</FONT>
[/if]
<BR>
</font></b>
</td>
</tr>
[/if]
</table>
</td></tr>
</table>
<!-- moved in to if -->
</td></tr>
<tr><td>
<p> </p>
<INPUT TYPE=SUBMIT VALUE="Refresh"> <B><INPUT TYPE=SUBMIT VALUE="Place
Order" name="mv_click"></B>
<p> </p>
</form>
[/elsif]
[else]
[/else]
[/if]
[seti clear_errors][error all=1 hide=1 comment="Clear errors"][/seti]
</td></tr>
</table>
<p>
[include templates/components/specials]
[set Place Order]
mv_todo=submit
[/set]
<!-- END CONTENT -->
@_NOLEFT_BOTTOM_@
From: jbeima at reality.palb.com (John Beima )
Date: Sat, 10 Feb 2001 19:47:03 -0700 (MST)
Subject: [ic] 4.6.3 Fixes This?
This isn't a 4.6.X problem... Your SSL settings are not correct in your
catalog.cfg/variable.txt file...
John
Quoting "Gina K. Anderson" <gina@sitediva.com>:
> Hi gang,
>
> I want to make sure that 4.6.3 fixes this:
>
> My secure server is another domain, and it drops the cart contents on
> secure
> checkout..am I right in understanding that 4.6.3 fixes this issue?
>
> Thanks,
> Gina
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordabel Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Sat, 10 Feb 2001 19:40:44 -0800
Subject: [ic] Want to use new module/library in embedded Perl code
At 03:34 PM 2/10/2001 -0500, you wrote:
>Hi, I have downloaded and installed a new module for my perl compiler.
>This module is referred to as JVM, it allows a programmer to access Java
>code from within their perl code.
>
>The module installation has worked great and I have been able to write
>Perl code that executes Java code.
>
>Unfortunately when I try to use this JVM library/module in embedded perl,
>I get errors. Is there a particular perl file I should include the
>use Jvm;
>line in so that my embedded perl code can access this library?
If I'm correct, the embedded perl code is run through the Safe module,
which would understandably restrict your usage of a JVM
module. (Otherwise, an exploit allowing user-entered data to be executed
within Safe would be able execute arbitrary Java code -- even more
dangerous than arbitrary perl executed in Safe).
From what I understand, a global UserTag isn't run through the Safe
module. Read up on UserTags and put one in interchange.cfg that uses your
JVM. That might work.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: pete at tkins.com (Peter W. Atkins )
Date: Sat, 10 Feb 2001 22:58:25 -0800
Subject: [ic] Server error from binary file
I keep getting this error and I have re-installed three times hoping that I
would get it the next time around.
[Sat Feb 10 22:36:55 2001] [error] Unrecognized character \177 at
/u1/v/vitameds/cgi-bin/construct line 1.
[Sat Feb 10 22:40:40 2001] [error] Unrecognized character \177 at
/u1/v/vitameds/cgi-bin/construct line 1.
[Sat Feb 10 22:44:02 2001] [error] Unrecognized character \177 at
/u1/v/vitameds/cgi-bin/construct line 1.
Any ideas?
-pete
From: pete at tkins.com (Peter W. Atkins )
Date: Sat, 10 Feb 2001 23:03:27 -0800
Subject: [ic] re-occuring error
I installed interchange three times and keep getting this error:
[Sat Feb 10 22:44:02 2001] [error] Unrecognized character \177 at
/u1/v/vitameds/cgi-bin/construct line 1.
This is a binary file and I can not read what the problem is. Any help will
be appreciated.
-p
From: webmaster at infothai.com (Webmaster of Infothai )
Date: Sun, 11 Feb 2001 15:52:38 +0700
Subject: [ic] Cannot change admin passwords
Hello All,
I've recently encountered a strange problem: I cannot change
the passwords of admin users "test" and "shipping" that come
with the construct demo.
System: FreeBSD 4.2
Interchange 4.6.1
Perl 5.05.003
I can log in as the admin user I specified during the catalog
creation. That user is super-user. I can select "administration"
and "access" and can enter a new password on either account. The
sequence I use is:
1. set new password (2 places)
2. click OK
3. update the running catalog
4. log off
5. log in with the just-modified username/password
The log in is rejected.
Any ideas?
Mike
webmaster@infothai.com
http://www.infothai.com
From: kar at webline.dk (Kaare Rasmussen )
Date: Sun, 11 Feb 2001 11:44:02 +0100
Subject: [ic] Europeanization of IC
> o manual in other language.... hmm.... better dont think about that.
Maybe before that:
o "Standard" locale for demos like construct
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 14.00-18.00 Email: kar@webline.dk
2000 Frederiksberg Lørdag 11.00-17.00 Web: www.suse.dk
From: racke at linuxia.de (Stefan Hornburg )
Date: 11 Feb 2001 13:12:59 +0100
Subject: [ic] Europeanization of IC
Kaare Rasmussen <kar@webline.dk> writes:
> > o manual in other language.... hmm.... better dont think about that.
>
> Maybe before that:
> o "Standard" locale for demos like construct
How do you mean this ?
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: kar at webline.dk (Kaare Rasmussen )
Date: Sun, 11 Feb 2001 13:40:51 +0100
Subject: [ic] Europeanization of IC
> > o "Standard" locale for demos like construct
> How do you mean this ?
I believe most people will start their webshop from a demo. Right now I'm
facing the task of translating locale.txt into Danish. Maybe next week,
another Danish person want to try out Interchange. Why not provide a standard
locale for this situation.
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 14.00-18.00 Email: kar@webline.dk
2000 Frederiksberg Lørdag 11.00-17.00 Web: www.suse.dk
From: webmaster at infothai.com (Webmaster of Infothai )
Date: Sun, 11 Feb 2001 21:49:49 +0700
Subject: [ic] Cannot change admin passwords
A quick follow-up: if I save the access database, edit the
ASCII file, and remove the password field (make it null), then
the functionality is restored; that is, I can finally change
the password to what I want and it then works. So, something
in the old database seemingly became corrupted and prevented
further modifications to the passwords, I think.
Mike
On Sun, 11 Feb 2001 15:52:38 +0700, Webmaster of Infothai wrote:
>'ve recently encountered a strange problem: I cannot change
>the passwords of admin users "test" and "shipping" that come
>with the construct demo.
>
>System: FreeBSD 4.2
> Interchange 4.6.1
> Perl 5.05.003
>
>I can log in as the admin user I specified during the catalog
>creation. That user is super-user. I can select "administration"
>and "access" and can enter a new password on either account. The
>sequence I use is:
>
>1. set new password (2 places)
>2. click OK
>3. update the running catalog
>4. log off
>5. log in with the just-modified username/password
>
>The log in is rejected.
>
>Any ideas?
>
>Mike
>
>
>webmaster@infothai.com
>http://www.infothai.com
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
webmaster@infothai.com
http://www.infothai.com
From: jonc at webmaint.com (Jonathan Clark )
Date: Sun, 11 Feb 2001 16:30:53 -0000
Subject: [ic] Europeanization of IC
> My company is greatly interested to fill in the gaps for users
> in other countries, especially in Europe. As I'm visting Akopia with
> an other IC developer in my company in the near future, I would
> like to hear from you what do you miss from IC now in this respect.
I think it would be good to see support in the demos for payment by Switch
Card which is a debit card used in the UK and requires three additional
fields for authorisation:-
Issue Number
Valid from Month
Valid from Year.
Thanks,
Jonathan
Webmaint
From: maillist at b-p-a.com (=?iso-8859-1?q?Marius_Sch=E4fer?= )
Date: Sun, 11 Feb 2001 19:44:29 +0100
Subject: [ic] Europeanization of IC
On 10 Feb 2001 21:19:43 +0100, Stefan Hornburg wrote:
>"Marius Schäfer" <maillist@b-p-a.com> writes:
>
>> On 10 Feb 2001 12:18:31 +0100, Stefan Hornburg wrote:
>>
>> >
>> >Hello, IC users !
>> >
>> >Although IC has support for localization and other stuff that suits
>> >users allover the world, it is still a product with the main focus
>> >on the American market (at least this is what I think).
>> >
>> >My company is greatly interested to fill in the gaps for users
>> >in other countries, especially in Europe. As I'm visting Akopia with
>> >an other IC developer in my company in the near future, I would
>> >like to hear from you what do you miss from IC now in this respect.
>> >
>> >These points I will discuss there. Besides that CNS will work on
>> >this stuff even if Akopia isn't interested in it now.
>> >
>>
>> It is great to hear that you plan do improve the european "part" of IC. I think a great improvement would be
>>
>> o payment-systems implementation which are available in europe (well,
>> germany) like paybox.
>
>OK, added to the list. Are there any other payment systems mainly
>used in Europe you would like to see support for ?
I dont know which other systems are mainly used. We have a system from the citicorp (a daughter from citibank). If there are more people interested, I can give you a hand
on this system.
Additional to this, why not have an administration-interface where I can handle all the payment-stuff. Like refund, cancel, authorize etc....
I dont know if I am up2date, but the values for prices in the products.asc/txt still must be with a dot, right? For us european people it would be easier to use the well known
commas :)
Regards,
Marius
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Sun, 11 Feb 2001 20:59:40 +0200
Subject: [ic] Search and case-sensitive
Hello greetings from Greece.
A simple question..
When i search(in english) a product,i get the result no matter if i use
uppercase or not.
When i use greek, if i want to find a specific word, i have to write it
exactly as it is.
So..what i want is to define that "A" letter is the same with "a" in
greek.
Is there a way to do that?
Thank you.
Thomas
From: zagzi8dt7e at hotmail.com (zagzi8dt7e at hotmail.com )
Date: Sun, 11 Feb 2001 12:30:56
Subject: [ic] your own online casino..this is big
Fortunes are being made online everyday! Now is your chance to become involved with one of the most explosive Internet industries...Internet Gaming!
But wait there is much more...LIVE Webcast Lotto and Bingo, International Sports Betting, and Virtual Stock Trading.
We are PLAYING GAMES, HAVING FUN AND MAKING MONEY!
How are we making money? We do it with the most RED HOT compensation plan ever seen in the industry...our NO-FLUSH Binary with incredible matching bonuses.Anyone can do this! You could be earning everytime someone you introduce plays a game.
This is a Worldwide opportunity and it is EXPLOSIVE!
Check it out at: http://frdrt.pokeadot.com
To be removed send an email to: nomoremail332@yahoo.com
From: rene at hertell.com (Rene Hertell )
Date: Sun, 11 Feb 2001 22:59:07 +0200
Subject: [ic] How do I clean up tab:s from <textarea> field
Hi list,
Is there any easy way in removing TABs from <textarea> fields. I guess that
this is one reasons why one of my db:s are getting screwed up.
René
From: cameron at akopia.com (Cameron B. Prince )
Date: Sun, 11 Feb 2001 16:56:04 -0600
Subject: [ic] How do I clean up tab:s from <textarea> field
See the filter tag at:
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=tagref03%2e23
You may need to create a custom one to strip only tabs.
Good luck,
Cameron
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
> Hertell
> Sent: Sunday, February 11, 2001 2:59 PM
> To: Interchange-Users
> Subject: [ic] How do I clean up tab:s from <textarea> field
>
>
> Hi list,
>
> Is there any easy way in removing TABs from <textarea> fields. I
> guess that
> this is one reasons why one of my db:s are getting screwed up.
>
>
> René
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: goh at achieva.com.au (goh at achieva.com.au )
Date: Mon, 12 Feb 2001 10:16:41 +1100
Subject: [ic] Unable to download Interchange 4.6.3 tarball
Hi, All Interchange users
For the past 2 days, I could not download Interchange
version 4.6.3 tarball. The server did not respond.
However, it was possible to download only Interchange version
4.6.3 RPM. Are they anybody facing the same problem?
Regards,
Goh, LK
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Mon, 12 Feb 2001 08:48:10 +0800
Subject: [ic] no price label
my advice would be to build a cart from scratch. look at the building
tutorial, on developer.akopia.com. building a site without even prices in it
would be easy to do :)
----- Original Message -----
From: Dan Cetrone <dance55@ix.netcom.com>
To: <interchange-users@lists.akopia.com>
Sent: Saturday, February 10, 2001 3:23 AM
Subject: Re: [ic] no price label
> Thanks Victor - I originally tried to do this in MIVA and I lost all my
> work and time, because MIVA can NOT remove the price related wording and
> labels and info.
>
> So, I am looking at this program to solve my problem. And it seems like
you
> are saying that I can EASILY remove ALL the references to price or costs
by
> just stripping it all out.
>
> Hopefully, you are not saying that I have to use all the guys from the
NASA
> launch center to re-program this - in order to do what I want.
>
> Can you give me YOUR guesstimate of how difficult this would be for a
> newcomer - and I mean "newcomer" to this kind of work.
>
> Thank You
>
> Dan
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ----- Original Message -----
> From: Victor Nolton <ven@pragakhan.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Friday, February 09, 2001 7:44 AM
> Subject: Re: [ic] no price label
>
>
> > why not just edit out all PRICE related tags?
> >
> > as for the cart... strip out the columns in the cart refering to
> > price and extension..
> >
> > or am I misunderstanding what you are saying?
> >
> >
> > >I sent a previous msg about removing the PRICE label.
> > >
> > >Somehow the mail pgm thought I was sending HTML and is holding it up.
> > >
> > >I need this info right away so I am repeating my msg.
> > >
> > >I want to be able to not show any reference to cost or pricing or even
> the
> > >price label itself.
> > >
> > >I want to use the shopping cart to only generate inquiries.
> > >
> > >The clients will use it to request info on the products they see, and
we
> > >will then respond with a price quote.
> > >
> > >I don't want any reference to pricing or prices or cost or totals.
That
> > >would only create confusion.
> > >
> > >It must not have anything in it that would cause confusion or seem like
> they
> > >are buying instead of just requesting pricing information.
> > >
> > >Please try to answer me as to how I would do this and if it would be
> > >difficult for me since I am not a programmer.
> > >
> > >Dan Cetrone
> > >
> > >
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > --
> >
> > http://www.vensnews.com
> >
> > Victor "Ven" Nolton __________________________ http://www.VensNews.com
> > http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
> >
> > All HTML Encoded email will be ignored. Learn Standards.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: lee at rsub.net (Lee Hoffman )
Date: Sun, 11 Feb 2001 21:11:34 -0500
Subject: [ic] 4.6.2/3 Bug??
I've been running a store with 4.6.1 for the last month. Last week I
upgraded to 4.6.2 and all of a sudden the multi-page checkout (first page
takes billing & shipping info, and second page confirms totals/shipping
costs etc and takes the credit card info) completes orders after just the
first step (the second page is skipped and no credit card info is ever
taken). Is this a bug, or just a quirky change in syntax?
Below are the two relevant order profiles (the rest of the profiles.order
file remains unchanged from the construct catalog). checkout_profile_init is
the first order profile that checks shipping address and mode, and billing
address. checkout_profile, the second order profile, checks everything. The
first checkout page is checkout.html, the second is confirm.html
----------------------------------------------------------------------------
---------------------
__NAME__ checkout_profile_init
fname=required
lname=required
address1=required
city=required
country=required
[if value country =~ /^(US|CA)$/i]
state=state_province "[value state]" is not a valid US/Canada state
or province.
zip=postcode "[value zip]" is not a valid US/Canada postal code.
&or phone_day=phone, phone_night=phone Must have evening or day
phone_number
[else]
&or phone_day=phone, phone_night=phone Must have evening or day
phone_number
[/else]
[/if]
&fatal = yes
email=required
email=email
&set = mv_successpage ord/confirm.html
&final=no
&setcheck=mv_email [value email]
__END__
__NAME__ checkout_profile
fname=required
lname=required
address1=required
city=required
country=required
[if value country =~ /^(US|CA)$/i]
state=state_province "[value state]" is not a valid US/Canada state
or province.
zip=postcode "[value zip]" is not a valid US/Canada postal code.
&or phone_day=phone, phone_night=phone Must have evening or day
phone_number
[else]
&or phone_day=phone, phone_night=phone Must have evening or day
phone_number
[/else]
[/if]
&fatal = yes
email=required
email=email
&set = mv_payment Incomplete
[if value fax_order == 1]
&set = mv_payment Check or Money Order (will call)
[elsif value fax_order == 2]
project_id=required Please include your PO number
&set = mv_payment Purchase order [value project_id]
[value name=tmp_total set="[total-cost noformat=1]" hide=1]
[perl tables="pricing products userdb"]
$CGI->{credit_limit_ok} = 1;
my $total = delete $Values->{tmp_total};
return unless $limit = tag_data('userdb', 'credit_limit',
$Session->{username});
Log("credit_limit=$limit total=$total");
delete $CGI->{credit_limit_ok};
if($limit >= $total) {
$CGI->{credit_limit_ok} = 1;
}
return;
[/perl]
credit_limit_ok=mandatory Credit limit exceeded.
[/elsif]
[elsif value fax_order == 3]
&set = mv_payment COD
[value name=mv_handling set=cod hide=1]
[/elsif]
[elsif variable MV_PAYMENT_MODE]
&credit_card=standard keep __CREDIT_CARDS_ACCEPTED__
&charge=[var MV_PAYMENT_MODE][cgi mv_payment_test]
&set=mv_payment Real-time ([var MV_PAYMENT_MODE]) Credit Card
[/elsif]
[elsif config CyberCash]
&fail=../special_pages/failed
&charge=[var CYBER_MODE]
[/elsif]
[elsif config CreditCardAuto]
mv_credit_card_valid=required Credit card fails tests.
&set=mv_payment Credit Card (%c)
[/elsif]
[else]
&credit_card=standard __CREDIT_CARDS_ACCEPTED__
&set=mv_payment Credit Card (%c)
[/else]
[/if]
&calc = $Values->{mv_payment} =~ s/\%c/$Values->{mv_credit_card_type}/g; 1;
&final = yes
&setcheck=mv_email [value email]
__END__
----------------------------------------------------------------------------
----------
Lee
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Mon, 12 Feb 2001 10:12:14 +0800
Subject: [ic] Sending a receipt via e-mail to customer
I know this may have been brought up many times before.
What do I have to do to make Interchange send out an e-mail receipt to the
customer after he/she has successfully checked out?
Bryan
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Sun, 11 Feb 2001 21:56:47 -0800
Subject: [ic] Sending a receipt via e-mail to customer
Bryan,
The construct demo out of the box should send the email as long as the user
has 'Send email reciept' set to yes in their account or they are a new
account. The file it sends is in CAT_ROOT/etc/mail_reciept, change to suit
your needs. Take it easy.
-Ron
----- Original Message -----
From: "Bryan Chen" <bryan_chen@techmex.com.sg>
To: <interchange-users@lists.akopia.com>
Sent: Sunday, February 11, 2001 6:12 PM
Subject: [ic] Sending a receipt via e-mail to customer
> I know this may have been brought up many times before.
> What do I have to do to make Interchange send out an e-mail receipt to the
> customer after he/she has successfully checked out?
>
> Bryan
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: msquared at digitalwizards.com.au (msquared )
Date: Mon, 12 Feb 2001 14:52:02 +0800
Subject: [ic] Tips and Tricks: Locking down your system
On Thu, Feb 01, 2001 at 01:32:45AM -0500, Mike Heins wrote:
> * Set "NoAbsolute Yes" in interchange.cfg, it prevents [file /some/dir]
> or [include /some/rogue/file] from being used. NOTE: This is the
> default starting in IC 4.7.x.
Does this option also prevent ".." in relative pathnames? If you don't
stop someone from including "..", then you can't really keep them inside
a particular part of the directory tree (which is what I assume the
NoAbsolute is designed for).
2
Regards, /|/|
/ | (MSquared)
--
___________________________________________
M Squared <msquared@digitalwizards.com.au>
Product development
Digital Wizards
http://www.digitalwizards.com.au
From: jasonballou1 at yahoo.com (Jason Ballou )
Date: Sun, 11 Feb 2001 22:54:29 -0800 (PST)
Subject: [ic] Simple question for anyone who knows Perl. Little help please?
I'm having a little trouble with an if statement but
don't know enough to figure it out and have looked
through the tutorial but still can't get it. Should
be pretty easy for anyone who knows perl though.
I am working on the quantity.html page. We have a
huge number of varied discount levels and don't want
to show 30 discount levels when there are only changes
in 3 of them for that particular product. The natural
solution would be to only display a discount level if
there is a specific discount for that level. To that
end I am trying to make an if statement that will
check to see if there is a value entered in that
quantity's field in the pricing table. If there is a
value then that column will be displayed, if there is
not, then it will not.
Can someone help me out with this please? Thanks.
Jason
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: msquared at digitalwizards.com.au (msquared )
Date: Mon, 12 Feb 2001 15:02:09 +0800
Subject: [ic] Removing a User Note
On Thu, Feb 01, 2001 at 06:39:02AM -0800, Simo wrote:
> I added a user note to
> http://developer.akopia.com/cgi-bin/ic/dev/iccattut_48.html
> which i realised was wrong immediately after posting
> it. Is there the facility to remove such errors, or do
> i just have to wait until the list admin finds it?
If you remove Simo's, you might as well remove mine, too. :)
Disconcertingly, I note that your notes and mine are still there, even
though it's been there about two weeks, and you posted your request here
about a week and a half ago...
2
Regards, /|/|
/ | (MSquared)
--
___________________________________________
M Squared <msquared@digitalwizards.com.au>
Product development
Digital Wizards
http://www.digitalwizards.com.au
From: bbisaillon at pmail.net (Brian Bisaillon )
Date: Sun, 11 Feb 2001 11:27:25 -0500
Subject: [ic] Payment Gateways
I've been looking into various payment gateways that would be suitable for
running a Storefront Service Provider business such as the one that me and
my friend want to start. We've looked into all the requirements on getting
set up and we are basically looking for the best most-for-cheap solution for
a payment gateway. I've looked at CyberCash, Verisign and a bunch of other
ones. The one that caught my attention the most was Paypal.
The first URL below shows the two different accounts and their features:
http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/personal_vs_business-outside
The second URL below shows the fee schedule for "Premier and Business
Accounts":
http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/fees-outside
The one I'd be interested in of course would be the "Premier and Business
Accounts". I've sent them email to find out if they provide Global Server
IDs or if it's handled some other way. I'm a little fuzzy on Paypal's
service. I know that if we go with CyberCash or Verisign that we'd get a
Global Server ID. However, we are located in Canada and we need flexibility.
We basically want support for chequing, debit and credit cards. Verisign is
expensive for us canadians though. 1400$ isn't exactly cheap when you're
just starting and you're a somewhat poor college student :-) If we had the
customer base I'm sure we could afford it... If you could pay Verisign stuff
in monthly payments it would be ideal...
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Mon, 12 Feb 2001 15:58:45 +0800
Subject: [ic] order routes.
does anyone know exactly what you need to have in place in order for an
order route to work, when building a catalog from scratch? so far i've got:
Route main email email@address
Route main reply email@address
Route main report etc/report
Route main profile order_profile
Route main receipt etc/receipt.html
it's called from the page using a hidden mv_order_profile, value main.
i also still have the mv_order_profile in place...
any ideas anyone?
From: cpi at accxs.net (ACC&S )
Date: Mon, 12 Feb 2001 10:42:39 +0100
Subject: [ic] Locale again !
Thanks Rene for you response, but is not a problem with mv_locale variable.
Before your solution, this varaible was on fr_FR.
I find this in the mailing list :
(http://developer.akopia.com/archive/interchange-users/2000/msg09228.html)
The result for me is : ProductFiles: products,fr_products DefaultLocale:
current locale:
([scrath mv_locale] = fr_FR)
But my english is very poor and i don't understand the solution...
if you have a moment...
----- Original Message -----
From: Rene Hertell <rene@hertell.com>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 09, 2001 10:55 PM
Subject: RE: [ic] Locale again !
> Try this:
>
> [if scratch mv_locale eq ""]
> [setlocale locale=fr_FR persist=1]
> [/if]
>
> or just [setlocale locale=fr_FR persist=1]
>
> Rene
>
> } -----Original Message-----
> } From: interchange-users-admin@lists.akopia.com
> } [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of ACC&S
> } Sent: 09 February 2001 18:32
> } To: interchange-users@lists.akopia.com
> } Subject: [ic] Locale again !
> }
> }
> } I sent a previous message about this problem
> }
> } [L] [/L], [loc] [/loc] or [setlocale fr_FR] doesn't work.
> }
> } This is in my catalog.cfg
> }
> } ProductFiles products fr_products
> }
> } # Uncomment only if you have these locales on your system
> } Locale de_DE
> } #Locale de_DE LC_CTYPE de_DE
> } Locale fr_FR
> } Locale en_US
> }
> } #Locale en_US LC_CTYPE C
> } LocaleDatabase locale
> }
> }
> } my locale.txt :
> }
> } code en_US de_DE fr_FR
> } PriceDivide 0.5409 1 1
> } currency_symbol $ DM FF
> } decimal_point . . ,
> } default 0 0 1
> } frac_digits 2 2 2
> } mon_decimal_point . , ,
> } mon_thousand_sep
> } mon_thousands_sep , , .
> } p_cs_precedes 1
> } p_sep_by_space 1
> } price_picture DM ### ### ###,##
> } ProductFiles products de_products fr_products
> } products products de_products fr_products
> } C.Catalogue Catalog Katalog Catalogue
> }
> } If I try with [L]C.Catalogue[/L] in french version the result
> } is C.Catalogue
> } and no Catalogue.
> }
> } Could you explain me what is wrong or I need to do
> }
> }
> }
> }
> }
> } _______________________________________________
> } Interchange-users mailing list
> } Interchange-users@lists.akopia.com
> } http://lists.akopia.com/mailman/listinfo/interchange-users
> }
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Mon, 12 Feb 2001 10:31:34 +0000
Subject: [ic] please fix this !
Every time I upgrade interchange/minivend I have to hack about inside the code
making patches because of some silly inbuilt limitations.
Please,please,please can something be done about the limits on CommonAdjust
string/atoms.
To illustrate here is my common adjust string ( with the shop names replaced).
CommonAdjust shop1:price:, shop2:price:, shop3:price:, shop4:price:,
shop5:price:, shop6:price:, shop7:price:, shop8:price:, shop9:price:,
shop10:price:, shop11:price:, shop12:price:, shop13:price:,
==material:shop12_pricing::, ==size:shop12_pricing::,
==trewbottom:shop11_pricing::, ==pcwaist:shop11_pricing::,
==gkheight:shop11_pricing::, ==waistcut:shop11_pricing::,
==trewfly:shop11_pricing::, ==colour:shop11_pricing::,
==trewrsidepock:shop11_pricing::, ==pclength:shop11_pricing::,
==size:shop11_pricing::, ==pcsleeve:shop11_pricing::,
==jacketcuff:shop11_pricing::, ==trim:shop11_pricing::,
==trewwaisttype:shop11_pricing::, ==trewinsleg:shop11_pricing::,
==buckle:shop11_pricing::, ==pcheight:shop11_pricing::,
==tawaist:shop11_pricing::, ==pcchestact:shop11_pricing::,
==gkwaist:shop11_pricing::, ==trewlsidepock:shop11_pricing::,
==chainstrap:shop11_pricing::, ==lkwaist:shop11_pricing::,
==trewheight:shop11_pricing::, ==pcchestpeg:shop11_pricing::,
==trewseat:shop11_pricing::, ==trewoutleg:shop11_pricing::,
==talength:shop11_pricing::, ==tasleeve:shop11_pricing::,
==lkseat:shop11_pricing::, ==tartan:shop11_pricing::, ==gkseat:shop11_pricing::,
==design:shop11_pricing::, ==taheight:shop11_pricing::,
==material:shop11_pricing::, ==trewrhippock:shop11_pricing::,
==tachestact:shop11_pricing::, ==lkheight:shop11_pricing::,
==flashes:shop11_pricing::, ==belt:shop11_pricing::,
==tachestpeg:shop11_pricing::, ==length:shop11_pricing::,
==buttons:shop11_pricing::, ==trewloop:shop11_pricing::,
==collar:shop11_pricing::, ==collarsize:shop11_pricing::,
==trewlhippock:shop11_pricing::, ==trewwaist:shop11_pricing::,
==gklength:shop11_pricing::, ==shoesize:shop11_pricing::,
==style:shop10_pricing::, ==colour:shop10_pricing::,
==material:shop10_pricing::, ==colours:shop9_pricing::,
==sizes:shop9_pricing::, ==thething:shop6_pricing::,
==showname:shop6_pricing::, ==thename2:shop6_pricing::,
==supports:shop6_pricing::, ==thename:shop6_pricing::,
==format:shop5_pricing::, ==design:shop5_pricing::, ==material:shop3_pricing::,
==stone:shop3_pricing::, ==pattern:shop2_pricing::, ==sole:shop2_pricing::,
==stdordual:shop2_pricing::, ==format:shop2_pricing::,
==special:shop2_pricing::, ==colour:shop2_pricing::, ==player:shop2_pricing::,
==material:shop2_pricing::, ==size:shop2_pricing::, ==key:shop2_pricing::
Otherwise I'm going to have to write my own CommonAdjust server and just put in
calls to it from the commonadjust string like I had to do for shipping, because
I KEEP HAVING TO CHANGE Data.pm , gerr-arg!
"7. Release early. Release often. And listen to your customers"
================================
Also while I'm on the subject in Data::chain_cost
snip--------------------
if($raw =~ /^\[\B/ and $raw =~ /\]$/) {
--------------------/snip
is meant to catch interchange "[]" statements? if so why "[\B", '\B' is "not
word boundary"? Even if you keep the word boundary how about....
if($raw =~ /^\[\B.*\]$/o) {
as a more compact regex !
or even ...
if($raw =~ /^\[\B.+\]$/o) {
"13. ``Perfection (in design) is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.''"
God I would sooooo like to rewrite the chain_cost subroutine, please :-)
Yours
Murray
"2. Good programmers know what to write. Great ones know what to rewrite (and
reuse)."
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Mon, 12 Feb 2001 12:47:31 +0200
Subject: [ic] Discount to subtotal
How can i make a discount like this?
from 20.000 till 49.999 5%
from 50.000 till 99.999 10%
form 100.000 from 249.999 12%
form 250.000 and over 15%
I have found this code but i don't know how to change it with my values
:
[discount ENTIRE_ORDER]
$original = $s;
$f =($s);
if ($s <= 2499.99) {
$discounted = $s * .93;
} elsif ($s <= 4999.99) {
$discounted = $f * .88;
} elsif ($s <= 9999.99) {
$discounted = $f * .83;
} elsif ($s <= 19999.99) {
$discounted = $f * .81;
} elsif ($s >= 20000.00) {
$discounted = $f * .78;
}
$difference = $original - $discounted;
return $discounted;
[/discount]
From: rage at sohonetworks.cc (Jason Osborne )
Date: Mon, 12 Feb 2001 05:07:46 -0600
Subject: [ic] Discount to subtotal
I am no expert, but wouldn't it look a little like this?
notice, i took your percentage...say 12%...subtracted 12% from 100% (since
the item is always 100% of the price) and came up with 88% which is the item
price percentage after the discount.
[discount ENTIRE_ORDER]
$original = $s;
$f =($s); # i'm no expert, but do you need those
parentheses there?
if ($s <= 19.999) {
$discounted = $f * 1.00; # notice i changed $s to $f here
because you are touching a variable that needs to stay constant. also, this
is taken from 100% since there is no discount from 0.000 to 19.999.
} elsif ($s <= 49.999) {
$discounted = $f * .95;
} elsif ($s <= 99.999) {
$discounted = $f * .90;
} elsif ($s <= 249.999) {
$discounted = $f * .88;
} elsif ($s >= 250.000) {
$discounted = $f * .85;
}
$difference = $original - $discounted;
return $discounted;
[/discount]
--
Jason Osborne
Data and Telecom Network Solutions
Your total Internetworking solutions provider!
3847 Timberglen Rd., STE 4013
Dallas, TX 75287
Phone: 972-307-0676
Pager: 972-320-2426
Web: http://www.sohonetworks.cc
E-mail: sales@sohonetworks.cc
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Thomas N.
Stefanidis
Sent: Monday, February 12, 2001 4:48 AM
To: Interchange Mailing list
Subject: [ic] Discount to subtotal
How can i make a discount like this?
from 20.000 till 49.999 5%
from 50.000 till 99.999 10%
form 100.000 from 249.999 12%
form 250.000 and over 15%
I have found this code but i don't know how to change it with my values
:
[discount ENTIRE_ORDER]
$original = $s;
$f =($s);
if ($s <= 2499.99) {
$discounted = $s * .93;
} elsif ($s <= 4999.99) {
$discounted = $f * .88;
} elsif ($s <= 9999.99) {
$discounted = $f * .83;
} elsif ($s <= 19999.99) {
$discounted = $f * .81;
} elsif ($s >= 20000.00) {
$discounted = $f * .78;
}
$difference = $original - $discounted;
return $discounted;
[/discount]
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: racke at linuxia.de (Stefan Hornburg )
Date: 12 Feb 2001 13:10:51 +0100
Subject: [ic] Europeanization of IC
"Marius Schäfer" <maillist@b-p-a.com> writes:
[...]
>
> I dont know if I am up2date, but the values for prices in the products.asc/txt still must be with a dot, right? For us european people it would be easier to use the well known
> commas :)
For administration with the UI, I think it is the sufficient to use
the appropriate filters.
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: rene at hertell.com (Rene Hertell )
Date: Mon, 12 Feb 2001 14:35:19 +0200 (EET)
Subject: [ic] Locale again !
Hi,
place this on top of you page:
[if scratch mv_locale eq ""]
[setlocale locale=fr_FR persist=1]
[/if]
[scratch mv_locale]
This forces the site to be fr_FR.
This shuold display on top of your page: fr_FR
Then check your catalog.cfg file and uncomment all other locales that
you don't need (I'm not sure what the LC_CTYPE means, it works with fi_FI,
but delete it if it gives you trouble):
Locale fr_FR LC_CTYPE fr_FR
#Locale en_US LC_CTYPE C
LocaleDatabase locale
Then check your locale database and place an 1 to the default
column:
code fr_FR en_US de_DE
default 1 0 0
This should work. It works fine on my system with fi_FI.
René
On Mon, 12 Feb 2001, ACC&S wrote:
> Date: Mon, 12 Feb 2001 10:42:39 +0100
> From: ACC&S <cpi@accxs.net>
> Reply-To: interchange-users@lists.akopia.com
> To: interchange-users@lists.akopia.com
> Subject: Re: [ic] Locale again !
>
> Thanks Rene for you response, but is not a problem with mv_locale variable.
> Before your solution, this varaible was on fr_FR.
> I find this in the mailing list :
> (http://developer.akopia.com/archive/interchange-users/2000/msg09228.html)
> The result for me is : ProductFiles: products,fr_products DefaultLocale:
> current locale:
> ([scrath mv_locale] = fr_FR)
> But my english is very poor and i don't understand the solution...
> if you have a moment...
>
>
>
> ----- Original Message -----
> From: Rene Hertell <rene@hertell.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Friday, February 09, 2001 10:55 PM
> Subject: RE: [ic] Locale again !
>
>
> > Try this:
> >
> > [if scratch mv_locale eq ""]
> > [setlocale locale=fr_FR persist=1]
> > [/if]
> >
> > or just [setlocale locale=fr_FR persist=1]
> >
> > Rene
> >
> > } -----Original Message-----
> > } From: interchange-users-admin@lists.akopia.com
> > } [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of ACC&S
> > } Sent: 09 February 2001 18:32
> > } To: interchange-users@lists.akopia.com
> > } Subject: [ic] Locale again !
> > }
> > }
> > } I sent a previous message about this problem
> > }
> > } [L] [/L], [loc] [/loc] or [setlocale fr_FR] doesn't work.
> > }
> > } This is in my catalog.cfg
> > }
> > } ProductFiles products fr_products
> > }
> > } # Uncomment only if you have these locales on your system
> > } Locale de_DE
> > } #Locale de_DE LC_CTYPE de_DE
> > } Locale fr_FR
> > } Locale en_US
> > }
> > } #Locale en_US LC_CTYPE C
> > } LocaleDatabase locale
> > }
> > }
> > } my locale.txt :
> > }
> > } code en_US de_DE fr_FR
> > } PriceDivide 0.5409 1 1
> > } currency_symbol $ DM FF
> > } decimal_point . . ,
> > } default 0 0 1
> > } frac_digits 2 2 2
> > } mon_decimal_point . , ,
> > } mon_thousand_sep
> > } mon_thousands_sep , , .
> > } p_cs_precedes 1
> > } p_sep_by_space 1
> > } price_picture DM ### ### ###,##
> > } ProductFiles products de_products fr_products
> > } products products de_products fr_products
> > } C.Catalogue Catalog Katalog Catalogue
> > }
> > } If I try with [L]C.Catalogue[/L] in french version the result
> > } is C.Catalogue
> > } and no Catalogue.
> > }
> > } Could you explain me what is wrong or I need to do
> > }
> > }
> > }
> > }
> > }
> > } _______________________________________________
> > } Interchange-users mailing list
> > } Interchange-users@lists.akopia.com
> > } http://lists.akopia.com/mailman/listinfo/interchange-users
> > }
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Mon, 12 Feb 2001 12:46:16
Subject: [ic] Why user logged in is lost when the admin enter in Admin interface?
Hi everybody,
I'm having a problem and this problem shown up when i was making a test like
this:
I had 2 browsers open, one in my store and other in interchange admin
interface.
On the my store browser i bought something, put my credit card info and
finished the purchase. After that i entered in the admin interface on the
second browser to see if the order has been set. Until now everything was
okay but when I came back to my store browser and click on the customer
service, the user name disappear from the banner: "welcome to "my store",
user name!
I have checked the Akopia on-line store and the same problem happens!!
What could it be?
Thanks for any help!
Marcelo F. De Paula
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: rene at hertell.com (Rene Hertell )
Date: Mon, 12 Feb 2001 14:55:52 +0200 (EET)
Subject: [ic] Why user logged in is lost when the admin enter in Admin
You should use Netscape & IE if you want to log in as two different users.
Then it works like you want.
René
On Mon, 12 Feb 2001, Marcelo F. De Paula wrote:
> Date: Mon, 12 Feb 2001 12:46:16
> From: Marcelo F. De Paula <tintones@hotmail.com>
> Reply-To: interchange-users@lists.akopia.com
> To: interchange-users@lists.akopia.com
> Subject: [ic] Why user logged in is lost when the admin enter in Admin
interface?
>
> Hi everybody,
>
> I'm having a problem and this problem shown up when i was making a test like
> this:
>
> I had 2 browsers open, one in my store and other in interchange admin
> interface.
>
> On the my store browser i bought something, put my credit card info and
> finished the purchase. After that i entered in the admin interface on the
> second browser to see if the order has been set. Until now everything was
> okay but when I came back to my store browser and click on the customer
> service, the user name disappear from the banner: "welcome to "my store",
> user name!
>
> I have checked the Akopia on-line store and the same problem happens!!
>
> What could it be?
>
> Thanks for any help!
>
> Marcelo F. De Paula
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 12 Feb 2001 08:38:44 -0500
Subject: [ic] Search and case-sensitive
Quoting Thomas N. Stefanidis (thomas@prometheas.gr):
> Hello greetings from Greece.
> A simple question..
> When i search(in english) a product,i get the result no matter if i use
> uppercase or not.
> When i use greek, if i want to find a specific word, i have to write it
> exactly as it is.
> So..what i want is to define that "A" letter is the same with "a" in
> greek.
> Is there a way to do that?
You have to have three things:
1. The proper locale on your system, i.e. your operating
system.
2. Entry in catalog.cfg that calls that locale.
3. [setlocale ....] to that locale.
At that point, Interchange should find case-insensitive for that
locale.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 12 Feb 2001 08:40:16 -0500
Subject: [ic] Tips and Tricks: Locking down your system
Quoting msquared (msquared@digitalwizards.com.au):
> On Thu, Feb 01, 2001 at 01:32:45AM -0500, Mike Heins wrote:
>
> > * Set "NoAbsolute Yes" in interchange.cfg, it prevents [file /some/dir]
> > or [include /some/rogue/file] from being used. NOTE: This is the
> > default starting in IC 4.7.x.
>
> Does this option also prevent ".." in relative pathnames?
Of course.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: cfm at maine.com (cfm at maine.com )
Date: Mon, 12 Feb 2001 09:22:24 -0500
Subject: [ic] please fix this !
On Mon, Feb 12, 2001 at 10:31:34AM +0000, Murray Gibbins wrote:
>
> Every time I upgrade interchange/minivend I have to hack about inside the code
> making patches because of some silly inbuilt limitations.
We do it this way:
CommonAdjust products:price, &{MV::scrubs::pricing;}, specials:price
That is for a single catalog, but the concept scales. It does, however,
require one patch in Data.pm to bypass the Safe.
# cfm this allows unsafe routines in commonadjust
# $price = Vend::Interpolate::tag_calc($mod); # dist
$price = MV::MS::unsafe_tag_calc($mod);
# /cfm
I'd guess you could use a [usertag] to bypass Safe; I can't remember if they
work in CommonAdjust. At least that way you could dump all your
customizations into an outboard perl module. Then you would have
option of including that at run time or use'ing it - depending
on how often it changes and your development/prototyping environment.
Make it your own pm and it will not get tromped on when you upgrade.
Mike will correct me if I am wrong - what I think that amounts to is
replacing your many precompiled CommonAdjust routines with a precompiled
routine that calls subroutines. In general we've not found internal pricing
routines to be a bottleneck; we **have** found outboard pricing routines
(the daemon) to be problematic because minivend looks up items so often.
We used to patch Vend/Minivend but struggle now to avoid it. Over the last
year we've reduced patch count to less than half a dozen spots. Rather than
patch, we build our own module. No doubt to the unbiased eye they are just
ugly children, but to us they are beautiful and orderly. :-) And as
any children will do, they go way over the bounds and talk directly to
minivend internal routines.
>
> Please,please,please can something be done about the limits on CommonAdjust
> string/atoms.
>
> To illustrate here is my common adjust string ( with the shop names replaced).
>
> CommonAdjust shop1:price:, shop2:price:, shop3:price:, shop4:price:,
> shop5:price:, shop6:price:, shop7:price:, shop8:price:, shop9:price:,
> shop10:price:, shop11:price:, shop12:price:, shop13:price:,
> ==material:shop12_pricing::, ==size:shop12_pricing::,
> ==trewbottom:shop11_pricing::, ==pcwaist:shop11_pricing::,
--
> "13. ``Perfection (in design) is achieved not when there is nothing more to add,
> but rather when there is nothing more to take away.''"
>
> God I would sooooo like to rewrite the chain_cost subroutine, please :-)
Why not? You have a specific need and can probably do it more cleanly for
your setup than the stock version. You just have to find the best place
to hook.
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: g.gaskill at aboron.com (Greg Gaskill )
Date: Mon, 12 Feb 2001 09:56:36 -0500
Subject: [ic] Why user logged in is lost when the admin enter in Admin interface?
----- Original Message -----
From: "Rene Hertell" <rene@hertell.com>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 12, 2001 7:55 AM
Subject: Re: [ic] Why user logged in is lost when the admin enter in Admin
interface?
> You should use Netscape & IE if you want to log in as two different users.
> Then it works like you want.
>
Or use a second computer to browse as the customer. This will also test
your
web server and firewall setup, etc.
Greg
From: mark.johnson at akopia.com (Mark Johnson )
Date: Mon, 12 Feb 2001 10:03:31 -0500
Subject: [ic] selected tag
Kaare Rasmussen wrote:
>
> What am I doing wrong?
>
> I try to have one <option> selected if it matches a preset scratch variable.
> But it doesn't work.
>
> [query list=1 sql="SELECT deliverycode,name FROM co_deliveryterms ORDER BY
> deliverycode"]
> [list]
> <OPTION VALUE="[sql-param deliverycode]"
> [selected interpolate=1 [sql-param deliverycode] [scratch deliverycode] ]>
> [sql-param name]
> </OPTION>
> [/list]
> [/query]
>
You cannot mix named and ordered parameters. And, you must quote to
force interpolation. Moreover, the interpolate directive applies to the
body of a containing tag, which doesn't apply here.
[selected name=[sql-param deliverycode] value="[scratch deliverycode]"]
[*-param...] tags do not need forced interpolation as they are parsed
prior to other tags within the block. However, it doesn't hurt and can
obviate problems with unexpected spaces.
--
Mark Johnson
Akopia Professional Services
mark.johnson@akopia.com
703-456-2912
From: vasile_abo at wexim.com (vasile_abo at wexim.com )
Date: Mon, 12 Feb 2001 13:45:17 +0100
Subject: [ic] Problem with vlink.c
Hello All
I'm trying to use Interchange without success.
Installation gone very well, but at execution
I got only 500 Error in browser and in httpd errorlog
"Premature end of script headers:
/home/wexim/wexim-www/cgi-bin/shop"
The webserver is run by 'nobody' and
interchange is restarted in UNIX mode every 2 hours from
a cron by user 'wexim':
23 0-23/2 * * * /home/wexim/interchange/bin/interchange
-r -u SocketPerms=0666 DebugFile=/home/wexim/interchange/tst.log
BTW, it fails also in INET mode.
Perl version: "This is perl, v5.6.0 built for i686-linux"
$uname -a
Linux xxx 2.2.13 #1 SMP Thu Nov 9 10:30:50 EST 2000 i686 unknown
The name of compiled program is 'shop'.
If I launch 'shop' from the command prompt, I get
nothing, ie :
----
$shop
$
----
If I make:
$echo "GET /cgi-bin/shop/index.html HTTP/1.1" | shop
I get in the logs:
Runtime error: REQUEST_METHOD is not defined at
/home/wexim/interchange/lib/Vend/Server.pm line 106.
When testing, I remade 'vlink.c' :
$cc -o shop vlink.c
$chmod 6777 /home/wexim/www/cgi-bin/shop
How to enable a more wide debugging (except
DebugFile=xxx)? How to execute some tests
from command-line prompt?
I didn't find answer to these questions in
the FAQ, neither in mailing lists' archive.
If you have any idea on how to debug, or
where the problem could be, please advice.
(Please write also to my email address
vasile_abo@wexim.com 'cause I'm getting
interchange list only in digest form)
Have a nice day,
bye
Vasile Calmatui
From: zack at augustine.com (Zack Johnson )
Date: Mon, 12 Feb 2001 11:09:27 -0500
Subject: [ic] 4.6.3 + ScriptAlias = 500 error
All,
One of our catalogs which we built on 4.6.1 used a neat little [but useful]
trick to add flexibility to our URL naming scheme. By using the Apache
ScriptAlias directive, we setup our cat to be accessible via
http://ourhost/dynamic/pages (versus http://ourhost/cgi-bin/pages).
We were proud of ourselves.
Then along came 4.6.3. With childlike zeal, I downloaded the update and
gleefully ran 'rpm' to install the package. Lo and behold, when I went to
work on the catalog, the much-feared '500 Server Error' reared its beastly
head. A quick perusal of error.log revealed the culprit: storable.pm no
longer liked /dynamic/pages! In other words: "/dynamic/pages/index.html
Runtime error: File is not a perl storable at blib/lib/Storable.pm
(autosplit into blib/lib/auto/Storable/_retrieve.al) line 293, at
//usr/lib/interchange/lib/Vend/SessionFile.pm line 87!" I felt confused,
violated, rejected.
My pride now hurt, I did what I had to do: I reverted by beloved
ScriptAlias hack back from /dynamic/ to /cgi-bin/. After a quick edit to
variables.txt to reflect this grim reality, I restarted 4.6.3 and alas, my
catalogue resurrected to its prior functionality.
But with modest lament in our hearts. . .
Have we not a remedy?
Any insight into this would make this poor sot's life a ray brighter. . .
many thanks!
Zack
From: will at dotmarketing.com (Will Ezell )
Date: Mon, 12 Feb 2001 12:46:21 -0500
Subject: [ic] Looking for Simple
Hey all:
Was wondering where I could find a bare-bones template for interchange-
one with all the functionality/db and none of the specifics. From
reading the documentation, it sounds like I need the "simple" or the
"barry?" template, but I think they have been removed from the current
distro (replaced with the slick "construct" demo). Any suggestions as
too where I could find these and possibly other templates?
Take care,
Will Ezell
dotmarketing.com
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 12 Feb 2001 13:01:02 -0500
Subject: [ic] 4.6.3 + ScriptAlias = 500 error
Quoting Zack Johnson (zack@augustine.com):
> All,
>
> One of our catalogs which we built on 4.6.1 used a neat little [but useful]
> trick to add flexibility to our URL naming scheme. By using the Apache
> ScriptAlias directive, we setup our cat to be accessible via
> http://ourhost/dynamic/pages (versus http://ourhost/cgi-bin/pages).
>
> We were proud of ourselves.
>
> Then along came 4.6.3. With childlike zeal, I downloaded the update and
> gleefully ran 'rpm' to install the package. Lo and behold, when I went to
> work on the catalog, the much-feared '500 Server Error' reared its beastly
> head. A quick perusal of error.log revealed the culprit: storable.pm no
> longer liked /dynamic/pages! In other words: "/dynamic/pages/index.html
> Runtime error: File is not a perl storable at blib/lib/Storable.pm
> (autosplit into blib/lib/auto/Storable/_retrieve.al) line 293, at
> //usr/lib/interchange/lib/Vend/SessionFile.pm line 87!" I felt confused,
> violated, rejected.
>
> My pride now hurt, I did what I had to do: I reverted by beloved
> ScriptAlias hack back from /dynamic/ to /cgi-bin/. After a quick edit to
> variables.txt to reflect this grim reality, I restarted 4.6.3 and alas, my
> catalogue resurrected to its prior functionality.
>
> But with modest lament in our hearts. . .
>
> Have we not a remedy?
>
> Any insight into this would make this poor sot's life a ray brighter. . .
> many thanks!
While I can believe you had a problem, it should not have been related
to Storable. There is no way a ScriptAlias would affect that.
The only thing I can think of is that you had installed a Storable module
somewhere in the /usr/lib/interchange tree and the RPM overwrote it. Or
the RPM placed a _session_storable file in /usr/lib/interchange and
your original installation didn't have it.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
If you think nobody cares if you're alive, try missing a couple of
car payments. -- Earl Wilson
From: schrader.news at evendi.de (Christian Schrader )
Date: Mon, 12 Feb 2001 20:01:09 +0100
Subject: [ic] "Others who bought this" with old products
How can I make sure, that the "Others who bought this"-links don't include
products that have been sold in the past, but aren't anymore?
Thanks,
Chris
From: cfm at maine.com (cfm at maine.com )
Date: Mon, 12 Feb 2001 16:17:19 -0500
Subject: [ic] rewriting script alias on fly
I wish to create a framed version of a catalog wherein
URLs normally of form:
http://domain.com/vlink.cgi/page?stuff
map to
http://domain.com/vlink.cgi/Framed/page?stuff
I can see right off that the SpecialPages break, for example
the flypage
http://domain.com/vlink.cgi/PA1001?merchant=primroseacres
does not map to
http://domain.com/vlink.cgi/Framed/PA1001?merchant=primroseacres
but needs to be
http://domain.com/vlink.cgi/Framed/flypage?mv_arg=PA1001&merchant=primroseacres
I'll probably just modify the [page tag] to look for PATH_INFO "Framed"
and use that ScriptAlias if it finds it. Or maybe set a session variable.
Has anyone gone down this road before and if so, can you share with
me how much else is going to get mangled?
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: michelle at wilant.com (Michelle Wilant (home) )
Date: Mon, 12 Feb 2001 17:31:07 -0500
Subject: [ic] Integrating Vertex's eQuantaum tax software
We need to integrate Interchange with Vertex's eQuantum tax software. Has
anyone done this before? Didn't find anything in the archive. We need to
find a solution asap. Thanks for the help.
From: kar at webline.dk (Kaare Rasmussen )
Date: Mon, 12 Feb 2001 23:32:15 +0100
Subject: [ic] selected tag
Thanks for your interest.
> [selected name=[sql-param deliverycode] value="[scratch deliverycode]"]
But the only version that I can make work is this: Any other syntax seems to
me to produce the wrong result.
[selected deliveryterms [sql-param deliverycode]]
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 14.00-18.00 Email: kar@webline.dk
2000 Frederiksberg Lørdag 11.00-17.00 Web: www.suse.dk
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Mon, 12 Feb 2001 14:32:48 -0800
Subject: [ic] Integrating Vertex's eQuantaum tax software
I have not heard of this being discussed on the list and it is not in the
current distribution so the answer is probably no. Check on the software
and see if it can import QuickBooks (IIF) files, if it can you may be in
luck as there is an export feature in IC to produce IIF files. If that will
not work you can modify the QuickBooks usertags to output in a format that
eQuantum can read.
-Ron
-----Original Message-----
From: Michelle Wilant (home) <michelle@wilant.com>
To: interchange-users@lists.akopia.com <interchange-users@lists.akopia.com>
Date: Monday, February 12, 2001 2:31 PM
Subject: [ic] Integrating Vertex's eQuantaum tax software
>We need to integrate Interchange with Vertex's eQuantum tax software. Has
>anyone done this before? Didn't find anything in the archive. We need to
>find a solution asap. Thanks for the help.
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: billr at exgate.tek.com (Bill Randle )
Date: Mon, 12 Feb 2001 14:54:32 -0800
Subject: [ic] pidfile command line argument ignored
This is a multi-part message in MIME format.
--------------8F29204326ECB859598CEA5E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I originally spotted this in minivend 4.04a and noticed it still exists
in Interchange 4.6.3.
A default value is set for $Global::PIDfile in interchange.pl and can
be overridden from the command line with the pidfile= argument.
Unfortunately, global_config() then resets it to
$Global::VendRoot/etc/$Global::ExeName.pid.
In addition, the default value for SocketFile (which is not overridable
on the command line) is set to $Global::VendRoot/etc/socket. I think
a better default would be $Global::ConfDir/socket.
A patch for both is below and was also submitted to bug database.
-Bill
--------------8F29204326ECB859598CEA5E
Content-Type: text/plain; charset=us-ascii;
name="Config.pm.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Config.pm.diff"
--- Config.pm.orig Sat Dec 30 07:17:11 2000
+++ Config.pm Sun Feb 11 18:09:56 2001
@@ -264,8 +264,8 @@
['TcpHost', undef, 'localhost 127.0.0.1'],
['SendMailProgram', 'executable', $Global::SendMailLocation
|| '/usr/lib/sendmail'],
- ['PIDfile', undef, "$Global::VendRoot/etc/$Global::ExeName.pid"],
- ['SocketFile', undef, "$Global::VendRoot/etc/socket"],
+ ['PIDfile', undef, $Global::PIDfile],
+ ['SocketFile', undef, "$Global::ConfDir/socket"],
['SocketPerms', 'integer', 0600],
['HouseKeeping', 'integer', 60],
['Mall', 'yesno', 'No'],
--------------8F29204326ECB859598CEA5E--
From: goh at achieva.com.au (goh at achieva.com.au )
Date: Tue, 13 Feb 2001 10:02:12 +1100
Subject: [ic] Re unable to download Interchange-4.6.3 - No problem
Hi,
I managed to download the tarball now.
Thanks
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Mon, 12 Feb 2001 23:20:05
Subject: [ic] Prices do not show the price decimal
Hi,
First of all i would like to thanks Rene Hertell and Greg Gaskill to the
prompt reply of my doubt.
But now i have another problem. Today I saw that the price decimal is not
showing up. The problem is: in interchange admin interface the item price of
some a products is $ 14.99 but when i entered the store its showing $ 14.00.
Why is this happening? Why interchange is putting two 00 istead of two 99 as
it is in the interchange admin interface?
And this is not happening in only one catogue its happening in all catalogs.
Thanks for any help,
Marcelo F. De Paula
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Mon, 12 Feb 2001 16:57:49 -0800
Subject: [ic] Europeanization of IC
At 07:44 PM 2/11/2001 +0100, you wrote:
>On 10 Feb 2001 21:19:43 +0100, Stefan Hornburg wrote:
> >"Marius Schäfer" <maillist@b-p-a.com> writes:
> >>> On 10 Feb 2001 12:18:31 +0100, Stefan Hornburg wrote:
> >> >Although IC has support for localization and other stuff that suits
> >> >users allover the world, it is still a product with the main focus
> >> >on the American market (at least this is what I think).
> >> >
> >> >My company is greatly interested to fill in the gaps for users
> >> >in other countries, especially in Europe. As I'm visting Akopia with
> >> >an other IC developer in my company in the near future, I would
> >> >like to hear from you what do you miss from IC now in this respect.
> >> >
> >> >These points I will discuss there. Besides that CNS will work on
> >> >this stuff even if Akopia isn't interested in it now.
> >> >
> >>
> >> It is great to hear that you plan do improve the european "part" of
> IC. I think a great improvement would be
> >>
> >> o payment-systems implementation which are available in europe (well,
> >> germany) like paybox.
> >
> >OK, added to the list. Are there any other payment systems mainly
> >used in Europe you would like to see support for ?
>
>I dont know which other systems are mainly used. We have a system from the
>citicorp (a daughter from citibank). If there are more people interested,
>I can give you a hand
>on this system.
>
>Additional to this, why not have an administration-interface where I can
>handle all the payment-stuff. Like refund, cancel, authorize etc....
>
>I dont know if I am up2date, but the values for prices in the
>products.asc/txt still must be with a dot, right? For us european people
>it would be easier to use the well known
>commas :)
Wouldn't it be better to use neither? If a price is
$123.45
Then display it in the database as:
12345
So the app will always assume that the last two digits are to the right of
the decimal.
1 = $0.01
501 = $5.01
That way we would abstract away which symbol denotes the seperater.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: 6tc1 at qlink.queensu.ca (Timothy Cassidy )
Date: Mon, 12 Feb 2001 20:02:28 -0500 (EST)
Subject: [ic] Want to use new module/library in embedded Perl code
I'm trying to use this JVM module/library that I have working for perl,
but I can't seem to "use JVM" within any embedded perl code I write.
Further I can't access this JVM module/library from within any subroutines
within my interchange.cfg file.
I tried digging up everything I could on user tags or interchange tags.
But the majority of information I found on perl code in the
interchange.cfg file was concerned with defining perl subroutines.
The best I was able to do was create a GlobalSub in the interchange.cfg
file:
GlobalSub <<EOF
sub count_orders {
return "this is returned from count_orders subroutine.\n";
}
EOF
However, I wasn't able to call this subroutine from within any of my
embedded perl code:
[perl sub]
return count_orders();
[/perl]
So then I tried creating a regular subroutine in the interchange.cfg file:
Sub <<EOF
sub sort_cart_by_quantity {
my $out = 'This is a test!!!';
return $out;
}
EOF
But again I couldn't call it from my embedded perl code in my html pages:
[perl]
return sort_cart_by_quantity();
[/perl]
Anyway, now I am a bit stumped. The majority of reading I did on usertags
was in the icconfig.pdf and ictemplates.pdf. You'll notice that neither
of my subroutines use the JVM module/library I was talking about. This is
because I wanted to get a regular subroutine working before I tried use
JVM. I'm not sure if this is what you intended when you said to put a
user tag in my interchange.cfg file. If it isn't I apologize, but
information seems fairly scarce on the topic of usertags in the
interchange.cfg file. This was all I could find:
---------------------------------------
7.42. UserTag *global*
This defines a UserTag which is global in nature, meaning not limited by
the Safe.pm module, and is is
available to all Interchange catalogs running on the server. Otherwise,
this is the same as a catalog UserTag.
---------------------------------------
Anyway, I am either lacking the documentation or I'm just not thinking
this through correctly.
Thanks,
Tim
PS I have the following manuals:
icbackoffice.pdf
iccattut.pdf
icconfig.pdf
icdatabase.pdf
icinstall.pdf
icintro.pdf
ictemplates.pdf
On Sat, 10 Feb 2001, Dan B wrote:
> At 03:34 PM 2/10/2001 -0500, you wrote:
> >Hi, I have downloaded and installed a new module for my perl compiler.
> >This module is referred to as JVM, it allows a programmer to access Java
> >code from within their perl code.
> >
> >The module installation has worked great and I have been able to write
> >Perl code that executes Java code.
> >
> >Unfortunately when I try to use this JVM library/module in embedded perl,
> >I get errors. Is there a particular perl file I should include the
> >use Jvm;
> >line in so that my embedded perl code can access this library?
>
> If I'm correct, the embedded perl code is run through the Safe module,
> which would understandably restrict your usage of a JVM
> module. (Otherwise, an exploit allowing user-entered data to be executed
> within Safe would be able execute arbitrary Java code -- even more
> dangerous than arbitrary perl executed in Safe).
>
> From what I understand, a global UserTag isn't run through the Safe
> module. Read up on UserTags and put one in interchange.cfg that uses your
> JVM. That might work.
>
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Mon, 12 Feb 2001 17:33:31 -0800
Subject: [ic] Want to use new module/library in embedded Perl code
At 07:07 PM 2/11/2001 -0500, you wrote:
>Hey, thanks for the advice. I tried digging up everything I could on user
>tags or interchange tags.
>[...]
>Anyway, now I am a bit stumped. The majority of reading I did on usertags
>was in the icconfig.pdf and ictemplates.pdf. You'll notice that neither
>of my subroutines use the JVM module/library I was talking about. This is
>because I wanted to get a regular subroutine working before I tried use
>JVM. I'm not sure if this is what you intended when you said to put a
>user tag in my interchange.cfg file. If it isn't I apologize, but
>information seems fairly scarce on the topic of usertags in the
>interchange.cfg file. This was all I could find:
>
>---------------------------------------
>7.42. UserTag *global*
>This defines a UserTag which is global in nature, meaning not limited by
>the Safe.pm module, and is is
>available to all Interchange catalogs running on the server. Otherwise,
>this is the same as a catalog UserTag.
>---------------------------------------
>
>Anyway, again I appreciate your help, but I am either lacking the
>documentation or I'm just not thinking this through correctly.
It's probably just the "lacking in documentation" thing. :-)
Remember to search the web site / mailing list when you are learning
something. (Just use the search box in the upper left of the home page).
Interchange Tags
(table of contents)
1. General Information
http://developer.akopia.com/cgi-bin/ic/scan/sp=docsection/fi=documentation/co=yes/st=db/sf=document/se=tagref/sf=section/se=DESCRIPTION/sf=type/se=item/va=link_banner%3dGeneral%20Information/va=link_overview%3dtagref02%2e00.html
2. TAGS
http://developer.akopia.com/cgi-bin/ic/scan/sp=docsection/fi=documentation/co=yes/st=db/sf=document/se=tagref/sf=section/se=TAGS/sf=type/se=item/va=link_banner%3dTAGS/va=link_overview%3dtagref03%2e00.html
3. User-defined Tags
http://developer.akopia.com/cgi-bin/ic/scan/sp=docsection/fi=documentation/co=yes/st=db/sf=document/se=tagref/sf=section/se=User_defined_Tags/sf=type/se=item/va=link_banner%3dUser%2ddefined%20Tags/va=link_overview%3dtagref04%2e00.html
UserTag library
http://developer.akopia.com/cgi-bin/ic/scan/fi=documentation/sp=docresults/st=db/co=yes/sf=document/se=usertag/sf=type/se=overview/va=link_image%3d/va=link_banner%3dThe%20UserTag%20Library.html
On Sat, 10 Feb 2001, Dan B wrote:
> At 03:34 PM 2/10/2001 -0500, you wrote:
> >Hi, I have downloaded and installed a new module for my perl compiler.
> >This module is referred to as JVM, it allows a programmer to access Java
> >code from within their perl code.
> >
> >The module installation has worked great and I have been able to write
> >Perl code that executes Java code.
> >
> >Unfortunately when I try to use this JVM library/module in embedded perl,
> >I get errors. Is there a particular perl file I should include the
> >use Jvm;
> >line in so that my embedded perl code can access this library?
>
> If I'm correct, the embedded perl code is run through the Safe module,
> which would understandably restrict your usage of a JVM
> module. (Otherwise, an exploit allowing user-entered data to be executed
> within Safe would be able execute arbitrary Java code -- even more
> dangerous than arbitrary perl executed in Safe).
>
> From what I understand, a global UserTag isn't run through the Safe
> module. Read up on UserTags and put one in interchange.cfg that uses your
> JVM. That might work.
>
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: cfm at maine.com (cfm at maine.com )
Date: Mon, 12 Feb 2001 21:58:16 -0500
Subject: [ic] Want to use new module/library in embedded Perl code
> The best I was able to do was create a GlobalSub in the interchange.cfg
> file:
>
> GlobalSub <<EOF
> sub count_orders {
> return "this is returned from count_orders subroutine.\n";
> }
> EOF
You don't have these modules, but the syntax is the same.
I'm pretty sure you can "use" (vs "require").
#############
## merchants_shipping
UserTag merchants_shipping Order base
UserTag merchants_shipping Routine <<EOF
sub {
require MV::Merchants;
require MV::Shipping;
my($M,$adj,%opt);
$opt{config}=$Vend::Cfg->{CatalogName};
$adj=0;
$M=&MV::Merchants::load_merchant(\%opt,$Vend::Session->{values}); # stubbed everywhere
$opt{shipping_rules}=$M->{$opt{config}}{shipping_rules} if defined($M);
$adj+=&MV::Shipping::base_item_shipping(\%opt,$opt{shipping_rules}) if ($opt{shipping_rules});
$adj+=&MV::Shipping::extra_item_shipping(\%opt,$opt{shipping_rules}) if ($opt{shipping_rules});
$adj+=&MV::Shipping::gift_certificate_shipping(\%opt,$opt{shipping_rules}) if ($opt{shipping_rules});
return $adj;
}
EOF
Frankly, I think
the issue is you are taking too big a first bite. Write a
little perl module that just opens, writes and closes a file.
Call that perl module. Get it to work. They are all the same
after that.
> So then I tried creating a regular subroutine in the interchange.cfg file:
> Sub <<EOF
> sub sort_cart_by_quantity {
> my $out = 'This is a test!!!';
> return $out;
> }
> EOF
>
> But again I couldn't call it from my embedded perl code in my html pages:
> [perl]
> return sort_cart_by_quantity();
> [/perl]
Is that right? I bet you created a nameless sub that has
a compiled sub in it, sort_cart_by_quantity. I'm not sure about
that Sub syntax in cfg - never used it. Check Config.pm and see
how it gets parsed.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: momslife at tampabay.rr.com (Colleen - Mom's Life )
Date: Mon, 12 Feb 2001 22:38:44 -0500
Subject: [ic] please help with customization and adding products
I'm not a moron, apparently I just play one on the internet.
My host has set up this cart, and between them and the Akopia website, this
group seemed like my best bet for finding a clue. I've read about changing
the cfg file or some such thing - what do I need to do that? I'm finding
adding products confusing, editing them, etc. If there someone out there
willing to hold my hand and take pity on me?
My cart is at http://scentofhome.com/~scentofh/cgi-bin/cart.cgi/index.html
If I can just get the colors and such changed, and figure out how to add a
product or two and set the catagories up, I could do the rest on my own.
Email me privately at momslife@tampabay.rr.com
~Colleen
Psst..Ask me about how you can start your
own candle, bath & body business for only $25!
http://www.scentofhome.com/distribute.shtml
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Tue, 13 Feb 2001 00:40:15 -0500
Subject: [ic] Can't get it to work!
Hello,
I am having one heck of a time trying to get Interchange working on my Linux-Mandrake 7.1 system. I downloaded the 4.6.1-3.rh6.i386 RPM and installed it, and am trying to get the "construct" sample going.
I tried using MYSQL, as it is installed on my system, but seemed to get errors trying to access the database (it seemed to create it ok). So I re-ran the config program, and told it NOT to use a SQL. But I'm still getting a lot of errors like:
64.65.206.24 qwjAU6su:64.65.206.24 - [13/February/2001:00:10:43 -0500] construct
/cgi-bin/construct/admin/item_edit Safe: Can't locate object method "query" via package "Vend::Table::GDBM" at /usr/lib/interchange/lib/UI/Primitive.pm line 780.
and
64.65.206.24 qwjAU6su:64.65.206.24 - [13/February/2001:00:29:23 -0500] construct
/cgi-bin/construct/scan/fi=products/st=db/co=yes/sf=category/se=Brushes/va=link
_image=/va=link_banner=.html Bad SQL, query was:
> SELECT sku,timed_promotion,start_date,finish_date
> FROM merchandising
> WHERE featured = 'specials'
>
64.65.206.24 qwjAU6su:64.65.206.24 - [13/February/2001:00:29:41 -0500] construct
/cgi-bin/construct/ord/checkout.html Runtime error: SQL is not enabled for Inte
rchange. Get the SQL::Statement module.
Note that I do have the SQL::Statement module, and all other CPAN modules that I have seen any references to.
Shoud I nuke the RPM and just compile from the tarball?
I can seem to edit stuff in the admin area.
Bob
(please CC your messages directly to me)\
From: paul at dotz.co.za (Paul Du Bois )
Date: Tue, 13 Feb 2001 09:14:56 +0200
Subject: [ic] Tracking previous prices of items on promotion?
Hi list
OK so I'm a Perl dude, whos been playing with Interchange for the last few
months, and here's a problem for you all:
I've got a client who wants his storefront to display the specials in a kind
of "Was $xx, now $yy" format. That means that I've got to track the old
price somehow. The only way I see clear is by getting clever with the
current item fields, and pasting the old price into say long description
(making sure long desc. contains only the price), changing the actual price
field to the new price, and then using some MML to get it to display nicely.
Before I go ahead with this detour, anyone got a shortcut that does not
involve me having to recode half of IC?
Thanks
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Tue, 13 Feb 2001 15:19:20 +0800
Subject: [ic] Tracking previous prices of items on promotion?
why dont you just do it the easy way and add an "old_price" field. :) i'm
assuming you wont really need to do any calculations on it, it's only there
for display purposes?
----- Original Message -----
From: Paul Du Bois <paul@dotz.co.za>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 13, 2001 3:14 PM
Subject: [ic] Tracking previous prices of items on promotion?
> Hi list
>
> OK so I'm a Perl dude, whos been playing with Interchange for the last few
> months, and here's a problem for you all:
>
> I've got a client who wants his storefront to display the specials in a
kind
> of "Was $xx, now $yy" format. That means that I've got to track the old
> price somehow. The only way I see clear is by getting clever with the
> current item fields, and pasting the old price into say long description
> (making sure long desc. contains only the price), changing the actual
price
> field to the new price, and then using some MML to get it to display
nicely.
>
> Before I go ahead with this detour, anyone got a shortcut that does not
> involve me having to recode half of IC?
>
> Thanks
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Tue, 13 Feb 2001 15:27:51 +0800
Subject: [ic] Tracking previous prices of items on promotion?
Yes, that is what I think too.
I mean, since you are a Perl dude, you should have thought of just adding an
"old_price" field, instead of wasting time changing half the code (I don't
think it takes that much changes anyway).
Bryan
-----Original Message-----
From: Cameron Germein [mailto:cameron.germein@team.eftel.com]
Sent: Tuesday, February 13, 2001 3:19 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] Tracking previous prices of items on promotion?
why dont you just do it the easy way and add an "old_price" field. :) i'm
assuming you wont really need to do any calculations on it, it's only there
for display purposes?
----- Original Message -----
From: Paul Du Bois <paul@dotz.co.za>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 13, 2001 3:14 PM
Subject: [ic] Tracking previous prices of items on promotion?
> Hi list
>
> OK so I'm a Perl dude, whos been playing with Interchange for the last few
> months, and here's a problem for you all:
>
> I've got a client who wants his storefront to display the specials in a
kind
> of "Was $xx, now $yy" format. That means that I've got to track the old
> price somehow. The only way I see clear is by getting clever with the
> current item fields, and pasting the old price into say long description
> (making sure long desc. contains only the price), changing the actual
price
> field to the new price, and then using some MML to get it to display
nicely.
>
> Before I go ahead with this detour, anyone got a shortcut that does not
> involve me having to recode half of IC?
>
> Thanks
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Mon, 12 Feb 2001 23:29:48 -0800
Subject: [ic] Tracking previous prices of items on promotion?
Here's a quick solution. Have a old_price field in the products table.
Then modify where the special is displayed to pull 'Was [item field
old_price], now [item-price]' This only requires the need to change the
products table (don't forget to update the products file in the dbconf
directory for your db platform) and the specials template. Good luck.
P.S. Any solution should not re-code IC, it is very extensible :)
-Ron
----- Original Message -----
From: "Paul Du Bois" <paul@dotz.co.za>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 12, 2001 11:14 PM
Subject: [ic] Tracking previous prices of items on promotion?
> Hi list
>
> OK so I'm a Perl dude, whos been playing with Interchange for the last few
> months, and here's a problem for you all:
>
> I've got a client who wants his storefront to display the specials in a
kind
> of "Was $xx, now $yy" format. That means that I've got to track the old
> price somehow. The only way I see clear is by getting clever with the
> current item fields, and pasting the old price into say long description
> (making sure long desc. contains only the price), changing the actual
price
> field to the new price, and then using some MML to get it to display
nicely.
>
> Before I go ahead with this detour, anyone got a shortcut that does not
> involve me having to recode half of IC?
>
> Thanks
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: res087jh at verizon.net (Dan Garwood )
Date: Tue, 13 Feb 2001 02:29:05 -0500
Subject: [ic] Tracking previous prices of items on promotion?
or you could use a [calc] tag against the current price to add to it to show
the old price or list price.
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Paul Du
> Bois
> Sent: Tuesday, February 13, 2001 2:15 AM
> To: interchange-users@lists.akopia.com
> Subject: [ic] Tracking previous prices of items on promotion?
>
>
> Hi list
>
> OK so I'm a Perl dude, whos been playing with Interchange for the last few
> months, and here's a problem for you all:
>
> I've got a client who wants his storefront to display the
> specials in a kind
> of "Was $xx, now $yy" format. That means that I've got to track the old
> price somehow. The only way I see clear is by getting clever with the
> current item fields, and pasting the old price into say long description
> (making sure long desc. contains only the price), changing the
> actual price
> field to the new price, and then using some MML to get it to
> display nicely.
>
> Before I go ahead with this detour, anyone got a shortcut that does not
> involve me having to recode half of IC?
>
> Thanks
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: ozbcoz at optushome.com.au (Jim Carey )
Date: Tue, 13 Feb 2001 18:31:32 +1100
Subject: [ic] new user with install difficulties
Hi,
just trying to install interchange 4.6.3 on a RAQ3 - tried the install as
root and non root - get the same error:
<snip all the rest of configure stuff>
Appending installation info to
/home/sites/site18/web/interchange/perllocal.pod
/usr/bin/perl Makefile.PL force INTERCHANGE_USER=ozbc0001
final=/home/sites/site18
/web/interchange
missing.le ./share/akopia/ui/admin/b-configure2.gif
make: *** [mv_install] Error 2
goes through the 6 tests successfully gives thumbs up then comes to this.
Configure is in /web/akopia and
/web/akopia/share/akopia/ui/admin/b-configure2.gif is present
anyone able to help ?
regards
Jim Carey
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Tue, 13 Feb 2001 14:17:36 +0200
Subject: [ic] Case sensitive won't work on search (again)
Hello,
I have this problem :
When i search a product (lets say "snorkels"), i get the right result no
matter if i write it something like "SnOrKEls" or "SNORKELS".
There are some products that have greek name.But the problem is that i
have to write it exactly as it is.If i write it uppercase,it won't show
up.
Is there a way to define each letter like "A" is the same with "a"?
I use all my products in one file.
From: tom at turrisi.co.uk (Tom Turrisi )
Date: Tue, 13 Feb 2001 12:26:57 -0000
Subject: [ic] Test Database Error
This is a multi-part message in MIME format.
------=_NextPart_000_0195_01C095B8.4203F2D0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0196_01C095B8.4203F2D0"
------=_NextPart_001_0196_01C095B8.4203F2D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I have just finished compiling interchange and when i ran the =
server as user interc it generates the following errors.
# su interc
$ /home/interc/prog/bin/interchange --serve
Low traffic settings.
Interchange V4.6.3
Configuring catalog construct...Using default DBM database.
Directive ProductFiles returned default setting error: No default search =
file!
In line 0 of the configuration file '':
Require usertag button
construct config error: Directive ProductFiles returned default setting =
error: No default search file!
In line 0 of the configuration file '':
Require usertag button
construct: error in configuration. Skipping.
construct: config error. Skipping.
Interchange server started in INET and UNIX mode(s) (process id 20594)
Any Ideas?
Thanks in advance
Tom Turrisi
In-ternet dot co ltd.
http://in-ternet.co.uk
------=_NextPart_001_0196_01C095B8.4203F2D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3211.1700" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> I have just =
finished=20
compiling interchange and when i ran the server as user interc it =
generates the=20
following errors.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2># su interc<BR>$ =
/home/interc/prog/bin/interchange=20
--serve<BR>Low traffic settings.<BR>Interchange V4.6.3<BR>Configuring =
catalog=20
construct...Using default DBM database.<BR>Directive ProductFiles =
returned=20
default setting error: No default search file!<BR>In line 0 of the =
configuration=20
file '':<BR>Require usertag button</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>construct config error: Directive =
ProductFiles=20
returned default setting error: No default search file!<BR>In line 0 of =
the=20
configuration file '':<BR>Require usertag =
button</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>construct: error in configuration.=20
Skipping.<BR>construct: config error. Skipping.<BR>Interchange server =
started in=20
INET and UNIX mode(s) (process id 20594)</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Any Ideas?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Tom Turrisi</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In-ternet dot co ltd.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://in-ternet.co.uk">http://in-ternet.co.uk</A></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_001_0196_01C095B8.4203F2D0--
------=_NextPart_000_0195_01C095B8.4203F2D0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJVTCCAvMw
ggJcoAMCAQICAwQqsTANBgkqhkiG9w0BAQQFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl
c3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsT
FENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAw
MC44LjMwMB4XDTAxMDIxMjE2NTY0N1oXDTAyMDIxMjE2NTY0N1owgY0xHzAdBgNVBAMTFlRoYXd0
ZSBGcmVlbWFpbCBNZW1iZXIxIDAeBgkqhkiG9w0BCQEWEXRvbUB0dXJyaXNpLmNvLnVrMSIwIAYJ
KoZIhvcNAQkBFhN0b21AaW4tdGVybmV0LmNvLnVrMSQwIgYJKoZIhvcNAQkBFhV0b21AbXktaW50
ZXJuZXQuY28udWswgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJ6kG8Nj6QCte1l3l6OLtB/2
l101AfzMRH9lBcf5AZG4vsl+zMyN+NKzarVKA3HPsgwj8UDBLGuseKEEWuM+q5KwXWXmK1aFDyf2
MKpgZcpQcyxuV4A/0/JZT7QeFwQ/A3d/vPNhRGNpFf6Ao8+xjGqmNc4AMDm1KB8FK3KD2A9bAgMB
AAGjWjBYMEgGA1UdEQRBMD+BEXRvbUB0dXJyaXNpLmNvLnVrgRN0b21AaW4tdGVybmV0LmNvLnVr
gRV0b21AbXktaW50ZXJuZXQuY28udWswDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQAW
BMbasGgfWh09Z0lWSSQ5VZcMsJfkB5cPvewozbq5UMyxwcr/U7JPN7uq+BqbhBfmR+wWT7hGqhHW
yOYryQDyFUvIZGyjqwhLP8R8nw9npaOIiJQVzAvQlf8NZDX+oi0MlWWPdlstmnUMXGjFvopQ3bgW
Kl44MVPUBq6v5exOSzCCAykwggKSoAMCAQICAQwwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNVBAYT
AlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMR
VGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp
b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYc
cGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAwMDBaFw0wMjA4MjkyMzU5
NTlaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBl
IFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAm
BgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAwLjguMzAwgZ8wDQYJKoZIhvcNAQEBBQAD
gY0AMIGJAoGBAN4zMqZjxwklRT7SbngnZ4HF2ogZgpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0
caCjbZjxw0+iZdsN+kvx1t1hpfmFzVWaNRqdknWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M8
8Dm0m1SKE4f/s5udSWYALQmJ7JRr6aFpAgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQD
ExFQcml2YXRlTGFiZWwxLTI5NzASBgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBBjANBgkq
hkiG9w0BAQQFAAOBgQBzG28mZYv/FTRLWWKK7US+ScfoDbuPuQ1qJipihB+4h2N0HG23zxpTkUvh
zeY42e1Q9DpsNJKs5pKcbsEjAcIJp+9LrnLdBmf1UG8uWLi2C8FQV7XsHNfvF7bViJu3ooga7Tlb
OX00/LaWGCVNavSdxcORL6mWuAU8Uvzd6WIDSDCCAy0wggKWoAMCAQICAQAwDQYJKoZIhvcNAQEE
BQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUg
VG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24g
U2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTEr
MCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw05NjAxMDEwMDAw
MDBaFw0yMDEyMzEyMzU5NTlaMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl
MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQL
Ex9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29u
YWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5j
b20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANRp19SwlGRbcelH2AxRtupykbCEXn0tDY97
Et+FJXUodDpCLGMnn5V7S+9+GYcdhuqj3bnOlmQawhRuRKx85o/oTQ9xH0A4pgCjh3j2+ZSGXq3q
wF5269kUo11uenwMpUtVfwYZKX+emibVars4JAhqmMex2qOYkf152+VaxBy5AgMBAAGjEzARMA8G
A1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEAx+ySfk749ZalZ2IqpPBNEWDQb41gWGGs
JrtSNVwIzzD7qEqWih9iQiOMFw/0umScF6xHKd+dmF7SbGBxXKKs3Hnj524ARx+1DSjoAp3kmv0T
9KbZfLH43F8jJgmRgHPQFBveQ6mDJfLmnC8Vyv6mq4oHdYsM3VGEa+T40c53ooExggHAMIIBvAIB
ATCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2Fw
ZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgw
JgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMEKrEwCQYFKw4DAhoFAKB9
MBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAxMDIxMzEyMjY1N1ow
HgYJKoZIhvcNAQkPMREwDzANBggqhkiG9w0DAgIBKDAjBgkqhkiG9w0BCQQxFgQUweA/Oyt3yt+9
bpM3J1z4QcD3UQIwDQYJKoZIhvcNAQEBBQAEgYBWKphTn3sqampigRmuZnercpCezUMNNRmY4BTl
pJPZeKRl2erTlKJWQyUM6rt5zT03zorSxwovHfVnqGpbV5qfY6juZR6ZGCJxKl19WE7vOkPtSbzP
UVPOp2y07ARYwqSXnqzhH784+to4+COnAgqL3ry8BJ4v9VGEKe09Q5/uOgAAAAAAAA==
------=_NextPart_000_0195_01C095B8.4203F2D0--
From: george at 1stomni.com (George Schindler )
Date: Tue, 13 Feb 2001 15:49:12 +0100
Subject: [ic] Question
Hello to all,
I have question for you, I'm newbie in Akopia,
I'm confusion from pricing databases, sizes, colors and so on for products,
I can specify in pricing databse which price will be for bigger, smaller,
the biggest.... but I'm confused what it will take from stock.
How the interchange will know that there is 10-red-XLs t-shirts and
20-red-Ls t-shirts, if it needs to have the same code (product number).
Thanks a lot!
George
george@1stomni.com
From: marc at inuzite.com (Marc Villeneuve )
Date: Tue, 13 Feb 2001 09:52:15 -0500
Subject: [ic] Thumbnail and image Widgets are gone after upgrading to 4.6.3
Hi everyone!!!
After upgrading to 4.6.3, in the items entry page in the admin interface,
the Image Widget and the Thumbnail Widget are gone, vanished, from all my
catalogs.
Anybody out there with that nice little problem?
Thanks!!!
Marc Villeneuve
Inuzite inc
From: mark.johnson at akopia.com (Mark Johnson )
Date: Tue, 13 Feb 2001 09:59:16 -0500
Subject: [ic] Case sensitive won't work on search (again)
Case IN-sensitive is the default. Make sure you are not setting mv_case
or cs to yes or 1.
"Thomas N. Stefanidis" wrote:
>
> Hello,
> I have this problem :
> When i search a product (lets say "snorkels"), i get the right result no
> matter if i write it something like "SnOrKEls" or "SNORKELS".
> There are some products that have greek name.But the problem is that i
> have to write it exactly as it is.If i write it uppercase,it won't show
> up.
> Is there a way to define each letter like "A" is the same with "a"?
> I use all my products in one file.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Akopia Professional Services
mark.johnson@akopia.com
703-456-2912
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 13 Feb 2001 10:19:46 -0500
Subject: [ic] Question
Quoting George Schindler (george@1stomni.com):
> Hello to all,
> I have question for you, I'm newbie in Akopia,
> I'm confusion from pricing databases, sizes, colors and so on for products,
> I can specify in pricing databse which price will be for bigger, smaller,
> the biggest.... but I'm confused what it will take from stock.
> How the interchange will know that there is 10-red-XLs t-shirts and
> 20-red-Ls t-shirts, if it needs to have the same code (product number).
Can't. You must have a unique SKU to do that.
This will be addressed somewhat in 4.7.x/4.8, as we provide admin
tools to specify variant types for each product.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
People who want to share their religious views with you
almost never want you to share yours with them. -- Dave Barry
From: nick.davies at iname.com (Nick Davies )
Date: Tue, 13 Feb 2001 15:29:53 +0000
Subject: [ic] Admin SQL
Hi,
I'm new to interchange (looks great :) ). I setup my shop by altering
the demo shop, deleteing the demo products and replacing with mine.
I've just tried to make one of my products a "new product" promotion but
for some reason it gets a "error in your sql syntax near "PRODUCT
NAME"". Is this some bug in interchnage? How do i fix it. I have seen
it elsewhere too. (i've tried the product name with an _ and a - but
mysql should be able to cope with _ shouldn't it?)
Also how do i change the product name once a product has been created?
Thanks.
Nick.
From: warez00 at bigpond.net.au (warez69 )
Date: Wed, 14 Feb 2001 02:49:47 +1100
Subject: [ic] Admin SQL
make sure that u are running on latest mysql.
regards.
----- Original Message -----
From: "Nick Davies" <nick.davies@iname.com>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 14, 2001 2:29 AM
Subject: [ic] Admin SQL
> Hi,
>
> I'm new to interchange (looks great :) ). I setup my shop by altering
> the demo shop, deleteing the demo products and replacing with mine.
> I've just tried to make one of my products a "new product" promotion but
> for some reason it gets a "error in your sql syntax near "PRODUCT
> NAME"". Is this some bug in interchnage? How do i fix it. I have seen
> it elsewhere too. (i've tried the product name with an _ and a - but
> mysql should be able to cope with _ shouldn't it?)
>
> Also how do i change the product name once a product has been created?
>
> Thanks.
>
> Nick.
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: nick.davies at iname.com (Nick Davies )
Date: Tue, 13 Feb 2001 16:25:29 +0000
Subject: [ic] Admin SQL
I'm on version 3.22.32. I would have thought this was recent enough..?
warez69 wrote:
> make sure that u are running on latest mysql.
> regards.
> ----- Original Message -----
> From: "Nick Davies" <nick.davies@iname.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Wednesday, February 14, 2001 2:29 AM
> Subject: [ic] Admin SQL
>
>
>> Hi,
>>
>> I'm new to interchange (looks great :) ). I setup my shop by altering
>> the demo shop, deleteing the demo products and replacing with mine.
>> I've just tried to make one of my products a "new product" promotion but
>> for some reason it gets a "error in your sql syntax near "PRODUCT
>> NAME"". Is this some bug in interchnage? How do i fix it. I have seen
>> it elsewhere too. (i've tried the product name with an _ and a - but
>> mysql should be able to cope with _ shouldn't it?)
>>
>> Also how do i change the product name once a product has been created?
>>
>> Thanks.
>>
>> Nick.
>>
>>
>> _______________________________________________
>> Interchange-users mailing list
>> Interchange-users@lists.akopia.com
>> http://lists.akopia.com/mailman/listinfo/interchange-users
>>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>
From: george at 1stomni.com (George Schindler )
Date: Tue, 13 Feb 2001 18:15:56 +0100
Subject: [ic] relationships between sku's
Hello,
We need to do the following and we don't see a way to do it with your
software.
Below are the sku's for the model "Golf express t-shirt". We only want to
display this shirt once on a catalog page, click on the item and then see a
large picture with pull down boxes for what is available for color, size and
price. I only want to enter one picture and description for all sku's in
the group. Is this possible? Can we do this with the administration gui?
Golf Express T-Shirt sku's
1234-1 | golf express T-shirt | Red | Small | $10.00
1234-2 | golf express T-shirt | Red | Medium | $10.00
1234-3 | golf express T-shirt | Red | Large | $10.00
1234-4 | golf express T-shirt | Blue | Small | $10.00
1234-5 | golf express T-shirt | Blue | Medium | $10.00
1234-6 | golf express T-shirt | Blue | x-large | $12.00
1234-7 | golf express T-shirt | Blue | xx-large | $12.00
1234-8 | golf express T-shirt | Blue | xxx-large | $12.00
1234-9 | golf express T-shirt | White | Small | $10.00
1234-10| golf express T-shirt | White | Large | $12.00
The problem we see with the system is that there is no way to relate sku's
and display their data on one page....
Anxiously waiting your reply.
Thanks a lot!
George
From: edl at newmediaems.com (Ed LaFrance )
Date: Tue, 13 Feb 2001 09:17:33 -0800
Subject: [ic] please help with customization and adding products
At 10:38 PM 02/12/2001 -0500, you wrote:
>I'm not a moron, apparently I just play one on the internet.
>
>My host has set up this cart, and between them and the Akopia website, this
>group seemed like my best bet for finding a clue. I've read about changing
>the cfg file or some such thing - what do I need to do that? I'm finding
>adding products confusing, editing them, etc. If there someone out there
>willing to hold my hand and take pity on me?
>
>My cart is at http://scentofhome.com/~scentofh/cgi-bin/cart.cgi/index.html
>
>If I can just get the colors and such changed, and figure out how to add a
>product or two and set the catagories up, I could do the rest on my own.
>Email me privately at momslife@tampabay.rr.com
Follow this link:
http://scentofhome.com/~scentofh/cgi-bin/cart.cgi/admin/login.html
Whomever setup this catalog will have also setup the administrator username
and password. If they haven't given it to you, get it from them and log in
here. You can do quite a bit with design and content using this interface,
take a look at the docs for an overview of how to use this area.
- Ed L.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D edl@newmediaems.com
Placerville, CA 95667 http://www.newmediaems.com
(530) 622-9421 (530) 622-9426 Fax
(866) 519-4680 Toll-Free
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
From: conterenier at libero.it (Conte Stefy Renier )
Date: Tue, 13 Feb 2001 18:56:08 +0100
Subject: [ic] remove
----- Original Message -----
From: "Ed LaFrance" <edl@newmediaems.com>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 13, 2001 6:17 PM
Subject: Re: [ic] please help with customization and adding products
> At 10:38 PM 02/12/2001 -0500, you wrote:
> >I'm not a moron, apparently I just play one on the internet.
> >
> >My host has set up this cart, and between them and the Akopia website,
this
> >group seemed like my best bet for finding a clue. I've read about
changing
> >the cfg file or some such thing - what do I need to do that? I'm finding
> >adding products confusing, editing them, etc. If there someone out there
> >willing to hold my hand and take pity on me?
> >
> >My cart is at
http://scentofhome.com/~scentofh/cgi-bin/cart.cgi/index.html
> >
> >If I can just get the colors and such changed, and figure out how to add
a
> >product or two and set the catagories up, I could do the rest on my own.
> >Email me privately at momslife@tampabay.rr.com
>
> Follow this link:
>
> http://scentofhome.com/~scentofh/cgi-bin/cart.cgi/admin/login.html
>
> Whomever setup this catalog will have also setup the administrator
username
> and password. If they haven't given it to you, get it from them and log in
> here. You can do quite a bit with design and content using this
interface,
> take a look at the docs for an overview of how to use this area.
>
> - Ed L.
>
>
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> New Media E.M.S. Software Solutions for Business
> 463 Main St., Suite D edl@newmediaems.com
> Placerville, CA 95667 http://www.newmediaems.com
> (530) 622-9421 (530) 622-9426 Fax
> (866) 519-4680 Toll-Free
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange at my-school.com (IC-Admin )
Date: Tue, 13 Feb 2001 15:24:59 -0500 (EST)
Subject: [ic] Re: Looking for Simple
http://ftp.minivend.com/demos/simple-4.6.tar.gz
From: malcolmw at upshot.com (Webb, Malcolm )
Date: Tue, 13 Feb 2001 11:18:13 -0800
Subject: [ic] interchange dead and subsys locked after install of 4.6.3-1...
Hi-
I just downloaded the 4.6.3-1.rh6.i386 RPM and installed it, and my
interchange is no longer working. When I go to /etc/rc.d/init.d and do a
./interchange start
I get the confirmation message back
[ OK ]
saying that it has started successfully. But when I try to access construct,
I get interchange's "Server unavailable" message. I followed the
instructions in the mail archives for resolving this message and did a
chmod 4755 construct
on the construct file in my cgi-bin directory, but this did not fix the
problem. A check of the log files in /var/log/interchange revealed that no
errors were being passed to either error.log or construct.error.log.
Going back to /etc/rc.d/init.d and doing a
./interchange status
returned this message: "interchange dead and subsys locked"
So I rebooted the box, and tried again to start interchange - no luck, I
still get "OK" confirmation but it doesn't really start and a status check
shows I'm still getting the same "subsys" error message.
I looked through the mail archives again, and it says that this error may be
related to running interchange with PostgreSQL on the back end, but I am not
running interchange with PostgreSQL (my interchange install is vanilla)
However, I do have minivend installed on this same box, and my minivend IS
configured to use PostgreSQL - but that should not affect interchange right?
Also, prior to installing this latest version of IC, my interchange was
running fine.
Can anyone help?
===========================================
Malcolm Webb
===========================================
From: scotta at homer-simpson.learnserv.com (scott andreas )
Date: Tue, 13 Feb 2001 11:23:05 -0800
Subject: [ic] relationships between sku's
George Schindler wrote:
>
> Hello,
>
> We need to do the following and we don't see a way to do it with your
> software.
>
> Below are the sku's for the model "Golf express t-shirt". We only want to
> display this shirt once on a catalog page, click on the item and then see a
> large picture with pull down boxes for what is available for color, size and
> price. I only want to enter one picture and description for all sku's in
> the group. Is this possible? Can we do this with the administration gui?
>
> Golf Express T-Shirt sku's
> 1234-1 | golf express T-shirt | Red | Small | $10.00
> 1234-2 | golf express T-shirt | Red | Medium | $10.00
> 1234-3 | golf express T-shirt | Red | Large | $10.00
> 1234-4 | golf express T-shirt | Blue | Small | $10.00
> 1234-5 | golf express T-shirt | Blue | Medium | $10.00
> 1234-6 | golf express T-shirt | Blue | x-large | $12.00
> 1234-7 | golf express T-shirt | Blue | xx-large | $12.00
> 1234-8 | golf express T-shirt | Blue | xxx-large | $12.00
> 1234-9 | golf express T-shirt | White | Small | $10.00
> 1234-10| golf express T-shirt | White | Large | $12.00
>
> The problem we see with the system is that there is no way to relate sku's
> and display their data on one page....
>
> Anxiously waiting your reply.
> Thanks a lot!
>
> George
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
interchange can do this for you with ease.
--
J. Scott Andreas :)
Programmer/Webintegrator
e-mail: scotta@homer.learnserv.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
--- __o
--- _-\<,_
--- (_)/ (_)
From: marc at inuzite.com (Marc Villeneuve )
Date: Tue, 13 Feb 2001 14:33:26 -0500
Subject: [ic] Thumbnail and image Widgets are gone after upgrading
Solved,
Nothing to do with 4.6.3.... Sorry guys ;-) .
It was a broken Symlink between /var/lib/interchange/catalogs/images and
the web folder.
Thanks!
Marc Villeneuve
Inuzite inc.
From: bappliance1 at qwest.net (any )
Date: Tue, 13 Feb 2001 13:39:54 -0800
Subject: [ic] (no subject)
Hello.
The cross sell feature works in the demo but not in my installed
Interchange? Can you help?
From: lamine at secan.net (lamine )
Date: Tue, 13 Feb 2001 14:40:21 -0500
Subject: [ic] DocumentRoot
hi
When I go in my Web page I have a message saying to me that the server is
not started what east is necessary. Thus, I fall each time in the page
which is suitable if such an error occurs. I know that I must change my
DocumentRoot on the level of my Web server but, I do not have the suitable
permissions to do it. I am able to publish the httpd.conf but I do not have
the right nor the permission to write or make modifications. My questions
are the following ones:
- is it possible to only regulate the problem on the level of interchange?
- By or I can publish the principal page www.secan.net on the level of the
server interchanges.
Thank you for your answers
From: jsoons at juilliard.edu (Jonathan Soons )
Date: Tue, 13 Feb 2001 16:23:40 -0500
Subject: [ic] Driver 'mysql' installed? error
I tried to install the demo catalog using mostly the default suggestions
(and I choose to use mySQL when prompted). I get the following error when I
try to start interchange.
root@Ultra:/usr/local/interchange# su interch
$ pwd
/usr/local/interchange
$ bin/interchange restart
Low traffic settings.
Calling UI....
...UI is loaded....
Interchange V4.6.1
Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct.
construct config error: connect failed (create) -- unknown error. Driver
'mysql' installed?
MySQL is working fine on it's own and it has a user named interch.
What am I missing?
From: jbell at jbhconsulting.com (Jarrod Bell )
Date: Tue, 13 Feb 2001 18:50:38 -0500
Subject: [ic] Error Message when "Ship checked lines..."
I get the following error when I click on "Ship checked lines and email..."
Sorry, there was an error in processing this form action. Please report the
error or try again later. (Can't call method "open_table" on an undefined
value at /usr/local/cpanel/3rdparty/interchange/lib/Vend/Data.pm line 789. )
Any help would be appreciated.
From: caught_one at yahoo.com (Guido Sohne )
Date: Tue, 13 Feb 2001 16:08:08 -0800 (PST)
Subject: [ic] thorny shipping problem
Hi,
I'm trying to configure shipping calculations in Interchange to differ
from product to product. Products are divided into classes (six
initially). Each class of product has a different shipping calculation
that corresponds to a shipping method in Interchange.
I can add a field to the products table that specifies the class of the
product but how do I tell Interchange to sum up the weight of products,
keeping them separated along class lines, apply the appropriate
shipping calculation (by weight) to each sum and finally sum up these
totals to arrive at a final shipping cost ?
Any ideas from the gurus ?
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Wed, 14 Feb 2001 08:36:48 +0800
Subject: [ic] Question
in addition to mike's reply, i'd just like to point out that the simplest
solution is often the best - ie. having seperate items for each differing
size/colour is FAR easier than trying to wrap some perl around everything
that will calculate what needs to be calculated.
----- Original Message -----
From: George Schindler <george@1stomni.com>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 13, 2001 10:49 PM
Subject: [ic] Question
> Hello to all,
> I have question for you, I'm newbie in Akopia,
> I'm confusion from pricing databases, sizes, colors and so on for
products,
> I can specify in pricing databse which price will be for bigger, smaller,
> the biggest.... but I'm confused what it will take from stock.
> How the interchange will know that there is 10-red-XLs t-shirts and
> 20-red-Ls t-shirts, if it needs to have the same code (product number).
> Thanks a lot!
> George
> george@1stomni.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: jharp at atpeng.com (ATP )
Date: Tue, 13 Feb 2001 16:44:36 -0800
Subject: [ic] How to have the same sku with different properties.
Hello,
I would like to be able to have in the checkout the ability to have the same
sku with different sizes.
Eg. 2 pairs of shoes size 9
1 pair of shoes size 7
Can this currently be done without major work?
Jason
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Wed, 14 Feb 2001 00:43:59
Subject: [ic] shipping problem
hello,
I'm translating IC to brazilian portuguese and here in Brasil we have a
shipping mode like UPS.
So i'm trying to use the UPS files to work as my shipping method.
I have done the following:
the Ground.csv file:
Exceed,2,3,4,5,6,7,8,9,10
1,5.20,7.80,11.90,7.80,11.90,7.80,11.90,7.80,11.90
2,5.90,9.60,15.30,7.80,11.90,7.80,11.90,7.80,11.90
3,6.60,11.40,18.70,7.80,11.90,7.80,11.90,7.80,11.90
4,6.95,12.30,20.40,7.80,11.90,7.80,11.90,7.80,11.90
5,7.65,14.10,23.80,7.80,11.90,7.80,11.90,7.80,11.90
the 450.cvs file:
"ZONES"
Dest. ZIP,Ground
01000-19919,2
20000-23799,3
23800-28924,4
30000-31999,5
32000-39805,6
80000-82999,7
83000-87719,8
88000-88099,9
89200-89815,10
,
and shipping.asc:
upsg UPS Ground weight 0 0 e Nothing to ship! {'ui_ship_type' =>
"UPSI",'table' => "Ground",'zone' => "450",'ups' => "1",'geo' => "zip",}
upsg UPS Ground weight 0 150 u Ground [value name=zip filter=digits
default=45056] {}
upsg UPS Ground weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS {}
but a error message appears:
Note: No zone found for geo code 200, type Ground.
the prices for 3,4,5,6,7,8,9,10 are iqual because i haven't implemmented all
zip codes because i wanna make a test.
First doubt: Is there a way to use more than 3 numbers in zip code like 5?
Because the brazilian zip code use 5 digits.
second doubt: Can anyone translate me o shipping.asc does. I know it
designate the shipping mode but what is the " {'ui_ship_type' =>
"UPSI",'table' => "Ground",'zone' => "450",'ups' => "1",'geo' => "zip",}"
third doubt: Why this changes re not working?
I really thanks who help me.
Thank you in advance,
Marcelo
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Wed, 14 Feb 2001 08:49:55 +0800
Subject: [ic] simple question :)
do you *have* to be a "super-user" to access the administration area in the
UI in order to upload files?
From: cfm at maine.com (cfm at maine.com )
Date: Tue, 13 Feb 2001 20:54:31 -0500
Subject: [ic] thorny shipping problem
On Tue, Feb 13, 2001 at 04:08:08PM -0800, Guido Sohne wrote:
> Hi,
>
> I'm trying to configure shipping calculations in Interchange to differ
> from product to product. Products are divided into classes (six
> initially). Each class of product has a different shipping calculation
> that corresponds to a shipping method in Interchange.
>
> I can add a field to the products table that specifies the class of the
> product but how do I tell Interchange to sum up the weight of products,
> keeping them separated along class lines, apply the appropriate
> shipping calculation (by weight) to each sum and finally sum up these
> totals to arrive at a final shipping cost ?
perl, iterate the basket, all things are possible, sunrise.
>
> Any ideas from the gurus ?
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Tue, 13 Feb 2001 22:35:58 -0500
Subject: [ic] Secure server link fails
Hello,
I managed to get Interchange to work by compiling the tarball instead of using the RPM. All is mostly well.
Got the sucker going, but forgot to put in my link to the secure server. I modified the catalog.cfg file, and copied the construct file from my cgi-bin directory into the secure server's cgi-bin directory. Now when I go to check out, I get:
Undefined catalog: /solux/cgi-bin/construct
I've found no errors in the error logs. There probably is some config somewhere that I am missing. Here's excerpts of my catalog.cfg file:
#Variable SERVER_NAME www.solux.com
#Variable CGI_URL /cgi-bin/construct
Variable SECURE_SERVER https://www.nleinternet.net/solux
Ideas?
Bob
From: rhertz at gyb.baits.com (Ryan Hertz )
Date: Tue, 13 Feb 2001 20:59:29 -0700
Subject: [ic] Secure server link fails
At 08:35 PM 2/13/01 , you wrote:
>Hello,
>
>I managed to get Interchange to work by compiling the tarball instead of
>using the RPM. All is mostly well.
>
>Got the sucker going, but forgot to put in my link to the secure
>server. I modified the catalog.cfg file, and copied the construct file
>from my cgi-bin directory into the secure server's cgi-bin directory. Now
>when I go to check out, I get:
>
>Undefined catalog: /solux/cgi-bin/construct
Add an alias to the catalog definitions in your interchange.cfg
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: ozbcoz at optushome.com.au (Jim Carey )
Date: Wed, 14 Feb 2001 16:17:52 +1100
Subject: [ic] new user with install difficulties - RAQ3
Hi,
I have taken this a step further and have successfully (?) created the
interchange environment. However,when I start interchange, I get the
following error - I am on a RAQ3 - so if anyone else has seen this and has a
workaround would love to hear it :-) - The site has been allocated 500 meg
with a user (ozcr0001) allocation of 250 meg:
The Interchange server was not running
(/home/sites/site33/users/ozcr0001/interchange/etc/interchange.pid).
Low traffic settings.
Calling UI....
...UI is loaded....
Interchange V4.6.3
Configuring catalog construct...construct config error: Could not create
'/home/sites/site33/users/ozcr0001/catalogs/construct/produ
cts/new_variable.gdbm': Disk quota exceeded at
/home/sites/site33/users/ozcr0001/interchange/lib/Vend/Table/GDBM.pm line
66, <IN> ch
unk 1.
construct: error in configuration. Skipping.
construct: config error. Skipping.
Interchange server started in INET and UNIX mode(s) (process id 10456)
Continuing in UNIX MODE ONLY
Jim Carey
www.OZbcoz.com discount domain registration
www.iluvoz.com affordable hosting services
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Tue, 13 Feb 2001 22:04:41 -0800
Subject: [ic] new user with install difficulties - RAQ3
Search the mailing list archives (developer.akopia.com), I remember seeing
the "Disk quota exceeded" problem regarding RAQ3's before.
At 04:17 PM 2/14/2001 +1100, you wrote:
>Hi,
>I have taken this a step further and have successfully (?) created the
>interchange environment. However,when I start interchange, I get the
>following error - I am on a RAQ3 - so if anyone else has seen this and has a
>workaround would love to hear it :-) - The site has been allocated 500 meg
>with a user (ozcr0001) allocation of 250 meg:
>
>
>The Interchange server was not running
>(/home/sites/site33/users/ozcr0001/interchange/etc/interchange.pid).
>Low traffic settings.
>Calling UI....
>...UI is loaded....
>Interchange V4.6.3
>Configuring catalog construct...construct config error: Could not create
>'/home/sites/site33/users/ozcr0001/catalogs/construct/produ
>cts/new_variable.gdbm': Disk quota exceeded at
>/home/sites/site33/users/ozcr0001/interchange/lib/Vend/Table/GDBM.pm line
>66, <IN> ch
>unk 1.
>
>
>
>construct: error in configuration. Skipping.
>construct: config error. Skipping.
>Interchange server started in INET and UNIX mode(s) (process id 10456)
>Continuing in UNIX MODE ONLY
>
>Jim Carey
>www.OZbcoz.com discount domain registration
>www.iluvoz.com affordable hosting services
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Wed, 14 Feb 2001 01:48:31 -0500
Subject: [ic] Where is credit card info in Construct?
Where does one go to retrieve the customer credit card information if you are not using online processing in the demo "Construct" store?
Bob
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Tue, 13 Feb 2001 23:05:26 -0800
Subject: [ic] Where is credit card info in Construct?
In the demo the credit card information is never written to disk. You can
setup pgp and have the information emailed to a certain address, this may be
the solution you are looking for, this works with a few minor changes to the
ENCRYPTOR directive. Another option would be to encrypt the info with PGP
and save to a directory.
Good luck!
-Ron
----- Original Message -----
From: "Bob Puff@NLE" <bob@nleaudio.com>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 13, 2001 10:48 PM
Subject: [ic] Where is credit card info in Construct?
> Where does one go to retrieve the customer credit card information if you
are not using online processing in the demo "Construct" store?
>
> Bob
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: ozbcoz at optushome.com.au (Jim Carey )
Date: Wed, 14 Feb 2001 18:14:34 +1100
Subject: [ic] new user with install difficulties - RAQ3
>
> Search the mailing list archives (developer.akopia.com), I
> remember seeing
> the "Disk quota exceeded" problem regarding RAQ3's before.
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>
is there a search facility - seemed to only see an ability to look at each
months postings - but will search though them anyway - thanks for that
Jim Carey
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Tue, 13 Feb 2001 23:31:34 -0800
Subject: [ic] new user with install difficulties - RAQ3
At 06:14 PM 2/14/2001 +1100, you wrote:
> > Search the mailing list archives (developer.akopia.com), I
> > remember seeing
> > the "Disk quota exceeded" problem regarding RAQ3's before.
> >
> > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>is there a search facility - seemed to only see an ability to look at each
>months postings - but will search though them anyway - thanks for that
Use the "search" textarea in the upper left corner of:
http://developer.akopia.com
It will search the webpage, then click "search in mailing list" for mailing
list results. Then, I usually "sort by" "Time" to get the most recent
responses first.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: ozbcoz at optushome.com.au (Jim Carey )
Date: Wed, 14 Feb 2001 19:11:47 +1100
Subject: [ic] new user with install difficulties - RAQ3
> Use the "search" textarea in the upper left corner of:
> http://developer.akopia.com
> It will search the webpage, then click "search in mailing list"
> for mailing
> list results. Then, I usually "sort by" "Time" to get the most recent
> responses first.
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
Thanks :-)
Jim Carey
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Wed, 14 Feb 2001 09:03:08 +0000
Subject: [ic] thorny shipping problem
Guido Sohne wrote:
>
> Hi,
>
> I'm trying to configure shipping calculations in Interchange to differ
> from product to product. Products are divided into classes (six
> initially). Each class of product has a different shipping calculation
> that corresponds to a shipping method in Interchange.
>
> I can add a field to the products table that specifies the class of the
> product but how do I tell Interchange to sum up the weight of products,
> keeping them separated along class lines, apply the appropriate
> shipping calculation (by weight) to each sum and finally sum up these
> totals to arrive at a final shipping cost ?
>
> Any ideas from the gurus ?
http://www.morpheux.org/minivend/shipd/shipd.html
The above can be used to make shipping as complicated as you want.
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: martyK at gmx.de (Martin Kisser )
Date: Wed, 14 Feb 2001 10:22:55 +0100 (MET)
Subject: [ic] relationships between sku's
Hi George!
The Keywords for that are "item accessoires" and "product pricing" - you
have only one sku with accessoires:
1234 | golf express T-shirt | color=Red*,Blue,Green | size=M,L*,XL |$10.00
the * marks the default value
then you have to fill out the pricing table:
(Header:) sku | M | L | XL | q2 | q5 | q10 ...
(Row:) 1234 0 0 2 0 0 0
the price-difference is shown here
You need to set some tags in the catalog.cfg - have a look in "product
pricing" section of the docs.
You can enter all data in the admin-gui after adding the missing columns to
the pricing-table.
hope that helps...
Martin
> From: "George Schindler" <george@1stomni.com>
> Subject: [ic] relationships between sku's
> Below are the sku's for the model "Golf express t-shirt". We only want to
> display this shirt once on a catalog page, click on the item and then see
> a
> large picture with pull down boxes for what is available for color, size
> and
> price. I only want to enter one picture and description for all sku's in
> the group. Is this possible? Can we do this with the administration gui?
--
Sent through GMX FreeMail - http://www.gmx.net
From: rene at hertell.com (Rene Hertell )
Date: Wed, 14 Feb 2001 14:24:02 +0200 (EET)
Subject: [ic] How do I get rid of the .cgi extension?
Hi List,
I tried to find a simple answer on how to get rid of the
.cgi extension in my catalogs, but with no luck. On my ISP:s machine IC
works only with the .cgi extension, but at home i don't need to have the
extension at all. I have compared the httpd.conf files on my machine and
on my ISP:s server, but I can't see any remarcable difference...
My ISP is running Apache/1.3.14.
Regards, René
From: george at 1stomni.com (George Schindler )
Date: Wed, 14 Feb 2001 13:33:03 +0100
Subject: [ic] How do I get rid of the .cgi extension?
You can use something like this
<Directory "/some/path/to/web/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
and you will not need .cgi ext.
George
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
Hertell
Sent: Wednesday, February 14, 2001 1:24 PM
To: interchange-users@lists.akopia.com
Subject: [ic] How do I get rid of the .cgi extension?
Hi List,
I tried to find a simple answer on how to get rid of the
.cgi extension in my catalogs, but with no luck. On my ISP:s machine IC
works only with the .cgi extension, but at home i don't need to have the
extension at all. I have compared the httpd.conf files on my machine and
on my ISP:s server, but I can't see any remarcable difference...
My ISP is running Apache/1.3.14.
Regards, René
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: george at 1stomni.com (George Schindler )
Date: Wed, 14 Feb 2001 13:41:57 +0100
Subject: [ic] relationships between sku's
Thanks a lot for your answer, at start I want only to create items, where
you will be able to choose color and price will be the same.
1) I install construct something template
2) Go to admin interface and create item with "S=Small, M=Medium, L=Large*,
XL=Extra Large" these things in size field.
3) Apply changes and go to customer site, but there I can't see some option
box for choose one of the large, small....
Please where I make mistake, must I change flypage?
Thanks!
George
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Martin
Kisser
Sent: Wednesday, February 14, 2001 10:23 AM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] relationships between sku's
Hi George!
The Keywords for that are "item accessoires" and "product pricing" - you
have only one sku with accessoires:
1234 | golf express T-shirt | color=Red*,Blue,Green | size=M,L*,XL |$10.00
the * marks the default value
then you have to fill out the pricing table:
(Header:) sku | M | L | XL | q2 | q5 | q10 ...
(Row:) 1234 0 0 2 0 0 0
the price-difference is shown here
You need to set some tags in the catalog.cfg - have a look in "product
pricing" section of the docs.
You can enter all data in the admin-gui after adding the missing columns to
the pricing-table.
hope that helps...
Martin
> From: "George Schindler" <george@1stomni.com>
> Subject: [ic] relationships between sku's
> Below are the sku's for the model "Golf express t-shirt". We only want to
> display this shirt once on a catalog page, click on the item and then see
> a
> large picture with pull down boxes for what is available for color, size
> and
> price. I only want to enter one picture and description for all sku's in
> the group. Is this possible? Can we do this with the administration gui?
--
Sent through GMX FreeMail - http://www.gmx.net
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: rene at hertell.com (Rene Hertell )
Date: Wed, 14 Feb 2001 15:11:15 +0200 (EET)
Subject: [ic] How do I get rid of the .cgi extension?
Can I somehow make the same kind of definitions in the .htaccess-file?
I guess that my ISP wont do this for me... :(
René
On Wed, 14 Feb 2001, George Schindler wrote:
> Date: Wed, 14 Feb 2001 13:33:03 +0100
> From: George Schindler <george@1stomni.com>
> Reply-To: interchange-users@lists.akopia.com
> To: interchange-users@lists.akopia.com
> Subject: RE: [ic] How do I get rid of the .cgi extension?
>
> You can use something like this
>
> <Directory "/some/path/to/web/cgi-bin">
> AllowOverride All
> Options ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
>
> and you will not need .cgi ext.
>
> George
>
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
> Hertell
> Sent: Wednesday, February 14, 2001 1:24 PM
> To: interchange-users@lists.akopia.com
> Subject: [ic] How do I get rid of the .cgi extension?
>
>
> Hi List,
>
> I tried to find a simple answer on how to get rid of the
> .cgi extension in my catalogs, but with no luck. On my ISP:s machine IC
> works only with the .cgi extension, but at home i don't need to have the
> extension at all. I have compared the httpd.conf files on my machine and
> on my ISP:s server, but I can't see any remarcable difference...
> My ISP is running Apache/1.3.14.
>
> Regards, René
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: george at 1stomni.com (George Schindler )
Date: Wed, 14 Feb 2001 14:26:49 +0100
Subject: [ic] How do I get rid of the .cgi extension?
look to http://httpd.apache.org/docs/mod/core.html
they say, that it's possible, but I didn't try this never.
George
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
Hertell
Sent: Wednesday, February 14, 2001 2:11 PM
To: interchange-users@lists.akopia.com
Subject: RE: [ic] How do I get rid of the .cgi extension?
Can I somehow make the same kind of definitions in the .htaccess-file?
I guess that my ISP wont do this for me... :(
René
On Wed, 14 Feb 2001, George Schindler wrote:
> Date: Wed, 14 Feb 2001 13:33:03 +0100
> From: George Schindler <george@1stomni.com>
> Reply-To: interchange-users@lists.akopia.com
> To: interchange-users@lists.akopia.com
> Subject: RE: [ic] How do I get rid of the .cgi extension?
>
> You can use something like this
>
> <Directory "/some/path/to/web/cgi-bin">
> AllowOverride All
> Options ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
>
> and you will not need .cgi ext.
>
> George
>
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
> Hertell
> Sent: Wednesday, February 14, 2001 1:24 PM
> To: interchange-users@lists.akopia.com
> Subject: [ic] How do I get rid of the .cgi extension?
>
>
> Hi List,
>
> I tried to find a simple answer on how to get rid of the
> .cgi extension in my catalogs, but with no luck. On my ISP:s machine IC
> works only with the .cgi extension, but at home i don't need to have the
> extension at all. I have compared the httpd.conf files on my machine and
> on my ISP:s server, but I can't see any remarcable difference...
> My ISP is running Apache/1.3.14.
>
> Regards, René
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: rene at hertell.com (Rene Hertell )
Date: Wed, 14 Feb 2001 15:53:08 +0200 (EET)
Subject: [ic] How do I get rid of the .cgi extension?
Do you know if it can be done without the Options directive? My ISP has
restricted thise directive from all users...
René
On Wed, 14 Feb 2001, George Schindler wrote:
> Date: Wed, 14 Feb 2001 14:26:49 +0100
> From: George Schindler <george@1stomni.com>
> Reply-To: interchange-users@lists.akopia.com
> To: interchange-users@lists.akopia.com
> Subject: RE: [ic] How do I get rid of the .cgi extension?
>
> look to http://httpd.apache.org/docs/mod/core.html
> they say, that it's possible, but I didn't try this never.
> George
>
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
> Hertell
> Sent: Wednesday, February 14, 2001 2:11 PM
> To: interchange-users@lists.akopia.com
> Subject: RE: [ic] How do I get rid of the .cgi extension?
>
>
> Can I somehow make the same kind of definitions in the .htaccess-file?
> I guess that my ISP wont do this for me... :(
>
> René
>
> On Wed, 14 Feb 2001, George Schindler wrote:
>
> > Date: Wed, 14 Feb 2001 13:33:03 +0100
> > From: George Schindler <george@1stomni.com>
> > Reply-To: interchange-users@lists.akopia.com
> > To: interchange-users@lists.akopia.com
> > Subject: RE: [ic] How do I get rid of the .cgi extension?
> >
> > You can use something like this
> >
> > <Directory "/some/path/to/web/cgi-bin">
> > AllowOverride All
> > Options ExecCGI
> > Order allow,deny
> > Allow from all
> > </Directory>
> >
> > and you will not need .cgi ext.
> >
> > George
> >
> > -----Original Message-----
> > From: interchange-users-admin@lists.akopia.com
> > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
> > Hertell
> > Sent: Wednesday, February 14, 2001 1:24 PM
> > To: interchange-users@lists.akopia.com
> > Subject: [ic] How do I get rid of the .cgi extension?
> >
> >
> > Hi List,
> >
> > I tried to find a simple answer on how to get rid of the
> > .cgi extension in my catalogs, but with no luck. On my ISP:s machine IC
> > works only with the .cgi extension, but at home i don't need to have the
> > extension at all. I have compared the httpd.conf files on my machine and
> > on my ISP:s server, but I can't see any remarcable difference...
> > My ISP is running Apache/1.3.14.
> >
> > Regards, René
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: mheins at redhat.com (Mike Heins )
Date: Wed, 14 Feb 2001 09:09:00 -0500
Subject: [ic] Interchange-users guidelines [semi-monthly posting]
interchange-users@lists.akopia.com is a list for users who have questions about
configuring, setting up, and fine tuning Interchange catalogs. Other topics
will include:
- announcements of Interchange releases and fixes
- notification and submission of Interchange bugs
- distributing pages which implement Interchange functions
- discussing the future development of Interchange
- any other topic relating *directly* to Interchange
The list started January 5, 1997 as minivend-users. For an archive of past
articles, see:
http://developer.akopia.com/archive/interchange-users/
Also, because the list has high volume for one of its type, before
posting to the list it is recommended that you use the search feature at:
http://developer.akopia.com/
Many questions can be answered by trying some keywords at this
facility. Try more than one combination.
It is common courtesy when posting to a forum such as this to:
1. Include the version of software you are using, i.e.
Interchange 4.6.1. Bugs are fixed and deficiencies corrected
in each release of Interchange, as with almost any software.
2. Include relevant information where appropriate.
The operating system in question is often relevant, as
is the Perl version and database type in use.
3. When talking about tag problems, include a snippet of ITL
tags which illustrates the problem.
4. When posting about PGP, Glimpse, or anything else that
uses an external command, you need to state what happens
when you run the same thing from the command line.
5. Include error log entries or a statement that there
are none.
If a post to this list doesn't include the relevant information, not only
are you unlikely to get a reasonable answer, you will add to the volume of
the list and make it less likely that reasonable questions are answered.
All entries are archived and available via a web gateway. The
"X-No-Archive: Yes" header is honored if you choose to use it.
List etiquette issues:
-- No HTML mail is allowed. Besides being improper email netiquette,
it destroys the digest.
-- Please try to keep your line size less than 80 characters.
-- No PGP signatures should be used. This is not a legal record.
-- No flame wars are tolerated.
-- No "courtesy copies" unless specifically requested. It
can be annoying to some people to receive two copies of
the same message.
-- If you must munge, make sure you mention this in the
BODY of the message and not buried incomprehensibly in
the header or in a cluttered signature attachment.
-- The list changes the Reply-To: header to point to the
list. While this is by popular demand, it is recognized that it
is not always the best mode of operation. You should reply by email
directly to the sender if the post will not be of general use.
For more information see the Netiquette RFC:
http://www.faqs.org/rfcs/rfc1855.html
Thanks for your cooperation. We believe we have one of the best user
lists going, and we would like to keep it useful and pleasant to use.
From: marc at inuzite.com (Marc Villeneuve )
Date: Wed, 14 Feb 2001 09:41:13 -0500
Subject: [ic] No code for currency in orderlines or transactions
Hi,
I am submitting a proposal right about now for an e-com system, and I am a
bit stomped.
It is common courtesy that when a customer buys something in his own
country, to show the proper price for an item (in his language and
currency), everybody agrees on that. This, Interchange can do, it can
recalculate the amount for a currency (say from USD to CAD, Canadian
dollars), but when this order is posted into the orderline table, there is
nothing in there that says in what currency was the purchase made (so that
the amount is cast in stone, if you say a pair of shoes costs 33.95$ US,
then is it).
So, you end up in the Admin UI in the pending orders page to have totally
false information, in the sense that if you converted the currency before
checking out, the amount is present, but ALWAYS use the same currency sign
(whether that is USD or CAD or FF).
Try it for yourself in the construct something catalog:
Switch it to fr_FR locale (which is French speaking and Francs as the
currency) by using the process/locale path like this:
http://mystore/cgi-bin/construct/process/locale/fr_FR/page/index.html
This will bring you back to the main page, but will switch the store to
fr_FR for your current session.
Try shopping around, prices should have been converted to FF.
Buy something, check out.
Close your browser or start another one (a different one):
Log into the admin UI
cgi-bin/construct/admin/login.html
Go to Pending Orders, and there is your US money being multiplied by the
currency rate factor of FF.
So do I:
- Look for a quick workaround like always using USD (CAD) and only showing
the converted price? This means modifying the fly_page, result page, cart,
checkout, report etc.
- Patch the checkout process to correctly insert into orderline (or
transaction) a currency code and modify the admin UI "en profondeur"
in-depth to accept the currency selected by the customer.
- Go straigth to WebSphere Commerce Suite 5.1 (which correctly handles
multiple currencies), do not pass go, let my client spend another 9000$ US.
Any advice, piece of code, denial ;-) , is appreciated.
Thanks!!!
Marc Villeneuve
Inuzite inc.
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Wed, 14 Feb 2001 17:02:42 +0200
Subject: [ic] Shipping
Hello.
Can this be done?
My shipping cost is based on weight.
But my client want this:
1)If the total is 30000,then no extra weigh cost will be added.
2)If the total is over 100000,shipping will be done with courier with no
extra cost.
Thank u.
Thomas
From: racke at linuxia.de (Stefan Hornburg )
Date: 14 Feb 2001 16:13:06 +0100
Subject: [ic] No code for currency in orderlines or transactions
Marc Villeneuve <marc@inuzite.com> writes:
[...]
>
> - Patch the checkout process to correctly insert into orderline (or
> transaction) a currency code and modify the admin UI "en profondeur"
> in-depth to accept the currency selected by the customer.
>
To modify the inserted data, you just need to change
etc/log_transaction
and that's it.
> - Go straigth to WebSphere Commerce Suite 5.1 (which correctly handles
> multiple currencies), do not pass go, let my client spend another 9000$ US.
This probably leads to protest in other areas, but
that is up to you.
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: chc at mninter.net (Curt Hauge )
Date: Wed, 14 Feb 2001 09:38:28 -0500
Subject: [ic] Tracking previous prices of items on promotion?
I would leave the regular price in the price field and add a sale_price field. Then you won't have to change the price field when a promotion occurs, just fill in the sale_price field. Now use a [if] tag to determine whether there is a value in sale_price. If so, show price as:
Was $49.99 Now $39.99
else:
Now $49.99
This way when the promotion ends, your client has only to remove the price in the sale_price field. Better yet, put a sale_date field in as well and code it so when the date arrives, the sale_price is no longer valid.
Sorry I didn't take the time to write the code, but that should get you going.
Curt Hauge
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Paul Du
Bois
Sent: Tuesday, February 13, 2001 2:15 AM
To: interchange-users@lists.akopia.com
Subject: [ic] Tracking previous prices of items on promotion?
Hi list
OK so I'm a Perl dude, whos been playing with Interchange for the last few
months, and here's a problem for you all:
I've got a client who wants his storefront to display the specials in a kind
of "Was $xx, now $yy" format. That means that I've got to track the old
price somehow. The only way I see clear is by getting clever with the
current item fields, and pasting the old price into say long description
(making sure long desc. contains only the price), changing the actual price
field to the new price, and then using some MML to get it to display nicely.
Before I go ahead with this detour, anyone got a shortcut that does not
involve me having to recode half of IC?
Thanks
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: malcolmw at upshot.com (Webb, Malcolm )
Date: Wed, 14 Feb 2001 09:31:27 -0800
Subject: [ic] interchange dead and subsys locked after install of 4.6.
Hi-
Does anyone have any info about this? I still am not able to get IC 4.6.3
up and running...
-----Original Message-----
From: Webb, Malcolm [mailto:malcolmw@upshot.com]
Sent: Tuesday, February 13, 2001 11:18 AM
To: 'interchange-users@lists.akopia.com'
Subject: [ic] interchange dead and subsys locked after install of
4.6.3-1...
Hi-
I just downloaded the 4.6.3-1.rh6.i386 RPM and installed it, and my
interchange is no longer working. When I go to /etc/rc.d/init.d and do a
./interchange start
I get the confirmation message back
[ OK ]
saying that it has started successfully. But when I try to access construct,
I get interchange's "Server unavailable" message. I followed the
instructions in the mail archives for resolving this message and did a
chmod 4755 construct
on the construct file in my cgi-bin directory, but this did not fix the
problem. A check of the log files in /var/log/interchange revealed that no
errors were being passed to either error.log or construct.error.log.
Going back to /etc/rc.d/init.d and doing a
./interchange status
returned this message: "interchange dead and subsys locked"
So I rebooted the box, and tried again to start interchange - no luck, I
still get "OK" confirmation but it doesn't really start and a status check
shows I'm still getting the same "subsys" error message.
I looked through the mail archives again, and it says that this error may be
related to running interchange with PostgreSQL on the back end, but I am not
running interchange with PostgreSQL (my interchange install is vanilla)
However, I do have minivend installed on this same box, and my minivend IS
configured to use PostgreSQL - but that should not affect interchange right?
Also, prior to installing this latest version of IC, my interchange was
running fine.
Can anyone help?
===========================================
Malcolm Webb
===========================================
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: billr at exgate.tek.com (Bill Randle )
Date: Wed, 14 Feb 2001 09:52:17 -0800
Subject: [ic] interchange dead and subsys locked after install of 4.6. 3-1...
Try doing (as the interchange user, not as root):
% /etc/rc.d/init.d/interchange stop
% rm -f /var/lock/subsys/interchange (remove lock file)
% ls -l /var/lock/subsys/interchange (verify lock file was removed)
% /etc/rc.d/init.d/interchange start
I've noticed at times RedHat does not always cleanup the lock files
(that's the reference to "subsys locked").
-Bill
On Feb 14, 9:31am, Webb, Malcolm wrote:
} Subject: RE: [ic] interchange dead and subsys locked after install of 4.6.
} Hi-
}
} Does anyone have any info about this? I still am not able to get IC 4.6.3
} up and running...
}
}
} -----Original Message-----
} From: Webb, Malcolm [mailto:malcolmw@upshot.com]
} Sent: Tuesday, February 13, 2001 11:18 AM
} To: 'interchange-users@lists.akopia.com'
} Subject: [ic] interchange dead and subsys locked after install of
} 4.6.3-1...
}
}
} Hi-
}
} I just downloaded the 4.6.3-1.rh6.i386 RPM and installed it, and my
} interchange is no longer working. When I go to /etc/rc.d/init.d and do a
}
} ./interchange start
}
} I get the confirmation message back
}
} [ OK ]
}
} saying that it has started successfully. But when I try to access construct,
} I get interchange's "Server unavailable" message. I followed the
} instructions in the mail archives for resolving this message and did a
}
} chmod 4755 construct
}
} on the construct file in my cgi-bin directory, but this did not fix the
} problem. A check of the log files in /var/log/interchange revealed that no
} errors were being passed to either error.log or construct.error.log.
}
} Going back to /etc/rc.d/init.d and doing a
}
} ./interchange status
}
} returned this message: "interchange dead and subsys locked"
}
} So I rebooted the box, and tried again to start interchange - no luck, I
} still get "OK" confirmation but it doesn't really start and a status check
} shows I'm still getting the same "subsys" error message.
}
} I looked through the mail archives again, and it says that this error may be
} related to running interchange with PostgreSQL on the back end, but I am not
} running interchange with PostgreSQL (my interchange install is vanilla)
}
} However, I do have minivend installed on this same box, and my minivend IS
} configured to use PostgreSQL - but that should not affect interchange right?
}
} Also, prior to installing this latest version of IC, my interchange was
} running fine.
}
} Can anyone help?
}
} ===========================================
}
} Malcolm Webb
}
}
} ===========================================
}
}
}
} _______________________________________________
} Interchange-users mailing list
} Interchange-users@lists.akopia.com
} http://lists.akopia.com/mailman/listinfo/interchange-users
}
} _______________________________________________
} Interchange-users mailing list
} Interchange-users@lists.akopia.com
} http://lists.akopia.com/mailman/listinfo/interchange-users
}-- End of excerpt from Webb, Malcolm
From: martyk at gmx.de (Martin Kisser )
Date: Wed, 14 Feb 2001 19:02:25 +0100
Subject: [ic] relationships between sku's
> From: "George Schindler" <george@1stomni.com>
> Subject: RE: [ic] relationships between sku's
>
> Thanks a lot for your answer, at start I want only to create items, where
> you will be able to choose color and price will be the same.
> 1) I install construct something template
> 2) Go to admin interface and create item with "S=Small, M=Medium,
L=Large*,
> XL=Extra Large" these things in size field.
> 3) Apply changes and go to customer site, but there I can't see some
option
> box for choose one of the large, small....
>
> Please where I make mistake, must I change flypage?
hm, i had a look to my flypage and the new "construct"-flypage: For
displaying the accessoires i use (within the HTML-<form>-Tags) :
[if-item-field size]
Größe: [item-accessories size,select,size,products]
[/if-item-field]
[if-item-field color]
Farbe: [item-accessories color,select,color,products]
[/if-item-field]
(using only [item-accessoires color] didn't work)
and i have a tag in the catalog.cfg:
UseModifier color,size
regards,
Martin
From: george at 1stomni.com (George Schindler )
Date: Wed, 14 Feb 2001 19:07:19 +0100
Subject: [ic] relationships between sku's
Thanks, it works now.
George
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Martin
Kisser
Sent: Wednesday, February 14, 2001 7:02 PM
To: interchange-users@lists.akopia.com
Subject: RE: [ic] relationships between sku's
> From: "George Schindler" <george@1stomni.com>
> Subject: RE: [ic] relationships between sku's
>
> Thanks a lot for your answer, at start I want only to create items, where
> you will be able to choose color and price will be the same.
> 1) I install construct something template
> 2) Go to admin interface and create item with "S=Small, M=Medium,
L=Large*,
> XL=Extra Large" these things in size field.
> 3) Apply changes and go to customer site, but there I can't see some
option
> box for choose one of the large, small....
>
> Please where I make mistake, must I change flypage?
hm, i had a look to my flypage and the new "construct"-flypage: For
displaying the accessoires i use (within the HTML-<form>-Tags) :
[if-item-field size]
Größe: [item-accessories size,select,size,products]
[/if-item-field]
[if-item-field color]
Farbe: [item-accessories color,select,color,products]
[/if-item-field]
(using only [item-accessoires color] didn't work)
and i have a tag in the catalog.cfg:
UseModifier color,size
regards,
Martin
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: john at netrom.com (John Vozza )
Date: Wed, 14 Feb 2001 13:09:50 -0500 (EST)
Subject: [ic] Interchange and CCVS
Been searching the archives, STFW and yet I can't seem to find any info on
HOW to make Interchange and CCVS work together.
I see several references that it can be done but nothing as to how.
Will accept any offers of help or pointers to same...
TIA
John
-------------------------------------------------------------------------
NetRom Internet Services 973-208-1339 voice
john@netrom.com 973-208-0942 fax
http://www.netrom.com
-------------------------------------------------------------------------
From: mark.johnson at akopia.com (Mark Johnson )
Date: Wed, 14 Feb 2001 14:29:02 -0500
Subject: [ic] How to have the same sku with different properties.
The item modifier is your friend. In fact, I believe the 'size' field is
a pre-packaged field in the products database.
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference14%2e05
ATP wrote:
>
> Hello,
>
> I would like to be able to have in the checkout the ability to have the same
> sku with different sizes.
>
> Eg. 2 pairs of shoes size 9
> 1 pair of shoes size 7
>
> Can this currently be done without major work?
>
> Jason
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Akopia Professional Services
mark.johnson@akopia.com
703-456-2912
From: allosteric at videotron.ca (Philippe Roche )
Date: Wed, 14 Feb 2001 15:03:02 -0400
Subject: [ic] Double taxes
Hi,
I have a problem with the two sales tax in canada/Quebec(ontario ..etc...)
I've read the announce concerning this problem and find this:
---------------------------------------------------------------------------
This one comes up often enough that we need an FAQ. You need
to use the mv_handling feature.
In shipping.asc:
gst GST [subtotal noformat=1] 0 99999999 x .07
pst PST [subtotal noformat=1] [value state] 0 0 0
pst PST for Alberta AB 0 99999999 x .075
pst PST for Ontario ON 0 99999999 x .08
etc.
pst No PST 0 99999999 0
GST is always applied, but PST can be geographically qualified
on province. The first line just sets up the geographic qualification.
Now just set:
[value name=mv_handling set="gst pst" hide=1]
somewhere at the top of the checkout page.
Finally:
GST: [shipping gst]
PST: [shipping pst]
All of this requires a reconfig of the catalog, of course. And the
state qualification may not work for you, as I happen to know that
Canada can do some funny things with PST exemptions based on postal
code. There you should have a custom usertag to calculate your PST
percentage.
-------------------------------------------------------------------------------
The problem is that it doesnt work with the interchange version(this
solution, i think, is for minivend)...
Did someone solve this problem with interchange...when i try this solution,
i've got a error message like this: no definition for PST&GST put 0,00$
Thank you very much for your help!
Philippe Roche
Molecular biologist
Uqàm, QC, CA
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Wed, 14 Feb 2001 15:01:55 -0500
Subject: [ic] Secure server link fails
> >Got the sucker going, but forgot to put in my link to the secure
> >server. I modified the catalog.cfg file, and copied the construct file
> >from my cgi-bin directory into the secure server's cgi-bin directory. Now
> >when I go to check out, I get:
> >
> >Undefined catalog: /solux/cgi-bin/construct
>
> Add an alias to the catalog definitions in your interchange.cfg
Do I add a second line to the existing file, or do I simply add on to the same line?
For example, now my main interchange.cfg file has:
Catalog construct /home/solux/catalogs/construct /cgi-bin/construct /construct
Do I add another line below it like:
Catalog construct /home/solux/catalogs/construct /secure/cgi-bin/construct /secure/construct
or do I just add lines to the first line?
Bob
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Wed, 14 Feb 2001 15:04:09 -0500
Subject: [ic] Where is credit card info in Construct?
> In the demo the credit card information is never written to disk. You can
> setup pgp and have the information emailed to a certain address, this may be
> the solution you are looking for
Thanks for the reply. Where is this configured? You said that in the demo store it is not saved. Do you mean if I set up another "store", I have the ability to store it on disk?
Bob
From: david at wwns.com (David Wilson )
Date: Wed, 14 Feb 2001 14:02:24 -0600 (CST)
Subject: [ic] Secure server link fails
That should be configured in the catalog.cfg file that is in
/home/solux/catalogs/construct/ directory.
See if the secure URL in the catalog.cfg file is pointing to the wrong
directory.
Dave
Bob Puff@NLE wrote...
>
> > >Got the sucker going, but forgot to put in my link to the secure
> > >server. I modified the catalog.cfg file, and copied the construct file
> > >from my cgi-bin directory into the secure server's cgi-bin directory. Now
> > >when I go to check out, I get:
> > >
> > >Undefined catalog: /solux/cgi-bin/construct
> >
> > Add an alias to the catalog definitions in your interchange.cfg
>
> Do I add a second line to the existing file, or do I simply add on to the same line?
>
> For example, now my main interchange.cfg file has:
>
> Catalog construct /home/solux/catalogs/construct /cgi-bin/construct /construct
>
> Do I add another line below it like:
>
> Catalog construct /home/solux/catalogs/construct /secure/cgi-bin/construct /secure/construct
>
> or do I just add lines to the first line?
>
> Bob
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
--
David R. Wilson
World Wide Network Services
Nashville, Tennessee USA
david@wwns.com
From: rhertz at gyb.baits.com (Ryan Hertz )
Date: Wed, 14 Feb 2001 13:39:17 -0700
Subject: [ic] Secure server link fails
>
> > >Undefined catalog: /solux/cgi-bin/construct
> >
> > Add an alias to the catalog definitions in your interchange.cfg
>
>Do I add a second line to the existing file, or do I simply add on to the
>same line?
>
>For example, now my main interchange.cfg file has:
>
>Catalog construct /home/solux/catalogs/construct /cgi-bin/construct
>/construct
Catalog construct /home/solux/catalogs/construct /cgi-bin/construct
/construct /solux/cgi-bin/construct
should do it, I believe. :-)
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Wed, 14 Feb 2001 23:14:13 +0200
Subject: [ic] HEEEEEEEEEEEEEEELLLLLLLLLLLLPPPPPPPPP!!!
HELP!!!
I was trying to make a new shipping method and i add 17 new fields (from
0-1 =10$, 2-3=11$).
I then "apply changes" and then i when i tried to enter the shipping
page from the UI,the memory from 96MB free dropped to 2The server is
almost running!!!
I tried to reload interchange but i got this error:
Out of memory!
Callback called exit at /etc/rc.d/init.d/interchange line 196.
END failed--cleanup aborted at /etc/rc.d/init.d/interchange line 39.
Callback called exit at /etc/rc.d/init.d/interchange line 39.
END failed--cleanup aborted at /etc/rc.d/init.d/interchange line 97.
Callback called exit at /etc/rc.d/init.d/interchange line 97.
BEGIN failed--compilation aborted at /etc/rc.d/init.d/interchange line
196.
How on earth can i delete the new shipping method i did?Did that caused
that error?????
I would need any help right now.........
Thomas
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Thu, 15 Feb 2001 09:34:48 +0800
Subject: [ic] Uninstalling Interchange
Hi. I was wondering if there was anything else I would be required to do to
completely remove interchange from the server, besides removing the
directories. Are there any more steps to removing interchange?
Bryan
From: chl at inow.com (Choong-Hoong Liew )
Date: Wed, 14 Feb 2001 19:47:25 -0800 (PST)
Subject: [ic] Cant't display item at index.html
Hi,
I have only 15 items , and I have set all of them to "Promotion"
in the index.html, I use the template "Page with top/left/right areas"
and
#########################
set the Horizontal after content to "Random items"
Special tag is "Specials"
and Vertical Component to "Promotion"
Special tag is "New Items"
##################################
after I saved and applied changes, the
horizontal part have all the items showed up at the index.html
but there are no items showed up at the vertical part.
Can anyone give me some hints to solve these problem?
Thanks
Choong
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Wed, 14 Feb 2001 20:15:15 -0800
Subject: [ic] Ideas to substitute for a [query] inside a [query]?
Since Interchange cannot do a [query] inside a [query] (docs say "Nesting:
NO"), what can I use to get the same functionality?
Here's the current code (working):
[query
list=1
st=db
sql=|
SELECT DISTINCT category
FROM products
WHERE hcpcs IN (
SELECT hcpcs
FROM coverage
WHERE carrier_idr = '[value carrier_pri]'
)
ORDER BY category;
|
]
[sql-param category]<BR>
[/query]
It just lists the categories. But I would like to link the categories with
a very specific link, based on some values I get from a different query....
[query
list=1
st=db
sql=|
SELECT DISTINCT category
FROM products
WHERE hcpcs IN (
SELECT hcpcs
FROM coverage
WHERE carrier_idr = '[value carrier_pri]'
)
ORDER BY category;
|
]
[page href="scan"
arg="
fi=products
sp=results
st=db
co=yes
sf=category
se=[query
list=1
st=db
sql=|
SELECT sku
FROM products
WHERE category = '[sql-param category]'
AND hcpcs IN (
SELECT hcpcs
FROM coverage
WHERE carrier_idr = '[value carrier_pri]'
)
ORDER BY category;
|
][sql-param sku]|[/query]"
]
[sql-param category][/page]<BR>
[comment] The above [page] code would result in something like
se=3245|5894|6546|7657|3124| [/comment]
[/query]
Does anyone have any good ideas about what kind of [calc] I should try to
get these kind of results? Is there any code samples already of the
[query] functionality done in perl?
Thanks,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 15 Feb 2001 00:07:43 -0500
Subject: [ic] Ideas to substitute for a [query] inside a [query]?
On Wed, Feb 14, 2001 at 08:15:15PM -0800, Dan B wrote:
> Since Interchange cannot do a [query] inside a [query] (docs say "Nesting:
> NO"), what can I use to get the same functionality?
The issue is not so much nesting as proceedure. The results of
the query are not there when you want them for the next query. You
don't really have a [query] inside a [query].
There are **at least** four things you can do:
1) Figure out how to rewrite the query as a JOIN
2) Try to preprocess and denormalize your tables so you can pull what
you need in one record
3) Make multiple queries and reconcile with perl, eg map %CATEGORIES
result set to %SKU set.
4) Write it as a perl sub so you can make more than one query
and do it based on what the first query returns.
It does not look like you need 4, 2 is a short dead end but very
good in some cases, 1 is the most economical approach, and 3
means you couldn't figure out how to do it right but just have
to get it to work. :-)
I'd bet you could get that to work as a simple JOIN.
We do next to everything in perl (option 4). If you go that route
you want to start looking at glue to the internal database routines.
{
$table ||='products';
$db=$Vend::Database{$table} or
::logGlobal(sprintf(qq`%s: %d ERROR: dbi_query: unknown base table: %s, SQL: %s`,__FILE__,__LINE__,$table,$query));
$db=$db->ref();
$db=$db->[$DBI];
my($sth);
eval {
unless($sth=$db->prepare($query)) {
::logGlobal(" Error: 5 $DBI::errstr on $query") unless ($DBI::errstr=~/specials/); # specials
return;
}
unless($sth->execute()) {
::logGlobal(" Error: 4 $DBI::errstr on $query") unless ($DBI::errstr=~/exist/); # specials
return;
}
# This returns a reference to array of references to arrays
$tmp=$sth->fetchall_arrayref;
};
if ($@||$DBI::errstr) {
::logGlobal("ERROR: 6 array_query croaked, error: $@ $DBI::errstr SQL: $query") unless ($DBI::errstr=~/exist/);
return;
}
if($sth->rows) {
return @{$tmp};
} else {
return;
}
}
>
> Here's the current code (working):
> [query
> list=1
> st=db
> sql=|
> SELECT DISTINCT category
> FROM products
> WHERE hcpcs IN (
> SELECT hcpcs
> FROM coverage
> WHERE carrier_idr = '[value carrier_pri]'
> )
> ORDER BY category;
> |
> ]
> [sql-param category]<BR>
> [/query]
>
> It just lists the categories. But I would like to link the categories with
> a very specific link, based on some values I get from a different query....
>
> [query
> list=1
> st=db
> sql=|
> SELECT DISTINCT category
> FROM products
> WHERE hcpcs IN (
> SELECT hcpcs
> FROM coverage
> WHERE carrier_idr = '[value carrier_pri]'
> )
> ORDER BY category;
> |
> ]
> [page href="scan"
> arg="
> fi=products
> sp=results
> st=db
> co=yes
> sf=category
> se=[query
> list=1
> st=db
> sql=|
> SELECT sku
> FROM products
> WHERE category = '[sql-param category]'
> AND hcpcs IN (
> SELECT hcpcs
> FROM coverage
> WHERE carrier_idr = '[value carrier_pri]'
> )
> ORDER BY category;
> |
> ][sql-param sku]|[/query]"
> ]
> [sql-param category][/page]<BR>
> [comment] The above [page] code would result in something like
> se=3245|5894|6546|7657|3124| [/comment]
> [/query]
>
> Does anyone have any good ideas about what kind of [calc] I should try to
> get these kind of results? Is there any code samples already of the
> [query] functionality done in perl?
>
> Thanks,
>
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Wed, 14 Feb 2001 21:33:19 -0800
Subject: [ic] Ideas to substitute for a [query] inside a [query]?
Thanks for the reply Christopher F. Miller,
At 12:07 AM 2/15/2001 -0500, you wrote:
>On Wed, Feb 14, 2001 at 08:15:15PM -0800, Dan B wrote:
> > Since Interchange cannot do a [query] inside a [query] (docs say "Nesting:
> > NO"), what can I use to get the same functionality?
>
>There are **at least** four things you can do:
>1) Figure out how to rewrite the query as a JOIN
I would really love to do this, but I didn't think a JOIN would apply to my
situation. Here's psuedocode for what I'm trying to do:
SELECT category WHERE x = y
display category1
SELECT skus WHERE x = category1 AND x = y
display sku1
display sku2
display sku3
display sku4
display category2
SELECT skus WHERE x = category2 AND x = y
display sku1
display sku2
display sku3
display sku4
display category3
SELECT skus WHERE x = category3 AND x = y
display sku1
display sku2
display sku3
display sku4
Is there anyway to get the above result from one SQL query?
>2) Try to preprocess and denormalize your tables so you can pull what
>you need in one record
(Probably as a last resort).
>3) Make multiple queries and reconcile with perl, eg map %CATEGORIES
>result set to %SKU set.
I was thinking about doing this type of thing, but it seems like #4 is
easier. Besides, I'm not sure where to get started (kind of like #4).
>4) Write it as a perl sub so you can make more than one query
>and do it based on what the first query returns.
>
>It does not look like you need 4, 2 is a short dead end but very
>good in some cases, 1 is the most economical approach, and 3
>means you couldn't figure out how to do it right but just have
>to get it to work. :-)
>
>I'd bet you could get that to work as a simple JOIN.
>
>We do next to everything in perl (option 4). If you go that route
>you want to start looking at glue to the internal database routines.
Thanks for your help! I'm going to get cracking on that perl code.
-Dan Browning
>{
> $table ||='products';
>
> $db=$Vend::Database{$table} or
> ::logGlobal(sprintf(qq`%s: %d ERROR: dbi_query: unknown base
> table: %s, SQL: %s`,__FILE__,__LINE__,$table,$query));
>
> $db=$db->ref();
> $db=$db->[$DBI];
> my($sth);
> eval {
> unless($sth=$db->prepare($query)) {
> ::logGlobal(" Error: 5 $DBI::errstr on $query") unless
> ($DBI::errstr=~/specials/); # specials
> return;
> }
> unless($sth->execute()) {
> ::logGlobal(" Error: 4 $DBI::errstr on $query") unless
> ($DBI::errstr=~/exist/); # specials
> return;
> }
>
> # This returns a reference to array of references to arrays
> $tmp=$sth->fetchall_arrayref;
> };
> if ($@||$DBI::errstr) {
> ::logGlobal("ERROR: 6 array_query croaked, error: $@ $DBI::errstr
> SQL: $query") unless ($DBI::errstr=~/exist/);
> return;
> }
> if($sth->rows) {
> return @{$tmp};
> } else {
> return;
> }
>}
>
> >
> > Here's the current code (working):
> > [query
> > list=1
> > st=db
> > sql=|
> > SELECT DISTINCT category
> > FROM products
> > WHERE hcpcs IN (
> > SELECT hcpcs
> > FROM coverage
> > WHERE carrier_idr = '[value
> carrier_pri]'
> > )
> > ORDER BY category;
> > |
> > ]
> > [sql-param category]<BR>
> > [/query]
> >
> > It just lists the categories. But I would like to link the categories
> with
> > a very specific link, based on some values I get from a different query....
> >
> > [query
> > list=1
> > st=db
> > sql=|
> > SELECT DISTINCT category
> > FROM products
> > WHERE hcpcs IN (
> > SELECT hcpcs
> > FROM coverage
> > WHERE carrier_idr = '[value
> carrier_pri]'
> > )
> > ORDER BY category;
> > |
> > ]
> > [page href="scan"
> > arg="
> > fi=products
> > sp=results
> > st=db
> > co=yes
> > sf=category
> > se=[query
> > list=1
> > st=db
> > sql=|
> > SELECT sku
> > FROM products
> > WHERE category = '[sql-param category]'
> > AND hcpcs IN (
> > SELECT hcpcs
> > FROM coverage
> > WHERE carrier_idr = '[value
> carrier_pri]'
> > )
> > ORDER BY category;
> > |
> > ][sql-param sku]|[/query]"
> > ]
> > [sql-param category][/page]<BR>
> > [comment] The above [page] code would result in something like
> > se=3245|5894|6546|7657|3124| [/comment]
> > [/query]
> >
> > Does anyone have any good ideas about what kind of [calc] I should try to
> > get these kind of results? Is there any code samples already of the
> > [query] functionality done in perl?
> >
> > Thanks,
> >
> >
> > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>--
>
>Christopher F. Miller, Publisher cfm@maine.com
>MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
>1.207.657.5078 http://www.maine.com/
>Content management, electronic commerce, internet integration, Debian linux
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: chet at pressler.com (Chet Pressler )
Date: Wed, 14 Feb 2001 21:46:11 -0800
Subject: [ic] Upgrade Problems
Since I upgraded to 4.6.3, The makecat is not creating the database tables.
The database is created though.
1) Is there a way to manualy create tables after running makecat
2) Where in makecat do the tables get created.
My system was working fine with 4.6.2 with creating tables with mysql. Any
suggestions on where to start looking?
My DBI seems to work fine on its own to mysql thru some scripts.
Chet Pressler
Pressler Inc. Video Systems Specialists http://www.pressler.com/
8170 S. Eastern Avenue, Suite 196, Las Vegas, NV 89123
950 Comstock Street, Santa Clara CA 95054
702-616-3760 Voice
801-383-3908 FAX
702-493-6098 Cell (pager e-mail 7024936098@mobile.att.net)
email - chet@pressler.com
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Wed, 14 Feb 2001 22:02:26 -0800
Subject: [ic] Ideas to substitute for a [query] inside a [query]?
At 12:07 AM 2/15/2001 -0500, you wrote:
>We do next to everything in perl (option 4). If you go that route
>you want to start looking at glue to the internal database routines.
>
>
>{
> $table ||='products';
>
> $db=$Vend::Database{$table} or
> ::logGlobal(sprintf(qq`%s: %d ERROR: dbi_query: unknown base
> table: %s, SQL: %s`,__FILE__,__LINE__,$table,$query));
>
> $db=$db->ref();
> $db=$db->[$DBI];
> my($sth);
> eval {
> unless($sth=$db->prepare($query)) {
> ::logGlobal(" Error: 5 $DBI::errstr on $query") unless
> ($DBI::errstr=~/specials/); # specials
> return;
> }
> unless($sth->execute()) {
> ::logGlobal(" Error: 4 $DBI::errstr on $query") unless
> ($DBI::errstr=~/exist/); # specials
> return;
> }
>
> # This returns a reference to array of references to arrays
> $tmp=$sth->fetchall_arrayref;
> };
> if ($@||$DBI::errstr) {
> ::logGlobal("ERROR: 6 array_query croaked, error: $@ $DBI::errstr
> SQL: $query") unless ($DBI::errstr=~/exist/);
> return;
> }
> if($sth->rows) {
> return @{$tmp};
> } else {
> return;
> }
>}
Is this code exec'able in a [mvasp tables="products"]<% %>[/mvasp]?
It would be nice (especially for debugging).
Here's what I get in CATROOT/error.log
10.0.0.103 v53CRicP:10.0.0.103 - [14/February/2001:21:40:49 -0800] ds25
/cgi-bin/ds25/process.html Safe: eval string tra
pped by operation mask at (eval 319) line 31.
>
> ; my $html = <<'_MV_ASP_EOF981849053';
>
>
> _MV_ASP_EOF981849053
> chop($html);
> HTML( $html );
>
> $Document->write ("<BR>---<BR>");
>
> if (1){
> $table ||='products';
>
> $db=$Vend::Database{$table} or
> ::logGlobal(sprintf(qq`%s: %d ERROR: dbi_query: unknown base
table: %s, SQL: %s`,,,$table,$query));
>
> $db=$db->ref();
> $db=$db->[$DBI];
> my($sth);
> eval {
> unless($sth=$db->prepare($query)) {
> ::logGlobal(" Error: 5 $DBI::errstr on $query") unless
($DBI::errstr=~/specials/); # specials
> return;
> }
> unless($sth->execute()) {
> ::logGlobal(" Error: 4 $DBI::errstr on $query") unless
($DBI::errstr=~/exist/); # specials
> return;
> }
>
> # This returns a reference to array of references to arrays
> $tmp=$sth->fetchall_arrayref;
> };
> if ($@||$DBI::errstr) {
> ::logGlobal("ERROR: 6 array_query croaked, error: $@
$DBI::errstr SQL: $query") unless ($DBI::errstr=~/exist/)
;
> return;
> }
> if($sth->rows) {
> return @{$tmp};
> } else {
> return;
> }
> }
> ;
> ; my $html = <<'_MV_ASP_EOF981849053';
>
>
> _MV_ASP_EOF981849053
> chop($html);
> HTML( $html );
>
>
10.0.0.103 v53CRicP:10.0.0.103 - [14/February/2001:21:40:49 -0800] ds25
/cgi-bin/ds25/process.html Runtime error: Can't
call method "open_table" on an undefined value at
/usr/local/ic46-jan25/lib/Vend/Data.pm line 872.
Thanks again for your help,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: chl at inow.com (Choong-Hoong Liew )
Date: Wed, 14 Feb 2001 22:46:56 -0800 (PST)
Subject: [ic] Item can't display at Vertical Component
Hi,
I have only 15 items , and I have set all of them to "Promotion" at the
admin site.
At the index.html, I use the template "Page with top/left/right areas"
and
#########################
set the Horizontal after content to "Random items"
Special tag is "Specials"
and Vertical Component to "Promotion"
Special tag is "New Items"
##################################
after I saved and applied changes, the
horizontal part have all the items showed up at the index.html
but there are no items showed up at the vertical part.
I have been searching at the akopia archive for 9 hours, still can't find
any helpful info.
I decided to post this message again, hoping
someone can give me some hints to solve these problems.
Thanks
Choong
Choong-Hoong Liew
ImaginOn - Buy your Internet TV station from us!
http://www.ImOn.com
Tel: 408-946-6895
Fax: 408-946-6899
From: 6tc1 at qlink.queensu.ca (Timothy Cassidy )
Date: Thu, 15 Feb 2001 01:49:08 -0500 (EST)
Subject: [ic] Want to use new module/library in embedded Perl code
Hey thanks alot for the advice - I'm now able to call procedures in user
tags, but I still don't seem to be able to "use" my JVM module. I tried
using the "use" syntax:
UserTag java_code Routine <<EOF
sub {
use JVM;
return "testy testy";
}
EOF
But this didn't work and nothing gets reported in my:
/tmp/icdebug
file except for a log of when I restart the server:
Start DEBUG at Thu Feb 15 00:10:50 2001
Anyway, after that failed, I tried to adapt your shipping subroutine that
you sent me to my purposes:
UserTag java_code Routine <<EOF
sub {
require MV::JVM;
return "testy testy";
}
EOF
This also didn't work - is there any sort of a tutorial on the syntax of
writing these subroutines? Specifically on how to import modules. Once I
have access to the JVM module, I know the code I need to write in perl.
Thanks for all of your help,
Tim Cassidy
On Mon, 12 Feb 2001 cfm@maine.com wrote:
> > The best I was able to do was create a GlobalSub in the interchange.cfg
> > file:
> >
> > GlobalSub <<EOF
> > sub count_orders {
> > return "this is returned from count_orders subroutine.\n";
> > }
> > EOF
>
> You don't have these modules, but the syntax is the same.
> I'm pretty sure you can "use" (vs "require").
>
>
> #############
> ## merchants_shipping
>
> UserTag merchants_shipping Order base
> UserTag merchants_shipping Routine <<EOF
> sub {
> require MV::Merchants;
> require MV::Shipping;
> my($M,$adj,%opt);
>
> $opt{config}=$Vend::Cfg->{CatalogName};
> $adj=0;
> $M=&MV::Merchants::load_merchant(\%opt,$Vend::Session->{values}); # stubbed everywhere
> $opt{shipping_rules}=$M->{$opt{config}}{shipping_rules} if defined($M);
> $adj+=&MV::Shipping::base_item_shipping(\%opt,$opt{shipping_rules}) if ($opt{shipping_rules});
> $adj+=&MV::Shipping::extra_item_shipping(\%opt,$opt{shipping_rules}) if ($opt{shipping_rules});
> $adj+=&MV::Shipping::gift_certificate_shipping(\%opt,$opt{shipping_rules}) if ($opt{shipping_rules});
> return $adj;
> }
> EOF
>
> Frankly, I think
> the issue is you are taking too big a first bite. Write a
> little perl module that just opens, writes and closes a file.
> Call that perl module. Get it to work. They are all the same
> after that.
>
> > So then I tried creating a regular subroutine in the interchange.cfg file:
> > Sub <<EOF
> > sub sort_cart_by_quantity {
> > my $out = 'This is a test!!!';
> > return $out;
> > }
> > EOF
> >
> > But again I couldn't call it from my embedded perl code in my html pages:
> > [perl]
> > return sort_cart_by_quantity();
> > [/perl]
>
> Is that right? I bet you created a nameless sub that has
> a compiled sub in it, sort_cart_by_quantity. I'm not sure about
> that Sub syntax in cfg - never used it. Check Config.pm and see
> how it gets parsed.
>
>
> --
>
> Christopher F. Miller, Publisher cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> 1.207.657.5078 http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Wed, 14 Feb 2001 23:58:00 -0800
Subject: [ic] Want to use new module/library in embedded Perl code
At 01:49 AM 2/15/2001 -0500, you wrote:
>Hey thanks alot for the advice - I'm now able to call procedures in user
>tags, but I still don't seem to be able to "use" my JVM module. I tried
>using the "use" syntax:
>
>UserTag java_code Routine <<EOF
>sub {
> use JVM;
>return "testy testy";
>
>}
>EOF
>
>But this didn't work and nothing gets reported in my:
>/tmp/icdebug
>file except for a log of when I restart the server:
>Start DEBUG at Thu Feb 15 00:10:50 2001
>
>Anyway, after that failed, I tried to adapt your shipping subroutine that
>you sent me to my purposes:
>
>UserTag java_code Routine <<EOF
>sub {
> require MV::JVM;
>return "testy testy";
>
>}
>EOF
>
>This also didn't work - is there any sort of a tutorial on the syntax of
>writing these subroutines? Specifically on how to import modules. Once I
>have access to the JVM module, I know the code I need to write in perl.
>
>Thanks for all of your help,
>Tim Cassidy
Does it help if you set AllowGlobal mode for your catalog?
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference24%2e04
>On Mon, 12 Feb 2001 cfm@maine.com wrote:
>
> > > The best I was able to do was create a GlobalSub in the interchange.cfg
> > > file:
> > >
> > > GlobalSub <<EOF
> > > sub count_orders {
> > > return "this is returned from count_orders subroutine.\n";
> > > }
> > > EOF
> >
> > You don't have these modules, but the syntax is the same.
> > I'm pretty sure you can "use" (vs "require").
> >
> >
> > #############
> > ## merchants_shipping
> >
> > UserTag merchants_shipping Order base
> > UserTag merchants_shipping Routine <<EOF
> > sub {
> > require MV::Merchants;
> > require MV::Shipping;
> > my($M,$adj,%opt);
> >
> > $opt{config}=$Vend::Cfg->{CatalogName};
> > $adj=0;
> >
> $M=&MV::Merchants::load_merchant(\%opt,$Vend::Session->{values}); #
> stubbed everywhere
> > $opt{shipping_rules}=$M->{$opt{config}}{shipping_rules} if
> defined($M);
> >
> $adj+=&MV::Shipping::base_item_shipping(\%opt,$opt{shipping_rules}) if
> ($opt{shipping_rules});
> >
> $adj+=&MV::Shipping::extra_item_shipping(\%opt,$opt{shipping_rules}) if
> ($opt{shipping_rules});
> >
> $adj+=&MV::Shipping::gift_certificate_shipping(\%opt,$opt{shipping_rules})
> if ($opt{shipping_rules});
> > return $adj;
> > }
> > EOF
> >
> > Frankly, I think
> > the issue is you are taking too big a first bite. Write a
> > little perl module that just opens, writes and closes a file.
> > Call that perl module. Get it to work. They are all the same
> > after that.
> >
> > > So then I tried creating a regular subroutine in the interchange.cfg
> file:
> > > Sub <<EOF
> > > sub sort_cart_by_quantity {
> > > my $out = 'This is a test!!!';
> > > return $out;
> > > }
> > > EOF
> > >
> > > But again I couldn't call it from my embedded perl code in my html pages:
> > > [perl]
> > > return sort_cart_by_quantity();
> > > [/perl]
> >
> > Is that right? I bet you created a nameless sub that has
> > a compiled sub in it, sort_cart_by_quantity. I'm not sure about
> > that Sub syntax in cfg - never used it. Check Config.pm and see
> > how it gets parsed.
> >
> >
> > --
> >
> > Christopher F. Miller, Publisher cfm@maine.com
> > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> > 1.207.657.5078 http://www.maine.com/
> > Content management, electronic commerce, internet integration, Debian linux
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: paul at dotz.co.za (Paul Du Bois )
Date: Thu, 15 Feb 2001 10:03:56 +0200
Subject: [ic] Re : Tracking previous prices of items on promotion?
Thanks Curt, I appreciate the help. Adding a field is a good idea, but I'm
just wondering how 'dangerous' is that? Which script do I edit to add it
in, and will I compromise the system? I guess I would have to alter the
products MySQL table too. Basically I'm scared of messing up my IC install.
Any pointers before I jump in?
Paul Du Bois
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 15 Feb 2001 02:01:12 -0800
Subject: [ic] Ideas to substitute for a [query] inside a [query]?
Solved it, works perfect. :-) Thanks to Christopher F. Miller and the
mailing list archive. Hopefully this will come in handy to the next person
searching the archives.
[query
list=1
st=db
sql=|
SELECT DISTINCT category
FROM products
WHERE hcpcs IN (
SELECT hcpcs
FROM coverage
WHERE carrier_idr = '[value carrier_pri]'
)
ORDER BY category;
|
]
[set this_cat_search][sql-param category][/set]
[seti covered_sku_list][mvasp tables="products"]<%
my $dbh = $Sql{products};
my $sql_query = "SELECT sku FROM products WHERE category =
'$Scratch->{this_cat_search}' AND hcpcs IN ( SELECT hcpcs FROM coverage
WHERE carrier_idr = '$Values->{carrier_pri}') ORDER BY category;";
my $sth = $dbh->prepare($sql_query)
or return error_message("can't open products database");
my $rc = $sth->execute()
or return HTML("can't open products database");
while ( $sku = $sth->fetchrow_arrayref() ) {
HTML("$sku->[0]|");
}
return;
%>[/mvasp][/seti]
[page href="scan"
arg="
fi=products
sp=results
st=db
co=yes
sf=sku
se=[scratch covered_sku_list]nada
"]
[sql-param category]
[/page]
<BR>
[/query]
At 08:15 PM 2/14/2001 -0800, you wrote:
>Since Interchange cannot do a [query] inside a [query] (docs say "Nesting:
>NO"), what can I use to get the same functionality?
>
>Here's the current code (working):
>[query
> list=1
> st=db
> sql=|
> SELECT DISTINCT category
> FROM products
> WHERE hcpcs IN (
> SELECT hcpcs
> FROM coverage
> WHERE carrier_idr = '[value carrier_pri]'
> )
> ORDER BY category;
> |
>]
> [sql-param category]<BR>
>[/query]
>
>It just lists the categories. But I would like to link the categories
>with a very specific link, based on some values I get from a different
>query....
>
>[query
> list=1
> st=db
> sql=|
> SELECT DISTINCT category
> FROM products
> WHERE hcpcs IN (
> SELECT hcpcs
> FROM coverage
> WHERE carrier_idr = '[value carrier_pri]'
> )
> ORDER BY category;
> |
>]
> [page href="scan"
> arg="
> fi=products
> sp=results
> st=db
> co=yes
> sf=category
> se=[query
> list=1
> st=db
> sql=|
> SELECT sku
> FROM products
> WHERE category = '[sql-param category]'
> AND hcpcs IN (
> SELECT hcpcs
> FROM coverage
> WHERE carrier_idr = '[value carrier_pri]'
> )
> ORDER BY category;
> |
> ][sql-param sku]|[/query]"
> ]
> [sql-param category][/page]<BR>
> [comment] The above [page] code would result in something like
> se=3245|5894|6546|7657|3124| [/comment]
>[/query]
>
>Does anyone have any good ideas about what kind of [calc] I should try to
>get these kind of results? Is there any code samples already of the
>[query] functionality done in perl?
>
>Thanks,
>
>
>Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Thu, 15 Feb 2001 11:45:38 +0000
Subject: [ic] order_number strangness
When oerdering products the order number on the orderemail (report) is always
one more than the order number in the email to the customer ( ie the email
version of the receipt.html) and the order number in the page dispayed at the
end of the order.
I'm using Routes to generate the report and receipt.html.
Any one else seen this?
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Thu, 15 Feb 2001 13:00:44 +0000
Subject: [ic] BUG : In Order::route_order
Setup
--------
Apache 1.3.14 ssl php4
RH 7.0
2.2.18
Interchange 4.6.3 rpm
Perl 5.6
Synopsis
---------
if we have ...
Route shop reply shopping@scotweb.ltd.uk
Route shop counter /var/lib/interchange/catalogs/shop/www/pages/ord/order_number
Route shop supplant 1
Route shop increment 0
Route shop receipt /var/lib/interchange/catalogs/shop/www/pages/ord/receipt.html
Route shop report /var/lib/interchange/catalogs/shop/www/pages/ord/report.html
Route shop email murray@scotweb.ltd.uk
Then there is a difference of 1 on the reporting of the order number between the
recipt.html and the order report emailed out.
Vend::Order:debug: Doing Route for ARRAY(0x8452c2c)
Vend::Order:debug: Order counter :
Vend::Order:debug: Doing Route for ARRAY(0x8bea93c)
Vend::Order:debug: Order counter : 000011
Vend::Order:debug: Order counter at PROCESS : 000011
Vend::Order:debug: Order counter at PROCESS:counter 1 : 000011
Vend::Order:debug: $route->{counter} =
/var/lib/interchange/catalogs/shop/www/pages/ord/order_number
Vend::Order:debug: Order counter at PROCESS:counter 2 : 000011
Source of problem
------------------
Order.pm
in method route_order()
in block labeled PROCESS
snip--------
elsif($route->{counter}) {
$::Values->{mv_order_number} =
counter_number($route->{counter});
}
-------snip
Fix
----
Change above snip to
snip ------
elsif($route->{counter}) {
#::logDebug('Order counter at PROCESS:counter 1 :
'.$::Values->{mv_order_number});
#::logDebug('$route->{counter} = '.$route->{counter});
# add one to the counter number only if increment is true;
if($route->{increment}){
$::Values->{mv_order_number} = counter_number($route->{counter});
}
#::logDebug('Order counter at PROCESS:counter 2 :
'.$::Values->{mv_order_number});
}
-------snip
NB : The order number will still increment as expected.
Yours
Murray
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 15 Feb 2001 09:25:43 -0500
Subject: [ic] Ideas to substitute for a [query] inside a [query]?
On Wed, Feb 14, 2001 at 09:33:19PM -0800, Dan B wrote:
> Thanks for the reply Christopher F. Miller,
>
> At 12:07 AM 2/15/2001 -0500, you wrote:
> >On Wed, Feb 14, 2001 at 08:15:15PM -0800, Dan B wrote:
> > > Since Interchange cannot do a [query] inside a [query] (docs say "Nesting:
> > > NO"), what can I use to get the same functionality?
> >
> >There are **at least** four things you can do:
> >1) Figure out how to rewrite the query as a JOIN
>
> I would really love to do this, but I didn't think a JOIN would apply to my
> situation. Here's psuedocode for what I'm trying to do:
>
> SELECT category WHERE x = y
> display category1
> SELECT skus WHERE x = category1 AND x = y
> display sku1
> display sku2
> display sku3
> display sku4
> display category2
> SELECT skus WHERE x = category2 AND x = y
> display sku1
> display sku2
> display sku3
> display sku4
> display category3
> SELECT skus WHERE x = category3 AND x = y
> display sku1
> display sku2
> display sku3
> display sku4
>
> Is there anyway to get the above result from one SQL query?
SELECT category,skus WHERE x=y ORDER BY category;
while (@return) {
display_category if (new_category);
display_item
}
Maybe they are in different tables?
SELECT categories.category,products.skus WHERE products.category=categories.category AND x=y ORDER BY categories.category;
That will work the first time and then bite you big time when you
want to put an item into n categories. That wants a three table
join (at least) where you keep the 1:n relation of product to category
separate from products table.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 15 Feb 2001 09:30:36 -0500
Subject: [ic] Ideas to substitute for a [query] inside a [query]?
On Thu, Feb 15, 2001 at 02:01:12AM -0800, Dan B wrote:
> Solved it, works perfect. :-) Thanks to Christopher F. Miller and the
> mailing list archive. Hopefully this will come in handy to the next person
> searching the archives.
That's probably relatively safe. Still I'd suggest you make it policy to
encapsulate anything that uses minivend internals in a separate perl
library and not in the pages. Otherwise you will be in deep mess
when you need to upgrade and something has changed.
>
> [query
> list=1
> st=db
> sql=|
> SELECT DISTINCT category
> FROM products
> WHERE hcpcs IN (
> SELECT hcpcs
> FROM coverage
> WHERE carrier_idr = '[value carrier_pri]'
> )
> ORDER BY category;
> |
> ]
> [set this_cat_search][sql-param category][/set]
> [seti covered_sku_list][mvasp tables="products"]<%
> my $dbh = $Sql{products};
> my $sql_query = "SELECT sku FROM products WHERE category =
> '$Scratch->{this_cat_search}' AND hcpcs IN ( SELECT hcpcs FROM coverage
> WHERE carrier_idr = '$Values->{carrier_pri}') ORDER BY category;";
> my $sth = $dbh->prepare($sql_query)
> or return error_message("can't open products database");
> my $rc = $sth->execute()
> or return HTML("can't open products database");
> while ( $sku = $sth->fetchrow_arrayref() ) {
> HTML("$sku->[0]|");
> }
> return;
> %>[/mvasp][/seti]
>
> [page href="scan"
> arg="
> fi=products
> sp=results
> st=db
> co=yes
> sf=sku
> se=[scratch covered_sku_list]nada
> "]
> [sql-param category]
> [/page]
> <BR>
> [/query]
>
>
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Thu, 15 Feb 2001 14:36:24 +0000
Subject: [ic] BUG : In Order::route_order
Murray Gibbins wrote:
find patches at
http://www.morpheux.org/interchange/
Yours
Murray
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 15 Feb 2001 09:43:03 -0500
Subject: [ic] Want to use new module/library in embedded Perl code
On Wed, Feb 14, 2001 at 11:58:00PM -0800, Dan B wrote:
> At 01:49 AM 2/15/2001 -0500, you wrote:
> >Hey thanks alot for the advice - I'm now able to call procedures in user
> >tags, but I still don't seem to be able to "use" my JVM module. I tried
> >using the "use" syntax:
> >
> >UserTag java_code Routine <<EOF
> >sub {
> > use JVM;
> >return "testy testy";
> >
> >}
> >EOF
> >
> >But this didn't work and nothing gets reported in my:
> >/tmp/icdebug
> >file except for a log of when I restart the server:
> >Start DEBUG at Thu Feb 15 00:10:50 2001
> >
> >Anyway, after that failed, I tried to adapt your shipping subroutine that
> >you sent me to my purposes:
> >
> >UserTag java_code Routine <<EOF
> >sub {
> > require MV::JVM;
> >return "testy testy";
> >
> >}
> >EOF
> >
> >This also didn't work - is there any sort of a tutorial on the syntax of
> >writing these subroutines? Specifically on how to import modules. Once I
> >have access to the JVM module, I know the code I need to write in perl.
MV::JVM is probably not going to work for you unless you have a directory
MV in the @INC. Ours is /usr/lib/perl5/MV where we keep our custom
minivend libraries; I doubt you have that. And unless you run Debian linux
/usr/lib/perl5 is probably not even in your @INC.
See what your @INC is with something like this: I'm not sure if it
runs afoul of Safe in a stock install or not.
[perl]
{
return join '<BR>',@INC,'<BR>';
}
[/perl]
I'd suggest you NOT use "MV". There is no reason to clutter your life with
our legacy code and conventions.
See bin/interchange for how to use perl modules. Just put your JVM module
there and restart. Odds are you are not changing that module, right?
> >
> >Thanks for all of your help,
> >Tim Cassidy
>
> Does it help if you set AllowGlobal mode for your catalog?
You need that sometimes; I don't think it is completely consistent. (We're
still at 4.03 - YMMV.)
>
> http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference24%2e04
>
>
>
> >On Mon, 12 Feb 2001 cfm@maine.com wrote:
> >
> > > > The best I was able to do was create a GlobalSub in the interchange.cfg
> > > > file:
> > > >
> > > > GlobalSub <<EOF
> > > > sub count_orders {
> > > > return "this is returned from count_orders subroutine.\n";
> > > > }
> > > > EOF
> > >
> > > You don't have these modules, but the syntax is the same.
> > > I'm pretty sure you can "use" (vs "require").
> > >
> > >
> > > #############
> > > ## merchants_shipping
> > >
> > > UserTag merchants_shipping Order base
> > > UserTag merchants_shipping Routine <<EOF
> > > sub {
> > > require MV::Merchants;
> > > require MV::Shipping;
> > > my($M,$adj,%opt);
> > >
> > > $opt{config}=$Vend::Cfg->{CatalogName};
> > > $adj=0;
> > >
> > $M=&MV::Merchants::load_merchant(\%opt,$Vend::Session->{values}); #
> > stubbed everywhere
> > > $opt{shipping_rules}=$M->{$opt{config}}{shipping_rules} if
> > defined($M);
> > >
> > $adj+=&MV::Shipping::base_item_shipping(\%opt,$opt{shipping_rules}) if
> > ($opt{shipping_rules});
> > >
> > $adj+=&MV::Shipping::extra_item_shipping(\%opt,$opt{shipping_rules}) if
> > ($opt{shipping_rules});
> > >
> > $adj+=&MV::Shipping::gift_certificate_shipping(\%opt,$opt{shipping_rules})
> > if ($opt{shipping_rules});
> > > return $adj;
> > > }
> > > EOF
> > >
> > > Frankly, I think
> > > the issue is you are taking too big a first bite. Write a
> > > little perl module that just opens, writes and closes a file.
> > > Call that perl module. Get it to work. They are all the same
> > > after that.
> > >
> > > > So then I tried creating a regular subroutine in the interchange.cfg
> > file:
> > > > Sub <<EOF
> > > > sub sort_cart_by_quantity {
> > > > my $out = 'This is a test!!!';
> > > > return $out;
> > > > }
> > > > EOF
> > > >
> > > > But again I couldn't call it from my embedded perl code in my html pages:
> > > > [perl]
> > > > return sort_cart_by_quantity();
> > > > [/perl]
> > >
> > > Is that right? I bet you created a nameless sub that has
> > > a compiled sub in it, sort_cart_by_quantity. I'm not sure about
> > > that Sub syntax in cfg - never used it. Check Config.pm and see
> > > how it gets parsed.
> > >
> > >
> > > --
> > >
> > > Christopher F. Miller, Publisher cfm@maine.com
> > > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> > > 1.207.657.5078 http://www.maine.com/
> > > Content management, electronic commerce, internet integration, Debian linux
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 15 Feb 2001 10:13:00 -0500
Subject: [ic] Dragging around static data
Re dragging around static data
This is probably a mikeh question, but it might be useful or answerable
by others. :-)
Our standard catalog uses a site configuration hash %SC (includes
a DTD) and a merchant configuration hash %M (includes all the various
payment and display options for any particular "merchant"). A merchant
is more or less a cart, so it's a hash of hashes. The %SC hash is
too, holding both default and client specific data.
We've been loading these into session. The %SC is about 15kb and the
%M is about 2kb. Any session will have 2 %SC hashes (the catalog and
the default) and at least 2 %M hashes (catalog, default, and more if
there are other carts). Now this system is stabilizing I'm wanting to
tuck it into ::Vend somewhere outside of the session and load it at
start up (or cache it along the way).
I'm wondering if anyone could help me out and share some thoughts on
where might be the best place to put this? ::Vend::Cfg comes to mind,
but so does ::Vend::MS where it can stay "encapsulated". Or maybe it
belongs in our modules that handle the relevant data (eg MV::SC); I'm
leaning toward that. Maybe it's not a big deal; just that I've had plenty
of experience cleaning up ad hoc choices and I want to avoid that.
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: allosteric at videotron.ca (Philippe Roche )
Date: Thu, 15 Feb 2001 10:21:31 -0400
Subject: [ic] Tax&Shipping!!!
Hi,
I have a problem with the two sales tax in canada/Quebec
I've read the announce concerning this problem and find this:
---------------------------------------------------------------------------
This one comes up often enough that we need an FAQ. You need
to use the mv_handling feature.
In shipping.asc:
gst GST [subtotal noformat=1] 0 99999999 x .07
pst PST [subtotal noformat=1] [value state] 0 0 0
pst PST for Alberta AB 0 99999999 x .075
pst PST for Ontario ON 0 99999999 x .08
etc.
pst No PST 0 99999999 0
GST is always applied, but PST can be geographically qualified
on province. The first line just sets up the geographic qualification.
Now just set:
[value name=mv_handling set="gst pst" hide=1]
somewhere at the top of the checkout page.
Finally:
GST: [shipping gst]
PST: [shipping pst]
-------------------------------------------------------------------------------
This work! but the calcul of the tax is not valid: exemple:
This solution calcul this way:
subtotal=10.00$ + tax1(0.70$) + tax2(0.75$) = 11.45$
And i need this:
subtotal=10.00 + tax1 = 10.70 x tax2 = 0,80.--> totaltax1(10.70) + tax2(0.80)
= 11.50
In a larger number the diffrence is important...to important!
Can somewhone help me!!
I try this to :[calc][subtotal] + [value tax1] * [calue tax2] [/calc] but
this doenst seem to work well...i've got number like this with this formula :
9,323.00$
Thank you very much for your help!
p.s:Sorry for my baaad english!
Philippe Roche
Molecular Biologist
Laboratoire Uqàm
Projet #2468
de recherche vecteurs de plasmides
450-656-9023
allosteric@videotron.ca
From: marc at inuzite.com (Marc Villeneuve )
Date: Thu, 15 Feb 2001 10:33:44 -0500
Subject: [ic] No code for currency in orderlines or transactions
Thanks for the hint Stefan, I applied it and I am on my way to solving the
whole thing in a week or two.
I will contact Akopia`s team to try to submit these patches for currency
handling. As a non-american (german ?) yourself, do you disagree from the
way I want to solve this whole mess? I really would like your opinion on
this. 'ricans have great qualities, but they have such a huge internal
market ready to buy (280 M people), that handling 2-3 different currencies,
is not their priority. Being Canadian, and even worse, being a Quebecer
(latin people, read frenchman like) where we as a people are really pissed
when we don't get served in our own language and money, I have got to solve
this whole thing before I can push Interchange as a solution.
What I am trying to figure out, is: is this a general problem? Or mine
only? If it is mine only I will not bother Akopia with it, and I will keep
these patches for myself.
Otherwise:
I will add a variable to catalog.cfg to set handling multi-currency on/off,
and modify every currency handling for orders to be properly addressed and
submit diff file to the Akopia team.
Thanks for the help, it is appreciated.
Marc Villeneuve
Inuzite inc
At 04:13 PM 2/14/2001 +0100, you wrote:
>Marc Villeneuve <marc@inuzite.com> writes:
>
>
>[...]
>
> >
> > - Patch the checkout process to correctly insert into orderline (or
> > transaction) a currency code and modify the admin UI "en profondeur"
> > in-depth to accept the currency selected by the customer.
> >
>
>To modify the inserted data, you just need to change
>etc/log_transaction
>and that's it.
>
> > - Go straigth to WebSphere Commerce Suite 5.1 (which correctly handles
> > multiple currencies), do not pass go, let my client spend another 9000$ US.
>
>This probably leads to protest in other areas, but
>that is up to you.
>
>Bye
> Racke
>
>--
>LinuXia Systems && Cobolt NetServices, eCommerce and more
>Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
>http://www.linuxia.de - http://www.cobolt.net
>--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: edl at newmediaems.com (Ed LaFrance )
Date: Thu, 15 Feb 2001 08:25:27 -0800
Subject: [ic] Upgrade Problems
At 09:46 PM 02/14/2001 -0800, you wrote:
>Since I upgraded to 4.6.3, The makecat is not creating the database
>tables. The database is created though.
>
>1) Is there a way to manualy create tables after running makecat
>2) Where in makecat do the tables get created.
>
I don' know if this is documented anywhere, but if you want to update or
regenerate the tables from the .txt files, you must delete all files
"tablename.sql" in the products directory, then restart interchange
(perhaps a reconfig would suffice but I have not tried it). That is how I
do it.
- Ed L.
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D edl@newmediaems.com
Placerville, CA 95667 http://www.newmediaems.com
(530) 622-9421 (530) 622-9426 Fax
(866) 519-4680 Toll-Free
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
From: dvogels at forestind.com (Dallas Vogels )
Date: Thu, 15 Feb 2001 09:02:46 -0800
Subject: [ic] (no subject)
Check the shipping.asc file located in [catalog root]/[catalog
name]/products/ folder.
I have noticed a bug that causes the file to go from x bytes to x megabytes.
Hopefully this helps,
- Dallas
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Thomas N.
Stefanidis
Sent: Wednesday, February 14, 2001 1:14 PM
To: Interchange Mailing List
Subject: [ic] HEEEEEEEEEEEEEEELLLLLLLLLLLLPPPPPPPPP!!!
HELP!!!
I was trying to make a new shipping method and i add 17 new fields (from
0-1 =10$, 2-3=11$).
I then "apply changes" and then i when i tried to enter the shipping
page from the UI,the memory from 96MB free dropped to 2The server is
almost running!!!
I tried to reload interchange but i got this error:
Out of memory!
Callback called exit at /etc/rc.d/init.d/interchange line 196.
END failed--cleanup aborted at /etc/rc.d/init.d/interchange line 39.
Callback called exit at /etc/rc.d/init.d/interchange line 39.
END failed--cleanup aborted at /etc/rc.d/init.d/interchange line 97.
Callback called exit at /etc/rc.d/init.d/interchange line 97.
BEGIN failed--compilation aborted at /etc/rc.d/init.d/interchange line
196.
How on earth can i delete the new shipping method i did?Did that caused
that error?????
I would need any help right now.........
Thomas
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: mschick at brightredproductions.com (Matthew Schick )
Date: Thu, 15 Feb 2001 17:17:39 +0000
Subject: [ic] SkipJack Integration
Hey All,
I have a client that uses SkipJack (www.skipjack.com) for cc processing.
Before I go thru making a globalsub, I was just wondering if anyone else has done
this.
Thanks,
Matthew Schick
From: dvogels at forestind.com (Dallas Vogels )
Date: Thu, 15 Feb 2001 09:40:46 -0800
Subject: [ic] (no subject)
Check the shipping.asc file located in [catalog root]/[catalog
name]/products/ folder.
I have noticed a bug that causes the file to go from x bytes to x megabytes.
Hopefully this helps,
- Dallas
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Thomas N.
Stefanidis
Sent: Wednesday, February 14, 2001 1:14 PM
To: Interchange Mailing List
Subject: [ic] HEEEEEEEEEEEEEEELLLLLLLLLLLLPPPPPPPPP!!!
HELP!!!
I was trying to make a new shipping method and i add 17 new fields (from
0-1 =10$, 2-3=11$).
I then "apply changes" and then i when i tried to enter the shipping
page from the UI,the memory from 96MB free dropped to 2The server is
almost running!!!
I tried to reload interchange but i got this error:
Out of memory!
Callback called exit at /etc/rc.d/init.d/interchange line 196.
END failed--cleanup aborted at /etc/rc.d/init.d/interchange line 39.
Callback called exit at /etc/rc.d/init.d/interchange line 39.
END failed--cleanup aborted at /etc/rc.d/init.d/interchange line 97.
Callback called exit at /etc/rc.d/init.d/interchange line 97.
BEGIN failed--compilation aborted at /etc/rc.d/init.d/interchange line
196.
How on earth can i delete the new shipping method i did?Did that caused
that error?????
I would need any help right now.........
Thomas
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: sean at inow.com (Sean Strycker )
Date: Thu, 15 Feb 2001 10:04:50 -0800
Subject: [ic] How do I display static items?
Hi,
I'd like to have 4 static horizontal items and 3 static vertical items
in the index.html.
I have been searching through the Akopia archive and have found some
information, but it's still not clear.
Can someone please help me out?
Thanks
Sean
From: sean at inow.com (Sean Strycker )
Date: Thu, 15 Feb 2001 11:13:19 -0800
Subject: [ic] How do I display static items?
Hi,
I'd like to have 4 static horizontal items and 3 static vertical items
in the index.html.
I have been searching through the Akopia archive and have found some
information, but it's still not clear.
Can someone please help me out?
Thanks
Sean
From: frank.maestas at ttseagle.com (frank.maestas at ttseagle.com )
Date: Thu, 15 Feb 2001 12:43:49 -0700
Subject: [ic] Images do not display in SSL mode
Hello,
My Interchange site works great until the "checkout" button is clicked.
Then there are no images.
Anyone know why images do not display when the site switches into secure SSL
mode?
Is it an Apache, Linux, or Interchange configuration.
Thanks in advance,
Frank Maestas
fmaestas@ttseagle.com
From: ven at pragakhan.com (Victor Nolton )
Date: Thu, 15 Feb 2001 17:27:56 -0500
Subject: [ic] Raq3
If anyone owns or uses a Raq3 could you please contact me in private,
if you have time.
Thanks.
Ven
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: email at jasonkohles.com (Jason Kohles )
Date: Thu, 15 Feb 2001 16:36:33 -0700
Subject: [ic] Shipping label printer
Here is a little code and some instructions on how to add a link to the view
order page, which prints a shipping label on a Dymo LabelWriter
(http://www.dymo.com/) connected to your computer when you click it.
First, you need to create a label template...
Launch 'Dymo Label' (the software that came with the label printer).
Select 'File->New Label' from the menu.
Pick the right label type for the kind of labels you are using.
Using the design tools available, add whatever information you want to the
label, but make sure that it contains one, and only one 'Address' object,
this is where the address will be filled in when printing labels (just use
'Text' objects for return addresses, not 'Address' objects.
Select 'File->Save As' from the menu.
Enter a file name, and make sure it is being saved as a template (.LWT), also
make sure you know the complete path to where the template is being saved,
you will need it in a minute. If you will be printing labels from more
than one computer, they all need to have this template saved in the exact
same location.
Next you need to configure interchange...
Apply the patch below to lib/UI/pages/admin/order_view.html
Go to the admin section of your store.
Click 'Administration'.
Click 'Knar'.
Click 'New Entry'.
Enter 'SHIPPING_LABEL' under 'Variable name'.
Enter the path to your label template under 'Variable'.
(something like: 'C:\Program Files\Dymo Label\Label Files\yourlabel.LWT')
Enter 'Shipping' under 'Preferences area'.
Restart interchange.
Last, you need to configure internet explorer to allow this...
Launch Internet Explorer.
Select 'Tools->Internet Options' from the menu.
Click the 'Security' tab.
Click 'Trusted Sites'.
Click the 'Sites...' button.
Uncheck 'Require server verification for sites in this zone'.
Add 'http://yourservername/yourstore.cgi/admin' to the zone.
Click 'OK'.
Click 'Custom Level...'
Set 'Initialize and script ActiveX controls not marked as safe' to 'enable'.
Click 'OK'.
Click 'OK' again.
You are done! Now when you view an order in the admin section, there ill
be a link underneath the shipping address that will print a label to your
labelwriter when you click on it.
*** order_view.html Mon Nov 6 10:42:25 2000
--- order_view.html.new Thu Feb 15 15:22:33 2001
***************
*** 161,166 ****
--- 161,181 ----
<br>
<blockquote>
[scratch ship_address]
+ [if variable SHIPPING_LABEL]
+ <SCRIPT LANGUAGE=VBScript>
+ Sub Btn1_onclick()
+ Dim DymoAddIn, DymoLabel
+ Set DymoAddIn = CreateObject("DYMO.DymoAddIn")
+ Set DymoLabel = CreateObject("DYMO.DymoLabels")
+
+ DymoAddIn.Open "__SHIPPING_LABEL__"
+ DymoLabel.SetAddress 1,[perl]my @l = (); foreach(split("\n",$Scratch->{'ship_address'})) { s/"//g; s/\<br\>//gi; next unless $_; push(@l,"\"$_\""); }; join("+chr(10)+",@l);[/perl]
+ DymoAddIn.Print 1, TRUE
+ End Sub
+ </SCRIPT>
+ (<A HREF="#" onClick="Btn1_onclick()">print shipping label</A>)
+ [/if]
+
</blockquote>
</font>
--
Jason S Kohles (801)322-5512
jason@jasonkohles.com http://www.jasonkohles.com/
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 15 Feb 2001 15:25:46 -0800
Subject: [ic] Images do not display in SSL mode
At 12:43 PM 2/15/2001 -0700, you wrote:
>Hello,
>My Interchange site works great until the "checkout" button is clicked.
>Then there are no images.
>Anyone know why images do not display when the site switches into secure SSL
>mode?
>Is it an Apache, Linux, or Interchange configuration.
Check your catalog.cfg for the __SECURE_SERVER__/__IMAGE_DIR__
variables. Make sure that they are correct, and make sure that the files
are where they are supposed to be on the secure server. (check your
symlinks). It also might be a chmod problem.
>Thanks in advance,
>
>Frank Maestas
>fmaestas@ttseagle.com
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: robert at ishoptech.com (Robert Trembath )
Date: Thu, 15 Feb 2001 17:32:51 -0600
Subject: [ic] Images do not display in SSL mode
I have this problem to since upgrading to 4.6.3 with 4 different stores.
Please help!
Is it an Apache, Linux, or Interchange configuration from the rpm.
----- Original Message -----
From: "Dan B" <db@cyclonehq.dnsalias.net>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, February 15, 2001 5:25 PM
Subject: Re: [ic] Images do not display in SSL mode
> At 12:43 PM 2/15/2001 -0700, you wrote:
> >Hello,
> >My Interchange site works great until the "checkout" button is clicked.
> >Then there are no images.
> >Anyone know why images do not display when the site switches into secure
SSL
> >mode?
> >Is it an Apache, Linux, or Interchange configuration.
>
> Check your catalog.cfg for the __SECURE_SERVER__/__IMAGE_DIR__
> variables. Make sure that they are correct, and make sure that the files
> are where they are supposed to be on the secure server. (check your
> symlinks). It also might be a chmod problem.
>
>
>
>
> >Thanks in advance,
> >
> >Frank Maestas
> >fmaestas@ttseagle.com
> >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: billjenkins at hotmail.com (Bill Jenkins )
Date: Fri, 16 Feb 2001 00:48:52
Subject: [ic] item_edit.html Can't setup new products!!!!
Does anyone have a template for this. When I click on add new item, I get a
almost blank screen. When you are in akopia's demo page you have a nice
layout of the item name, description, image, price. My version does not have
that. Does anyone have it? How can I go about setting up one? I would
appreciate any help about this.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: malcolmw at upshot.com (Webb, Malcolm )
Date: Thu, 15 Feb 2001 18:05:20 -0800
Subject: [ic] interchange dead and subsys locked after install of 4.6.
Thanks for the tip, Bill.
Unfortunately, even after deleting the lock file, attempts to start IC just
result in the subsys locking up again.
Any other ideas?
===========================================
Malcolm Webb
===========================================
-----Original Message-----
From: Bill Randle [mailto:billr@exgate.tek.com]
Sent: Wednesday, February 14, 2001 9:52 AM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] interchange dead and subsys locked after install of
4.6. 3-1...
Try doing (as the interchange user, not as root):
% /etc/rc.d/init.d/interchange stop
% rm -f /var/lock/subsys/interchange (remove lock file)
% ls -l /var/lock/subsys/interchange (verify lock file was removed)
% /etc/rc.d/init.d/interchange start
I've noticed at times RedHat does not always cleanup the lock files
(that's the reference to "subsys locked").
-Bill
On Feb 14, 9:31am, Webb, Malcolm wrote:
} Subject: RE: [ic] interchange dead and subsys locked after install of 4.6.
} Hi-
}
} Does anyone have any info about this? I still am not able to get IC 4.6.3
} up and running...
}
}
} -----Original Message-----
} From: Webb, Malcolm [mailto:malcolmw@upshot.com]
} Sent: Tuesday, February 13, 2001 11:18 AM
} To: 'interchange-users@lists.akopia.com'
} Subject: [ic] interchange dead and subsys locked after install of
} 4.6.3-1...
}
}
} Hi-
}
} I just downloaded the 4.6.3-1.rh6.i386 RPM and installed it, and my
} interchange is no longer working. When I go to /etc/rc.d/init.d and do a
}
} ./interchange start
}
} I get the confirmation message back
}
} [ OK ]
}
} saying that it has started successfully. But when I try to access
construct,
} I get interchange's "Server unavailable" message. I followed the
} instructions in the mail archives for resolving this message and did a
}
} chmod 4755 construct
}
} on the construct file in my cgi-bin directory, but this did not fix the
} problem. A check of the log files in /var/log/interchange revealed that
no
} errors were being passed to either error.log or construct.error.log.
}
} Going back to /etc/rc.d/init.d and doing a
}
} ./interchange status
}
} returned this message: "interchange dead and subsys locked"
}
} So I rebooted the box, and tried again to start interchange - no luck, I
} still get "OK" confirmation but it doesn't really start and a status check
} shows I'm still getting the same "subsys" error message.
}
} I looked through the mail archives again, and it says that this error may
be
} related to running interchange with PostgreSQL on the back end, but I am
not
} running interchange with PostgreSQL (my interchange install is vanilla)
}
} However, I do have minivend installed on this same box, and my minivend IS
} configured to use PostgreSQL - but that should not affect interchange
right?
}
} Also, prior to installing this latest version of IC, my interchange was
} running fine.
}
} Can anyone help?
}
} ===========================================
}
} Malcolm Webb
}
}
} ===========================================
}
}
}
} _______________________________________________
} Interchange-users mailing list
} Interchange-users@lists.akopia.com
} http://lists.akopia.com/mailman/listinfo/interchange-users
}
} _______________________________________________
} Interchange-users mailing list
} Interchange-users@lists.akopia.com
} http://lists.akopia.com/mailman/listinfo/interchange-users
}-- End of excerpt from Webb, Malcolm
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: ryan at whoopersnetwork.com (Ryan )
Date: Fri, 16 Feb 2001 10:10:16 +0800
Subject: [ic] interchange :permissions
I installed interchange from the binary
and setup the interch user
now when i run the server with this command
su - c "/usr/local/interchange/bin/interchange -r" interch
i get this message:
Low traffic settings
Calling UI....
...UI is loaded....
Interchange V4.6.3
Configuring catalog construct...
couldn't change to /var/lib/interchange/catalogs/construct : Permission Denied
the construct has the proper permission for interch user...
not sure what the problem is...?
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 15 Feb 2001 21:31:03 -0500
Subject: [ic] interchange :permissions
On Fri, Feb 16, 2001 at 10:10:16AM +0800, Ryan wrote:
> I installed interchange from the binary
> and setup the interch user
> now when i run the server with this command
>
> su - c "/usr/local/interchange/bin/interchange -r" interch
>
> i get this message:
>
> Low traffic settings
> Calling UI....
> ...UI is loaded....
> Interchange V4.6.3
> Configuring catalog construct...
> couldn't change to /var/lib/interchange/catalogs/construct : Permission Denied
Just what it says: user "interch" can't cd to that directory. su
yourself to interch and see what happens when you try. It only gets
harder from here on in.
>
> the construct has the proper permission for interch user...
> not sure what the problem is...?
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Fri, 16 Feb 2001 11:04:41 +0800
Subject: [ic] item_edit.html Can't setup new products!!!!
i bet the fields in your product database are different from those in the
demo, right? if so, make a directory in your pages dir called "admin", and
copy from interchange/lib/UI/pages/admin the item_edit.html page into your
new admin directory. edit the new copy in there.
----- Original Message -----
From: Bill Jenkins <billjenkins@hotmail.com>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 16, 2001 12:48 AM
Subject: [ic] item_edit.html Can't setup new products!!!!
> Does anyone have a template for this. When I click on add new item, I get
a
> almost blank screen. When you are in akopia's demo page you have a nice
> layout of the item name, description, image, price. My version does not
have
> that. Does anyone have it? How can I go about setting up one? I would
> appreciate any help about this.
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 15 Feb 2001 19:09:03 -0800
Subject: [ic] Shipping label printer
Jason,
I gotta say it: you remind me of Hebrews 10:24, "And let us consider how we
may spur one another on toward love and good deeds". Here I am: fuddling
with all kinds of perl code for automating the interchange->ms word
(ugh)->label printer combination (not to mention bar scanners!), and this
code comes along!
Great! You've spurred me on toward good deeds, let me tell ya. I'll let
you know how it works for me once I get my Dymo shipped in. :-)
-Dan
At 04:36 PM 2/15/2001 -0700, you wrote:
>Here is a little code and some instructions on how to add a link to the view
>order page, which prints a shipping label on a Dymo LabelWriter
>(http://www.dymo.com/) connected to your computer when you click it.
>
>
>First, you need to create a label template...
> Launch 'Dymo Label' (the software that came with the label printer).
> Select 'File->New Label' from the menu.
> Pick the right label type for the kind of labels you are using.
> Using the design tools available, add whatever information you want to the
> label, but make sure that it contains one, and only one 'Address' object,
> this is where the address will be filled in when printing labels
> (just use
> 'Text' objects for return addresses, not 'Address' objects.
> Select 'File->Save As' from the menu.
> Enter a file name, and make sure it is being saved as a template
> (.LWT), also
> make sure you know the complete path to where the template is being
> saved,
> you will need it in a minute. If you will be printing labels from more
> than one computer, they all need to have this template saved in the exact
> same location.
>
>Next you need to configure interchange...
> Apply the patch below to lib/UI/pages/admin/order_view.html
> Go to the admin section of your store.
> Click 'Administration'.
> Click 'Knar'.
> Click 'New Entry'.
> Enter 'SHIPPING_LABEL' under 'Variable name'.
> Enter the path to your label template under 'Variable'.
> (something like: 'C:\Program Files\Dymo Label\Label Files\yourlabel.LWT')
> Enter 'Shipping' under 'Preferences area'.
> Restart interchange.
>
>Last, you need to configure internet explorer to allow this...
> Launch Internet Explorer.
> Select 'Tools->Internet Options' from the menu.
> Click the 'Security' tab.
> Click 'Trusted Sites'.
> Click the 'Sites...' button.
> Uncheck 'Require server verification for sites in this zone'.
> Add 'http://yourservername/yourstore.cgi/admin' to the zone.
> Click 'OK'.
> Click 'Custom Level...'
> Set 'Initialize and script ActiveX controls not marked as safe' to
> 'enable'.
> Click 'OK'.
> Click 'OK' again.
>
>You are done! Now when you view an order in the admin section, there ill
>be a link underneath the shipping address that will print a label to your
>labelwriter when you click on it.
>
>
>
>*** order_view.html Mon Nov 6 10:42:25 2000
>--- order_view.html.new Thu Feb 15 15:22:33 2001
>***************
>*** 161,166 ****
>--- 161,181 ----
> <br>
> <blockquote>
> [scratch ship_address]
>+ [if variable SHIPPING_LABEL]
>+ <SCRIPT LANGUAGE=VBScript>
>+ Sub Btn1_onclick()
>+ Dim DymoAddIn, DymoLabel
>+ Set DymoAddIn = CreateObject("DYMO.DymoAddIn")
>+ Set DymoLabel = CreateObject("DYMO.DymoLabels")
>+
>+ DymoAddIn.Open "__SHIPPING_LABEL__"
>+ DymoLabel.SetAddress 1,[perl]my @l = ();
>foreach(split("\n",$Scratch->{'ship_address'})) { s/"//g; s/\<br\>//gi;
>next unless $_; push(@l,"\"$_\""); }; join("+chr(10)+",@l);[/perl]
>+ DymoAddIn.Print 1, TRUE
>+ End Sub
>+ </SCRIPT>
>+ (<A HREF="#" onClick="Btn1_onclick()">print shipping label</A>)
>+ [/if]
>+
> </blockquote>
> </font>
>
>
>--
>Jason S Kohles (801)322-5512
>jason@jasonkohles.com http://www.jasonkohles.com/
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: ryan at whoopersnetwork.com (Ryan )
Date: Fri, 16 Feb 2001 11:16:55 +0800
Subject: [ic] interchange :permissions
for some reason
when i execute
su intertch
it gives me
bash: /var/lib/interchange/.bashrc :permission denied
????
On Fri, 16 Feb 2001, you wrote:
> On Fri, Feb 16, 2001 at 10:10:16AM +0800, Ryan wrote:
> > I installed interchange from the binary
> > and setup the interch user
> > now when i run the server with this command
> >
> > su - c "/usr/local/interchange/bin/interchange -r" interch
> >
> > i get this message:
> >
> > Low traffic settings
> > Calling UI....
> > ...UI is loaded....
> > Interchange V4.6.3
> > Configuring catalog construct...
> > couldn't change to /var/lib/interchange/catalogs/construct : Permission Denied
>
> Just what it says: user "interch" can't cd to that directory. su
> yourself to interch and see what happens when you try. It only gets
> harder from here on in.
>
> >
> > the construct has the proper permission for interch user...
> > not sure what the problem is...?
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
>
> Christopher F. Miller, Publisher cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> 1.207.657.5078 http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: ryan at whoopersnetwork.com (Ryan )
Date: Fri, 16 Feb 2001 12:19:20 +0800
Subject: [ic] interchange :permissions!!!!
can someone help me on this
it is very annoying
i try to change su interch
and i get a /var/lib/interchange/.bashrc: Permission Denied
the directoy has the proper permissions set for the interch user
i dont understand
On Fri, 16 Feb 2001, you wrote:
> On Fri, Feb 16, 2001 at 10:10:16AM +0800, Ryan wrote:
> > I installed interchange from the binary
> > and setup the interch user
> > now when i run the server with this command
> >
> > su - c "/usr/local/interchange/bin/interchange -r" interch
> >
> > i get this message:
> >
> > Low traffic settings
> > Calling UI....
> > ...UI is loaded....
> > Interchange V4.6.3
> > Configuring catalog construct...
> > couldn't change to /var/lib/interchange/catalogs/construct : Permission Denied
>
> Just what it says: user "interch" can't cd to that directory. su
> yourself to interch and see what happens when you try. It only gets
> harder from here on in.
>
> >
> > the construct has the proper permission for interch user...
> > not sure what the problem is...?
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
>
> Christopher F. Miller, Publisher cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> 1.207.657.5078 http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: jbenjamin at biznesshosting.com (jbenjamin at biznesshosting.com )
Date: Fri, 16 Feb 2001 00:21:47 -0500 (EST)
Subject: [ic] Cybercash
Welp I'm stuck trying to get it to work. I have been trying with version
3.3 with no luck. It orders, but doesn't appear to be interfacing with
Cybercash at all. I hear I have to use 3.2...problem is - it's nowhere to
be found on the net. If I have to use 3.2 with it's security holes, fine
-- please email me the tarball if you have it on your hard drive.
Thanks
- Josh
--
-----==- Joshua Benjamin josh@biznesshosting.com|
----==-- _ Chief Operations Officer |
---==---(_)__ __ ____ __ Biznesshosting, Inc. |
--==---/ / _ \/ // /\ \/ / Your business: online faster, cheaper. |
-=====/_/_//_/\_,_/ /_/\_\ http://www.biznesshosting.com |
The choice of a GNU generation |
---------------------------------------------------------------------+
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Thu, 15 Feb 2001 22:45:42 -0700 (MST)
Subject: [ic] gpg encryptor FAQ problem. Still getting encryption error.
Thanks for the help in the past and any help you can give me on this one.
If I have ENCRYPTOR set to none I get an email with the credit card
number. Now I want to encrypt the credit card information. The FAQ says
to use
EncryptProgram /usr/local/bin/gpg -fa --always-trust -r sales@your.com
-fa is an invalid option. I tried this below instead. It works at the
interch users shell prompt but still give me the error when run in the
catalog.cfg file and the products/variable.txt file. I first just set
ENCRYPTOR to it. I then replaced all __ENCRYPTOR__ with it still getting
the same encryption error.
EncryptProgram /usr/local/bin/gpg -eat --always-trust -r sales@your.com
I am trying to use this with a new catalog I created based on the
construct demo.
The interchange/error.log has
166.70.62.105 IKgydiDf:166.70.62.105 - [15/February/2001:22:25:41 -0700]
signat/cgi-bin/signat/process.html Encryption error:
The catalog/error.log has
166.70.62.105 IKgydiDf:166.70.62.105 - [15/February/2001:22:25:42 -0700]
signat/cgi-bin/signat/process.html search error: Limit subroutine creation: bad
limit creation code in coordinated search, probably search group without
search specification. at /usr/local/interchange/lib/Vend/Search.pm line 703.
Any ideas on what else to try? I have searched the archives and they do
not shead any more light.
Thanks,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: bob at nleinternet.net (bob at nleinternet.net )
Date: Fri, 16 Feb 2001 01:58:59 -0500 (EST)
Subject: [ic] Secure URL not working right
This is a MIME-encapsulated message.
--------------213659961387730158819330
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
I thought I had my secure server link working, but it turns out that the
shopping basket is dropped the minute you go to check out - which is when it
goes to the secure server page.
The secure server is a different URL, but I do have it correctly configured in
the config files. The page comes up and all the pics load, it just says
"nothing in basket". If I change the secure URL to the normal URL, everything
works fine.
Ideas?
Bob
--------------213659961387730158819330--
From: ozbcoz at optushome.com.au (Jim Carey )
Date: Fri, 16 Feb 2001 17:54:19 +1100
Subject: [ic] Raq3
I am and have given up on using interchange - can't get it to work - get
disk quota errors and noone can fix it. One other member said they got
akopia to install it at cost to fix the problem - I am not prepared to do
that
cheers
Jim Carey
www.OZbcoz.com discount domain registration
www.iluvoz.com affordable hosting services
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Victor
> Nolton
> Sent: Friday, 16 February 2001 8:28 AM
> To: interchange-users@lists.akopia.com
> Subject: [ic] Raq3
>
>
> If anyone owns or uses a Raq3 could you please contact me in private,
> if you have time.
>
> Thanks.
>
> Ven
> --
>
> http://www.vensnews.com
>
> Victor "Ven" Nolton __________________________ http://www.VensNews.com
> http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
>
> All HTML Encoded email will be ignored. Learn Standards.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: ozbcoz at optushome.com.au (Jim Carey )
Date: Fri, 16 Feb 2001 18:12:16 +1100
Subject: [ic] Raq3
> Subject: RE: [ic] Raq3
>
>
> I am and have given up on using interchange - can't get it to work - get
> disk quota errors and noone can fix it. One other member said they got
> akopia to install it at cost to fix the problem - I am not prepared to do
> that
>
> cheers
Whoops - sorry - that was supposed to be off list - apologies all
Jim Carey
>
From: jason at sohonetworks.cc (Jason Osborne )
Date: Fri, 16 Feb 2001 02:22:52 -0600
Subject: [ic] Payflow Link/Payflow Pro?
Hello,
I had a quick question. I am looking to integrate Interchange with a payment
processing gateway and wondered what would be the best route to take. I am
looking for a payment processing gateway that is expensive to startup and
does not kill me monthly. I am also wanting something that works easily with
Interchange. What do you all recommend?
Thanks
Jason
From: nick.davies at iname.com (Nick Davies )
Date: Fri, 16 Feb 2001 09:24:32 +0000
Subject: [ic] Product sku's not showing
Hi,
I'm using the demo catalogue and changing it to my requirements. But
for some reason whenever i place an order i am unable to proceed with it
becasue it says there are unfilled fields. The only thing i can see in
red is "NOTE: Nothing to ship", why is this?
Also (i think it's related) when there is no stock and i put in a
request for a stock notification, in the resulting email np product code
comes through.
Should interchange be running a cron to check for stock when it comes in
and email out?
Please help, i'm a newbie at all this.
Thanks.
Nick.
From: maubert at swisscenter.ch (Marc Aubert )
Date: Fri, 16 Feb 2001 10:49:39 +0100
Subject: [ic] *** Keeping CGI Parameters with [more] tag ***
Hello minivenders !
Our project is completely blocked by the following :
When launching a search, our Interchange system sets a lot of CGI
parameters (eg. item with OR without picture, item with OR without
PFD file, etc.).
With the first page of results, no problem, we can display - on the
result page - a 'summary' of the search (based on the CGI parameters
: checkbox for the picture status, checkbox for the PDF status, etc.).
As soon as we access the [more] tag to access the next page of
results, we loose the CGI parameters and the 'summary' of the search
cannot displayed anymore.
Please help us !
Many thanks in advance..
Mark.
From: cfm at maine.com (cfm at maine.com )
Date: Fri, 16 Feb 2001 07:41:48 -0500
Subject: [ic] interchange :permissions!!!!
On Fri, Feb 16, 2001 at 12:19:20PM +0800, Ryan wrote:
Those are basic UNIX things, not ic. See if you can
get your hand on book with basic UNIX commands and syntax.
I sill use "Power Tools" - I think O'Reilly. That's more than
you need and there are many.
> can someone help me on this
> it is very annoying
>
> i try to change su interch
> and i get a /var/lib/interchange/.bashrc: Permission Denied
> the directoy has the proper permissions set for the interch user
> i dont understand
>
> On Fri, 16 Feb 2001, you wrote:
> > On Fri, Feb 16, 2001 at 10:10:16AM +0800, Ryan wrote:
> > > I installed interchange from the binary
> > > and setup the interch user
> > > now when i run the server with this command
> > >
> > > su - c "/usr/local/interchange/bin/interchange -r" interch
> > >
> > > i get this message:
> > >
> > > Low traffic settings
> > > Calling UI....
> > > ...UI is loaded....
> > > Interchange V4.6.3
> > > Configuring catalog construct...
> > > couldn't change to /var/lib/interchange/catalogs/construct : Permission Denied
> >
> > Just what it says: user "interch" can't cd to that directory. su
> > yourself to interch and see what happens when you try. It only gets
> > harder from here on in.
> >
> > >
> > > the construct has the proper permission for interch user...
> > > not sure what the problem is...?
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > --
> >
> > Christopher F. Miller, Publisher cfm@maine.com
> > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> > 1.207.657.5078 http://www.maine.com/
> > Content management, electronic commerce, internet integration, Debian linux
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: racke at linuxia.de (Stefan Hornburg )
Date: 16 Feb 2001 13:39:54 +0100
Subject: [ic] *** Keeping CGI Parameters with [more] tag ***
Marc Aubert <maubert@swisscenter.ch> writes:
> Hello minivenders !
>
> Our project is completely blocked by the following :
>
> When launching a search, our Interchange system sets a lot of CGI
> parameters (eg. item with OR without picture, item with OR without
> PFD file, etc.).
>
> With the first page of results, no problem, we can display - on the
> result page - a 'summary' of the search (based on the CGI parameters
> : checkbox for the picture status, checkbox for the PDF status, etc.).
>
> As soon as we access the [more] tag to access the next page of
> results, we loose the CGI parameters and the 'summary' of the search
> cannot displayed anymore.
Put the CGI parameters into scratch space and display the summary
based on that. Sth like that
[perl]
# stop if we are on a next page
return if ... # look for the CGI parameter
# record CGI parameters
for ('foo', 'bar') {
$Scratch->{$_} = $CGI->{$_};
}
[/perl]
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: cameron at akopia.com (Cameron B. Prince )
Date: Fri, 16 Feb 2001 09:17:44 -0600
Subject: [ic] gpg encryptor FAQ problem. Still getting encryption error.
Give this a try:
/usr/bin/gpg -e -a -q --batch --no-tty -r key@domain.com 2>encrypt.error
If you have problems, cat the encrypt.error file in the catroot and you
should be
able to see gpg's output. This came from a working catalog.
Cameron
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Boyd Lynn
> Gerber
> Sent: Thursday, February 15, 2001 11:46 PM
> To: interchange-users@lists.akopia.com
> Subject: [ic] gpg encryptor FAQ problem. Still getting encryption error.
>
>
> Thanks for the help in the past and any help you can give me on this one.
>
> If I have ENCRYPTOR set to none I get an email with the credit card
> number. Now I want to encrypt the credit card information. The FAQ says
> to use
>
> EncryptProgram /usr/local/bin/gpg -fa --always-trust -r sales@your.com
>
> -fa is an invalid option. I tried this below instead. It works at the
> interch users shell prompt but still give me the error when run in the
> catalog.cfg file and the products/variable.txt file. I first just set
> ENCRYPTOR to it. I then replaced all __ENCRYPTOR__ with it still getting
> the same encryption error.
>
> EncryptProgram /usr/local/bin/gpg -eat --always-trust -r sales@your.com
>
> I am trying to use this with a new catalog I created based on the
> construct demo.
>
> The interchange/error.log has
>
> 166.70.62.105 IKgydiDf:166.70.62.105 - [15/February/2001:22:25:41 -0700]
> signat/cgi-bin/signat/process.html Encryption error:
>
>
> The catalog/error.log has
>
> 166.70.62.105 IKgydiDf:166.70.62.105 - [15/February/2001:22:25:42 -0700]
> signat/cgi-bin/signat/process.html search error: Limit subroutine
> creation: bad
> limit creation code in coordinated search, probably search group without
> search specification. at
> /usr/local/interchange/lib/Vend/Search.pm line 703.
>
> Any ideas on what else to try? I have searched the archives and they do
> not shead any more light.
>
> Thanks,
>
> --
> Boyd Gerber <gerberb@zenez.com>
> ZENEZ 3748 Valley Forge Road, Magna Utah 84044
> Office 801-250-0795 FAX 801-250-7975
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: frank.maestas at ttseagle.com (frank.maestas at ttseagle.com )
Date: Fri, 16 Feb 2001 08:19:01 -0700
Subject: [ic] Images do not display in SSL mode
Couple of things I discovered about this problem (images not displaying in
ssl mode).
Netscape displays them just fine, so does Opera. It seems to be an MSIE 5.0
problem (at least for me).
I was poking around the mod_ssl web site (http://www.modssl.org/support)
thinking my Apache and SSL configuration is messed up, and found quite a few
discussions going on about IE 5.0 and SSL problems.
One solution I found there was to turn off SSL v.3 in the IE browser,
another is upgrading IE 5.0 to IE 5.5-sp1 and the problem seems to go away.
--
Frank Maestas
fmaestas@ttseagle.com
From: spencer at mediabang.com (Spencer )
Date: Fri, 16 Feb 2001 08:23:30 -0700
Subject: [ic] Uninstalling Interchange
On Thu, Feb 15, 2001 at 09:34:48AM +0800, Bryan Chen wrote:
> Hi. I was wondering if there was anything else I would be required to do to
> completely remove interchange from the server, besides removing the
> directories. Are there any more steps to removing interchange?
>
You may need to remove the databases, if you were using SQL.
--
-Spencer
spencer@mediabang.com
Please direct all of your YES/NO questions to 8ball@mylamewebsite.com
From: chet at pressler.com (Chet Pressler )
Date: Fri, 16 Feb 2001 08:16:59 -0800
Subject: [ic] Adding a new product field in item editor
I want to add a new field to the products table for a "Manufacturer"
I have added a column in mysql with an ALTER statement
However I now want to be able to enter the data into that field in the
Admin interface's "Items" edit.
How can I make that show up as one of the fields to enter data in this screen?
From: dickweisinger at hotmail.com (Dick Weisinger )
Date: Fri, 16 Feb 2001 08:26:26 -0800
Subject: [ic] Yet another newbie post (YANP)!
I have an ISP who includes Interchange as part of my account,
so I have a copy of the Construct demo pre-installed. (Version 4.6.0)
I've looked through the documents and read some of the archived postings.
It looks pretty cool and seems to have all the features I want...
OK, I apologize, but now for the many newbie questions:
- The Admin UI.
+ Dumb question... Does each catalog have it's own Admin UI?
Can I share the shopping cart across catalogs?
Can I share configurations or partial configurations between them?
Very dumb... Where is the Construct demo so I can install another
copy? I downloaded all of Interchange, but I don't see it
in the files I unzip. Can I dup my current Construct by just
duplicating the directory and its files and modifying paths in
the configuration file.
+ I go to Edit Item. I click on Add an item.
I can't enter the SKU name. It is always something like New001.
If I try to edit the data for the item, SKU is not available.
Also, I just entered some junk data for the item.
Something got screwed up and the Meta data for other items
would not display correctly until I deleted the new item.
(I pushed too many buttons...)
+ How can I define Templates in the dropdown of the Edit Page?
+ The Edit Layout under Design, to me, is confusing (sorry)
Other than the Help text, is there any documentation on this?
The help says there is a Create SubCategory button,
but I don't see it.
+ Any more Admin UI tips?
Many Thanks
From: billjenkins at hotmail.com (Bill Jenkins )
Date: Fri, 16 Feb 2001 16:32:17
Subject: [ic] item_edit.html Can't setup new products!!!!
Okay I did that but I still don't get anything. All that I have is this:
Is this all I am supposed to have and I have to create my own page?
Does anyone have a copy of one they made? I would really appreciate it.
[calc]
$CGI->{mv_data_table} = $Config->{ProductFiles}[0];
if ($CGI->{item_id} eq 'new') {
$CGI->{ui_new_item} = 1;
}
else {
$CGI->{ui_hide_key} = 1 unless $CGI->{item_id} eq 'new';
}
if(! $CGI->{ui_data_fields}) {
$CGI->{ui_data_fields} = $Variable->{UI_ITEM_FIELDS}
|| 'sku description category comment price image weight size color';
}
if(! $CGI->{ui_break_before}) {
$CGI->{ui_break_before} = $Variable->{UI_ITEM_BREAK}
|| 'image size';
}
my @args = (
'__UI_BASE__/item',
"item_id_left=$CGI->{item_id_left}",
"ui_sequence_edit=$CGI->{ui_sequence_edit}",
);
$CGI->{ui_return_to} = join "\0", @args;
return;
[/calc]
[if cgi ui_new_item]
[calc]
$CGI->{item_id} = q{[counter
file="__UI_PRODUCT_DIR__/__UI_PRODUCT_DIR__.autonumber" start=new0000]};
return;
[/calc]
[/if]
@_UI_STD_DBEDIT_HEAD_@
[seti page_title]Item editor: [cgi item_id][/seti]
[seti page_banner]Item editor: edit item <B>[cgi item_id]</B>[/seti]
[set help_name]edit.item[/set]
[set icon_name]admin/icon_item.gif[/set]
@_UI_STD_HEAD_@
<P>
@_UI_STD_DBEDIT_TABLE_@
[if-mm super]
<A HREF="[area href=admin/flex_editor
form='
item_id=[cgi item_id]
mv_data_table=__UI_PRODUCT_TABLE__
page_title=Edit items: [cgi item_id]
help_name=inventory.edit
ui_no_meta_display=1
ui_hide_key=1
ui_return_to=__UI_BASE__/item
icon_name=admin/icon_item.gif
']">No meta display</A>
[/if-mm]
@_UI_STD_FOOTER_@
<!-- page: @@MV_PAGE@@ -->
>From: "Cameron Germein" <cameron.germein@team.eftel.com>
>Reply-To: interchange-users@lists.akopia.com
>To: <interchange-users@lists.akopia.com>
>Subject: Re: [ic] item_edit.html Can't setup new products!!!!
>Date: Fri, 16 Feb 2001 11:04:41 +0800
>
>i bet the fields in your product database are different from those in the
>demo, right? if so, make a directory in your pages dir called "admin", and
>copy from interchange/lib/UI/pages/admin the item_edit.html page into your
>new admin directory. edit the new copy in there.
>
>----- Original Message -----
>From: Bill Jenkins <billjenkins@hotmail.com>
>To: <interchange-users@lists.akopia.com>
>Sent: Friday, February 16, 2001 12:48 AM
>Subject: [ic] item_edit.html Can't setup new products!!!!
>
>
> > Does anyone have a template for this. When I click on add new item, I
>get
>a
> > almost blank screen. When you are in akopia's demo page you have a nice
> > layout of the item name, description, image, price. My version does not
>have
> > that. Does anyone have it? How can I go about setting up one? I would
> > appreciate any help about this.
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: sarah at aescalon.com (sarah gargett )
Date: Fri, 16 Feb 2001 17:09:30 -0000
Subject: [ic] linking existing catalogs to new interchange version 4.6.3
I have installed the latest version of interchange (v4.6.3) on my linux
server, and I am now trying to link to my existing catalog, without
success - I hope someone can enlighten me!
I installed the construct demo catalog with the new version of interchange,
and it works fine. I added my existing catalog to interchange.cfg and it is
configured ok when I start the server. But when i try to enter the catalog
from my browser I get the 'server unavailable' message.
I've looked at the documentation, and I'm guessing the problem is with the
link programs for my existing catalogs (in my cgi-bin.) I copied src/vlink
(from the program directory for the new version of interchange) into my
cgi-bin, renamed it for the catalog, and checked the permissions, but still
no luck. (btw I also tried running compile_link, but it skipped the
compiles because they were already done, anyway.)
If anyone can help me with this I'd be very grateful.
thanks
-sarah
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Fri, 16 Feb 2001 10:11:23 -0700 (MST)
Subject: [ic] gpg encryptor FAQ problem. Problem Solution included but
On Fri, 16 Feb 2001, Cameron B. Prince wrote:
> Give this a try:
>
> /usr/bin/gpg -e -a -q --batch --no-tty -r key@domain.com 2>encrypt.error
>
> If you have problems, cat the encrypt.error file in the catroot and you
> should be
> able to see gpg's output. This came from a working catalog.
Thanks, I guess I was really tired at 4:00 A.M. I had 2>/dev/null and I
could not figure out why I was not dumping the errors to a file. Below is
what I have to use.
ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --no-tty --always-trust -r people@signaturebooks.com 2>encrypt.error Payment
and it give me an error if interchange is started by root using
su interch -c "/usr/local/interchange/bin/interchange -r -u"
A ps -ef shows interch is the interchange user, but I get this message.
gpg: //.gnupg/secring.gpg: can't create keyring: Permission denied
gpg: keyblock resource `//.gnupg/secring.gpg': file open error
gpg: people@signaturebooks.com: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
but if I start interchange after I have logged in as interch not su, it
works.
su - interch -c "/usr/local/interchange/bin/interchange -r -u"
Does not work. It does not read/use the .profile of the interch. I get
errors about DBI that do not show if I start interchange after I have
logged in.
The solution was to login as the interch user and start interchange. Now
I just have to figure out how to get this to work when I restart the
machine. My normal /etc/rc2.d/S99interchange does not work.
----------------------------S99interchange------------------------------
#!/bin/sh
# interchange deamon start/stop script.
# Usually this is put in /etc/rc2.d
# When this is done the interchange server will be started when the
# machine is started.
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/lib/mysql:/usr/local/BerkeleyDB3.2:;export LD_LIBRARY_PATH
PATH=/sbin:/usr/bin:/usr/sbin:/bin
basedir=/usr/local/interchange
bindir=/usr/local/interchange/bin
export PATH
mode=$1
# Safeguard (relative paths, core dumps..)
cd $basedir
case "$mode" in
'start')
# Start deamon
if test -x $bindir/interchange
then
# -l means start with log.
/bin/su interch -c "$bindir/interchange"
else
echo "Can't execute $bindir/interchange"
fi
;;
'stop')
# Stop deamon
$bindir/interchange --kill 9
;;
*)
# usage
echo "usage: $0 start|stop"
exit 1
;;
esac
------------------------------cut here----------------------------------
Any ideas on how to change the above to fix the problem or restart
interchange without logging in as user interch?
Thanks,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: chc at mninter.net (Curt Hauge )
Date: Fri, 16 Feb 2001 11:18:21 -0600
Subject: [ic] Re : Tracking previous prices of items on promotion?
I am not sure of all the processes involved with actually completing an order, I was merely suggesting a possible solution. The more I think about it, the more I realize that [item-price] seems to be tied heavily to IC. Yes, you could display sale prices, but I am not sure if basket.html and checkout.html will work properly. Any other opinions, anyone? I do think it would be less work updating sale prices if you had a separate sale_field and a date that the sale ends (and perhaps a sale_start date too). I will add this to the 'feature wish list' at Akopia.com as well. Good luck.
Curt Hauge
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Paul Du
Bois
Sent: Thursday, February 15, 2001 2:04 AM
To: interchange-users@lists.akopia.com
Subject: [ic] Re : Tracking previous prices of items on promotion?
Thanks Curt, I appreciate the help. Adding a field is a good idea, but I'm
just wondering how 'dangerous' is that? Which script do I edit to add it
in, and will I compromise the system? I guess I would have to alter the
products MySQL table too. Basically I'm scared of messing up my IC install.
Any pointers before I jump in?
Paul Du Bois
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Fri, 16 Feb 2001 19:58:15 +0200
Subject: [ic] How to remov shipping method(not from the UI)
Hello,
Is there a way to remove a shipping method,but not from the UI?
Thomas
From: shui at lunamedium.com (Sam Hui )
Date: Fri, 16 Feb 2001 10:04:56 -0800
Subject: [ic] Interchange and CyberSource Integration
This is a multi-part message in MIME format.
------=_NextPart_000_003B_01C097FF.E7241490
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_003C_01C097FF.E7241490"
------=_NextPart_001_003C_01C097FF.E7241490
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Has anyone tried to intergrate Interchange with CyberSource?
Looking for feedback whether it be good or bad.
-Sam
------=_NextPart_001_003C_01C097FF.E7241490
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D880264317-16022001>Has =
anyone tried to=20
intergrate Interchange with CyberSource?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D880264317-16022001>Looking for feedback=20
whether it be good or bad.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D880264317-16022001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D880264317-16022001>-Sam</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV> </DIV>
<DIV><FONT face=3DArial =
size=3D2></FONT> </FONT></DIV></DIV></BODY></HTML>
------=_NextPart_001_003C_01C097FF.E7241490--
------=_NextPart_000_003B_01C097FF.E7241490
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFsTCCAoAw
ggHpoAMCAQICAwQk1DANBgkqhkiG9w0BAQQFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl
c3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsT
FENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAw
MC44LjMwMB4XDTAxMDIwODIzMTg0NFoXDTAyMDIwODIzMTg0NFowRTEfMB0GA1UEAxMWVGhhd3Rl
IEZyZWVtYWlsIE1lbWJlcjEiMCAGCSqGSIb3DQEJARYTc2h1aUBsdW5hbWVkaXVtLmNvbTCBnzAN
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAyaNth0pebR3t9/AyEqLBdLYiq+rfIxCXFPswkMxaGjuF
3breY5PcRSFBeKh21Z57A2m+pm/PXBaoNv5Ge0RSP/A9E1l0e5115uan86gdbyzaNUq8rIbTvjeG
1CDi5BpjroJAFc0Wyci3gDYEiy1gwAKe1j+XHx6CcRvc0yKgXDMCAwEAAaMwMC4wHgYDVR0RBBcw
FYETc2h1aUBsdW5hbWVkaXVtLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAKZw
n1dj59mKwjSIeth0yEaNNLCZQx2kpnc/NPEU0JIdhtcSmJzsLYCzgM+Q7GqLVOMx8rVKDwUGPVBC
TfteDXWAT6rHmddLJzEBlTzcNY+7MT+e1Z9d7TXFkS3MlmRRFepj83dV7846fskfPXWuo1ppoB6K
/f34m6EcFTByR4vpMIIDKTCCApKgAwIBAgIBDDANBgkqhkiG9w0BAQQFADCB0TELMAkGA1UEBhMC
WkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMRowGAYDVQQKExFU
aGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lv
bjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENBMSswKQYJKoZIhvcNAQkBFhxw
ZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAwMDgzMDAwMDAwMFoXDTAyMDgyOTIzNTk1
OVowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUg
VG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYG
A1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4zMDCBnzANBgkqhkiG9w0BAQEFAAOB
jQAwgYkCgYEA3jMypmPHCSVFPtJueCdngcXaiBmClw7jRCmKYzUqbXA8+tyu9+50bzC8M5B/+TRx
oKNtmPHDT6Jl2w36S/HW3WGl+YXNVZo1Gp2Sdagnrthy+boC9tewkd4c6avgGAOofENCUFGHgzzw
ObSbVIoTh/+zm51JZgAtCYnslGvpoWkCAwEAAaNOMEwwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMT
EVByaXZhdGVMYWJlbDEtMjk3MBIGA1UdEwEB/wQIMAYBAf8CAQAwCwYDVR0PBAQDAgEGMA0GCSqG
SIb3DQEBBAUAA4GBAHMbbyZli/8VNEtZYortRL5Jx+gNu4+5DWomKmKEH7iHY3QcbbfPGlORS+HN
5jjZ7VD0Omw0kqzmkpxuwSMBwgmn70uuct0GZ/VQby5YuLYLwVBXtewc1+8XttWIm7eiiBrtOVs5
fTT8tpYYJU1q9J3Fw5EvqZa4BTxS/N3pYgNIMYICyDCCAsQCAQEwgZowgZIxCzAJBgNVBAYTAlpB
MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhh
d3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJl
ZW1haWwgUlNBIDIwMDAuOC4zMAIDBCTUMAkGBSsOAwIaBQCgggGDMBgGCSqGSIb3DQEJAzELBgkq
hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAxMDIxNjE4MDQ1MVowIwYJKoZIhvcNAQkEMRYEFGXa
YgGwR/FvkyJa8jUcD54oS1phMHYGCSqGSIb3DQEJDzFpMGcwCgYIKoZIhvcNAwcwDgYIKoZIhvcN
AwICAgCAMAcGBSsOAwIHMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMAcGBSsOAwIaMAcGBSsOAwIa
MAoGCCqGSIb3DQIFMAoGCCqGSIb3DQIFMIGrBgkrBgEEAYI3EAQxgZ0wgZowgZIxCzAJBgNVBAYT
AlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMG
VGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwg
RnJlZW1haWwgUlNBIDIwMDAuOC4zMAIDBCTUMA0GCSqGSIb3DQEBAQUABIGAvmR0Q50PhYp0TCrC
bA2MeQR2/036Uc6Nq9sp6JyFpvVZgTaUvFkisEKnW6lVU/NcNQAL38RWZa7ZKJM14MXTBqy+0e1x
e9rJYHf42M8qGojoLd7BekBLc39hIowTO7FloY2KsTt3g9V6SzuQD/hpldsF2hDfdvGjKwHl6fSC
/OwAAAAAAAA=
------=_NextPart_000_003B_01C097FF.E7241490--
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 16 Feb 2001 15:40:59 -0500
Subject: [ic] Ideas to substitute for a [query] inside a [query]?
Quoting Dan B (db@cyclonehq.dnsalias.net):
> Solved it, works perfect. :-) Thanks to Christopher F. Miller and the
> mailing list archive. Hopefully this will come in handy to the next person
> searching the archives.
>
And though I jumped in late, there actually isn't any reason you can't nest a
query. I don't know why I never remembered to remove the "canNest" check for
Tagref.pm, but that is actually a legacy from the less-capable MV3 parser.
This nested query:
[query list=1 prefix=outer sql="select category from products"]
[query
list=1 prefix=inner
sql="
SELECT sku,description
FROM products
WHERE category = '[outer-code]'
"][outer-code] : [inner-code] : [inner-param description]<BR>
[/query]
[/query]
seems to work fine. Of course you have to have separate prefix= things
so the placeholders get substituted correctly, but it will work. As will
a loop in a loop, etc. Not the best way to get great performance, though. 8-)
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 16 Feb 2001 16:16:50 -0500
Subject: [ic] No code for currency in orderlines or transactions
Quoting Marc Villeneuve (marc@inuzite.com):
> Thanks for the hint Stefan, I applied it and I am on my way to solving the
> whole thing in a week or two.
>
> I will contact Akopia`s team to try to submit these patches for currency
> handling. As a non-american (german ?) yourself, do you disagree from the
> way I want to solve this whole mess? I really would like your opinion on
> this. 'ricans have great qualities, but they have such a huge internal
> market ready to buy (280 M people), that handling 2-3 different currencies,
> is not their priority. Being Canadian, and even worse, being a Quebecer
> (latin people, read frenchman like) where we as a people are really pissed
> when we don't get served in our own language and money, I have got to solve
> this whole thing before I can push Interchange as a solution.
>
It is really a process definition issue. There is no "correct" way to
do it that I know of.
If you are to display the order amounts to the user in their currency,
it would be nice to have that on record. You can't really derive it from
PriceDivide, for the exchange rate may change.
Probabaly the only "correct" way to do it is to double-log the price in
orderline and transaction -- the actual dollar (or drachma) price at the
time of order and the amount that the user was shown. Actually Interchange
is quite well-suited to that -- just add a few fields to the database
tables, use [item-field price] for one and [item-price] for the other,
and away you go. Even if your price has discounts to where that would
not work, you can do a [setlocale currency=foo].
I think it *would* be nice to log the currency locale used at the time
of purchase, and I will have that field added to the next version's
demo. But anyone can do that themselves.
<PERSONAL-OPINION>
I take just a teeny-tiny bit of offense at the American bashing (since
it was the teeniest and tiniest of bashes). 8-)
I tried very, very, hard to put good internationalization features in
Interchange. Certainly much more than I received benefit from when I did
consulting and produced most of them -- the great majority of my clients
were US-based. I did it because I wanted Interchange to be international
in scope. I believe it has proved to succeed at that to a pretty good
degree. So in short, I paid LOTS of attention to it and I did not think
of only the US.
I cannot, however, be familiar with the customs of every country and
the details of every business process. That is why I tried to make
it flexible enough so that if you apply yourself you can do virtually
anything you need to do with Interchange.
</PERSONAL-OPINION>
> What I am trying to figure out, is: is this a general problem? Or mine
> only? If it is mine only I will not bother Akopia with it, and I will keep
> these patches for myself.
>
> Otherwise:
> I will add a variable to catalog.cfg to set handling multi-currency on/off,
> and modify every currency handling for orders to be properly addressed and
> submit diff file to the Akopia team.
If anyone has any constructive suggestions or work that applies to all
locales, I am very ready to listen to what we can do to make Interchange
even better in this regard.
Customizing to one country and one business process is not that, but it
is useful. The most useful thing would be a white paper on customizing
Interchange to your country/locale and your business process. That can serve
as a guide to people who have to go through the same thing. I believe that
most of the industrialized countries in the world have had at least one
Interchange catalog produced for them, and it would be nice to build a
library of little documents that speak to them. I will certainly put
them in the FAQ if they appear. 8-)
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 16 Feb 2001 16:33:01 -0500
Subject: [ic] Tax&Shipping!!!
Quoting Philippe Roche (allosteric@videotron.ca):
> Hi,
>
> I have a problem with the two sales tax in canada/Quebec
> I've read the announce concerning this problem and find this:
> ---------------------------------------------------------------------------
> This one comes up often enough that we need an FAQ. You need
> to use the mv_handling feature.
>
> In shipping.asc:
>
> gst GST [subtotal noformat=1] 0 99999999 x .07
> pst PST [subtotal noformat=1] [value state] 0 0 0
> pst PST for Alberta AB 0 99999999 x .075
> pst PST for Ontario ON 0 99999999 x .08
> etc.
> pst No PST 0 99999999 0
>
> GST is always applied, but PST can be geographically qualified
> on province. The first line just sets up the geographic qualification.
>
> Now just set:
>
> [value name=mv_handling set="gst pst" hide=1]
>
> somewhere at the top of the checkout page.
>
> Finally:
>
> GST: [shipping gst]
> PST: [shipping pst]
y
>
> -------------------------------------------------------------------------------
> This work! but the calcul of the tax is not valid: exemple:
> This solution calcul this way:
> subtotal=10.00$ + tax1(0.70$) + tax2(0.75$) = 11.45$
> And i need this:
> subtotal=10.00 + tax1 = 10.70 x tax2 = 0,80.--> totaltax1(10.70) + tax2(0.80)
> = 11.50
> In a larger number the diffrence is important...to important!
Try:
f [calc] @@TOTAL@@ + [handling mode=gst noformat=1] * .08 [/calc]
instead of "x .08" in your cost field.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 16 Feb 2001 16:38:56 -0500
Subject: [ic] shipping problem
Quoting Marcelo F. De Paula (tintones@hotmail.com):
> First doubt: Is there a way to use more than 3 numbers in zip code like 5?
> Because the brazilian zip code use 5 digits.
Yes, actually there is. If you define str_length => 5 in the hash
defining the UPS zone, it will use 5 digits. I don't know if this
is documented.
>
> second doubt: Can anyone translate me o shipping.asc does. I know it
> designate the shipping mode but what is the " {'ui_ship_type' =>
> "UPSI",'table' => "Ground",'zone' => "450",'ups' => "1",'geo' => "zip",}"
ui_ship_type is only for the Interchange UI, the rest are as documented.
>
> third doubt: Why this changes re not working?
>
Because of your first doubt. 8-)
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: chet at pressler.com (Chet Pressler )
Date: Fri, 16 Feb 2001 13:13:19 -0800
Subject: [ic] item_edit.html Can't setup new products!!!!
I wanted to add a manufacturer to my products so I did the following
1) Add column in database product table
# mysql
mysql> use <my dbase name> ( fill in if you are using a database)
mysql> ALTER products ADD mfg VARCHAR(20);
mysql> quit
2) Modify variable.txt. I added the mfg field after weight
UI_ITEM_FIELDS sku description category price image display comment size
color weight mfg Item display
3) Add New Entry into mv_metadata ( via Admin Tables interface)
Name Type Width Label
products:mfg Text 30 Manufacturer
I did not have to move or change the item_edit.html to the pages/admin
directory in my catalog
The next time I did an item edit the field was available to change. After
saving the database show the value in the row.
Hope this sheds some light.
At 04:32 PM 2/16/01 +0000, you wrote:
>Okay I did that but I still don't get anything. All that I have is this:
>Is this all I am supposed to have and I have to create my own page?
>Does anyone have a copy of one they made? I would really appreciate it.
>
>
>[calc]
> $CGI->{mv_data_table} = $Config->{ProductFiles}[0];
> if ($CGI->{item_id} eq 'new') {
> $CGI->{ui_new_item} = 1;
> }
> else {
> $CGI->{ui_hide_key} = 1 unless $CGI->{item_id} eq 'new';
> }
> if(! $CGI->{ui_data_fields}) {
> $CGI->{ui_data_fields} = $Variable->{UI_ITEM_FIELDS}
> || 'sku description category comment
> price image weight size color';
> }
> if(! $CGI->{ui_break_before}) {
> $CGI->{ui_break_before} = $Variable->{UI_ITEM_BREAK}
> || 'image size';
> }
> my @args = (
> '__UI_BASE__/item',
> "item_id_left=$CGI->{item_id_left}",
> "ui_sequence_edit=$CGI->{ui_sequence_edit}",
> );
> $CGI->{ui_return_to} = join "\0", @args;
> return;
>[/calc]
>[if cgi ui_new_item]
> [calc]
> $CGI->{item_id} = q{[counter
> file="__UI_PRODUCT_DIR__/__UI_PRODUCT_DIR__.autonumber" start=new0000]};
> return;
> [/calc]
>[/if]
>@_UI_STD_DBEDIT_HEAD_@
>
>[seti page_title]Item editor: [cgi item_id][/seti]
>[seti page_banner]Item editor: edit item <B>[cgi item_id]</B>[/seti]
>[set help_name]edit.item[/set]
>[set icon_name]admin/icon_item.gif[/set]
>
>@_UI_STD_HEAD_@
><P>
>@_UI_STD_DBEDIT_TABLE_@
>
>[if-mm super]
><A HREF="[area href=admin/flex_editor
> form='
> item_id=[cgi item_id]
> mv_data_table=__UI_PRODUCT_TABLE__
> page_title=Edit items: [cgi item_id]
> help_name=inventory.edit
> ui_no_meta_display=1
> ui_hide_key=1
> ui_return_to=__UI_BASE__/item
> icon_name=admin/icon_item.gif
> ']">No meta display</A>
>[/if-mm]
>
>@_UI_STD_FOOTER_@
><!-- page: @@MV_PAGE@@ -->
>
>
>
>>From: "Cameron Germein" <cameron.germein@team.eftel.com>
>>Reply-To: interchange-users@lists.akopia.com
>>To: <interchange-users@lists.akopia.com>
>>Subject: Re: [ic] item_edit.html Can't setup new products!!!!
>>Date: Fri, 16 Feb 2001 11:04:41 +0800
>>
>>i bet the fields in your product database are different from those in the
>>demo, right? if so, make a directory in your pages dir called "admin", and
>>copy from interchange/lib/UI/pages/admin the item_edit.html page into your
>>new admin directory. edit the new copy in there.
>>
>>----- Original Message -----
>>From: Bill Jenkins <billjenkins@hotmail.com>
>>To: <interchange-users@lists.akopia.com>
>>Sent: Friday, February 16, 2001 12:48 AM
>>Subject: [ic] item_edit.html Can't setup new products!!!!
>>
>>
>> > Does anyone have a template for this. When I click on add new item, I get
>>a
>> > almost blank screen. When you are in akopia's demo page you have a nice
>> > layout of the item name, description, image, price. My version does not
>>have
>> > that. Does anyone have it? How can I go about setting up one? I would
>> > appreciate any help about this.
>> > _________________________________________________________________
>> > Get your FREE download of MSN Explorer at http://explorer.msn.com
>> >
>> >
>> > _______________________________________________
>> > Interchange-users mailing list
>> > Interchange-users@lists.akopia.com
>> > http://lists.akopia.com/mailman/listinfo/interchange-users
>> >
>>
>>
>>_______________________________________________
>>Interchange-users mailing list
>>Interchange-users@lists.akopia.com
>>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 16 Feb 2001 16:40:45 -0500
Subject: [ic] Interchange and CCVS
Quoting John Vozza (john@netrom.com):
> Been searching the archives, STFW and yet I can't seem to find any info on
> HOW to make Interchange and CCVS work together.
>
> I see several references that it can be done but nothing as to how.
>
> Will accept any offers of help or pointers to same...
>
Actually, it is not in 4.6 nor even in 4.7. We have done a custom
for it, but there is no general solution.
That being said, since it is now our product, we will have it in 4.7 soon.
If not, I will probably be made redundant at Red Hat. 8-)
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Light travels faster than sound. This is why some people appear bright
until you hear them speak. -- unknown
From: marc at inuzite.com (Marc Villeneuve )
Date: Fri, 16 Feb 2001 17:12:25 -0500
Subject: [ic] No code for currency in orderlines or transactions
Hi,
I do agree that there are a lot of useful features in Interchange to handle
currency, and the fact that I am making this work for my point of view on
currency handling, is a testimony to how flexible this software is.
I have taken the middle road on this, I'm trying to disturb the system as
little as possible:
- Added a field in transactions to save the locale (order_locale) in which
the client has posted the order.
- Added a default var in catalog.cfg called "DefaultAdminUILocale" to set
the default locale for the Admin interface to whichever currency/language
suits you.
- Modified order, order_view, customer view etc (wherever there is an
amount of $ related to an order, to show $ CAN or US $ as defined in
locale.txt )
- Modifying (in progress) the sales reports for the month, affiliates etc
to convert currencies so that the total is represented in the
"DefaultAdminUILocale" currency (converting amounts as iis needed).
Todo:
- Add the currency rate at the time of the transaction to the transaction
table for future reference (like the reports, so the amount is not
recalculated based on the new rate, which it does now in my code).
- Make all the modification dependant on a var in catalog.cfg, so they can
be switched on/off. They are not that complex, but there are too many files
to go through to just reapply patches every time there is a new version of
Interchange on the horizon.
I hope to make this whole thing transparent, so that we could achieve many
modes of handling of cases for that kind of problem without disburbing
every catalog that has been built on it.
Thanks!!!
Marc Villeneuve
Inuzite inc.
At 04:16 PM 2/16/2001 -0500, you wrote:
>Quoting Marc Villeneuve (marc@inuzite.com):
> > Thanks for the hint Stefan, I applied it and I am on my way to solving the
> > whole thing in a week or two.
> >
> > I will contact Akopia`s team to try to submit these patches for currency
> > handling. As a non-american (german ?) yourself, do you disagree from the
> > way I want to solve this whole mess? I really would like your opinion on
> > this. 'ricans have great qualities, but they have such a huge internal
> > market ready to buy (280 M people), that handling 2-3 different
> currencies,
> > is not their priority. Being Canadian, and even worse, being a Quebecer
> > (latin people, read frenchman like) where we as a people are really pissed
> > when we don't get served in our own language and money, I have got to
> solve
> > this whole thing before I can push Interchange as a solution.
> >
>It is really a process definition issue. There is no "correct" way to
>do it that I know of.
>
>If you are to display the order amounts to the user in their currency,
>it would be nice to have that on record. You can't really derive it from
>PriceDivide, for the exchange rate may change.
>
>Probabaly the only "correct" way to do it is to double-log the price in
>orderline and transaction -- the actual dollar (or drachma) price at the
>time of order and the amount that the user was shown. Actually Interchange
>is quite well-suited to that -- just add a few fields to the database
>tables, use [item-field price] for one and [item-price] for the other,
>and away you go. Even if your price has discounts to where that would
>not work, you can do a [setlocale currency=foo].
>
>I think it *would* be nice to log the currency locale used at the time
>of purchase, and I will have that field added to the next version's
>demo. But anyone can do that themselves.
>
><PERSONAL-OPINION>
>
>I take just a teeny-tiny bit of offense at the American bashing (since
>it was the teeniest and tiniest of bashes). 8-)
>
>I tried very, very, hard to put good internationalization features in
>Interchange. Certainly much more than I received benefit from when I did
>consulting and produced most of them -- the great majority of my clients
>were US-based. I did it because I wanted Interchange to be international
>in scope. I believe it has proved to succeed at that to a pretty good
>degree. So in short, I paid LOTS of attention to it and I did not think
>of only the US.
>
>I cannot, however, be familiar with the customs of every country and
>the details of every business process. That is why I tried to make
>it flexible enough so that if you apply yourself you can do virtually
>anything you need to do with Interchange.
>
></PERSONAL-OPINION>
>
> > What I am trying to figure out, is: is this a general problem? Or mine
> > only? If it is mine only I will not bother Akopia with it, and I will keep
> > these patches for myself.
> >
> > Otherwise:
> > I will add a variable to catalog.cfg to set handling multi-currency
> on/off,
> > and modify every currency handling for orders to be properly addressed and
> > submit diff file to the Akopia team.
>
>If anyone has any constructive suggestions or work that applies to all
>locales, I am very ready to listen to what we can do to make Interchange
>even better in this regard.
>
>Customizing to one country and one business process is not that, but it
>is useful. The most useful thing would be a white paper on customizing
>Interchange to your country/locale and your business process. That can serve
>as a guide to people who have to go through the same thing. I believe that
>most of the industrialized countries in the world have had at least one
>Interchange catalog produced for them, and it would be nice to build a
>library of little documents that speak to them. I will certainly put
>them in the FAQ if they appear. 8-)
>
>--
>Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
>phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
>
>Experience is what allows you to recognize a mistake the second
>time you make it. -- unknown
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: ryan at whoopersnetwork.com (Ryan )
Date: Fri, 16 Feb 2001 14:16:26 +0800
Subject: [ic] MySQL and Interchange
HELP
now waht?
sql is running
it works with PHPNUKE
any ideas?
Calling UI....
...UI is loaded....
Interchange V4.6.3
Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct.
construct config error: connect failed (create) -- unknown error. Driver 'mysql' installed?
From: chet at pressler.com (Chet Pressler )
Date: Fri, 16 Feb 2001 14:28:07 -0800
Subject: [ic] MySQL and Interchange
First thing to look for that (I had a problem with the mysql.sock file)
The default mysql puts this file in /tmp/mysql.sock. However the DBI perl
looks for it on /var/lib/mysql.sock. Easy fix is
ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
At 02:16 PM 2/16/01 +0800, you wrote:
>HELP
>now waht?
>sql is running
>it works with PHPNUKE
>
>any ideas?
>
>Calling UI....
>...UI is loaded....
>Interchange V4.6.3
>Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct.
>construct config error: connect failed (create) -- unknown error. Driver
>'mysql' installed?
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Chet Pressler
Pressler Inc. Video Systems Specialists http://www.pressler.com/
8170 S. Eastern Avenue, Suite 196, Las Vegas, NV 89123
950 Comstock Street, Santa Clara CA 95054
702-616-3760 Voice
801-383-3908 FAX
702-493-6098 Cell (pager e-mail 7024936098@mobile.att.net)
email - chet@pressler.com
From: mark.johnson at akopia.com (Mark Johnson )
Date: Fri, 16 Feb 2001 18:16:26 -0500
Subject: [ic] MySQL and Interchange
Is DBD::mysql installed?
Ryan wrote:
>
> HELP
> now waht?
> sql is running
> it works with PHPNUKE
>
> any ideas?
>
> Calling UI....
> ...UI is loaded....
> Interchange V4.6.3
> Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct.
> construct config error: connect failed (create) -- unknown error. Driver 'mysql' installed?
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Akopia Professional Services
mark.johnson@akopia.com
703-456-2912
From: agalindo at mpsnet.net.mx (=?iso-8859-1?Q?Adri=E1n?= Galindo )
Date: Fri, 16 Feb 2001 17:45:03 -0600
Subject: [ic] MySQL and Interchange
Ryan escribió:
>
> HELP
> now waht?
> sql is running
> it works with PHPNUKE
>
> any ideas?
PHPNuke uses PHP, and the conection is independent from the conection
with perl used by IC.
Check if your DBI:DBD is correctly installed/configured.
You can probe the dsn with dbimon:
# su - postgres
$ dbimon dbi:Pg:dbname=test_construct
or whatever your db is called.
C ya!
Adrian Galindo
From: sean at inow.com (Sean Strycker )
Date: Fri, 16 Feb 2001 16:32:39 -0800
Subject: [ic] Interchange
Hi all,
I have 3 questions:
1. I am trying to install the authorize.net module at the Interchange
4.6.3, but it gives me this error. I have been fixing it for last 3 days
and trying to find something from the archive, but I am still not able to
get it working. Any hints from anyone?
This is what I put in my catalog.cfg
###################
Variable MV_PAYMENT_ID myID
Variable MV_PAYMENT_SECRET myPassword
Variable MV_PAYMENT_MODE custom authorizenet
Variable MV_PAYMENT_REFERER
https://secure.authorize.net/gateway/transact.dll
####################
And in the interchange.cfg file, I have put this line
#include interchange-4.6.3/eg/globalsub/authorizenet
2. In and when I tried the credit card transaction, it always return
"There are error marks in red", at the same time , I can't find any red
marks on the page, or error log.
3. When I tried to do transaction with MasterCard,
It showed the error,
"We don't accept the credit card type"MASTERCARD".
Hope to hear from you guys.
Thanks in advance.
Sean.
From: sean at inow.com (Sean Strycker )
Date: Fri, 16 Feb 2001 16:45:54 -0800
Subject: [ic] Bad GlobalSub 'authorizenet'
Hi all,
Sorry for my message again, I just want to make my question clear.
I think the last mail is no too clear.
I have 3 questions:
1. I am trying to install the authorize.net module at the Interchange
4.6.3, but it gives me this error " Bad GlobalSub 'authorizenet'". I have
been fixing it for last 3 days
and trying to find something from the archive, but I am still not able to
get it working. Any hints from anyone?
This is what I put in my catalog.cfg
###################
Variable MV_PAYMENT_ID myID
Variable MV_PAYMENT_SECRET myPassword
Variable MV_PAYMENT_MODE custom authorizenet
Variable MV_PAYMENT_REFERER
https://secure.authorize.net/gateway/transact.dll
####################
And in the interchange.cfg file, I have put this line
#include interchange-4.6.3/eg/globalsub/authorizenet
2. In and when I tried the credit card transaction, it always return
"There are error marks in red", at the same time , I can't find any red
marks on the page, or error log.
3. When I tried to do transaction with MasterCard,
It showed the error,
"We don't accept the credit card type"MASTERCARD".
Hope to hear from you guys.
Choong-Hoong Liew
ImaginOn - Buy your Internet TV station from us!
http://www.ImOn.com
Tel: 408-946-6895
Fax: 408-946-6899
From: kalum at cyberlink.bc.ca (Kalum Lauritzen )
Date: Fri, 16 Feb 2001 17:44:31 -0700
Subject: [ic] Cybercash 3.2 & Interchange 4.6.3
I am trying to get Cybercash working with Interchange, as have a ton of
people judging by the amount of postings in the mail archives. The system is
so close to working with the construct demo store yet our Cybercash test
account is not being updated. We can fill out an order, submit it, receive a
receipt on the web and via email, but cr.cybercash.com does not show any
amounts added. In the catalog.cfg file we have only modified the following:
Variable CYBER_CONFIGFILE /catalogs/zitherstore/merchant_conf
Variable CYBER_VERSION 3.2
#Variable CYBER_MODE mauthonly
#ifdef CYBER_MODE
Variable MV_PAYMENT_MODE mauthcapture
## CreditCardAuto No
CyberCash Yes
#endif
We have tried variations of the above theme with no real differences. When
we load Interchange it reports that it found the Cybercash 3.2 modules and
there is never anything in the error logs. What has to be added to the
checkout.html page? We have played around with adding
<INPUT TYPE="hidden" NAME="mv_cyber_mode" VALUE="mauthcapture"> and other
fields but no differences result.
If we run the test web site that the Cybercash MCK kit loaded and run
transactions through it then everything updates on the cybercash web site
just fine. I assume we are missing a simple step. We have looked through the
mail list archives rigorously but it is hard to determine what is applicable
with all the different versions of Cybercash and Interchange. It is a shame
there is no detailed how-to on this subject, especially with how many
postings there are on this subject.
I look forward to any obvious solutions that we have missed. Thank you in
advance.
From: david at wwns.com (David Wilson )
Date: Fri, 16 Feb 2001 18:34:02 -0600 (CST)
Subject: [ic] Bad GlobalSub 'authorizenet'
Check the code carefully...
in the authorizenet subroutine it calls for a module.
That has to be loaded before it will work. I suspect it has not been
added.
Dave
Sean Strycker wrote...
>
> Hi all,
> Sorry for my message again, I just want to make my question clear.
> I think the last mail is no too clear.
> I have 3 questions:
> 1. I am trying to install the authorize.net module at the Interchange
> 4.6.3, but it gives me this error " Bad GlobalSub 'authorizenet'". I have
> been fixing it for last 3 days
> and trying to find something from the archive, but I am still not able to
> get it working. Any hints from anyone?
> This is what I put in my catalog.cfg
> ###################
> Variable MV_PAYMENT_ID myID
> Variable MV_PAYMENT_SECRET myPassword
> Variable MV_PAYMENT_MODE custom authorizenet
> Variable MV_PAYMENT_REFERER
> https://secure.authorize.net/gateway/transact.dll
> ####################
> And in the interchange.cfg file, I have put this line
> #include interchange-4.6.3/eg/globalsub/authorizenet
>
> 2. In and when I tried the credit card transaction, it always return
> "There are error marks in red", at the same time , I can't find any red
> marks on the page, or error log.
>
> 3. When I tried to do transaction with MasterCard,
> It showed the error,
> "We don't accept the credit card type"MASTERCARD".
>
> Hope to hear from you guys.
>
>
> Choong-Hoong Liew
> ImaginOn - Buy your Internet TV station from us!
> http://www.ImOn.com
> Tel: 408-946-6895
> Fax: 408-946-6899
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
--
David R. Wilson
World Wide Network Services
Nashville, Tennessee USA
david@wwns.com
From: sean at inow.com (Sean Strycker )
Date: Fri, 16 Feb 2001 16:54:19 -0800 (PST)
Subject: [ic] Bad GlobalSub 'authorizenet'
Hi Dave,
Just wondering do you know which part in the authorizenet file that I
should edit to make it run properly?
Thanks
Sean
From: david at wwns.com (David Wilson )
Date: Fri, 16 Feb 2001 20:41:17 -0600 (CST)
Subject: [ic] Bad GlobalSub 'authorizenet'
Hello Sean,
apologies to the list....
Note in the authorizenet routine it says "use Net::SSLeay"
You will need to install that perl module before things will work.
Other than that, there is a good chance your other configuration
will work (I did not look it over though).
HTH
Dave
Sean Strycker wrote...
>
> Hi Dave,
> Just wondering do you know which part in the authorizenet file that I
> should edit to make it run properly?
> Thanks
> Sean
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
--
David R. Wilson
World Wide Network Services
Nashville, Tennessee USA
david@wwns.com
From: webmaster at infothai.com (Webmaster of Infothai )
Date: Sat, 17 Feb 2001 11:06:34 +0700
Subject: [ic] Bad GlobalSub 'authorizenet'
I had this problem, but resolved it as follows:
1. Be sure to include the globalsub definition in your
interchange.cfg file:
#include globalsub/authorizenet
2. Be sure to create the globalsub directory and move the
authorizenet file into that directory.
3. Test your authorizenet module as follows:
- create a copy
- edit the copy to remove the globalsub <<EOF line
and the EOF line near the bottom
- run perl against the module:
perl testfilename
- fix any errors in the module. Install any perl
modules that are called for.
- make the same fixes to your actual authorizenet
file
- try again
Step 3 was the one that showed me my problems. If the
globalsub does not compile properly, for any reason,
you will get the "BAD GLOBALSUB" error. So, find the
errors and fix them.
Mike
On Fri, 16 Feb 2001 16:45:54 -0800, Sean Strycker wrote:
>Hi all,
>Sorry for my message again, I just want to make my question clear.
>I think the last mail is no too clear.
>I have 3 questions:
>1. I am trying to install the authorize.net module at the Interchange
>4.6.3, but it gives me this error " Bad GlobalSub 'authorizenet'". I have
>been fixing it for last 3 days
>and trying to find something from the archive, but I am still not able to
>get it working. Any hints from anyone?
>This is what I put in my catalog.cfg
>###################
>Variable MV_PAYMENT_ID myID
>Variable MV_PAYMENT_SECRET myPassword
>Variable MV_PAYMENT_MODE custom authorizenet
>Variable MV_PAYMENT_REFERER
>https://secure.authorize.net/gateway/transact.dll
>####################
>And in the interchange.cfg file, I have put this line
>#include interchange-4.6.3/eg/globalsub/authorizenet
>
>2. In and when I tried the credit card transaction, it always return
>"There are error marks in red", at the same time , I can't find any red
>marks on the page, or error log.
>
>3. When I tried to do transaction with MasterCard,
>It showed the error,
>"We don't accept the credit card type"MASTERCARD".
>
>Hope to hear from you guys.
>
>
>Choong-Hoong Liew
>ImaginOn - Buy your Internet TV station from us!
>http://www.ImOn.com
>Tel: 408-946-6895
>Fax: 408-946-6899
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
webmaster@infothai.com
http://www.infothai.com
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Sat, 17 Feb 2001 14:17:21 +0200
Subject: [ic] shipping.asc=16MB!!!
Hi!
I got a serious server problem some days ago(server just died because
when i was accesing the shipping page,all the memory was sucked up!)
I then found out that my shipping.asc file was 16MB!!
This problem happed when i add a new shipping method.
I just deleted the file and now everything is fine.
Anyone had a problem like that?
Thomas
From: feri at arxeltribe.com (Ferenc Kiraly )
Date: Sat, 17 Feb 2001 14:44:01 +0100
Subject: [ic] Self referencing URLs
Hi!
I have an in-page search, surrounded by [search-region] tags. In
the search region I have paging with the [more-list][more] ...
tags.
How do I create a form (or link) that just updates some form
variables, and returns me to the same page, preserving the exact
previous location in the paging sequence. I.e. if I was on page 5
of the paging before, I want to remain on page 5 after following
the link or submitting the form.
Thanks,
feri.
From: jnealy at symetrek.com (John K. Nealy, III )
Date: Sat, 17 Feb 2001 09:16:48 -0500
Subject: [ic] shipping.asc=16MB!!!
"Thomas N. Stefanidis" wrote:
> Hi!
> I got a serious server problem some days ago(server just died because
> when i was accesing the shipping page,all the memory was sucked up!)
> I then found out that my shipping.asc file was 16MB!!
> This problem happed when i add a new shipping method.
> I just deleted the file and now everything is fine.
> Anyone had a problem like that?
>
> Thomas
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
Hey, Thomas.
Something similar happened to me about a month or so ago. After adding
a shipping method I could admin other sections but not
shipping - it would cause a serious drain on my server (I don't think it
died, but restarting manually didn't help, I compared my shipping.asc
to the one in construct and saw that my file had a long line of nonsense
characters at the beginning. I removed it and everything - including my
own shipping additions - were fine. This line was what accounted for
the large size of shipping.asc. Hope this helps!
John Nealy.
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Sat, 17 Feb 2001 16:50:08 +0200
Subject: [ic] Remove SKU from product from the search result
Hello,
How can i remove the SKU from the product from the search result?
And how about the other settings(stock,price)?How can i change the
display?
Thomas
From: allosteric at videotron.ca (Philippe Roche )
Date: Sat, 17 Feb 2001 10:32:00 -0400
Subject: [ic] Tax&Shipping!!!
Hi Mike,
First of all thanks for your help! You gave me the clue i needed!
Your solution doesn't work...in fact yes, but not completly!
you wrote:
Try:
f [calc] @@TOTAL@@ + [handling mode=gst noformat=1] * .08 [/calc]
instead of "x .08" in your cost field.
---------------------------------------------------------------------------
the @@total@@ + [handling] * .08 is not a good method. It seem's to be
logical..and it is...but when i try
(exemple) @@TOTAL@@(10.50$) + [handling(0.50)] * 1
it worked well, i've got-- 10.50 + 0.50 x1 = 11.00
when i try the same line with a *2 then, i've got
10.50 + 0.50 x 2 = 20.43$
The problem is that it need to be calculated this way to work:
10.50 +0.50 = 11.00 x 2 = 22.00
I wrote this solution and give it here for futur reference[people needing it):
In shipping.asc:
Replace
gst GST [subtotal noformat=1] 0 99999999 x .07 {}
pst PST [subtotal noformat=1] [value state] 0 0 0 {}
pst PST for Quebec QC 0 99999999 x .075
pst PST for Ontario On 0 99999999 x .08
pst No PST 0 99999999 0 {}
------------------------------------------------------------------------------
with
------------------------------------------------------------------------------
gst GST [subtotal noformat=1] 0 99999999 x .07 {}
pst PST [subtotal noformat=1] [value state] 0 0 0 {}
pst PST for tx QC 0 99999999 f [calc][handling mode=gst
noformat=1]@@TOTAL@@[/calc]
{}
pst No PST 0 99999999 0 {}
psts PST [subtotal noformat=1] [value state] 0 0 0 {}
psts PST for tx QC 0 99999999 f [calc] [handling mode=pst
noformat=1]*0.075[/calc]
------------------------------------------------------------------------------
It's simple: the psts command take the total of the pst and multiplie with
0.075.
----------------------------------------------------
In checkout.html:
replace:
[value name=mv_handling set="gst pst" hide=1]
-----------------------------------------------------
with
-----------------------------------------------------
[value name=mv_handling set="gst psts" hide=1]
and
[shipping pst] with [shipping psts]
---------------------------------------------------
That's all!
I hope that anybody with the same problem gets a rapid answer with this
solution!
Thanks for everything
Philippe Roche
From: allosteric at videotron.ca (Philippe Roche )
Date: Sat, 17 Feb 2001 10:32:53 -0400
Subject: [ic] Tax&Shipping!!!
Le Samedi 17 Février 2001 10:32, vous avez écrit :
> Hi Mike,
> First of all thanks for your help! You gave me the clue i needed!
> Your solution doesn't work...in fact yes, but not completly!
> you wrote:
> Try:
>
> f [calc] @@TOTAL@@ + [handling mode=gst noformat=1] * .08 [/calc]
>
> instead of "x .08" in your cost field.
> ---------------------------------------------------------------------------
> the @@total@@ + [handling] * .08 is not a good method. It seem's to be
> logical..and it is...but when i try
> (exemple) @@TOTAL@@(10.50$) + [handling(0.50)] * 1
> it worked well, i've got-- 10.50 + 0.50 x1 = 11.00
>
> when i try the same line with a *2 then, i've got
> 10.50 + 0.50 x 2 = 20.43$
>
> The problem is that it need to be calculated this way to work:
> 10.50 +0.50 = 11.00 x 2 = 22.00
>
> I wrote this solution and give it here for futur reference[people needing
> it):
>
> In shipping.asc:
> Replace
>
> gst GST [subtotal noformat=1] 0 99999999 x .07 {}
> pst PST [subtotal noformat=1] [value state] 0 0 0 {}
> pst PST for Quebec QC 0 99999999 x .075
> pst PST for Ontario On 0 99999999 x .08
> pst No PST 0 99999999 0 {}
> ---------------------------------------------------------------------------
>--- with
> ---------------------------------------------------------------------------
>--- gst GST [subtotal noformat=1] 0 99999999 x .07 {}
> pst PST [subtotal noformat=1] [value state] 0 0 0 {}
> pst PST for tx QC 0 99999999 f [calc][handling mode=gst
> noformat=1]@@TOTAL@@[/calc]
> {}
> pst No PST 0 99999999 0 {}
> psts PST [subtotal noformat=1] [value state] 0 0 0 {}
> psts PST for tx QC 0 99999999 f [calc] [handling mode=pst
> noformat=1]*0.075[/calc]
> ---------------------------------------------------------------------------
>--- It's simple: the psts command take the total of the pst and multiplie
> with 0.075.
> ----------------------------------------------------
> In checkout.html:
>
> replace:
> [value name=mv_handling set="gst pst" hide=1]
> -----------------------------------------------------
> with
> -----------------------------------------------------
> [value name=mv_handling set="gst psts" hide=1]
>
> and
>
> [shipping pst] with [shipping psts]
> ---------------------------------------------------
>
> That's all!
> I hope that anybody with the same problem gets a rapid answer with this
> solution!
>
> Thanks for everything
> Philippe Roche
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Sat, 17 Feb 2001 21:25:19 +0200
Subject: [ic] Search.pm
Hello,
I have a problem making the search to work right.
Everything works just fine if i search in english,but i have a problem
with greeks,case sensitive just don't work.
How does the search knows that "A" is the same with "a"?I want to do the
same with greek letters.Is there a way?
Thank you
Thomas
From: allosteric at videotron.ca (Philippe Roche )
Date: Sat, 17 Feb 2001 14:30:24 -0400
Subject: [ic] Error customisation!
Hi,
I would like to customise my errors messages:
Where is the file with error message??
like std_label=City require=1 (City field cannot be left blank)
Thank a lot!
Philippe
From: mikeh at minivend.com (Mike Heins )
Date: Sat, 17 Feb 2001 16:07:08 -0500
Subject: [ic] Random Vertical Component... Gone?
Quoting Joshua Scott (josh@bluebonnet.net):
> We have several sites that use Interchange, we decided to upgrade to the
> latest version and all of the items that were displayed randomly on the
> right side of the page are GONE... we have a backup of the old site, but
> would love to update to the newest version. Is the random vertical
> component not allowed in the latest version?
Yes, of course it is. The question is -- what do you mean by "upgrade"?
If all you did was install the new software and not make any changes
to catalogs, then it should indeed work. But there is a lot of latitude
in the word upgrade.
We need complete information before having a chance to help. I.e. are
there any error log entries, what precisely did you do, etc.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
From: sean at inow.com (Sean Strycker )
Date: Sat, 17 Feb 2001 13:15:46 -0800 (PST)
Subject: [ic] Credit Card Information (Sorry, we don't accept credit card type
Hi Dave and Mike,
Thanks for your help, the authorize.net it works now. Thanks for you guys'
help.
But, I have another two more problems. (Hopefully are the last two)
1. I am able to process the transaction using VISA and AMERICAN
EXPRESS CARD, but, when I chose MASTER CARD, the error " Credit Card
Information (Sorry, we don't accept credit card type 'MASTERCARD'.) "
came out, do you know why?
2. After I placed an order, I have receive the email confirmation, but as
a customer, I didn't receive anymail from the store. Is that have
something to do with my mail configuration inside my server or I need to
configure the Interchange program.
I really really appreciate you guys' help. Thanks Again!
Sean
From: billjenkins at hotmail.com (Bill Jenkins )
Date: Sun, 18 Feb 2001 01:12:30
Subject: [ic] item_edit.html Can't setup new products!!!!
I'm sorry, I am new at this. I have tried to install mySQL database under
tables and Database. I tell it that mySQL and (mydatabase) but everytime I
login it says "You need either GDBM_File or DB_File for Interchange to work
as documented." Is this where you tell it what your database is? Is there a
step I missed?
>From: Chet Pressler <chet@pressler.com>
>Reply-To: interchange-users@lists.akopia.com
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] item_edit.html Can't setup new products!!!!
>Date: Fri, 16 Feb 2001 13:13:19 -0800
>
>
>I wanted to add a manufacturer to my products so I did the following
>
>1) Add column in database product table
>
># mysql
>mysql> use <my dbase name> ( fill in if you are using a database)
>mysql> ALTER products ADD mfg VARCHAR(20);
>mysql> quit
>
>2) Modify variable.txt. I added the mfg field after weight
>
>UI_ITEM_FIELDS sku description category price image display comment size
>color weight mfg Item display
>
>3) Add New Entry into mv_metadata ( via Admin Tables interface)
>
>Name Type Width Label
>products:mfg Text 30 Manufacturer
>
>I did not have to move or change the item_edit.html to the pages/admin
>directory in my catalog
>
>The next time I did an item edit the field was available to change. After
>saving the database show the value in the row.
>
>Hope this sheds some light.
>
>
>
>At 04:32 PM 2/16/01 +0000, you wrote:
>>Okay I did that but I still don't get anything. All that I have is this:
>>Is this all I am supposed to have and I have to create my own page?
>>Does anyone have a copy of one they made? I would really appreciate it.
>>
>>
>>[calc]
>> $CGI->{mv_data_table} = $Config->{ProductFiles}[0];
>> if ($CGI->{item_id} eq 'new') {
>> $CGI->{ui_new_item} = 1;
>> }
>> else {
>> $CGI->{ui_hide_key} = 1 unless $CGI->{item_id} eq 'new';
>> }
>> if(! $CGI->{ui_data_fields}) {
>> $CGI->{ui_data_fields} = $Variable->{UI_ITEM_FIELDS}
>> || 'sku description category comment
>>price image weight size color';
>> }
>> if(! $CGI->{ui_break_before}) {
>> $CGI->{ui_break_before} = $Variable->{UI_ITEM_BREAK}
>> || 'image size';
>> }
>> my @args = (
>> '__UI_BASE__/item',
>> "item_id_left=$CGI->{item_id_left}",
>> "ui_sequence_edit=$CGI->{ui_sequence_edit}",
>> );
>> $CGI->{ui_return_to} = join "\0", @args;
>> return;
>>[/calc]
>>[if cgi ui_new_item]
>> [calc]
>> $CGI->{item_id} = q{[counter
>>file="__UI_PRODUCT_DIR__/__UI_PRODUCT_DIR__.autonumber" start=new0000]};
>> return;
>> [/calc]
>>[/if]
>>@_UI_STD_DBEDIT_HEAD_@
>>
>>[seti page_title]Item editor: [cgi item_id][/seti]
>>[seti page_banner]Item editor: edit item <B>[cgi item_id]</B>[/seti]
>>[set help_name]edit.item[/set]
>>[set icon_name]admin/icon_item.gif[/set]
>>
>>@_UI_STD_HEAD_@
>><P>
>>@_UI_STD_DBEDIT_TABLE_@
>>
>>[if-mm super]
>><A HREF="[area href=admin/flex_editor
>> form='
>> item_id=[cgi item_id]
>>
>>mv_data_table=__UI_PRODUCT_TABLE__
>> page_title=Edit items: [cgi
>>item_id]
>> help_name=inventory.edit
>> ui_no_meta_display=1
>> ui_hide_key=1
>> ui_return_to=__UI_BASE__/item
>> icon_name=admin/icon_item.gif
>> ']">No meta display</A>
>>[/if-mm]
>>
>>@_UI_STD_FOOTER_@
>><!-- page: @@MV_PAGE@@ -->
>>
>>
>>
>>>From: "Cameron Germein" <cameron.germein@team.eftel.com>
>>>Reply-To: interchange-users@lists.akopia.com
>>>To: <interchange-users@lists.akopia.com>
>>>Subject: Re: [ic] item_edit.html Can't setup new products!!!!
>>>Date: Fri, 16 Feb 2001 11:04:41 +0800
>>>
>>>i bet the fields in your product database are different from those in the
>>>demo, right? if so, make a directory in your pages dir called "admin",
>>>and
>>>copy from interchange/lib/UI/pages/admin the item_edit.html page into
>>>your
>>>new admin directory. edit the new copy in there.
>>>
>>>----- Original Message -----
>>>From: Bill Jenkins <billjenkins@hotmail.com>
>>>To: <interchange-users@lists.akopia.com>
>>>Sent: Friday, February 16, 2001 12:48 AM
>>>Subject: [ic] item_edit.html Can't setup new products!!!!
>>>
>>>
>>> > Does anyone have a template for this. When I click on add new item, I
>>>get
>>>a
>>> > almost blank screen. When you are in akopia's demo page you have a
>>>nice
>>> > layout of the item name, description, image, price. My version does
>>>not
>>>have
>>> > that. Does anyone have it? How can I go about setting up one? I would
>>> > appreciate any help about this.
>>> > _________________________________________________________________
>>> > Get your FREE download of MSN Explorer at http://explorer.msn.com
>>> >
>>> >
>>> > _______________________________________________
>>> > Interchange-users mailing list
>>> > Interchange-users@lists.akopia.com
>>> > http://lists.akopia.com/mailman/listinfo/interchange-users
>>> >
>>>
>>>
>>>_______________________________________________
>>>Interchange-users mailing list
>>>Interchange-users@lists.akopia.com
>>>http://lists.akopia.com/mailman/listinfo/interchange-users
>>
>>_________________________________________________________________
>>Get your FREE download of MSN Explorer at http://explorer.msn.com
>>
>>
>>_______________________________________________
>>Interchange-users mailing list
>>Interchange-users@lists.akopia.com
>>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: chet at pressler.com (Chet Pressler )
Date: Sat, 17 Feb 2001 19:39:05 -0800
Subject: [ic] item_edit.html Can't setup new products!!!!
[root@www bin]# pwd
/usr/lib/interchange/bin
[root@www bin]# ./makecat
Select a short, mnemonic name for the catalog. This will be
used to set the defaults for naming the catalog, executable,
and directory, so you will have to type in this name frequently.
NOTE: This will be the name of 'vlink' or 'tlink', the link CGI
program. Depending on your CGI setup, it may also have the
extension .cgi added.
If you are doing the demo for the first time, you might use "construct".
Catalog name? demo
makecat -- Interchange catalog installation program.
*** We will be making a catalog named 'demo'. ***
If you are using the Apache or NCSA web server, Interchange can set
some of the default parameters for you by reading the file.
If you use the Netscape Enterprise server or other non-NCSA HTTP server,
enter 'none' -- the information, if any, will not be useful.
Try using the UP arrow at some of the prompts -- you have the
Term::ReadLine module installed, and Interchange may find some
default values in your HTTP server configuration file. You can
cycle among them with the UP and DOWN arrows.
Enter path to httpd.conf file: /etc/httpd/conf/httpd.conf
######### BEGINNING CATALOG CONFIGURATION #########
During many of the following operations, defaults are placed in
a buffer for you. You may use the up and down arrows to toggle
between the defaults.
If you made a mistake on a *previous* entry and realize that
in a later one, if you enter ONLY an @ sign and press return you
should be returned to the previous step.
# The server name, something like: www.company.com
# www.company.com:8000
# www.company.com/~yourname
#
Server name? www.yourname.com
# The type of demo catalog to use. The standard one distributed is:
#
# construct
#
# If you have defined your own custom template catalog,
# you can enter its name.
#
# If you are new to Interchange and not a sophisticated web designer,
# use "construct" to start with.
DemoType? construct
# The type of permission structure for multiple user catalogs.
# Select M for each user in own group (with interchange user in group)
# G for all users in group of interchange user
# U for all catalogs owned by interchange user (must be catuser as well)
#
# M is recommended, G works for most installations.
permtype? M
# The user name the Interchange server runs under on this machine. This
# should not be the same as the user that runs the HTTP server (i.e.
# NOT nobody).
#
InterchangeUser? interch
#
# The user name the catalog will be owned by.
#
CatUser? interch
# The group name the server-owned files should be set to. This is
# only important if Interchange catalogs will be owned by multiple users
# and the group to be used is not the default for the catalog user.
#
# Normally this is left blank.
#
InterchangeGroup?
# The email address where orders for this catalog should go.
# To have a secure catalog, either this should be a local user name and
# not go over the Internet -- or use the PGP option.
#
MailOrderTo? admin@yourname.com
# Where the Interchange files for this catalog will go, pages,
# products, config and all. This should not be in HTML document
# space! Usually a 'catalogs' directory below your home directory
# works well. Remember, you will want a test catalog and an online
# catalog.
#
CatRoot? /var/lib/interchange/demo
# The location of the normal CGI directory. This is a
# file path, not a script alias.
#
# If all of your CGI programs must end in .cgi, this is
# should be the same as your HTML directory.
#
CgiDir? /home/httpd/cgi-bin
# The URL location of the CGI program, without the http://
# or server name.
#
# http://www.virtual.com/cgi-bin/prog
# ^^^^^^^^^^^^^
#
# http://www.virtual.com/program.cgi
# ^^^^^^^^^^^^
#
CgiUrl? /cgi-bin/demo
#
# Additional URL locations for the CGI program, as with CgiUrl.
# This is used when calling the catalog from more than one place,
# perhaps because your secure server is not the same name as the
# non-secure one.
#
# http://www.secure.domain/secure-bin/prog
# ^^^^^^^^^^^^^^^^
#
# We set it to the name of the catalog by default to enable the
# internal HTTP server.
#
Aliases? /demo
# The base directory for HTML for this (possibly virtual) domain.
# This is a directory path name, not a URL -- it is your HTML
# directory.
#
DocumentRoot? /home/httpd/html
# Where the sample HTML files (not Interchange pages) should be installed.
# There is a difference. Usually a subdirectory of your HTML directory.
#
SampleHtml? /home/httpd/html/demo
# Where the image files should be copied. A directory path
# name, not a URL.
#
ImageDir? /home/httpd/html/demo/images
# The URL base for the sample images. Sets the ImageDir
# directive in the catalog configuration file. This is a URL
# fragment, not a directory or file name.
#
# <IMG SRC="/construct/images/icon.gif">
# ^^^^^^^^^^^^^^^^^
#
ImageUrl? /demo/images
Interchange can use either UNIX- or internet-domain sockets.
Most ISPs would prefer UNIX mode, and it is more secure.
If you already have a program there, or use a common program
and the FullURL directive, select NONE. You will then need
to copy the program by hand or otherwise ensure its presence.
(You can use the up/down arrows to toggle).
INET or UNIX mode? UNIX
Do you use CGIWRAP or SUEXEC? n
Checking directories........................................mkdir
/var/lib/interchange/demo
mkdir /home/httpd/html/demo
mkdir /home/httpd/html/demo/images
done.
Copying demo files..........................................found more to ask.
Your company name: ...............................Construct Something
Interchange has a workable internal database, but many things will
work better (and a few worse) if you use a SQL database. Interchange
can configure MySQL, PostgreSQL, and Oracle in a test configuration.
Set to 1 if you want to use MySQL, PostgreSQL, or Oracle: ..1
You can select this to use MySQL in your test catalog. Careful!
This requires the ability to create a database named "test_construct",
and is highly dependent on your Perl and MySQL configuration. Don't
be too surprised if this doesn't work.
Set to 1 if you want to use MySQL: ...............1
Database to use (will be created): ...............test_demo
DBI DSN to use: ..................................dbi:mysql:test_demo
Username for MySQL (if any): .....................
Password for MySQL (if any): .....................
We can try and use mysqladmin to create the database in
MySQL. In many default MySQL distributions, any user can create
a database beginning with "test".
Use the next option to add parameters. If your MySQL is password-protected
(and you know the password) you may want to add "-u root -p".
Set to 1 to create 'test_demo' with mysqladmin: ..1
To create the database you may need to supply a password and
username. To do that, add the option "-u USERNAME -p", where
USERNAME is a MySQL user with permission to create databases.
This is often the user "root".
Extra options for creation: ......................
You can use Interchange's companion configuration
interface, to do upload/download of files, manipulation of
the database, reconfiguration of the catalog, and much more.
To enable the UI, you will need a "super-user" account
name that has full access.
The initial password is "pass". CHANGE IT! You can do this
by going to the admin menu and selecting the superuser and
then "Change password".
Account name that will control this catalog: .....interchange
Administrative password: .........................pass
Found system commands to run.
Since you selected the MySQL option, you need to create
a database named "test_demo". In a default MySQL
configuration, any user may create and drop and modify
test_* databases, but some administrators disable this.
run "mysqladmin create test_demo"? y
Database "test_demo" created.
done.
Moving link, /home/httpd/cgi-bin/demo exists, overwrite? ...y
done.
Copying share/ files to /home/httpd/html....................done.
Moving HTML files to /home/httpd/html/demo..................done.
Moving image files to /home/httpd/html/demo/images..........done.
Found additional system commands to run.
To enable image upload feature, you need to make a symbolic
link of the image base directory into your catalog directory.
run "ln -s /home/httpd/html/demo/images /var/lib/interchange/demo"? y
Add catalog to interchange.cfg? y
Done with installation. If my reading of your input is correct, you
should be able to access the demo catalog with the following URL:
http://www.yourname.com/demo
In any case, you should get direct access at:
http://www.yourname.com/cgi-bin/demo
That is, after you START or RESTART the Interchange server. 8-)
It is best done with:
su -c "/usr/lib/interchange/bin/interchange -r" interch
For session expiration, you might want to place a line like this in your
crontab:
44 4 * * * /usr/lib/interchange/bin/expireall -r
It will prevent the session databases from getting too large.
[root@www bin]#
NOW Check that the database is created. However no tables are created until
after running /usr/sbin/interchange -r If you get a config error in this
command most likely the tables will not be created in the database. The
reasons I have found are the MySQL DBI connections are not working.
Trying reinstalling them
[root@www bin]# mysql
mysql> show databases;
+-------------+
| Database |
+-------------+
| contact |
| mysql |
| samp_db |
| test_demo |
+-------------+
4 rows in set (0.00 sec)
mysql> quit
[root@www bin]# su - interch
[interch@www interchange]$ /usr/sbin/interchange -r
[interch@www interchange]$exit
[root@www bin]# mysql
[root@www bin]#
mysql> use test_demo
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
+---------------------+
| Tables in test_demo |
+---------------------+
| affiliate |
| area |
| cat |
| country |
| gift_certs |
| inventory |
| merchandising |
| order_returns |
| orderline |
| pricing |
| products |
| recurring_items |
| recurring_orders |
| ship_addresses |
| transactions |
| userdb |
+---------------------+
16 rows in set (0.00 sec)
mysql> quit
[interch@www bin]$
At this point you should be up and running. If you run this again you may
need to drop the database
use
#mysqladmin drop test_demo -f
At 01:12 AM 2/18/01 +0000, you wrote:
>I'm sorry, I am new at this. I have tried to install mySQL database under
>tables and Database. I tell it that mySQL and (mydatabase) but everytime I
>login it says "You need either GDBM_File or DB_File for Interchange to
>work as documented." Is this where you tell it what your database is? Is
>there a step I missed?
>
>
>>From: Chet Pressler <chet@pressler.com>
>>Reply-To: interchange-users@lists.akopia.com
>>To: interchange-users@lists.akopia.com
>>Subject: Re: [ic] item_edit.html Can't setup new products!!!!
>>Date: Fri, 16 Feb 2001 13:13:19 -0800
>>
>>
>>I wanted to add a manufacturer to my products so I did the following
>>
>>1) Add column in database product table
>>
>># mysql
>>mysql> use <my dbase name> ( fill in if you are using a database)
>>mysql> ALTER products ADD mfg VARCHAR(20);
>>mysql> quit
>>
>>2) Modify variable.txt. I added the mfg field after weight
>>
>>UI_ITEM_FIELDS sku description category price image display comment size
>>color weight mfg Item display
>>
>>3) Add New Entry into mv_metadata ( via Admin Tables interface)
>>
>>Name Type Width Label
>>products:mfg Text 30 Manufacturer
>>
>>I did not have to move or change the item_edit.html to the pages/admin
>>directory in my catalog
>>
>>The next time I did an item edit the field was available to change. After
>>saving the database show the value in the row.
>>
>>Hope this sheds some light.
>>
>>
>>
>>At 04:32 PM 2/16/01 +0000, you wrote:
>>>Okay I did that but I still don't get anything. All that I have is this:
>>>Is this all I am supposed to have and I have to create my own page?
>>>Does anyone have a copy of one they made? I would really appreciate it.
>>>
>>>
>>>[calc]
>>> $CGI->{mv_data_table} = $Config->{ProductFiles}[0];
>>> if ($CGI->{item_id} eq 'new') {
>>> $CGI->{ui_new_item} = 1;
>>> }
>>> else {
>>> $CGI->{ui_hide_key} = 1 unless $CGI->{item_id} eq 'new';
>>> }
>>> if(! $CGI->{ui_data_fields}) {
>>> $CGI->{ui_data_fields} = $Variable->{UI_ITEM_FIELDS}
>>> || 'sku description category comment
>>>price image weight size color';
>>> }
>>> if(! $CGI->{ui_break_before}) {
>>> $CGI->{ui_break_before} = $Variable->{UI_ITEM_BREAK}
>>> || 'image size';
>>> }
>>> my @args = (
>>> '__UI_BASE__/item',
>>> "item_id_left=$CGI->{item_id_left}",
>>> "ui_sequence_edit=$CGI->{ui_sequence_edit}",
>>> );
>>> $CGI->{ui_return_to} = join "\0", @args;
>>> return;
>>>[/calc]
>>>[if cgi ui_new_item]
>>> [calc]
>>> $CGI->{item_id} = q{[counter
>>>file="__UI_PRODUCT_DIR__/__UI_PRODUCT_DIR__.autonumber" start=new0000]};
>>> return;
>>> [/calc]
>>>[/if]
>>>@_UI_STD_DBEDIT_HEAD_@
>>>
>>>[seti page_title]Item editor: [cgi item_id][/seti]
>>>[seti page_banner]Item editor: edit item <B>[cgi item_id]</B>[/seti]
>>>[set help_name]edit.item[/set]
>>>[set icon_name]admin/icon_item.gif[/set]
>>>
>>>@_UI_STD_HEAD_@
>>><P>
>>>@_UI_STD_DBEDIT_TABLE_@
>>>
>>>[if-mm super]
>>><A HREF="[area href=admin/flex_editor
>>> form='
>>> item_id=[cgi item_id]
>>>
>>>mv_data_table=__UI_PRODUCT_TABLE__
>>> page_title=Edit items: [cgi
>>> item_id]
>>> help_name=inventory.edit
>>> ui_no_meta_display=1
>>> ui_hide_key=1
>>> ui_return_to=__UI_BASE__/item
>>> icon_name=admin/icon_item.gif
>>> ']">No meta display</A>
>>>[/if-mm]
>>>
>>>@_UI_STD_FOOTER_@
>>><!-- page: @@MV_PAGE@@ -->
>>>
>>>
>>>
>>>>From: "Cameron Germein" <cameron.germein@team.eftel.com>
>>>>Reply-To: interchange-users@lists.akopia.com
>>>>To: <interchange-users@lists.akopia.com>
>>>>Subject: Re: [ic] item_edit.html Can't setup new products!!!!
>>>>Date: Fri, 16 Feb 2001 11:04:41 +0800
>>>>
>>>>i bet the fields in your product database are different from those in the
>>>>demo, right? if so, make a directory in your pages dir called "admin", and
>>>>copy from interchange/lib/UI/pages/admin the item_edit.html page into your
>>>>new admin directory. edit the new copy in there.
>>>>
>>>>----- Original Message -----
>>>>From: Bill Jenkins <billjenkins@hotmail.com>
>>>>To: <interchange-users@lists.akopia.com>
>>>>Sent: Friday, February 16, 2001 12:48 AM
>>>>Subject: [ic] item_edit.html Can't setup new products!!!!
>>>>
>>>>
>>>> > Does anyone have a template for this. When I click on add new item,
>>>> I get
>>>>a
>>>> > almost blank screen. When you are in akopia's demo page you have a nice
>>>> > layout of the item name, description, image, price. My version does not
>>>>have
>>>> > that. Does anyone have it? How can I go about setting up one? I would
>>>> > appreciate any help about this.
>>>> > _________________________________________________________________
>>>> > Get your FREE download of MSN Explorer at http://explorer.msn.com
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > Interchange-users mailing list
>>>> > Interchange-users@lists.akopia.com
>>>> > http://lists.akopia.com/mailman/listinfo/interchange-users
>>>> >
>>>>
>>>>
>>>>_______________________________________________
>>>>Interchange-users mailing list
>>>>Interchange-users@lists.akopia.com
>>>>http://lists.akopia.com/mailman/listinfo/interchange-users
>>>
>>>_________________________________________________________________
>>>Get your FREE download of MSN Explorer at http://explorer.msn.com
>>>
>>>
>>>_______________________________________________
>>>Interchange-users mailing list
>>>Interchange-users@lists.akopia.com
>>>http://lists.akopia.com/mailman/listinfo/interchange-users
>>
>>
>>_______________________________________________
>>Interchange-users mailing list
>>Interchange-users@lists.akopia.com
>>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Chet Pressler
Pressler Inc. Video Systems Specialists http://www.pressler.com/
8170 S. Eastern Avenue, Suite 196, Las Vegas, NV 89123
950 Comstock Street, Santa Clara CA 95054
702-616-3760 Voice
801-383-3908 FAX
702-493-6098 Cell (pager e-mail 7024936098@mobile.att.net)
email - chet@pressler.com
From: raymond at raymond-hosting.com (Raymond Miecznik )
Date: Sat, 17 Feb 2001 22:26:15 -0800
Subject: [ic] make test problems
perl Makefile.Pl run fine
make run fine
but when I run
make test
I get errors: I run on slackware 7.0 with 2.2.16,
can anyone point out to the problem ?
basically the errors are at the bottom 4/6 tests failed, please
scroll down...
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/i386-linux -I/usr/lib/perl5 test.pl
server/unixmode.......ok 1
server/startup........-rw-r--r-- 1 root root 119 Feb 17
22:12
/home/test/interchange-4.6.3/blib/catalog.cfg
-rw------- 1 root root 4303 Feb 17 22:13
/home/test/interchange-4.6.3/blib/error.log
-rw-r--r-- 1 root root 68 Feb 17 22:12
/home/test/interchange-4.6.3/blib/interchange.cfg
/home/test/interchange-4.6.3/blib/arch:
total 4
drwx------ 3 root root 4096 Feb 15 12:56 auto
/home/test/interchange-4.6.3/blib/etc:
total 8
-rw------- 1 root root 7473 Feb 15 12:57 varnames
/home/test/interchange-4.6.3/blib/lib:
total 36
drwx------ 2 root root 4096 Feb 15 12:58 Business
drwx------ 2 root root 4096 Feb 15 12:58 File
-r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
drwx------ 4 root root 4096 Feb 15 12:58 Vend
drwx------ 5 root root 4096 Feb 15 12:56 auto
-r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
/home/test/interchange-4.6.3/blib/man1:
total 112
-rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
-rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
-rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
-rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
-rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
-rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
-rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
-rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
-rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
-rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
-rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
-rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
/home/test/interchange-4.6.3/blib/man3:
total 904
-rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
-rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
-rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
-rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
-rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
-rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
-rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
-rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
-rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
/home/test/interchange-4.6.3/blib/pages:
total 4
-rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
/home/test/interchange-4.6.3/blib/products:
total 4
-rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
/home/test/interchange-4.6.3/blib/script:
total 216
-rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
-rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
-rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
-rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
-rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
-rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
-rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
-rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
-rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
-rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
-rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
-rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
/home/test/interchange-4.6.3/blib/session:
total 0
-rw-r--r-- 1 root root 119 Feb 17 22:12
/home/test/interchange-4.6.3/blib/catalog.cfg
-rw------- 1 root root 4303 Feb 17 22:13
/home/test/interchange-4.6.3/blib/error.log
-rw-r--r-- 1 root root 68 Feb 17 22:12
/home/test/interchange-4.6.3/blib/interchange.cfg
/home/test/interchange-4.6.3/blib/arch:
total 4
drwx------ 3 root root 4096 Feb 15 12:56 auto
/home/test/interchange-4.6.3/blib/etc:
total 8
-rw------- 1 root root 7473 Feb 15 12:57 varnames
/home/test/interchange-4.6.3/blib/lib:
total 36
drwx------ 2 root root 4096 Feb 15 12:58 Business
drwx------ 2 root root 4096 Feb 15 12:58 File
-r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
drwx------ 4 root root 4096 Feb 15 12:58 Vend
drwx------ 5 root root 4096 Feb 15 12:56 auto
-r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
/home/test/interchange-4.6.3/blib/man1:
total 112
-rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
-rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
-rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
-rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
-rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
-rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
-rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
-rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
-rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
-rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
-rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
-rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
/home/test/interchange-4.6.3/blib/man3:
total 904
-rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
-rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
-rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
-rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
-rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
-rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
-rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
-rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
-rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
/home/test/interchange-4.6.3/blib/pages:
total 4
-rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
/home/test/interchange-4.6.3/blib/products:
total 4
-rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
/home/test/interchange-4.6.3/blib/script:
total 216
-rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
-rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
-rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
-rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
-rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
-rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
-rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
-rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
-rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
-rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
-rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
-rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
/home/test/interchange-4.6.3/blib/session:
total 0
-rw-r--r-- 1 root root 119 Feb 17 22:12
/home/test/interchange-4.6.3/blib/catalog.cfg
-rw------- 1 root root 4303 Feb 17 22:13
/home/test/interchange-4.6.3/blib/error.log
-rw-r--r-- 1 root root 68 Feb 17 22:12
/home/test/interchange-4.6.3/blib/interchange.cfg
/home/test/interchange-4.6.3/blib/arch:
total 4
drwx------ 3 root root 4096 Feb 15 12:56 auto
/home/test/interchange-4.6.3/blib/etc:
total 8
-rw------- 1 root root 7473 Feb 15 12:57 varnames
/home/test/interchange-4.6.3/blib/lib:
total 36
drwx------ 2 root root 4096 Feb 15 12:58 Business
drwx------ 2 root root 4096 Feb 15 12:58 File
-r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
drwx------ 4 root root 4096 Feb 15 12:58 Vend
drwx------ 5 root root 4096 Feb 15 12:56 auto
-r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
/home/test/interchange-4.6.3/blib/man1:
total 112
-rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
-rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
-rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
-rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
-rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
-rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
-rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
-rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
-rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
-rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
-rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
-rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
/home/test/interchange-4.6.3/blib/man3:
total 904
-rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
-rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
-rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
-rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
-rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
-rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
-rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
-rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
-rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
/home/test/interchange-4.6.3/blib/pages:
total 4
-rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
/home/test/interchange-4.6.3/blib/products:
total 4
-rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
/home/test/interchange-4.6.3/blib/script:
total 216
-rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
-rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
-rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
-rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
-rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
-rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
-rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
-rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
-rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
-rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
-rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
-rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
/home/test/interchange-4.6.3/blib/session:
total 0
-rw-r--r-- 1 root root 119 Feb 17 22:12
/home/test/interchange-4.6.3/blib/catalog.cfg
-rw------- 1 root root 4303 Feb 17 22:13
/home/test/interchange-4.6.3/blib/error.log
-rw-r--r-- 1 root root 68 Feb 17 22:12
/home/test/interchange-4.6.3/blib/interchange.cfg
/home/test/interchange-4.6.3/blib/arch:
total 4
drwx------ 3 root root 4096 Feb 15 12:56 auto
/home/test/interchange-4.6.3/blib/etc:
total 8
-rw------- 1 root root 7473 Feb 15 12:57 varnames
/home/test/interchange-4.6.3/blib/lib:
total 36
drwx------ 2 root root 4096 Feb 15 12:58 Business
drwx------ 2 root root 4096 Feb 15 12:58 File
-r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
drwx------ 4 root root 4096 Feb 15 12:58 Vend
drwx------ 5 root root 4096 Feb 15 12:56 auto
-r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
/home/test/interchange-4.6.3/blib/man1:
total 112
-rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
-rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
-rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
-rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
-rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
-rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
-rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
-rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
-rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
-rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
-rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
-rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
/home/test/interchange-4.6.3/blib/man3:
total 904
-rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
-rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
-rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
-rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
-rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
-rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
-rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
-rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
-rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
/home/test/interchange-4.6.3/blib/pages:
total 4
-rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
/home/test/interchange-4.6.3/blib/products:
total 4
-rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
/home/test/interchange-4.6.3/blib/script:
total 216
-rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
-rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
-rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
-rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
-rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
-rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
-rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
-rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
-rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
-rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
-rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
-rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
/home/test/interchange-4.6.3/blib/session:
total 0
-rw-r--r-- 1 root root 119 Feb 17 22:12
/home/test/interchange-4.6.3/blib/catalog.cfg
-rw------- 1 root root 4303 Feb 17 22:13
/home/test/interchange-4.6.3/blib/error.log
-rw-r--r-- 1 root root 68 Feb 17 22:12
/home/test/interchange-4.6.3/blib/interchange.cfg
/home/test/interchange-4.6.3/blib/arch:
total 4
drwx------ 3 root root 4096 Feb 15 12:56 auto
/home/test/interchange-4.6.3/blib/etc:
total 8
-rw------- 1 root root 7473 Feb 15 12:57 varnames
/home/test/interchange-4.6.3/blib/lib:
total 36
drwx------ 2 root root 4096 Feb 15 12:58 Business
drwx------ 2 root root 4096 Feb 15 12:58 File
-r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
drwx------ 4 root root 4096 Feb 15 12:58 Vend
drwx------ 5 root root 4096 Feb 15 12:56 auto
-r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
/home/test/interchange-4.6.3/blib/man1:
total 112
-rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
-rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
-rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
-rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
-rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
-rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
-rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
-rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
-rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
-rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
-rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
-rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
/home/test/interchange-4.6.3/blib/man3:
total 904
-rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
-rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
-rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
-rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
-rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
-rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
-rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
-rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
-rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
/home/test/interchange-4.6.3/blib/pages:
total 4
-rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
/home/test/interchange-4.6.3/blib/products:
total 4
-rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
/home/test/interchange-4.6.3/blib/script:
total 216
-rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
-rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
-rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
-rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
-rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
-rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
-rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
-rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
-rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
-rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
-rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
-rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
/home/test/interchange-4.6.3/blib/session:
total 0
not ok 2
link/unixmode.........not ok 3 (ok= def: 1 connect: Connection refused
)
# When the above test fails, it may be due to your ISP or some other
# mechanism blocking port 8786.
server/inetmode.......ok 4
link/inetmode.........not ok 5
server/control........not ok 6
ok 6
6 tests run -- 4/6 failed.
make: *** [test_dynamic] Error 1
$
Raymond
From: res087jh at verizon.net (Dan Garwood )
Date: Sun, 18 Feb 2001 04:11:31 -0500
Subject: [ic] make test problems
Raymond,
I had the same problem. It is a permissions error if I am not mistaken. It
appears the the user your trying to install under does not have read and
write abilites to the directories that Interchange is looking for. Make sure
your user has the permissions.
Dan
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Raymond
> Miecznik
> Sent: Sunday, February 18, 2001 1:26 AM
> To: interchange-users@lists.akopia.com
> Subject: [ic] make test problems
>
>
> perl Makefile.Pl run fine
> make run fine
>
> but when I run
>
> make test
>
> I get errors: I run on slackware 7.0 with 2.2.16,
> can anyone point out to the problem ?
>
> basically the errors are at the bottom 4/6 tests failed, please
> scroll down...
>
> $ make test
> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/lib/perl5/i386-linux -I/usr/lib/perl5 test.pl
> server/unixmode.......ok 1
> server/startup........-rw-r--r-- 1 root root 119 Feb 17
> 22:12
> /home/test/interchange-4.6.3/blib/catalog.cfg
> -rw------- 1 root root 4303 Feb 17 22:13
> /home/test/interchange-4.6.3/blib/error.log
> -rw-r--r-- 1 root root 68 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/interchange.cfg
>
> /home/test/interchange-4.6.3/blib/arch:
> total 4
> drwx------ 3 root root 4096 Feb 15 12:56 auto
>
> /home/test/interchange-4.6.3/blib/etc:
> total 8
> -rw------- 1 root root 7473 Feb 15 12:57 varnames
>
> /home/test/interchange-4.6.3/blib/lib:
> total 36
> drwx------ 2 root root 4096 Feb 15 12:58 Business
> drwx------ 2 root root 4096 Feb 15 12:58 File
> -r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
> drwx------ 4 root root 4096 Feb 15 12:58 Vend
> drwx------ 5 root root 4096 Feb 15 12:56 auto
> -r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
>
> /home/test/interchange-4.6.3/blib/man1:
> total 112
> -rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
> -rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
> -rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
> -rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
> -rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
> -rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
> -rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
> -rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
> -rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
> -rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
> -rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
> -rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
>
> /home/test/interchange-4.6.3/blib/man3:
> total 904
> -rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
> -rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
> -rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
> -rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
> -rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
> -rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
> -rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
> -rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
> -rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
>
> /home/test/interchange-4.6.3/blib/pages:
> total 4
> -rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
>
> /home/test/interchange-4.6.3/blib/products:
> total 4
> -rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
>
> /home/test/interchange-4.6.3/blib/script:
> total 216
> -rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
> -rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
> -rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
> -rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
> -rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
> -rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
> -rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
> -rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
> -rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
> -rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
> -rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
> -rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
>
> /home/test/interchange-4.6.3/blib/session:
> total 0
> -rw-r--r-- 1 root root 119 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/catalog.cfg
> -rw------- 1 root root 4303 Feb 17 22:13
> /home/test/interchange-4.6.3/blib/error.log
> -rw-r--r-- 1 root root 68 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/interchange.cfg
>
> /home/test/interchange-4.6.3/blib/arch:
> total 4
> drwx------ 3 root root 4096 Feb 15 12:56 auto
>
> /home/test/interchange-4.6.3/blib/etc:
> total 8
> -rw------- 1 root root 7473 Feb 15 12:57 varnames
>
> /home/test/interchange-4.6.3/blib/lib:
> total 36
> drwx------ 2 root root 4096 Feb 15 12:58 Business
> drwx------ 2 root root 4096 Feb 15 12:58 File
> -r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
> drwx------ 4 root root 4096 Feb 15 12:58 Vend
> drwx------ 5 root root 4096 Feb 15 12:56 auto
> -r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
>
> /home/test/interchange-4.6.3/blib/man1:
> total 112
> -rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
> -rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
> -rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
> -rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
> -rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
> -rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
> -rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
> -rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
> -rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
> -rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
> -rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
> -rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
>
> /home/test/interchange-4.6.3/blib/man3:
> total 904
> -rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
> -rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
> -rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
> -rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
> -rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
> -rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
> -rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
> -rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
> -rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
>
> /home/test/interchange-4.6.3/blib/pages:
> total 4
> -rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
>
> /home/test/interchange-4.6.3/blib/products:
> total 4
> -rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
>
> /home/test/interchange-4.6.3/blib/script:
> total 216
> -rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
> -rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
> -rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
> -rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
> -rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
> -rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
> -rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
> -rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
> -rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
> -rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
> -rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
> -rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
>
> /home/test/interchange-4.6.3/blib/session:
> total 0
> -rw-r--r-- 1 root root 119 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/catalog.cfg
> -rw------- 1 root root 4303 Feb 17 22:13
> /home/test/interchange-4.6.3/blib/error.log
> -rw-r--r-- 1 root root 68 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/interchange.cfg
>
> /home/test/interchange-4.6.3/blib/arch:
> total 4
> drwx------ 3 root root 4096 Feb 15 12:56 auto
>
> /home/test/interchange-4.6.3/blib/etc:
> total 8
> -rw------- 1 root root 7473 Feb 15 12:57 varnames
>
> /home/test/interchange-4.6.3/blib/lib:
> total 36
> drwx------ 2 root root 4096 Feb 15 12:58 Business
> drwx------ 2 root root 4096 Feb 15 12:58 File
> -r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
> drwx------ 4 root root 4096 Feb 15 12:58 Vend
> drwx------ 5 root root 4096 Feb 15 12:56 auto
> -r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
>
> /home/test/interchange-4.6.3/blib/man1:
> total 112
> -rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
> -rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
> -rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
> -rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
> -rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
> -rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
> -rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
> -rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
> -rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
> -rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
> -rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
> -rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
>
> /home/test/interchange-4.6.3/blib/man3:
> total 904
> -rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
> -rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
> -rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
> -rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
> -rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
> -rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
> -rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
> -rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
> -rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
>
> /home/test/interchange-4.6.3/blib/pages:
> total 4
> -rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
>
> /home/test/interchange-4.6.3/blib/products:
> total 4
> -rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
>
> /home/test/interchange-4.6.3/blib/script:
> total 216
> -rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
> -rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
> -rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
> -rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
> -rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
> -rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
> -rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
> -rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
> -rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
> -rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
> -rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
> -rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
>
> /home/test/interchange-4.6.3/blib/session:
> total 0
> -rw-r--r-- 1 root root 119 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/catalog.cfg
> -rw------- 1 root root 4303 Feb 17 22:13
> /home/test/interchange-4.6.3/blib/error.log
> -rw-r--r-- 1 root root 68 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/interchange.cfg
>
> /home/test/interchange-4.6.3/blib/arch:
> total 4
> drwx------ 3 root root 4096 Feb 15 12:56 auto
>
> /home/test/interchange-4.6.3/blib/etc:
> total 8
> -rw------- 1 root root 7473 Feb 15 12:57 varnames
>
> /home/test/interchange-4.6.3/blib/lib:
> total 36
> drwx------ 2 root root 4096 Feb 15 12:58 Business
> drwx------ 2 root root 4096 Feb 15 12:58 File
> -r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
> drwx------ 4 root root 4096 Feb 15 12:58 Vend
> drwx------ 5 root root 4096 Feb 15 12:56 auto
> -r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
>
> /home/test/interchange-4.6.3/blib/man1:
> total 112
> -rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
> -rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
> -rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
> -rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
> -rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
> -rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
> -rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
> -rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
> -rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
> -rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
> -rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
> -rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
>
> /home/test/interchange-4.6.3/blib/man3:
> total 904
> -rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
> -rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
> -rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
> -rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
> -rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
> -rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
> -rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
> -rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
> -rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
>
> /home/test/interchange-4.6.3/blib/pages:
> total 4
> -rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
>
> /home/test/interchange-4.6.3/blib/products:
> total 4
> -rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
>
> /home/test/interchange-4.6.3/blib/script:
> total 216
> -rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
> -rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
> -rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
> -rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
> -rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
> -rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
> -rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
> -rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
> -rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
> -rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
> -rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
> -rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
>
> /home/test/interchange-4.6.3/blib/session:
> total 0
> -rw-r--r-- 1 root root 119 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/catalog.cfg
> -rw------- 1 root root 4303 Feb 17 22:13
> /home/test/interchange-4.6.3/blib/error.log
> -rw-r--r-- 1 root root 68 Feb 17 22:12
> /home/test/interchange-4.6.3/blib/interchange.cfg
>
> /home/test/interchange-4.6.3/blib/arch:
> total 4
> drwx------ 3 root root 4096 Feb 15 12:56 auto
>
> /home/test/interchange-4.6.3/blib/etc:
> total 8
> -rw------- 1 root root 7473 Feb 15 12:57 varnames
>
> /home/test/interchange-4.6.3/blib/lib:
> total 36
> drwx------ 2 root root 4096 Feb 15 12:58 Business
> drwx------ 2 root root 4096 Feb 15 12:58 File
> -r--r--r-- 1 root root 14536 Feb 15 12:57 IniConf.pm
> drwx------ 4 root root 4096 Feb 15 12:58 Vend
> drwx------ 5 root root 4096 Feb 15 12:56 auto
> -r--r--r-- 1 root root 692 Feb 15 12:57 hints.pl
>
> /home/test/interchange-4.6.3/blib/man1:
> total 112
> -rw-r--r-- 1 root root 6489 Feb 17 22:09 compile_link.1
> -rw-r--r-- 1 root root 4780 Feb 17 22:08 config_prog.1
> -rw-r--r-- 1 root root 5053 Feb 17 22:08 configdump.1
> -rw-r--r-- 1 root root 4509 Feb 17 22:09 dump.1
> -rw-r--r-- 1 root root 5479 Feb 17 22:08 expire.1
> -rw-r--r-- 1 root root 4534 Feb 17 22:09 expireall.1
> -rw-r--r-- 1 root root 11725 Feb 17 22:09 interchange.1
> -rw-r--r-- 1 root root 6458 Feb 17 22:08 localize.1
> -rw-r--r-- 1 root root 17642 Feb 17 22:09 makecat.1
> -rw-r--r-- 1 root root 4525 Feb 17 22:09 offline.1
> -rw-r--r-- 1 root root 5063 Feb 17 22:09 restart.1
> -rw-r--r-- 1 root root 5267 Feb 17 22:09 update.1
>
> /home/test/interchange-4.6.3/blib/man3:
> total 904
> -rw-r--r-- 1 root root 40011 Feb 17 22:08 icbackoffice.8
> -rw-r--r-- 1 root root 68307 Feb 17 22:08 iccattut.8
> -rw-r--r-- 1 root root 227154 Feb 17 22:08 icconfig.8
> -rw-r--r-- 1 root root 167314 Feb 17 22:08 icdatabase.8
> -rw-r--r-- 1 root root 39358 Feb 17 22:08 icinstall.8
> -rw-r--r-- 1 root root 32941 Feb 17 22:09 icintro.8
> -rw-r--r-- 1 root root 116572 Feb 17 22:09 ictemplates.8
> -rw-r--r-- 1 root root 13960 Feb 17 22:08 mv_metadata.8
> -rw-r--r-- 1 root root 182416 Feb 17 22:09 mvtags.8
>
> /home/test/interchange-4.6.3/blib/pages:
> total 4
> -rw-r--r-- 1 root root 3000 Feb 17 22:12 catalog.html
>
> /home/test/interchange-4.6.3/blib/products:
> total 4
> -rw-r--r-- 1 root root 42 Feb 17 22:12 products.asc
>
> /home/test/interchange-4.6.3/blib/script:
> total 216
> -rwxr-xr-x 1 root root 9887 Feb 17 22:08 compile_link
> -rwxr-xr-x 1 root root 3747 Feb 17 22:08 config_prog
> -rwxr-xr-x 1 root root 4650 Feb 17 22:08 configdump
> -rwxr-xr-x 1 root root 5980 Feb 17 22:08 dump
> -rwxr-xr-x 1 root root 7737 Feb 17 22:08 expire
> -rwxr-xr-x 1 root root 3181 Feb 17 22:08 expireall
> -rwxr-xr-x 1 root root 63749 Feb 17 22:08 interchange
> -rwxr-xr-x 1 root root 9789 Feb 17 22:08 localize
> -rwxr-xr-x 1 root root 67292 Feb 17 22:08 makecat
> -rwxr-xr-x 1 root root 7109 Feb 17 22:08 offline
> -rwxr-xr-x 1 root root 3816 Feb 17 22:08 restart
> -rwxr-xr-x 1 root root 7785 Feb 17 22:08 update
>
> /home/test/interchange-4.6.3/blib/session:
> total 0
> not ok 2
> link/unixmode.........not ok 3 (ok= def: 1 connect: Connection refused
> )
>
> # When the above test fails, it may be due to your ISP or some other
> # mechanism blocking port 8786.
>
> server/inetmode.......ok 4
> link/inetmode.........not ok 5
> server/control........not ok 6
> ok 6
> 6 tests run -- 4/6 failed.
> make: *** [test_dynamic] Error 1
> $
>
>
>
>
> Raymond
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: jonathanmelhuish at email.com (Jonathan Melhuish )
Date: Sun, 18 Feb 2001 13:31:34 +0000
Subject: [ic] Follow-up: Interchange runs, then dies
A few months ago I posted a message concerning a problem I had with
running interchange; it would install fine, run fine, but then
mysteriously disappear after about 12 seconds or so (as detailed in the
FAQ).
After having that problem (on my desktop Mandrake 7.1 box), I tried
installing it on my (Mandrake 7.2 pre-release code) laptop. It worked
perfectly, albeit a little slowly (does Interchange eat RAM or what?),
and therefore did not persist in trying to fix the problem on my desktop
machine.
However, I was recently forced to wipe and re-install my laptop machine
(due to user error!). I installed Interchange, on the same pre-release
code as before, and encountered the same problem.
The only difference between the first and second install is that I tried
installing the RPM package first, as I had on my desktop. Thinking that
this may be the cause of the problem I erased the RPM first and manually
deleted the folders that it said it could not. I then installed the
tarball version, but encountered the exact same problem as I encountered
on my desktop.
Has the RPM left unidentified some trace that is upsetting the tarball
version? Do I have to totally wipe my laptop and start *again*? This
is getting rather like Windoze... :-(
Any comments or suggestions most appreciated...
Jon
From: larrayoz at retemail.es (Patxi =?iso-8859-1?Q?Larr=E1yoz?= Elcano )
Date: Mon, 19 Feb 2001 01:19:29 +1100
Subject: [ic] Re: make test problems
I have been getting completely frustrated for a whole week with this problem
so recurring in the list.
Finally I manage to fix it. It was as simple as that the installation scripts
of Interchange depend on the messages answered by the operating system. If you
use a localized system that display messages in a locale other than "C", you
are in trouble.
Just set the environment variable LC_MESSAGES to "C" and you will make your
test succeed.
Cheers.
From: mikeh at minivend.com (Mike Heins )
Date: Sun, 18 Feb 2001 09:58:39 -0500
Subject: [ic] Re: make test problems
Quoting Patxi Larrayoz Elcano (larrayoz@retemail.es):
> I have been getting completely frustrated for a whole week with this problem
> so recurring in the list.
> Finally I manage to fix it. It was as simple as that the installation scripts
> of Interchange depend on the messages answered by the operating system. If you
> use a localized system that display messages in a locale other than "C", you
> are in trouble.
> Just set the environment variable LC_MESSAGES to "C" and you will make your
> test succeed.
>
Thank you very much for finding this. We will improve the test
by using Errno.pm and doing a test for EINTR instead of =~ /interrupt/i.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
From: jon at akopia.com (Jon Jensen )
Date: Sun, 18 Feb 2001 09:01:15 -0600 (CST)
Subject: [ic] Follow-up: Interchange runs, then dies
On Sun, 18 Feb 2001, Jonathan Melhuish wrote:
> A few months ago I posted a message concerning a problem I had with
> running interchange; it would install fine, run fine, but then
> mysteriously disappear after about 12 seconds or so (as detailed in the
> FAQ).
>
> After having that problem (on my desktop Mandrake 7.1 box), I tried
> installing it on my (Mandrake 7.2 pre-release code) laptop. It worked
> perfectly, albeit a little slowly (does Interchange eat RAM or what?),
> and therefore did not persist in trying to fix the problem on my desktop
> machine.
>
> However, I was recently forced to wipe and re-install my laptop machine
> (due to user error!). I installed Interchange, on the same pre-release
> code as before, and encountered the same problem.
>
> The only difference between the first and second install is that I tried
> installing the RPM package first, as I had on my desktop. Thinking that
> this may be the cause of the problem I erased the RPM first and manually
> deleted the folders that it said it could not. I then installed the
> tarball version, but encountered the exact same problem as I encountered
> on my desktop.
>
> Has the RPM left unidentified some trace that is upsetting the tarball
> version? Do I have to totally wipe my laptop and start *again*? This
> is getting rather like Windoze... :-(
Your problem doesn't sound familiar to me, and I've built and run dozens
of different installations of Interchange, including all versions back to
4.5.x, from tarball and RPM, on my laptop running Linux Mandrake 7.1.
Maybe if you can post some error messages it'll be clearer what's going
on.
Jon
From: mheins at redhat.com (Mike Heins )
Date: Sun, 18 Feb 2001 11:09:42 -0500
Subject: [ic] Random Vertical Component... Gone?
Quoting Joshua Scott (josh@bluebonnet.net):
> I am sorry I will try to be more clear.
>
> We were using version 4.6 of Interchange, on Friday we did a backup of the
> server and upgraded (ie.. installed the latest version of Interchange) We
> had three sites that used Interchange, all of which made use of the Random
> Vertical Component. After the upgrade all three site fuctioned and appeared
> the same with the exception that any place where we used the R.V Component,
> was blank. We can use any of the other components succesfully except for
> that one.
>
> My question is, is there a way of using this component with the latest
> version of the software?
>
> I hope this is more clear, if needed I can consult with our system
> administrator as to any error messages.
>
It is due to the continuing saga of default search files, an apparently
never-ending bane of my existance. 8-(
Modify the random_vertical component file and change the line that says:
search="ra=yes/ml=1000"
to:
search="ra=yes/ml=1000/st=db"
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: mikeh at minivend.com (Mike Heins )
Date: Sun, 18 Feb 2001 11:25:03 -0500
Subject: [ic] Random Vertical Component... Gone?
Quoting Mike Heins (mheins@redhat.com):
> Quoting Joshua Scott (josh@bluebonnet.net):
> > I am sorry I will try to be more clear.
> >
> > We were using version 4.6 of Interchange, on Friday we did a backup of the
> > server and upgraded (ie.. installed the latest version of Interchange) We
> > had three sites that used Interchange, all of which made use of the Random
> > Vertical Component. After the upgrade all three site fuctioned and appeared
> > the same with the exception that any place where we used the R.V Component,
> > was blank. We can use any of the other components succesfully except for
> > that one.
> >
> > My question is, is there a way of using this component with the latest
> > version of the software?
> >
> > I hope this is more clear, if needed I can consult with our system
> > administrator as to any error messages.
> >
>
> It is due to the continuing saga of default search files, an apparently
> never-ending bane of my existance. 8-(
>
> Modify the random_vertical component file and change the line that says:
>
> search="ra=yes/ml=1000"
>
> to:
>
> search="ra=yes/ml=1000/st=db"
Actually a better workaround is:
search="ra=yes/ml=1000/fi=products"
I found the problem and fixed in CVS. Thanks for finding it.
By the way, the date on your system appears to be a month off -- your
messages are dated in January.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Be patient. God isn't finished with me yet. -- unknown
From: interchange at my-school.com (IC-Admin )
Date: Sun, 18 Feb 2001 12:46:59 -0500 (EST)
Subject: Follow-up: Re: [ic] Europeanization of IC
>>On 10 Feb 2001 12:18:31 +0100, Stefan Hornburg wrote:
> Marius Schaefer wrote:
>>
>> Hello, IC users !
>>
>> Although IC has support for localization and other stuff that suits
>> users allover the world, it is still a product with the main focus
>> on the American market (at least this is what I think).
>>
>> My company is greatly interested to fill in the gaps for users
>> in other countries, especially in Europe. As I'm visting Akopia with
>> an other IC developer in my company in the near future, I would
>> like to hear from you what do you miss from IC now in this respect.
>>
>> These points I will discuss there. Besides that CNS will work on
>> this stuff even if Akopia isn't interested in it now.
>>
>>
> It is great to hear that you plan do improve the european "part" of
> IC. I think a great improvement would be
>
> o payment-systems implementation which are available in europe (well,
> germany) like paybox.
> o tax-system prepared for the different countries.
> o interfaces to software like sap (well, we talked about this before)
> o manual in other language.... hmm.... better dont think about that.
Considering the recent answer of Mike Heins with regards to his
IC internationalization efforts and the difficulties to do such things
single-handedly,
Mike Heins wrote:
<PERSONAL-OPINION>
[snip]
> I tried very, very, hard to put good internationalization features in
> Interchange. Certainly much more than I received benefit from when I did
> consulting and produced most of them -- the great majority of my clients
> were US-based. I did it because I wanted Interchange to be international
> in scope. I believe it has proved to succeed at that to a pretty good
> degree. So in short, I paid LOTS of attention to it and I did not think
> of only the US.
> I cannot, however, be familiar with the customs of every country and
> the details of every business process. That is why I tried to make
> it flexible enough so that if you apply yourself you can do virtually
> anything you need to do with Interchange.
</PERSONAL-OPINION>
I like to ask a follow-up question to this subject matter:
Now that IC belongs to RedHat, there should be much more support in the
future for IC's internationalization efforts. For example I read on the
German RedHat site, that based on RedHat 6.1 there is a development
effort with SAP to produce a RedHat Enterprise Version 1.0 which is
optimized for usage with the SAP R/3 system.
http://www.redhat.de/products/linux/sap.php3
Doesn't it seem possible therefore to imagine that IC will have an
interface to SAP R/3 one day ? That IC will have a German documentation
? Apparently there is a German Installation Manual for the RedHat distro
now available in Germany.
Considering that there are Germans like Stefan Hornburg interested
and able to help etc., what is Mike Heins' best advice for Germans to
support RedHat's internationalization efforts ? Shouldn't questions like
that be coordinated with RedHat's German office ?
birgitt
From: j-nicholas at home.com (John Nicholas )
Date: Sun, 18 Feb 2001 12:33:47 -0600
Subject: [ic] Permissions clarification
I am still not clear on the proper permissions setup for Interchange. I
installed Interchange as root and I intend to use Postgres with at least
some catalogs. I have these directories that all are related to Interchange:
/usr/local/interchange/
/usr/local/apache/catalogs/
/usr/local/apache/htdocs/
/usr/local/apache/cgi-bin/
Prior to interchange I had a user called "webworker" that I used for editing
files in htdocs and cgi-bin (who owned both directories). I had a postgres
user called "postgres" that cgi's used to connect to Postgres. I created a
new "interch" user for interchange to use.
When I run makecat it seems to try to write to all 4 of the above
directories and always fails with a "permission denied". If I try to use
Postgres it also fails saying that user can't create directories even though
it asked for the name of the postgres user. If I makecat from a user with
Postgres permissions that step completes.
The "construct" demo installed once and the htdocs files are owned by
"webworker" and the files in catalogs and cgi-bin/mystore are owned by
"interch" (the cgi-bin itself is owned by "webworker").
What is the proper user to run makecat?
Should all 4 of the above directories be owned by the same user?
Does the user you use to create catalogs need to be a postgres user or
should makecat be able to use the postgres account?
Thanks, John Nicholas
From: raymond at raymond-hosting.com (Raymond Miecznik )
Date: Sun, 18 Feb 2001 12:58:19 -0800
Subject: [ic] RE: make test problems (Dan Garwood)
So Dan,
I am installing it into
/home/test/interchange
I created a user test for this project.
test has to have other correct read/write permissions
in other parts of the system other then it's own
home ?
if so which ones ?
Raymond
From: soudant at home.nl (Guy Soudant )
Date: Sun, 18 Feb 2001 22:18:27 +0100
Subject: [ic] Secure server problem
Hi All,
I run the 4.6.1 interchange server, and it all works fine. But when I try
to run interchange through a secure server, I get a 404 Error. The secure
server itself works fine, and I can browse all folders on the secure
server (has been activated for test purposes). Note, however, that the
secure server displayes the regular server through a secure connection.
I did notice, however, that the IP addresses of the regular server and
the secure server are different, but since the hosting provider has
installed the application themselves on two different virtual servers
(two different IP's), it should work.
I read that it may be necessary to set some settings in the catalog.cfg
and/or the minivend.cfg (a file I cannot find; only minivend file I can
find is a "shortcut" to a interchange file), but I cannot find the
location where to change / add them. Can someone be so kind as to
indicate where I need to change things to get this secure server to work.
Thank you in advance
Kind regards
Guy Soudant
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Mon, 19 Feb 2001 09:13:41 +0800
Subject: [ic] item_edit.html Can't setup new products!!!!
that's exactly what mine has.
----- Original Message -----
From: Bill Jenkins <billjenkins@hotmail.com>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 16, 2001 4:32 PM
Subject: Re: [ic] item_edit.html Can't setup new products!!!!
> Okay I did that but I still don't get anything. All that I have is this:
> Is this all I am supposed to have and I have to create my own page?
> Does anyone have a copy of one they made? I would really appreciate it.
>
>
> [calc]
> $CGI->{mv_data_table} = $Config->{ProductFiles}[0];
> if ($CGI->{item_id} eq 'new') {
> $CGI->{ui_new_item} = 1;
> }
> else {
> $CGI->{ui_hide_key} = 1 unless $CGI->{item_id} eq 'new';
> }
> if(! $CGI->{ui_data_fields}) {
> $CGI->{ui_data_fields} = $Variable->{UI_ITEM_FIELDS}
> || 'sku description category comment price image weight size color';
> }
> if(! $CGI->{ui_break_before}) {
> $CGI->{ui_break_before} = $Variable->{UI_ITEM_BREAK}
> || 'image size';
> }
> my @args = (
> '__UI_BASE__/item',
> "item_id_left=$CGI->{item_id_left}",
> "ui_sequence_edit=$CGI->{ui_sequence_edit}",
> );
> $CGI->{ui_return_to} = join "\0", @args;
> return;
> [/calc]
> [if cgi ui_new_item]
> [calc]
> $CGI->{item_id} = q{[counter
> file="__UI_PRODUCT_DIR__/__UI_PRODUCT_DIR__.autonumber" start=new0000]};
> return;
> [/calc]
> [/if]
> @_UI_STD_DBEDIT_HEAD_@
>
> [seti page_title]Item editor: [cgi item_id][/seti]
> [seti page_banner]Item editor: edit item <B>[cgi item_id]</B>[/seti]
> [set help_name]edit.item[/set]
> [set icon_name]admin/icon_item.gif[/set]
>
> @_UI_STD_HEAD_@
> <P>
> @_UI_STD_DBEDIT_TABLE_@
>
> [if-mm super]
> <A HREF="[area href=admin/flex_editor
> form='
> item_id=[cgi item_id]
> mv_data_table=__UI_PRODUCT_TABLE__
> page_title=Edit items: [cgi item_id]
> help_name=inventory.edit
> ui_no_meta_display=1
> ui_hide_key=1
> ui_return_to=__UI_BASE__/item
> icon_name=admin/icon_item.gif
> ']">No meta display</A>
> [/if-mm]
>
> @_UI_STD_FOOTER_@
> <!-- page: @@MV_PAGE@@ -->
>
>
>
> >From: "Cameron Germein" <cameron.germein@team.eftel.com>
> >Reply-To: interchange-users@lists.akopia.com
> >To: <interchange-users@lists.akopia.com>
> >Subject: Re: [ic] item_edit.html Can't setup new products!!!!
> >Date: Fri, 16 Feb 2001 11:04:41 +0800
> >
> >i bet the fields in your product database are different from those in the
> >demo, right? if so, make a directory in your pages dir called "admin",
and
> >copy from interchange/lib/UI/pages/admin the item_edit.html page into
your
> >new admin directory. edit the new copy in there.
> >
> >----- Original Message -----
> >From: Bill Jenkins <billjenkins@hotmail.com>
> >To: <interchange-users@lists.akopia.com>
> >Sent: Friday, February 16, 2001 12:48 AM
> >Subject: [ic] item_edit.html Can't setup new products!!!!
> >
> >
> > > Does anyone have a template for this. When I click on add new item, I
> >get
> >a
> > > almost blank screen. When you are in akopia's demo page you have a
nice
> > > layout of the item name, description, image, price. My version does
not
> >have
> > > that. Does anyone have it? How can I go about setting up one? I would
> > > appreciate any help about this.
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: raymond at electronics2000.com (Raymond Miecznik )
Date: Sun, 18 Feb 2001 19:34:54 -0800
Subject: [ic] execvp touch error
ok this time I gziped and untared the source
user user test that I created for this experinment.
So afterwards I cd interchange-4.6.3
in /home/test
and perl Makefile.PL that works no errors,
but
make stops, something about permission ?
can someone help ?
ray
bash-2.03$ make
Skip blib/lib/File/CounterFile.pm (unchanged)
Skip blib/lib/Vend/Track.pm (unchanged)
Skip blib/lib/Vend/Search.pm (unchanged)
Skip blib/lib/Vend/MakeCat.pm (unchanged)
Skip blib/lib/Vend/Table/LDAP.pm (unchanged)
Skip blib/lib/Vend/Tagref.pm (unchanged)
Skip blib/lib/Vend/Data.pm (unchanged)
Skip blib/lib/Vend/TextSearch.pm (unchanged)
Skip blib/lib/Vend/Table/DB_File.pm (unchanged)
Skip blib/lib/Vend/Page.pm (unchanged)
Skip blib/lib/Vend/Table/Common.pm (unchanged)
Skip blib/lib/Vend/Control.pm (unchanged)
Skip blib/lib/Vend/ECML.pm (unchanged)
Skip blib/lib/Vend/Imagemap.pm (unchanged)
Skip blib/lib/hints.pl (unchanged)
Skip blib/lib/Vend/SessionFile.pm (unchanged)
Skip blib/lib/Vend/Session.pm (unchanged)
Skip blib/lib/Vend/UserDB.pm (unchanged)
Skip blib/lib/Vend/Interpolate.pm (unchanged)
Skip blib/lib/Vend/SessionDB.pm (unchanged)
Skip blib/lib/Vend/Tags.pm (unchanged)
Skip blib/lib/Vend/Table/GDBM.pm (unchanged)
Skip blib/lib/Vend/Config.pm (unchanged)
Skip blib/lib/Business/UPS.pm (unchanged)
Skip blib/lib/Vend/Server.pm (unchanged)
Skip blib/lib/Vend/Parse.pm (unchanged)
Skip blib/lib/Vend/DbSearch.pm (unchanged)
Skip blib/lib/Vend/Order.pm (unchanged)
Skip blib/lib/Vend/Util.pm (unchanged)
Skip blib/lib/Vend/Document.pm (unchanged)
Skip blib/lib/Vend/External.pm (unchanged)
Skip blib/lib/Vend/Misc/Static.pm (unchanged)
Skip blib/lib/Vend/Scan.pm (unchanged)
Skip blib/lib/Vend/Table/DBI.pm (unchanged)
Skip blib/lib/Vend/Table/InMemory.pm (unchanged)
Skip blib/lib/Vend/Error.pm (unchanged)
Skip blib/lib/Vend/Cart.pm (unchanged)
Skip blib/lib/IniConf.pm (unchanged)
Skip blib/lib/Vend/Parser.pm (unchanged)
Skip blib/lib/Vend/Glimpse.pm (unchanged)
make: execvp: touch: Permission denied
make: *** [pm_to_blib] Error 127
bash-2.03$
From: ven at pragakhan.com (Victor Nolton )
Date: Sun, 18 Feb 2001 22:46:53 -0500
Subject: [ic] execvp touch error
root should not have this problem.
Ven
>ok this time I gziped and untared the source
>user user test that I created for this experinment.
>
>So afterwards I cd interchange-4.6.3
>
>in /home/test
>
>and perl Makefile.PL that works no errors,
>
>but
>
>make stops, something about permission ?
>
>can someone help ?
>
>ray
>
>bash-2.03$ make
>Skip blib/lib/File/CounterFile.pm (unchanged)
>Skip blib/lib/Vend/Track.pm (unchanged)
>Skip blib/lib/Vend/Search.pm (unchanged)
>Skip blib/lib/Vend/MakeCat.pm (unchanged)
>Skip blib/lib/Vend/Table/LDAP.pm (unchanged)
>Skip blib/lib/Vend/Tagref.pm (unchanged)
>Skip blib/lib/Vend/Data.pm (unchanged)
>Skip blib/lib/Vend/TextSearch.pm (unchanged)
>Skip blib/lib/Vend/Table/DB_File.pm (unchanged)
>Skip blib/lib/Vend/Page.pm (unchanged)
>Skip blib/lib/Vend/Table/Common.pm (unchanged)
>Skip blib/lib/Vend/Control.pm (unchanged)
>Skip blib/lib/Vend/ECML.pm (unchanged)
>Skip blib/lib/Vend/Imagemap.pm (unchanged)
>Skip blib/lib/hints.pl (unchanged)
>Skip blib/lib/Vend/SessionFile.pm (unchanged)
>Skip blib/lib/Vend/Session.pm (unchanged)
>Skip blib/lib/Vend/UserDB.pm (unchanged)
>Skip blib/lib/Vend/Interpolate.pm (unchanged)
>Skip blib/lib/Vend/SessionDB.pm (unchanged)
>Skip blib/lib/Vend/Tags.pm (unchanged)
>Skip blib/lib/Vend/Table/GDBM.pm (unchanged)
>Skip blib/lib/Vend/Config.pm (unchanged)
>Skip blib/lib/Business/UPS.pm (unchanged)
>Skip blib/lib/Vend/Server.pm (unchanged)
>Skip blib/lib/Vend/Parse.pm (unchanged)
>Skip blib/lib/Vend/DbSearch.pm (unchanged)
>Skip blib/lib/Vend/Order.pm (unchanged)
>Skip blib/lib/Vend/Util.pm (unchanged)
>Skip blib/lib/Vend/Document.pm (unchanged)
>Skip blib/lib/Vend/External.pm (unchanged)
>Skip blib/lib/Vend/Misc/Static.pm (unchanged)
>Skip blib/lib/Vend/Scan.pm (unchanged)
>Skip blib/lib/Vend/Table/DBI.pm (unchanged)
>Skip blib/lib/Vend/Table/InMemory.pm (unchanged)
>Skip blib/lib/Vend/Error.pm (unchanged)
>Skip blib/lib/Vend/Cart.pm (unchanged)
>Skip blib/lib/IniConf.pm (unchanged)
>Skip blib/lib/Vend/Parser.pm (unchanged)
>Skip blib/lib/Vend/Glimpse.pm (unchanged)
>make: execvp: touch: Permission denied
>make: *** [pm_to_blib] Error 127
>bash-2.03$
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: schurkmaster at yahoo.com (johny brabo )
Date: Mon, 19 Feb 2001 01:55:32 -0800 (PST)
Subject: [ic] password protecting categories
hi all,
I'm looking for a solution to control access to
certain categories. Ik read the docs about
"controlling access to certain pages", but this isn't
really what I want.
I'm looking for a solution so that the administrator
can make a new categorie (this is no problem), but so
that only a certain group of people (the once whith a
password...) can access that categorie.
Is this possible and how do I do that?
thanks
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: schurkmaster at yahoo.com (johny brabo )
Date: Mon, 19 Feb 2001 03:02:42 -0800 (PST)
Subject: [ic] password protecting categories
It would be even better if I could do this with
subcategories.
thanks
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: george at 1stomni.com (George Schindler )
Date: Mon, 19 Feb 2001 14:45:37 +0100
Subject: [ic] order route
Hello,
I'm trying to implement order_routing and I use in my checkout.html page
this code
[perl arg=carts interpolate=1]
my $string = <<'EOF';
[item-list][item-code] [item-field dl_type]
[/item-list]
EOF
my @items;
my %route;
@items = grep /\S/, split /\n+/, $string;
for(@items) {
my ($code, $keycode) = split /\t/, $_;
$route{$code} = $keycode;
}
my $cart = $Carts->{'main'};
my $item;
foreach $item ( @{ $Carts->{'main'} } ) {
$item->{mv_order_route} = $route{$item->{'code'}} || undef;
}
return '';
[/perl]
but there is some error in
my $string = <<'EOF';
[item-list][item-code] [item-field dl_type]
[/item-list]
EOF
this code, but error.log has written
pf.1stomni.com CHAV6xam:1stomni.com - [19/February/2001:08:34:43 -0500]
construct /cgi-bin/construct/process.html Safe: Can't find string terminator
"EOF" anywhere before EOF at (eval 875) line 2.
>
>
> my $string = <<'EOF';
> os28004
> os28108
> EOF
I'm not too much good in perl, but I see, that EOF is there :-)), so what is
problem...?
Thanks for some idea.
George
From: tmcalees at discgolfcentral.com (Thomas McAlees )
Date: Mon, 19 Feb 2001 08:49:45 -0500
Subject: [ic] Accessories Problem
I recently upgraded from Interchange 4.6.0 to 4.6.3 and I am now having a
problem with the [accessories] functionality. I have the following tag in
my flypage:
...
[accessories [item-code] disc_weight]
...
It is properly displaying a list of weights from the products table.
However, when I add this product to my basket the selection is not carrying
through. I see the list of weights, but the weight selected by the user on
the flypage is not selected (the default value is always selected). My
basket page has the following code:
[if-item-field disc_weight]
<font face="Verdana, Arial, Helvetica, sans-serif" size="1">Weight:
</font> <FONT SIZE=1>[item-accessories disc_weight]</FONT>
[/if-item-field]
With 4.6.0 this all worked perfectly. I've searched the mail list archive,
but did not find any references specific to the problem I am having. Any
help with this problem would be greatly appreciated.
Tom McAlees
tmcalees@discgolfcentral.com
From: george at 1stomni.com (George Schindler )
Date: Mon, 19 Feb 2001 14:55:20 +0100
Subject: [ic] RE: order route
Hello, I have done this trouble, so for others
the problem is that you can't make space before these codes ;-))
Bye
-----Original Message-----
From: George Schindler [mailto:george@1stomni.com]
Sent: Monday, February 19, 2001 2:46 PM
To: interchange-users@lists.akopia.com
Subject: order route
Hello,
I'm trying to implement order_routing and I use in my checkout.html page
this code
[perl arg=carts interpolate=1]
my $string = <<'EOF';
[item-list][item-code] [item-field dl_type]
[/item-list]
EOF
my @items;
my %route;
@items = grep /\S/, split /\n+/, $string;
for(@items) {
my ($code, $keycode) = split /\t/, $_;
$route{$code} = $keycode;
}
my $cart = $Carts->{'main'};
my $item;
foreach $item ( @{ $Carts->{'main'} } ) {
$item->{mv_order_route} = $route{$item->{'code'}} || undef;
}
return '';
[/perl]
but there is some error in
my $string = <<'EOF';
[item-list][item-code] [item-field dl_type]
[/item-list]
EOF
this code, but error.log has written
pf.1stomni.com CHAV6xam:1stomni.com - [19/February/2001:08:34:43 -0500]
construct /cgi-bin/construct/process.html Safe: Can't find string terminator
"EOF" anywhere before EOF at (eval 875) line 2.
>
>
> my $string = <<'EOF';
> os28004
> os28108
> EOF
I'm not too much good in perl, but I see, that EOF is there :-)), so what is
problem...?
Thanks for some idea.
George
From: george at 1stomni.com (George Schindler )
Date: Mon, 19 Feb 2001 16:13:30 +0100
Subject: [ic] new mv_order_route problem
Hello,
the code doesn't make some problems, but it doesn't work as I want, I have
in checkout.html>
>>>
[perl arg=carts interpolate=1]
my $string = <<'EOF';
[item-list][item-code] [item-field dl_type]
[/item-list]
EOF
my @items;
my %route;
@items = grep /\S/, split /\n+/, $string;
for(@items) {
my ($code, $keycode) = split /\t/, $_;
$route{$code} = $keycode;
}
my $cart = $Carts->{'main'};
my $item;
foreach $item ( @{ $Carts->{'main'} } ) {
$item->{mv_order_route} = $route{$item->{'code'}} || undef;
}
return '';
[/perl]
>>>
I have in table products field name dl_type and in route table specifyed
information for the name which is dl_type name
when I use
<INPUT TYPE="hidden" NAME="mv_order_route" VALUE="new_main">
it woks perfect, but it's only for one item and I need it for more....
I suppose, that I must change 'main' or 'code' to something else, but I
tryed all choises and it didn't work.
PLEASE HELP.
Thanks
George
From: josh at bluebonnet.net (Joshua Scott )
Date: Mon, 19 Feb 2001 09:15:24 -0600
Subject: [ic] Item Picture on search results page.
Hey there...
We have used Interchange for several carts now. The first one used an
earlier version of Interchange, I am not even sure which version. On the
latest two, we have used the latest version. On our first cart the serach
results page came up with a picture of the item and the description. On the
latest two the results come with just the Item name, availability and
pricing. To see the picture you have to click on the item name and then the
the flypage is brought up with the description and picture.
The question is this: Is there a way to set the search page to display the
picture and description. So that it is not neccesary to click to the title
to view the picture and information?
Thanks for all of the help.
Joshua Scott
Web Designer - Publish A Web.com
From: mark.johnson at akopia.com (Mark Johnson )
Date: Mon, 19 Feb 2001 10:40:03 -0500
Subject: [ic] new mv_order_route problem
I wouldn't mess with building @items, etc. Much simpler code to do the
same thing:
[perl tables=products]
foreach ( @{ $Carts->{main} } ) {
$_->{mv_order_route} = $Tag->field( 'dl_type', $_->{code} );
}
return;
[/perl]
George Schindler wrote:
>
> Hello,
>
> the code doesn't make some problems, but it doesn't work as I want, I have
> in checkout.html>
> >>>
> [perl arg=carts interpolate=1]
> my $string = <<'EOF';
> [item-list][item-code] [item-field dl_type]
> [/item-list]
> EOF
> my @items;
> my %route;
> @items = grep /\S/, split /\n+/, $string;
> for(@items) {
> my ($code, $keycode) = split /\t/, $_;
> $route{$code} = $keycode;
> }
> my $cart = $Carts->{'main'};
> my $item;
> foreach $item ( @{ $Carts->{'main'} } ) {
> $item->{mv_order_route} = $route{$item->{'code'}} || undef;
> }
> return '';
> [/perl]
> >>>
>
> I have in table products field name dl_type and in route table specifyed
> information for the name which is dl_type name
> when I use
> <INPUT TYPE="hidden" NAME="mv_order_route" VALUE="new_main">
>
> it woks perfect, but it's only for one item and I need it for more....
> I suppose, that I must change 'main' or 'code' to something else, but I
> tryed all choises and it didn't work.
> PLEASE HELP.
>
> Thanks
> George
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Akopia Professional Services
mark.johnson@akopia.com
703-456-2912
From: tmcalees at discgolfcentral.com (Thomas McAlees )
Date: Mon, 19 Feb 2001 10:43:47 -0500
Subject: [ic] Secure Check Problems
I'm having some strange problems with Interchange 4.6.3 and secure
check-out. Right after I installed a new Thawte SSL server certificate and
changed my configuration to use the secure server, I began having problems
with check-out. When I click the submit button on my checkout page I
receive a 'page cannot be displayed' error from IE. If I hit the back
button and resubmit, it usually works. Sometimes I have to submit/back 3 or
4 times before it will go through. The problem happens consistently on a
machine with IE 5.0. I experienced the problem briefly on another machine
with IE 5.5 but the problem appears to have gone away. I have not been able
to reproduce the problem with that latest version of Netscape.
Has any one expierenced this type of problem? I searched the archive and
found several discussions related to loosing the contents of a basket, but
none with the kinds of problems I'm having. Any help would be greatly
appreciated.
Thanks,
Tom McAlees
DiscGolfCentral.com
From: hans-joachim.leidinger at home.gelsen-net.de (Hans-Joachim Leidinger )
Date: Mon, 19 Feb 2001 16:36:39 +0100
Subject: Follow-up: Re: [ic] Europeanization of IC
IC-Admin wrote:
[DEL]
> I like to ask a follow-up question to this subject matter:
>
> Now that IC belongs to RedHat, there should be much more support in the
> future for IC's internationalization efforts. For example I read on the
> German RedHat site, that based on RedHat 6.1 there is a development
> effort with SAP to produce a RedHat Enterprise Version 1.0 which is
> optimized for usage with the SAP R/3 system.
>
> http://www.redhat.de/products/linux/sap.php3
>
> Doesn't it seem possible therefore to imagine that IC will have an
> interface to SAP R/3 one day ? That IC will have a German documentation
> ? Apparently there is a German Installation Manual for the RedHat distro
> now available in Germany.
>
> Considering that there are Germans like Stefan Hornburg interested
> and able to help etc., what is Mike Heins' best advice for Germans to
> support RedHat's internationalization efforts ? Shouldn't questions like
> that be coordinated with RedHat's German office ?
Hmmm...you are living in US and your mental capability of the english
language is very big. What is the problem? Otherwise your problem is the
"europeanization" of any kind of shipping and tax calculations? ;-)
My new project is a catalog with SAP (still R/2). I have a project
meeting in two days. I have a little bit information about my new
project and can't tell more about this. But IC has to get or to send
datas via EDIFACT and/or IDOC. Are there someone with some experience
with SAP? Are there some usefull informations for me from someone? Where
can I find a whitepaper about EDIFACT and IDOC? Are there a better
methode to send/get datas to/from SAP? Any comments?
If I get any usefull informations, a usefull interface to SAP and my
boss give me his OK, I will publish the interface to the akopia team or
Stefan Hornburg. Any comments?
Thanks!
Joachim
--
-------------Hans-Joachim Leidinger---------------------
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Mon, 19 Feb 2001 16:20:06 +0000
Subject: [ic] Use full tip for order.profiles
Once I was asked to do some complicated checking,
basically we had shipping and billing addresses
and a check box to say the shipping address was
the same as the billing address. I had to make
sure that every thing went thought ok.
So I created a file called "copy_check" in "/etc/minivend/etc/"
Added "#include /etc/minivend/etc/copy_check" in interchange.cfg
(I am using interchange 4.6.3)
inside copy_check was ...
--------------------------------------
GlobalSub <<EOF
sub set_up_extra_check {
BEGIN {
package Vend::Order;
sub _check_copy_and_ship_address {
#::logDebug("wib");
# $ref is to Vend::Session->{'values'} hash
# $var is the passed name of the variable
# $val is current value of checked variable
my($ref, $var, $val) = @_;
#::logDebug("\$var = $var");
#::logDebug("\$val = $val");
if(( $var eq "copy") && ($val =~ /billing/oi)){
return 1,"copy","Ouch, not copy";
}
else{
my @array = (0,"Ship Address","Ouch not copy");
return @array if !$ref->{shipname};
return @array if !$ref->{shipemail};
return @array if !$ref->{shipaddress};
return @array if !$ref->{shipcity};
return @array if !$ref->{shipzip};
return (0,"Ship Address","Ouch not copy");
}
return (0,"Ship Address","Ouch not copy");
}
}
}
EOF
-----------------------------------------
and inside /etc/order.prefiles was ......
------------------------------------
name=required We need to know your name .
address=required We need to know where to send the products.
zip=required The postal services like to have zip codes.
email=required We need your email address.
address=required We need your address.
city=required We need your town/city name.
zip=required We need your zip/postcode.
copy=check_copy_and_ship_address We need to know where to send your package.
&fatal=yes
&set = mv_payment Credit Card
&set = mv_successpage ord/final
-----------------------------------
it worked a treat :-)
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: jbell at jbhconsulting.com (Jarrod Bell )
Date: Mon, 19 Feb 2001 11:36:16 -0500
Subject: [ic] Promo display problem
I currently admin 3 sites on 4.6.0 and on 2 of them my promo components
generate fine. But on the third site the Promo component does not work
while all of the others do.
The merchandising db is correct, even the New and Sale items produce the
promos when clicked. But as a component of the page they are not generated.
Any ideas?
Thank you in advance,
Jarrod Bell
From: al00283876 at academ01.slp.itesm.mx (al00283876 at academ01.slp.itesm.mx )
Date: Mon, 19 Feb 2001 11:35:05 -0600
Subject: [ic] Secure Check Problems
I have the same problems, only with IE5.0, when i try with Netscape everything
is ok... if you find a solution for this please post it..
im using redhat 7.0 with ssl
-- Original Message --
>I'm having some strange problems with Interchange 4.6.3 and secure
>check-out. Right after I installed a new Thawte SSL server certificate
>and
>changed my configuration to use the secure server, I began having problems
>with check-out. When I click the submit button on my checkout page I
>receive a 'page cannot be displayed' error from IE. If I hit the back
>button and resubmit, it usually works. Sometimes I have to submit/back
>3 or
>4 times before it will go through. The problem happens consistently on
>a
>machine with IE 5.0. I experienced the problem briefly on another machine
>with IE 5.5 but the problem appears to have gone away. I have not been
>able
>to reproduce the problem with that latest version of Netscape.
>
>Has any one expierenced this type of problem? I searched the archive and
>found several discussions related to loosing the contents of a basket,
but
>none with the kinds of problems I'm having. Any help would be greatly
>appreciated.
>
>Thanks,
>
>Tom McAlees
>DiscGolfCentral.com
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: howells at siliconcty.com (Howell Silverman )
Date: Mon, 19 Feb 2001 14:30:29 -0500
Subject: [ic] Not showing prices prior to login
Hello -
Has anyone modified the code to NOT show prices to guests (ie, those that do
not login) ?
If so, can you point me to the right place to make the modifications.
Howell Silverman
Silicon City Inc.
516-681-6900 x201
From: jason at korksoft.com (Jason Korkin )
Date: Mon, 19 Feb 2001 14:32:51 -0500
Subject: [ic] Not showing prices prior to login
Yep -
Try something along the line of...
[if session logged_in]
Your price: [item-price]
[else]
You need to login to view this prices.
[/else]
[/if]
Do this on the results and fly pages and you're okay. If you want to
see a little demo, check out http://www.aqualeisure.com
Jason Korkin.
Howell Silverman wrote:
>
> Hello -
>
> Has anyone modified the code to NOT show prices to guests (ie, those that do
> not login) ?
>
> If so, can you point me to the right place to make the modifications.
>
> Howell Silverman
> Silicon City Inc.
> 516-681-6900 x201
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
KORKSOFT - Software & Internet Solutions
System Integration, E-Commerce, C++/Perl/PHP/ASP
Web hosting, Server Co-Location, Dedicated Circuits
http://www.korksoft.com
http://www.atworkservers.com
Tel: (603) 672-1246 x 201
From: howells at siliconcty.com (Howell Silverman )
Date: Mon, 19 Feb 2001 14:46:31 -0500
Subject: [ic] Sorting the output
Hello -
>From the main page (left side), when the user selects an item and it
products a list of those items that match that category - is there a way to
specify (or do i have to modify the template) that the items should be
sorted by either description or price.
If so, can someone point me in the right direction.
Thanks
Howell Silverman
Silicon City Inc.
516-681-6900 x201
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: howells at siliconcty.com (Howell Silverman )
Date: Mon, 19 Feb 2001 14:47:20 -0500
Subject: [ic] Not showing prices prior to login
THANKS!
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jason
Korkin
Sent: Monday, February 19, 2001 2:33 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] Not showing prices prior to login
Yep -
Try something along the line of...
[if session logged_in]
Your price: [item-price]
[else]
You need to login to view this prices.
[/else]
[/if]
Do this on the results and fly pages and you're okay. If you want to
see a little demo, check out http://www.aqualeisure.com
Jason Korkin.
Howell Silverman wrote:
>
> Hello -
>
> Has anyone modified the code to NOT show prices to guests (ie, those that
do
> not login) ?
>
> If so, can you point me to the right place to make the modifications.
>
> Howell Silverman
> Silicon City Inc.
> 516-681-6900 x201
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
KORKSOFT - Software & Internet Solutions
System Integration, E-Commerce, C++/Perl/PHP/ASP
Web hosting, Server Co-Location, Dedicated Circuits
http://www.korksoft.com
http://www.atworkservers.com
Tel: (603) 672-1246 x 201
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: jobrien at cuttingedge.net (Jerry O'Brien )
Date: Mon, 19 Feb 2001 14:00:40 -0600
Subject: [ic] E-Commerce Exchange Web-Link
Has anyone used Interchange with E-Commerce Exchange's Web-Link interface? I
would like to gather everything short of the credit card number and send the
customer off to E-Commerce's secure site for that. I can make it work from a
static test page, but I haven't figured out where to put it in the catalog.
Can I just replace globalsub/authorizenet with my own globalsub/weblink? Can
anybody give me or direct me to a reference where I can learn more about how
the server works with globalsubs.
Thanks,
Jerry O'Brien
Network Administrator
Cutting Edge Systems, Inc.
From: josh at bluebonnet.net (Joshua Scott )
Date: Mon, 19 Feb 2001 14:03:03 -0600
Subject: [ic] Item Picture on search results page.
Has anybody else had this problem? If so, how do I fix it?
Josh
----- Original Message -----
From: "Joshua Scott" <josh@bluebonnet.net>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 19, 2001 9:15 AM
Subject: [ic] Item Picture on search results page.
> Hey there...
>
> We have used Interchange for several carts now. The first one used an
> earlier version of Interchange, I am not even sure which version. On the
> latest two, we have used the latest version. On our first cart the serach
> results page came up with a picture of the item and the description. On
the
> latest two the results come with just the Item name, availability and
> pricing. To see the picture you have to click on the item name and then
the
> the flypage is brought up with the description and picture.
>
> The question is this: Is there a way to set the search page to display the
> picture and description. So that it is not neccesary to click to the title
> to view the picture and information?
>
> Thanks for all of the help.
>
> Joshua Scott
> Web Designer - Publish A Web.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: ven at pragakhan.com (Victor Nolton )
Date: Mon, 19 Feb 2001 15:08:07 -0500
Subject: [ic] Sorting the output
mv_sort_field tf S Field(s) to sort on
>Hello -
>
>>From the main page (left side), when the user selects an item and it
>products a list of those items that match that category - is there a way to
>specify (or do i have to modify the template) that the items should be
>sorted by either description or price.
>
>If so, can someone point me in the right direction.
>Thanks
>
>Howell Silverman
>Silicon City Inc.
>516-681-6900 x201
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: interchange at my-school.com (IC-Admin )
Date: Mon, 19 Feb 2001 17:02:30 -0500 (EST)
Subject: Follow-up: Re: [ic] Europeanization of IC
Hans-Joachim Leidinger wrote:
> Hmmm...you are living in US and your mental capability of the english
> language is very big. What is the problem? Otherwise your problem is the
> "europeanization" of any kind of shipping and tax calculations? ;-)
> My new project is a catalog with SAP (still R/2). I have a project
> meeting in two days. I have a little bit information about my new
> project and can't tell more about this. But IC has to get or to send
> datas via EDIFACT and/or IDOC. Are there someone with some experience
> with SAP? Are there some usefull informations for me from someone? Where
> can I find a whitepaper about EDIFACT and IDOC? Are there a better
> methode to send/get datas to/from SAP? Any comments?
> If I get any usefull informations, a usefull interface to SAP and my
> boss give me his OK, I will publish the interface to the akopia team or
> Stefan Hornburg. Any comments?
> Thanks!
> Joachim
Thanks, Joachim, I don't have any problems with "Europeanization" ,
believe me. :-)
Just concluded from previous posts, that there is some interest in some
sort of cooperation and thought exchange about SAP R/3, tax and
translation issues from the side of some list members.
My admittedly not so clever mind concluded that those issues are
not only of interest for some users to whom MH has pointed out that
IC is flexible enough to offer a user ways to solve these issues
by themselves. (I consider this a subtle hint that solving those issues
belongs into the realm of "services", a user would normally pay for, in
these days, I guess, you would pay RedHat nowadays).
Thirdly, Stefan had indicated, that he looks for some kind of cooperation.
Now, even you come up and try to test the waters for some more feedback.
And I, old lady that I am, just wanted to play a little bit of a
matchmaker, and get some list members on the nerves with my anti-
U.S.-Europe-bashing efforts to encourage make-up and kiss efforts across
the Atlantik. (Sigh, matchmaking is really no good business at all these
days).
Good luck with your project, Joachim. Hope your boss is wise and gives
you an OK. :-)
birgitt
From: alex at cuckoo.com (Alex Wong )
Date: Mon, 19 Feb 2001 13:47:38 -0800 (PST)
Subject: [ic] Multiple size/pricing examples?
Hi,
I have been trolling through the lists for a good and complete example of
how to implement a solution for multiple sizes with different prices. Most
of the examples are not complete.
I am trying to have multiple items/prices for say if I am selling a
Cassete, I would have a dropdown box with an optoin for the CD version at
a different price and perhaps the DVD version at another price.
Another good example would be trying different prices for different sized
Shirts. I konw there are many examples out there, but no complete ones,
and for a newbie like me, it's hard trying to piece together the comments
from so many people.
Would appreciate if someone can point me to some example
code/implementatoin of it.
THanks,
Alex
From: doug at lathi.net (Doug Alcorn )
Date: 19 Feb 2001 17:07:03 -0500
Subject: [ic] Item Picture on search results page.
"Joshua Scott" <josh@bluebonnet.net> writes:
> > The question is this: Is there a way to set the search page to
> > display the picture and description. So that it is not neccesary
> > to click to the title
I'm not exactly sure what your problem is. You can fully customize
the way search results are displayed in the results.html page.
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: howells at siliconcty.com (Howell Silverman )
Date: Mon, 19 Feb 2001 17:21:34 -0500
Subject: [ic] Sorting the output
Thanks but could you be a bit more specific about where this goes?
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Victor
Nolton
Sent: Monday, February 19, 2001 3:08 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] Sorting the output
mv_sort_field tf S Field(s) to sort on
>Hello -
>
>>From the main page (left side), when the user selects an item and it
>products a list of those items that match that category - is there a way to
>specify (or do i have to modify the template) that the items should be
>sorted by either description or price.
>
>If so, can someone point me in the right direction.
>Thanks
>
>Howell Silverman
>Silicon City Inc.
>516-681-6900 x201
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: chl at inow.com (Choong-Hoong Liew )
Date: Mon, 19 Feb 2001 16:20:57 -0800 (PST)
Subject: [ic] Credit Card work in Authorize.net Test Mode,but not in Real Trasaction!
Hi,
I am trying to settup the authorize.net credit card transaction.
Everything is working fine on test mode. But, when I uncheck the test mode
in my Authorize.net account, and try using real credit card to do the
transaction, it just say "
there is an error show in red". But I can't any error on both the error
log and the web site.
Can any one give me a suggestion?
Regards,
Choong
From: rapier at psc.edu (Chris Rapier )
Date: Mon, 19 Feb 2001 20:40:50 -0500
Subject: [ic] Quick order - Enter an SKU into a form
I'm trying to write a page where the user can simply enter an SKU into a
form and have that automatically added to their cart. I've got it
working for the most part except...
I give them 10 fields they can enter skus into. If they leave an sku
field blank it adds a 'null' entry into their shopping cart. I can
delete this by setting the quanitity to zero but it would be better if
it never entered the item into the shopping cart in the first place. I
had assumed that an order item without an sku woudl simply be ignored
but this is not the case. This is under minivend 4 but I'm guessing
similar problems would arise under interchange.
Any suggestions?
From: cfm at maine.com (cfm at maine.com )
Date: Mon, 19 Feb 2001 21:56:41 -0500
Subject: [ic] Quick order - Enter an SKU into a form
On Mon, Feb 19, 2001 at 08:40:50PM -0500, Chris Rapier wrote:
> I'm trying to write a page where the user can simply enter an SKU into a
> form and have that automatically added to their cart. I've got it
> working for the most part except...
>
> I give them 10 fields they can enter skus into. If they leave an sku
> field blank it adds a 'null' entry into their shopping cart. I can
> delete this by setting the quanitity to zero but it would be better if
> it never entered the item into the shopping cart in the first place. I
> had assumed that an order item without an sku woudl simply be ignored
> but this is not the case. This is under minivend 4 but I'm guessing
> similar problems would arise under interchange.
Are you setting a parallel "array" of mv_order_quantity values? That will
default to 1 if you do not. We've got this working but with a multi-line
TEXTAREA so it's not exactly same.
>
> Any suggestions?
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: rapier at psc.edu (Chris Rapier )
Date: Mon, 19 Feb 2001 22:13:56 -0500
Subject: [ic] Quick order - Enter an SKU into a form
Well, I got it to work but just using perl code. When all else fails,
use perl!
From: rapier at psc.edu (Chris Rapier )
Date: Tue, 20 Feb 2001 09:13:33 -0500
Subject: [ic] Quick order - Enter an SKU into a form
cfm@maine.com wrote:
> Are you setting a parallel "array" of mv_order_quantity values? That will
> default to 1 if you do not. We've got this working but with a multi-line
> TEXTAREA so it's not exactly same.
I didn't even think of it but thats what is going on. I include a select
box for quantity that defaults to one. So its adding each of those
bacsue it has a valid quantity even though it doesn't have a valid sku.
Anyway, I modified the del-item user tag and slipped the perl for that
directly into the 'basket' page (I'm using that term loosely because its
actually an intermediate page). It steps through the main cart and if
any skus are null it removes them.
[perl]
my $counter = 0;
do {
if ($Carts->{main}[$counter]{code} eq "") {
splice @{$Carts->{main}}, $counter--, 1;
}
++$counter;
} until $counter > $#{$Carts->{main}};
return;
[/perl]
From: mark.johnson at akopia.com (Mark Johnson )
Date: Tue, 20 Feb 2001 09:27:56 -0500
Subject: [ic] Sorting the output
http://developer.akopia.com/cgi-bin/ic/dev/icdatabase_32.html
Howell Silverman wrote:
>
> Thanks but could you be a bit more specific about where this goes?
>
--
Mark Johnson
Senior Developer - Professional Services
Red Hat, Inc.
E-Business Solutions
mark.johnson@akopia.com
703-456-2912
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Tue, 20 Feb 2001 09:04:52 -0700 (MST)
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
To whom it may concern.
I have searched the archives and I think the answer is no, Interchange can
not be setup for IP aliases from one location. I have multiple DNS
entries for this one machine. As I change servers often I need a server
to act as one that is down for repair, will be replaced or discontinued.
I setup IP aliases on the machine. I have noticed that these other setups
cannot run interchange. Only the machine I have directly setup. It would
be nice if Interchange were configureable to multiple DNS-entries/IP's
that could be selected. Maybe I just missed something and it can.
Thanks,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: cfm at maine.com (cfm at maine.com )
Date: Tue, 20 Feb 2001 11:13:00 -0500
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
On Tue, Feb 20, 2001 at 09:04:52AM -0700, Boyd Lynn Gerber wrote:
> To whom it may concern.
>
> I have searched the archives and I think the answer is no, Interchange can
> not be setup for IP aliases from one location. I have multiple DNS
> entries for this one machine. As I change servers often I need a server
> to act as one that is down for repair, will be replaced or discontinued.
> I setup IP aliases on the machine. I have noticed that these other setups
> cannot run interchange. Only the machine I have directly setup. It would
> be nice if Interchange were configureable to multiple DNS-entries/IP's
> that could be selected. Maybe I just missed something and it can.
>
> Thanks,
That confuses me. No doubt it's clear to you but for those of use not
familiar with your system it's not clear what you are looking for.
What do you mean by "IP aliases from one location"?
>
> --
> Boyd Gerber <gerberb@zenez.com>
> ZENEZ 3748 Valley Forge Road, Magna Utah 84044
> Office 801-250-0795 FAX 801-250-7975
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Tue, 20 Feb 2001 09:33:58 -0700 (MST)
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
On Tue, 20 Feb 2001 cfm@maine.com wrote:
> On Tue, Feb 20, 2001 at 09:04:52AM -0700, Boyd Lynn Gerber wrote:
> > To whom it may concern.
> > I have searched the archives and I think the answer is no, Interchange can
> > not be setup for IP aliases from one location. I have multiple DNS
> > entries for this one machine. As I change servers often I need a server
> > to act as one that is down for repair, will be replaced or discontinued.
> > I setup IP aliases on the machine. I have noticed that these other setups
> > cannot run interchange. Only the machine I have directly setup. It would
> > be nice if Interchange were configureable to multiple DNS-entries/IP's
> > that could be selected. Maybe I just missed something and it can.
> >
> > Thanks,
>
> That confuses me. No doubt it's clear to you but for those of use not
> familiar with your system it's not clear what you are looking for.
> What do you mean by "IP aliases from one location"?
ifconfig -a
net0: flags=4043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 166.70.62.190 netmask ffffff00 broadcast 166.70.62.255
inet/perf: recv size: 24576; send size: 24576; full-size frames: 1
inet/options: rfc1323
ether 00:d0:b7:20:b0:90
(alias) inet 166.70.62.46 netmask ffffff00 broadcast 166.70.62.255
(alias) inet 166.70.62.48 netmask ffffff00 broadcast 166.70.62.255
(alias) inet 166.70.62.42 netmask ffffff00 broadcast 166.70.62.255
(alias) inet 166.70.62.4 netmask ffffff00 broadcast 166.70.62.255
(alias) inet 166.70.62.10 netmask ffffff00 broadcast 166.70.62.255
(alias) inet 166.70.62.8 netmask ffffff00 broadcast 166.70.62.255
machine1 has an IP address of 166.70.62.190 and interchange works.
machine2/currently a virtual machine has an IP addrees of 166.70.62.4
I have moved all the files from machine2 to machine1 and interchange works
with the catalog that was on machine2 on machine1. Here is the problem If
I try to run interchange as if it were machine1 it fails. I would like to
be able to run it as either machine1 or machine2 not just one or the
other. Does that make things a bit clearer?
Thanks,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: cfm at maine.com (cfm at maine.com )
Date: Tue, 20 Feb 2001 11:52:35 -0500
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
On Tue, Feb 20, 2001 at 09:33:58AM -0700, Boyd Lynn Gerber wrote:
> On Tue, 20 Feb 2001 cfm@maine.com wrote:
> > On Tue, Feb 20, 2001 at 09:04:52AM -0700, Boyd Lynn Gerber wrote:
> > > To whom it may concern.
> > > I have searched the archives and I think the answer is no, Interchange can
> > > not be setup for IP aliases from one location. I have multiple DNS
> > > entries for this one machine. As I change servers often I need a server
> > > to act as one that is down for repair, will be replaced or discontinued.
> > > I setup IP aliases on the machine. I have noticed that these other setups
> > > cannot run interchange. Only the machine I have directly setup. It would
> > > be nice if Interchange were configureable to multiple DNS-entries/IP's
> > > that could be selected. Maybe I just missed something and it can.
> > >
> > > Thanks,
> >
> > That confuses me. No doubt it's clear to you but for those of use not
> > familiar with your system it's not clear what you are looking for.
> > What do you mean by "IP aliases from one location"?
>
> ifconfig -a
>
> net0: flags=4043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 166.70.62.190 netmask ffffff00 broadcast 166.70.62.255
> inet/perf: recv size: 24576; send size: 24576; full-size frames: 1
> inet/options: rfc1323
> ether 00:d0:b7:20:b0:90
> (alias) inet 166.70.62.46 netmask ffffff00 broadcast 166.70.62.255
> (alias) inet 166.70.62.48 netmask ffffff00 broadcast 166.70.62.255
> (alias) inet 166.70.62.42 netmask ffffff00 broadcast 166.70.62.255
> (alias) inet 166.70.62.4 netmask ffffff00 broadcast 166.70.62.255
> (alias) inet 166.70.62.10 netmask ffffff00 broadcast 166.70.62.255
> (alias) inet 166.70.62.8 netmask ffffff00 broadcast 166.70.62.255
>
> machine1 has an IP address of 166.70.62.190 and interchange works.
> machine2/currently a virtual machine has an IP addrees of 166.70.62.4
>
> I have moved all the files from machine2 to machine1 and interchange works
> with the catalog that was on machine2 on machine1. Here is the problem If
> I try to run interchange as if it were machine1 it fails. I would like to
> be able to run it as either machine1 or machine2 not just one or the
> other. Does that make things a bit clearer?
We move catalogs around all the time, but I'd guess we are always restarting
minivend anyway because something "bigger" is happening.
Are you saying you want same catalog on multiple physical boxes with the
same ip address? I think there is email in archive from Mike H about
doing that. Still, I'm not clear on what is a "virtual machine"? An
instance of an entire machine (eg 10,000 virtual machines on S/390 - drool)
that amounts to another box or just an IP alias?
What do the logs say for errors?
>
> Thanks,
>
> --
> Boyd Gerber <gerberb@zenez.com>
> ZENEZ 3748 Valley Forge Road, Magna Utah 84044
> Office 801-250-0795 FAX 801-250-7975
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Tue, 20 Feb 2001 10:31:57 -0700 (MST)
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
On Tue, 20 Feb 2001 cfm@maine.com wrote:
> On Tue, Feb 20, 2001 at 09:33:58AM -0700, Boyd Lynn Gerber wrote:
> > On Tue, 20 Feb 2001 cfm@maine.com wrote:
> > > On Tue, Feb 20, 2001 at 09:04:52AM -0700, Boyd Lynn Gerber wrote:
> > > > To whom it may concern.
> > > > I have searched the archives and I think the answer is no, Interchange can
> > > > not be setup for IP aliases from one location. I have multiple DNS
> > > > entries for this one machine. As I change servers often I need a server
> > > > to act as one that is down for repair, will be replaced or discontinued.
> > > > I setup IP aliases on the machine. I have noticed that these other setups
> > > > cannot run interchange. Only the machine I have directly setup. It would
> > > > be nice if Interchange were configureable to multiple DNS-entries/IP's
> > > > that could be selected. Maybe I just missed something and it can.
> > > >
> > > > Thanks,
> > >
> > > That confuses me. No doubt it's clear to you but for those of use not
> > > familiar with your system it's not clear what you are looking for.
> > > What do you mean by "IP aliases from one location"?
> >
> > ifconfig -a
> >
> > net0: flags=4043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> > inet 166.70.62.190 netmask ffffff00 broadcast 166.70.62.255
> > inet/perf: recv size: 24576; send size: 24576; full-size frames: 1
> > inet/options: rfc1323
> > ether 00:d0:b7:20:b0:90
> > (alias) inet 166.70.62.46 netmask ffffff00 broadcast 166.70.62.255
> > (alias) inet 166.70.62.48 netmask ffffff00 broadcast 166.70.62.255
> > (alias) inet 166.70.62.42 netmask ffffff00 broadcast 166.70.62.255
> > (alias) inet 166.70.62.4 netmask ffffff00 broadcast 166.70.62.255
> > (alias) inet 166.70.62.10 netmask ffffff00 broadcast 166.70.62.255
> > (alias) inet 166.70.62.8 netmask ffffff00 broadcast 166.70.62.255
> >
> > machine1 has an IP address of 166.70.62.190 and interchange works.
> > machine2/currently a virtual machine has an IP addrees of 166.70.62.4
> >
> > I have moved all the files from machine2 to machine1 and interchange works
> > with the catalog that was on machine2 on machine1. Here is the problem If
> > I try to run interchange as if it were machine1 it fails. I would like to
> > be able to run it as either machine1 or machine2 not just one or the
> > other. Does that make things a bit clearer?
>
> We move catalogs around all the time, but I'd guess we are always restarting
> minivend anyway because something "bigger" is happening.
>
> Are you saying you want same catalog on multiple physical boxes with the
> same ip address? I think there is email in archive from Mike H about
> doing that. Still, I'm not clear on what is a "virtual machine"? An
> instance of an entire machine (eg 10,000 virtual machines on S/390 - drool)
> that amounts to another box or just an IP alias?
>
> What do the logs say for errors?
What I would like to be able to choose a group of IP addresses or machine
names and have them all run the same catalog. Machine1 is the orginal
machine. I would like to be able to choose from every IP address aliased
to the one physical address and run the interchange server on each of
them. I may have 10,000 virtual machines from the one physical interface,
but I only have 9,900 unique IP address or DNS entries. What I would like
to do is choose Name1, Name2, Name3,... or WWW.XXX.YYY.ZZ1, WWW.XXX.ZZ2,
WWW.XXX.YYY.ZZ3,... where each of these machines has only one location for
the catalog. i.e. from the catalog.cfg file
Variable SERVER_NAME machine1, machine2, machine3, machine4, ...
Variable SERVER_NAME host1, host2, host3, host4, ...
and the same for other variables like
Variable SECURE_SERVER http://machine1, http://machine2, ...
Variable SAMPLEURL http://machine1/construct, http://machine2/construct, ...
As I understand now I have to have a seperate catalog.cfg file for each
one, but they all have only one location with the same catalog.cfg. I can
change the catalog.cfg to work with any one of the virtual hosts, but not
more than one. So I am asking to be able to have more than one.
These may have all the same IP address for each host, but I want to select
from a group of hosts that all have the exact same location for
catalog.cfg.
I do not get anything in the logs. I just get page not found error from
the webserver when I try http://host2/cgi-bin/user_store if I have
catalog.cfg configured for host1. Note the webserver is looking at the
same location for each. Does that make it clearer?
Thanks,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 20 Feb 2001 13:21:05 -0500
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
Quoting Boyd Lynn Gerber (gerberb@zenez.com):
> What I would like to be able to choose a group of IP addresses or machine
> names and have them all run the same catalog. Machine1 is the orginal
> machine. I would like to be able to choose from every IP address aliased
> to the one physical address and run the interchange server on each of
> them. I may have 10,000 virtual machines from the one physical interface,
> but I only have 9,900 unique IP address or DNS entries. What I would like
> to do is choose Name1, Name2, Name3,... or WWW.XXX.YYY.ZZ1, WWW.XXX.ZZ2,
> WWW.XXX.YYY.ZZ3,... where each of these machines has only one location for
> the catalog. i.e. from the catalog.cfg file
>
> Variable SERVER_NAME machine1, machine2, machine3, machine4, ...
> Variable SERVER_NAME host1, host2, host3, host4, ...
>
> and the same for other variables like
>
> Variable SECURE_SERVER http://machine1, http://machine2, ...
> Variable SAMPLEURL http://machine1/construct, http://machine2/construct, ...
>
> As I understand now I have to have a seperate catalog.cfg file for each
> one, but they all have only one location with the same catalog.cfg. I can
> change the catalog.cfg to work with any one of the virtual hosts, but not
> more than one. So I am asking to be able to have more than one.
>
> These may have all the same IP address for each host, but I want to select
> from a group of hosts that all have the exact same location for
> catalog.cfg.
>
> I do not get anything in the logs. I just get page not found error from
> the webserver when I try http://host2/cgi-bin/user_store if I have
> catalog.cfg configured for host1. Note the webserver is looking at the
> same location for each. Does that make it clearer?
No. 8-)
If you can provide the right URL on output, then Interchange will work
fine. I am still very unclear on what you are trying to accomplish.
If you want to use the same catalog.cfg file, then you will need
to have a way to determine what the outputted URL is for that
machine.
You may not know that you can do something like:
interchange -restart construct:VendURL=http://machine1/cgi/script
and
interchange -restart construct:VendURL=http://machine2/cgi/script
etc.
The other possible way is to have a separate ConfDir
(i.e. /usr/local/interchange/etc) for each machine, and use the
etc/construct.after configuration file to modify configuration.
You might have to get some consulting help, but it can be done, that
I know.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: jcarnahan at networq.com (Jeff Carnahan )
Date: Tue, 20 Feb 2001 10:23:38 -0800
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
}-----Original Message-----
}Subject: Re: [ic] New Feature Multiple DNS-entries/IP's/aliases from
}interchange.
}
}
}What I would like to be able to choose a group of IP addresses or machine
}names and have them all run the same catalog. Machine1 is the orginal
}machine. I would like to be able to choose from every IP address aliased
}to the one physical address and run the interchange server on each of
}them. I may have 10,000 virtual machines from the one physical interface,
}but I only have 9,900 unique IP address or DNS entries. What I would like
}to do is choose Name1, Name2, Name3,... or WWW.XXX.YYY.ZZ1, WWW.XXX.ZZ2,
}WWW.XXX.YYY.ZZ3,... where each of these machines has only one location for
}the catalog. i.e. from the catalog.cfg file
}
If you have a SINGLE machine running all of these domains, I don't see where
the problem lies. I have a Interchange process running on a single machine
that handles 4 catalogs, each of which has it's own website and
corresponding IP address. My machine responds to all four ip addresses.
Each website simply connects to the interchange process running on
"localhost" which is 127.0.0.1 .. The Interchange process only listens on
127.0.0.1. Of course, I could run an arbitrary number of websites on that
single machine, each utilizing the single Interchange process.
The IP address of the website is inconsequential to Interchange. Remember,
that Interchange is listening on 127.0.0.1, thus ANY website (regardless of
the address it responds to) on the SAME machine, can contact 127.0.0.1 for
Interchange services.
NOW, if you have MULTIPLE web servers that provide web services for a SINGLE
website, that is you're distributing the load for a web site across multiple
machines, you have two solutions (as I see it):
1: Create a NFS (or similar) filesystem that can be mounted over a network.
On machines that serve requests for the website, mount this common
filesystem. Now, put the Catalog for the website these machines service on
that common filesystem (or partition). Now, on each machine, run a copy of
Interchange and configure it to use the catalog on this common filesystem.
- This will ensure that all webservers in this distributed configuration
use the same catalog information, and same user database. Thus if a user
places a item in his cart on web server one, he can do the checkout process
on web server two because they both share his personal information (and the
same catalog).
2: There are variants of the above approach. However, you must ensure that
all web servers use the common user database and order routing system. Ways
to do this:
- Use a non-flat-file sessions database. I.e.: Use a common MySQL/Whatever
database that all web servers connect to when obtaining session information.
- Have many web servers provide information about your products, but only
one that allows users to 'check-out' or make their purchases. This will
allow you to concentrate whatever is necessary to complete your purchase
transaction in one location (i.e.: connecting to an outside payment
organization, or incrementing a single order counter).
- Consider upgrading your equipment if it's not appropriate for the level
of traffic your site is receiving. While Interchange is quite good, it can
only perform within the limitations of your hardware. Don't run a popular
site with 64 MB ram. Use 1 GB. Don't save session information to a machine
that's already overloaded, purchase a new one for this task... Consider all
weak links in your setup, whether they are machines, network connections,
software, or peculiarities in the checkout system that are specific to your
business.
But remember, if you do have more than one web server servicing a single
website, you absolutely MUST ensure that all of the web servers use common
session information.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange at my-school.com (IC-Admin )
Date: Tue, 20 Feb 2001 14:56:04 -0500 (EST)
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
Boyd Lynn Gerber wrote:
> [snip]
> Does that make it clearer?
I somewhat doubt that...How about drawing some pictures, as your usage of
the words virtual machines, servers, physical interface, machine names,
host names is really...somewhat unusual...:-)
Seems to me you need to read up on clustering, IP based virtual hosting
and name based virtual hosting and sharing files on a network over several
physical machines (NFS) and say clearer what sort of servers you are
talking about.
birgitt
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Tue, 20 Feb 2001 11:45:27 -0700 (MST)
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
On Tue, 20 Feb 2001, Jeff Carnahan wrote:
> If you have a SINGLE machine running all of these domains, I don't see where
> the problem lies. I have a Interchange process running on a single machine
> that handles 4 catalogs, each of which has it's own website and
> corresponding IP address. My machine responds to all four ip addresses.
>
> Each website simply connects to the interchange process running on
> "localhost" which is 127.0.0.1 .. The Interchange process only listens on
> 127.0.0.1. Of course, I could run an arbitrary number of websites on that
> single machine, each utilizing the single Interchange process.
Maybe it is me. That is how I did it to start but when I try to check-out
from a brwoser not on the machine running https://127.0.0.1/ I would get
pages not available. I then put in the address of
https:/host.domain.com/.... for the secure server and it worked. I do
have Apache-SSL on 127.0.0.1 which works when I check it from a X-window
as I mention above. I thought the error from browers was because the
machine I was running the browser on did not have a local webserver
running.
> The IP address of the website is inconsequential to Interchange. Remember,
> that Interchange is listening on 127.0.0.1, thus ANY website (regardless of
> the address it responds to) on the SAME machine, can contact 127.0.0.1 for
> Interchange services.
>
> NOW, if you have MULTIPLE web servers that provide web services for a SINGLE
> website, that is you're distributing the load for a web site across multiple
> machines, you have two solutions (as I see it):
That is part of the problem two.
> 1: Create a NFS (or similar) filesystem that can be mounted over a network.
> On machines that serve requests for the website, mount this common
> filesystem. Now, put the Catalog for the website these machines service on
> that common filesystem (or partition). Now, on each machine, run a copy of
> Interchange and configure it to use the catalog on this common filesystem.
That is what I did.
> - This will ensure that all webservers in this distributed configuration
> use the same catalog information, and same user database. Thus if a user
> places a item in his cart on web server one, he can do the checkout process
> on web server two because they both share his personal information (and the
> same catalog).
>
> 2: There are variants of the above approach. However, you must ensure that
> all web servers use the common user database and order routing system. Ways
> to do this:
>
> - Use a non-flat-file sessions database. I.e.: Use a common MySQL/Whatever
> database that all web servers connect to when obtaining session information.
That is what I am doing.
> - Have many web servers provide information about your products, but only
> one that allows users to 'check-out' or make their purchases. This will
> allow you to concentrate whatever is necessary to complete your purchase
> transaction in one location (i.e.: connecting to an outside payment
> organization, or incrementing a single order counter).
That is what I am doing wrong. I am trying to go from all locations with
the https://127.0.0.1 which I could only get to work when I was on the
machine. I then tried to use multiple IP's. Did not work. Changed to
just a single IP and it worked.
> - Consider upgrading your equipment if it's not appropriate for the level
> of traffic your site is receiving. While Interchange is quite good, it can
> only perform within the limitations of your hardware. Don't run a popular
> site with 64 MB ram. Use 1 GB. Don't save session information to a machine
> that's already overloaded, purchase a new one for this task... Consider all
> weak links in your setup, whether they are machines, network connections,
> software, or peculiarities in the checkout system that are specific to your
> business.
>
> But remember, if you do have more than one web server servicing a single
> website, you absolutely MUST ensure that all of the web servers use common
> session information.
I agree. Thanks. I think I know where I made my mistake. It was trying
to distribute check-out to many and I was failing there.
Thanks,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Tue, 20 Feb 2001 11:53:35 -0700 (MST)
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
On Tue, 20 Feb 2001, Mike Heins wrote:
> No. 8-)
Sorry, I was trying to use something other that 127.0.0.1 that all
machines desired to could use. The 127.0.0.1 would work for the catalog
except when trying to check-out. The only time I could get it to work
with it was when I was running a web browser on that machine. I tried to
change it to multiple IP's or host names for https://... which I could
only get the one to work. I interpeted the https://127.0.0.1/... as
meaning that the machine I was running the browser from did not have a
webserver running on localhost which I did not.
> If you can provide the right URL on output, then Interchange will work
> fine. I am still very unclear on what you are trying to accomplish.
>
> If you want to use the same catalog.cfg file, then you will need
> to have a way to determine what the outputted URL is for that
> machine.
>
> You may not know that you can do something like:
>
> interchange -restart construct:VendURL=http://machine1/cgi/script
>
> and
>
> interchange -restart construct:VendURL=http://machine2/cgi/script
>
> etc.
I did not know you could do that.
> The other possible way is to have a separate ConfDir
> (i.e. /usr/local/interchange/etc) for each machine, and use the
> etc/construct.after configuration file to modify configuration.
>
> You might have to get some consulting help, but it can be done, that
> I know.
Thanks, I think my solution is to have only one location do the check-out
and have localhost or 127.0.0.1 be where the catalogs are run.
Thank you for your responses.
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: gina at sitediva.com (Gina K. Anderson )
Date: Tue, 20 Feb 2001 14:18:58 -0500
Subject: [ic] Config Problems
Hi all,
I have a hoster who has installed Interchange, and I am trying to make another
user/catalog (~hhc) for a client demo site using a subdomain. I can't seem to
get it working, and I'd like to ask for troubleshooting help. I think I am
supposed to use "makecat" or something for this, but I don't have an
interchange/ folder and can't seem to run any commands-or maybe I just don't
know how to. I've tried some of the paths in the reference and tutorial at
Akopia, but no go...so I am trying to hack it (I'm a beginner, obviously), I
don't even know if this is possible.
---------------------
Here's server setup, subdomains get a folder in the public_html file, which the
subdomain calls from, and I have basically copied and renamed the ~sitediva
catalog as ~hhc :
root/
catalogs/
sitediva/
hhc/
public_html/
dev002/
cart/
images/
index.html
cgi-bin/
cart.cgi
----------------------------
Here's the catalog.cfg:
# Set the sitewide information. The initial settings
# in the "variable" table are shown below; subsequent
# changes are only in the database, not below.
VariableDatabase variable
### These reflect the initial settings set above;
### if you uncomment them they will override it.
#
Variable SERVER_NAME dev002.sitediva.com
Variable CGI_URL /~hhc/cgi-bin/cart.cgi
Variable SECURE_SERVER http://dev002.sitediva.com
Variable ORDERS_TO dev002@sitediva.com
Variable IMAGE_DIR /~hhc/cart/images
Variable DOCROOT /home/sitediva/public_html/dev002
Variable SAMPLEHTML /home/sitediva/public_html/dev002/cart
Variable SAMPLEURL http://dev002.sitediva.com/cart
#
#Variable COMPANY Construct Something
#Variable ENCRYPTOR none
#
#Variable SOMESQL
#Variable MYSQL
#Variable PGSQL
#Variable ORACLE
#Variable SQLDSN
#Variable SQLDB
#Variable SQLUSER
#Variable SQLPASS
## END SITE CONFIGURATION
http://sitediva.com/~sitediva/cgi-bin/cart.cgi/admin/login.html
Accesses fine, and is what the hoster has set up.
http://dev002.sitediva.com/~hhc/cgi-bin/cart.cgi/admin/login.html
Get a 404 or the same message as below.
http://dev002.sitediva.com/cgi-bin/cart.cgi/admin/index.html
Get: "We're sorry, the Interchange server is unavailable...We are out of service
or may be experiencing high system demand, please try again soon." Even though I
can sign onto the one that works right after I try this link.
http://dev002.sitediva.com/cart/
Opens the "construct something" store, but to user ~sitediva, not ~hhc which is
what I need
Can anyone point out what I did wrong, or is this just not possible without
being able to run Interchange commands from telnet?
Thanks,
Gina
From: spcover at scarsdaletech.com (Sean P. Cover )
Date: Tue, 20 Feb 2001 14:17:33 -0500
Subject: [ic] Problem making my first catalog
I ran into a problem. After running the install for Interchange 4.
6.1 (and then 4.6.3), you have to run a separate command to create
a store "catalog". I get an error at this point, just after typing
in the /bin/makecat command.
[domain@host3 interchange]$ bin/makecat store
Can't locate Vend/MakeCat.pm in @INC (@INC contains: domain domain/lib
/usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.
6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
.) at bin/makecat line 40.
BEGIN failed--compilation aborted at bin/makecat line 40.
(I substituted "domain" for the actual name of the account. "store"
is the name of my catalog.)
I have no clue why it expects to find the Interchange file MakeCat.
pm in the same directories as the main Perl modules and not in an
Interchange directory.
I am virtial hosting account on a Linux server using Red Hat 6.1.
Any help would be greatly appreciated.
Thanks in advance,
Sean P. Cover
Scarsdale Technologies, Inc. - Changing The World One Computer At A Time
(914) 723-5645
http:/www.ScarsdaleTech.com
http://www.ScarsdaleToday.com
http://www.WestchesterNetwork.com
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Tue, 20 Feb 2001 12:27:50 -0700 (MST)
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
On Tue, 20 Feb 2001, IC-Admin wrote:
> I somewhat doubt that...How about drawing some pictures, as your usage of
> the words virtual machines, servers, physical interface, machine names,
> host names is really...somewhat unusual...:-)
I have two machines that are clustered. I am trying to dynamicly transfer
the load between the two machines. Each machine has a series of IP
address as the load gets two unbalanced an IP address is moved from one
machine to the other and I restart interchangeand have apache reread the
configuration on both machines. I hope this picture helps.
----------------- -----------------
physical IP | 166.70.62.190 | | 166.70.62.191 |
virtual IP's | 166.70.62.4 | | 166.70.62.8 |
|... various | |... various |
| IP numbers | | IP numbers |
----------------- -----------------
| ----------------- |
|-------| |-------|
| Shared Storage|
----------------- -----------------
| host needs | |
| attention see |------------------------
| below for |
| detail |
-----------------
or an other machine not part of the cluster needs to attention, repairs,
upgrades, etc. Files are transfered to the Shared Storage.
Apache-SSL Webserver Running on both machines.
Orignally I had Interchange running as localhost or 127.0.0.1. I had
problems with check-out. I changed from https://127.0.0.1 to
https://host.domain.com and it worked. Then I wanted to have multiple
https://host.domain.com for check-out because I could not get
https://127.0.0.1 to work. I interpeted that the reason it sometimes
worked and other times did not to the fact it worked when I was on a X
window on the machine but did not if I was not. I assumed (ASS of U and
ME) that I did work because I did not have a webserver on the machine I
was running the browser from. I then thought well apache can be
configured to listen on a group of IP address or host names, wouldn't it
be nice if interchange could do the same thing with out using localhost
ofr 127.0.0.1. Then I would not have problems with the multiple
check-outs. So now assume as done it to me.
> Seems to me you need to read up on clustering, IP based virtual hosting
> and name based virtual hosting and sharing files on a network over several
> physical machines (NFS) and say clearer what sort of servers you are
> talking about.
I hope the above now makes things clearer, as I crawl back having shown my
ignorance. Yes, I do need to read up and understand more. Having just
one check-out to a fixed IP address/host name does work.
Thanks everyone for your enlightenment. Sorry, I was not clearer. I was
thinking that this would make a nice feature to the GUI admin for the
https checkout section.
Thank you all!
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: jcarnahan at networq.com (Jeff Carnahan )
Date: Tue, 20 Feb 2001 12:11:02 -0800
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
}
}Maybe it is me. That is how I did it to start but when I try to check-out
}from a brwoser not on the machine running https://127.0.0.1/ I would get
}pages not available. I then put in the address of
}https:/host.domain.com/.... for the secure server and it worked. I do
}have Apache-SSL on 127.0.0.1 which works when I check it from a X-window
}as I mention above. I thought the error from browers was because the
}machine I was running the browser on did not have a local webserver
}running.
}
This is your problem. In interchange.cfg your Catalog directive should have
the hostname of your machine. That is perhaps:
FullURL yes
Catalog catalog1 directory /some/dir/catalogs/catalog1
Catalog catalog1 script www.site1.com/some-path
Catalog catalog2 directory /some/dir/catalogs/catalog2
Catalog catalog2 script www.site2.com/some-path
Catalog catalog3 directory /some/dir/catalogs/catalog3
Catalog catalog3 script www.site3.com/some-path
...
Now, the cgi script (or mod_minivend) should connect to the Interchange
server running on localhost. This is the default behavior for tlink and
vlink. If you have multiple web-servers you may want to change this when
compiling vlink/tlink (if you don't use mod_minivend) which you can do by
editing config.h.in .. Note that the perl versions of these programs contain
the configuration in their source.
--
Jeff Carnahan - jcarnahan@networq.com
}> The IP address of the website is inconsequential to Interchange.
}Remember,
}> that Interchange is listening on 127.0.0.1, thus ANY website
}(regardless of
}> the address it responds to) on the SAME machine, can contact
}127.0.0.1 for
}> Interchange services.
}>
}> NOW, if you have MULTIPLE web servers that provide web services
}for a SINGLE
}> website, that is you're distributing the load for a web site
}across multiple
}> machines, you have two solutions (as I see it):
}
}That is part of the problem two.
}
}> 1: Create a NFS (or similar) filesystem that can be mounted over
}a network.
}> On machines that serve requests for the website, mount this common
}> filesystem. Now, put the Catalog for the website these machines
}service on
}> that common filesystem (or partition). Now, on each machine, run
}a copy of
}> Interchange and configure it to use the catalog on this common
}filesystem.
}
}That is what I did.
}
}> - This will ensure that all webservers in this distributed
}configuration
}> use the same catalog information, and same user database. Thus if a user
}> places a item in his cart on web server one, he can do the
}checkout process
}> on web server two because they both share his personal
}information (and the
}> same catalog).
}>
}> 2: There are variants of the above approach. However, you must
}ensure that
}> all web servers use the common user database and order routing
}system. Ways
}> to do this:
}>
}> - Use a non-flat-file sessions database. I.e.: Use a common
}MySQL/Whatever
}> database that all web servers connect to when obtaining session
}information.
}
}That is what I am doing.
}
}> - Have many web servers provide information about your
}products, but only
}> one that allows users to 'check-out' or make their purchases. This will
}> allow you to concentrate whatever is necessary to complete your purchase
}> transaction in one location (i.e.: connecting to an outside payment
}> organization, or incrementing a single order counter).
}
}That is what I am doing wrong. I am trying to go from all locations with
}the https://127.0.0.1 which I could only get to work when I was on the
}machine. I then tried to use multiple IP's. Did not work. Changed to
}just a single IP and it worked.
}
}> - Consider upgrading your equipment if it's not appropriate
}for the level
}> of traffic your site is receiving. While Interchange is quite
}good, it can
}> only perform within the limitations of your hardware. Don't run a popular
}> site with 64 MB ram. Use 1 GB. Don't save session information to
}a machine
}> that's already overloaded, purchase a new one for this task...
}Consider all
}> weak links in your setup, whether they are machines, network connections,
}> software, or peculiarities in the checkout system that are
}specific to your
}> business.
}>
}> But remember, if you do have more than one web server servicing a single
}> website, you absolutely MUST ensure that all of the web servers
}use common
}> session information.
}
}I agree. Thanks. I think I know where I made my mistake. It was trying
}to distribute check-out to many and I was failing there.
}
}Thanks,
}
}--
}Boyd Gerber <gerberb@zenez.com>
}ZENEZ 3748 Valley Forge Road, Magna Utah 84044
}Office 801-250-0795 FAX 801-250-7975
}
}
}_______________________________________________
}Interchange-users mailing list
}Interchange-users@lists.akopia.com
}http://lists.akopia.com/mailman/listinfo/interchange-users
}
From: cfm at maine.com (cfm at maine.com )
Date: Tue, 20 Feb 2001 15:10:48 -0500
Subject: [ic] Problem making my first catalog
That's an issue with recent changes in perl policy. You are
going to need to add the right paths to @INC in makecat or
wait until someone uploads a new package. Is there a way
to push something into @INC on commandline? I thought it was
just a debian thing but you are running on redhat. Trashed
my past weekend fixing this one. If you have the Camel book
I'm sure you could find easy way to modify @INC there if you
don't want to edit scripts.
On Tue, Feb 20, 2001 at 02:17:33PM -0500, Sean P. Cover wrote:
> I ran into a problem. After running the install for Interchange 4.
> 6.1 (and then 4.6.3), you have to run a separate command to create
> a store "catalog". I get an error at this point, just after typing
> in the /bin/makecat command.
>
> [domain@host3 interchange]$ bin/makecat store
> Can't locate Vend/MakeCat.pm in @INC (@INC contains: domain domain/lib
> /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.
> 6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
> .) at bin/makecat line 40.
> BEGIN failed--compilation aborted at bin/makecat line 40.
>
> (I substituted "domain" for the actual name of the account. "store"
> is the name of my catalog.)
>
> I have no clue why it expects to find the Interchange file MakeCat.
> pm in the same directories as the main Perl modules and not in an
> Interchange directory.
>
> I am virtial hosting account on a Linux server using Red Hat 6.1.
> Any help would be greatly appreciated.
>
> Thanks in advance,
>
> Sean P. Cover
>
> Scarsdale Technologies, Inc. - Changing The World One Computer At A Time
> (914) 723-5645
> http:/www.ScarsdaleTech.com
> http://www.ScarsdaleToday.com
> http://www.WestchesterNetwork.com
>
>
>
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: jcarnahan at networq.com (Jeff Carnahan )
Date: Tue, 20 Feb 2001 12:14:17 -0800
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
}-----Original Message-----
}Subject: Re: [ic] New Feature Multiple DNS-entries/IP's/aliases from
}interchange.
}
}
} I then thought well apache can be
}configured to listen on a group of IP address or host names, wouldn't it
}be nice if interchange could do the same thing with out using localhost
}ofr 127.0.0.1. Then I would not have problems with the multiple
}check-outs. So now assume as done it to me.
}
Have you looked at TcpMap and TcpHost ?
TcpMap: http://developer.akopia.com/cgi-bin/ic/dev/icconfig_72.html
TcpHost: http://developer.akopia.com/cgi-bin/ic/dev/icconfig_71.html
--
Jeff Carnahan - jcarnahan@networq.com
From: jeaton at silverclicks.com (Jimmy Eaton )
Date: Tue, 20 Feb 2001 14:15:07 -0500 (EST)
Subject: [ic] Slower startup as Mysql tables grow
As the number of records grow in a table the longer it takes for the
catalog to startup. If I delete the records startup is much faster. Is this
a Mysql problem? I presently have Minivend 4.04. Is this better in
Interchange? Why does slow down? Is it bringing in all the records?
Jimmy Eaton
Silverclicks.com, Inc.
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 20 Feb 2001 15:19:06 -0500
Subject: [ic] Problem making my first catalog
Quoting cfm@maine.com (cfm@maine.com):
> On Tue, Feb 20, 2001 at 02:17:33PM -0500, Sean P. Cover wrote:
> > I ran into a problem. After running the install for Interchange 4.
> > 6.1 (and then 4.6.3), you have to run a separate command to create
> > a store "catalog". I get an error at this point, just after typing
> > in the /bin/makecat command.
> >
> > [domain@host3 interchange]$ bin/makecat store
> > Can't locate Vend/MakeCat.pm in @INC (@INC contains: domain domain/lib
> > /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.
> > 6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
> > .) at bin/makecat line 40.
> > BEGIN failed--compilation aborted at bin/makecat line 40.
>>
>
> That's an issue with recent changes in perl policy. You are
> going to need to add the right paths to @INC in makecat or
> wait until someone uploads a new package. Is there a way
> to push something into @INC on commandline? I thought it was
> just a debian thing but you are running on redhat. Trashed
> my past weekend fixing this one. If you have the Camel book
> I'm sure you could find easy way to modify @INC there if you
> don't want to edit scripts.
>
Actually, if Interchange is installed correctly it should automatically
have the right @INC. It sounds like it was installed one place, copied
to another, and the first one deleted. That will not work.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: cfm at maine.com (cfm at maine.com )
Date: Tue, 20 Feb 2001 15:20:35 -0500
Subject: [ic] Problem making my first catalog DOH!
On Tue, Feb 20, 2001 at 03:10:48PM -0500, cfm@maine.com wrote:
>
>
> That's an issue with recent changes in perl policy. You are
> going to need to add the right paths to @INC in makecat or
> wait until someone uploads a new package. Is there a way
> to push something into @INC on commandline? I thought it was
> just a debian thing but you are running on redhat. Trashed
> my past weekend fixing this one. If you have the Camel book
> I'm sure you could find easy way to modify @INC there if you
> don't want to edit scripts.
DOH, I recognized too much from last weekend and answered too fast.
I've been hammered by loss of /usr/local... But MakeCat is not in
/usr/local. Solution is the same, your @INC is wrong. That is
probably a symptom of a spanked install.
>
> On Tue, Feb 20, 2001 at 02:17:33PM -0500, Sean P. Cover wrote:
> > I ran into a problem. After running the install for Interchange 4.
> > 6.1 (and then 4.6.3), you have to run a separate command to create
> > a store "catalog". I get an error at this point, just after typing
> > in the /bin/makecat command.
> >
> > [domain@host3 interchange]$ bin/makecat store
> > Can't locate Vend/MakeCat.pm in @INC (@INC contains: domain domain/lib
> > /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.
> > 6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
> > .) at bin/makecat line 40.
> > BEGIN failed--compilation aborted at bin/makecat line 40.
> >
> > (I substituted "domain" for the actual name of the account. "store"
> > is the name of my catalog.)
> >
> > I have no clue why it expects to find the Interchange file MakeCat.
> > pm in the same directories as the main Perl modules and not in an
> > Interchange directory.
> >
> > I am virtial hosting account on a Linux server using Red Hat 6.1.
> > Any help would be greatly appreciated.
> >
> > Thanks in advance,
> >
> > Sean P. Cover
> >
> > Scarsdale Technologies, Inc. - Changing The World One Computer At A Time
> > (914) 723-5645
> > http:/www.ScarsdaleTech.com
> > http://www.ScarsdaleToday.com
> > http://www.WestchesterNetwork.com
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
>
> Christopher F. Miller, Publisher cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> 1.207.657.5078 http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 20 Feb 2001 15:25:47 -0500
Subject: [ic] Slower startup as Mysql tables grow
Quoting Jimmy Eaton (jeaton@silverclicks.com):
> As the number of records grow in a table the longer it takes for the
> catalog to startup. If I delete the records startup is much faster. Is this
> a Mysql problem? I presently have Minivend 4.04. Is this better in
> Interchange? Why does slow down? Is it bringing in all the records?
That is it. It uses a select * from something to get the field names.
The solution is to update to Interchange 4.6.3, where if you are using
MySQL it will use a "limit 1" to keep that time to the minimum.
You could also find the place in Vend::Table::DBI where it does
that and hardcode a "limit 1" yourself.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: gerberb at zenez.com (Boyd Lynn Gerber )
Date: Tue, 20 Feb 2001 13:40:55 -0700 (MST)
Subject: [ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.
On Tue, 20 Feb 2001, Jeff Carnahan wrote:
> }-----Original Message-----
> }Subject: Re: [ic] New Feature Multiple DNS-entries/IP's/aliases from
> }interchange.
> }
> }
> } I then thought well apache can be
> }configured to listen on a group of IP address or host names, wouldn't it
> }be nice if interchange could do the same thing with out using localhost
> }ofr 127.0.0.1. Then I would not have problems with the multiple
> }check-outs. So now assume as done it to me.
> }
>
> Have you looked at TcpMap and TcpHost ?
>
> TcpMap: http://developer.akopia.com/cgi-bin/ic/dev/icconfig_72.html
> TcpHost: http://developer.akopia.com/cgi-bin/ic/dev/icconfig_71.html
YES, Sadly on my Platform inet mode does not work. I have to use vlink
and a socket.
Thanks,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: spcover at scarsdaletech.com (Sean P. Cover )
Date: Tue, 20 Feb 2001 15:45:34 -0500
Subject: [ic] Problem making my first catalog DOH!
Two things:
1) What is a "spanked install"? Sounds kinky.
2) Is there a file where I can tweak the @INC statement or is that
impossible?
Thank for your help.
Sean
Scarsdale Technologies, Inc. - Changing The World One Computer At A Time
(914) 723-5645
http:/www.ScarsdaleTech.com
http://www.ScarsdaleToday.com
http://www.WestchesterNetwork.com
>From: cfm@maine.com
>Date: Tue, 20 Feb 2001 15:20:35 -0500
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] Problem making my first catalog DOH!
>Reply-To: interchange-users@lists.akopia.com
>
>On Tue, Feb 20, 2001 at 03:10:48PM -0500, cfm@maine.com wrote:
>>
>>
>> That's an issue with recent changes in perl policy. You are
>> going to need to add the right paths to @INC in makecat or
>> wait until someone uploads a new package. Is there a way
>> to push something into @INC on commandline? I thought it was
>> just a debian thing but you are running on redhat. Trashed
>> my past weekend fixing this one. If you have the Camel book
>> I'm sure you could find easy way to modify @INC there if you
>> don't want to edit scripts.
>
>DOH, I recognized too much from last weekend and answered too fast.
>I've been hammered by loss of /usr/local... But MakeCat is not in
>/usr/local. Solution is the same, your @INC is wrong. That is
>probably a symptom of a spanked install.
>
>>
>> On Tue, Feb 20, 2001 at 02:17:33PM -0500, Sean P. Cover wrote:
>> > I ran into a problem. After running the install for Interchange 4.
>> > 6.1 (and then 4.6.3), you have to run a separate command to create
>> > a store "catalog". I get an error at this point, just after typing
>> > in the /bin/makecat command.
>> >
>> > [domain@host3 interchange]$ bin/makecat store
>> > Can't locate Vend/MakeCat.pm in @INC (@INC contains: domain
domain/lib
>> > /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.
>
>> > 6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
>> > .) at bin/makecat line 40.
>> > BEGIN failed--compilation aborted at bin/makecat line 40.
>> >
>> > (I substituted "domain" for the actual name of the account.
"store"
>> > is the name of my catalog.)
>> >
>> > I have no clue why it expects to find the Interchange file MakeCat.
>> > pm in the same directories as the main Perl modules and not in an
>> > Interchange directory.
>> >
>> > I am virtual hosting account on a Linux server using Red Hat 6.1.
>> > Any help would be greatly appreciated.
>> >
>> > Thanks in advance,
>> >
>> > Sean P. Cover
From: jsaura at eon.es (Julio Saura )
Date: Tue, 20 Feb 2001 22:20:49 +0100
Subject: [ic] GDMB & SUN troubles
hello,
i have just finished the install of interchange-4.3 on my solaris system..
everything seems
to be working fine... but when i enter the admin zone i have just see this :
"You need either GDBM_File or DB_File for Interchange to work as
documented."
ok... i use cpan to install GDBM_File and DB_File... but after restarting
interchange daemon
i can see the same message... what i am doing wrong..
please help :)
thanks in advance
From: hans-joachim.leidinger at home.gelsen-net.de (Hans-Joachim Leidinger )
Date: Tue, 20 Feb 2001 21:55:07 +0100
Subject: [ic] Item Picture on search results page.
Joshua Scott wrote:
>
> Has anybody else had this problem? If so, how do I fix it?
>
> Josh
> ----- Original Message -----
> From: "Joshua Scott" <josh@bluebonnet.net>
> To: <interchange-users@lists.akopia.com>
> Sent: Monday, February 19, 2001 9:15 AM
> Subject: [ic] Item Picture on search results page.
>
> > Hey there...
> >
> > We have used Interchange for several carts now. The first one used an
> > earlier version of Interchange, I am not even sure which version. On the
> > latest two, we have used the latest version. On our first cart the serach
> > results page came up with a picture of the item and the description. On
> the
> > latest two the results come with just the Item name, availability and
> > pricing. To see the picture you have to click on the item name and then
> the
> > the flypage is brought up with the description and picture.
> >
> > The question is this: Is there a way to set the search page to display the
> > picture and description. So that it is not neccesary to click to the title
> > to view the picture and information?
> >
> > Thanks for all of the help.
Well duh! Look into the file results.html and flypage.html and you get
the picture. What I mean is, if you want to display the image and the
description in your results page, add some codes to display that in your
results page. For example, if your results page has a code like
[item-field title]
you can add a code like
[item-field description]
to display the description, if you have a column "description" in you
product database and so on.
If you have a column image to display the image, you can use codes like
[if-field image]
<IMG SRC="cover/[item-code].jpg" WIDTH=200>
[else]
<IMG SRC="cover/dummygif.gif" WIDTH=150>
[/else]
[/if]
Make sure, you use the right if condition (for example [if-loop-data
table field], [if file file.gif], [if-sql-field xyz] and so on) to
display image or description.
Joachim
--
-------------Hans-Joachim Leidinger---------------------
From: hans-joachim.leidinger at home.gelsen-net.de (Hans-Joachim Leidinger )
Date: Tue, 20 Feb 2001 23:32:47 +0100
Subject: [ic] Item Picture on search results page.
Hans-Joachim Leidinger wrote:
Ooops! I mean
> [if-field image]
> <IMG SRC="cover/[item-code].jpg" WIDTH=200>
> [else]
> <IMG SRC="cover/dummygif.gif" WIDTH=150>
> [/else]
> [/if]
Ooops! I mean
[if-field image]
<IMG SRC="<path-to-the-image>/[item-field image]">
[else]
<IMG SRC=<path-to-the-image>/"dummygif.gif">
[/else]
[/if]
Joachim
--
-------------Hans-Joachim Leidinger---------------------
From: ryan at whoopersnetwork.com (Ryan )
Date: Wed, 21 Feb 2001 11:22:37 +0800
Subject: [ic] error message
i installed interchange from the RPMs
then when i go to the site and click on admin section
i get
file not found
request url /cgi-bin/construct/admin/login.html not found
whats up with that?
i can't find that directory
and i do not know why its missing
From: tom at redpepperracing.com (Tom Lichti )
Date: Tue, 20 Feb 2001 23:21:45 -0500
Subject: [ic] Moving test catalog to production?
Well, the subject pretty much says it all. I have a test catalog, running
out of a subdir of my apache doc-home and my cgi prog is in the cgi-bin
directory. So how do I move it to the root? i.e. from
www.mydomain.com/cgi-bin/catalog/index.html to just www.mydomain.com.
I'm sure this is possible, I just haven't been able to make it work.
Thanks for any help
Tom Lichti
From: admin at sitemajic.net (Chris Jesseman )
Date: Tue, 20 Feb 2001 23:49:29 -0500 (EST)
Subject: [ic] Moving test catalog to production?
Tom,
I use Apache's mod_rewrite engine to control root traffic to which ever catalog
I want:
.htaccess contents:
RewriteEngine on
RewriteRule ^$ /cgi-bin/catalog.cgi/index.html
Your ISP would have to support mod_rewrite and it can be difficult to setup for
some people... The above example is running on http://www.shopgetzs.com/ -- you
will never know the main page is generated from IC (or MiniVend in this case).
Note that this solution has nothing to do with IC... Hope this helps.
-Chris
Quoting Tom Lichti <tom@redpepperracing.com>:
> Well, the subject pretty much says it all. I have a test catalog,
> running
> out of a subdir of my apache doc-home and my cgi prog is in the
> cgi-bin
> directory. So how do I move it to the root? i.e. from
> www.mydomain.com/cgi-bin/catalog/index.html to just www.mydomain.com.
>
> I'm sure this is possible, I just haven't been able to make it work.
>
> Thanks for any help
>
> Tom Lichti
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
Chris Jesseman, President
http://www.sitemajic.net
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Wed, 21 Feb 2001 00:29:38 -0500
Subject: [ic] start/stop script
Hello,
I notice that in the Interchange RPM, it installs a start/stop script in /etc/rc.d/init.d, as well as symbolic links in the appropriate run levels folders. However, when I compiled the source (couldn't get the RPM to work right), I now have it working, but don't have that script. Where can I find it?
Bob
From: soudant at home.nl (Guy Soudant )
Date: Wed, 21 Feb 2001 07:52:59 +0100
Subject: [ic] Secure server problem
Hi All,
I run the 4.6.1 interchange server, and it all works fine. But when I try
to chech out using a secure server, I get a 404 Error. The secure
server itself works fine, and I can browse all folders on the secure
server (has been activated for test purposes). Note, however, that the
contents of the secure server arethe same as the regular server.
I did notice, however, that the IP addresses of the regular server and
the secure server are different, but since the hosting provider has
installed the application themselves on two different virtual servers
(two different IP's), it should work.
I read that it may be necessary to set some settings in the catalog.cfg
and/or the minivend.cfg (a file I cannot find; only minivend file I can
find is a "shortcut" to a interchange file), but I cannot find the
location where to change / add them.
Is there anyone who knows what I did wrong and how I can get this secure
server to work properly with Interchange. I simply cannot figure out why
I get this error. Help highly appreciated.
Thank you in advance
Guy Soudant
From: jon at akopia.com (Jon Jensen )
Date: Wed, 21 Feb 2001 00:51:28 -0600 (CST)
Subject: [ic] start/stop script
On Wed, 21 Feb 2001, Bob Puff@NLE wrote:
> I notice that in the Interchange RPM, it installs a start/stop script
> in /etc/rc.d/init.d, as well as symbolic links in the appropriate run
> levels folders. However, when I compiled the source (couldn't get the
> RPM to work right), I now have it working, but don't have that script.
> Where can I find it?
There isn't a standalone version of it. It's created during the RPM build
process from the file in SPECS/interchange.spec. I don't think you want to
deal with that.
The easiest thing would probably be to install the RPM, copy away the
script from /etc/rc.d/init.d/interchange to somewhere else, then uninstall
the RPM. Then you'd need to modify the script to work for wherever you
installed Interchange on your system.
Interchange runs on most any Unix, but such boot scripts are pretty
platform-specific, which is why we don't install something like that when
you do a custom install.
Jon
From: arii at rocketmail.com (Ari Indra )
Date: Wed, 21 Feb 2001 00:20:53 -0800 (PST)
Subject: [ic] (no subject)
Dear Friend:
"Making over half million dollars every 4 to 5 months from your home
for an investment of only $25 U.S. Dollars expense one time"
THANKS TO THE COMPUTER AGE AND THE INTERNET!
===============================================
BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!
Before you say, "Bull", please read the following. This is the letter
you have been hearing about on the news lately. Due to the popularity
of this letter on the Internet, a national weekly news
program recently devoted an entire show to the investigation of this
program described below, to see if it really can make people money.
The show also investigated whether or not the program was legal. Their
findings proved once and for all that there are "absolutely no laws
prohibiting the participation in the program and if
people can follow the simple instructions, they are bound to make some
mega bucks with only $25 out of pocket cost".
DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT
THIS PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING
BETTER THAN EVER.
This is what one had to say:
"Thanks to this profitable opportunity. I was approached many times
before but each time I passed on it. I am so glad I finally joined just
to see what one could expect in return for the minimal effort and money
required. To my astonishment, I received total $ 610,470.00 in 21
weeks, with money still
coming in".
Pam Hedland, Fort Lee, New Jersey.
-----------------------------------------------------------------
Here is another testimonial:
"This program has been around for a long time but I never
believed in it. But one day when I received this again in
the mail, I decided to gamble my $25 on it. I followed the
simple instructions and walaa... 3 weeks later the money
started to come in. First month I only made $240.00 but
the next 2 months after that I made a total of $290,000.00.
So far, in the past 8 months by re-entering the program, I
have made over $710,000.00 and I am playing it again.
The key to success in this program is to follow the simple
steps and NOT change anything."
More testimonials later but first,
****** PRINT THIS NOW FOR YOUR FUTURE REFERENCE *******
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
If you would like to make at least $500,000 every 4 to 5 months
easily and comfortably, please read the following...THEN READ
IT AGAIN and AGAIN!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR
FINANCIAL DREAMS WILL COME TRUE, GUARANTEED!
INSTRUCTIONS:
**** Order all five reports shown on the list below.
**** For each report, send $5 CASH, THE NAME & NUMBER OF THE
REPORT YOU ARE ORDERING and YOUR E-MAIL ADDRESS
to the person whose name appears ON THAT LIST next to the report.
MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE
TOP LEFT CORNER in case of any mail problems.
**** When you place your order, make sure you order each of the five
reports. You will need all five reports so that you can save them on
your computer and resell them. YOUR TOTAL COST $5 X 5 = $25.00.
**** Within a few days, you will receive, via e-mail, each of the
five reports from these five different individuals. Save them on your
computer so they will be accessible for you to send to the 1,000's of
people who will order them from you. Also, make a floppy of these
reports and keep it on your desk in case something happen to your
computer.
****. IMPORTANT - DO NOT alter the names of the people who are listed
next to each report, or their sequence on the list, in any way other
than what is instructed below in steps 1 through 6 or you will loose
out on majority of your profits. Once you understand the way this
works, you will also see how it does not work if you change it.
Remember, this method has been tested, and if you alter, it will NOT
work! People have tried to put their friends/relatives names on all
five thinking they could get all the money. But it does not work this
way. Believe us, we all have tried to be greedy and then nothing
happened.
So, Do not try to change anything other than what is instructed.
Because if you do, it will not work for you. Remember, honesty reaps
the reward!
1. After you have ordered all five reports, take this advertisement and
REMOVE the name & address of the person in REPORT # 5. This person has
made it through the cycle and is no doubt counting
their fortune.
2.... Move the name & address in REPORT # 4 down TO REPORT # 5.
3.... Move the name & address in REPORT # 3 down TO REPORT # 4.
4.... Move the name & address in REPORT # 2 down TO REPORT # 3.
5.... Move the name & address in REPORT # 1 down TO REPORT # 2
6.... Insert YOUR name & address in the REPORT # 1 Position.
PLEASE MAKE SURE you copy every name & address ACCURATELY !
=========================================================
Take this entire letter, with the modified list of names, and save it
on your computer. DO NOT MAKE ANY OTHER CHANGES. Save this on a disk as
well just in case if you loose any data.
To assist you with marketing your business on the internet, the 5
reports you purchase will provide you with invaluable marketing
information which includes how to send bulk e-mails
legally, where to find thousands of free classified ads and much more.
There are 2 Primary methods to get this venture going:
METHOD # 1: BY SENDING BULK E-MAIL LEGALLY
============================================
let's say that you decide to start small, just to see how it goes, and
we will assume You and those involved send out only 5,000 e-mails each.
Let's also assume that the mailing receive
only a 0.2% response (the response could be much better but lets just
say it is only 0.2%. Also many people will send out hundreds of
thousands e-mails instead of only 5,000 each).
Continuing with this example, you send out only 5,000 e-mails. With a
0.2% response, that is only 10 orders for report # 1. Those 10 people
responded by sending out 5,000 e-mail each for 50,000. Out of those
50,000 e-mails, only 0.2% responded with orders. That's = 100 people
responded and ordered Report # 2. Those 100 people mail out 5,000
e-mails each for 500,000 e-mails. The 0.2% response
to that are 1000 orders for Report # 3. Those 1000 people send out
5,000 e-mails each for 5 million e-mails sent out. The 0.2% response to
that are 10,000 orders for Report # 4. Those 10,000 people send out
5,000 e-mails each for a total of 50,000,000 (50 million) e-mails. The
0.2% response to that are
100,000 orders for Report # 5.
THAT'S 100,000 ORDERS TIMES $5 EACH = $500,000.00 (half million).
Your total income in this example is:
1... $50 +
2... $500 +
3... $5,000 +
4... $50,000 +
5... $500,000 ......... Grand Total = $555,550.00
NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE
OUT THE WORST POSSIBLE RESPONSES AND NO MATTER
HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF
MONEY!
-----------------------------------------------------------------
-------------
REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000
YOU MAILED TO. Dare to think for a moment what would happen if
everyone, or half or even one
fourth of those people mailed 100,000 e-mails each or more? There are
over 250 million people on the Internet worldwide and counting. Believe
me, many people will do just that, and more!
METHOD # 2 : BY PLACING FREE ADS ON THE INTERNET
===================================================
Advertising on the net is very very inexpensive and there are hundreds
of FREE places to advertise. Placing many free ads on the Internet will
easily get a larger response. We strongly suggest you start with Method
# 1 and add METHOD # 2 as you go along.
For every $5 you receive, all you must do is e-mail them the Report
they ordered. That's it. Always provide same day service on all orders.
This will guarantee that the e-mail they send out, with
your name and address on it, will be prompt because they can not
advertise until they receive the report.
_____________________ AVAILABLE REPORTS_____________________
ORDER EACH REPORT BY ITS NUMBER & NAME ONLY.
Notes: Always send $5 cash (U.S. CURRENCY) for each Report. Checks NOT
accepted. Make sure the cash is concealed by wrapping it in at least
two sheets of paper. On one of those sheets of
paper, write the NUMBER & the NAME of the Report you are ordering, YOUR
E-MAIL ADDRESS and your name and postal address. PLACE YOUR ORDER FOR
THESE REPORTS NOW:
==============================================
REPORT #1, "The Insider's Guide to Sending
Bulk E-mail on the Internet"
ORDER REPORT #1 FROM:
Ari Indra
Unit 10
9 Denbigh Road
Armadale
Victoria 3143
Australia
don't forget to provide a real e-mail address to receive the
reports
==============================================
REPORT #2 "The Insider's Guide to Advertising for Free on the
Internet"
ORDER REPORT #2 FROM:
Dave Wheeler
65 Hume Street
Crows Nest
NSW, 2065
Australia
==============================================
REPORT #3 "The Secrets to Multilevel Marketing on the Internet"
ORDER REPORT #3 FROM:
Les Turner
39 Danesford
Hollinswood
Telford
Shropshire
England
Tf3 2dy
==============================================
REPORT #4 "How to become a Millionaire utilizing the Power of
Multilevel Marketing and the Internet"
ORDER REPORT #4 FROM:
Tina East
26 Pardoners Tale Lane
Felton, DE 19943
==============================================
REPORT #5 "How to SEND 1,000,000 e-mails for FREE"
ORDER REPORT #5 FROM:
Mark Hamlin
627 Vale Cresent
Thunder Bay, Ontario
Canada P7C-2G2
==============================================
There are currently more than 250,000,000 people online
worldwide!
$$$$$$$$$ YOUR SUCCESS GUIDELINES $$$$$$$$$$$
Follow these guidelines to guarantee your success:
If you do not receive at least 10 orders for Report #1 within 2 weeks,
continue sending e-mails until you do. After you have received 10
orders, 2 to 3 weeks after that you should receive 100 orders or more
for REPORT # 2. If you did not, continue advertising or sending e-mails
until
you do. Once you have received 100 or more orders for Report # 2, YOU
CAN RELAX, because the system is already working for you, and the cash
will continue to roll in!
THIS IS IMPORTANT TO REMEMBER: Every time your name is moved down on
the list, you are placed in front of a different report. You can KEEP
TRACK of your PROGRESS by watching which
report people are ordering from you. IF YOU WANT TO GENERATE MORE
INCOME, SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS
AGAIN. There is NO LIMIT to
the income you can generate from this business!
____________________________________________________
FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS
PROGRAM:
You have just received information that can give you financial freedom
for the rest of your life, with NO RISK and JUST A LITTLE BIT OF
EFFORT. You can make more money in the next few weeks and months than
you have ever imagined.
Follow the program EXACTLY AS INSTRUCTED. Do not change it in any way.
It works exceedingly well as it is now. Remember to e-mail a copy of
this exciting report after you
have put your name and address in Report #1 and moved others to
#2...........# 5 as instructed above. One of the people you send
this to may send out 100,000 or more e-mails and your name will be on
every
one of them. Remember though, the more you send out the more potential
customers you will reach.
So my friend, I have given you the ideas, information, materials and
opportunity to become financially independent. IT IS UP TO YOU NOW !
************** MORE TESTIMONIALS ****************
"My name is Mitchell. My wife , Jody and I live in Chicago. I am an
accountant with a major U.S. Corporation and I make pretty good money.
When I received this program I grumbled to Jody about receiving ''junk
mail''. I made fun of the whole thing, spouting my knowledge of the
population and
percentages involved. I ''knew'' it wouldn't work. Jody totally ignored
my supposed intelligence and few days later she jumped in with both
feet. I made merciless fun of her, and was ready to
lay the old ''I told you so'' on her when the thing didn't work. Well,
the laugh was on me! Within 3 weeks she had received 50 responses.
Within the next 45 days she had received a total of $ 147,200.00 all
cash! I was shocked. I have joined Jody in her ''hobby''."
Mitchell Wolf,
Chicago, Illinois
------------------------------------------------------------
"Not being the gambling type, it took me several weeks to make up my
mind to participate in this plan. But conservative that I am, I decided
that the initial investment was so little that there was just no way
that I wouldn't get enough orders to at least get my money back.
I was surprised when I found my medium size post office box crammed
with orders. I made $319,210.00 in the first 12 weeks. The nice thing
about this deal is that it does not matter where people live. There
simply isn't a better investment with a faster return and so big."
Dan Sondstrom, Alberta,
Canada
-----------------------------------------------------------
"I had received this program before. I deleted it, but later I wondered
if I should have given it a try. Of course, I had no idea who to
contact to get another copy, so I had to wait until I was e-mailed
again by someone else.........11 months passed then it luckily came
again...... I did not delete this one! I made more than $490,000 on my
first try and all the money came within 22 weeks".
Susan De Suza,
New York, N.Y.
----------------------------------------------------
"It really is a great opportunity to make relatively easy money with
little cost to you. I followed the simple
instructions carefully and within 10 days the money started to come in.
My first month I made $ 20,560.00 and by the end of third month my
total cash count was $ 362,840.00. Life is beautiful, Thanx to
internet".
Fred Dellaca, Westport,
New Zealand
------------------------------------------------------------
ORDER YOUR REPORTS TODAY AND GET STARTED ON
YOUR ROAD TO FINANCIAL FREEDOM !
=======================================================
If you have any questions of the legality of this program, contact the
Office of Associate Director for Marketing Practices, Federal Trade
Commission, Bureau of Consumer Protection, Washington, D.C.
Under Bill s.1618 TITLE III passed by the 105th US Congress this
letter cannot be considered spam as long as the sender includes
contact information and a method of removal.
This is one time e-mail transmission. No request for removal is
necessary.
_____________________________________________________________
Keep Your IBC10 Business Professional --->
http://freemail.ibc10.com
Report SPAM ---> abuse@ibc10.com
Make Suggestions ---> suggestions@ibc10.com
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
From: racke at linuxia.de (Stefan Hornburg )
Date: 21 Feb 2001 09:29:29 +0100
Subject: [ic] Problem making my first catalog DOH!
"Sean P. Cover" <spcover@scarsdaletech.com> writes:
> Two things:
>
> 1) What is a "spanked install"? Sounds kinky.
>
> 2) Is there a file where I can tweak the @INC statement or is that
> impossible?
Set the environment variable PERL5LIB to the directories in
question.
bash:
export PERL5LIB=/home/racke/perl:/perl5
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
From: schurkmaster at yahoo.com (johny brabo )
Date: Wed, 21 Feb 2001 01:00:41 -0800 (PST)
Subject: [ic] password protection of categories
Hello,
a few days ago I posted a question on this, but I
still haven't figured it out on my own.
I would like to protect certain special product-groups
with a password. This way it would be possible for the
visitor to see all products in some categories. To see
other categories they would have to enter a password.
Reason for this is that I'm preparing a shop where
people can select certain items. Afterwords I put them
in a category of their own. They can then give access
to their category by sharing their login/password with
friends.
I hope this is clear, any help is apreciated.
thanks
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
From: rene at hertell.com (Rene Hertell )
Date: Wed, 21 Feb 2001 12:22:18 +0200
Subject: [ic] password protection of categories
What if you put a category-field in the userdb. Then use this field value
when limiting the product-db search-results.
Rene
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of johny
> brabo
> Sent: 21 February 2001 11:01
> To: interchange-users@lists.akopia.com
> Subject: [ic] password protection of categories
>
>
> Hello,
> a few days ago I posted a question on this, but I
> still haven't figured it out on my own.
>
> I would like to protect certain special product-groups
> with a password. This way it would be possible for the
> visitor to see all products in some categories. To see
> other categories they would have to enter a password.
>
> Reason for this is that I'm preparing a shop where
> people can select certain items. Afterwords I put them
> in a category of their own. They can then give access
> to their category by sharing their login/password with
> friends.
>
> I hope this is clear, any help is apreciated.
> thanks
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: tamas.kohegyi at unforgettable.com (tamas.kohegyi at unforgettable.com )
Date: Wed, 21 Feb 2001 13:20:12 +0200
Subject: [ic] New Account problem
Hi,
I have some problem with the new account action. (Interchange 4.6.3)
I created a new catalog, then modified the catalog.cfg to encrypt passwords at the userdb. (userdb recreated)
When I ceate a new account, interchange creates it but it is not able to log in and the following error message appears:
Cannot log in after new account creation: Password mismatch.
What could be the problem? How to search/solve it? The new account actually ceated, because after this I can log in
normally.
Thanks,
Tamas
From: schurkmaster at yahoo.com (johny brabo )
Date: Wed, 21 Feb 2001 04:45:47 -0800 (PST)
Subject: [ic] password protection of categories
This seems a nice suggestion, thanks.
But problem here is that this would only translate the
problem. I could show the category only to users that
have the required field in their userdb, but then I
have to figure out a way to password-protect them from
adding this field.
Any user should be able to get access if they have the
password. So I think I need a way to check if a user
has allready entered a password, and otherwise serve a
login-form if they click the category. Note that I'm
not talking about the user's login name/password.
thanks.
----- Original Message -----
From: Rene Hertell <rene@hertell.com>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 21, 2001 11:22 AM
Subject: RE: [ic] password protection of categories
> What if you put a category-field in the userdb. Then
use this field value
> when limiting the product-db search-results.
>
> Rene
>
> > -----Original Message-----
> > From: interchange-users-admin@lists.akopia.com
> >
[mailto:interchange-users-admin@lists.akopia.com]On
Behalf Of johny
> > brabo
> > Sent: 21 February 2001 11:01
> > To: interchange-users@lists.akopia.com
> > Subject: [ic] password protection of categories
> >
> >
> > Hello,
> > a few days ago I posted a question on this, but I
> > still haven't figured it out on my own.
> >
> > I would like to protect certain special
product-groups
> > with a password. This way it would be possible for
the
> > visitor to see all products in some categories. To
see
> > other categories they would have to enter a
password.
> >
> > Reason for this is that I'm preparing a shop where
> > people can select certain items. Afterwords I put
them
> > in a category of their own. They can then give
access
> > to their category by sharing their login/password
with
> > friends.
> >
> > I hope this is clear, any help is apreciated.
> > thanks
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Auctions - Buy the things you want at great
prices!
> http://auctions.yahoo.com/
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
>
http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
From: billjenkins at hotmail.com (Bill Jenkins )
Date: Wed, 21 Feb 2001 13:20:57
Subject: [ic] You need either GDBM_File or DB_File
You need either GDBM_File or DB_File for Interchange to work as documented,
is the error I get. Now I know it says, as documented, but I have looked
through the installation guides and have not found this.
This is what my server says I have.
Database Interfaces GDBM available (v1.00)
Berkeley DB_File available (v1.65)
DBI enabled (v1.14), available drivers:
ADO
ExampleP
Multiplex
Proxy
I also have MySQL but it doesn't show up. can someone please help?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: josh at bluebonnet.net (Joshua Scott )
Date: Wed, 21 Feb 2001 07:26:37 -0600
Subject: [ic] Item Picture on search results page.
Thanks guys, I had figured this out, but the problem was when I mad the
changes the shopping cart disappeared, although the items were being saved.
I thought the problems were related, but I added pictures on another cart..
no problem. In other words, I thought that adding the pictures was the
problem with the dissapearing cart, but I was wrong. I always try to keep my
questions focused to one subject, it just turned out that I focused on the
wrong subject. :-) Thanks for all of the help.
Josh
From: jsaura at eon.es (Julio Saura )
Date: Wed, 21 Feb 2001 16:05:30 +0100
Subject: [ic] You need either GDBM_File or DB_File
hello..
i have the same error... i have my akopia on a solaris... i have already
posted that error to the list.. but i have no answer for a month... and i
have gdmb support installed on my system installed through CPAN.
please in case you solve the problem or anyone tells you how to solve it..
please.. contact me..
:)
thanks in advance...
-----Mensaje original-----
De: Bill Jenkins [mailto:billjenkins@hotmail.com]
Enviado el: miércoles, 21 de febrero de 2001 14:21
Para: interchange-users@lists.akopia.com
Asunto: [ic] You need either GDBM_File or DB_File
You need either GDBM_File or DB_File for Interchange to work as documented,
is the error I get. Now I know it says, as documented, but I have looked
through the installation guides and have not found this.
This is what my server says I have.
Database Interfaces GDBM available (v1.00)
Berkeley DB_File available (v1.65)
DBI enabled (v1.14), available drivers:
ADO
ExampleP
Multiplex
Proxy
I also have MySQL but it doesn't show up. can someone please help?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Wed, 21 Feb 2001 16:09:31
Subject: [ic] Images do not appear whith SSL.
Hello,
I installed Stronghold ssl in my server but when I put HTTPS in
secure_server in catalog.cfg all images not not appear when I access a
secure page.
Why is this happeing? When i took out the "s" from https everything start to
work again. All imagens appear.
I have checked all symbolic links but it still not working.
Please any help will be very good.
thank you in advance,
Marcelo F. De Paula
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Wed, 21 Feb 2001 08:27:43 -0800
Subject: [ic] Images do not appear whith SSL.
Marcelo,
Right click on an image that is not showing up and copy the path into a new
browser, does it show up in there? If not then this can be a combination of
two problems one being that the symbolic links are in fact not correct, or
that you need a directive called ImageDirSecure. This allows you to have a
different image head path for the secure server. Please post the info from
your config that shows the following:
Server URL
Secure Server URL
Full path to the images for Server
Full path to the images for Secure Server
-Ron
----- Original Message -----
From: "Marcelo F. De Paula" <tintones@hotmail.com>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 21, 2001 4:09 PM
Subject: [ic] Images do not appear whith SSL.
> Hello,
>
> I installed Stronghold ssl in my server but when I put HTTPS in
> secure_server in catalog.cfg all images not not appear when I access a
> secure page.
>
> Why is this happeing? When i took out the "s" from https everything start
to
> work again. All imagens appear.
>
> I have checked all symbolic links but it still not working.
>
> Please any help will be very good.
>
> thank you in advance,
>
> Marcelo F. De Paula
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: rapier at psc.edu (Chris Rapier )
Date: Wed, 21 Feb 2001 12:14:42 -0500
Subject: [ic] Images do not appear whith SSL.
"Marcelo F. De Paula" wrote:
>
> Hello,
>
> I installed Stronghold ssl in my server but when I put HTTPS in
> secure_server in catalog.cfg all images not not appear when I access a
> secure page.
>
> Why is this happeing? When i took out the "s" from https everything start to
> work again. All imagens appear.
>
> I have checked all symbolic links but it still not working.
Keep in mind that https://foo and http://foo are different servers. You
mentioned you have the symbolic link set up properly but perhaps you can
test it some more. You should also make sure that you have Options
FollowSymlinks enabled. Otherwise you'll be dead in the water.
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 21 Feb 2001 12:15:42 -0500
Subject: [ic] You need either GDBM_File or DB_File
Quoting Julio Saura (jsaura@eon.es):
> hello..
>
> i have the same error... i have my akopia on a solaris... i have already
> posted that error to the list.. but i have no answer for a month... and i
> have gdmb support installed on my system installed through CPAN.
You can't install GDBM via CPAN, it has to be compiled into Perl. 8-)
The very latest versions of Interchange have SDBM support, so it may
work to some extent of you move your access and locale tables to MySQL.
But the bottom line is you have to recompile Perl to have GDBM, which
must be installed before you compile the Perl. Once that is done,
the message will go away.
This is as much a system administration issue as an Interchange
issue, and I suggest you enlist your admin's help to build a new
Perl with GDBM.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Clothes make the man. Naked people have little or no influence on
society. -- Mark Twain
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Wed, 21 Feb 2001 12:17:24 -0500
Subject: [ic] Images do not appear whith SSL.
I posted a message last week of which is somewhat related, and still not resolved.
I have the URL and directories correct for my secure server. When a user goes to checkout, he gets to the secure server. Everything looks ok, but the basket has suddenly become empty. If I go back to the http: (non-secure) page, the basket contents re-appear.
How can I fix this? This is the 4.6.3 version.
Bob
From: jsaura at eon.es (Julio Saura )
Date: Wed, 21 Feb 2001 18:24:27 +0100
Subject: [ic] You need either GDBM_File or DB_File
thank you very much...
i note it down..
regards
-----Mensaje original-----
De: Mike Heins [mailto:mikeh@minivend.com]
Enviado el: miércoles, 21 de febrero de 2001 18:16
Para: interchange-users@lists.akopia.com
Asunto: Re: [ic] You need either GDBM_File or DB_File
Quoting Julio Saura (jsaura@eon.es):
> hello..
>
> i have the same error... i have my akopia on a solaris... i have already
> posted that error to the list.. but i have no answer for a month... and i
> have gdmb support installed on my system installed through CPAN.
You can't install GDBM via CPAN, it has to be compiled into Perl. 8-)
The very latest versions of Interchange have SDBM support, so it may
work to some extent of you move your access and locale tables to MySQL.
But the bottom line is you have to recompile Perl to have GDBM, which
must be installed before you compile the Perl. Once that is done,
the message will go away.
This is as much a system administration issue as an Interchange
issue, and I suggest you enlist your admin's help to build a new
Perl with GDBM.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Clothes make the man. Naked people have little or no influence on
society. -- Mark Twain
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Wed, 21 Feb 2001 09:32:56 -0800
Subject: [ic] Images do not appear whith SSL.
Investiagte the directives called CookieDomain, IpQuad, IpHead,
SessionExpire, and
Domaintail. You use CookieDomain with two domains to tell IC which domains
to store info in the same cookie. The other directives should only be used
if CookieDomain does not fix your problem. A search for 'drop cart ssl' on
the mail list will also turn up many requests and answers for this very same
problem.
-Ron
----- Original Message -----
From: "Bob Puff@NLE" <bob@nleaudio.com>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 21, 2001 9:17 AM
Subject: Re: [ic] Images do not appear whith SSL.
> I posted a message last week of which is somewhat related, and still not
resolved.
>
> I have the URL and directories correct for my secure server. When a user
goes to checkout, he gets to the secure server. Everything looks ok, but
the basket has suddenly become empty. If I go back to the http:
(non-secure) page, the basket contents re-appear.
>
> How can I fix this? This is the 4.6.3 version.
>
> Bob
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 21 Feb 2001 12:52:51 -0500
Subject: [ic] New Account problem
Quoting tamas.kohegyi@unforgettable.com (tamas.kohegyi@unforgettable.com):
> Hi,
>
> I have some problem with the new account action. (Interchange 4.6.3) I
> created a new catalog, then modified the catalog.cfg to encrypt passwords at
> the userdb. (userdb recreated)
>
>
> When I ceate a new account, interchange creates it but it is not able to log
> in and the following error message appears:
>
> Cannot log in after new account creation: Password mismatch.
>
> What could be the problem? How to search/solve it? The new account actually
> ceated, because after this I can log in normally.
Bug. It is updated in stable and dev CVS, or you can apply this patch:
RCS file: /anon_cvs/repository/interchange/lib/Vend/UserDB.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -r1.15 -r1.16
3c3
< # $Id: UserDB.pm,v 1.15 2000/11/28 19:27:10 zarko Exp $
---
> # $Id: UserDB.pm,v 1.16 2001/02/21 17:51:19 heins Exp $
11c11
< $VERSION = substr(q$Revision: 1.15 $, 10);
---
> $VERSION = substr(q$Revision: 1.16 $, 10);
1076c1076
< $self->{PASSWORD} = crypt(
---
> $pw = crypt(
1100c1100
< $self->{PASSWORD}
---
> $pw,
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: rsmith at crepsunited.com (Robert Smith )
Date: Wed, 21 Feb 2001 13:13:24 -0500
Subject: [ic] Admin login w/out password?!?!!?
Hey all,
For some odd reason my catalog admin page allows users to enter JUST
THEIR USERNAME and no password, and they can enter the system...this is
bad...(of course) :-) I've searched the archives for a solution, but got
nothing... Any ideas?
Stats:
* Interchange v4.6.1
* PostgreSQL v7.0.3
* Debian 2.2
Thanks for any input,
Robert Smith
From: joachim.richter at usvideocenter.de (joachim.richter )
Date: Wed, 21 Feb 2001 19:11:48 +0100
Subject: [ic] breaking down in tears
UserDB default scratch dealer
Autoload <<EOR
[perl]
if($Scratch->{dealer}) {
$Config->{PriceField} = 'no_price';
}
[/perl]
Hello everybody,
i have inserted 3 new price fields in the userdb.txt called price2/price3/price4
our dealers have 3 different pricegroups (preisstaffel - field in the userdb.txt containing either 2,3,4)
I would like to change the config.txt in such a way that it would change automatically the PriceField
according to the pricegroup(preisstaffel) in the userdb.txt [price2 --> pricegroup2 ... price3--> pricegroup....]
thing is i do not know a great deal about pearl and i am basically breaking down in tears since I tried for the last 4 hours
and i just cant get it. can somebody please help me
regards joe-
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart
Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de
From: joachim.richter at usvideocenter.de (joachim.richter )
Date: Wed, 21 Feb 2001 19:26:01 +0100
Subject: [ic] Fwd: breaking down in tears -sorry little mistake
Sorry little mistake
UserDB default scratch dealer
Autoload <<EOR
[perl]
if($Scratch->{dealer}) {
$Config->{PriceField} = 'no_price';
}
[/perl]
EOR
Hello everybody,
i have inserted 3 new price fields in the products.txt called
price2/price3/price4
our dealers have 3 different pricegroups (preisstaffel - field in the
userdb.txt containing either 2,3,4)
I would like to change the config.txt in such a way that it would change
automatically the PriceField
according to the pricegroup(preisstaffel) in the userdb.txt [price2 -->
pricegroup2 ... price3--> pricegroup....]
thing is i do not know a great deal about pearl and i am basically
breaking down in tears since I tried for the last 4 hours
and i just cant get it. can somebody please help me
regards joe
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart
Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de
From: edl at newmediaems.com (Ed LaFrance )
Date: Wed, 21 Feb 2001 10:27:27 -0800
Subject: [ic] breaking down in tears
At 07:11 PM 02/21/2001 +0100, you wrote:
>UserDB default scratch dealer
>
>Autoload <<EOR
>[perl]
> if($Scratch->{dealer}) {
> $Config->{PriceField} = 'no_price';
> }
>[/perl]
>
>
>Hello everybody,
>i have inserted 3 new price fields in the userdb.txt called
>price2/price3/price4
>our dealers have 3 different pricegroups (preisstaffel - field in the
>userdb.txt containing either 2,3,4)
>
>I would like to change the config.txt in such a way that it would change
>automatically the PriceField
>according to the pricegroup(preisstaffel) in the userdb.txt [price2 -->
>pricegroup2 ... price3--> pricegroup....]
>
>thing is i do not know a great deal about pearl and i am basically
>breaking down in tears since I tried for the last 4 hours
>and i just cant get it. can somebody please help me
What you need is three price fields in products.txt - lets call them
price2, price3, price4. Then you need a price selection field for the
dealer in userdb.txt - lets call this pricefield. It would contain the
full name of the price field to use for that dealer (price2, price3 or price4).
Then you can do this:
Autoload <<EOR
[perl]
if($Scratch->{dealer}) {
$Config->{PriceField} = $Values->{pricefield};
}
[/perl]
...if you need to do anything more complicated, use CommonAdjust.
- Ed L.
>regards joe-
>US Video Center Medien GmbH
>Heimsheimer Str 22
>70499 Stuttgart
>
>Tel 0711 880252 0
>Fax 0711 880252 22
>Email joachim.richter@usvideocenter.de
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: valankar at nmo.net (Lord Valanankar )
Date: Wed, 21 Feb 2001 15:08:08 -0500
Subject: [ic] Search box perversion
Hi Everyone.
I'm just getting started setting up interchange 4.6.3 and I have been
going through the catalog building tutorial and I've gotten myself
stumped. Everything seems to work just fine with the exception of the
search box (13.6) For what ever reason when I enter in any kind of
description or an sku the search results always returns nothing found.
The error logs are populated with the following lines indicating that
their is a missing file, namely products.asc A search through the mail
archive brings up many mentions of a file with this extension, most of
which seems to indicate that this file is created by the daemon when a
search by a visitor is performed, but little other information.
Hopefully this with be a Doh question but what am I going wrong? Do I
need to create this file? (The gdbm file is being generated by the
daemon.)
***START ERRORLOG SNIP***
199.1.0.164 zi3U2Dr8:199.1.0.164 - [20/February/2001:15:44:20 -0500]
tutorial /cgi-bin/tutorial/search Couldn't open search file
'/var/lib/interchange/tutorial/products/products.asc': No such file or
directory
***END ERRORLOG SNIP***
I find this strange because their is no mention of this file in the
tutorial. Following is a direct snip of the 'left' file the only thing
that differs from the tutorial is I added sf=longdescript part which is
a real field in the text database.
***BEGIN LEFT***
<tr>
<td align=center>__DISPLAYDATE__</td>
<td align=center>
<form action="[area search]" method=post>
Search:<br>
[set
testname]su=yes/fi=products/sf=sku/sf=description/sf=longdescript[/set]
<input type=hidden name=mv_profile value=testname>
<input type=text name=mv_searchspec size=15 value="">
</form>
<hr>
__DISPLAYDATE__
</td>
<td align=center>
***END LEFT***
The results.html file in the pages directory is below, thou I doubt it
has anything to do with the trouble.
***BEGIN RESULTS.HTML***
[include top]
[include left]
<h1>Dwagon Search Results</h1>
[search-region]
[on-match]
<table cellpadding=5>
<tr>
<th>Test #</th>
<th>Description</th>
<th>Price</th>
</tr>
[/on-match]
[search-list]
<tr>
<td>[item-code]</td>
<td><a href="[item-code].html">[item-field description]</a></td>
<td align=right>[currency][item-field price][/currency]</td>
<td>[order [item-code]]Order Now![/order]</td>
</tr>
[/search-list]
[on-match]
</table>
[/on-match]
[no-match]
<p>Sorry, Dwagons couldn't find any match for '[cgi
mv_searchspec]'.</p>
[/no-match]
[/search-region]
<hr>
<p align=center>Return to the [page index]home[/page] page.</p>
<p align=center>View your [page order]shopping[/page] cart.</p>
[include bottom]
***END RESULTS.HTML
The last bit of info is about my system - RH 7.0 - the Perl modules
were hand compiled and installed and their were no detectable errors on
install. I used the latest rpm.
Thanks in advance, and remember: If life didn't suck we would all fly
off the earth };8>
From: rapier at psc.edu (Chris Rapier )
Date: Wed, 21 Feb 2001 16:01:37 -0500
Subject: [ic] password protection of categories
johny brabo wrote:
>
> This seems a nice suggestion, thanks.
>
> But problem here is that this would only translate the
> problem. I could show the category only to users that
> have the required field in their userdb, but then I
> have to figure out a way to password-protect them from
> adding this field.
>
> Any user should be able to get access if they have the
> password. So I think I need a way to check if a user
> has allready entered a password, and otherwise serve a
> login-form if they click the category. Note that I'm
> not talking about the user's login name/password.
How about this...
You have users pick items that go into their own special catalog. You
can do this by extending the user database to include product number
specific to that user or create a new table keyed on the user name which
contains catalog information. Now, when the user logs in with their
password (you can check this easily - in mv it was mv_login I'm guessing
its ic_login now if its true then do this if not bounce them to a login
page) it reads this table and builds a catalog specifically from those
items. Anything you can do in the main catalog you'd be able to do in
this one. Its pretty easy actually once you start using fields from the
user catalog as keys in the main product catalog.
People wouldn't be able to view this user catalog without knowing the
proper login name and password which would thus protect it. Whats even
cooler is that if the row keyed on the user name is defined in the user
catalog datebase then it will display products. If not then it will
display account information (address, billing, past orders and so forth)
or some such thing like that. That way people can create a public
catalog and a private account. You can also make it so that they can't
create a public catalog without filling in all of the necessary account
information by burying that process in the private account page.
I hope some of this makes sense. I'm being a little disjointed with my
descriptions.
I've actually implemented a lot of this stuff in minivend. It not a
difficult task once you really wrap your head around the way you
actually access tables. You'll need to drop into perl for some of this
but nothing major.
Good luck.
From: mheins at redhat.com (Mike Heins )
Date: Wed, 21 Feb 2001 16:09:34 -0500
Subject: [ic] password protection of categories
Quoting johny brabo (schurkmaster@yahoo.com):
> This seems a nice suggestion, thanks.
>
> But problem here is that this would only translate the
> problem. I could show the category only to users that
> have the required field in their userdb, but then I
> have to figure out a way to password-protect them from
> adding this field.
>
> Any user should be able to get access if they have the
> password. So I think I need a way to check if a user
> has allready entered a password, and otherwise serve a
> login-form if they click the category. Note that I'm
> not talking about the user's login name/password.
>
That is what this is for (in catalog.cfg):
UserDB default scratch "dealer category price_level"
When the user logs in, these userdb values are transferred to the Scratch
space, not the Values space. The user cannot touch this. So you just
test on $Scratch->{category} or [if scratch category =~ /something/].
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Unix version of an Outlook-style virus:
It works on the honor system. Please forward this message to everyone
you know, and delete a bunch of your files at random.
From: rene at hertell.com (Rene Hertell )
Date: Thu, 22 Feb 2001 00:30:22 +0200
Subject: [ic] Admin login w/out password?!?!!?
I remember that someone had that problem with minivend, and it showed up to
be a screwed-up userdb. I think that there was a empty username or something
like that in the userdb.txt...
René
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Robert
> Smith
> Sent: 21 February 2001 20:13
> To: interchange-users@lists.akopia.com
> Subject: [ic] Admin login w/out password?!?!!?
>
>
> Hey all,
>
> For some odd reason my catalog admin page allows users to enter JUST
> THEIR USERNAME and no password, and they can enter the system...this is
> bad...(of course) :-) I've searched the archives for a solution, but got
> nothing... Any ideas?
>
> Stats:
> * Interchange v4.6.1
> * PostgreSQL v7.0.3
> * Debian 2.2
>
> Thanks for any input,
> Robert Smith
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Thu, 22 Feb 2001 09:27:36 +0800
Subject: [ic] You need either GDBM_File or DB_File
just to make sure it's working, try writing a program in perl that uses
those modules. might find out they're not installed properly at all. might
be something like some weird bug with the module install defaults and
solaris...
----- Original Message -----
From: "Julio Saura" <jsaura@eon.es>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 21, 2001 11:05 PM
Subject: RE: [ic] You need either GDBM_File or DB_File
> hello..
>
> i have the same error... i have my akopia on a solaris... i have already
> posted that error to the list.. but i have no answer for a month... and i
> have gdmb support installed on my system installed through CPAN.
>
>
> please in case you solve the problem or anyone tells you how to solve it..
> please.. contact me..
>
> :)
> thanks in advance...
>
> -----Mensaje original-----
> De: Bill Jenkins [mailto:billjenkins@hotmail.com]
> Enviado el: miércoles, 21 de febrero de 2001 14:21
> Para: interchange-users@lists.akopia.com
> Asunto: [ic] You need either GDBM_File or DB_File
>
>
> You need either GDBM_File or DB_File for Interchange to work as
documented,
> is the error I get. Now I know it says, as documented, but I have looked
> through the installation guides and have not found this.
>
> This is what my server says I have.
>
> Database Interfaces GDBM available (v1.00)
> Berkeley DB_File available (v1.65)
> DBI enabled (v1.14), available drivers:
>
> ADO
> ExampleP
> Multiplex
> Proxy
>
> I also have MySQL but it doesn't show up. can someone please help?
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: rhertz at gyb.baits.com (Ryan Hertz )
Date: Wed, 21 Feb 2001 18:33:13 -0700
Subject: [ic] Search box perversion
>
> The error logs are populated with the following lines indicating that
>their is a missing file, namely products.asc A search through the mail
>archive brings up many mentions of a file with this extension, most of
>which seems to indicate that this file is created by the daemon when a
>search by a visitor is performed, but little other information.
Perhaps yours is named products.txt? Check your catalog.cfg to see where
it expects your products to be.
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: parentjp at videotron.ca (Jean-Pierre Parent )
Date: Wed, 21 Feb 2001 21:46:25 -0500
Subject: [ic] Payflow Pro doc/help
Hi everyone,
I'd like to have some information on setting up Payflow Pro. I can't seem to
find any doc on that subject. Could someone point me in the right direction?
Perhaps a simple list of the steps involved too could help.
Thanks in advance...
Jean-Pierre Parent
From: morgan at adscience.com (Morgan Collins )
Date: Wed, 21 Feb 2001 19:06:23 -0800
Subject: [ic] Cybercash: mckencrypt runaway process
Hello,
We are running Interchange 4.6.x with cybercash 3.2 verification, as soon
as an order submits the process mckencrypt pops up, using 99% CPU, and never
goes away. Has anyone else seen this error?
Better yet, is there a solution?
Thanks for any help you can provide. Ours, like a lot of other stores, is
live. :-)
----
Morgan Collins
Production Director
AdScience, Malibu, California
310.317.0231 x102 / 310.317.0259 fax
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Thu, 22 Feb 2001 11:14:18 +0800
Subject: [ic] Camtech gateway in Australia.
Anyone had any experience integrating IC and the Camtech ecommerce gateway
they sell here in Australia? I'm sure it wont be too hard, you can connect
via perl + tcp socket, i'm just wondering if anyone has done it before :)
From: joeybiz at intenseinfo.com (Joseff Wishnoff )
Date: Wed, 21 Feb 2001 22:06:47 -0600
Subject: [ic] Virtual Hosting
My ISP writes:
We need to know what has to be done for the software to work in a virtual
hosting environment
Joe
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Thu, 22 Feb 2001 01:16:10 -0500
Subject: [ic] Catalog building tutorial - searching
Hello,
I just built the "tutorial" catalog documented in the tutorial. The sucker seems to work, except the searching function never returns anything, even on valid material. What am I missing?
Bob
From: ven at pragakhan.com (Victor Nolton )
Date: Thu, 22 Feb 2001 03:52:39 -0500
Subject: [ic] Virtual Hosting
Install it
>My ISP writes:
>
>We need to know what has to be done for the software to work in a virtual
>hosting environment
>
>Joe
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: alex at integricity.com (Alex Lam )
Date: Thu, 22 Feb 2001 17:05:22 +0800
Subject: [ic] Multiple size/pricing examples?
Hi,
I have been trolling through the lists for a good and complete example of
how to implement a solution for multiple sizes with different prices. Most
of the examples are not complete.
I am trying to have multiple items/prices for say if I am selling a
Cassette, I would have a dropdown box with an option for the CD version at
a different price and perhaps the DVD version at another price.
Another good example would be trying different prices for different sized
Shirts. I konw there are many examples out there, but no complete ones,
and for a newbie like me, it's hard trying to piece together the comments
from so many people.
Would appreciate if someone can point me to some example
code/implementation of it.
Thanks,
Alex
From: ven at pragakhan.com (Victor Nolton )
Date: Thu, 22 Feb 2001 04:03:31 -0500
Subject: [ic] Virtual Hosting
Whoops.
You need to install interchange. and pretty much run makecat per catalog..
It's not too difficult :)
Ven
>My ISP writes:
>
>We need to know what has to be done for the software to work in a virtual
>hosting environment
>
>Joe
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: jiapeiliang at web.de (Jia Pei Liang )
Date: Thu, 22 Feb 2001 11:20:48 +0100
Subject: [ic] Problem with ./configure
This is a MIME encoded message.
--STEFAN3a94e8006d64
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hallo,
I have Problem with Installation of Interchange-4.6.1, the instruction ./configure cannot run properly, the message
"could not lock file" always comes.
The error file is attached.
Jia Pei Liang
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de
--STEFAN3a94e8006d64
Content-Type: application/x-unknown-content-type-log_auto_file; name="test.log"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="test.log"
Content-MD5: Y5omHttAbd3KRzcgzjcAaQ==
UEVSTF9ETF9OT05MQVpZPTEgL3Vzci9sb2NhbC9iaW4vcGVybCAtSWJsaWIvYXJjaCAtSWJs
aWIvbGliIC1JL3Vzci9saWIvcGVybDUvNS42LjAvaTU4Ni1saW51eCAtSS91c3IvbGliL3Bl
cmw1LzUuNi4wIHRlc3QucGwKc2VydmVyL3VuaXhtb2RlLi4uLi4uLm9rIDEKc2VydmVyL3N0
YXJ0dXAuLi4uLi4uLm9rIDIKbGluay91bml4bW9kZS4uLi4uLi4uLm9rIDMKc2VydmVyL2lu
ZXRtb2RlLi4uLi4uLkludGVyY2hhbmdlIHZlcnNpb24gNC42LjEgQ29weXJpZ2h0IDE5OTYt
MjAwMCBBa29waWEsIEluYy4KCkludGVyY2hhbmdlIGNvbWVzIHdpdGggQUJTT0xVVEVMWSBO
TyBXQVJSQU5UWS4gIFRoaXMgaXMgZnJlZSBzb2Z0d2FyZSwgYW5kCnlvdSBhcmUgd2VsY29t
ZSB0byByZWRpc3RyaWJ1dGUgYW5kIG1vZGlmeSBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhl
CkdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlLgoKQ29tbWFuZCBsaW5lIG9wdGlvbnMgKGZp
cnN0IGxldHRlciB3aWxsIHVzdWFsbHkgd29yayk6CgogICAgIC0tYWRkPWNhdGFsb2cgICAg
ICAgICByZW1vdmUgYSBjYXRhbG9nIGZyb20gb3BlcmF0aW9uLCBwYXJtcyB0YWtlbgogICAg
ICAgICAgICAgICAgICAgICAgICAgICBmcm9tIHRoZSBzdGFuZGFyZCBpbnB1dAogICAgIC1i
IGNhdGFsb2cKICAgICAgICAtLWJ1aWxkPWNhdGFsb2cgICAgYnVpbGQgc3RhdGljIHBhZ2Ug
dHJlZSBmb3IgY2F0YWxvZwogICAgIC1kIGRpciwgLS1kaXI9ZGlyICAgICBkaXJlY3Rvcnkg
Zm9yIFZlbmRSb290IChpbnRlcmNoYW5nZS5jZmcsIGVycm9yLmxvZywgZXRjLikKICAgICAt
ZSBuYW1lLAogICAgICAgIC0tZXhjbHVkZT1uYW1lICAgICBleGNsdWRlIGNhdGFsb2cKICAg
ICAtZiBmaWxlLAogICAgICAgIC0tY29uZmlnPWZpbGUgICAgICBjb25maWd1cmF0aW9uIGZp
bGUgKGRlZmF1bHQgaW50ZXJjaGFuZ2UuY2ZnKQogICAgIC0tZmlsZXMgc3BlYyAgICAgICAg
ICBmaWxlc3BlYyAocGVybCByZWdleHAgT0spIGZvciBzdGF0aWMgcGFnZSB0cmVlCiAgICAg
LWgsIC0taGVscCAgICAgICAgICAgIGRpc3BsYXkgdGhpcyBtZXNzYWdlCiAgICAgLWksIC0t
aW5ldG1vZGUgICAgICAgIHJ1biB3aXRoIEludGVybmV0LWRvbWFpbiBzb2NrZXQgKFRDUCkK
ICAgICAtLWtpbGwgW3NpZ25hbF0gICAgICAga2lsbCBzZXJ2ZXIgdW5ncmFjZWZ1bGx5ICg5
IG9yIHdpdGggb3B0aW9uYWwgc2lnbmFsKQogICAgIC1xLCAtLXF1aWV0ICAgICAgICAgICBz
dXBwcmVzcyBpbmZvcm1hdGlvbmFsIG1lc3NhZ2VzIG9uIHN0YXJ0dXAKICAgICAtLXJlY29u
ZmlnPWNhdGFsb2cgICAgcmVjb25maWcgYSBwYXJ0aWN1bGFyIGNhdGFsb2cgb24gdGhlIHNl
cnZlcgogICAgIC0tcmVtb3ZlPWNhdGFsb2cgICAgICByZW1vdmUgYSBjYXRhbG9nIGZyb20g
b3BlcmF0aW9uCiAgICAgLS1yZXN0YXJ0ICAgICAgICAgICAgIHJlc3RhcnQgc2VydmVyCiAg
ICAgLS1zZXJ2ZSAgICAgICAgICAgICAgIHN0YXJ0IHNlcnZlciAoZGVmYXVsdCkgKC1zdGFy
dCBpcyBhbGlhcykKICAgICAtLXN0b3AgICAgICAgICAgICAgICAgc3RvcCBzZXJ2ZXIgZ3Jh
Y2VmdWxseQogICAgIC10LCAtLXRlc3QgICAgICAgICAgICByZXBvcnQgcHJvYmxlbXMgd2l0
aCBjb25maWcgZmlsZXMKICAgICAtdSwgLS11bml4ICAgICAgICAgICAgcnVuIHdpdGggVU5J
WC1kb21haW4gc29ja2V0CiAgICAgLXYsIC0tdmVyc2lvbiAgICAgICAgIGRpc3BsYXkgcHJv
Z3JhbSB2ZXJzaW9uCiAgICAgLUQsIC0tREVCVUcgICAgICAgICAgIHJ1biBmb3JlZ3JvdW5k
IGluIGRlYnVnIG1vZGUKb2sgNApsaW5rL2luZXRtb2RlLi4uLi4uLi4ubm90IG9rIDUKc2Vy
dmVyL2NvbnRyb2wuLi4uLi4uLkludGVyY2hhbmdlIHZlcnNpb24gNC42LjEgQ29weXJpZ2h0
IDE5OTYtMjAwMCBBa29waWEsIEluYy4KCkNvdWxkIG5vdCBsb2NrIGZpbGU6IERpZSBSZXNz
b3VyY2UgaXN0IHp1ciBaZWl0IG5pY2h0IHZlcmb8Z2JhcgpDb3VsZCBub3QgbG9jayBmaWxl
OiBEaWUgUmVzc291cmNlIGlzdCB6dXIgWmVpdCBuaWNodCB2ZXJm/GdiYXIKCkludGVyY2hh
bmdlIGNvbWVzIHdpdGggQUJTT0xVVEVMWSBOTyBXQVJSQU5UWS4gIFRoaXMgaXMgZnJlZSBz
b2Z0d2FyZSwgYW5kCnlvdSBhcmUgd2VsY29tZSB0byByZWRpc3RyaWJ1dGUgYW5kIG1vZGlm
eSBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlCkdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNl
LgoKQ29tbWFuZCBsaW5lIG9wdGlvbnMgKGZpcnN0IGxldHRlciB3aWxsIHVzdWFsbHkgd29y
ayk6CgogICAgIC0tYWRkPWNhdGFsb2cgICAgICAgICByZW1vdmUgYSBjYXRhbG9nIGZyb20g
b3BlcmF0aW9uLCBwYXJtcyB0YWtlbgogICAgICAgICAgICAgICAgICAgICAgICAgICBmcm9t
IHRoZSBzdGFuZGFyZCBpbnB1dAogICAgIC1iIGNhdGFsb2cKICAgICAgICAtLWJ1aWxkPWNh
dGFsb2cgICAgYnVpbGQgc3RhdGljIHBhZ2UgdHJlZSBmb3IgY2F0YWxvZwogICAgIC1kIGRp
ciwgLS1kaXI9ZGlyICAgICBkaXJlY3RvcnkgZm9yIFZlbmRSb290IChpbnRlcmNoYW5nZS5j
ZmcsIGVycm9yLmxvZywgZXRjLikKICAgICAtZSBuYW1lLAogICAgICAgIC0tZXhjbHVkZT1u
YW1lICAgICBleGNsdWRlIGNhdGFsb2cKICAgICAtZiBmaWxlLAogICAgICAgIC0tY29uZmln
PWZpbGUgICAgICBjb25maWd1cmF0aW9uIGZpbGUgKGRlZmF1bHQgaW50ZXJjaGFuZ2UuY2Zn
KQogICAgIC0tZmlsZXMgc3BlYyAgICAgICAgICBmaWxlc3BlYyAocGVybCByZWdleHAgT0sp
IGZvciBzdGF0aWMgcGFnZSB0cmVlCiAgICAgLWgsIC0taGVscCAgICAgICAgICAgIGRpc3Bs
YXkgdGhpcyBtZXNzYWdlCiAgICAgLWksIC0taW5ldG1vZGUgICAgICAgIHJ1biB3aXRoIElu
dGVybmV0LWRvbWFpbiBzb2NrZXQgKFRDUCkKICAgICAtLWtpbGwgW3NpZ25hbF0gICAgICAg
a2lsbCBzZXJ2ZXIgdW5ncmFjZWZ1bGx5ICg5IG9yIHdpdGggb3B0aW9uYWwgc2lnbmFsKQog
ICAgIC1xLCAtLXF1aWV0ICAgICAgICAgICBzdXBwcmVzcyBpbmZvcm1hdGlvbmFsIG1lc3Nh
Z2VzIG9uIHN0YXJ0dXAKICAgICAtLXJlY29uZmlnPWNhdGFsb2cgICAgcmVjb25maWcgYSBw
YXJ0aWN1bGFyIGNhdGFsb2cgb24gdGhlIHNlcnZlcgogICAgIC0tcmVtb3ZlPWNhdGFsb2cg
ICAgICByZW1vdmUgYSBjYXRhbG9nIGZyb20gb3BlcmF0aW9uCiAgICAgLS1yZXN0YXJ0ICAg
ICAgICAgICAgIHJlc3RhcnQgc2VydmVyCiAgICAgLS1zZXJ2ZSAgICAgICAgICAgICAgIHN0
YXJ0IHNlcnZlciAoZGVmYXVsdCkgKC1zdGFydCBpcyBhbGlhcykKICAgICAtLXN0b3AgICAg
ICAgICAgICAgICAgc3RvcCBzZXJ2ZXIgZ3JhY2VmdWxseQogICAgIC10LCAtLXRlc3QgICAg
ICAgICAgICByZXBvcnQgcHJvYmxlbXMgd2l0aCBjb25maWcgZmlsZXMKICAgICAtdSwgLS11
bml4ICAgICAgICAgICAgcnVuIHdpdGggVU5JWC1kb21haW4gc29ja2V0CiAgICAgLXYsIC0t
dmVyc2lvbiAgICAgICAgIGRpc3BsYXkgcHJvZ3JhbSB2ZXJzaW9uCiAgICAgLUQsIC0tREVC
VUcgICAgICAgICAgIHJ1biBmb3JlZ3JvdW5kIGluIGRlYnVnIG1vZGUKbm90IG9rIDYKNiB0
ZXN0cyBydW4gLS0gMi82IGZhaWxlZC4KVGhlIHByZXZpb3VzIEludGVyY2hhbmdlIHNlcnZl
ciB3YXMgbm90IHJ1bm5pbmcgYW5kIHByb2JhYmx5CnRlcm1pbmF0ZWQgd2l0aCBhbiBlcnJv
ci4KCm1ha2U6ICoqKiBbdGVzdF9keW5hbWljXSBFcnJvciAxCg==
--STEFAN3a94e8006d64--
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Thu, 22 Feb 2001 13:01:48
Subject: [ic] Images do not appear whith SSL.
Ron,
I did the right click in the image and its still not showing up but if took
out the "s" from https all images work but interchange shows a error page.
The symbolic link in the /var/lib/interchange/images is linked with
/usr/lib/stronghold/htdocs/www.portaldavila.com.br/portal1/images that is
were the images are located.
My catalog.cfg is:
#Variable SERVER_NAME www.portaldavila.com.br
#Variable CGI_URL /cgi-bin/portal1
Variable SECURE_SERVER https://www.portaldavila.com.br
#Variable ORDERS_TO interch
Variable IMAGE_DIR /portal1/images
#Variable DOCROOT
/usr/lib/stronghold/htdocs/www.portaldavila.com.br
#Variable SAMPLEHTML
/usr/lib/stronghold/htdocs/www.portaldavila.com.br/portal1
#Variable SAMPLEURL http://www.portaldavila.com.br/portal1
and I put the imgdirsecure but nothing happens:
## Set the image path for relative images
ImageDirSecure https://__SERVER_NAME____IMAGE_DIR__/
ImageDir __IMAGE_DIR__/
ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/
Thank you for your help in advance.
Marcelo
>Marcelo,
>
>Right click on an image that is not showing up and copy the path into >a
>new
>browser, does it show up in there? If not then this can be a >combination
>of
>two problems one being that the symbolic links are in fact not >correct, or
>that you need a directive called ImageDirSecure. This allows you to >have
>a
>different image head path for the secure server. Please post the >info
>from
>your config that shows the following:
>
>Server URL
>Secure Server URL
>Full path to the images for Server
>Full path to the images for Secure Server
>
>-Ron
----- Original Message -----
From: "Marcelo F. De Paula" <tintones@hotmail.com>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 21, 2001 4:09 PM
Subject: [ic] Images do not appear whith SSL.
>Hello,
>
>I installed Stronghold ssl in my server but when I put HTTPS in
>secure_server in catalog.cfg all images not not appear when I access a
>secure page.
>
>Why is this happeing? When i took out the "s" from https everything start
to
>work again. All imagens appear.
>
>I have checked all symbolic links but it still not working.
>
>Please any help will be very good.
>
>thank you in advance,
>
>Marcelo F. De Paula
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 22 Feb 2001 08:52:46 -0500
Subject: [ic] Multiple size/pricing examples?
On Thu, Feb 22, 2001 at 05:05:22PM +0800, Alex Lam wrote:
There are a number of examples out there. If your product is
the "music" and one of the attributes is CD/Cassette, then how
is that different from a shirt with attributes S-XXXL where some
of those have different prices? I doubt you will find an example
that exactly matches your needs. At the detail level you need
to do the work! If you are under the gun and don't have time
to learn and generalize then think about hiring a consultant
to get you going.
> Hi,
>
> I have been trolling through the lists for a good and complete example of
> how to implement a solution for multiple sizes with different prices. Most
> of the examples are not complete.
>
> I am trying to have multiple items/prices for say if I am selling a
> Cassette, I would have a dropdown box with an option for the CD version at
> a different price and perhaps the DVD version at another price.
> Another good example would be trying different prices for different sized
> Shirts. I konw there are many examples out there, but no complete ones,
> and for a newbie like me, it's hard trying to piece together the comments
> from so many people.
>
> Would appreciate if someone can point me to some example
> code/implementation of it.
>
> Thanks,
>
> Alex
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: valankar at nmo.net (Lord Valankar )
Date: Thu, 22 Feb 2001 09:40:37 -0500
Subject: [ic] Search box perversion
Ryan Hertz wrote:
>
> >
> > The error logs are populated with the following lines indicating that
> >their is a missing file, namely products.asc A search through the mail
> >archive brings up many mentions of a file with this extension, most of
> >which seems to indicate that this file is created by the daemon when a
> >search by a visitor is performed, but little other information.
>
> Perhaps yours is named products.txt? Check your catalog.cfg to see where
> it expects your products to be.
>
> Ryan Hertz tel 800-645-BAIT
*SNIP*
Hi Ryan,
Yes the catalog is named products.txt, and products come up just fine
in the tutorial's index page (which displays all products) The shopping
chart works just fine as well; as do the flypages. The only thing that
fails is the search box with the error I posted.
From my catalog.cfg =>
***BEGIN CATALOG.CFG***
Database products products.txt TAB
ProductFiles products
VendURL http://set.dragons.org/cgi-bin/tutorial
SecureURL http://set.dragons.org/cgu-bin/tutorial
MailOrderTo valankar@set.dragons.org
OrderProfile etc/profiles.order
Locale em_US currency_symbol $
Variable WEBMASTER valankar@set.dragons.org
Variable CONTACT brett@mmdmedical.com
**END CATALOG.CFG***
--
0==----------=^=----------==0
Valankar (aka Dwagon)
"Just remember: If life didn't suck we would all fly off the earth."
From: doug at lathi.net (Doug Alcorn )
Date: 22 Feb 2001 10:45:40 -0500
Subject: [ic] Virtual Hosting
"Joseff Wishnoff" <joeybiz@intenseinfo.com> writes:
> We need to know what has to be done for the software to work in a
> virtual hosting environment
I've installed IC in a virtual hosting environment. The installation
is typical. There were no special provisions.
That having been said, if you are an experienced Unix admin I advise
you to "run like the wind". Virtual hosting is setup for people who
don't know how or don't want to actually manage their own box. If you
do know how and want to, very often the virtual hosting gets in the
way of the system administration you want to do. Let's say you want
to upgrade from sendmail 8.9.x to 8.10.x. It may or may not work.
Let's say you want to change from using ssh.com's libssl to openssl?
It may or may not work. The point is that virtual hosting is _not_
exactly like dedicated hosting just with sharing CPU. The virtual
hosting software _does_ get in the way of an experienced admin. At
least this was true with the Ensim hosting software.
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: briank at nacs.net (Brian Kosick )
Date: Thu, 22 Feb 2001 10:59:24 -0500
Subject: [ic] Multiple size/pricing examples?
Have you found this info yet? If you have would you provide a URL, so that
I might check it out myself. I need to do something similar, but not with
CD's.
At 08:52 AM 2/22/01 -0500, you wrote:
>On Thu, Feb 22, 2001 at 05:05:22PM +0800, Alex Lam wrote:
>
>There are a number of examples out there. If your product is
>the "music" and one of the attributes is CD/Cassette, then how
>is that different from a shirt with attributes S-XXXL where some
>of those have different prices? I doubt you will find an example
>that exactly matches your needs. At the detail level you need
>to do the work! If you are under the gun and don't have time
>to learn and generalize then think about hiring a consultant
>to get you going.
>
> > Hi,
> >
> > I have been trolling through the lists for a good and complete example of
> > how to implement a solution for multiple sizes with different prices. Most
> > of the examples are not complete.
> >
> > I am trying to have multiple items/prices for say if I am selling a
> > Cassette, I would have a dropdown box with an option for the CD version at
> > a different price and perhaps the DVD version at another price.
> > Another good example would be trying different prices for different sized
> > Shirts. I konw there are many examples out there, but no complete ones,
> > and for a newbie like me, it's hard trying to piece together the comments
> > from so many people.
> >
> > Would appreciate if someone can point me to some example
> > code/implementation of it.
> >
> > Thanks,
> >
> > Alex
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>--
>
>Christopher F. Miller, Publisher cfm@maine.com
>MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
>1.207.657.5078 http://www.maine.com/
>Content management, electronic commerce, internet integration, Debian linux
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: edl at newmediaems.com (Ed LaFrance )
Date: Thu, 22 Feb 2001 08:57:11 -0800
Subject: [ic] Search box perversion
At 03:08 PM 02/21/2001 -0500, you wrote:
>Hi Everyone.
>
> I'm just getting started setting up interchange 4.6.3 and I have been
>going through the catalog building tutorial and I've gotten myself
>stumped. Everything seems to work just fine with the exception of the
>search box (13.6) For what ever reason when I enter in any kind of
>description or an sku the search results always returns nothing found.
>
> The error logs are populated with the following lines indicating that
>their is a missing file, namely products.asc A search through the mail
>archive brings up many mentions of a file with this extension, most of
>which seems to indicate that this file is created by the daemon when a
>search by a visitor is performed, but little other information.
>
> Hopefully this with be a Doh question but what am I going wrong? Do I
>need to create this file? (The gdbm file is being generated by the
>daemon.)
>
>***START ERRORLOG SNIP***
>199.1.0.164 zi3U2Dr8:199.1.0.164 - [20/February/2001:15:44:20 -0500]
>tutorial /cgi-bin/tutorial/search Couldn't open search file
>'/var/lib/interchange/tutorial/products/products.asc': No such file or
>directory
>***END ERRORLOG SNIP***
>
At first glance, I would say that you are doing a text-based search (which
is what usually happens by default when you don't specify an alternative
with mv_searchtype), that the text source file for the products table is
named products.asc (this is set in catalog.cfg - are you using a
catalog.cfg from an older minivend catalog), and that products.asc is not
present in the products directory of your catalog (or is present but
unreadable). I suppose it is also possible that the source file that is
needed but missing is called products.txt and the error message is wrong
(in older versions of Minivend the requirement for products.asc was
apparently hard-coded, perhaps some of the error message text was as well).
So I would verify those things as a starting point.
- Ed L.
- Ed L.
From: rapier at psc.edu (Chris Rapier )
Date: Thu, 22 Feb 2001 11:57:19 -0500
Subject: [ic] Virtual Hosting
> That having been said, if you are an experienced Unix admin I advise
> you to "run like the wind". Virtual hosting is setup for people who
> don't know how or don't want to actually manage their own box. If you
My guess is that he's a consultant running this on a remote server at an
ISP and therefore isn't actually involved with any of the admin issues.
What bothers me is that someone had to ask what was necessary for it to
run in a virtual hosting environment.
However, I have 2 sites at Pair.com. Its all virtual hosting and, I
believe, IPless as well. Works without a hitch.
From: billjenkins at hotmail.com (Bill Jenkins )
Date: Thu, 22 Feb 2001 17:01:34
Subject: [ic] Credit Card Information (Credit card encryption failed: )
How can I fix this. I see the default encryption is mc. I deleted it and
tried placing an order again but it still gave the same error. Please help.
Thanks in advance.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: nick.davies at iname.com (Nick Davies )
Date: Thu, 22 Feb 2001 17:17:58 +0000
Subject: [ic] Virtual Hosting
Doug Alcorn wrote:
> "Joseff Wishnoff" <joeybiz@intenseinfo.com> writes:
>
>> We need to know what has to be done for the software to work in a
>> virtual hosting environment
>
>
> I've installed IC in a virtual hosting environment. The installation
> is typical. There were no special provisions.
>
> That having been said, if you are an experienced Unix admin I advise
> you to "run like the wind". Virtual hosting is setup for people who
> don't know how or don't want to actually manage their own box.
Or can't afford it!
>
From: cpi at accxs.net (ACC&S )
Date: Thu, 22 Feb 2001 18:51:41 +0100
Subject: [ic] [item-accessories size]
hi all,
where i can change the presentation of size and color ?
I don't want to use a select box but a table for example.
Is-it possible ?
something like this :
<table>
[loop arg="[item-accessories color, options]"]
<TR>
<TD>
[loop-code]
</TD>
<TD> - - >
</TD>
[loop arg="[item-accessories size]"]
<TD>
[item-accessories size] :
[loop-price]</A><BR>
</TD>
[/loop]
</TR>
[/loop]
</table>
thanks.
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Thu, 22 Feb 2001 10:16:05 -0800
Subject: [ic] Images do not appear whith SSL.
> Ron,
>
> I did the right click in the image and its still not showing up but if
took
> out the "s" from https all images work but interchange shows a error page.
What I meant for you to do was take the link that the image is trying to
pull, and place it in it's own browser with the https and see if it comes
out. This was to demonstrate that this is not an IC problem, it's a
symbolic link problem. Play with your url in a browser (leave IC out of
this for a bit) and see what link you need to put in the browser (with
https) to get it to pull an image up. Once you have done that you should be
able to change your symbolic links or put a ImageDirSecure that is correct.
> The symbolic link in the /var/lib/interchange/images is linked with
> /usr/lib/stronghold/htdocs/www.portaldavila.com.br/portal1/images that is
> were the images are located.
This one is there to allow uploading of images or sharing of images that are
used across catalogs (can't remember which it is). This link should not
have to do with your https. Does the directory for the secure virtual host
match the directory for the non-secure virtual host? If it does not then
the ImageDirSecure will be needed.
> My catalog.cfg is:
>
> #Variable SERVER_NAME www.portaldavila.com.br
> #Variable CGI_URL /cgi-bin/portal1
> Variable SECURE_SERVER https://www.portaldavila.com.br
> #Variable ORDERS_TO interch
> Variable IMAGE_DIR /portal1/images
> #Variable DOCROOT
> /usr/lib/stronghold/htdocs/www.portaldavila.com.br
> #Variable SAMPLEHTML
> /usr/lib/stronghold/htdocs/www.portaldavila.com.br/portal1
> #Variable SAMPLEURL http://www.portaldavila.com.br/portal1
>
> and I put the imgdirsecure but nothing happens:
>
> ## Set the image path for relative images
> ImageDirSecure https://__SERVER_NAME____IMAGE_DIR__/
> ImageDir __IMAGE_DIR__/
> ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/
>
> Thank you for your help in advance.
>
> Marcelo
This looks like a problem with either a symbolic link (which links image
directories across virtual hosts, or a problem with stronghold's config and
how the http and https virtual hosts are setup. Good luck!
-Ron
From: tmcalees at discgolfcentral.com (Thomas McAlees )
Date: Thu, 22 Feb 2001 13:44:56 -0500
Subject: [ic] Secure Checkout Problems
I'm having some strange problems with Interchange 4.6.3 and secure checkout.
Right after I installed a new Thawte SSL server certificate and changed my
configuration to use the secure server, I began having problems with
checkout. When I click the submit button on my checkout page I receive a
'page cannot be displayed' error from IE. If I hit the back button and
resubmit, it usually works. Sometimes I have to submit/back 3 or 4 times
before it will go through. The problem happens consistently on a machine
with IE 5.0. I experienced the problem briefly on another machine with IE
5.5 but the problem appears to have gone away. I have not been able to
reproduce the problem with that latest version of Netscape.
Has any one expierenced this type of problem? I searched the archive and
found several discussions related to loosing the contents of a basket, but
none with the kinds of problems I'm having. Any help would be greatly
appreciated.
Thanks,
Tom McAlees
From: michelle at wilant.com (Michelle Wilant (home) )
Date: Thu, 22 Feb 2001 14:11:03 -0500
Subject: [ic] Payflow Pro doc/help
There is info in your interchange install. Look at:
/interchange-4.6.1/eg/globalsub/signio. There are readmes throughout.
----- Original Message -----
From: "Jean-Pierre Parent" <parentjp@videotron.ca>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 21, 2001 9:46 PM
Subject: [ic] Payflow Pro doc/help
> Hi everyone,
>
> I'd like to have some information on setting up Payflow Pro. I can't seem
to
> find any doc on that subject. Could someone point me in the right
direction?
> Perhaps a simple list of the steps involved too could help.
>
> Thanks in advance...
>
> Jean-Pierre Parent
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: mark at summersault.com (Mark Stosberg )
Date: Thu, 22 Feb 2001 14:37:55 -0500
Subject: [ic] example of soft goods with MV/Interchange 4.04?
Hello!
I'm using Minivend 4.04 to a run a "simple"-based store that would now
like to add the ability to sell soft goods on the site, specifically
PDFs. The documentation alludes to this ability here:
http://developer.akopia.com/minivend4/docindex/18.03.Custom_Order_Routing.html
This alludes to a routine: create_download_link, which sounds like it
does most of the dirty work. Could some give me, or point me to an
example of how to set up a soft goods system with MV/Interchange? I'm
fairly experienced with IC and am a strong Perl programmer, I just needs
some pointers how all this fits together, and I didn't want to re-invent
the wheel here. :)
Thanks,
-mark
personal website } Summersault Website Development
http://mark.stosberg.com/ { http://www.summersault.com/
From: rene at hertell.com (Rene Hertell )
Date: Thu, 22 Feb 2001 21:49:11 +0200
Subject: [ic] example of soft goods with MV/Interchange 4.04?
I have not done this, but did not the Simple demo-catalog have this
feature? If I remember correctly, the minivend-documentation the simple-demo
contained worked this way.
Rene
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mark
> Stosberg
> Sent: 22 February 2001 21:38
> To: interchange-users@lists.akopia.com
> Subject: [ic] example of soft goods with MV/Interchange 4.04?
>
>
>
> Hello!
>
> I'm using Minivend 4.04 to a run a "simple"-based store that would now
> like to add the ability to sell soft goods on the site, specifically
> PDFs. The documentation alludes to this ability here:
>
> http://developer.akopia.com/minivend4/docindex/18.03.Custom_Order_
Routing.html
This alludes to a routine: create_download_link, which sounds like it
does most of the dirty work. Could some give me, or point me to an
example of how to set up a soft goods system with MV/Interchange? I'm
fairly experienced with IC and am a strong Perl programmer, I just needs
some pointers how all this fits together, and I didn't want to re-invent
the wheel here. :)
Thanks,
-mark
personal website } Summersault Website Development
http://mark.stosberg.com/ { http://www.summersault.com/
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: mikeh at minivend.com (Mike Heins )
Date: Thu, 22 Feb 2001 15:04:50 -0500
Subject: [ic] example of soft goods with MV/Interchange 4.04?
Quoting Mark Stosberg (mark@summersault.com):
>
> Hello!
>
> I'm using Minivend 4.04 to a run a "simple"-based store that would now
> like to add the ability to sell soft goods on the site, specifically
> PDFs. The documentation alludes to this ability here:
>
> http://developer.akopia.com/minivend4/docindex/18.03.Custom_Order_Routing.html
>
> This alludes to a routine: create_download_link, which sounds like it
> does most of the dirty work. Could some give me, or point me to an
> example of how to set up a soft goods system with MV/Interchange? I'm
> fairly experienced with IC and am a strong Perl programmer, I just needs
> some pointers how all this fits together, and I didn't want to re-invent
> the wheel here. :)
There is a ready-to-go implementation in the "simple" demo:
ftp://ftp.minivend.com/pub/demos/
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: parentjp at pjp.dhs.org (Jean-Pierre Parent )
Date: Thu, 22 Feb 2001 15:10:52 -0500
Subject: [ic] Payflow Pro doc/help
I found out the file thanks to Michelle Wilant...
However, the "eg" directory is not in the minivend home directory as I
expected...I had to search for this file.
Is this behavior normal? Should i just copy the folder to minivend home?
For your information I installed it with the source tarball...
----- Original Message -----
From: "Michelle Wilant (home)" <michelle@wilant.com>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, February 22, 2001 2:11 PM
Subject: Re: [ic] Payflow Pro doc/help
> There is info in your interchange install. Look at:
> /interchange-4.6.1/eg/globalsub/signio. There are readmes throughout.
>
> ----- Original Message -----
> From: "Jean-Pierre Parent" <parentjp@videotron.ca>
> To: <interchange-users@lists.akopia.com>
> Sent: Wednesday, February 21, 2001 9:46 PM
> Subject: [ic] Payflow Pro doc/help
>
>
> > Hi everyone,
> >
> > I'd like to have some information on setting up Payflow Pro. I can't
seem
> to
> > find any doc on that subject. Could someone point me in the right
> direction?
> > Perhaps a simple list of the steps involved too could help.
> >
> > Thanks in advance...
> >
> > Jean-Pierre Parent
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: hans-joachim.leidinger at home.gelsen-net.de (Hans-Joachim Leidinger )
Date: Thu, 22 Feb 2001 21:52:12 +0100
Subject: [ic] Search box perversion
Lord Valankar wrote:
>
> Ryan Hertz wrote:
> >
> > >
> > > The error logs are populated with the following lines indicating that
> > >their is a missing file, namely products.asc A search through the mail
> > >archive brings up many mentions of a file with this extension, most of
> > >which seems to indicate that this file is created by the daemon when a
> > >search by a visitor is performed, but little other information.
> >
> > Perhaps yours is named products.txt? Check your catalog.cfg to see where
> > it expects your products to be.
> >
> > Ryan Hertz tel 800-645-BAIT
> *SNIP*
>
> Hi Ryan,
> Yes the catalog is named products.txt, and products come up just fine
> in the tutorial's index page (which displays all products) The shopping
> chart works just fine as well; as do the flypages. The only thing that
> fails is the search box with the error I posted.
>
> From my catalog.cfg =>
> ***BEGIN CATALOG.CFG***
> Database products products.txt TAB
> ProductFiles products
> VendURL http://set.dragons.org/cgi-bin/tutorial
> SecureURL http://set.dragons.org/cgu-bin/tutorial
> MailOrderTo valankar@set.dragons.org
> OrderProfile etc/profiles.order
> Locale em_US currency_symbol $
>
> Variable WEBMASTER valankar@set.dragons.org
> Variable CONTACT brett@mmdmedical.com
> **END CATALOG.CFG***
It seems to me, anywhere in your page is searching for any items from
"products.asc". You can define the search file with "fi" or
"mv_search_file". Search for "products.asc" in your whole catalog and
try out to find the error.
Joachim
--
-------------Hans-Joachim Leidinger---------------------
From: hans-joachim.leidinger at home.gelsen-net.de (Hans-Joachim Leidinger )
Date: Thu, 22 Feb 2001 21:46:28 +0100
Subject: [ic] Images do not appear whith SSL.
"Marcelo F. De Paula" wrote:
>
> Ron,
>
> I did the right click in the image and its still not showing up but if took
> out the "s" from https all images work but interchange shows a error page.
>
> The symbolic link in the /var/lib/interchange/images is linked with
> /usr/lib/stronghold/htdocs/www.portaldavila.com.br/portal1/images that is
> were the images are located.
>
> My catalog.cfg is:
>
> #Variable SERVER_NAME www.portaldavila.com.br
> #Variable CGI_URL /cgi-bin/portal1
> Variable SECURE_SERVER https://www.portaldavila.com.br
> #Variable ORDERS_TO interch
> Variable IMAGE_DIR /portal1/images
> #Variable DOCROOT
> /usr/lib/stronghold/htdocs/www.portaldavila.com.br
> #Variable SAMPLEHTML
> /usr/lib/stronghold/htdocs/www.portaldavila.com.br/portal1
> #Variable SAMPLEURL http://www.portaldavila.com.br/portal1
>
> and I put the imgdirsecure but nothing happens:
>
> ## Set the image path for relative images
> ImageDirSecure https://__SERVER_NAME____IMAGE_DIR__/
> ImageDir __IMAGE_DIR__/
> ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/
>
> Thank you for your help in advance.
>
> Marcelo
What happen, if you use
ImageDirSecure https://__SECURE_SERVER____IMAGE_DIR__/
?
ciao
Joachim
--
-------------Hans-Joachim Leidinger---------------------
From: fiber at virtualhideout.net (Fiber at VH )
Date: Thu, 22 Feb 2001 15:05:00 -0800
Subject: [ic] Akopia in PHP
Is it possible to make the Akopia Cart PHP instead of Perl? I was just
curious. Or know of any VERY similiar alternatives?
Adam
Adam "Fiber" Lysne
Virtual Hideout
www.virtualhideout.net
ICQ: 73218345
From: schurkmaster at yahoo.com (johny brabo )
Date: Thu, 22 Feb 2001 13:57:10 -0800 (PST)
Subject: [ic] password protection of categories
----- Original Message -----
From: Chris Rapier <rapier@psc.edu>
> How about this...
>
>You have users pick items that go into their own
>special catalog. You can do this by extending the
>user database to include product number specific
>to that user or create a new table keyed on the user
>name which contains catalog information. Now, when
>the user logs in with their password (you
>can check this easily - in mv it was mv_login I'm
>guessing its ic_login
>now if its true then do this if not bounce them to a
>login page) it reads this table and builds a catalog
>specifically from those items. Anything you can do in
>the main catalog you'd be able to do in this one. Its
>pretty easy actually once you start using fields from
>the user catalog as keys in the main product catalog.
>People wouldn't be able to view this user catalog
>without knowing the proper login name and password
>which would thus protect it
This actually makes a lot of sense. This seems a nice
solution wich I haven't thought of yet. Alhough it
solves the problem on a "per-user" basis.I think I
have the beginning of a solution to do this on a
"per-catalog" basis, so the administrator can easily
make a new password protected category: see bottom of
this mail.
>Whats even cooler is that if the row keyed on the
>user name is defined in the user catalog datebase
>then it will display products. If not then it will
>display account information (address, billing, past
>orders and so forth)or some such thing like that.
>That way people can create a public catalog and a
>private account. You can also make it so that they
>can't create a public catalog without filling in all
>of the necessary account information by burying that
>process in the private account page.
>
I don't really get this. What exactly do you mean by
"if the row keyed on the user name is defined in the
user catalog database"? Do you mean that
it's possible to build pages based on the contents of
a user's database. That's also very nice, your email
allready suceeded in making me wanna scream
"eureka" much harder than archimedes when he
discovered his law :-)
>I hope some of this makes sense. I'm being a little
>disjointed with my descriptions.
>I've actually implemented a lot of this stuff in
>minivend. It not a difficult task once you really
>wrap your head around the way you
>actually access tables. You'll need to drop into
>perl for some of this
> but nothing major.
>
>Good luck.
This is a solution I figured out. I haven't tried it
out yet, I will only do
that in a few weeks, after figuring everything out and
then some snowboarding :-)
First I make a few results pages that are each build
from another productsdb:
results1.html <- products1.txt
results2.html <- products2.txt
...
Now I can easily controll access to all these results
pages using the userdb-acl option from the docs: Their
acl record only get's set for a results page when they
entered a password they receive by normal mail:
[if value accesspassword=passwordreceivedbymail]
[userdb function=set_acl
location="pages/results1.html"]
[else] goto password-page
[/else]
[/if]
This has the advantages that the shop-administrator
can easily make a new category, and send the password
for it by normal mail. He can also reserve items for
this category. eg. he takes out 5 shirts from
products.txt and puts it in products1.txt (changing
only the sku, so that I have no problem with
quantities.
Now I only need to figure out how I can easily let the
admin copy items from one database to another, but I
think [export] is going to be of some help here. And
also how I can make this thing a little bit more easy
by not making 20 results pages but combining
everything in 1 page.
I hope all this makes sense, and maybe hear some
remarks on this.
thanks.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
From: doug at lathi.net (Doug Alcorn )
Date: 22 Feb 2001 17:08:16 -0500
Subject: [ic] Akopia in PHP
"Fiber @ VH" <fiber@virtualhideout.net> writes:
> Is it possible to make the Akopia Cart PHP instead of Perl?
OK, I'll bite. Maybe that way some of the more serious IC developers
can studiously ignore this thread.
Have you downloaded and looked at Interchange? We're talking about
close to 2MB and 55,000 lines of perl code. This represents _years_
of effort (and probably tens of years of man-effort). Rarely to
project survive the "lets port this entire code to some other
language".
To put this number in perspective, I worked for 3 months to audit
3,000 lines of C code. In the end I was able to cut the number of
lines in half (and not just by removing comments); it was just really
bad code. Assuming Mike and company could work twice as fast as I
did. That would still be 25 months of work. Even if they worked
three times as fast as I did it would still be almost 20 months.
That's two _years_ just to be caught up to where we are today. Even
if they could work four times as fast as I did it would still be a
year.
I'm not setting myself up here as some great programmer; I"m just
being realistic. How many developers that know both perl and php are
going to be working on the port full-time? How many developers work
on IC as it is now full-time? I'm betting there's not many more than
one that works full-time on the core library.
And what would all this effort gain? Would more developers be
attracted to it? Would it run faster? Would it be any easier to
learn? I think the answer is "no" on all accounts.
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: admin at sitemajic.net (Chris Jesseman )
Date: Thu, 22 Feb 2001 17:27:19 -0500 (EST)
Subject: [ic] Akopia in PHP
Adam, look at FishCart for PHP... it was ok the last time I looked at it a year
ago. Interchange is still the best I've seen!
-Chris
Quoting "Fiber @ VH" <fiber@virtualhideout.net>:
> Is it possible to make the Akopia Cart PHP instead of Perl? I was just
> curious. Or know of any VERY similiar alternatives?
>
> Adam
>
> Adam "Fiber" Lysne
> Virtual Hideout
> www.virtualhideout.net
> ICQ: 73218345
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
Chris Jesseman, President
http://www.sitemajic.net
From: mikeh at minivend.com (Mike Heins )
Date: Thu, 22 Feb 2001 17:27:13 -0500
Subject: [ic] Akopia in PHP
Quoting Doug Alcorn (doug@lathi.net):
> "Fiber @ VH" <fiber@virtualhideout.net> writes:
>
> > Is it possible to make the Akopia Cart PHP instead of Perl?
>
> OK, I'll bite. Maybe that way some of the more serious IC developers
> can studiously ignore this thread.
>
> Have you downloaded and looked at Interchange? We're talking about
> close to 2MB and 55,000 lines of perl code. This represents _years_
> of effort (and probably tens of years of man-effort). Rarely to
> project survive the "lets port this entire code to some other
> language".
>
> To put this number in perspective, I worked for 3 months to audit
> 3,000 lines of C code. In the end I was able to cut the number of
> lines in half (and not just by removing comments); it was just really
> bad code. Assuming Mike and company could work twice as fast as I
> did. That would still be 25 months of work. Even if they worked
> three times as fast as I did it would still be almost 20 months.
> That's two _years_ just to be caught up to where we are today. Even
> if they could work four times as fast as I did it would still be a
> year.
>
This is realistic, and a good summary. Minivend and Interchange
do represent man-years of effort. I am a man, and I spent 5 years
on it, not to mention the work done by others. It would not be
reasonable to write in PHP for several reasons, not the least of
which is that PHP is nowhere near as powerful as Perl from an
architectural perspective.
The good news is I just put the first take on an Interchange
SOAP server in the dev branch, and it looks like the next version
of Interchange will be pretty easy to talk to with PHP, Python,
or whatever the language of the week is.
It also includes a SOAP client (based on the excellent SOAP::Lite
module by Paul Kulchenko) which can talk to any other application that
talks SOAP.
Preliminary work indicates it will be able to serve hundreds of
RPC calls per second on a fairly fast machine, which means it will
be useful for quite a few things.
Best,
Mike
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: res087jh at verizon.net (Dan Garwood )
Date: Thu, 22 Feb 2001 17:34:24 -0500
Subject: [ic] Akopia in PHP
CHEER Well put Doug. Damn fine!
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Doug
> Alcorn
> Sent: Thursday, February 22, 2001 5:08 PM
> To: interchange-users@minivend.com
> Subject: Re: [ic] Akopia in PHP
>
>
> "Fiber @ VH" <fiber@virtualhideout.net> writes:
>
> > Is it possible to make the Akopia Cart PHP instead of Perl?
>
> OK, I'll bite. Maybe that way some of the more serious IC developers
> can studiously ignore this thread.
>
> Have you downloaded and looked at Interchange? We're talking about
> close to 2MB and 55,000 lines of perl code. This represents _years_
> of effort (and probably tens of years of man-effort). Rarely to
> project survive the "lets port this entire code to some other
> language".
>
> To put this number in perspective, I worked for 3 months to audit
> 3,000 lines of C code. In the end I was able to cut the number of
> lines in half (and not just by removing comments); it was just really
> bad code. Assuming Mike and company could work twice as fast as I
> did. That would still be 25 months of work. Even if they worked
> three times as fast as I did it would still be almost 20 months.
> That's two _years_ just to be caught up to where we are today. Even
> if they could work four times as fast as I did it would still be a
> year.
>
> I'm not setting myself up here as some great programmer; I"m just
> being realistic. How many developers that know both perl and php are
> going to be working on the port full-time? How many developers work
> on IC as it is now full-time? I'm betting there's not many more than
> one that works full-time on the core library.
>
> And what would all this effort gain? Would more developers be
> attracted to it? Would it run faster? Would it be any easier to
> learn? I think the answer is "no" on all accounts.
> --
> (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
> oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
> |_/ If you're a capitalist and you have the best goods and they're
> free, you don't have to proselytize, you just have to wait.
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: aflippo at lunamedium.com (Annie Flippo )
Date: Thu, 22 Feb 2001 16:46:00 -0800
Subject: [ic] Filling perl hashes with [query] and searching the hash for product display restriction
I'm running this example but my version is
[perl tables=product_cat interpolate=1]
my $db = $Db{product_cat};
@set = $db->query("SELECT model_id, model_name FROM product_cat order by
model_name");
$retstr = "";
foreach $row (@$set)
($model_id, $model_name) = @$row;
$retstr = $retstr . "model id: $model_id -- model_name: $model_name
\n";
}
return "$retstr";
[/perl]
But I get this error message in my error.log file.
192.168.0.30 6ssmWYaM:192.168.0.30 - [22/February/2001:16:22:44 -0800]
mystore/cgi-bin/mystore/test.html Safe: Can't call method "query" on an
undefined value at (eval 317) line 6.
My store is set up on Redhat 6.2 with MySQL 3.2.2.25. Any idea what I'm not
doing right?
Did I forget to configure something? Any suggestions are appreciated.
Thanks.
Annie Flippo
aflippo@lunamedium.com
>-----Original Message----- >Sent: Thursday, January 25, 2001 12:51 PM >
>Here is how I'm trying to do it in Perl (please don't laugh). > > [perl
tables=coverage] > my $db = $Db{coverage}; > @set = $db->query('select
hcpcs,copay from coverage WHERE >carrier_idr = 11001'); >
$Scratch->{covered_hcpcs} = \@set; > > $db = $Db{products}; > #loop through
all of $Scratch->{covered_hcpcs} >here somehow, setting $i to hcpcs value. >
@set = $db->query('select sku from >products WHERE hcpcs =
$Scratch->{covered_hcpcs->{$i}}'); > #end loop. > $Scratch->{covered_skus} =
\@set; > return; > [/perl] > Not to bad... Here's some more: [perl
tables=coverage interpolate=1] my $db = $Db{coverage}; $set =
$db->query("SELECT hcpcs, copay FROM coverage WHERE carrier_idr = '[scratch
cust_carrier_idr]"); $Scratch->{covered_hcpcs} = $set;
$Scratch->{covered_products} = []; $db = $Db{products}; foreach $row (@$set)
{ ($hcpcs, $copay) = @$row; $prod_set = $db->query("SELECT sku FROM products
WHERE hcpcs = '$hcpcs'"); foreach $prod_row (@$prod_set) { ($sku) =
@$prod_row; push(@{ $Scratch->{covered_products} }, $sku); } } #
$Scratch->{covered_products} should now be an array # of product sku's that
are covered. return; [/perl] -- Jeff Carnahan - jcarnahan@networq.com
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Thu, 22 Feb 2001 17:38:06 -0800
Subject: [ic] Filling perl hashes with [query] and searching the
At 04:46 PM 2/22/2001 -0800, Annie Flippo wrote:
>I'm running this example but my version is
>[perl tables=product_cat interpolate=1] my $db = $Db{product_cat}; @set =
>$db->query("SELECT model_id, model_name FROM product_cat order by
>model_name"); $retstr = ""; foreach $row (@$set) ($model_id, $model_name)
>= @$row; $retstr = $retstr . "model id: $model_id -- model_name: $model_name
>\n"; } return "$retstr"; [/perl]
>But I get this error message in my error.log file.
>192.168.0.30 6ssmWYaM:192.168.0.30 - [22/February/2001:16:22:44 -0800]
>mystore/cgi-bin/mystore/test.html Safe: Can't call method "query" on an
>undefined value at (eval 317) line 6.
>My store is set up on Redhat 6.2 with MySQL 3.2.2.25. Any idea what I'm not
>doing right?
>Did I forget to configure something? Any suggestions are appreciated.
>Thanks.
>
>Annie Flippo
>aflippo@lunamedium.com
Sorry, I'd like to help you, but I couldn't read your post. Could you
re-format it and re-send (MIME attach if you have to). Try sending it to
yourself to see if it's readable.
Additionally, did you see Mike Heins recent post about how [query] is
actually nestable (prefix="inner", outer-, etc.).
-Dan
> >-----Original Message----- >Sent: Thursday, January 25, 2001 12:51 PM >
> >Here is how I'm trying to do it in Perl (please don't laugh). > > [perl
>tables=coverage] > my $db = $Db{coverage}; > @set = $db->query('select
>hcpcs,copay from coverage WHERE >carrier_idr = 11001'); >
>$Scratch->{covered_hcpcs} = \@set; > > $db = $Db{products}; > #loop through
>all of $Scratch->{covered_hcpcs} >here somehow, setting $i to hcpcs value. >
>@set = $db->query('select sku from >products WHERE hcpcs =
>$Scratch->{covered_hcpcs->{$i}}'); > #end loop. > $Scratch->{covered_skus} =
>\@set; > return; > [/perl] > Not to bad... Here's some more: [perl
>tables=coverage interpolate=1] my $db = $Db{coverage}; $set =
>$db->query("SELECT hcpcs, copay FROM coverage WHERE carrier_idr = '[scratch
>cust_carrier_idr]"); $Scratch->{covered_hcpcs} = $set;
>$Scratch->{covered_products} = []; $db = $Db{products}; foreach $row (@$set)
>{ ($hcpcs, $copay) = @$row; $prod_set = $db->query("SELECT sku FROM products
>WHERE hcpcs = '$hcpcs'"); foreach $prod_row (@$prod_set) { ($sku) =
>@$prod_row; push(@{ $Scratch->{covered_products} }, $sku); } } #
>$Scratch->{covered_products} should now be an array # of product sku's that
>are covered. return; [/perl] -- Jeff Carnahan - jcarnahan@networq.com
>
>
>
>
>
>
>
>
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Thu, 22 Feb 2001 21:20:41 -0600
Subject: [ic] MAC and Data Encryption Error
I've got a good one here :) I am fairly certain it is not an Interchange
/ Minivend problem but would like input from anyone who might have an
idea. I have a client running a site on Minivend 3.14 that when an order
is attempted with a MAC in their office using IE (unsure or version) I
get an error that states "Data Encryption Error". I have tested the site
with Windows 95 as an OS with Netscape 4.51, Netscape 6 and IE 5.5 both
logged in and not logged in and have no problem.
My error in the SSL logs state interruption in SSL possible pressing
stop button in browser. It registered 11 errors for the single process
request of the order. Figure it got stuck :) The MAC was logged in as a
user of the site. I also tested on Red Hat 7 with Netscape and no
problems. The server is Red Hat 7, smp, Apache (latest version) with
mod_SSL.
Any ideas? I am not the strongest MAC person in the world, actually my
attitude is "We don't compute on fruit" :) but I would like to resolve
this issue for my client.
TIA
Steve
--
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
From: cfm at maine.com (cfm at maine.com )
Date: Thu, 22 Feb 2001 21:29:42 -0500
Subject: [ic] MAC and Data Encryption Error
On Thu, Feb 22, 2001 at 09:20:41PM -0600, Steve & Patti Getzinger wrote:
> I've got a good one here :) I am fairly certain it is not an Interchange
> / Minivend problem but would like input from anyone who might have an
> idea. I have a client running a site on Minivend 3.14 that when an order
> is attempted with a MAC in their office using IE (unsure or version) I
> get an error that states "Data Encryption Error". I have tested the site
> with Windows 95 as an OS with Netscape 4.51, Netscape 6 and IE 5.5 both
> logged in and not logged in and have no problem.
100:1 if you put netscape on the mac or a newer IE it will work.
>
> My error in the SSL logs state interruption in SSL possible pressing
> stop button in browser. It registered 11 errors for the single process
> request of the order. Figure it got stuck :) The MAC was logged in as a
> user of the site. I also tested on Red Hat 7 with Netscape and no
> problems. The server is Red Hat 7, smp, Apache (latest version) with
> mod_SSL.
>
> Any ideas? I am not the strongest MAC person in the world, actually my
> attitude is "We don't compute on fruit" :) but I would like to resolve
> this issue for my client.
>
> TIA
> Steve
> --
> =========================================================
> WDI Steve & Patti Getzinger
> 702 Lincolnway West steveandpatti@wubs.org
> South Bend, IN 46616 http://www.wubs.org/
> 219-287-4700 (Main Office) 317-535-0239 (Direct Line)
> =========================================================
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: mikeh at minivend.com (Mike Heins )
Date: Thu, 22 Feb 2001 21:43:22 -0500
Subject: [ic] MAC and Data Encryption Error
Quoting Steve & Patti Getzinger (steveandpatti@wubs.org):
> I've got a good one here :) I am fairly certain it is not an Interchange
> / Minivend problem but would like input from anyone who might have an
> idea. I have a client running a site on Minivend 3.14 that when an order
> is attempted with a MAC in their office using IE (unsure or version) I
> get an error that states "Data Encryption Error". I have tested the site
> with Windows 95 as an OS with Netscape 4.51, Netscape 6 and IE 5.5 both
> logged in and not logged in and have no problem.
>
> My error in the SSL logs state interruption in SSL possible pressing
> stop button in browser. It registered 11 errors for the single process
> request of the order. Figure it got stuck :) The MAC was logged in as a
> user of the site. I also tested on Red Hat 7 with Netscape and no
> problems. The server is Red Hat 7, smp, Apache (latest version) with
> mod_SSL.
>
> Any ideas? I am not the strongest MAC person in the world, actually my
> attitude is "We don't compute on fruit" :) but I would like to resolve
> this issue for my client.
Uhh, upgrade the browser?
Also, this is a known MSIE bug that can be worked around in Apache with
this in the SSL section, I think:
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
I would tell you to check DejaNews, but it is down. Perhaps Google
has enough going to help you out there.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Thu, 22 Feb 2001 23:48:54 -0500
Subject: [ic] CONSTRUCT - docs?
Hello,
I've got a store semi-operational by modifying the Constuct demo. However, there are things that aren't working (like quantity discounts). Is there any doc file on the Construct demo itself, telling how / where things are? There seems to be a ton of stuff in there.
Bob
From: jon at akopia.com (Jon Jensen )
Date: Thu, 22 Feb 2001 23:02:45 -0600 (CST)
Subject: [ic] CONSTRUCT - docs?
On Thu, 22 Feb 2001, Bob Puff@NLE wrote:
> Is there any doc file on the Construct demo itself, telling how /
> where things are? There seems to be a ton of stuff in there.
There's plenty of useful stuff throughout the other docs, but nothing
specific on the demo yet. We plan to have separate documentation for the
demo for the 4.8 release. Sorry!
Jon
From: grant at hq.com.au (Grant Galea )
Date: Fri, 23 Feb 2001 16:44:10 +1100
Subject: [ic] on-the-fly items - Using Other Fields
Hi all,
I'm using the latest version of Minivend 4 (still yet to update).
I have all my products in the products db and the reason I'm using
on-the-fly items is because I need to combine a number of products
from the products db into a package that is shown in the basket page
as one product.
I have successfully done this though I have run into one problem.
On the basket page I can only access the description, quantity and price
fields. I am posting other fields but I can't access them. (see below).
**** eg add to basket post page ****
mv_todo=refresh
mv_order_group=1
mv_order_item=SA0001
mv_order_fly=description=sample product|price=99.5|test=testing other field
____________
**** eg basket page ****
[item-list]
<tr>
<td>[item-description]</td> <-------- works
<td>[item-subtotal]</td> <--------- works
<td>[item-field test]</td> <-------- displays nothing (I have
tried every way I can think of)
</tr>
[/item-list]
I hope I have explained myself well enough and that someone can help me.
Also I have tried all of the obvious.
Regards,
Grant Galea
grant@hq.com.au
From: gerlits at neotek.hu (Gerlits András )
Date: 23 Feb 2001 05:56:00 -0000
Subject: [ic] mv_check problem
Below is a part of the header of my page. The idea is to let the user
select the table to search, and at the same time define the search-fields.
The strange thing is that all of the mv_check functions work, except for
events. I have checked and double-checked (even triple:)) all the fields,
they are there, and are all available from other pages. I get this error in
the catalog error.log, when I try to run a search on the events table:
213.197.71.122 VrP8sEjX:213.197.71.122 - [23/February/2001:04:54:25 +0100]
ceeaf /ceeaf.cgi/search.html search error: Search strings must be at least
1 characters.
> You had no search string specified.
>
213.197.71.122 VrP8sEjX:213.197.71.122 - [23/February/2001:04:54:25 +0100]
ceeaf /ceeaf.cgi/search.html search error: Limit subroutine creation: bad
limit creation code in coordinated search, probably search group without
search specification. at /usr/lib/interchange/lib/Vend/Search.pm line 689.
>
I couldn't see any difference between the events variable, and the others
(which all function properly). I tried changing the name events (in case
it's a reversed word, but it yielded no results). It seems, that
interchange for some reason, won't find the [set events][/set] segment.
[set events]
mv_search_file=events
mv_search_page=esemenyek
mv_searchfield=tit_hu
mv_searchfield=desc_hu
mv_searchfield=url
mv_searchfield=display
mv_searchspec=yes
[/set]
[set links]
mv_search_file=links
mv_search_page=linkek
mv_searchfield=desc_hu
mv_searchfield=url
mv_searchfield=display
mv_searchspec=yes
[/set]
[set galleries]
mv_search_file=galleries
mv_search_page=galeriak
mv_searchfield=gallery
mv_searchfield=desc_hu
mv_searchfield=address
mv_searchfield=display
mv_searchspec=yes
[/set]
[set photos]
mv_search_file=photos
mv_search_page=fotok
mv_searchfield=desc_hu
mv_searchfield=display
mv_searchspec=yes
[/set]
[set news]
mv_search_file=news
mv_search_page=sajto
mv_searchfield=tit_hu
mv_searchfield=desc_hu
mv_searchfield=url
mv_searchfield=display
mv_searchspec=yes
[/set]
[set sponsors]
mv_search_file=sponsors
mv_search_page=tamogatok
mv_searchfield=tit_hu
mv_searchfield=desc_hu
mv_searchfield=url
mv_searchfield=display
mv_searchspec=yes
[/set]
[set products]
mv_search_file=products
mv_search_page=eredmenyek
mv_searchfield=tit_en
mv_searchfield=tit_hu
mv_searchfield=desc_hu
mv_searchfield=artist
mv_searchfield=display
mv_searchspec=yes
[/set]
<FORM ACTION="[area search]" METHOD=POST>
<INPUT TYPE="hidden" NAME="mv_check" VALUE="category.value">
<INPUT TYPE="hidden" NAME="mv_coordinate" value="yes">
<INPUT TYPE="hidden" NAME="mv_substring_match" value="yes">
<INPUT TYPE="hidden" NAME="mv_searchtype" value="db">
<INPUT TYPE="hidden" NAME="mv_return_all" value="no">
<table border="0" width="20%">
<tr>
<td width="100%" colspan="3">
<p align="center">keresendo szo</p>
<p align="center"><input type="text" name="mv_searchspec"
size="10"></p>
</td>
</tr>
<tr>
<td width="100%" colspan="3">
<p align="center">talalatok szama</p>
<p align="center"><select size="1" name="mv_matchlimit">
<option value="5">5</option>
<option value="10">10</option>
<option value="25">25</option>
<option value="">mind</option>
</select>
</td>
</tr>
<tr>
<td width="100%" colspan="3">
<p align="center"> rendezesi szempont</p>
<p align="center"><select size="1" name="mv_sort_field">
<option value="tit_hu">megnevezes</option>
<option value="desc_hu">leiras</option>
<option value="time">datum</option>
</select></p>
</td>
</tr>
<tr>
<td width="100%" colspan="3">
<p align="center">kategoria
<p align="center"><select size="1" name="category"
Onchange="mv_check.value=category.value">
<option value="events">esemenyek</option>
<option value="news">sajto</option>
<option value="links">linkek</option>
<option value="galleries">galeriak</option>
<option value="photos">fotok</option>
<option value="products">alkotasok</option>
</select>
</td>
</tr>
<tr>
<td width="10%"></td>
<td width="18%">
<p align="left">
<input type="submit" NAME="mv_click" value="OK"
onClick="this.form.submit()"></td>
<td width="72%"></td>
</tr>
</table>
</form>
Thanks in advance.
Gerlits Andras
From: interchange at my-school.com (IC-Admin )
Date: Fri, 23 Feb 2001 02:19:55 -0500 (EST)
Subject: [ic] Akopia in PHP
Doug Alcorn wrote:
> Have you downloaded and looked at Interchange? We're talking about
> close to 2MB and 55,000 lines of perl code. This represents _years_
> of effort (and probably tens of years of man-effort).
Nice you bit the bullet. As far as I know, up til MiniVend merged with
Akopia, Mike Heins worked alone on the code for around five years.
(Though he is always very generous to acknowledge even the tiniest
itsy bit of help he got from others, but it looked to me as if it
was not substantial amount of code added by others). I remember that
shortly before Tallyman merged with MV, it was already 33 000 lines. I
have never checked back after that.
But out of curiosity I would like to know how many of the 55 000 lines
are lines from the former Tallyman code and how many people have
worked on that one for how long a time period. I never found that exactly
described somewhere and didn't try to figure it out myself.
I like to know how much lines Mike Heins did wrote per day
on an average and if that is a somewhat an extraordinary performance.
Just wonder what leading developers in other projects like KDE, Gnome or
Apache churn out, though I guess quantity alone doesn't say much
without considering quality and I guess it's dependent on the language.
The reason I am asking is because (being obviously not a programmer
and only lurking here out of being an old loyal fan of Minivend) some
people have tried to ridicule me in the past in private email of "defending"
Minivend and Mike Heins in the past. I felt somewhat angry about
it and helpless, because I had no comparison to other developer's
achievements and could never judge it. Luckily now as the code is under
RedHat's umbrella, I feel a little bit better, as my judgement was
obviously not so bad. But I don't forget those guys who tried to
ridicule me. May be someone likes to answer that one. It's so
hard for a non programmer to judge a program and a programmer.
Anyhow, I think it's nice that you spoke up the way you did, Doug.
Birgitt
From: murahashi at ayayu.com (Shozo Murahashi )
Date: Fri, 23 Feb 2001 15:24:38 +0900
Subject: [ic] How to keep carrige-return in TEXTAREA tag in form into Database
How can I keep carrige-return code or space which were entered in
<TEXTAREA > tag in HTML form to write into Interchange database?
In <TEXTAREA> tag , WRAP=hard or soft was specified.
Should I change '\n' to <BR> ?
If so, how to? Perl?
Is there any smart way ?
KidaNet
S.Murahashi
From: petri.pietola at nokia.com (petri.pietola at nokia.com )
Date: Fri, 23 Feb 2001 08:11:41 +0200
Subject: [ic] Image as a button in results.html
Hi
I have tried to replace Buy Now button with an image as a button in
results.html page with no luck.
I have searched archives but haven't found solution, I've also tried
[button] tags with several different parameters.
So how do I have to modify this row to get buy.gif to act like buy button in
results.html ?
<td valign=top width=30><FONT __FFACE__ size=2><input type=submit value=Buy
onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td>
Pete
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 23 Feb 2001 01:51:36 -0500
Subject: [ic] on-the-fly items - Using Other Fields
Quoting Grant Galea (grant@hq.com.au):
> Hi all,
>
> I'm using the latest version of Minivend 4 (still yet to update).
>
> I have all my products in the products db and the reason I'm using
> on-the-fly items is because I need to combine a number of products
> from the products db into a package that is shown in the basket page
> as one product.
>
> I have successfully done this though I have run into one problem.
> On the basket page I can only access the description, quantity and price
> fields. I am posting other fields but I can't access them. (see below).
>
> **** eg add to basket post page ****
>
> mv_todo=refresh
> mv_order_group=1
> mv_order_item=SA0001
> mv_order_fly=description=sample product|price=99.5|test=testing other field
> ____________
>
> **** eg basket page ****
>
> [item-list]
> <tr>
> <td>[item-description]</td> <-------- works
> <td>[item-subtotal]</td> <--------- works
> <td>[item-field test]</td> <-------- displays nothing (I have
> tried every way I can think of)
> </tr>
> [/item-list]
>
> I hope I have explained myself well enough and that someone can help me.
> Also I have tried all of the obvious.
Nowhere is it documentend that [item-field ....] does anything but access
a database. So it is not surprising that it doesn't work for you.
Have you looked at the contents of the shopping cart with a [dump] tag?
I think you might find it sits in the test attribute, available with
[item-modifier test].
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: diveshk at in.niksun.com (divesh )
Date: Fri, 23 Feb 2001 14:28:20 +0000
Subject: [ic] Re:Bugzilla Problem:looking for solution
Dear Sir,
we are working on bugzilla. on FreeBsd
We have set MySql ,apache and dbd and other perl
modules. When We register in bugzilla it sends password mail
to our account. When we login to bugzilla with this password
it says user and password are not valid, login failure.
Please suggest a solution to solve the problem.
Regards
divesh
From: kestutis.lasys at delfi.lt (Kestutis Lasys )
Date: Fri, 23 Feb 2001 11:34:24 +0200
Subject: [ic] Problem with Berkeley DB_File on FreeBSD
Hello,
I have problem when using Berkeley DB_File for interchange databases on
FreeBSD.
I've installed interchange 4.6.3 on my Linux box and it runs without
problem.
But if I try it on FreeBSD box (hosting company) which use Berkeley
DB_File
instead of GDBM, I am getting the following error in item_edit:
Bad SQL, query was: select DISTINCT category, category FROM products
ORDER BY category
I have found from list archive that somebody had the same problem:
http://developer.akopia.com/archive/interchange-users/2000/msg10420.html
But I can't find how to fix this problem. Please advise.
Sorry for my English.
Kestutis Lasys
Configuration:
FreeBSD:
-----------------------------------------------------------
Interchange version 4.6.3
Perl Information
Perl Version Perl 5.00503 (called with: /usr/bin/perl)
Optional Module Information
LWP::Simple found (v1.33).
MD5 found (v2.01).
MIME::Base64 found (v2.11).
SQL::Statement found (v0.1017).
Safe::Hole found (v0.08).
Storable found (v1.010).
Tie::Watch not found. Minor: cannot set watch points in
catalog.cfg.
URI::URL found (v5.02).
Safe operations untrapped
ftfile sort rand
Database Information
Database Interfaces
No GDBM.
Berkeley DB_File available (v1.65)
DBI enabled (v1.14), available drivers:
ADO
CSV
ExampleP
File
Multiplex
Proxy
mysql
Linux
-----------------------------------------------------------
Interchange version 4.6.3
Perl Information
Perl Version Perl 5.00503 (called with: perl)
Optional Module Information
LWP::Simple found (v1.33).
MD5 found (v2.01).
MIME::Base64 found (v2.11).
SQL::Statement found (v0.1017).
Safe::Hole found (v0.08).
Storable found (v1.010).
Tie::Watch not found. Minor: cannot set watch points in
catalog.cfg.
URI::URL found (v5.02).
Safe operations untrapped
ftfile sort rand
Database Information
Database Interfaces
GDBM available (v1.00)
Berkeley DB_File available (v1.65)
DBI enabled (v1.14), available drivers:
ADO
ExampleP
Multiplex
Proxy
mysql
From: ernaldi at agoes.com (Ernaldi Agoes )
Date: Fri, 23 Feb 2001 16:58:51 -0800
Subject: [ic] no files at all - Why?
Hi All,
I have install all the files and followed all steps, but the software still
doesn't worked. Why?
All members can see it in http://www.agoes.com/construct and all files
including catalogs in the cgi-bin folder (but i rename it exec, so it's exec
folder.). By the way, i'm using a reguler user not root.
Thanks
Rgds,
Ernaldi
From: ven at pragakhan.com (Victor Nolton )
Date: Fri, 23 Feb 2001 05:12:16 -0500
Subject: [ic] no files at all - Why?
you have a apache error. you've set it up wrong.
do you have access to root?
Ven
>Hi All,
>
>I have install all the files and followed all steps, but the software still
>doesn't worked. Why?
>All members can see it in http://www.agoes.com/construct and all files
>including catalogs in the cgi-bin folder (but i rename it exec, so it's exec
>folder.). By the way, i'm using a reguler user not root.
>Thanks
>
>Rgds,
>Ernaldi
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: alex at integricity.com (Alex Lam )
Date: Fri, 23 Feb 2001 18:52:44 +0800
Subject: [ic] Inactive field usage
Hi!!
Just wondering, is the inactive field in the products table used for
anything? If not, it would be a great idea if a checkbox could be
added in the products listing to mark whether an item will appear or
not. This allows those selling Christmas items to mark it as
"off-season" and not appear in the catalogs for a certain period of
time.
Or if a company does not want to display items that are out of stock,
then it can go to inactive.
Just my 2 cents,
Alex Lam
Integricity Corporation Sdn. Bhd.
From: alex at integricity.com (Alex Lam )
Date: Fri, 23 Feb 2001 18:52:35 +0800
Subject: [ic] Try this pop-up script
Hi, fellow Akopians...
In keeping with sharing of codes, here's a script that allows you to
have the "Click here for bigger picture" feature on your site.
All you have to do is, add a field in your product table called
bigpix.
Then paste this in flypage.html, under the area where the image
appears :
[if-item-field bigpix]
<a href="/cgi-bin/store/scan/fi=products/sf=sku/se=[item-code]/sp=bigpix" onclick="NewWindow(this.href,'Picture','600','400','yes','center');return false" onfocus="this.blur()"><font face="__FFACE__" size="2">Click for bigger picture</font></a>
[/if-item-field]
Then, add this to the top of flypage.html :
<script language="javascript" type="text/javascript">
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}
// -->
</script>
Do let me have some feedback on this!
ADIOS!
Alex Lam
Integricity Corporation
From: kestutis.lasys at delfi.lt (Kestutis Lasys )
Date: Fri, 23 Feb 2001 14:01:34 +0200
Subject: [ic] gpg encryptor FAQ problem. Problem Solution included butalso a
Boyd Lynn Gerber wrote:
>
>
> Thanks, I guess I was really tired at 4:00 A.M. I had 2>/dev/null and I
> could not figure out why I was not dumping the errors to a file. Below is
> what I have to use.
>
> ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --no-tty --always-trust -r people@signaturebooks.com 2>encrypt.error Payment
>
> and it give me an error if interchange is started by root using
>
> su interch -c "/usr/local/interchange/bin/interchange -r -u"
>
> A ps -ef shows interch is the interchange user, but I get this message.
>
> gpg: //.gnupg/secring.gpg: can't create keyring: Permission denied
> gpg: keyblock resource `//.gnupg/secring.gpg': file open error
> gpg: people@signaturebooks.com: skipped: public key not found
> gpg: [stdin]: encryption failed: public key not found
>
> but if I start interchange after I have logged in as interch not su, it
> works.
>
> su - interch -c "/usr/local/interchange/bin/interchange -r -u"
>
> Does not work. It does not read/use the .profile of the interch. I get
> errors about DBI that do not show if I start interchange after I have
> logged in.
>
> The solution was to login as the interch user and start interchange. Now
> I just have to figure out how to get this to work when I restart the
> machine. My normal /etc/rc2.d/S99interchange does not work.
>
> ----------------------------S99interchange------------------------------
> #!/bin/sh
> # interchange deamon start/stop script.
>
> # Usually this is put in /etc/rc2.d
> # When this is done the interchange server will be started when the
> # machine is started.
>
> LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/lib/mysql:/usr/local/BerkeleyDB3.2:;export LD_LIBRARY_PATH
> PATH=/sbin:/usr/bin:/usr/sbin:/bin
> basedir=/usr/local/interchange
> bindir=/usr/local/interchange/bin
> export PATH
>
> mode=$1
>
> # Safeguard (relative paths, core dumps..)
> cd $basedir
>
> case "$mode" in
> 'start')
> # Start deamon
>
> if test -x $bindir/interchange
> then
> # -l means start with log.
> /bin/su interch -c "$bindir/interchange"
> else
> echo "Can't execute $bindir/interchange"
> fi
> ;;
>
> 'stop')
> # Stop deamon
> $bindir/interchange --kill 9
> ;;
>
> *)
> # usage
> echo "usage: $0 start|stop"
> exit 1
> ;;
> esac
> ------------------------------cut here----------------------------------
>
> Any ideas on how to change the above to fix the problem or restart
> interchange without logging in as user interch?
>
> Thanks,
>
> --
> Boyd Gerber <gerberb@zenez.com>
> ZENEZ 3748 Valley Forge Road, Magna Utah 84044
> Office 801-250-0795 FAX 801-250-7975
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
Try add --homedir option to GnuPG:
ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --homedir
<path_where_your_keys_ring_is> ...
Then you don't relay on environment.
Kestutis Lasys
From: ftnx at ksbase.com (Kari Suomela )
Date: Fri, 23 Feb 2001 09:16:51 -0500
Subject: [ic] Dual tax rates
How does one accommodate for the two (actually more) different tax
rates in Canada?
It's simple, when both GST and PST are applicable, but that is not
always the case.
KS
KARICO Business Services
Toronto, ON Canada
http://www.ksbase.com
... Hello, I am part number ³ºÞº³º³Û³ºÝ³ºÝ³³
From: jeffd at evcom.net (Jeff Dafoe )
Date: Fri, 23 Feb 2001 10:35:09 -0500
Subject: [ic] Akopia in PHP
> Have you downloaded and looked at Interchange? We're talking about
> close to 2MB and 55,000 lines of perl code. This represents _years_
> of effort (and probably tens of years of man-effort). Rarely to
> project survive the "lets port this entire code to some other
> language".
I think the real issue that negates any possibility of Interchange being
recoded in php is that php cannot be used to create a daemon or any other
type of non-web-based application. This would make it impossible to recode
interchange in php. One could probably recode the vlink/tlink CGI to run in
php, though.
Jeff
From: tom at redpepperracing.com (Tom Lichti )
Date: Fri, 23 Feb 2001 10:55:37 -0500
Subject: [ic] on-the-fly items - Using Other Fields
That is odd, because here is part of my code from results.html:
<td valign="top" width="200"><a href="[area [item-code]]"><font __FFACE__
size="1"><b>[item-description]</b></font></a></td>
<td valign="top" width="75"><a href="[area [item-code]]"><font __FFACE__
size="1"><b>[item-field make]</b></font></a></td>
<td valign="top" width="75"><a href="[area [item-code]]"><font __FFACE__
size="1"><b>[item-field model]</b></font></a></td>
<td valign="top" width="75"><a href="[area [item-code]]"><font __FFACE__
size="1"><b>[item-field year_start]-[item-field
year_end]</b></font></a></td>
As you can see, I have 4 new fields that I am pulling, and they work.
Granted, I haven't tried it in the basket, but it works here. I am using
MySQL, and I have the fields defined in products.txt, so I don't know if
that makes a difference or not.
Tom Lichti
----- Original Message -----
From: Mike Heins <mikeh@minivend.com>
To: <interchange-users@lists.akopia.com>
Sent: Friday, February 23, 2001 1:51 AM
Subject: Re: [ic] on-the-fly items - Using Other Fields
> Quoting Grant Galea (grant@hq.com.au):
> > Hi all,
> >
> > I'm using the latest version of Minivend 4 (still yet to update).
> >
> > I have all my products in the products db and the reason I'm using
> > on-the-fly items is because I need to combine a number of products
> > from the products db into a package that is shown in the basket page
> > as one product.
> >
> > I have successfully done this though I have run into one problem.
> > On the basket page I can only access the description, quantity and price
> > fields. I am posting other fields but I can't access them. (see below).
> >
> > **** eg add to basket post page ****
> >
> > mv_todo=refresh
> > mv_order_group=1
> > mv_order_item=SA0001
> > mv_order_fly=description=sample product|price=99.5|test=testing other
field
> > ____________
> >
> > **** eg basket page ****
> >
> > [item-list]
> > <tr>
> > <td>[item-description]</td> <-------- works
> > <td>[item-subtotal]</td> <--------- works
> > <td>[item-field test]</td> <-------- displays nothing (I
have
> > tried every way I can think of)
> > </tr>
> > [/item-list]
> >
> > I hope I have explained myself well enough and that someone can help me.
> > Also I have tried all of the obvious.
>
> Nowhere is it documentend that [item-field ....] does anything but access
> a database. So it is not surprising that it doesn't work for you.
>
> Have you looked at the contents of the shopping cart with a [dump] tag?
> I think you might find it sits in the test attribute, available with
> [item-modifier test].
>
> --
> Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
>
> Friends don't let friends use Outlook. -- Bob Blaylock
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 23 Feb 2001 11:49:37 -0500
Subject: [ic] Inactive field usage
Quoting Alex Lam (alex@integricity.com):
> Hi!!
>
> Just wondering, is the inactive field in the products table used for
> anything?
When you have a question about something like that, the best thing to
do is:
cd CATALOG_DIR
grep -r inactive *
It should show you where that string is. In this case, I don't think
it is used anywhere.
> If not, it would be a great idea if a checkbox could be
> added in the products listing to mark whether an item will appear or
> not. This allows those selling Christmas items to mark it as
> "off-season" and not appear in the catalogs for a certain period of
> time.
>
> Or if a company does not want to display items that are out of stock,
> then it can go to inactive.
That is what it was intended for. All you have to do is add to any search
coordinated search spec:
se=1
sf=inactive
op=ne
Then if there is "1" in that field, the product won't be found as part
of the search.
You could also put on a search display page:
[if-field !inactive]
Display the item....
[/if-field]
That would mess up any count you have, but would not display the
item.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
I don't buy from direct telephone or email marketers. This makes it
hard for me to find a phone company. ;>
From: andreb at bordercominternational.com (Andre )
Date: Fri, 23 Feb 2001 13:26:10 -0400
Subject: [ic] Interchange Mall
hi all,
I have been reading up on IC and I was wondering :
1) Whats the MAx amount of items can it hold.
2) Can it be used as a Virtual Store front, with 200 or more stores.
Andre
From: mbostick at monetagroup.com (Matthew Bostick )
Date: Fri, 23 Feb 2001 12:07:55 -0600
Subject: [ic] Interchange Mall
I have had over 85,000 products in our store before (and adding another
38,000 right now), but I know others have had MV stores with way more than
that.
Matthew Bostick
TwoWheel.com
mbostick@twowheel.com
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Andre
Sent: Friday, February 23, 2001 11:26 AM
To: interchange-users@lists.akopia.com
Subject: [ic] Interchange Mall
hi all,
I have been reading up on IC and I was wondering :
1) Whats the MAx amount of items can it hold.
2) Can it be used as a Virtual Store front, with 200 or more stores.
Andre
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: aflippo at lunamedium.com (Annie Flippo )
Date: Fri, 23 Feb 2001 10:06:38 -0800
Subject: [ic] Filling perl hashes with [query] and searching the hash for product display restriction
Hi there,
I've been trying everything for over a week so any help is much appreciated.
I'm trying the example in the mail archive suggestion of nestable [query]
by Mark Johnson, Jeff Carnahan, and Mike Heins.
Background:
I have a product_cat table with model_id and model name columns which
I'm trying to retrieve inside [perl][/perl] tags. I don't want to do it
inside [query][/query]
or [loop][/loop] because I already a [query][/query] in my page and I do a
[more-list][more][/more-list]
to print out the page numbers and get my content dynamically (ie. 8 items
per page).
What I'm trying to do is to fill up a data array inside this [perl] DB call
to be used later
but can't seem to get $db->query() to work.
My example is:
Going into perl.
[perl tables=product_cat interpolate=1]
my $db = $Db{product_cat};
@set = $db->query('SELECT model_id, model_name FROM product_cat order by
model_name');
$retstr = "";
foreach $row (@$set)
{
($model_id, $model_name) = @$row;
$retstr = "model id: $model_id -- model_name: $model_name\n";
}
return "$retstr";
[/perl]
After the end of perl.
But I keep getting this message on the error.log file
192.168.0.30 rDrocwAK:192.168.0.30 - [23/February/2001:09:58:17 -0800]
mystore /cgi-bin/mystore/
test.html Safe: Can't call method "query" on an undefined value at (eval
317) line 4.
>
>
> my $db = $Db{product_cat};
>
> @set = $db->query('SELECT model_id, model_name FROM product_cat order
by model_name');
>
> $retstr = "";
>
> foreach $row (@$set)
> {
> ($model_id, $model_name) = @$row;
> $retstr = "model id: $model_id -- model_name: $model_name\n";
> }
>
> return "$retstr";
>
>
>
I'm running Interchange 4.6.3 on RedHat 6.2 and MySql 3.2.2.25. Any idea
what I'm not
doing right? Did I forget to configure something? Suggestions? Comments?
Ideas? Hints?
Thanks.
Annie Flippo
aflippo@lunamedium.com
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 23 Feb 2001 13:14:26 -0500
Subject: [ic] Filling perl hashes with [query] and searching the hash for product display restriction
Quoting Annie Flippo (aflippo@lunamedium.com):
>
> My example is:
>
> <html>
>
> Going into perl.<br>
>
> [perl tables=product_cat interpolate=1]
> my $db = $Db{product_cat};
>
if(! $db) {
Log("product_cat database doesn't exist!");
return;
}
You aren't even getting the DB set. The error "can't call method on undefined
value" says that the $db is not set. Obviously something is missing....like
a Database product_cat .. something or other.
Once that is done, I think you have to do:
my $set = $db->query(....);
The query method returns an array reference, not an array.
Then it should work.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Any man who is under 30, and is not liberal, has not heart; and any man
who is over 30, and is not a conservative, has not brains.
-- Winston Churchill
From: chet at pressler.com (Chet Pressler )
Date: Fri, 23 Feb 2001 10:22:00 -0800
Subject: [ic] Using FedEx instead of UPS
Is there a FedEx tables that are already to go for interchange that are
available somewhere? Or do we have to goto the fedex site and download the
tables and do this manually. I hate to reinvent the wheel here.
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 23 Feb 2001 13:39:28 -0500
Subject: [ic] Using FedEx instead of UPS
Quoting Chet Pressler (chet@pressler.com):
> Is there a FedEx tables that are already to go for interchange that are
> available somewhere? Or do we have to goto the fedex site and download the
> tables and do this manually. I hate to reinvent the wheel here.
>
No, no tables exist. However, Jean-Phillipe Bouchard and Francois Belanger
of sitepak.com did an excellent online query module for Fedex, which was
posted to this list (I think you can search for Business::Fedex). It
works on conjunction with this global UserTag to implement all FedEx
modes via online query.
This tag does Fedex ground without the Business::Fedex module.
At that point, you just make the criteria weight and the cost in
shipping.asc be: [fedex-query mode=THEMODE weight="@@TOTAL@@"] (assuming
UPS_ORIGIN is set ala the Interchange UI).
UserTag fedex-query Order mode weight
UserTag fedex-query attrAlias origin_zip origin
UserTag fedex-query addAttr
UserTag fedex-query Routine <<EOR
my $can_do_ground;
my $can_do_express;
sub {
my( $mode, $weight, $opt) = @_;
BEGIN {
eval {
require LWP::Simple;
$can_do_ground = 1;
};
};
BEGIN {
eval {
require Business::Fedex;
$can_do_express = 1;
};
};
my $die = sub {
my ($msg, @args) = @_;
$msg = ::errmsg($msg, @args);
$Vend::Session->{ship_message} .= " $msg";
return 0;
};
my $fed;
$opt->{target_url} = 'http://grd.fedex.com/cgi-bin/rrr2010.exe'
unless $opt->{target_url};
$opt->{origin} = $::Variable->{UPS_ORIGIN}
if ! $opt->{origin};
$opt->{country} = $::Values->{$::Variable->{UPS_COUNTRY_FIELD}}
if ! $opt->{country};
$opt->{zip} = $::Values->{$::Variable->{UPS_POSTCODE_FIELD}}
if ! $opt->{zip};
$opt->{country} = uc $opt->{country};
$opt->{origin_country} = $::Variable->{COUNTRY} || 'US'
if ! $opt->{origin_country};
if($can_do_express and (! $opt->{cache} || ! $Vend::fedex_object) ) {
eval {
$Vend::fedex_object = new Business::Fedex (
orig_country => $opt->{origin_country},
orig_zip => $opt->{origin},
weight => $opt->{weight},
dest_country => $opt->{country},
dest_zip => $opt->{zip},
packaging => $opt->{packaging} || 'My Packaging',
);
$Vend::fedex_object->getrate;
};
return $die->($@) if $@;
}
$fed = $Vend::fedex_object if $can_do_express;
my %is_express = (
'FPO' => 1,
'FSO' => 1,
'F2D' => 1,
'FES' => 1,
'FIE' => 1,
'FIP' => 1,
);
my %fe_map = (
'FedEx Ground' => 'FEG',
'FedEx Home Delivery' => 'FEH',
'FedEx Priority Overnight' => 'FPO',
'FedEx Standard Overnight' => 'FSO',
'FedEx 2-Day' => 'F2D',
'FedEx Express Saver' => 'FES',
'FedEx International Priority' => 'FIP',
'FedEx International Economy' => 'FIE',
);
@fe_map{values %fe_map} = @fe_map{keys %fe_map};
Debug("fed=" . ::uneval($fed));
my @services;
Debug("can_ground=$can_do_ground country=$opt->{country} orig_country=$opt->{origin_country}");
if($opt->{services}) {
Debug("can_ground=$can_do_ground country=$opt->{country} orig_country=$opt->{origin_country}");
if(
$can_do_ground
and ($opt->{country} eq 'US' or $opt->{country} eq 'CA')
and $opt->{origin_country} eq 'US'
)
{
push @services, 'FEG';
push @services, 'FEH';
}
if($fed) {
for ( $fed->services() ) {
push @services, $fe_map{$_->{service}};
}
}
return join ( ($opt->{joiner} || ' '), @services);
}
if($fed and $is_express{$opt->{mode}}) {
for ( $fed->services() ) {
next unless $fe_map{$_->{service}} eq $opt->{mode};
return $_->{total};
}
return 0;
}
#::logGlobal("calling with: " . join("|", $mode, $origin, $zip, $weight, $country));
if($opt->{mode} eq 'FEH') {
$opt->{mode} = 'HomeD';
}
else {
$opt->{mode} = 'Ground';
}
my @required = qw/
function
mode
origin
origin_country
zip
country
weight
/;
my @opt = qw/
length
height
width
dimunit
weightunit
accessorial
/;
my %map = qw/
function func
zip DestZip
country DestCountryCode
weight Weight
mode Screen
origin OriginZip
origin_country OriginCountryCode
length Length
height Height
width Width
dimunit DimUnit
weightunit WeightUnit
accessorial AccessReturn
/;
$opt->{function} = 'Rate'
unless length $opt->{function};
my @parms;
for(@required) {
return $die->("Fedex mode %s: required parameter %s missing", $mode, $_)
unless length $opt->{$_};
push @parms, "$map{$_}=" . Vend::Util::hexify($opt->{$_});
}
for(@opt) {
next unless length $opt->{$_};
push @parms, "$map{$_}=" . Vend::Util::hexify($opt->{$_});
}
my $url = $opt->{target_url} . '?' . join('&', @parms);
return $url if $opt->{test};
my $return = LWP::Simple::get($url);
return $die->('Unable to access Fedex calculator.')
if ! length($return);
my %result;
while( $return =~ m{<!(\w+)>(.*)<!/\1>}gs ) {
$result{$1} = $2;
}
return $Vend::Interpolate::Tmp->{$opt->{hashref}} = \%result
if $opt->{hashref};
if(! $result{TotalCharges}) {
return $die->("Error on Fedex calculation: %s", $result{Error});
}
return $result{TransitTime} if $opt->{transit_time};
Debug("mode=$opt->{mode} total=$result{TotalCharges}");
return $result{TotalCharges};
}
EOR
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: cfm at maine.com (cfm at maine.com )
Date: Fri, 23 Feb 2001 13:44:59 -0500
Subject: [ic] Using FedEx instead of UPS
On Fri, Feb 23, 2001 at 01:39:28PM -0500, Mike Heins wrote:
> Quoting Chet Pressler (chet@pressler.com):
> > Is there a FedEx tables that are already to go for interchange that are
> > available somewhere? Or do we have to goto the fedex site and download the
> > tables and do this manually. I hate to reinvent the wheel here.
> >
>
> No, no tables exist. However, Jean-Phillipe Bouchard and Francois Belanger
Bear in mind as well that your client can negotiate his own rates with
FedEx even if he is doing as few as a dozen or so packages a day.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: aflippo at lunamedium.com (Annie Flippo )
Date: Fri, 23 Feb 2001 11:01:58 -0800
Subject: [ic] RE: Interchange-users digest, Vol 1 #319 - 19 msgs
The database definitely exist because I'm able to access
thru the [loop search="st=db/fi=product_cat ... "] method.
And I logged into mySQL database manually and checked.
Just to confirm the syntax is
[perl table=<table name> interpolate=1]
my $db = $Db{<database name>};
or is it
[perl table=<table name> interpolate=1]
my $db = $Db{<table name>};
I've tried both methods above and still get the same error.
I know what you mean by not getting the DB set.
I'm not set up properly somehow but what?
Quoting Annie Flippo (aflippo@lunamedium.com):
>
> My example is:
>
> <html>
>
> Going into perl.<br>
>
> [perl tables=product_cat interpolate=1]
> my $db = $Db{product_cat};
>
if(! $db) {
Log("product_cat database doesn't exist!");
return;
}
You aren't even getting the DB set. The error "can't call method on
undefined
value" says that the $db is not set. Obviously something is missing....like
a Database product_cat .. something or other.
Once that is done, I think you have to do:
my $set = $db->query(....);
The query method returns an array reference, not an array.
Then it should work.
From: interchange at my-school.com (IC-Admin )
Date: Fri, 23 Feb 2001 15:18:12 -0500 (EST)
Subject: [ic] Interchange Mall
Andre wrote:
> hi all,
> I have been reading up on IC ...
>
You must need new glasses ! :-)
> ...and was wondering
> 1) Whats the MAx amount of items can it hold.
> 2) Can it be used as a Virtual Store front, with 200 or more stores.
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq02%2e13
http://developer.akopia.com/cgi-bin/ic/dev/icintro_3.html
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference24%2e24
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq07%2e03
time to find these links less than 20 seconds
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 23 Feb 2001 14:16:02 -0500
Subject: [ic] RE: Interchange-users digest, Vol 1 #319 - 19 msgs
Quoting Annie Flippo (aflippo@lunamedium.com):
> The database definitely exist because I'm able to access
> thru the [loop search="st=db/fi=product_cat ... "] method.
> And I logged into mySQL database manually and checked.
That doesn't mean anything as far as Interchange is concerned. If you
use table=product_cat the product_cat table must exist as *an Interchange
database table*. Whether it exists as a MySQL database table is not
meaningful.
Sounds like you might want:
[perl table=products]
# FORGET the interpolate=1
my $db = $Db{products}
or return 'no products table!';
my $set = $db->query('select * from product_cat')
or return 'query failed!';
Remember, typing in an error check takes 10 seconds -- trying to
debug can take hours. That is why you should ALWAYS check errors
on this type of thing. I do it religiously, which is why I don't
often get on long debugging sessions over simple problems.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: valankar at nmo.net (Lord Valankar )
Date: Fri, 23 Feb 2001 14:23:47 -0500
Subject: [ic] Search box perversion
Hans-Joachim Leidinger wrote:
>
> Lord Valankar wrote:
> >
> > Ryan Hertz wrote:
> > >
> > > >
> > > > The error logs are populated with the following lines indicating that
> > > >their is a missing file, namely products.asc A search through the mail
> > > >archive brings up many mentions of a file with this extension, most of
> > > >which seems to indicate that this file is created by the daemon when a
> > > >search by a visitor is performed, but little other information.
> > >
> > > Perhaps yours is named products.txt? Check your catalog.cfg to see where
> > > it expects your products to be.
> > >
> > > Ryan Hertz tel 800-645-BAIT
> > *SNIP*
> >
> > Hi Ryan,
> > Yes the catalog is named products.txt, and products come up just fine
> > in the tutorial's index page (which displays all products) The shopping
> > chart works just fine as well; as do the flypages. The only thing that
> > fails is the search box with the error I posted.
> >
> > From my catalog.cfg =>
> > ***BEGIN CATALOG.CFG***
> > Database products products.txt TAB
> > ProductFiles products
> > VendURL http://set.dragons.org/cgi-bin/tutorial
> > SecureURL http://set.dragons.org/cgu-bin/tutorial
> > MailOrderTo valankar@set.dragons.org
> > OrderProfile etc/profiles.order
> > Locale em_US currency_symbol $
> >
> > Variable WEBMASTER valankar@set.dragons.org
> > Variable CONTACT brett@mmdmedical.com
> > **END CATALOG.CFG***
>
> It seems to me, anywhere in your page is searching for any items from
> "products.asc". You can define the search file with "fi" or
> "mv_search_file". Search for "products.asc" in your whole catalog and
> try out to find the error.
>
> Joachim
>
> --
Hi Joachim, Ed. (I'll hit you both in one message)
I guess this is part of the whole point. I don't have one, nore do I
define one to be used. The tutorial specifies the catalog.cfg as up
above. The tutorial defines that the search call with fi be as the
following line...
[set testname]su=yes/fi=products/sf=sku/sf=description[/set]
I tried to set it to..
[set testname]su=yes/fi=products.txt/sf=sku/sf=description[/set]
Restarted the Daemon and everything.. no go. (Heck I even rebooted the
box just to be sure) It's acting like interchange is still hard coded to
look for a .asc file as Ed had mentioned in his post earlier. My problem
is I have no idea what's suppost to in the asc file yet. (Still a
newbie)
Ed also asked if I was using an older catalog.cfg from an earlier
version of Interchange/Minivend. The answer is no. I installed the
latest RPM that was posted sometime this month. I have not run the
Makecat command, instead I am following the Catalog Building Tutorial
which for those who don't know is a new one that walks a newbie through
the manual way of building the needed directories and files to make the
most basic of sites.
I have tried searching on the sku number in the database and for the
parts of the description field of the products.txt file. No matter what
I put in I simply get a message that interchange couldn't find any match
and the error log has mentions the missing .asc file.
0==----------=^=----------==0
Valankar (aka Dwagon)
"Just remember: If life didn't suck we would all fly off the earth."
From: Chad.Kreimendahl at umb.com (Kreimendahl, Chad J )
Date: Fri, 23 Feb 2001 14:05:20 -0600
Subject: [ic] ProductFiles error
We're attempting to upgrade from 4.6.0 to 4.6.3 and the following errors are
preventing us from restarting.
I notice that the ui_edit is a subroutine created in catalog_after.cfg, and
I'm not sure what exactly is creating the error.
The ProductFiles configuration directive is set... any ideas?
Killing Interchange server 672 with TERM.
Low traffic settings.
Calling UI....
...UI is loaded....
Interchange V4.6.3
Configuring catalog construct...Using Oracle, DSN=dbi:Oracle:.
Directive ProductFiles returned default setting error: No default search
file!
In line 0 of the configuration file '':
ActionMap ui_edit <<EOR
construct config error: Directive ProductFiles returned default setting
error: No default search file!
In line 0 of the configuration file '':
ActionMap ui_edit <<EOR
construct: error in configuration. Skipping.
construct: config error. Skipping.
Interchange server started in INET and UNIX mode(s) (process id 932)
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Fri, 23 Feb 2001 15:13:46 -0600
Subject: [ic] MAC and Data Encryption Error
Now we get interesting. I already have that line in my httpd.conf file.
Mike Heins wrote:
>
> Quoting Steve & Patti Getzinger (steveandpatti@wubs.org):
> > I've got a good one here :) I am fairly certain it is not an...my client.
>
> Uhh, upgrade the browser?
>
> Also, this is a known MSIE bug that can be worked around in Apache with
> this in the SSL section, I think:
>
> SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
>
> I would tell you to check DejaNews, but it is down. Perhaps Google
> has enough going to help you out there.
>
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
From: jeffd at evcom.net (Jeff Dafoe )
Date: Fri, 23 Feb 2001 15:20:14 -0500
Subject: [ic] Interchange Mall
> 2) Can it be used as a Virtual Store front, with 200 or more stores.
I am going to be doing this within the next couple of months, the project
that includes this is still in the planning phase right now and I have been
lurking on this list for a couple of months. It's the "multiple stores"
part that I see the issue with, searching across multiple databases could
potentially be problematic. I am curious to see any response from others on
this issue.
That reminds me, I wonder how many databases mysql can handle before
performance degrades. Where did Monty go?
Jeff
From: mheins at redhat.com (Mike Heins )
Date: Fri, 23 Feb 2001 15:20:21 -0500
Subject: [ic] MAC and Data Encryption Error
Quoting Steve & Patti Getzinger (steveandpatti@wubs.org):
> Now we get interesting. I already have that line in my httpd.conf file.
>
> Mike Heins wrote:
> >
> > Quoting Steve & Patti Getzinger (steveandpatti@wubs.org):
> > > I've got a good one here :) I am fairly certain it is not an...my client.
> >
> > Uhh, upgrade the browser?
> >
> > Also, this is a known MSIE bug that can be worked around in Apache with
> > this in the SSL section, I think:
> >
> > SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> >
> > I would tell you to check DejaNews, but it is down. Perhaps Google
> > has enough going to help you out there.
How about:
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
But the bottom line is still, why not have them upgrade the browser?
This is not an Interchange problem.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Be patient. God isn't finished with me yet. -- unknown
From: jojo at leidinger.net (Hans-Joachim Leidinger )
Date: Fri, 23 Feb 2001 21:03:06 +0100
Subject: [ic] Image as a button in results.html
petri.pietola@nokia.com wrote:
>
> Hi
>
> I have tried to replace Buy Now button with an image as a button in
> results.html page with no luck.
> I have searched archives but haven't found solution, I've also tried
> [button] tags with several different parameters.
>
> So how do I have to modify this row to get buy.gif to act like buy button in
> results.html ?
> <td valign=top width=30><FONT __FFACE__ size=2><input type=submit value=Buy
> onClick="this.form.mv_oi[item-increment].value='[item-code]'"></font></td>
An example from a real catalog....
<A HREF="[area form="
mv_order_item=[item-code]
mv_order_quantity=1
mv_todo=refresh"]"
onMouseOver="window.status='[L]ORDER NOW[/L]';
return true;"
onMouseOut="window.status=''; return true;">
<IMG BORDER=0 SRC="men/buy.gif" ALT="[L]ORDER NOW[/L]" HEIGHT=33
WIDTH=33></A>
Joachim
--
-------------Hans-Joachim Leidinger---------------------
From: jeffd at evcom.net (Jeff Dafoe )
Date: Fri, 23 Feb 2001 15:44:39 -0500
Subject: [ic] Interchange Mall
> http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq02%2e13
> http://developer.akopia.com/cgi-bin/ic/dev/icintro_3.html
> http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference24%2e24
> http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq07%2e03
>
> time to find these links less than 20 seconds
Since we are on the topic that is of primary interest to me, I went ahead
and looked at the links. I didn't find that any of them really addressed
the mall issue that well, at least not from how I perceive a mall as
operating. A mall would be identical to a normal ISP multiuser installation
except 1) searching from a special web page would search all catalogs and 2)
the checkout process would become very convoluted. The latter item was
pointed out in one of the above URLs but no solution was offered (I suspect
that there is no simple solution) so that particular item was not
particularly useful.
In short, I think the mall issue is not cut and dried, is not a "RTFM"
issue, and is certainly worthy of discussion.
Jeff
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Fri, 23 Feb 2001 15:51:02 -0600
Subject: [ic] MAC and Data Encryption Error
Yes that line is present. I realize it is not a problem with Interchange
and apologize if post was out of line for this list. I believe I have
the problem resolved at this time. I appreciate your time to steer me in
the correct direction. I know it saved me countless hours.
Have a great day
Steve
Mike Heins wrote:
>
> Quoting Steve & Patti Getzinger (steveandpatti@wubs.org):
> > Now we get interesting. I already have that line in my httpd.conf file.
> >
> > Mike Heins wrote:
> > >
> > > Quoting Steve & Patti Getzinger (steveandpatti@wubs.org):
> > > > I've got a good one here :) I am fairly certain it is not an...my client.
> > >
> > > Uhh, upgrade the browser?
> > >
> > > Also, this is a known MSIE bug that can be worked around in Apache with
> > > this in the SSL section, I think:
> > >
> > > SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> > >
> > > I would tell you to check DejaNews, but it is down. Perhaps Google
> > > has enough going to help you out there.
>
> How about:
>
> BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
>
> But the bottom line is still, why not have them upgrade the browser?
> This is not an Interchange problem.
>
> --
> Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
>
> Be patient. God isn't finished with me yet. -- unknown
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
From: valankar at nmo.net (Lord Valankar )
Date: Fri, 23 Feb 2001 17:03:34 -0500
Subject: [ic] Search box perversion - Solution! }:8>
Well I found a fix to the trouble I was having with the tutorial }:8>
I'm not sure just what field listing I added that corrected it but when
I modified the left tutorial page to include the following it started
working like a charm... <Using the usual format };8>
<tr>
<td align=center>__DISPLAYDATE__</td>
<td align=center>
<form action="[area search]" method=post>
Search:<br>
[set
testname]su=yes/fi=products.txt/sf=sku/sf=description/sf=longdescript[/set]
+ <input type=hidden name=mv_coordinate value=1>
+ <input type=hidden name=mv_searchtype value=db>
+ <input type=hidden name=mv_matchlimit value=10>
+ <input type=hidden name=mv_search_field value=sku>
+ <input type=hidden name=mv_search_field value=description>
+ <input type=hidden name=mv_search_field value=longdescript>
<input type=hidden name=mv_profile value=testname>
<input type=text name=mv_searchspec size=15 value="">
</form>
<hr>
__DISPLAYDATE__
</td>
<td align=center>
I'll be adding some notes on this to the tutorial on the website. Thanks
all for the sugestions!
--
0==----------=^=----------==0
Valankar (aka Dwagon)
"Just remember: If life didn't suck we would all fly off the earth."
From: interchange at my-school.com (IC-Admin )
Date: Fri, 23 Feb 2001 19:26:56 -0500 (EST)
Subject: [ic] Interchange Mall
Jeff wrote:
> Since we are on the topic that is of primary interest to me, I
> went ahead and looked at the links. I didn't find that any of them
> really addressed the mall issue that well, at least not from how I
> perceive a mall as operating. A mall would be identical to a normal ISP
> multiuser installation except 1) searching from a special web page would
> search all catalogs and 2) the checkout process would become very
> convoluted. The latter item was pointed out in one of the above URLs
> but no solution was offered (I suspect that there is no simple
> solution) so that particular item was not particularly useful.
> In short, I think the mall issue is not cut and dried, is not a "RTFM"
> issue, and is certainly worthy of discussion.
>
> Jeff
Easy, easy, I spoke of glasses not of RTFM. :-) Your original question
was very general, so I thought I give a very general answer.
Of course, it is worthy of discussion, but I haven't made a mall ever,
so the only things I can point to, are the links to posts of people who
have installed malls successfully, and from how I read them it is
possible, without knowing any nitty, gritty details.
May be those links give you more courage. Otherwise, may be you contact
people in private, who were successful in setting them up.
http://developer.akopia.com/archive/interchange-users/2000/msg00428.html
http://developer.akopia.com/archive/interchange-users/2000/msg07185.html
http://developer.akopia.com/archive/interchange-users/2000/msg00530.html
http://developer.akopia.com/archive/interchange-users/2000/msg04093.html
http://developer.akopia.com/archive/interchange-users/2000/msg06976.html
Birgitt
From: jeffd at evcom.net (Jeff Dafoe )
Date: Fri, 23 Feb 2001 19:20:57 -0500 (EST)
Subject: [ic] Interchange Mall
On Fri, 23 Feb 2001, IC-Admin wrote:
> Easy, easy, I spoke of glasses not of RTFM. :-) Your original question
> was very general, so I thought I give a very general answer.
The original question was not posed by me. I was expressing
interest in the issue and felt it worthy of discussion beyond a pointing
to the FAQ. I haven't posted any questions about malls, though.
> http://developer.akopia.com/archive/interchange-users/2000/msg00428.html
> http://developer.akopia.com/archive/interchange-users/2000/msg07185.html
> http://developer.akopia.com/archive/interchange-users/2000/msg00530.html
> http://developer.akopia.com/archive/interchange-users/2000/msg04093.html
> http://developer.akopia.com/archive/interchange-users/2000/msg06976.html
These items are interesting, I can see that the first step in
approaching the mall topic would be to find out what the desired
definition of "mall" is. My concept of a mall is more in line with what
was mentioned in
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq07%2e03 and
the questions posed by items 3 and 4 are a subset of one of the two major
issues I anticipate, the other potentially being cross-database searching
(although I dont think this will be a big issue).
Jeff
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 23 Feb 2001 19:50:30 -0500
Subject: [ic] Interchange Mall
Quoting Jeff Dafoe (jeffd@evcom.net):
> On Fri, 23 Feb 2001, IC-Admin wrote:
>
> > Easy, easy, I spoke of glasses not of RTFM. :-) Your original question
> > was very general, so I thought I give a very general answer.
>
> The original question was not posed by me. I was expressing
> interest in the issue and felt it worthy of discussion beyond a pointing
> to the FAQ. I haven't posted any questions about malls, though.
>
> > http://developer.akopia.com/archive/interchange-users/2000/msg00428.html
> > http://developer.akopia.com/archive/interchange-users/2000/msg07185.html
> > http://developer.akopia.com/archive/interchange-users/2000/msg00530.html
> > http://developer.akopia.com/archive/interchange-users/2000/msg04093.html
> > http://developer.akopia.com/archive/interchange-users/2000/msg06976.html
>
> These items are interesting, I can see that the first step in
> approaching the mall topic would be to find out what the desired
> definition of "mall" is. My concept of a mall is more in line with what
> was mentioned in
> http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq07%2e03 and
> the questions posed by items 3 and 4 are a subset of one of the two major
> issues I anticipate, the other potentially being cross-database searching
> (although I dont think this will be a big issue).
I try to tell people this -- but it is not popular.
The key thing is defining the mall process. Once that is done, the
actual mechanics of doing the mall are not that hard. For instance,
with searching it is best to build an external index file on a periodic
basis. Not only for the ability to map searches, but for performance.
This is usually a simple custom external script run periodically by
cron.
The hard parts are the rules for running the mall, and defining what
you will and will not support. Once you have done that, you have something.
Until you have done it, you have nothing.
I know that some people would say "but that is what *you* are there for!"
(Meaning me and my Red Hat compatriots.) Well, all I know is that if I
defined this for people the next 500 emails I would get would be "well,
that is sort of good but I need to do this or that" or "why did you do
it this way??!!!?". And I wouldn't have any answer.
It is just like shipping except more complicated -- there is no way to
take all of the possibilities into account. If there were, there would
be a "MallMaster" piece of software that would do it all for you. There
ain't no such beast, and I won't hold my breath for one to appear. 8-)
Sorry, but it is less work to define your business process then tailor
a flexible piece of software to it. Interchange is well suited to that,
as well suited as anything I know. But it won't architect the mall.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: jeffd at evcom.net (Jeff Dafoe )
Date: Fri, 23 Feb 2001 22:05:01 -0500 (EST)
Subject: [ic] Interchange Mall
On Fri, 23 Feb 2001, Mike Heins wrote:
> The key thing is defining the mall process. Once that is done, the
> actual mechanics of doing the mall are not that hard. For instance,
> with searching it is best to build an external index file on a periodic
> basis. Not only for the ability to map searches, but for performance.
> This is usually a simple custom external script run periodically by
> cron.
That is exactly what I was thinking.
> The hard parts are the rules for running the mall, and defining what
> you will and will not support. Once you have done that, you have something.
> Until you have done it, you have nothing.
Definitely. My preliminary theory is that the best solution is to
force the user through the checkout process for each vendor (a vendor
being a person with an interchange catalog) who has an item in the user's
cart, perhaps using some sort of shared customer database so that address
and other billing info would not have to be reentered across the disparate
checkouts. Or perhaps it will be easier to just offer a "mass search"
capability and then make the user check out before moving to the next
store. Like you said though, it is more of a set of business decisions
that have to be made because there is not one "best" answer to the few
issues that present themselves.
> I know that some people would say "but that is what *you* are there for!"
> (Meaning me and my Red Hat compatriots.)
Well, I agree with those people, I'll bet Akopia offers consulting
to help them towards these unique solutions.
> Well, all I know is that if I
> defined this for people the next 500 emails I would get would be "well,
> that is sort of good but I need to do this or that" or "why did you do
> it this way??!!!?". And I wouldn't have any answer.
Sounds like the international currency issue.
> It is just like shipping except more complicated -- there is no way to
> take all of the possibilities into account. If there were, there would
> be a "MallMaster" piece of software that would do it all for you. There
> ain't no such beast, and I won't hold my breath for one to appear. 8-)
I am definitely going to post more as our six month project (of
which ecommerce is just a part) progresses (assuming that we do more than
just set up a search box that searches an index of multiple catalogs).
I'll let anyone know if we do something neat.
Jeff
From: mikeh at minivend.com (Mike Heins )
Date: Fri, 23 Feb 2001 22:33:24 -0500
Subject: [ic] Interchange Mall
Quoting Jeff Dafoe (jeffd@evcom.net):
> On Fri, 23 Feb 2001, Mike Heins wrote:
> > The hard parts are the rules for running the mall, and defining what
> > you will and will not support. Once you have done that, you have something.
> > Until you have done it, you have nothing.
>
> Definitely. My preliminary theory is that the best solution is to
> force the user through the checkout process for each vendor (a vendor
> being a person with an interchange catalog) who has an item in the user's
> cart, perhaps using some sort of shared customer database so that address
> and other billing info would not have to be reentered across the disparate
> checkouts.
This is pretty easy to do. Just share the userdb among every store,
using the SubCatalog or separate catalog approach and CookieLogin. With
just a bit of work, you can even share the session directory among them
so they carry the cart for each store around together.
Or if you want a very large scalable mall (you can have literally tens
of thousands of stores this way), have every vendor on one store have
a vendor code and place items in a separate cart. (The archives have
the tag for that, and the archives also should show how to set up a
separate look and feel for each vendor with an Autoload.)
Also, check out the [cart name=vendor-id] tag, which allows you to
switch carts and display each separately. Have a store/vendor database
that defines the parameters for a vendor in a record keyed by vendor ID.
You can also do different fulfillment routes for each vendor if you want
the checkout process to be one form for all vendors. That is hard from
a payment standpoint though, as taxing and shipping must be common -- or
gyrations must be done to calculate it separately and somehow communicate
that to the user without confusing them to the point where they drop
the purchase.
I usually try to remember that the bread-and-butter is the one-item,
one-vendor purchase which defines 80% of online sales. Make that as
easy as possible, and the other things at least possible.
> Or perhaps it will be easier to just offer a "mass search"
> capability and then make the user check out before moving to the next
> store.
Interchange is capable of more than that.
> > I know that some people would say "but that is what *you* are there for!"
> > (Meaning me and my Red Hat compatriots.)
>
> Well, I agree with those people, I'll bet Akopia offers consulting
> to help them towards these unique solutions.
Ah yes, but they mean for free. 8-)
We do indeed do a good job of it, now as Red Hat E-Business Solutions. And
we are quite capable of helping to define the process, albeit at a
price.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: cfm at maine.com (cfm at maine.com )
Date: Fri, 23 Feb 2001 23:15:54 -0500
Subject: [ic] Interchange Mall
On Fri, Feb 23, 2001 at 07:50:30PM -0500, Mike Heins wrote:
> Quoting Jeff Dafoe (jeffd@evcom.net):
> > On Fri, 23 Feb 2001, IC-Admin wrote:
> >
> > > Easy, easy, I spoke of glasses not of RTFM. :-) Your original question
> > > was very general, so I thought I give a very general answer.
...
> > These items are interesting, I can see that the first step in
> > approaching the mall topic would be to find out what the desired
> > definition of "mall" is. My concept of a mall is more in line with what
> > was mentioned in
...
> The hard parts are the rules for running the mall, and defining what
> you will and will not support. Once you have done that, you have something.
> Until you have done it, you have nothing.
...
> Sorry, but it is less work to define your business process then tailor
> a flexible piece of software to it. Interchange is well suited to that,
> as well suited as anything I know. But it won't architect the mall.
It's ALL about business logic. We always ask prospective clients
"How do you deliver; show me" before we take them on. The
second question is "Do you have product codes, are they your own
or do you use your vendor codes?" Seriously, we can usually
put up a 10 thousand item catalog in a fraction of the time
it takes to put up ten items. That's ALL about organization
and business logic; 10 thousand items we can get a dump **now**
and every night at 11pm but ten items will dribble in 80% over
the next two weeks. 10 thousand items and they know how to ship
and what are the lead times and what kind of pick tickets and
what is best mode; 100 items and we see 20% returns because it
is "just not right". If you are thinking about a mall and can't
answer the delivery and product code issues congruently
GO DIRECTLY TO JAIL AND DO NOT PASS GO, DO NOT COLLECT $200.
> Being against torture ought to be sort of a bipartisan thing.
> -- Karl Lehenbauer
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange at my-school.com (IC-Admin )
Date: Sat, 24 Feb 2001 02:50:46 -0500 (EST)
Subject: [ic] [OT] official name of IC ?
Mike Heins wrote:
> Interchange is capable of more than that.
> > > I know that some people would say "but that is what *you* are there
> > > for!" (Meaning me and my Red Hat compatriots.)
>
> > Well, I agree with those people, I'll bet Akopia offers
> > consulting to help them towards these unique solutions.
> Ah yes, but they mean for free. 8-)
>
> We do indeed do a good job of it, now as Red Hat E-Business
> Solutions. And we are quite capable of helping to define the process,
> albeit at a price.
Because that's such a recurring issue, knowing where the famous fine
line is between getting help for free and getting help at a price, a
question popped up in my mind:
What's now the official name for the Interchange software ? Is it still
Akopia Interchange(TM) or is it RedHat Interchange(TM) ?
Otherwise being reminded of Akopia's slogan this came to my mind.
RedHat E-Commerce Services: Free To Help Your Business At A Price.
RedHat (Akopia) Interchange(TM): Freedom To Mind Your Own Business.
May be that would be a nice top banner slogan.
So much free-and-dom, RMS and ESR would be happy both at the same
time. And if that is not a success than I ask myself what is... :-)
Have a nice weekend, compatriots. (To a German ear compatriots has a
very socialist tune, but I guess to an American ear it sound like
pure Jazz...)
Birgitt
From: ven at pragakhan.com (Victor Nolton )
Date: Sat, 24 Feb 2001 02:54:20 -0500
Subject: [ic] Sun Netra X1
Im about to order a Sun Netra X1.
I've looked through the archives and have found no mention of anyone
running IC on any Netra's. Nor could I find mike's really NICE and
handy list of all OS's IC runs on but I know I've seen it somewhere.
Not much mention of using IC on solaris, only one mention of having
problems but not a followup.
Any Advice?
Ven
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: kamus at adinet.com.uy (kamus at adinet.com.uy )
Date: Sat, 24 Feb 2001 15:55:04 GMT
Subject: [ic] Can't see New Tables in admin interface
Hello everybody!
This is my first message.. I'm a bit nervous :)
I have created a Table named “marcas” in the database. It's almost all
fine with that, except that I cannot modify or insert new records. Just
delete them (????). I can see this table in the admin.
Then, I tried to create another table named “ultima”. It worked fine.
Interchange created the table as defined, but I can't see this table in
the list of table of the admin.
Well I did a 3rd try with another table, but I still can't see it. I know
it's created and I can insert and delete records from a web mysql admin,
but not from the interchage admin interface.
Well if anybody knows what can be happening, please tell me :)
I'm using mysql... any hints ?
Thanks,
kAmuS
From: ven at pragakhan.com (Victor Nolton )
Date: Sat, 24 Feb 2001 11:01:27 -0500
Subject: [ic] Can't see New Tables in admin interface
not an expert but do you have all the permissions set right in mysql?
Ven
>Hello everybody!
>
>This is my first message.. I'm a bit nervous :)
>
>I have created a Table named “marcas” in the database. It's almost all
>fine with that, except that I cannot modify or insert new records. Just
>delete them (????). I can see this table in the admin.
>
>Then, I tried to create another table named “ultima”. It worked fine.
>Interchange created the table as defined, but I can't see this table in
>the list of table of the admin.
>
>Well I did a 3rd try with another table, but I still can't see it. I know
>it's created and I can insert and delete records from a web mysql admin,
>but not from the interchage admin interface.
>
>Well if anybody knows what can be happening, please tell me :)
>
>I'm using mysql... any hints ?
>
>Thanks,
>
> kAmuS
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: doug at lathi.net (Doug Alcorn )
Date: 24 Feb 2001 12:54:22 -0500
Subject: [ic] Programming Metrics (Was: Akopia in PHP)
IC-Admin <interchange@my-school.com> writes:
> The reason I am asking is because (being obviously not a programmer
> and only lurking here out of being an old loyal fan of Minivend)
> some people have tried to ridicule me in the past in private email
> of "defending" Minivend and Mike Heins in the past. I felt somewhat
> angry about it and helpless, because I had no comparison to other
> developer's achievements and could never judge it. Luckily now as
> the code is under RedHat's umbrella, I feel a little bit better, as
> my judgement was obviously not so bad. But I don't forget those guys
> who tried to ridicule me. May be someone likes to answer that
> one. It's so hard for a non programmer to judge a program and a
> programmer.
This is a difficult subject. You would think for as long as
programmers have been working there would be good numbers on how long
it takes to write X number of lines of code. Unfotunately there
aren't good numbers.
I think the problem is that it's not linear. Sure, I can pretty
accurately estimate jobs that are 20 hours or less. I can somewhat
accurately estimate jobs that are up to 50 hours. Jobs that are more
than 100 hours of work are just shots in the dark. But that's
forecasting not measurements. Weather workst the same way.
Meteorologists can accurately predict weather for the next 24 hours or
so, but you hardly ever see 14 day forecasts.
The problem is unforeseen complexity. You can break a job up into
small, easily understood components and then add up all the small
estimates. That's a fairly typical approach. You say, "to accomplish
big project A I need to finish small projects B, C, and D. Since I
know how long B, C, and D should take then A should take X hours."
But what always happens is that you finish B and C, but now that you
actually tackle D you see that B and C won't do at all. So you have
to paritally or totally re-write B and C.
As far as hind-site goes, I don't really think think there is a
"code-per-day" number that is generally applicable. Elsewhere in this
thread, Mike said it took him 5 years to write minivend with some help
from others. That's a long time, but doesn't seem unreasonable for
the power and flexibility of Interchagne.
To summarize, I don't think lines-per-day is a good metric. It is
seductively appealing because it is so quantitative. The problem
again is complexity. Some features can be expressed in a small number
of lines (even if they are complex). The other problem is that
tasks/features are different by class. Server code is traditionally
more dense than GUI code.
I think what you have to do is look at the scope of the problem. How
large is the problem space and how much of it is covered by the
application? Also developing applications is easier than developing
libraries which is easier than developing frameworks. And then
there's one of my favorite quotes, "You can have it either fast, good,
or cheap; choose any two."
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: doug at lathi.net (Doug Alcorn )
Date: 24 Feb 2001 13:06:21 -0500
Subject: [ic] Sun Netra X1
Victor Nolton <ven@pragakhan.com> writes:
> Im about to order a Sun Netra X1.
Netras are cool. I wouldn't think you would have any problem at all.
This box isn't at all like the Cobalt RaQ servers. It's just a good
old Unix box. Have fun!
Disclaimer: I don't have any Netras or any Solaris boxes running IC.
I do have a Solaris box, and three older sparcs running IC. However
the older sparcs are also running Linux!
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
From: chris at vanoosterhout.com (Christopher VanOosterhout )
Date: Sat, 24 Feb 2001 13:34:26 -0500
Subject: [ic] Admin Says I am Missing Perl Modules
When I try to use the admin interface I get a message saying that there are
several Perl modules, needed for proper operation that are missing.
I followed the instructions for using CPAN (which by the way is very slick)
and occuring to the messages I received during the process, it appears that
all of the needed modules are now installed. In fact to double check, I
tried to install them again using CPAN and got a message saying they were
already up to date.
However now when I use the admin interface I still get the message saying
that the Perl modules are missing. I have rebooted the computer and
restarted interchange. Is there something I need to do to actually
activate the modules or make Interchange aware of them.
Does anyone have any ideas? Thanks,
Christopher
From: jfoster at augustmail.com (John Foster )
Date: Sat, 24 Feb 2001 15:00:04 -0600
Subject: [ic] Akopia in PHP
Mike Heins wrote:
> The good news is I just put the first take on an Interchange
> SOAP server in the dev branch, and it looks like the next version
> of Interchange will be pretty easy to talk to with PHP, Python,
> or whatever the language of the week is.
>
> It also includes a SOAP client (based on the excellent SOAP::Lite
> module by Paul Kulchenko) which can talk to any other application that
> talks SOAP.
>
> Preliminary work indicates it will be able to serve hundreds of
> RPC calls per second on a fairly fast machine, which means it will
> be useful for quite a few things.
-------------------------------------------------
You guys just continue to amaze me. Excellent move on your part!! Mike &
crew your efforts are much appreciated.
--
We specialize in multi-processor computing systems!
John Foster
AdVance-Computing Systems
From: cfm at maine.com (cfm at maine.com )
Date: Sat, 24 Feb 2001 16:14:02 -0500
Subject: [ic] Akopia in PHP
On Sat, Feb 24, 2001 at 03:00:04PM -0600, John Foster wrote:
> Mike Heins wrote:
> > The good news is I just put the first take on an Interchange
> > SOAP server in the dev branch, and it looks like the next version
> > of Interchange will be pretty easy to talk to with PHP, Python,
> > or whatever the language of the week is.
> >
> > It also includes a SOAP client (based on the excellent SOAP::Lite
> > module by Paul Kulchenko) which can talk to any other application that
> > talks SOAP.
> >
> > Preliminary work indicates it will be able to serve hundreds of
> > RPC calls per second on a fairly fast machine, which means it will
> > be useful for quite a few things.
> -------------------------------------------------
> You guys just continue to amaze me. Excellent move on your part!! Mike &
> crew your efforts are much appreciated.
Now that's the ticket. I only need to get this damn aolserver-perl thing
to fly with that and I can retire.
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: rhertz at gyb.baits.com (Ryan Hertz )
Date: Sat, 24 Feb 2001 14:11:22 -0700
Subject: [ic] [item-accessories size]
>hi all,
>
>where i can change the presentation of size and color ?
>I don't want to use a select box but a table for example.
>Is-it possible ?
>
>something like this :
>
><table>
>[loop arg="[item-accessories color, options]"]
Looks like you're on the right track -- but I think that you need to loop
on [item-field color], for example. Here's what I use on my store
(http://yamamoto.baits.com/cgi-bin/order/40-20 for example):
<TABLE BORDER=2 CELLSPACING=3 CELLPADDING=3 COLS=10><TR>
[loop arg=[item-field color]]
<TD align=center><A HREF="[area [loop-code]]" class="bod"><IMG
SRC="/order/images/chart/[loop-code].jpg" WIDTH="40" HEIGHT="46" BORDER="0"
LOWSRC="/0.gif" ALT="[loop-field description]"></A><BR>[loop-code]</TD>
[calc] return '</TR><TR>' if '[loop-increment]' % 10 eq 0[/calc]
[set colorcount][loop-increment][/set]
[/loop]
</TR><CAPTION><B>[scratch colorcount] Available
Colors:</B></CAPTION></TABLE><P>
The alt=[loop-field description] works for me here, because colors are part
of my products db (I build cross-referenced pages, that is, a color flypage
will list all the products that are available in that color). Could have
easily been done as part of another database, but I'm not that smart. :-)
In this case, clicking on a color takes you to another page, but it could
be rewritten to add the item to the cart with the correct color attribute.
Best Regards,
-Ryan
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: rhertz at gyb.baits.com (Ryan Hertz )
Date: Sat, 24 Feb 2001 14:18:53 -0700
Subject: [ic] How to keep carrige-return in TEXTAREA tag in form
At 11:24 PM 2/22/01 , you wrote:
>How can I keep carrige-return code or space which were entered in
><TEXTAREA > tag in HTML form to write into Interchange database?
IC *does* keep the carriage returns and spaces. This is an HTML
problem... By it's nature, a web browser will condense all sequential
spaces and carriage returns to 1 space. If you display the value of the
textarea inside <PRE> </PRE> tags, you will get the results you expect.
>In <TEXTAREA> tag , WRAP=hard or soft was specified.
>
>Should I change '\n' to <BR> ?
>If so, how to? Perl?
>Is there any smart way ?
>
>
>KidaNet
>S.Murahashi
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: ven at pragakhan.com (Victor Nolton )
Date: Sat, 24 Feb 2001 18:04:36 -0500
Subject: [ic] Sun Netra X1
Yes I've never messed with solaris. I did a search through the
archives for help. I did finally FIND mike's original post. I am
clueless on solaris. but the box comes with solaris 8 but I dont see
it on the list below
Ven
-----------
How does this list grab you?
alpha
dec-osf4.x
dec-osf5.x
unknown-linux-glibc2.1 (redhat 6.2)
hppa
hp-hpux10.20
hp-hpux11.00
i386
unknown-bsdi4.0.1
unknown-bsdi4.1
unknown-bsdi4.2
unknown-freebsd3.5.1
unknown-freebsd4.2
unknown-linuxglibc2.0(redhat5.2)
unknown-linuxglibc2.1(redhat6.2)
unknown-linuxglibc2.1(redhat7.0)
unknown-netbsd1.4.3 (will upgrade to 1.5 when customers start reqesting)
unknown-openbsd2.8
unknown-sco3.2v5.0.4(or 5.0.5...will discontinue support when SCO does)
unknown-solaris2.6
unknown-solaris2.7
unknown-solaris2.8
unknown-unixware7.1.1
ia64
unknown-linuxglibc2.1(redhat7)
mips4
sgi-irix6.4
sgi-irix6.5
mips3
sgi-irix5.3
sgi-irix6.2
sgi-irix6.4
sgi-irix6.5
powerpc
ibm-aix4.3.3.0
unknown-linux (most likely yellowdog)
apple-macosX (possibly supported in the future)
sparc
sun-solaris2.5.1
sun-solaris2.6
sun-solaris2.7
sun-solaris2.8
unknown-linuxglibc2.1 (redhat 6.2)
arm
unknown-linux
>Victor Nolton <ven@pragakhan.com> writes:
>
>> Im about to order a Sun Netra X1.
>
>Netras are cool. I wouldn't think you would have any problem at all.
>This box isn't at all like the Cobalt RaQ servers. It's just a good
>old Unix box. Have fun!
>
>Disclaimer: I don't have any Netras or any Solaris boxes running IC.
>I do have a Solaris box, and three older sparcs running IC. However
>the older sparcs are also running Linux!
>--
> (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
> oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
> |_/ If you're a capitalist and you have the best goods and they're
> free, you don't have to proselytize, you just have to wait.
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: doliver at hampshire.edu (Dylan Oliver )
Date: Sat, 24 Feb 2001 17:45:20 -0600
Subject: [ic] Redirecting output of Interchange
Hello,
I'd like to use HTML::Mason (through a CGI handler) to apply
a template (header, footer, navigation bars, etc..) to Interchange pages.
For example, pages/index.html might contain:
<p>[item price]</p>
I'd like Interchange to interpret this and then send it
through Mason's handler.cgi for further processing. Can Interchange's
output be redirected, and if so, how?
Dylan Oliver
Do you know how little you know?
From: info at ayayu.com (Ayayu Infomation desk )
Date: Sun, 25 Feb 2001 09:40:44 +0900
Subject: [ic] How to keep carrige-return in TEXTAREA tag in form into Database
Thank you for your simple answer, Mr.Hertz.
Very helpful for me.
S.Murahashi
----- Original Message -----
From: Ryan Hertz <rhertz@gyb.baits.com>
To: <interchange-users@lists.akopia.com>
Sent: Sunday, February 25, 2001 6:18 AM
Subject: Re: [ic] How to keep carrige-return in TEXTAREA tag in form
into Database
> At 11:24 PM 2/22/01 , you wrote:
> >How can I keep carrige-return code or space which were entered in
> ><TEXTAREA > tag in HTML form to write into Interchange database?
>
> IC *does* keep the carriage returns and spaces. This is an HTML
> problem... By it's nature, a web browser will condense all sequential
> spaces and carriage returns to 1 space. If you display the value of
the
> textarea inside <PRE> </PRE> tags, you will get the results you
expect.
>
>
> >In <TEXTAREA> tag , WRAP=hard or soft was specified.
> >
> >Should I change '\n' to <BR> ?
> >If so, how to? Perl?
> >Is there any smart way ?
> >
> >
> >KidaNet
> >S.Murahashi
>
>
> Ryan Hertz tel
800-645-BAIT
> Webmaster fax
520-645-2588
> Advertising Director
http://www.baits.com
> Gary Yamamoto Custom Baits, Inc.
mailto:rhertz@baits.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: cfm at maine.com (cfm at maine.com )
Date: Sat, 24 Feb 2001 19:31:01 -0500
Subject: [ic] Redirecting output of Interchange
On Sat, Feb 24, 2001 at 05:45:20PM -0600, Dylan Oliver wrote:
> Hello,
>
> I'd like to use HTML::Mason (through a CGI handler) to apply
> a template (header, footer, navigation bars, etc..) to Interchange pages.
> For example, pages/index.html might contain:
>
> <p>[item price]</p>
>
> I'd like Interchange to interpret this and then send it
> through Mason's handler.cgi for further processing. Can Interchange's
> output be redirected, and if so, how?
We did something like that a few years ago using WN Server and its
filter syntax. Probably for the same reasons, we wanted to incorporate
minivend better in our site building tools. It worked, it got messy
and we gave up because we found it **much** easier to turn it around and
build minivend pages with our site builder instead. That helped
**enormously** both with the minivend syntax and maintenance.
I don't know if you got Mike's announcement today about adding
SOAP; you might tie that to your cgi handler (I wonder about parsing
in real time). I think you'd end up with another daemon, a persistent
CGI-HANDLER that mediated between ic/SOAP and the web server.
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange at my-school.com (IC-Admin )
Date: Sat, 24 Feb 2001 21:24:31 -0500 (EST)
Subject: [OT] Thanks [ic] Programming Metrics (Was: Akopia in PHP)
Doug Alcorn wrote:
> And then there's one of my favorite quotes, "You can have it either
> fast, good, or cheap; choose any two."
:-) Thanks for the comment. Now I know why things never worked
out for me, I always wanted three things at once being true to a German
saying:
"Aller Guten Dinge sind drei."
Birgitt
From: doliver at hampshire.edu (Dylan Oliver )
Date: Sat, 24 Feb 2001 20:26:36 -0600
Subject: [ic] Redirecting output of Interchange
On Sat, 24 Feb 2001 19:31:01 -0500
cfm@maine.com wrote:
> We did something like that a few years ago using WN Server and its
> filter syntax. Probably for the same reasons, we wanted to incorporate
> minivend better in our site building tools. It worked, it got messy
> and we gave up because we found it **much** easier to turn it around and
> build minivend pages with our site builder instead. That helped
> **enormously** both with the minivend syntax and maintenance.
Can you expand on how you used your site builder - how I can use Mason -
to build Interchange pages. Do you mean that you passed pages through your
site builder and then Interchange? And if so, how can I insert Mason in
the Interchange process?
--
Dylan Oliver
Do you know how little you know?
From: cfm at maine.com (cfm at maine.com )
Date: Sat, 24 Feb 2001 21:51:32 -0500
Subject: [ic] Redirecting output of Interchange
On Sat, Feb 24, 2001 at 08:26:36PM -0600, Dylan Oliver wrote:
> On Sat, 24 Feb 2001 19:31:01 -0500
> cfm@maine.com wrote:
>
> > We did something like that a few years ago using WN Server and its
> > filter syntax. Probably for the same reasons, we wanted to incorporate
> > minivend better in our site building tools. It worked, it got messy
> > and we gave up because we found it **much** easier to turn it around and
> > build minivend pages with our site builder instead. That helped
> > **enormously** both with the minivend syntax and maintenance.
>
> Can you expand on how you used your site builder - how I can use Mason -
> to build Interchange pages.
I've not used Mason, only know it by name. It's on my list of things
to look at and steal feature from. :-)
> Do you mean that you passed pages through your site builder and then Interchange?
Yes. We do it both static and dynamic.
> And if so, how can I insert Mason in
> the Interchange process?
Something like this is how we build a typical minivend page:
[embed]
{
use My:Masonry;
my(@OUT);
@OUT=@{&My:Masonry::routines(my_args)};
return join '',@OUT; # You don't have a DTD yet.
# return &My::DTD(\%opt,\@OUT); # Highly recommended alternative
}
[/embed]
I do not know how fast Mason might be. You may need to modify:
[embed]
{
use My:Masonry;
my(@OUT);
push @OUT,qq`[file name='include some/file/mason/builds/every/two/hours']
@OUT=@{&My:Masonry::routines(my_args)};
push @OUT,qq`[file name='include another/file/mason/builds/every/day']
return join '',@OUT;
# return &MV::SC::dtd(\%opt,\@OUT); # Highly recommended alternative
}
[embed]
For minivend content within a static structure:
<BODY>
my
static
table
structure
is
here
#include my minivend code (the [embed]...[/embed] part above)
and
finish
my static
structure
</BODY>
and build THAT as a static file.
--
If any of that even makes sense to you I'd be happy to help you
out further :-). Of course, if it does make sense, then you can
probably help _me_.
Best,
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: murahashi at ayayu.com (Shozo Murahashi )
Date: Sun, 25 Feb 2001 12:14:23 +0900
Subject: [ic] Undefined catalog error on RAQ3
I know that here are similar discussions on this list, but I can't find
the clear solution yet.
When enter as customer or administrator from index.html page, 404 File
not found and undefined catalog in error.log.
I'm installed Interchange as a user 'main'.
In error.log below, I think the path is incorrect.
/main/cgibin/outdoor-w.cgi/index.html/main/cgibin/outdoor-w.cgi/index.ht
ml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The above part should be removed. How can I do to remove this?
error.log
- - - [25/2/2001:10:25:43 +0900] - - STOP server (32710) on signal TERM
- - - [25/2/2001:10:25:49 +0900] - - Low traffic settings.
- - - [25/2/2001:10:25:49 +0900] - - Calling UI....
- - - [25/2/2001:10:25:50 +0900] - - ...UI is loaded....
- - - [25/2/2001:10:25:50 +0900] - - Interchange V4.6.3
- - - [25/2/2001:10:25:50 +0900] - - Config 'outdoor-w' at server
startup
- - - [25/2/2001:10:25:50 +0900] - - Using default DBM database.
- - - [25/2/2001:10:25:50 +0900] - - START server (913) (UNIX)
- - - [25/2/2001:10:25:52 +0900] - - START server (940) (UNIX)
211.124.191.118 - - [25/2/2001:10:26:09 +0900] -
/main/cgibin/outdoor-w.cgi/in
dex.html/main/cgibin/outdoor-w.cgi/index.html Undefined catalog:
/main/cgibin/ou
tdoor-w.cgi/index.html
211.124.191.118 - - [25/2/2001:10:26:23 +0900] -
/main/cgibin/outdoor-w.cgi/ab
outus.html/main/cgibin/outdoor-w.cgi/aboutus.html Undefined catalog:
/main/cgibi
n/outdoor-w.cgi/aboutus.html
My makecat session is as follows. Interchange server is running now.
Catalog name? outdoor-w
Enter path to httpd.conf file: /etc/admserv/conf/httpd.conf
Server name? www.outdoor-w.com
DemoType? construct
MailOrderTo? main
CatRoot? /home/sites/home/users/main/catalogs/outdoor-w
CgiDir? /home/sites/home/users/main/web/cgibin
CgiUrl? /users/main/cgibin/outdoor-w.cgi
Aliases? /outdoor-w
DocumentRoot? /home/sites/home/users/main/web
SampleHtml? /home/sites/home/users/main/web/outdoor-w
ImageDir? /home/sites/home/users/main/web/outdoor-w/images
ImageUrl? /users/main/outdoor-w/images
INET or UNIX mode? UNIX
Do you use CGIWRAP or SUEXEC? y
...
...
From: doliver at hampshire.edu (Dylan Oliver )
Date: Sat, 24 Feb 2001 23:16:31 -0600
Subject: [ic] Redirecting output of Interchange
On Sat, 24 Feb 2001 21:51:32 -0500
cfm@maine.com wrote:
> I've not used Mason, only know it by name. It's on my list of things
> to look at and steal feature from. :-)
See www.masonhq.com. It gives me a warm, fuzzy feeling, and I don't use a
tenth of what it offers. Perhaps Interchange's authors could borrow a few
features or facilitate integration? With Mason, for instance, an
"autohandler" in your documentroot will apply to every top-level component
(like index.html) under it (unless disabled), and each directory can use
its own which can inherit from the higher-level autohandler or stand on
its own. When you're using @_LEFTONLY_TOP_@ in most pages, it's easier to
put it in an autohandler and disable it for the few pages that don't use
it. Nice, nice, nice.
> > Do you mean that you passed pages through your site builder and then
Interchange?
>
> Yes. We do it both static and dynamic.
>
> > And if so, how can I insert Mason in
> > the Interchange process?
>
> Something like this is how we build a typical minivend page:
I'll have to take time to sort this out; I'm new to perl and dtd's. It
occurs to me, though, that I'd rather put the embedded call to HTML::Mason
in an Interchange template than add the whole call to each page (though
I'll still have to include a call to the template in each page - too bad
there's no autohandler!). And Mason's cacheing features should make the
'include
some/file/mason/builds/every/two/hours' a cinche.
Still, I'd like to look into piping Interchange's output through Mason's
handler.cgi. I don't see a mess in that. It's very simple, really -
Interchange receives a request for a page, say
/cgi-bin/catalog/index.html, parses it, passes the result to Mason's
handler.cgi, and it's then parsed as any other component. So all I have
to do, it seems, is redirect the output of /cgi-bin/catalog from what?
Apache? to /cgi-bin/handler.cgi. Can't be that hard! So how do I do that?
--
Dylan Oliver
Do you know how little you know?
From: any at youwillsave.com (any at youwillsave.com )
Date: Sat, 24 Feb 2001 23:47:46 -0800
Subject: [ic] Help?
Can someone tell me what this means? Tie::Watch not found. Minor:
cannot set watch points in catalog.cfg
From: alex at integricity.com (Alex Lam )
Date: Sun, 25 Feb 2001 18:43:14 +0800
Subject: [ic] products.txt regeneration
Hi guys,
Can I just ask when the products.txt file is updated by akopia?
I just imported some data from an external tab delimited file and want
to access some of the fields, but it doesn't seem to happen 'coz the
changes are not reflected in the products.txt file
Best regards,
Alex Lam
Integricity Corporation Sdn. Bhd.
Mobile : +6017-8800044
E-mail : alex@integricity.com
From: ven at pragakhan.com (Victor Nolton )
Date: Sun, 25 Feb 2001 08:40:03 -0500
Subject: [ic] Splitting a description
Been hunting for help with this all night.
Need to take the [item-description] and split it in half so I can put
half the description down one column and the other half down the
other.
Basically I guess I'd have to wc the entry, split that number in
half, if the halfway point lands on a word, move to the end of the
word then insert a </td><td>
Has anyone ever done this?
Ven
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: joe_frame at hotmail.com (Joe Frame )
Date: Sun, 25 Feb 2001 15:20:05 -0000
Subject: [ic] Build new catalog problem
Hello,
I have a problem building a new catalog.
Using Interchange 4.6.4
Running on Linux.
I successfully built one version of catalog 'construct' as-is.
Next I built a catalog called 'testit' which is 'contruct' but uses MySQL.
Now I tried to build another catalog with minor changes in the products.txt
file.
For some reason bin/makecat has stopped working.
makecat stops midway through the installation and appears to hang.
I answer all questions up to "ImageURL?". Fill this in and hit enter.
It doesn't respond.
When I was able to build catalogs the first couple of times the next
question should be "INET or UNIX mode?"
How can I debug this? I don't see any entries in the error.log file.
Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: harold_tolami at hotmail.com (Harold Tolami )
Date: Sun, 25 Feb 2001 16:23:52 -0000
Subject: [ic] Install problem. Please help
I wanted to test using Interchange.
I downloaded version 4.6.3
When I run ./configure I get this error:
opendir(./../../..): Permission denied at
/usr/local/lib/perl5/5.6.0/FindBin.pm
line 143
Can't write uid file: Permission denied
make: *** [mv_install] Error 13
A lot of files get copied, but it doesn't look right.
Do I need admin privilege for files somewhere?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: goombah at netcom.ca (Tim Murphy )
Date: Sun, 25 Feb 2001 11:37:22 -0500
Subject: [ic] Simple if-then to compare checkout page variable to updated variable after page update? What am I doing wrong?
Apologies for the previous HTML...fixed the formatiing...
Hello all,
After staring at the screen trying to figure out my undoubtedly dumb
mistake, I'm cross-eyed and need another head or three to look at this and
point out my thickiness. I am attempting to set a scratch variable to the
value of the form variable "country" on the checkout page. Then after
someone has updated the shipping info and the page hs been resubmitted I
want to compare the scratch variable containing the pre-update country value
to the just-submitted new country value, and then of course set the scratch
variable to this most recent value for further comparisons. I thought I
understood the sequence of processing an Interchange page but I must be
missing something. It seems to me that the comparison between the old
country value (in a scratch variable) and the newly updated form country
value should proceed before the scratch variable is updated with the new
country value, but my comparison ALWAYS returns true, that they are equal.
This is a code snippet:
FIRST VISIT TO PAGE?
[if !scratch visitcount]
[perl]
$Values->{country} = CA0;
$Values->{state} = QC;
$Values->{mv_shipmode} = "can_a";
$Scratch->{visitcount} = 1;
$Scratch->{previouscountry} = $Values->{country};
return "FIRST VISIT.\n";
[/perl]
[else]
PROBLEM HERE:
[perl]
$prevcountry = $Scratch->{previouscountry};
$country = $Values->{country};
-------> if("$prevcountry" eq "$country") { <------- ALWAYS TRUE, WHEN
DOES FORM VARIABLE "COUNTRY" GET NEW VALUE?
$info = "COUNTRY NOT CHANGED, previous country is " .
$Scratch->{previouscountry} . " and current country is
$Values->{country}.\n";
$info;
}
else {
if("$Values->{country}" eq "CA0") {
$Values->{state} = "QC";
$Values->{zip} = "";
$Values->{mv_shipmode} = "can_a";
$info = "COUNTRY SET TO CANADA, previous country is " .
$Scratch->{previouscountry} . " and current country is
$Values->{country}.\n";
$info;
$Scratch->{previouscountry} = $Values->{country};
}
elsif("$Values->{country}" eq "US0") {
$Values->{mv_shipmode} = "can_us_a";
$Values->{salestax} = "";
$Values->{state} = "NJ0";
$Values->{zip} = "";
$info = "COUNTRY SET TO US, previous country is " .
$Scratch->{previouscountry} . " and current country is
$Values->{country}.\n";
$info;
$Scratch->{previouscountry} = $Values->{country};
}
else {
$Values->{mv_shipmode} = "can_intl_a";
$Values->{salestax} = "";
$Values->{state} = "";
$Values->{zip} = "";
$info = "COUNTRY SET TO INT, previous country is " .
$Scratch->{previouscountry} . " and current country is
$Values->{country}.\n";
$info;
$Scratch->{previouscountry} = $Values->{country};
}
}
[/perl]
[/else]
[/if]
I just can't see why something that seems so simple isn't working, which
means it's time for wiser heads to prevail. Could someone take a moment to
correct either my understanding of the whole page processing operations or
(I hope) point out a really dumb error?
Thank you,
Tim
From: chris at vanoosterhout.com (Christopher VanOosterhout )
Date: Sun, 25 Feb 2001 12:50:33 -0500
Subject: [ic] Help? --- Perl Module Questions and Answers
It sounds as if you are missing the Perl module Tie::Watch. I have been
having a problem with a similar issue (and I still am to some extent). If
you are not familiar with how to install new Perl modules, there is a
utility I recently found called CPAN that (if installed on your computer)
should automatically go out to one of the Perl CPAN mirror sites, retrieve
the module and install it for you.
You may want to try the following command to see if you have this
functionality:
perl -MCPAN -e 'install Tie::Watch'
It should tell you if it can (and with this command -- if installed -- it
will install it) be installed or it already is.
Now here is the caveat that I was asking the list about yesterday ...
: Even after I ran this command and the additional modules where all
installed (and later confirmed using the MCPAN system, my admin area still
says some of these modules are not found by Interchange. My question was
and still IS ... is there anything I have to do to activate these? I mean
... why is Interchange still saying these modules are needed when the CPAN
system verifies that they are installed and up to date?
What am I doing wrong?
Christopher
At 11:47 PM 2/24/2001 -0800, any@youwillsave.com wrote:
>Can someone tell me what this means? Tie::Watch not found. Minor:
>cannot set watch points in catalog.cfg
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: webmaster at seeshopgo.com (Craig A. Carman )
Date: Sun, 25 Feb 2001 12:10:22 -0600
Subject: [ic] GDBM.pm error in interchange/error.log
Ok, I'm I am a well studied enough to be dangerous, but, yes, yet a newbie
to interchange.
Ok, I'm beaten, I give, I'm asking for help!
My scenario:
I have installed as a user on a virtual server. Then created the construct
catalog with makecat. After finally getting the configuration correct
enough to successfully log into the admin screen I get an "Internal Server
Error" reply when I select an option from there such as "Administration"
The interchange/error.log entry is as follows:
209.205.191.97 oxib5UTh:209.205.191.97 - [25/February/2001:12:13:21 -0500]
construct /construct.cgi/admin/merchandising.html Runtime error: couldn't
init cache at /mnt/web/guide/ecomyes/interchange/lib/Vend/Table/GDBM.pm line
107.
What can I do to overcome this error?
The permissions on GDBM.pm are 444 (read, read, read) similar to other .pm
files. Is this enough info for someone to see my problem?
Thanks,
Craig Carman
From: mikeh at minivend.com (Mike Heins )
Date: Sun, 25 Feb 2001 13:20:57 -0500
Subject: [ic] GDBM.pm error in interchange/error.log
Quoting Craig A. Carman (webmaster@seeshopgo.com):
>
> Ok, I'm I am a well studied enough to be dangerous, but, yes, yet a newbie
> to interchange.
> Ok, I'm beaten, I give, I'm asking for help!
>
> My scenario:
> I have installed as a user on a virtual server. Then created the construct
> catalog with makecat. After finally getting the configuration correct
> enough to successfully log into the admin screen I get an "Internal Server
> Error" reply when I select an option from there such as "Administration"
>
> The interchange/error.log entry is as follows:
> 209.205.191.97 oxib5UTh:209.205.191.97 - [25/February/2001:12:13:21 -0500]
> construct /construct.cgi/admin/merchandising.html Runtime error: couldn't
> init cache at /mnt/web/guide/ecomyes/interchange/lib/Vend/Table/GDBM.pm line
> 107.
>
> What can I do to overcome this error?
>
This looks like one of:
1. You don't have write permission somewhere necessary, like
your catalog directory.
2. Bogus installation of GDBM on your "virtual server".
"Virtual server" has no meaning. You might want to let people in on the
results of a "uname -a" command.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: roee at irubin.com (Roee Rubin )
Date: Sun, 25 Feb 2001 10:27:02 -0800
Subject: [ic] New to Interchange
Hello,
I recently downloaded Interchange and could not find a definite answer to
whether or not Interchange CAN run on Windows platform. Specifically, on
Windows 2000 running IIS with Perl 5.6 .
Unfortunately, switching to Linux - Unix is not an option.
Thanks in advance.
Roee Rubin
roee@irubin.com
From: webmaster at seeshopgo.com (Craig A. Carman )
Date: Sun, 25 Feb 2001 12:46:59 -0600
Subject: [ic] GDBM.pm error in interchange/error.log
w152:/mnt/web/guide/ecomyes/interchange#uname -a
BDS/OS w152.web2010.com 4.0.1 BSDI BSD/OS 4.0 i386 unknown
then came back to # prompt
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mike Heins
Sent: Sunday, February 25, 2001 12:21 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] GDBM.pm error in interchange/error.log
Quoting Craig A. Carman (webmaster@seeshopgo.com):
>
> Ok, I'm I am a well studied enough to be dangerous, but, yes, yet a newbie
> to interchange.
> Ok, I'm beaten, I give, I'm asking for help!
>
> My scenario:
> I have installed as a user on a virtual server. Then created the
construct
> catalog with makecat. After finally getting the configuration correct
> enough to successfully log into the admin screen I get an "Internal Server
> Error" reply when I select an option from there such as "Administration"
>
> The interchange/error.log entry is as follows:
> 209.205.191.97 oxib5UTh:209.205.191.97 - [25/February/2001:12:13:21 -0500]
> construct /construct.cgi/admin/merchandising.html Runtime error: couldn't
> init cache at /mnt/web/guide/ecomyes/interchange/lib/Vend/Table/GDBM.pm
line
> 107.
>
> What can I do to overcome this error?
>
This looks like one of:
1. You don't have write permission somewhere necessary, like
your catalog directory.
2. Bogus installation of GDBM on your "virtual server".
"Virtual server" has no meaning. You might want to let people in on the
results of a "uname -a" command.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: mikeh at minivend.com (Mike Heins )
Date: Sun, 25 Feb 2001 13:45:15 -0500
Subject: [ic] Undefined catalog error on RAQ3
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Quoting Shozo Murahashi (murahashi@ayayu.com):
> In error.log below, I think the path is incorrect.
>
> /main/cgibin/outdoor-w.cgi/index.html/main/cgibin/outdoor-w.cgi/index.ht
> ml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The above part should be removed. How can I do to remove this?
> /main/cgibin/outdoor-w.cgi/in
> dex.html/main/cgibin/outdoor-w.cgi/index.html Undefined catalog:
> /main/cgibin/ou
> tdoor-w.cgi/index.html
> 211.124.191.118 - - [25/2/2001:10:26:23 +0900] -
> /main/cgibin/outdoor-w.cgi/ab
> outus.html/main/cgibin/outdoor-w.cgi/aboutus.html Undefined catalog:
> /main/cgibi
> n/outdoor-w.cgi/aboutus.html
>
>
> My makecat session is as follows. Interchange server is running now.
>
> Catalog name? outdoor-w
> Enter path to httpd.conf file: /etc/admserv/conf/httpd.conf
> Server name? www.outdoor-w.com
> DemoType? construct
> MailOrderTo? main
> CatRoot? /home/sites/home/users/main/catalogs/outdoor-w
> CgiDir? /home/sites/home/users/main/web/cgibin
> CgiUrl? /users/main/cgibin/outdoor-w.cgi
> Aliases? /outdoor-w
> DocumentRoot? /home/sites/home/users/main/web
> SampleHtml? /home/sites/home/users/main/web/outdoor-w
> ImageDir? /home/sites/home/users/main/web/outdoor-w/images
> ImageUrl? /users/main/outdoor-w/images
> INET or UNIX mode? UNIX
> Do you use CGIWRAP or SUEXEC? y
This looks like the server is mangling the PATH_INFO and SCRIPT_NAME,
which particularly happens on Cobalt systems.
> CgiUrl? /users/main/cgibin/outdoor-w.cgi
looks wrong. But I cannot tell. It looks like there is a very strange
web server setup. It is just a question of getting SCRIPT_NAME and
PATH_INFO right -- you might experiment with the attached test-cgi
script.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=test-cgi
#!/bin/sh
echo Content-type: text/plain
echo
echo CGI/1.0 test script report:
echo
echo argc is $#. argv is "$*".
echo
echo SERVER_SOFTWARE = $SERVER_SOFTWARE
echo SERVER_PROTOCOL = $SERVER_PROTOCOL
echo SERVER_NAME = $SERVER_NAME
echo SERVER_PORT = $SERVER_PORT
echo HTTP_FROM = $HTTP_FROM
echo HTTP_REFERRER = $HTTP_REFERRER
echo HTTP_ACCEPT = "$HTTP_ACCEPT"
echo HTTP_USER_AGENT = $HTTP_USER_AGENT
echo
echo PATH = $PATH
echo GATEWAY_INTERFACE = $GATEWAY_INTERFACE
echo REQUEST_METHOD = $REQUEST_METHOD
echo PATH_INFO = $PATH_INFO
echo PATH_TRANSLATED = $PATH_TRANSLATED
echo SCRIPT_NAME = $SCRIPT_NAME
echo QUERY_STRING = $QUERY_STRING
echo REMOTE_HOST = $REMOTE_HOST
echo REMOTE_ADDR = $REMOTE_ADDR
echo REMOTE_USER = $REMOTE_USER
echo REMOTE_IDENT = $REMOTE_IDENT
echo AUTH_TYPE = $AUTH_TYPE
echo CONTENT_TYPE = $CONTENT_TYPE
echo CONTENT_LENGTH = $CONTENT_LENGTH
echo
echo
--Dxnq1zWXvFF0Q93v--
From: mheins at redhat.com (Mike Heins )
Date: Sun, 25 Feb 2001 13:47:46 -0500
Subject: [ic] New to Interchange
Quoting Roee Rubin (roee@irubin.com):
> Hello,
>
> I recently downloaded Interchange and could not find a definite answer to
> whether or not Interchange CAN run on Windows platform. Specifically, on
> Windows 2000 running IIS with Perl 5.6 .
Nope. And not likely to be supported either -- it would depend on
Windows *really* complying with POSIX. If that happened, I could perhaps
see my way clear if Red Hat let me spend the time.
In other words, the chance of support is so close to zero as not
to be mentionable.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: webmaster at seeshopgo.com (Craig A. Carman )
Date: Sun, 25 Feb 2001 13:08:50 -0600
Subject: [ic] GDBM.pm error in interchange/error.log
Mike,
I found one of your old posts that got me past that problem. The bash
suggestion is what worked. I can now navigate freely through the admin
pages. Frankly, i guess it went over my head,
can you tell me what you had me do?
And, is that the end of this problem or just a temporary solution?
Thanks,
Craig
+++++++++++Previous Post Pasted Here+++++++++++=
[ic] GDBM.pm HELP PLEASE!!!
Mike Heins mikeh@minivend.com
Mon, 2 Oct 2000 16:59:26 -0400
Previous message: [ic] GDBM.pm HELP PLEASE!!!
Next message: [ic] GDBM.pm HELP PLEASE!!!
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----------------------------------------------------------------------------
----
Quoting Jeff Case (jeff_case@hotmail.com):
> I just spoke with my host, who suggested I write to this usergroup.
>
> Interchange (4.5.5) is failing (error.log points to GDBM.pm lines 69 &
107)
> during various tasks. Most recently this involves a mySQL-based catalog
and
> fails during checkout only.
>
> My host said that it appears GDBM.pm wants to write to the physical
cache -
> something which only the system admin has permission to do.
This is simply wrong.
I suggest you try this:
setenv MINIVEND_DBFILE 1
bin/restart
(or on bash):
MINIVEND_DBFILE=1
export MINIVEND_DBFILE
bin/restart
to remove GDBM from the equation.
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mike Heins
Sent: Sunday, February 25, 2001 12:21 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] GDBM.pm error in interchange/error.log
Quoting Craig A. Carman (webmaster@seeshopgo.com):
>
> Ok, I'm I am a well studied enough to be dangerous, but, yes, yet a newbie
> to interchange.
> Ok, I'm beaten, I give, I'm asking for help!
>
> My scenario:
> I have installed as a user on a virtual server. Then created the
construct
> catalog with makecat. After finally getting the configuration correct
> enough to successfully log into the admin screen I get an "Internal Server
> Error" reply when I select an option from there such as "Administration"
>
> The interchange/error.log entry is as follows:
> 209.205.191.97 oxib5UTh:209.205.191.97 - [25/February/2001:12:13:21 -0500]
> construct /construct.cgi/admin/merchandising.html Runtime error: couldn't
> init cache at /mnt/web/guide/ecomyes/interchange/lib/Vend/Table/GDBM.pm
line
> 107.
>
> What can I do to overcome this error?
>
This looks like one of:
1. You don't have write permission somewhere necessary, like
your catalog directory.
2. Bogus installation of GDBM on your "virtual server".
"Virtual server" has no meaning. You might want to let people in on the
results of a "uname -a" command.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: mikeh at minivend.com (Mike Heins )
Date: Sun, 25 Feb 2001 14:55:25 -0500
Subject: [ic] GDBM.pm error in interchange/error.log
Quoting Craig A. Carman (webmaster@seeshopgo.com):
> Mike,
> I found one of your old posts that got me past that problem. The bash
> suggestion is what worked. I can now navigate freely through the admin
> pages. Frankly, i guess it went over my head,
>
> can you tell me what you had me do?
Bypass the preferred GDBM database library in favor of the
not-so-good-for-Interchange DB_File.
I would make sure you start using MySQL or some other SQL post-haste,
if you haven't already. DB_File is not a realistic database for a
production environment. (For reasons I will not go into, even if asked.)
>
> And, is that the end of this problem or just a temporary solution?
It is the end for now as long as you always set that in your
environment before starting/restarting IC.
I am guessing it is not the end forever, for your Perl installation
looks to be bad. That is usually nothing but problems down the line.
It could be that the only bad part of the installation is GDBM, but
I wouldn't bet on it.
The longer things appear to work for you the better the chance you
are OK.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: rapier at psc.edu (Chris Rapier )
Date: Sun, 25 Feb 2001 22:04:05 -0500
Subject: [ic] Cybercash and minivend
So just a quick survey...
Do you need to jump through as many hoops to get cybercash to work with
interchange as you did with minivend or is it a better out of the box
experience?
From: rapier at psc.edu (Chris Rapier )
Date: Sun, 25 Feb 2001 22:29:20 -0500
Subject: [ic] Splitting a description
Victor Nolton wrote:
>
> Been hunting for help with this all night.
>
> Need to take the [item-description] and split it in half so I can put
> half the description down one column and the other half down the
> other.
>
> Basically I guess I'd have to wc the entry, split that number in
> half, if the halfway point lands on a word, move to the end of the
> word then insert a </td><td>
>
> Has anyone ever done this?
It would be easier to do it in perl. The easy way, but not as precise,
$line ="The quick brown fox jumps over the lazy dogs";
@words = split /\ /, $line;
$midpoint = int((scalar @words)/2)+1;
for ($i;$i <= $#words; $i++) {
if ($i == $midpoint) { print "\n";}
print "$words[$i] ";
}
print "\n";
I'm sure there is a better way to do this with splice but I'm really too
tired to look it up right now. The way this is set up the 1st line
should generally be a little longer than the 2nd line.
A much more accurate way to do it would be to do this:
$line ="Now is the time that all good men came to the aid of their
party";
@letters = split //, $line;
$midpoint = int((scalar @letters)/2);
for ($i; $i <= $#letters; $i++) {
if ($i == $midpoint) {
while ($letters[$i] ne " ") {
print "$letters[$i]";
$i++;
}
print "\n";
$i++;
}
print "$letters[$i]";
}
print "\n";
Which does the break down by the total character length of the line. The
trick is the while loop which goes to the mid point and then seeks
forward until it finds a space. Once it finds the space then it prints
the line break but not before it. Again, there is probably a better way
to do this by splices or substrings but again, this took 5 minutes of
thought which is all I can afford to spare at the moment.
Making it work in interchange/minivend is trivial.
Good luck,
Chris Rapier
man of la mancha
From: any at youwillsave.com (any at youwillsave.com )
Date: Sun, 25 Feb 2001 21:32:06 -0800
Subject: [ic] Help?
Thanks for the advise Chris but all that happened when I entered the
command(perl -MCPAN -e 'install Tie::Watch') is it tried to install
something but could not? I'm not even sure if this possible error
(Tie::Watch not found. Minor: cannot set watch points in catalog.cfg.)
is the cause of my problem which is: I can not cross-sell or quantity
sell any item? When I click on either of these all that comes up is the
ok/cancel screen and when I click on no meta display it goes to the edit
screen? Help please. Everything else seems to be working fine. I really
just need the cross-sell option to work. Thank you in advance to whom
ever!
From: mikeh at minivend.com (Mike Heins )
Date: Sun, 25 Feb 2001 22:52:14 -0500
Subject: [ic] Help?
Quoting any@youwillsave.com (any@youwillsave.com):
> Thanks for the advise Chris but all that happened when I entered the
> command(perl -MCPAN -e 'install Tie::Watch') is it tried to install
> something but could not? I'm not even sure if this possible error
> (Tie::Watch not found. Minor: cannot set watch points in catalog.cfg.)
> is the cause of my problem which is: I can not cross-sell or quantity
> sell any item?
That is definitely not the problem. Tie::Watch is simply not needed
unless you are doing some things where you would know it was needed.
I will take that message out of admin in the next release. It is
*really* minor, which I thought would get across to people in the
message. Apparently not. 8-\
> When I click on either of these all that comes up is the
> ok/cancel screen and when I click on no meta display it goes to the edit
> screen? Help please. Everything else seems to be working fine. I really
> just need the cross-sell option to work. Thank you in advance to whom
> ever!
>
This is usually a database problem, or a catalog coming from a version
lower than 4.6.3 where a variable is not defined properly. There should
be an error log entry and a notation in the 4.6.3 WHATSNEW file about
what the problem really is with that.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Any man who is under 30, and is not liberal, has not heart; and any man
who is over 30, and is not a conservative, has not brains.
-- Winston Churchill
From: agree at godzone.net.nz (Glen and Rosanne Eustace )
Date: Mon, 26 Feb 2001 17:01:51 +1300
Subject: [ic] Holding and then retrieving a variable.
I have a some code which includes the following, I thought it used to
work in MV4 but it certainly doesn't in IC. How is one supposed to do
this ?
[calc]
...
$MyFreeItems .= [item description] . "\n";
...
[set myfreeitem]$MyFreeItems[/set]
[/calc]
in another part of etc/report I had
[scratch myfreeitem]
I get the literal '$MyFreeItem' in the order not the list I had build
up.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=
Glen and Rosanne Eustace,
GodZone Internet Services, a division of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand 5301
Ph/Fax: +64 6 357 8168, Mob: +64 21 424 015
From: any at youwillsave.com (any at youwillsave.com )
Date: Sun, 25 Feb 2001 22:25:48 -0800
Subject: [ic] Help?
Ok Mike, thanks. At least you have eliminated (Tie::Watch not found.
Minor: cannot set watch points in catalog.cfg.) as the problem and saved
me alot of wasted time!
Now this may be a stupid question to you but not to me; where is the
"WHATSNEW" file located?
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Mon, 26 Feb 2001 01:46:44 -0500
Subject: [ic] Quantity pricing
Hello,
I've been searching quite a bit tonight, and can't seem to find the answer to these questions. Hopefully someone here will be able to help.
#1. In the CONSTRUCT demo, quantity pricing is set to only work for "dealers". I want quantity pricing to work for all customers. It appears that the config is in the catalog.cfg file, but what do I
modify here?
#2. Also in CONSTRUCT.. how do I not only add a fixed dollar amount to shipping charges, but also mark them up by a certain percentage?
Thanks.
Bob
From: ernaldi at agoes.com (Ernaldi Agoes )
Date: Mon, 26 Feb 2001 14:44:42 -0800
Subject: Re[2]: [ic] CONSTRUCT - docs?
Hi,
I have problem installing interchange
why link on http://www.agoes.com/construct did not work? I already
followed all steps. By the way, i'm using reguler user not RPM.
Rgds,
Ernaldi
From: res087jh at verizon.net (Dan Garwood )
Date: Mon, 26 Feb 2001 03:15:53 -0500
Subject: [ic] Can't see New Tables in admin interface
First things first. Are you using Mysql or the IC database? Second There are
other files that are need for the UI in interchange to see and recognize
tables. You need to look in the dbconf directory and also the products
directory. After any changes, it is always a good idea to restart
interchange on the command prompt or the apply changes in the UI.
Dan
----- Original Message -----
From: <kamus@adinet.com.uy>
To: <interchange-users@lists.akopia.com>
Sent: Saturday, February 24, 2001 10:55 AM
Subject: [ic] Can't see New Tables in admin interface
> Hello everybody!
>
> This is my first message.. I'm a bit nervous :)
>
> I have created a Table named "marcas" in the database. It's almost all
> fine with that, except that I cannot modify or insert new records. Just
> delete them (????). I can see this table in the admin.
>
> Then, I tried to create another table named "ultima". It worked fine.
> Interchange created the table as defined, but I can't see this table in
> the list of table of the admin.
>
> Well I did a 3rd try with another table, but I still can't see it. I know
> it's created and I can insert and delete records from a web mysql admin,
> but not from the interchage admin interface.
>
> Well if anybody knows what can be happening, please tell me :)
>
> I'm using mysql... any hints ?
>
> Thanks,
>
> kAmuS
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: support at integricity.com (Integricity Support Team )
Date: Mon, 26 Feb 2001 16:34:20 +0800
Subject: [ic] Purpose of products.txt
Hi,
I'm not too sure about this, but why is there a products.txt file in
addition to the data in the database? Is it not more efficient to read
it off one or the other, rather than having to sync and keep both the
same?
I refer to this because I just imported some data I entered using
Excel and it sure works out great, but when I tried to access some
fields, it doesn't happen.
Thanks,
Alex
From: stbain at cyberweight.com (Stuart Bain )
Date: Mon, 26 Feb 2001 03:38:53 -0500
Subject: [ic] ISP Installation
Thanks to the lack of broadband in my area, my website is hosted by a
service provider. My site is hosted on a respectably beefy box running Linux
(RedHat 6.2). If I convince them to install the Perl modules
(Bundle::Interchange and Bundle::DBI), will I be able to install and use
Interchange. I have access to the MySQL database, and I'll have to ask about
running the background process. My concern is whether or not I need root
access.
They offer Commerce.cgi as one of their "ready to use" scripts. How hard
would it be to enable multiple clients of theirs to use Interchange instead.
Perhaps they could run one Interchange background process for all of their
e-commerce enabled users.
Comments? Suggestions?
-- stbain
From: dave at wave.no (David T. Watson )
Date: Mon, 26 Feb 2001 12:31:10 +0100
Subject: [ic] Setting the Locale inside the html.
I would like to set two settings for my one catalog.
One is English text/Norwegian prices, the other is Norwegian
text/Norwegian prices.
Are the only methods for this "string substitution" English
text<->Norwegian text
and/or create separate directories "/en_NO" and "/no_NO" and create
separate files?
Another question is about:
Type of payment and Shipping to different locales?
From: davidb at communitylink.com (davidb )
Date: Mon, 26 Feb 2001 07:56:43 -0600
Subject: [ic] MAC data encryption error
I'm still having a problem with the mac encryption error w/ IE5 for mac.
Any ideas or suggestions?
From: jason at sohonetworks.cc (Jason Osborne )
Date: Mon, 26 Feb 2001 08:01:58 -0600
Subject: [ic] Adding report to admin interface
I had a quick question, I am wanting to add a report into the admin
interface but I can't find the directory that the files are stored under. I
installed everything under /usr/local/interchange and set the construct
program up under /home/rage. I am trying to add the report so I can test
some functionality before switching over. Any ideas?
From: rene at hertell.com (Rene Hertell )
Date: Mon, 26 Feb 2001 16:12:26 +0200 (EET)
Subject: [ic] Adding report to admin interface
I guess that the pages you are lookin for under
interchange/lib/UI/pages/admin
René
On Mon, 26 Feb 2001, Jason Osborne wrote:
> Date: Mon, 26 Feb 2001 08:01:58 -0600
> From: Jason Osborne <jason@sohonetworks.cc>
> Reply-To: interchange-users@lists.akopia.com
> To: Interchange <interchange-users-admin@lists.akopia.com>,
Interchange Mailing List <interchange-users@lists.akopia.com>
> Subject: [ic] Adding report to admin interface
>
> I had a quick question, I am wanting to add a report into the admin
> interface but I can't find the directory that the files are stored under. I
> installed everything under /usr/local/interchange and set the construct
> program up under /home/rage. I am trying to add the report so I can test
> some functionality before switching over. Any ideas?
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: chris at vanoosterhout.com (Christopher VanOosterhout )
Date: Fri, 23 Feb 2001 16:32:02 -0500
Subject: [ic] Getting 404 Errors and Undefined catalog: /cgi-bin/westerbeke
Greetings,
I just started to use the Interchange system and it looks like it is a
great system. I am however a little hung up on one issue.
I created the standard template store (construct) and most everything went
fine. However when I went back to create another store I completed the
process ... then went to the resulting URL:
http://66.70.15.170/cgi-bin/westerbeke I get errors ...
http://66.70.15.170/cgi-bin/construct works like a gem ... and everything
is set up just alike ... except for the catalog name (and the resulting
directories, etc.)
Here is the problem ... when I go to http://66.70.15.170/cgi-bin/westerbeke
in Internet Explorer ... I get 404 Not Found error ... however when I go to
the same URL in Netscape I get a page that only says: Undefined catalog:
/cgi-bin/westerbeke
This seems awful strange that it comes back two different ways in different
browsers. Either way it is not working. Does anyone have any idea why
construct would work just fine but by version (I simply replaced the word
construct with westerbeke when makecat asked me for input) does not.
Christopher VanOosterhout
From: wsung at supercharge.net (Wing-Tat Sung )
Date: Tue, 27 Feb 2001 00:24:13 +1000
Subject: [ic] installing.....
Hi,
I would like to install interchange into my virtual server. However, I
don't have root access. Can I still do it? Any idea?..... Actually, I am
a beginner. Please give me some advice.
Wing-Tat Sung
From: jonc at webmaint.com (Jonathan Clark )
Date: Mon, 26 Feb 2001 14:10:15 -0000
Subject: [ic] Adding report to admin interface
you can override admin pages on a per catalog basis by putting them in the
catroot/pages/admin/ directory within your catalog structure.
have fun
Jonathan
Webmaint.
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jason
> Osborne
> Sent: 26 February 2001 14:02
> To: Interchange; Interchange Mailing List
> Subject: [ic] Adding report to admin interface
>
>
> I had a quick question, I am wanting to add a report into the admin
> interface but I can't find the directory that the files are
> stored under. I
> installed everything under /usr/local/interchange and set the construct
> program up under /home/rage. I am trying to add the report so I can test
> some functionality before switching over. Any ideas?
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: webmaster at infothai.com (Webmaster of Infothai )
Date: Mon, 26 Feb 2001 21:18:45 +0700
Subject: [ic] MAC data encryption error
This sounds like the problem I had some time ago. There was a problem in
the standard CyberCash 3.2 modules - they would not work with MiniVend.
The problem lay in the communication between Minivend/Interchange and
the Cybercash encryption module that ran as a separate task. The fix
involved replacing the standard 3.2 modules. Those modules were posted
to the mailing list, so a search of the archives should give you all
the information. The date I recall was around July-August 2000.
Are you using the 3.2 Perl interface routines? If so, then the replacement
routines might be portable to the Mac.
Regards,
Mike
On Mon, 26 Feb 2001 07:56:43 -0600, davidb wrote:
>I'm still having a problem with the mac encryption error w/ IE5 for mac.
>Any ideas or suggestions?
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
webmaster@infothai.com
http://www.infothai.com
From: rage at sohonetworks.cc (Rage-DCA )
Date: Mon, 26 Feb 2001 08:25:34 -0600
Subject: [ic] Adding report to admin interface
Jonathan,
but where are the actual admin pages stored...from what i can tell they are
in a program called construct.
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jonathan
Clark
Sent: Monday, February 26, 2001 8:10 AM
To: interchange-users@lists.akopia.com
Subject: RE: [ic] Adding report to admin interface
you can override admin pages on a per catalog basis by putting them in the
catroot/pages/admin/ directory within your catalog structure.
have fun
Jonathan
Webmaint.
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jason
> Osborne
> Sent: 26 February 2001 14:02
> To: Interchange; Interchange Mailing List
> Subject: [ic] Adding report to admin interface
>
>
> I had a quick question, I am wanting to add a report into the admin
> interface but I can't find the directory that the files are
> stored under. I
> installed everything under /usr/local/interchange and set the construct
> program up under /home/rage. I am trying to add the report so I can test
> some functionality before switching over. Any ideas?
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: email at jasonkohles.com (Jason Kohles )
Date: Mon, 26 Feb 2001 07:40:59 -0700
Subject: [ic] Getting 404 Errors and Undefined catalog: /cgi-bin/westerbeke Errors on same page
On Fri, Feb 23, 2001 at 04:32:02PM -0500, Christopher VanOosterhout wrote:
>
> Here is the problem ... when I go to http://66.70.15.170/cgi-bin/westerbeke
> in Internet Explorer ... I get 404 Not Found error ... however when I go to
> the same URL in Netscape I get a page that only says: Undefined catalog:
> /cgi-bin/westerbeke
>
This is Internet Explorer trying to be user friendly, because the error
message is less than 512 bytes, by default IE uses its own error display page
instead of showing you what the server sent back. You can turn this 'feature'
off in IE (look in the options for 'Display friendly error messages'), and
then you will see the same error in both browsers.
> This seems awful strange that it comes back two different ways in different
> browsers. Either way it is not working. Does anyone have any idea why
> construct would work just fine but by version (I simply replaced the word
> construct with westerbeke when makecat asked me for input) does not.
>
What does the error.log say?
--
Jason S Kohles (801)322-5512
jason@jasonkohles.com http://www.jasonkohles.com/
From: rene at hertell.com (Rene Hertell )
Date: Mon, 26 Feb 2001 16:27:31 +0200 (EET)
Subject: [ic] installing.....
Just install it into your home-dir. I have done this, and it works great
:)
René
On Tue, 27 Feb 2001, Wing-Tat Sung wrote:
> Date: Tue, 27 Feb 2001 00:24:13 +1000
> From: Wing-Tat Sung <wsung@supercharge.net>
> Reply-To: interchange-users@lists.akopia.com
> To: interchange-users@lists.akopia.com
> Subject: [ic] installing.....
>
> Hi,
>
> I would like to install interchange into my virtual server. However, I
> don't have root access. Can I still do it? Any idea?..... Actually, I am
> a beginner. Please give me some advice.
>
> Wing-Tat Sung
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: chris at vanoosterhout.com (Christopher VanOosterhout )
Date: Mon, 26 Feb 2001 09:34:56 -0500
Subject: [ic] Help? More about Tie::Watch and Perl Modules
Mike,
Thanks for the clarification on this issue about not needing the Tie::Watch
module. Earlier I wrote an email saying that my admin interface was
telling me that I still needed several modules installed even though I have
went through the process and installed the modules on my machine. At the
time I asked if there was anything I needed to do to "initiate" or force
Interchange to "see" the modules.
With this question now I am wondering if it may be possible that I do not
need these modules. Is that the case? If it is not the case and I do need
the modules, why is Interchange not "seeing" that they are installed. I
understand that this may in fact be a Perl problem or other type of system
problem and not an Interchange problem, but everything "seems" fine on the
Perl side. Have you ever heard of this before? Any ideas?
Thanks,
Christopher VanOosterhout
At 10:52 PM 2/25/01 -0500, Mike Heins wrote:
>Quoting any@youwillsave.com (any@youwillsave.com):
> > Thanks for the advise Chris but all that happened when I entered the
> > command(perl -MCPAN -e 'install Tie::Watch') is it tried to install
> > something but could not? I'm not even sure if this possible error
> > (Tie::Watch not found. Minor: cannot set watch points in catalog.cfg.)
> > is the cause of my problem which is: I can not cross-sell or quantity
> > sell any item?
>
>That is definitely not the problem. Tie::Watch is simply not needed
>unless you are doing some things where you would know it was needed.
>
>I will take that message out of admin in the next release. It is
>*really* minor, which I thought would get across to people in the
>message. Apparently not. 8-\
>
> > When I click on either of these all that comes up is the
> > ok/cancel screen and when I click on no meta display it goes to the edit
> > screen? Help please. Everything else seems to be working fine. I really
> > just need the cross-sell option to work. Thank you in advance to whom
> > ever!
> >
>
>This is usually a database problem, or a catalog coming from a version
>lower than 4.6.3 where a variable is not defined properly. There should
>be an error log entry and a notation in the 4.6.3 WHATSNEW file about
>what the problem really is with that.
>
>--
>Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
>phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
>
>Any man who is under 30, and is not liberal, has not heart; and any man
>who is over 30, and is not a conservative, has not brains.
> -- Winston Churchill
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: nick.davies at iname.com (Nick Davies )
Date: Mon, 26 Feb 2001 14:37:19 +0000
Subject: [ic] installing.....
Doesn't the interchange server deamon need to be running though?
Rene Hertell wrote:
> Just install it into your home-dir. I have done this, and it works great
> :)
>
> René
>
> On Tue, 27 Feb 2001, Wing-Tat Sung wrote:
>
>> Date: Tue, 27 Feb 2001 00:24:13 +1000
>> From: Wing-Tat Sung <wsung@supercharge.net>
>> Reply-To: interchange-users@lists.akopia.com
>> To: interchange-users@lists.akopia.com
>> Subject: [ic] installing.....
>>
>> Hi,
>>
>> I would like to install interchange into my virtual server. However, I
>> don't have root access. Can I still do it? Any idea?..... Actually, I am
>> a beginner. Please give me some advice.
>>
>> Wing-Tat Sung
>>
>>
>> _______________________________________________
>> Interchange-users mailing list
>> Interchange-users@lists.akopia.com
>> http://lists.akopia.com/mailman/listinfo/interchange-users
>>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>
From: chris at vanoosterhout.com (Christopher VanOosterhout )
Date: Mon, 26 Feb 2001 09:36:39 -0500
Subject: [ic] Getting 404 Errors and Undefined catalog:
Thanks for your input on this. I see what you are saying now. As it turns
out I needed to do a hard reboot (instead of just restarting Interchange)
and now Interchange does not give me the catalog not defined error and it
seems to be working ok.
Christopher VanOosterhout
At 07:40 AM 2/26/01 -0700, you wrote:
>On Fri, Feb 23, 2001 at 04:32:02PM -0500, Christopher VanOosterhout wrote:
> >
> > Here is the problem ... when I go to
> http://66.70.15.170/cgi-bin/westerbeke
> > in Internet Explorer ... I get 404 Not Found error ... however when I
> go to
> > the same URL in Netscape I get a page that only says: Undefined catalog:
> > /cgi-bin/westerbeke
> >
>This is Internet Explorer trying to be user friendly, because the error
>message is less than 512 bytes, by default IE uses its own error display page
>instead of showing you what the server sent back. You can turn this 'feature'
>off in IE (look in the options for 'Display friendly error messages'), and
>then you will see the same error in both browsers.
>
> > This seems awful strange that it comes back two different ways in
> different
> > browsers. Either way it is not working. Does anyone have any idea why
> > construct would work just fine but by version (I simply replaced the word
> > construct with westerbeke when makecat asked me for input) does not.
> >
>What does the error.log say?
>
>--
>Jason S Kohles (801)322-5512
>jason@jasonkohles.com http://www.jasonkohles.com/
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: rene at hertell.com (Rene Hertell )
Date: Mon, 26 Feb 2001 16:50:32 +0200 (EET)
Subject: [ic] installing.....
I dont know techically how it works, but it runs on my isps server as a
daemon as my username.
I just asked my isp to add the startup script that starts the daemon if
they reboot the server... :)
Rene
On Mon, 26 Feb 2001, Nick Davies wrote:
> Date: Mon, 26 Feb 2001 14:37:19 +0000
> From: Nick Davies <nick.davies@iname.com>
> Reply-To: interchange-users@lists.akopia.com
> To: interchange-users@lists.akopia.com
> Subject: Re: [ic] installing.....
>
> Doesn't the interchange server deamon need to be running though?
>
> Rene Hertell wrote:
>
> > Just install it into your home-dir. I have done this, and it works great
> > :)
> >
> > René
> >
> > On Tue, 27 Feb 2001, Wing-Tat Sung wrote:
> >
> >> Date: Tue, 27 Feb 2001 00:24:13 +1000
> >> From: Wing-Tat Sung <wsung@supercharge.net>
> >> Reply-To: interchange-users@lists.akopia.com
> >> To: interchange-users@lists.akopia.com
> >> Subject: [ic] installing.....
> >>
> >> Hi,
> >>
> >> I would like to install interchange into my virtual server. However, I
> >> don't have root access. Can I still do it? Any idea?..... Actually, I am
> >> a beginner. Please give me some advice.
> >>
> >> Wing-Tat Sung
> >>
> >>
> >> _______________________________________________
> >> Interchange-users mailing list
> >> Interchange-users@lists.akopia.com
> >> http://lists.akopia.com/mailman/listinfo/interchange-users
> >>
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: wsung at supercharge.net (Wing-Tat Sung )
Date: Tue, 27 Feb 2001 01:05:39 +1000
Subject: [ic] installing.....
But how? I have tried to do it... I found some errors come up. Please give me
more details.
Wing-Tat Sung
Rene Hertell wrote:
> Just install it into your home-dir. I have done this, and it works great
> :)
>
> René
>
> On Tue, 27 Feb 2001, Wing-Tat Sung wrote:
>
> > Date: Tue, 27 Feb 2001 00:24:13 +1000
> > From: Wing-Tat Sung <wsung@supercharge.net>
> > Reply-To: interchange-users@lists.akopia.com
> > To: interchange-users@lists.akopia.com
> > Subject: [ic] installing.....
> >
> > Hi,
> >
> > I would like to install interchange into my virtual server. However, I
> > don't have root access. Can I still do it? Any idea?..... Actually, I am
> > a beginner. Please give me some advice.
> >
> > Wing-Tat Sung
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: edl at newmediaems.com (Ed LaFrance )
Date: Mon, 26 Feb 2001 09:36:45 -0800
Subject: [ic] Can't see New Tables in admin interface
At 11:01 AM 02/24/2001 -0500, you wrote:
>>This is my first message.. I'm a bit nervous :)
>>
>>I have created a Table named "marcas" in the database. It's almost all
>>fine with that, except that I cannot modify or insert new records. Just
>>delete them (????). I can see this table in the admin.
>>
>>Then, I tried to create another table named "ultima". It worked fine.
>>Interchange created the table as defined, but I can't see this table in
>>the list of table of the admin.
>>
>>Well I did a 3rd try with another table, but I still can't see it. I know
>>it's created and I can insert and delete records from a web mysql admin,
>>but not from the interchage admin interface.
>>
>>Well if anybody knows what can be happening, please tell me :)
>>
>>I'm using mysql... any hints ?
I don't have an answer for you but I will throw in my observations. I have
seen this on one installation of IC 4.6.0 on an RH7 box. In their case,
they were running the Interchange server as a different user than the
catalog in question...and this was the only immediately apparent difference
between their installation and countless others I have done/seen which do
not exhibit this problem. I requested that they install either another
instance of IC or a copy of the catalog in such a way as to make the server
and catalog under one user, just as an expirement. I have not heard from
them as to whether or not this was done.
I don't know if they did the tarball install or RPM - I use the former
almost exclusively. I am assuming that you set the table up correctly in
Interchange (dbconf/mysql/tablename.mysql for the table defs, and the text
source file tablename.txt in the products directory) and that you saw the
table creation messages on the command line or in the logs.
- Ed L.
From: edl at newmediaems.com (Ed LaFrance )
Date: Mon, 26 Feb 2001 09:58:30 -0800
Subject: [ic] MAC data encryption error
At 07:56 AM 02/26/2001 -0600, you wrote:
>I'm still having a problem with the mac encryption error w/ IE5 for mac.
>Any ideas or suggestions?
No, but I have an iMac here running IE 5 (or 5.5) and I am willing to
perform a test for sanity's sake if you want, just send me a url and any
special instructions for the test order (in case it goes through).
- Ed L>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: edl at newmediaems.com (Ed LaFrance )
Date: Mon, 26 Feb 2001 10:19:14 -0800
Subject: [ic] Simple if-then to compare checkout page variable to
At 11:37 AM 02/25/2001 -0500, you wrote:
>Apologies for the previous HTML...fixed the formatiing...
>
>Hello all,
>
> After staring at the screen trying to figure out my undoubtedly dumb
>mistake, I'm cross-eyed and need another head or three to look at this and
>point out my thickiness. I am attempting to set a scratch variable to the
>value of the form variable "country" on the checkout page. Then after
>someone has updated the shipping info and the page hs been resubmitted I
>want to compare the scratch variable containing the pre-update country value
>to the just-submitted new country value, and then of course set the scratch
>variable to this most recent value for further comparisons. I thought I
>understood the sequence of processing an Interchange page but I must be
>missing something. It seems to me that the comparison between the old
>country value (in a scratch variable) and the newly updated form country
>value should proceed before the scratch variable is updated with the new
>country value, but my comparison ALWAYS returns true, that they are equal.
>This is a code snippet:
>
>
>FIRST VISIT TO PAGE?
>
>[if !scratch visitcount]
> [perl]
> $Values->{country} = CA0;
> $Values->{state} = QC;
> $Values->{mv_shipmode} = "can_a";
> $Scratch->{visitcount} = 1;
> $Scratch->{previouscountry} = $Values->{country};
> return "FIRST VISIT.\n";
> [/perl]
>[else]
>
>PROBLEM HERE:
>
> [perl]
> $prevcountry = $Scratch->{previouscountry};
> $country = $Values->{country};
> -------> if("$prevcountry" eq "$country") { <------- ALWAYS TRUE, WHEN
>DOES FORM VARIABLE "COUNTRY" GET NEW VALUE?
> $info = "COUNTRY NOT CHANGED, previous country is " .
>$Scratch->{previouscountry} . " and current country is
>$Values->{country}.\n";
> $info;
> }
>
> else {
>
> if("$Values->{country}" eq "CA0") {
> $Values->{state} = "QC";
> $Values->{zip} = "";
> $Values->{mv_shipmode} = "can_a";
> $info = "COUNTRY SET TO CANADA, previous country is " .
>$Scratch->{previouscountry} . " and current country is
>$Values->{country}.\n";
> $info;
> $Scratch->{previouscountry} = $Values->{country};
> }
> elsif("$Values->{country}" eq "US0") {
> $Values->{mv_shipmode} = "can_us_a";
> $Values->{salestax} = "";
> $Values->{state} = "NJ0";
> $Values->{zip} = "";
> $info = "COUNTRY SET TO US, previous country is " .
>$Scratch->{previouscountry} . " and current country is
>$Values->{country}.\n";
> $info;
> $Scratch->{previouscountry} = $Values->{country};
> }
> else {
> $Values->{mv_shipmode} = "can_intl_a";
> $Values->{salestax} = "";
> $Values->{state} = "";
> $Values->{zip} = "";
> $info = "COUNTRY SET TO INT, previous country is " .
>$Scratch->{previouscountry} . " and current country is
>$Values->{country}.\n";
> $info;
> $Scratch->{previouscountry} = $Values->{country};
> }
>
> }
> [/perl]
>[/else]
>[/if]
>
>
>I just can't see why something that seems so simple isn't working, which
>means it's time for wiser heads to prevail. Could someone take a moment to
>correct either my understanding of the whole page processing operations or
>(I hope) point out a really dumb error?
Tim -
I put your code on a checkout page and it worked fine. You probably
weren't seeing the messages you expected because $info was not the last
statement of each conditional block, but I made that minor change in my
copy and everything is hunky-dory. Your trouble must lie elsewhere -
perhaps in the submission of the form on the country change event. Verify
your mv_todo value and any mv_checks or mv_clicks to make sure the form is
actually submitting the data, and - I know this sounds too obvious - check
the spelling on your form input for country.
- Ed L.
From: edl at newmediaems.com (Ed LaFrance )
Date: Mon, 26 Feb 2001 10:00:12 -0800
Subject: [ic] installing.....
At 12:24 AM 02/27/2001 +1000, you wrote:
>Hi,
>
>I would like to install interchange into my virtual server. However, I
>don't have root access. Can I still do it? Any idea?..... Actually, I am
>a beginner. Please give me some advice.
Use the tarball (tar.gz) distribution - you don't need root access, but you
do need telnet or ssh access to perform the IC server and catalog installs.
- Ed L.
From: hershey135 at hotmail.com (chaim klar )
Date: Sun, 25 Feb 2001 17:59:15
Subject: [ic] How can I nest loops or queries?
How can I nest loops or queries?
I have two tables the first table called products looks like this:
p_sku price ...,
C2100Z 14.50
C211Z 45.35
KF800 63.98
KW 51.21
KFP 45.92
KFW 51.62
... ....
Then another table called accessories that looks like this:
AutoNumber a_code accessory
1 KF800 C2100Z
2 KF800 C211Z
3 KF800 KW
4 KF800 KFP
5 KF800 KFW
6 C2100Z MBSM
7 C2100Z 16MBSM
8 C2100Z 32MBSM
9 C2100Z 64MBSM
10 C2100Z B28
(a_code may exist a few for each item in the products table)
So in the flypage.html I first look up in the accessories table with the
current
item to see if it has accessories (and to convince myself that it indeed
have
accessories for the current item I first display them) and then with the
results
I make another loop in the products table to get the price and description
for the
accessories like this:
[loop prefix=outer
search="tf=accessory/ra=yes/fi=accessories/se=[item-code]/sf=a_code/co=yes"]
[outer-data accessories a_code][outer-data accessories accessory]
[loop prefix=inner search="fi=products/se[outer-data accessories
accessory]/co=yes/sf=p_sku/st=db"]
[inner-data products p_sku][inner-data products price]
[/loop]
[/loop]
but for some reason I get the accessories to display before entering the
second loop but not
after the second loop so I have tired doing it with [query] like this:
[query
st=db
list=1
sql=|
SELECT p_sku
FROM products
WHERE p_sku IN (
SELECT accessory
FROM accessories
WHERE a_code = 'KF800'
)
|
]
[sql-increment]) [sql-param p_sku]<br>
[/query]
but I didn't get better results.
Thanking You in advance.
Chaim Klar
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: michelle at wilant.com (Michelle Wilant (home) )
Date: Mon, 26 Feb 2001 12:09:15 -0500
Subject: [ic] best set up with several stores
I'm looking for suggestions on how best to set up interchange with several
stores. What I was trying to set up each store with its own interchange
server, so each store could restart it at will without disturbing the other
stores. But, at least by default, interchange only wants to run one server.
So...
A) Is there a way to run more than one interchange server on one box
(Solaris)? (Is there something I haven't tried?)
B) If I use only one interchange server, then do each of the stores need a
copy of the page templates? Are there other files that are shared that each
store would need a copy of - to customize for themselves?
Thanks in advance!
From: polto at alsenet.com (Alexandre Poltorak )
Date: Mon, 26 Feb 2001 21:40:02 +0100
Subject: [ic] suexec problem... can sb help me ?
Hi !
I have a problem to make interchange work ...
I use suexec on apache, and after the installation /cgi-bin/construct is
owned by interch:client's_group and not by client:client's_group. So
suexec have problem to execute it. If I chmod client:client's_group
/cgi-bin/construct Interchange can't handle the request witch need to be
made by user interch.
I have interchange configured to run in MultiGroup mode...
pls, could sb help me to resolv this problem ?
Thanks!
Alexandre POTLORAK
Alsenet S.A.
From: parentjp at pjp.dhs.org (Jean-Pierre Parent )
Date: Mon, 26 Feb 2001 11:38:13 -0500
Subject: [ic] Purpose of products.txt
> I'm not too sure about this, but why is there a products.txt file in
> addition to the data in the database? Is it not more efficient to read
> it off one or the other, rather than having to sync and keep both the
> same?
I'm fairly new but here's what I understand (please correct me if I'm wrong)
The products.txt file is simply a source to import the data from...if you
want you can set the NoImport directive in your catalog.cfg so that you can
use another table (already created) for the products. Beware that you'll
need description, sku and price fields unless you change them in the
catalog.cfg file.
It also helps to build the database on the fly by just loading all the
fields in it either with the defaults or the ones defined by COLUMN_DEFs.
> I refer to this because I just imported some data I entered using
> Excel and it sure works out great, but when I tried to access some
> fields, it doesn't happen.
I'm not quite following you there...
Hope it helps...
Jean-Pierre Parent
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 26 Feb 2001 11:41:14 -0500
Subject: [ic] Getting 404 Errors and Undefined catalog: /cgi-bin/westerbeke Errors on same page
Quoting Christopher VanOosterhout (chris@vanoosterhout.com):
>
> Thanks for your input on this. I see what you are saying now. As it turns
> out I needed to do a hard reboot (instead of just restarting Interchange)
> and now Interchange does not give me the catalog not defined error and it
> seems to be working ok.
Actually, a reboot would never be necessary on a UNIX. 8-)
I am guessing that you missed the part in README.rpm which
says "don't use /usr/lib/interchange/bin/interchange -restart".
Perhaps we can figure out a way to make it give you an error
message on the RPM.
Use "/etc/rc.d/init.d/interchange restart" instead.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
From: jeffrey.pui at bidorbuy.com (jeffrey.pui at bidorbuy.com )
Date: Mon, 26 Feb 2001 18:44:08 +1100
Subject: [ic] Help with Creating Pre-Defined Order Numbers
--openmail-part-006afe3d-00000002
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
;Creation-Date="Mon, 26 Feb 2001 18:44:07 +1100"
Content-Transfer-Encoding: quoted-printable
Anyone know how to create predefined Order Numbers without having to use=
the order.number file in /etc dir?
I've managed to hack the Order.pm file and divert the mv_order_number
into my custom number, but I'm quite sure the order.number is used
widely elsewhere. Is it possible to change the read only
'mv_order_number' without having changing the .pm modules? =20
Any response is high appreciated.
Jeff
--openmail-part-006afe3d-00000002
Content-Type: application/rtf
Content-Disposition: attachment; filename="BDY.RTF"
;Creation-Date="Mon, 26 Feb 2001 18:44:07 +1100"
Content-Transfer-Encoding: base64
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZGVmZjBcZGVmbGFuZzMwODF7XGZvbnR0Ymx7XGYw
XGZzd2lzc1xmY2hhcnNldDAgQXJpYWw7fX0NClx2aWV3a2luZDRcdWMxXHBhcmRcZjBcZnMy
MCBBbnlvbmUga25vdyBob3cgdG8gY3JlYXRlIHByZWRlZmluZWQgT3JkZXIgTnVtYmVycyB3
aXRob3V0IGhhdmluZyB0byB1c2UgdGhlIG9yZGVyLm51bWJlciBmaWxlIGluIC9ldGMgZGly
P1xwYXINCkkndmUgbWFuYWdlZCB0byBoYWNrIHRoZSBPcmRlci5wbSBmaWxlIGFuZCBkaXZl
cnQgdGhlIG12X29yZGVyX251bWJlciBpbnRvIG15IGN1c3RvbSBudW1iZXIsIGJ1dCBJJ20g
cXVpdGUgc3VyZSB0aGUgb3JkZXIubnVtYmVyIGlzIHVzZWQgd2lkZWx5IGVsc2V3aGVyZS4g
IElzIGl0IHBvc3NpYmxlIHRvIGNoYW5nZSB0aGUgcmVhZCBvbmx5ICdtdl9vcmRlcl9udW1i
ZXInIHdpdGhvdXQgaGF2aW5nIGNoYW5naW5nIHRoZSAucG0gbW9kdWxlcz8gIFxwYXINClxw
YXINCkFueSByZXNwb25zZSBpcyBoaWdoIGFwcHJlY2lhdGVkLlxwYXINClxwYXINCkplZmZc
cGFyDQp9DQoA
--openmail-part-006afe3d-00000002--
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 26 Feb 2001 15:50:14 -0500
Subject: [ic] Help with Creating Pre-Defined Order Numbers
Quoting jeffrey.pui@bidorbuy.com (jeffrey.pui@bidorbuy.com):
> Anyone know how to create predefined Order Numbers without having to use
> the order.number file in /etc dir?
Absolutely. It even used to be documented before the docs restructuring... 8-\
> I've managed to hack the Order.pm file and divert the mv_order_number
> into my custom number, but I'm quite sure the order.number is used
> widely elsewhere.
It is not used at all to determine anything, other than to create
key values for database inserts. In other words, nothing in the core
code depends on it. All uses (in the demos) are in etc/log_transaction,
etc/receipt.html, and etc/report.
> Is it possible to change the read only
> 'mv_order_number' without having changing the .pm modules?
>
All you have to do is use the order routing function, and sometime before
the first route kicks off do:
[perl]
$Session->{mv_order_number} = &your_function;
[/perl]
For instance, you might use a sequence from a database or another
counter function via UserTag.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: mheins at redhat.com (Mike Heins )
Date: Mon, 26 Feb 2001 16:53:55 -0500
Subject: [ic] Help with Creating Pre-Defined Order Numbers
Quoting Mike Heins (mikeh@minivend.com):
> Quoting jeffrey.pui@bidorbuy.com (jeffrey.pui@bidorbuy.com):
> > Is it possible to change the read only
> > 'mv_order_number' without having changing the .pm modules?
> >
>
> All you have to do is use the order routing function, and sometime before
> the first route kicks off do:
>
> [perl]
> $Session->{mv_order_number} = &your_function;
> [/perl]
>
> For instance, you might use a sequence from a database or another
> counter function via UserTag.
>
Thanks for the example to use in the upcoming SOAP documentation:
Integrated client tag
You can make SOAP RPC calls to other servers. That includes other
catalogs on the same Interchange server, of course!
[calc]
my $next_order = q{[soap
uri="http://localhost/Vend/SOAP"
proxy="http://localhost:7780/other_cat"
call="counter"
file="etc/order.number"
]};
if(! $next_order) {
# Alternatively you could die if this was in an order profile
Log("Failed to get order number from SOAP! Using temporary number");
$next_order = q{[counter file=emergency.number]};
}
$Session->{mv_order_number} = $next_order;
return;
[/calc]
8-)
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
From: any at youwillsave.com (any at youwillsave.com )
Date: Mon, 26 Feb 2001 17:56:23 -0800
Subject: [ic] Help?
Thanks to everyone for your help.
Unfortunately my problem still exists!
I have spent countless hours trying to fix the cross-sell and quantity
pricing options to work but have not been able to. I have learned alot
in the process but I should be learning more important stuff like
running and designing the store to fit my needs. (You should not have to
know how to build a car in order to drive it). At this point I would
just like to delete the whole thing and start over, but even this has
become a nightmare. I've looked through the messages and found some help
for this, (Four steps:
1. Remove the Catalog line from interchange.cfg, i.e.
perl -pi.bak -e 's/^Catalog\s+construct.*//' interchange.cfg
Or use your favorite editor.
2. Remove the link program (i.e. /cgi-bin/construct).
3. Remove the HTML directory (i.e. /home/httpd/html/construct).
4. Remove the catalog directory (i.e. ~/catalogs/construct).
At that point, all traces are gone except for a construct.status file
that lays around in INTERCHANGE_ROOT/etc. You can remove that too if
you like more than 4 steps. 8-)
and (...or perhaps an uninstaller script: rmcat -c catalogname
...performs all the steps, then restarts interchange? Just a suggestion
:-) but have tried this with no results. Probably because I lack the
proper knowledge?
I say this: If you want to teach me how to speak Chinese, then teach me
with books written in English, not Chinese!
In other words, can some one PLEASE tell me in plain 'English' how to
start over from scratch? I have several times deleted the store files
from my hosts directories but obviously there is more to it than that. I
believe my problems lay in the root directories which I do not know how
to minipulate. There has to be an easier way? If I sound frustrated, I'm
sorry, but after a week of typing in 10 million lines with no results
you would be too!
From: dbigler at usa.net (David Bigler )
Date: 26 Feb 2001 17:58:10 CST
Subject: [ic] Crazy Cross Compatibility Problems
Here is the problem- one user can order from TN, while a user in IL cannot
order. They are both using the same browser (IE 5) and both on PC's. The
problems only begin when the user clicks on Purchase from the basket, and one
of three totally unpredicitible things happen-
This page not displayed
Server Error
Drops cart contents
They appear to happen for no apparent reason, because the user in TN has
already been making orders for a few days.
Sometimes the customer can get all the way to entering in the credit card
info, but if they click purchase, they not only loose everything, but they get
a this page not displayed error.
The user can make a purchase from another computer in the office, but it takes
several tries to get it to work. Any ideas why this is so unpredictible and
does anyone know how to remedy it? Could it be a browser problem? I have
several other issues but this is the most serious. Thanks to anyone who can
help me out here.
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Mon, 26 Feb 2001 19:12:57 -0600
Subject: [ic] Crazy Cross Compatibility Problems
I would start with your Apache setup and particularly the SSL portion.
Kinda depends on if you are running http1.1 or 1.0. You are looking for
entries such as:
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
Seems as though just another reason why Microsoft is superior ;-) You
can also search the recent archives for the subject MAC and Data
Encryption Error. You can also enter the above line into a search engine
and return many pages dealing with info on the matter.
This is a thanks to Mike since he started me in the proper direction to
resolving an issue very similiar to what you describe.
Steve
David Bigler wrote:
>
> Here is the problem- one user can order from TN, while a user in IL cannot
> order. They are both using the same browser (IE 5) and both on PC's. The
> problems only begin when the user clicks on Purchase from the basket, and one
> of three totally unpredicitible things happen-
>
> This page not displayed
> Server Error
> Drops cart contents
>
> They appear to happen for no apparent reason, because the user in TN has
> already been making orders for a few days.
>
> Sometimes the customer can get all the way to entering in the credit card
> info, but if they click purchase, they not only loose everything, but they get
> a this page not displayed error.
>
> The user can make a purchase from another computer in the office, but it takes
> several tries to get it to work. Any ideas why this is so unpredictible and
> does anyone know how to remedy it? Could it be a browser problem? I have
> several other issues but this is the most serious. Thanks to anyone who can
> help me out here.
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Mon, 26 Feb 2001 19:19:45 -0600
Subject: [ic] Help?
First if the car was free you might have to build it ;) Next on the list
removing a catalog. I will assume you know where the catalog is. cd to
the dir just above the catalog destined for removal. rm -rf
name_of_dir_that_is_the_cat pico /etc/interchange.cfg scroll down to
the line that represents the catalog and hold the ctrl key while
pressing K. Now we move to the images installed and static html. cd to
the dir just above the dir to be removed and rm -rf
name_of_dir_we_are_deleting Providing your images dir is a subdir of
the html dir you are now clean of your catalog. Restart the interchange
server and start over.
Steve
any@youwillsave.com wrote:
>
> Thanks to everyone for your help.
> Unfortunately my problem still exists!
> I have spent countless hours trying to fix the cross-sell and quantity
> pricing options to work but have not been able to. I have learned alot
> in the process but I should be learning more important stuff like
> running and designing the store to fit my needs. (You should not have to
> know how to build a car in order to drive it). At this point I would
> just like to delete the whole thing and start over, but even this has
> become a nightmare. I've looked through the messages and found some help
> for this, (Four steps:
>
> 1. Remove the Catalog line from interchange.cfg, i.e.
>
> perl -pi.bak -e 's/^Catalog\s+construct.*//' interchange.cfg
>
> Or use your favorite editor.
>
> 2. Remove the link program (i.e. /cgi-bin/construct).
> 3. Remove the HTML directory (i.e. /home/httpd/html/construct).
> 4. Remove the catalog directory (i.e. ~/catalogs/construct).
>
> At that point, all traces are gone except for a construct.status file
> that lays around in INTERCHANGE_ROOT/etc. You can remove that too if
> you like more than 4 steps. 8-)
> and (...or perhaps an uninstaller script: rmcat -c catalogname
> ...performs all the steps, then restarts interchange? Just a suggestion
> :-) but have tried this with no results. Probably because I lack the
> proper knowledge?
>
> I say this: If you want to teach me how to speak Chinese, then teach me
> with books written in English, not Chinese!
> In other words, can some one PLEASE tell me in plain 'English' how to
> start over from scratch? I have several times deleted the store files
> from my hosts directories but obviously there is more to it than that. I
> believe my problems lay in the root directories which I do not know how
> to minipulate. There has to be an easier way? If I sound frustrated, I'm
> sorry, but after a week of typing in 10 million lines with no results
> you would be too!
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
From: mheins at redhat.com (Mike Heins )
Date: Mon, 26 Feb 2001 19:22:55 -0500
Subject: [ic] Crazy Cross Compatibility Problems
Quoting Steve & Patti Getzinger (steveandpatti@wubs.org):
> I would start with your Apache setup and particularly the SSL portion.
> Kinda depends on if you are running http1.1 or 1.0. You are looking for
> entries such as:
>
> SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
>
> Seems as though just another reason why Microsoft is superior ;-) You
> can also search the recent archives for the subject MAC and Data
> Encryption Error. You can also enter the above line into a search engine
> and return many pages dealing with info on the matter.
A good way to test this is to try accessing a regular page (not Interchange)
repeatedly, i.e. one of the image files. If there are errors on those,
then it has nothing at all to do with anything except problems between
the web server and the browser. Usually Microsoft's buggy SSL implementation
is at fault.
You might put this on the basket page:
If you have trouble ordering,
<A HREF="https://www.myserver.com/regular_page.html">
try this link
</A> repeatedly. If errors occur, when traveling
this link and clicking Refresh/Reload several times,
then you need to update your web browser.
The regular_page.html should be at least 16K bytes in size to give
it a chance to fail.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
From: howells at siliconcty.com (Howell Silverman )
Date: Mon, 26 Feb 2001 20:40:31 -0500
Subject: [ic] Moving test catalog to production?
On somewhat of this same subject. I'm using a test system locally to ...
test the catalog before making it available "on the net". What I really
want to accomplish is to not change anything except change the domain name.
The db and templates all work the way I want them to (at this point anyway).
My question is this.
Do I have to re-run makecat with the new domain perameters in order to
change the domain name or can I just edit the catalog.cfg file (or some
other one) with the new domain name?
If I do re-run makecat, and I answer "No" to copy the templates toward the
end of the script, will it make the necessary changes to catalog.cfg but NOT
overwrite the template modifications?
Thanks for your help.
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Tom Lichti
Sent: Tuesday, February 20, 2001 11:22 PM
To: interchange-users@lists.akopia.com
Subject: [ic] Moving test catalog to production?
Well, the subject pretty much says it all. I have a test catalog, running
out of a subdir of my apache doc-home and my cgi prog is in the cgi-bin
directory. So how do I move it to the root? i.e. from
www.mydomain.com/cgi-bin/catalog/index.html to just www.mydomain.com.
I'm sure this is possible, I just haven't been able to make it work.
Thanks for any help
Tom Lichti
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: howells at siliconcty.com (Howell Silverman )
Date: Mon, 26 Feb 2001 20:44:39 -0500
Subject: [ic] Purpose of products.txt
I believe that that when doing a search the products.txt file is the one
that it searches.
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of
Jean-Pierre Parent
Sent: Monday, February 26, 2001 11:38 AM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] Purpose of products.txt
> I'm not too sure about this, but why is there a products.txt file in
> addition to the data in the database? Is it not more efficient to read
> it off one or the other, rather than having to sync and keep both the
> same?
I'm fairly new but here's what I understand (please correct me if I'm wrong)
The products.txt file is simply a source to import the data from...if you
want you can set the NoImport directive in your catalog.cfg so that you can
use another table (already created) for the products. Beware that you'll
need description, sku and price fields unless you change them in the
catalog.cfg file.
It also helps to build the database on the fly by just loading all the
fields in it either with the defaults or the ones defined by COLUMN_DEFs.
> I refer to this because I just imported some data I entered using
> Excel and it sure works out great, but when I tried to access some
> fields, it doesn't happen.
I'm not quite following you there...
Hope it helps...
Jean-Pierre Parent
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: bryan_chen at techmex.com.sg (Bryan Chen )
Date: Tue, 27 Feb 2001 09:41:54 +0800
Subject: [ic] Purpose of products.txt
Yes, but if i'm not wrong, you can search the database instead of
products.txt
Bryan
-----Original Message-----
From: Howell Silverman [mailto:howells@siliconcty.com]
Sent: Tuesday, February 27, 2001 9:45 AM
To: interchange-users@lists.akopia.com
Subject: RE: [ic] Purpose of products.txt
I believe that that when doing a search the products.txt file is the one
that it searches.
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of
Jean-Pierre Parent
Sent: Monday, February 26, 2001 11:38 AM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] Purpose of products.txt
> I'm not too sure about this, but why is there a products.txt file in
> addition to the data in the database? Is it not more efficient to read
> it off one or the other, rather than having to sync and keep both the
> same?
I'm fairly new but here's what I understand (please correct me if I'm wrong)
The products.txt file is simply a source to import the data from...if you
want you can set the NoImport directive in your catalog.cfg so that you can
use another table (already created) for the products. Beware that you'll
need description, sku and price fields unless you change them in the
catalog.cfg file.
It also helps to build the database on the fly by just loading all the
fields in it either with the defaults or the ones defined by COLUMN_DEFs.
> I refer to this because I just imported some data I entered using
> Excel and it sure works out great, but when I tried to access some
> fields, it doesn't happen.
I'm not quite following you there...
Hope it helps...
Jean-Pierre Parent
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: cfm at maine.com (cfm at maine.com )
Date: Mon, 26 Feb 2001 21:20:34 -0500
Subject: [ic] Crazy Cross Compatibility Problems
On Mon, Feb 26, 2001 at 07:22:55PM -0500, Mike Heins wrote:
> > SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> >
...
> A good way to test this is to try accessing a regular page (not Interchange)
> repeatedly, i.e. one of the image files. If there are errors on those,
> then it has nothing at all to do with anything except problems between
> the web server and the browser. Usually Microsoft's buggy SSL implementation
> is at fault.
>
> You might put this on the basket page:
>
> If you have trouble ordering,
> <A HREF="https://www.myserver.com/regular_page.html">
> try this link
> </A> repeatedly. If errors occur, when traveling
> this link and clicking Refresh/Reload several times,
> then you need to update your web browser.
>
> The regular_page.html should be at least 16K bytes in size to give
> it a chance to fail.
I'm not sure if there is one or more issues here. Certainly the
IE keepalive is a problem. We do a **lot** of dynamic server side
includes in *.html pages. In our experience, *.cgi pages this is
not a problem. But a dynamic include in a *.html page does seem
to be a problem. Sending CGI headers and PRAGMAs of whatever
type does not work, IE just ignores them.
Ultimately we patched our server not to allow keepalive from IE.
Particularly on larger pages with larger includes this is a problem.
For us, at least, the keepalive has been a much bigger issue than
any SSL problems.
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: admin at sitemajic.net (Chris Jesseman )
Date: Mon, 26 Feb 2001 21:40:28 -0500 (EST)
Subject: [ic] query user selected item-modifier xxxx outside of basket?
Hi
Is it possible to query which color/size selection a user selects on a fly page
without adding that product to the basket?
For instance, I want to have users select a size color combination on a
flypage, click "Check Inventory", and be able to query the inventory table for
availability of that size color combination- WITHOUT adding the product to the
basket. I also want to bring up the matching color image with a simple refresh
click...
BTW- I'm using an Inventory scheme described on this page.
http://developer.akopia.com/archive/interchange-users/1999/msg05613.html
The bad thing is that 170 products in one clothing line equal to 5,414
permutations of available size and color combinations.
Thanks,
Chris
From: shui at lunamedium.com (Sam Hui )
Date: Mon, 26 Feb 2001 18:40:00 -0800
Subject: [ic] How to Call a GlobalSub?
Hi,
I'm having a bit of trouble calling a GlobalSub, even the one included, ie.
test_global_sub which is declared like this in the interchange.cfg:
Variable DEBUG 1
#ifdef @DEBUG
GlobalSub sub test_global_sub { return "Test of global subroutine OK."; }
#endif
Then in a test.html file:
hello!
[perl arg=sub interpolate=1]
test_global_sub()
[/perl]
goodbye!
I would get this in the log file:
192.168.0.84 e3JGkEeq:192.168.0.84 - [26/February/2001:17:29:30 -0800]
store3 /cgi-bin/store3/test.html Runtime error: Unable to create sub named
"" at //usr/lib/interchange/lib/Vend/Interpolate.pm line 1656.
If I use this syntax ([perl sub] subname arg [/perl] from
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference24%2e16)
[perl sub] test_global_sub() [/perl]
I would get this in the log file:
192.168.0.84 e3JGkEeq:192.168.0.84 - [26/February/2001:18:23:08 -0800]
store3 /cgi-bin/store3/test.html Safe: Unable to create sub named
"*MVSAFE::test_global_sub" at (eval 319) line 1.
>
> test_global_sub()
>
Am I doing this correctly? If so, is there some other flags I have to set
in the interchange.cfg/catalog.cfg?? Any suggesstions or comments in the
right direction would be much appreciated.
-Sam
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Tue, 27 Feb 2001 10:39:14 +0800
Subject: [ic] installing.....
you need root.
----- Original Message -----
From: "Wing-Tat Sung" <wsung@supercharge.net>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 26, 2001 10:24 PM
Subject: [ic] installing.....
> Hi,
>
> I would like to install interchange into my virtual server. However, I
> don't have root access. Can I still do it? Any idea?..... Actually, I am
> a beginner. Please give me some advice.
>
> Wing-Tat Sung
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 26 Feb 2001 21:49:01 -0500
Subject: [ic] How to Call a GlobalSub?
Quoting Sam Hui (shui@lunamedium.com):
> Hi,
>
> I'm having a bit of trouble calling a GlobalSub, even the one included, ie.
> test_global_sub which is declared like this in the interchange.cfg:
>
> Variable DEBUG 1
> #ifdef @DEBUG
> GlobalSub sub test_global_sub { return "Test of global subroutine OK."; }
> #endif
>
> Then in a test.html file:
>
> <html>
> hello!
> [perl arg=sub interpolate=1]
> test_global_sub()
> [/perl]
> goodbye!
> </html>
Make it:
[perl subs=1]
test_global_sub()
[/perl]
You almost never want interpolate=1 in a perl tag, either, nowadays.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Mon, 26 Feb 2001 18:50:24 -0800
Subject: [ic] How can I nest loops or queries?
At 05:59 PM 2/25/2001 +0000, chaim klar wrote:
>How can I nest loops or queries?
Does this help?
Taken from recent post by Mike Heins:
http://developer.akopia.com/archive/interchange-users/2001/msg01564.html
Quoting Dan B (db@cyclonehq.dnsalias.net):
> Solved it, works perfect. :-) Thanks to Christopher F. Miller and the
> mailing list archive. Hopefully this will come in handy to the next person
> searching the archives.
>
And though I jumped in late, there actually isn't any reason you can't nest a
query. I don't know why I never remembered to remove the "canNest" check for
Tagref.pm, but that is actually a legacy from the less-capable MV3 parser.
This nested query:
[query list=1 prefix=outer sql="select category from products"]
[query
list=1 prefix=inner
sql="
SELECT sku,description
FROM products
WHERE category = '[outer-code]'
"][outer-code] : [inner-code] : [inner-param description]<BR>
[/query]
[/query]
seems to work fine. Of course you have to have separate prefix= things
so the placeholders get substituted correctly, but it will work. As will
a loop in a loop, etc. Not the best way to get great performance, though. 8-)
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
>I have two tables the first table called products looks like this:
>p_sku price ...,
>C2100Z 14.50
>C211Z 45.35
>KF800 63.98
>KW 51.21
>KFP 45.92
>KFW 51.62
>... ....
>
>Then another table called accessories that looks like this:
>AutoNumber a_code accessory
>1 KF800 C2100Z
>2 KF800 C211Z
>3 KF800 KW
>4 KF800 KFP
>5 KF800 KFW
>6 C2100Z MBSM
>7 C2100Z 16MBSM
>8 C2100Z 32MBSM
>9 C2100Z 64MBSM
>10 C2100Z B28
>
>(a_code may exist a few for each item in the products table)
>
>So in the flypage.html I first look up in the accessories table with the
>current
>item to see if it has accessories (and to convince myself that it indeed have
>accessories for the current item I first display them) and then with the
>results
>I make another loop in the products table to get the price and description
>for the
>accessories like this:
>
>[loop prefix=outer
>search="tf=accessory/ra=yes/fi=accessories/se=[item-code]/sf=a_code/co=yes"]
>
> [outer-data accessories a_code][outer-data accessories accessory]
>
> [loop prefix=inner search="fi=products/se[outer-data accessories
> accessory]/co=yes/sf=p_sku/st=db"]
> [inner-data products p_sku][inner-data products price]
>
> [/loop]
>[/loop]
>
>
>but for some reason I get the accessories to display before entering the
>second loop but not
>after the second loop so I have tired doing it with [query] like this:
>
>[query
> st=db
> list=1
> sql=|
>
> SELECT p_sku
> FROM products
> WHERE p_sku IN (
> SELECT accessory
> FROM accessories
> WHERE a_code = 'KF800'
> )
> |
>]
> [sql-increment]) [sql-param p_sku]<br>
>[/query]
>
>but I didn't get better results.
>
>Thanking You in advance.
>
>Chaim Klar
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Mon, 26 Feb 2001 19:02:52 -0800
Subject: [ic] best set up with several stores
At 12:09 PM 2/26/2001 -0500, you wrote:
>I'm looking for suggestions on how best to set up interchange with several
>stores. What I was trying to set up each store with its own interchange
>server, so each store could restart it at will without disturbing the other
>stores. But, at least by default, interchange only wants to run one server.
>
>So...
>A) Is there a way to run more than one interchange server on one box
>(Solaris)? (Is there something I haven't tried?)
Yes. Interchange can run multiple catalogs per interchange daemon. You
can probably restart individual catalogs by researching the bin/minivend
command line arguments a bit more
Yes, you can also easily run multiple interchange deamons per box. Just
install them to different directories (/usr/local/ic-4.6.3,
or /usr/local/ic-CVS-$DATE is how I do it). It doesn't hurt for them to
share a common catalog directory (such as /var/ic), but you probably don't
want two daemons accessing the same catalog at the same time :-)
In short, it's more of a sysadmin issue than it is a program issue, which
extols the value of Mike's quality programming. (Thanks, Mike).
>B) If I use only one interchange server, then do each of the stores need a
>copy of the page templates? Are there other files that are shared that each
>store would need a copy of - to customize for themselves?
You can do either, but I would make completely separate copies for the sake
of flexibility.
HTH,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: shui at lunamedium.com (Sam Hui )
Date: Mon, 26 Feb 2001 19:19:32 -0800
Subject: [ic] How to Call a GlobalSub?
Thanks Mike,
Just tried your suggestion:
[perl subs=1]
test_global_sub()
[/perl]
and here is what I get in the error log:
192.168.0.84 e3JGkEeq:192.168.0.84 - [26/February/2001:18:58:22 -0800]
store3 /cgi-bin/store3/test.html Runtime error: Unable to create sub named
"" at //usr/lib/interchange/lib/Vend/Interpolate.pm line 1656.
>
Why is it trying to create a sub when it is presumably already declared?
I'm running Interchange 4.6.3 under Red Hat 6.2.
-Sam
-----Original Message-----
Date: Mon, 26 Feb 2001 21:49:01 -0500
From: Mike Heins <mikeh@minivend.com>
To: interchange-users@lists.akopia.com
Subject: Re: [ic] How to Call a GlobalSub?
Reply-To: mike@minivend.com
Reply-To: interchange-users@lists.akopia.com
Quoting Sam Hui (shui@lunamedium.com):
> Hi,
>
> I'm having a bit of trouble calling a GlobalSub, even the one included,
ie.
> test_global_sub which is declared like this in the interchange.cfg:
>
> Variable DEBUG 1
> #ifdef @DEBUG
> GlobalSub sub test_global_sub { return "Test of global subroutine OK."; }
> #endif
>
> Then in a test.html file:
>
> <html>
> hello!
> [perl arg=sub interpolate=1]
> test_global_sub()
> [/perl]
> goodbye!
> </html>
Make it:
[perl subs=1]
test_global_sub()
[/perl]
You almost never want interpolate=1 in a perl tag, either, nowadays.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
End of Interchange-users Digest
From: cameron.germein at team.eftel.com (Cameron Germein )
Date: Tue, 27 Feb 2001 11:49:06 +0800
Subject: [ic] installing.....
ok, so you dont. i'll shut up now :)
----- Original Message -----
From: "Cameron Germein" <cameron.germein@team.eftel.com>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 27, 2001 10:39 AM
Subject: Re: [ic] installing.....
> you need root.
>
> ----- Original Message -----
> From: "Wing-Tat Sung" <wsung@supercharge.net>
> To: <interchange-users@lists.akopia.com>
> Sent: Monday, February 26, 2001 10:24 PM
> Subject: [ic] installing.....
>
>
> > Hi,
> >
> > I would like to install interchange into my virtual server. However, I
> > don't have root access. Can I still do it? Any idea?..... Actually, I am
> > a beginner. Please give me some advice.
> >
> > Wing-Tat Sung
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: any at youwillsave.com (any at youwillsave.com )
Date: Mon, 26 Feb 2001 22:51:28 -0800
Subject: [ic] Help?
To Steve and Patti.
I did allot and learned allot from your advise but you assumed wrong, I
don't even
think I know what or where the catalog is. Who knows what I screwed up
now?
Thanks!
To cfm@maine.com
I know your comments were meant with the best of intentions, as are
mine. I was in
way "over my head" the day I bought my 1st computer 4 years ago. I've
come a long
way since then, but not by giving up or finding "other solutions". We
must always
encourage others to learn and understand, especially the young ones.
To all who have tried to help me: I thank you from the bottom of my
heart. Even
though the main goal of fixing my problem has not been achieved, I'm
sure that I am
walking away more knowledgeable in these matters because of you! Thank
you,
thank you! "May your help to others in the future be more fruitful and
always
appreciated!"
I am not giving up, just giving you a break. I will bother you no more.
My problem
will be solved sooner or later with trial and error and persistence.
This list has been
great, fun and I have learned much from it.
To those who make it all happen: I believe you could design a button for
dummies
like me that once pressed, everything would go back to default, (how it
originally
was)? Just a suggestion! Thank You!!!
Goodbye
From: mikeh at minivend.com (Mike Heins )
Date: Mon, 26 Feb 2001 23:56:45 -0500
Subject: [ic] best set up with several stores
Quoting Dan B (db@cyclonehq.dnsalias.net):
> Yes, you can also easily run multiple interchange deamons per box. Just
> install them to different directories (/usr/local/ic-4.6.3,
> or /usr/local/ic-CVS-$DATE is how I do it). It doesn't hurt for them to
> share a common catalog directory (such as /var/ic), but you probably don't
> want two daemons accessing the same catalog at the same time :-)
>
Actually, that is not a problem. It isn't really any different than
different users hitting the same catalog with browser clicks on the
same daemon with forked children. We are very fussy about locking files,
which accounts for Interchange's good reputation for robustness. 8-)
In fact, I recommend this. Make one daemon with the UI for your admin,
protecting it with HTTP basic auth and/or allow-deny IP/host statements
in the web server, and disable the UI in the production version that
customers use. This is much more secure as all of the GlobalSub and
UserTags that modify files are out of play.
(You might have to include some of the UI usertags from lib/UI/usertag
if you employed them in the catalog -- the only one I can think of that
we use in the demo is [button ...] and maybe [table-editor ...] in the
DEV_4_7_0 branch.)
I will try and include instructions and a little batch file to do
that in the next release.
Best,
Mike
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Be patient. God isn't finished with me yet. -- unknown
From: murahashi at ayayu.com (Shozo Murahashi ayayu.com )
Date: Tue, 27 Feb 2001 16:29:03 +0900
Subject: [ic] Undefined catalog error on RAQ3
Mike, Thank you very much for your responding.
I can run your test-cgi and got output below now.
Could you please review this and let me know what's wrong?
Best regards,
S.Murahashi
http://www.outdoor-w.com/users/main/cgibin/test-cgi.cgi
CGI/1.0 test script report:
argc is 0. argv is .
SERVER_SOFTWARE = Apache/1.3.6 (Unix) mod_perl/1.21 mod_ssl/2.2.8
OpenSSL/0.9.2b
SERVER_PROTOCOL = HTTP/1.1
SERVER_NAME = www.outdoor-w.com
SERVER_PORT = 80
HTTP_FROM =
HTTP_REFERRER =
HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint,
*/*
HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
GATEWAY_INTERFACE = CGI/1.1
REQUEST_METHOD = GET
PATH_INFO = /main/cgibin/test-cgi.cgi
PATH_TRANSLATED = /home/sites/home/users/main/web/cgibin/test-cgi.cgi
SCRIPT_NAME = /main/cgibin/test-cgi.cgi
QUERY_STRING =
REMOTE_HOST =
REMOTE_ADDR = 4.54.168.106
REMOTE_USER =
REMOTE_IDENT =
AUTH_TYPE =
CONTENT_TYPE =
CONTENT_LENGTH =
----- Original Message -----
'-MZÒ : Mike Heins <mikeh@minivend.com>
^¶æ : <interchange-users@lists.akopia.com>
'-M"úZz : 2001"N2OZ26"ú 3:45
O-¼ : Re: [ic] Undefined catalog error on RAQ3
> Quoting Shozo Murahashi (murahashi@ayayu.com):
> > In error.log below, I think the path is incorrect.
> >
> > /main/cgibin/outdoor-w.cgi/index.html/main/cgibin/outdoor-w.cgi/index.ht
> > ml
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > The above part should be removed. How can I do to remove this?
> > /main/cgibin/outdoor-w.cgi/in
> > dex.html/main/cgibin/outdoor-w.cgi/index.html Undefined catalog:
> > /main/cgibin/ou
> > tdoor-w.cgi/index.html
> > 211.124.191.118 - - [25/2/2001:10:26:23 +0900] -
> > /main/cgibin/outdoor-w.cgi/ab
> > outus.html/main/cgibin/outdoor-w.cgi/aboutus.html Undefined catalog:
> > /main/cgibi
> > n/outdoor-w.cgi/aboutus.html
> >
> >
> > My makecat session is as follows. Interchange server is running now.
> >
> > Catalog name? outdoor-w
> > Enter path to httpd.conf file: /etc/admserv/conf/httpd.conf
> > Server name? www.outdoor-w.com
> > DemoType? construct
> > MailOrderTo? main
> > CatRoot? /home/sites/home/users/main/catalogs/outdoor-w
> > CgiDir? /home/sites/home/users/main/web/cgibin
> > CgiUrl? /users/main/cgibin/outdoor-w.cgi
> > Aliases? /outdoor-w
> > DocumentRoot? /home/sites/home/users/main/web
> > SampleHtml? /home/sites/home/users/main/web/outdoor-w
> > ImageDir? /home/sites/home/users/main/web/outdoor-w/images
> > ImageUrl? /users/main/outdoor-w/images
> > INET or UNIX mode? UNIX
> > Do you use CGIWRAP or SUEXEC? y
>
> This looks like the server is mangling the PATH_INFO and SCRIPT_NAME,
> which particularly happens on Cobalt systems.
>
> > CgiUrl? /users/main/cgibin/outdoor-w.cgi
>
> looks wrong. But I cannot tell. It looks like there is a very strange
> web server setup. It is just a question of getting SCRIPT_NAME and
> PATH_INFO right -- you might experiment with the attached test-cgi
> script.
>
> --
> Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
>
> Fast, reliable, cheap. Pick two and we'll talk. -- unknown
>
From: dave.barr at cricinfo.com (Dave Barr )
Date: Tue, 27 Feb 2001 10:29:53 +0000
Subject: [ic] How to Call a GlobalSub?
Hi Sam & Mike,
Likewise I have been having problems with the GlobalSubs, I attempted
what Mike suggested:
==snip===============
[perl subs=1]
test_global_sub()
[/perl]
==/snip==============
Using: IC 4.6.3 (tarball), Debian 2.2.17, Perl 5.005-03
And here is the results from from the catalog and Interchange error logs
(absolutely identical):
==snip===============
192.168.0.126 JXisUioQ:192.168.0.126 - [27/February/2001:10:03:16 +0000]
cishop /exec/cishop/test Safe: Unable to create sub named
"*MVSAFE::test_global_sub" at (eval 255) line 2.
==/snip==============
Hope that doesn't make the problem more convoluted? ;-)
Rgds
Dave
---------------------------------------------
>Thanks Mike,
>
>Just tried your suggestion:
>
>[perl subs=1]
>test_global_sub()
>[/perl]
>
>and here is what I get in the error log:
>
>192.168.0.84 e3JGkEeq:192.168.0.84 - [26/February/2001:18:58:22 -0800]
>store3 /cgi-bin/store3/test.html Runtime error: Unable to create sub named
>"" at //usr/lib/interchange/lib/Vend/Interpolate.pm line 1656.
>>
>
>Why is it trying to create a sub when it is presumably already declared?
>I'm running Interchange 4.6.3 under Red Hat 6.2.
>
>-Sam
>
>-----Original Message-----
>Date: Mon, 26 Feb 2001 21:49:01 -0500
>From: Mike Heins <mikeh@minivend.com>
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] How to Call a GlobalSub?
>Reply-To: mike@minivend.com
>Reply-To: interchange-users@lists.akopia.com
>
>Quoting Sam Hui (shui@lunamedium.com):
>> Hi,
>>
>> I'm having a bit of trouble calling a GlobalSub, even the one included,
>ie.
>> test_global_sub which is declared like this in the interchange.cfg:
>>
>> Variable DEBUG 1
>> #ifdef @DEBUG
>> GlobalSub sub test_global_sub { return "Test of global subroutine OK."; }
>> #endif
>>
>> Then in a test.html file:
>>
>> <html>
>> hello!
>> [perl arg=sub interpolate=1]
>> test_global_sub()
>> [/perl]
>> goodbye!
>> </html>
>
>Make it:
>
> [perl subs=1]
> test_global_sub()
> [/perl]
>
>You almost never want interpolate=1 in a perl tag, either, nowadays.
>
From: ven at pragakhan.com (Victor Nolton )
Date: Tue, 27 Feb 2001 05:40:47 -0500
Subject: [ic] installing.....
You might not, but i think it makes life easier. Same with makecat.
I shut up too :)
Ven
>ok, so you dont. i'll shut up now :)
>
>----- Original Message -----
>From: "Cameron Germein" <cameron.germein@team.eftel.com>
>To: <interchange-users@lists.akopia.com>
>Sent: Tuesday, February 27, 2001 10:39 AM
>Subject: Re: [ic] installing.....
>
>
>> you need root.
>>
>> ----- Original Message -----
>> From: "Wing-Tat Sung" <wsung@supercharge.net>
>> To: <interchange-users@lists.akopia.com>
>> Sent: Monday, February 26, 2001 10:24 PM
>> Subject: [ic] installing.....
>>
>>
>> > Hi,
>> >
>> > I would like to install interchange into my virtual server. However, I
>> > don't have root access. Can I still do it? Any idea?..... Actually, I am
>> > a beginner. Please give me some advice.
>> >
>> > Wing-Tat Sung
>> >
>> >
>> > _______________________________________________
>> > Interchange-users mailing list
>> > Interchange-users@lists.akopia.com
>> > http://lists.akopia.com/mailman/listinfo/interchange-users
>> >
>>
>>
>> _______________________________________________
>> Interchange-users mailing list
>> Interchange-users@lists.akopia.com
>> http://lists.akopia.com/mailman/listinfo/interchange-users
>>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
--
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 27 Feb 2001 06:08:06 -0500
Subject: [ic] Undefined catalog error on RAQ3
Quoting Shozo Murahashi ayayu.com (murahashi@ayayu.com):
> Mike, Thank you very much for your responding.
>
> I can run your test-cgi and got output below now.
> Could you please review this and let me know what's wrong?
>
> PATH_INFO = /main/cgibin/test-cgi.cgi
> SCRIPT_NAME = /main/cgibin/test-cgi.cgi
Bingo. This is exactly wrong -- PATH_INFO is supposed to
be empty.
The only way to fix this that I know of is to get the
web server and CGIwrap set up properly. Beyond that, it would be a
hack to the Interchange core, perhaps enabled by a patch
in Server.pm or bin/interchnage like:
if($Global::Variable->{CGIWRAP_WORKAROUND}) {
$CGI::path_info =~ s!^$CGI::script_name::;
}
This could go in ::adjust_cgi() in bin/interchange or the bottom
of Vend::Server::populate(), and be enabled with the interchange.cfg line:
Variable CGIWRAP_WORKAROUND 1
In fact, I think it belongs in ::adjust_cgi(), and I will put it there
for future releases.
Actually, I think that if CGIwrap is set up properly with
the --with-chroot=PATH this will not be a problem. Though I
cannot understand why they would have a problem figuring out
PATH_INFO if they know what SCRIPT_NAME is.....
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Light travels faster than sound. This is why some people appear bright
until you hear them speak. -- unknown
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 27 Feb 2001 06:17:24 -0500
Subject: [ic] How to Call a GlobalSub?
Quoting Dave Barr (dave.barr@cricinfo.com):
> Hi Sam & Mike,
>
> Likewise I have been having problems with the GlobalSubs, I attempted
> what Mike suggested:
>
> ==snip===============
> [perl subs=1]
> test_global_sub()
> [/perl]
> ==/snip==============
>
> Using: IC 4.6.3 (tarball), Debian 2.2.17, Perl 5.005-03
>
> And here is the results from from the catalog and Interchange error logs
> (absolutely identical):
>
> ==snip===============
> 192.168.0.126 JXisUioQ:192.168.0.126 - [27/February/2001:10:03:16 +0000]
> cishop /exec/cishop/test Safe: Unable to create sub named
> "*MVSAFE::test_global_sub" at (eval 255) line 2.
> ==/snip==============
>
Works for me, albeit on RedHat 4.6.4, 6.1 and Perl 5.6.0. It has worked
that way since MV3.00, it is part of my regression test suite.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: joachim.richter at usvideocenter.de (joachim.richter )
Date: Tue, 27 Feb 2001 13:41:25 +0100
Subject: [ic] Formatting the price
I have a rather curious problem
we are trying to assign different prices for different user upon login, so far everything worked out fine
we added 3 fields in the products database and called them price2, price3 and price4
we added 1 field in the userdb and called it pricefield
we changed our config in that way
....
Autoload <<EOR
[perl]
if($Scratch->{dealer}) {
$Config->{PriceField} = $Values ->{pricefield};
}
[/perl]
EOR
....
Locale de_DE frac_digits 2
Locale de_DE p_cs_precedes 0
Locale de_DE p_sep_by_space 2
Locale de_DE mon_decimal_point ,
Locale de_DE mon_thousands_sep .
#LocaleDatabase locale
in the html pages we get an price output by using [item-price]
Why is it that somehow interchange "swallows" the last two digits instead of DM 15,95 it displays DM 15,00
it also calculates the shopping cart with the wrong price (missing 2 digits).
What can we do, we do suspect it to be a formatting problem, probably coming out of the Autoload <<EOR
Does anybody know how to resolve this ?
regards Joe
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart
Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 27 Feb 2001 07:51:43 -0500
Subject: [ic] Formatting the price
Quoting joachim.richter (joachim.richter@usvideocenter.de):
> I have a rather curious problem
>
> we are trying to assign different prices for different user upon login, so far everything worked out fine
> we added 3 fields in the products database and called them price2, price3 and price4
> we added 1 field in the userdb and called it pricefield
> we changed our config in that way
> ....
> Autoload <<EOR
> [perl]
> if($Scratch->{dealer}) {
> $Config->{PriceField} = $Values ->{pricefield};
> }
> [/perl]
> EOR
> ....
> Locale de_DE frac_digits 2
> Locale de_DE p_cs_precedes 0
> Locale de_DE p_sep_by_space 2
> Locale de_DE mon_decimal_point ,
> Locale de_DE mon_thousands_sep .
> #LocaleDatabase locale
>
> in the html pages we get an price output by using [item-price]
>
> Why is it that somehow interchange "swallows" the last two digits instead of
> DM 15,95 it displays DM 15,00 it also calculates the shopping cart with the
> wrong price (missing 2 digits).
>
Sounds like you are assuming you can store the price in the database as
15,95. That is not so. It must be in LC_ALL=C format, i.e. 15.95. The
display will be correct.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
If you think nobody cares if you're alive, try missing a couple of
car payments. -- Earl Wilson
From: joachim.richter at usvideocenter.de (joachim.richter )
Date: Tue, 27 Feb 2001 14:05:16 +0100
Subject: [ic] INET or UNIX Mode ?
Which one is to prefer ?
on our local interchange server upon restart
we get the message ..started in INET and UNIX Mode..
the interchange server with our provider starts only in UNIX mode
we have noticed that if we start the interchange server locally in UNIX mode it is way slower
although the provider claims upon questioning UNIX mode is the only way to go ?
is that correct ?
regards Joe
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart
Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de
From: Chad.Kreimendahl at umb.com (Kreimendahl, Chad J )
Date: Tue, 27 Feb 2001 07:31:07 -0600
Subject: [ic] Overwriting problem
If I untar our development catalog directory and restart interchange,
everything works fine... but several hours later, the configuration that we
have not touched does not work. For some reason it tries to recreate some
of the tables in the db. I've been searching for the past 3 days to find
out exactly why it would be doing this and would appreciate anyone who could
give some help.
We're using
interchange 4.6.0
on Solaris 2.6
perl 5.005_03
From: cfm at maine.com (cfm at maine.com )
Date: Tue, 27 Feb 2001 08:45:02 -0500
Subject: [ic] INET or UNIX Mode ?
On Tue, Feb 27, 2001 at 02:05:16PM +0100, joachim.richter wrote:
> Which one is to prefer ?
>
> on our local interchange server upon restart
> we get the message ..started in INET and UNIX Mode..
If ic is on same machine as your catalog you only need UNIX mode.
>
> the interchange server with our provider starts only in UNIX mode
Either the script is so set or something is blocking the ports.
>
> we have noticed that if we start the interchange server locally in UNIX mode it is way slower
Slower to start or to run? Are you sure that is not more a comment
on your patience? :-) Time it and see for sure.
>
> although the provider claims upon questioning UNIX mode is the only way to go ?
If you don't need INET don't use it. Ask him what he means
by "only way to go".
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: bordas at jeuxvideo.com (David Bordas )
Date: Tue, 27 Feb 2001 15:36:23 +0100
Subject: [ic] PayBox & IC ?? ( billing process )
Hi all,
My company was interested in IC akopia, but we are in europe !
How can i incorporate a PAYBOX system to the IC billing process ?
I really need help, i try to read ML archives but i haven't found anything
good for paybox.
Thanks for help.
From: markj at redhat.com (Mark Johnson )
Date: Tue, 27 Feb 2001 10:09:39 -0500
Subject: [ic] products.txt regeneration
The columns must pre-exist. You cannot add columns based on data.
Columns that don't pre-exist will be ignored.
This is further complicated if you are using a SQL db, whereby you must
add the columns into the .txt file, and then regenerate the table in the
db itself by rm'ing the .sql file and restarting IC. Moreover, don't
forget to either have a suitable default datatype in your config file
*or* add those COLUMN_DEFs into the config file.
If you add interior columns, you will of course have to have \t space
holders. I am not sure whether you would have to do the same for columns
at the end, but I would do it nonetheless for assurance.
Alex Lam wrote:
>
> Hi guys,
>
> Can I just ask when the products.txt file is updated by akopia?
>
> I just imported some data from an external tab delimited file and want
> to access some of the fields, but it doesn't seem to happen 'coz the
> changes are not reflected in the products.txt file
>
> Best regards,
> Alex Lam
> Integricity Corporation Sdn. Bhd.
> Mobile : +6017-8800044
> E-mail : alex@integricity.com
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Developer - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: bruno at digi-land.com (Bruno Cantieni, Digital Landscape )
Date: Tue, 27 Feb 2001 10:22:21 -0500
Subject: [ic] Problems restricting administrative users
I have recently installed IC 4.6.3 (RPM) on my RH Linux 7 machine.
After a few days of struggling I now have a couple of different demo cats working fine including one
using MySQL.
The plan ultimately is to have several catalogs running on one server with one SuperUser capable of
administering all the catalogs and to set up one catalog administrators for each catalog with
limited privileges. The main restriction imposed on these administrators is to not be able to delete
anything.
So far, using only the administrator UI ==> Access configuration utility, I have not been able to
configure an administrator that can view and edit orders but not delete them.
Am I missing something here?
Am I the only one with this problem?
In fact, I can set up a new administrator, and without explicitly giving this administrator
SuperUser rights, assigning any group memberships or editing the "default" access privileges, this
new administrator in essence becomes a new SuperUser!
Bug?
I have found only one reference in the archives suggesting that this functionality is still buggy
but if this is the case, how do I accomplish the above?
I could presumably roll my own access.asc but have not found any detailed description/instruction on
how I would go about doing that.
Any help, pointers, tips greatly appreciated.
Thanks.
(IC Newbie)
Bruno Cantieni
From: michelle at wilant.com (Michelle Wilant (home) )
Date: Tue, 27 Feb 2001 10:32:38 -0500
Subject: [ic] best set up with several stores
Thanks for your quick response. Currently, I have installed interchange
into two separate directories. (Each directory has its own apache
httpd.conf file, too.) So my directory structure is as follows:
/web/sites/store1/(interchange root, also cgi-bin, etc)
/web/sites/store2/(its own interchange installation)
I can get store 1's interchange server running, no problem. By doing
/web/sites/store1/interchange/bin/interchange -r (as the interchange user
of course)
But when I go to start up an interchange server for store 2, it won't start
because it sees the other one running. Therefore, right now I can't get two
interchange servers running.
I'm just wanting, currently, to run one apache server & interchange server
per catalog (aka store directory). That way our developers can restart
whenever they need to update information etc. without affecting other
stores.
Help - Thanks
----- Original Message -----
From: "Mike Heins" <mikeh@minivend.com>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 26, 2001 11:56 PM
Subject: Re: [ic] best set up with several stores
> Quoting Dan B (db@cyclonehq.dnsalias.net):
> > Yes, you can also easily run multiple interchange deamons per box. Just
> > install them to different directories (/usr/local/ic-4.6.3,
> > or /usr/local/ic-CVS-$DATE is how I do it). It doesn't hurt for them
to
> > share a common catalog directory (such as /var/ic), but you probably
don't
> > want two daemons accessing the same catalog at the same time :-)
> >
>
> Actually, that is not a problem. It isn't really any different than
> different users hitting the same catalog with browser clicks on the
> same daemon with forked children. We are very fussy about locking files,
> which accounts for Interchange's good reputation for robustness. 8-)
>
> In fact, I recommend this. Make one daemon with the UI for your admin,
> protecting it with HTTP basic auth and/or allow-deny IP/host statements
> in the web server, and disable the UI in the production version that
> customers use. This is much more secure as all of the GlobalSub and
> UserTags that modify files are out of play.
>
> (You might have to include some of the UI usertags from lib/UI/usertag
> if you employed them in the catalog -- the only one I can think of that
> we use in the demo is [button ...] and maybe [table-editor ...] in the
> DEV_4_7_0 branch.)
>
> I will try and include instructions and a little batch file to do
> that in the next release.
>
> Best,
> Mike
> --
> Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
>
> Be patient. God isn't finished with me yet. -- unknown
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: kpullon at hotmail.com (Kristina Pullon )
Date: Tue, 27 Feb 2001 10:28:20 -0500
Subject: [ic] Memory Usage?
My interchange seems to be taken up 64 mgs of memory - is this normal? We
have 256 mg on our machine (unix).
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: joachim.richter at usvideocenter.de (joachim.richter )
Date: Tue, 27 Feb 2001 16:33:51 +0100
Subject: [ic] Price Format Problem
thanks Mike you were absolutely right.
we have changed all prices from "," to "."
can you give us one more hint
we have picked german as our standard language
using [item-price] we get a correct price DM 24,95 but as soon as we use this
[setlocale de_DE]
[currency][item-price][/currency]
[setlocale en_US]
[currency][item-price][/currency]
[setlocale fr_FR]
[currency][item-price][/currency]
[setlocale]
we get DM 0,00
$ 0,00
0,00 FF
if we drop the currency
we get DM 24,95
DM 24,95
DM 24,95
also we can't seem how to figure out the Pricedivide option in the locale.txt how can we have it calculate the price ?
our config looks like this
Locale de_DE LC_CTYPE de_DE
#Locale fr_FR
#Locale en_US
#Locale en_US LC_CTYPE C
LocaleDatabase locale
and we have a little Autoload
Autoload <<EOR
[perl]
if($Scratch->{dealer}) {
$Config->{PriceField} = $Values ->{pricefield};
}
[/perl]
EOR
the autoload changes the "pricefield price" according to the field "pricefield" in the Userdb.
this works fine. we are like out of ideas
this is our locale
code en_US de_DE fr_FR
January Januar Janvier
February Februar Février
March März Mars
April April Avril
May Mai Mai
June Juni Juin
July Juli Juillet
August August Aout
September September Septembre
October October Octobre
November November Novembre
December Dezember Décembre
PriceDivide 2 1 0.1632
ProductFiles
currency_symbol $ DM FF
decimal_point . . .
default 0 1 0
frac_digits 2 2 2
mon_decimal_point . , ,
mon_thousand_sep
mon_thousands_sep , , .
p_cs_precedes 1 1
p_sep_by_space 1 1
price_picture
products products produits
are we overseeing like something ?/
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart
Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de
From: Ian.Molesworth at 2020Me.com (Ian Molesworth )
Date: Tue, 27 Feb 2001 15:59:02 -0000
Subject: [ic] XML into the backend
Does interchange support XML based product queries, orders, order tracking
and catalog requests?
Any interest in developing this capability if it's not already there?
I build B2B and B2C systems and the biggest challenge is getting suppliers
to 'join the party' in terms of supporting something other than the web
interface.
Ian Molesworth
From: davidb at communitylink.com (davidb )
Date: Tue, 27 Feb 2001 10:26:51 -0600
Subject: [ic] Cross Compatibility
I'm getting closer to the problem with differences in browser responses, but
I just found something else new-
I checked the error logs and here is what I found for almost every process-
********* /cgi-bin/********/process.html search error: Limit subroutine
creation: bad limit creation code in coordinated search, probably search
group without search specification. at
/usr/www/*******/interchange/lib/Vend/Search.pm line 700.
I'm not sure if this is part of the problem, but it seems pretty consistent.
Any ideas?
From: ftnx at ksbase.com (Kari Suomela )
Date: Tue, 27 Feb 2001 11:21:59 -0500
Subject: [ic] Sorry, the page (expired) was not found
I installed the 'construct' demo and everything seems to work ok,
except every time a users wants to buy something, the above message
pops up. The item gets to the cart anyway!
How do I eliminate the error message?
KS
KARICO Business Services
Toronto, ON Canada
http://www.ksbase.com
... Any small object when dropped will hide under a larger object.
From: shui at lunamedium.com (Sam Hui )
Date: Tue, 27 Feb 2001 08:58:40 -0800
Subject: [ic] How to Call a GlobalSub?
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C0A09B.716D56E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hey Dave and Mike,
I just tried the same exact code on another server, also RedHat 6.2,
Interchange 4.6.3 RPM, Perl 5.00503 and it just works. I'll try to
narrow it down and hopefully figure out what's going on.
-Sam
-----Original Message-----
Message: 7
Date: Tue, 27 Feb 2001 10:29:53 +0000
To: interchange-users@lists.akopia.com
From: Dave Barr <dave.barr@cricinfo.com>
Subject: Re: [ic] How to Call a GlobalSub?
Reply-To: interchange-users@lists.akopia.com
Hi Sam & Mike,
Likewise I have been having problems with the GlobalSubs, I attempted
what Mike suggested:
==snip===============
[perl subs=1]
test_global_sub()
[/perl]
==/snip==============
Using: IC 4.6.3 (tarball), Debian 2.2.17, Perl 5.005-03
And here is the results from from the catalog and Interchange error logs
(absolutely identical):
==snip===============
192.168.0.126 JXisUioQ:192.168.0.126 - [27/February/2001:10:03:16 +0000]
cishop /exec/cishop/test Safe: Unable to create sub named
"*MVSAFE::test_global_sub" at (eval 255) line 2.
==/snip==============
Hope that doesn't make the problem more convoluted? ;-)
Rgds
Dave
---------------------------------------------
>Thanks Mike,
>
>Just tried your suggestion:
>
>[perl subs=1]
>test_global_sub()
>[/perl]
>
>and here is what I get in the error log:
>
>192.168.0.84 e3JGkEeq:192.168.0.84 - [26/February/2001:18:58:22 -0800]
>store3 /cgi-bin/store3/test.html Runtime error: Unable to create sub
named
>"" at //usr/lib/interchange/lib/Vend/Interpolate.pm line 1656.
>>
>
>Why is it trying to create a sub when it is presumably already
declared?
>I'm running Interchange 4.6.3 under Red Hat 6.2.
>
>-Sam
>
>-----Original Message-----
>Date: Mon, 26 Feb 2001 21:49:01 -0500
>From: Mike Heins <mikeh@minivend.com>
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] How to Call a GlobalSub?
>Reply-To: mike@minivend.com
>Reply-To: interchange-users@lists.akopia.com
>
>Quoting Sam Hui (shui@lunamedium.com):
>> Hi,
>>
>> I'm having a bit of trouble calling a GlobalSub, even the one
included,
>ie.
>> test_global_sub which is declared like this in the interchange.cfg:
>>
>> Variable DEBUG 1
>> #ifdef @DEBUG
>> GlobalSub sub test_global_sub { return "Test of global subroutine
OK."; }
>> #endif
>>
>> Then in a test.html file:
>>
>> <html>
>> hello!
>> [perl arg=sub interpolate=1]
>> test_global_sub()
>> [/perl]
>> goodbye!
>> </html>
>
>Make it:
>
> [perl subs=1]
> test_global_sub()
> [/perl]
>
>You almost never want interpolate=1 in a perl tag, either, nowadays.
>
------=_NextPart_000_0012_01C0A09B.716D56E0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFsTCCAoAw
ggHpoAMCAQICAwQk1DANBgkqhkiG9w0BAQQFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl
c3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsT
FENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAw
MC44LjMwMB4XDTAxMDIwODIzMTg0NFoXDTAyMDIwODIzMTg0NFowRTEfMB0GA1UEAxMWVGhhd3Rl
IEZyZWVtYWlsIE1lbWJlcjEiMCAGCSqGSIb3DQEJARYTc2h1aUBsdW5hbWVkaXVtLmNvbTCBnzAN
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAyaNth0pebR3t9/AyEqLBdLYiq+rfIxCXFPswkMxaGjuF
3breY5PcRSFBeKh21Z57A2m+pm/PXBaoNv5Ge0RSP/A9E1l0e5115uan86gdbyzaNUq8rIbTvjeG
1CDi5BpjroJAFc0Wyci3gDYEiy1gwAKe1j+XHx6CcRvc0yKgXDMCAwEAAaMwMC4wHgYDVR0RBBcw
FYETc2h1aUBsdW5hbWVkaXVtLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAKZw
n1dj59mKwjSIeth0yEaNNLCZQx2kpnc/NPEU0JIdhtcSmJzsLYCzgM+Q7GqLVOMx8rVKDwUGPVBC
TfteDXWAT6rHmddLJzEBlTzcNY+7MT+e1Z9d7TXFkS3MlmRRFepj83dV7846fskfPXWuo1ppoB6K
/f34m6EcFTByR4vpMIIDKTCCApKgAwIBAgIBDDANBgkqhkiG9w0BAQQFADCB0TELMAkGA1UEBhMC
WkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMRowGAYDVQQKExFU
aGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lv
bjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENBMSswKQYJKoZIhvcNAQkBFhxw
ZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAwMDgzMDAwMDAwMFoXDTAyMDgyOTIzNTk1
OVowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUg
VG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYG
A1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4zMDCBnzANBgkqhkiG9w0BAQEFAAOB
jQAwgYkCgYEA3jMypmPHCSVFPtJueCdngcXaiBmClw7jRCmKYzUqbXA8+tyu9+50bzC8M5B/+TRx
oKNtmPHDT6Jl2w36S/HW3WGl+YXNVZo1Gp2Sdagnrthy+boC9tewkd4c6avgGAOofENCUFGHgzzw
ObSbVIoTh/+zm51JZgAtCYnslGvpoWkCAwEAAaNOMEwwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMT
EVByaXZhdGVMYWJlbDEtMjk3MBIGA1UdEwEB/wQIMAYBAf8CAQAwCwYDVR0PBAQDAgEGMA0GCSqG
SIb3DQEBBAUAA4GBAHMbbyZli/8VNEtZYortRL5Jx+gNu4+5DWomKmKEH7iHY3QcbbfPGlORS+HN
5jjZ7VD0Omw0kqzmkpxuwSMBwgmn70uuct0GZ/VQby5YuLYLwVBXtewc1+8XttWIm7eiiBrtOVs5
fTT8tpYYJU1q9J3Fw5EvqZa4BTxS/N3pYgNIMYICyDCCAsQCAQEwgZowgZIxCzAJBgNVBAYTAlpB
MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhh
d3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJl
ZW1haWwgUlNBIDIwMDAuOC4zMAIDBCTUMAkGBSsOAwIaBQCgggGDMBgGCSqGSIb3DQEJAzELBgkq
hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAxMDIyNzE2NTgyNFowIwYJKoZIhvcNAQkEMRYEFIVi
j7476N+YdWIH60FRMhWpVFzaMHYGCSqGSIb3DQEJDzFpMGcwCgYIKoZIhvcNAwcwDgYIKoZIhvcN
AwICAgCAMAcGBSsOAwIHMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMAcGBSsOAwIaMAcGBSsOAwIa
MAoGCCqGSIb3DQIFMAoGCCqGSIb3DQIFMIGrBgkrBgEEAYI3EAQxgZ0wgZowgZIxCzAJBgNVBAYT
AlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMG
VGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwg
RnJlZW1haWwgUlNBIDIwMDAuOC4zMAIDBCTUMA0GCSqGSIb3DQEBAQUABIGAbxVpoRGzp/uL/XrY
gfvaNDS7Mi6WUBnWlrtN1xD6ZYPiYZmUDGjKwqB9aCsAJt/v9J2B65tAZEJOttsNOLCd1+QN69Bu
3blaEMiY9XjNQ2ee0lZNYr8Hf+Is+tgLbOt0olq5qqKGaqSz+k+bFqP8nFgSUQtBnMk6K0tqVeLk
i7YAAAAAAAA=
------=_NextPart_000_0012_01C0A09B.716D56E0--
From: marty at sediva.com (Marty Tennison )
Date: Tue, 27 Feb 2001 11:31:09 -0600
Subject: [ic] Question about "Add a note" Feature on the Akopia Developer site.
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01C0A0B0.C7EA8E60
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0012_01C0A0B0.C7EA8E60"
------=_NextPart_001_0012_01C0A0B0.C7EA8E60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Is the "Add a note" feature of the akopia site standard in Interchange? If
so is it documented anywhere? I'm trying to work up a "Rate this item"
(like Amazon) feature and it looks like the add a note might work out well.
Any ideas? :)
------=_NextPart_001_0012_01C0A0B0.C7EA8E60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<STYLE>BODY {
BACKGROUND-POSITION: left top; FONT-SIZE: 12pt; MARGIN-LEFT: 8em; =
COLOR: #000000; BACKGROUND-REPEAT: repeat-y; FONT-FAMILY: arial; =
BACKGROUND-COLOR: #ffffff
}
P.msoNormal {
BACKGROUND-POSITION: left top; FONT-SIZE: 12pt; MARGIN-LEFT: 8em; =
COLOR: #000000; BACKGROUND-REPEAT: repeat-y; FONT-FAMILY: arial; =
BACKGROUND-COLOR: #ffffff
}
LI.msoNormal {
BACKGROUND-POSITION: left top; FONT-SIZE: 12pt; MARGIN-LEFT: 8em; =
COLOR: #000000; BACKGROUND-REPEAT: repeat-y; FONT-FAMILY: arial; =
BACKGROUND-COLOR: #ffffff
}
P.msoNormal {
MARGIN-TOP: 0em; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0em; MARGIN-LEFT: 8em; =
COLOR: black; FONT-FAMILY: arial
}
LI.msoNormal {
MARGIN-TOP: 0em; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0em; MARGIN-LEFT: 8em; =
COLOR: black; FONT-FAMILY: arial
}
</STYLE>
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
<BODY background=3Dcid:430242717@27022001-2570>
<DIV><SPAN class=3D430242717-27022001><FONT face=3Darial>Is the "Add a =
note" feature=20
of the akopia site standard in Interchange? If so is it =
documented=20
anywhere? I'm trying to work up a "Rate this item" (like =
Amazon)=20
feature and it looks like the add a note might work out =
well. =20
Any ideas? :)</FONT></SPAN></DIV>
<DIV><SPAN class=3D430242717-27022001></SPAN> </DIV>
<DIV><SPAN class=3D430242717-27022001></SPAN> </DIV></BODY></HTML>
------=_NextPart_001_0012_01C0A0B0.C7EA8E60--
------=_NextPart_000_0011_01C0A0B0.C7EA8E60
Content-Type: image/gif;
name="Chess.gif"
Content-Transfer-Encoding: base64
Content-ID: <430242717@27022001-2570>
R0lGODlhQAZlAPcAAP////7+/v39/fz8/Pv7+/r6+vn5+fj4+Pf39/b29vX19fT09PPz8/Ly8vHx
8fDw8O/v7+7u7u3t7ezs7Ovr6+rq6unp6ejo6Ofn5+bm5uXl5ePj4+Li4uHh4eDg4N/f397e3t3d
3dzc3Nvb29ra2tnZ2djY2NfX19bW1tXV1dTU1NPT09LS0tHR0dDQ0M/Pz87Ozs3NzczMzMvLy8rK
ysnJycjIyMfHx8bGxsXFxcTExMPDw8LCwsHBwcDAwL+/v76+vr29vby8vLu7u7q6urm5ubi4uLe3
t7a2trW1tbS0tLOzs7KysrGxsbCwsK+vr66urq2traysrKurq6qqqqmpqaioqKenp6ampqWlpaSk
pKOjo6KioqGhoaCgoJ+fn56enp2dnZycnJubm5qampmZmZiYmJeXl5aWlpWVlZSUlJOTk5KSkpGR
kZCQkI+Pj46Ojo2NjYyMjIuLi4qKiomJiYiIiIeHh4aGhoWFhYSEhIODg4KCgoGBgYCAgH9/f35+
fgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAQAZlAEAI/wBvXPlC
sKDBgwgTKlxY8M2XK0duvDjxoaLFixgzntj44sWNHz+OPLky8Mybk3dS3nlz5ckPihAQIABAs6bN
mzhz6tzJs6fPn0CDCh1KtKjRo0iTKl3KtKnTp1CjSp1KtarVq1izat3KtavXr2DDih1LtqzZs2hz
nvD4YyRBk29S/pl75wzDu3ffnIH4YyLFjIADC764cW3HGxgSx5yZtrHjx5AjS55MubLly5gza97M
ubPnz6BDmxVc2PDHkCNLmlQ5909dvAb18vU7uLZtwaJz697Nu7fv38CDCx9OvLjx48jT3rZd+jBI
kQO/wGVN1+TeI303Lt9+O7n37+DDi/8fT768+fPo06tHzr194OYeP8L+csR9+/X48+vfz7+///8A
BijggETZZyBpJ8yn4Bc/2EfggxBGKOGEFFZo4YUY9nfghhhttOCHsN1gUYYklmjiiSimqOKKLJqI
1xN/cYggiDTCNhEGEMTU4o489ujjj0AGKeSQT9Wo0BExbuehkUwm5NILH2AgE5FUVmnllVhmqeWW
wzVpJJIVLenlmE9GOSWXaKap5ppstunmmziNSaZbq90xl0NywlamlIzB6eefgAYq6KCElpdnk3p9
8URENzT60RHQvYWSna3hyeSeZxaq6aacdurpp6BidSiTsmFH22CFHXbaE25JN2lrf1j/ehCmfYZq
66245qrrrmy+EFJJKtk1KkOlZpfkgRSlGl9I0EUH0g0n4Jgpr9RWa+212GYLoEUcsYUaSdLVSalr
wpJ6nbEyuqftuuy26+678Oqm5AfKettsuHHJVZ1CxZ6a7nbxBizwwAQXbDBU/wIG32n3SpcQmAkv
d/DEFFds8cXrRmygmDQ2+C/GIIcs8sgkr6mxfRwPa5DHuJXs8sswxyxzhQbBeDJzCaoM4rQz9+zz
z0AHLVyNNqebss56RgQTz0I37fTTUEftFdIFQfxezlQrSKvUXHft9ddg/5S1gh9FNzZDW4et9tps
ty3z2bAl+lBBZ0w3bqw6p+323nz3/+33u3Dj1a92YXbbKLOt2g2rrC/2ZWatf0cu+eSUF3pD4MSe
6y93yh4uEp12q3RHS47zWfnpqKeuOpYeHVES5rFpTjiyhq8K+kknLep4jpCv7vvvwAdPIVsj1dna
a1kPfuy/nT8KqV+K9S789NRXb315HHnuumr5jou8nMrffPUJMpV//fnop68+cB12/lxq+FJHbo3h
i9/y+vjnr//+lN1WL8OJE9fxyrWQ+tkPMPxLoAIXyECtbIxehrEXq94iwH01RHbLO2BFGsjBDnrw
g0HRWPPeF526TcpSppqdBi8Cwha68IUMXGGysgfACS6kPivcIAx3yMMeUi+HCOoIiP9wqDEfGvGI
SJQcEGvzAjmxzEBJjKIUp9i1Jc4IaU+sDRW3yMUuxsyKV4PdF0SUES+a8YxoPFjRwMgtrInxIGmM
oxzniC2FrFGDR3vjF6TFNDr68Y+A9NOC7sg8N+qRID+AVpR0FMhGOvKRWfKS1VBmyEOSDkrSgqQm
N8nJFulskqiqpB4v+QHedfKUqEzlhDBHRMKIUo9lWowqZ0nLWubnkFVrIi5rtjtG2vKXwAzmcXZZ
ENS4inGBi2UfhcnMZjqTM8RMCFzyVamxxdKXz8ymNrcJmWh+IVGsgtTnSjipcSHzUrtbJjfXyc52
iiqaxZIIR9aivcSVs5o0uqb03Mn/z376MyneHBy9NJKqepKze/hEWzr3+c+GOvShcYInBpVUO9TY
E6F34iWUTAnRjnoUor56wi4NyDkImsZ54DqmSlhiqsd99KUwdWfrrgAXAsKNpBuqaFsCeIZFKVJK
MQ2qUJ9JPFdR6nvJm2jERggpVl2hUZiU5VCnStVZrsWY36SmBXWG06XW7iMViZ46q0rWstIxe1g1
ofz+YNMxdfVmzeGd+cxK17r60aQSBJda9TU/tyrVijNhqF0HS9gpttFwJOTeWtu6oLdqsLCQjSwX
Fea+bymWr0idj2MPKNnOetaItflfYuPHV7Zq9q9L/KxqVwtCzkUQgCWsYF/5hVog/7L2trhN4MZe
m9i6yda0B9ms/XJL3OKij0NMjRRpvScs4YrPuNCNLvASJlrLqlR0d5DObFRoW+l697uTg2tBYUtB
3NUMWhl8LHjXy9624bFbyxonQ0Cp3vba975SW+LCnIeXLD4XvwAOMNDYiNfDLKiVRRSwghfsMgIP
FIK6BJF/OcTgClv4Yg4+rJcmrK4Le/jDAstwGw/F4e6A+MQo1paIC6ezEgcmxTCO8a5WDMGxuXhE
Ms6xjjtF4zxi8X47DrKQ/dTjV46NjDgespKXnKYiE1NETI6ylK9EEELq18iwE+yUt8zlEyHEygf0
sRgXo+Uum/nMELpLer3qzUVKFf/NcI4zgeYDZqNhGXPy5KOc98xn/oCozrv1pktEpOc+G/rQhjIS
oCnqTb4srcyIjrSkeyMn+m4nwrskHUVMN+lOe/o3w1o0Qb2pqNKN9dOoTvVlqGbp9pFab6qOtawr
A7dWixl2pMzkrHfNa8eIcZK3ht2esNnrYhv7K7hE0loaDetjO/vZVvHmEQRtakhD+9rYJoo3P1I8
Sw7b2tkOt7h1Iu0JriZWjKXat8fN7naLLZokKcmr6HK2XJ/a3fgOtzfrZhATYtQ16q52vgee74Da
pSWsuqhWAX6oXBOb4BDHtsEVhR2QIO6g8jtnPkv38Ih7/NgG54tEOhJf5YYuoSBosje4P85yT4fc
VH5pjkEl9W+NKxST9265zjv98r5MpH00vDjNMw4bh69850jnc883B3R6PsqpQ+erzUsd1aMn/epo
Xjp3FYbXmV/XnAdROdbHznOJbnfN43M6SKB+XddkVOxkj/uhAwIAOw==
------=_NextPart_000_0011_01C0A0B0.C7EA8E60--
From: thomas at prometheas.gr (Thomas N. Stefanidis )
Date: Tue, 27 Feb 2001 21:04:02 +0200
Subject: [ic] Simple MySQL query.
Hello,
I have some products (they are all in the same category) and i want to
change the category name
old : mares mask
old : seac-sub mask
change to : mares masks
change to :seac-sub masks
is there an easy way to do with an MySQL query?
Thank you
Thomas
From: ken at desktech.com (Ken Dailey )
Date: Tue, 27 Feb 2001 12:59:42 -0600
Subject: [ic] order reporting & purchase orders
Hello,
I am very new to Interchange and have been working with the construct demo
to familiarize myself with the program. I have a problem and I am not sure
if it is a bug or if I missed something in the documentation.
An orders that are placed with the Purchase Order option (instead of via
Check or Credit Card) do not show up on the Order report in the Admin area.
Nor do they show up on the Customer report in the Admin area.
I tried this out on my own installation of the demo and on the demo on
Akopia's web site.
Any ideas on how all orders can be included in these reports?
Thank you!
Ken Dailey <ken@desktech.com> 612.825.0999
DeskTech Computer & Internet Services <http://www.desktech.com>
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Tue, 27 Feb 2001 14:17:35 -0500
Subject: [ic] Quantity discounts in Constuct
Hello,
I posted this before, but perhaps it was overlooked.
In the Construct demo, how do you modify the config to let all user have quantity discounts?
I tried modifying the little perl piece in the catalog.cfg to always do discounts, but then it shows $0.00 for pricing (although the quantity pricing works.)
What am I missing?
Bob
From: parentjp at pjp.dhs.org (Jean-Pierre Parent )
Date: Tue, 27 Feb 2001 14:15:52 -0500
Subject: [ic] Admin section without login?
Hello!
I've been trying to start a new catalog from scratch...so far everything
loads exactly how I want it but I lost the login page from the admin
section. When I enter http://www.domain.com/cgi-bin/catalog/admin/index.html
it goes straight for the menu thingy... Where did it go? Any ideas?
I'm aware that sometimes userdb containing blank passwords can lead to
problems but I'm not sure if its the same thing.
No pages are actually served yet since i'm creating templates for the
store...Is the login part of the pages/ directory?
I also tried the "RemoteUser" directive along with the "Password" one. Didnt
change anything though it says that mv_crypt (not sure) determines if the
password is encrypted or not? How do one set that in catalog.cfg?
Where is the password for the ui administrator located? Userdb? Directives?
Does anyone can help me sort all that stuff into something comprehensive?
Thanks for your time...
Jean-Pierre Parent
From: allen at fixitmobile.com (Allen Armstrong )
Date: Tue, 27 Feb 2001 11:45:21 -0800 (PST)
Subject: [ic] Memory Usage?
Depends on how many records are in your database and if your using the
stock interchange databases.
Allen Armstrong
On Tue, 27 Feb 2001, Kristina Pullon wrote:
> My interchange seems to be taken up 64 mgs of memory - is this normal? We
> have 256 mg on our machine (unix).
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Tue, 27 Feb 2001 15:15:12 -0600
Subject: [ic] Help?
Ok assuming your interchange.cfg file is in the /etc dir do this:
pico /etc/interchange.cfg
Now read the top lines that start with Catalog. This will give you the
name you specified for the catalog, the path to the catalog root, the
executable located in the cgi-bin dir and the alias. When done reading
ctrl X Now you know where the catalog is :)
Steve
any@youwillsave.com wrote:
>
> To Steve and Patti.
> I did allot and learned allot from your advise but you assumed wrong, I
> don't even
> think I know what or where the catalog is. Who knows what I screwed up
> now?
> Thanks!
>
> To cfm@maine.com
> I know your comments were meant with the best of intentions, as are
> mine. I was in
> way "over my head" the day I bought my 1st computer 4 years ago. I've
> come a long
> way since then, but not by giving up or finding "other solutions". We
> must always
> encourage others to learn and understand, especially the young ones.
>
> To all who have tried to help me: I thank you from the bottom of my
> heart. Even
> though the main goal of fixing my problem has not been achieved, I'm
> sure that I am
> walking away more knowledgeable in these matters because of you! Thank
> you,
> thank you! "May your help to others in the future be more fruitful and
> always
> appreciated!"
> I am not giving up, just giving you a break. I will bother you no more.
> My problem
> will be solved sooner or later with trial and error and persistence.
> This list has been
> great, fun and I have learned much from it.
>
> To those who make it all happen: I believe you could design a button for
> dummies
> like me that once pressed, everything would go back to default, (how it
> originally
> was)? Just a suggestion! Thank You!!!
>
> Goodbye
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti@wubs.org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Tue, 27 Feb 2001 12:18:27 -0800
Subject: [ic] Simple MySQL query.
Yes :)
UPDATE products
SET category = 'seac-sub masks'
WHERE category = 'seac-sub mask'
UPDATE products
SET category = 'mares masks'
WHERE category = 'mares mask'
Modify the category table to have these modified categories, run the queries
against your products table and you should be good to go.
See ya,
-Ron
----- Original Message -----
From: "Thomas N. Stefanidis" <thomas@prometheas.gr>
To: "Interchange Mailing List" <interchange-users@lists.akopia.com>
Sent: Tuesday, February 27, 2001 11:04 AM
Subject: [ic] Simple MySQL query.
> Hello,
> I have some products (they are all in the same category) and i want to
> change the category name
>
> old : mares mask
> old : seac-sub mask
> change to : mares masks
> change to :seac-sub masks
>
> is there an easy way to do with an MySQL query?
>
>
> Thank you
>
> Thomas
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: jonc at webmaint.com (Jonathan Clark )
Date: Tue, 27 Feb 2001 20:22:36 -0000
Subject: [ic] Admin section without login?
check the products/access.asc which holds the text copy of the UI user
database. This is imported into gdbm by default.
there is an admin/login.html page and I think (from memory) the UI pages
check for logged in user and the user's table (access or userdb) and bounce
to the login page if neccessary.
Jonathan
Webmaint.
>
> Hello!
>
> I've been trying to start a new catalog from scratch...so far everything
> loads exactly how I want it but I lost the login page from the admin
> section. When I enter
> http://www.domain.com/cgi-bin/catalog/admin/index.html
> it goes straight for the menu thingy... Where did it go? Any ideas?
>
> I'm aware that sometimes userdb containing blank passwords can lead to
> problems but I'm not sure if its the same thing.
> No pages are actually served yet since i'm creating templates for the
> store...Is the login part of the pages/ directory?
>
> I also tried the "RemoteUser" directive along with the "Password"
> one. Didnt
> change anything though it says that mv_crypt (not sure) determines if the
> password is encrypted or not? How do one set that in catalog.cfg?
> Where is the password for the ui administrator located? Userdb?
> Directives?
>
> Does anyone can help me sort all that stuff into something comprehensive?
>
> Thanks for your time...
>
> Jean-Pierre Parent
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: jojo at leidinger.net (Hans-Joachim Leidinger )
Date: Tue, 27 Feb 2001 21:34:00 +0100
Subject: [ic] How to Call a GlobalSub?
Mike Heins wrote:
>
> Quoting Dave Barr (dave.barr@cricinfo.com):
> > Hi Sam & Mike,
> >
> > Likewise I have been having problems with the GlobalSubs, I attempted
> > what Mike suggested:
> >
> > ==snip===============
> > [perl subs=1]
> > test_global_sub()
> > [/perl]
> > ==/snip==============
> >
> > Using: IC 4.6.3 (tarball), Debian 2.2.17, Perl 5.005-03
> >
> > And here is the results from from the catalog and Interchange error logs
> > (absolutely identical):
> >
> > ==snip===============
> > 192.168.0.126 JXisUioQ:192.168.0.126 - [27/February/2001:10:03:16 +0000]
> > cishop /exec/cishop/test Safe: Unable to create sub named
> > "*MVSAFE::test_global_sub" at (eval 255) line 2.
> > ==/snip==============
> >
>
> Works for me, albeit on RedHat 4.6.4, 6.1 and Perl 5.6.0. It has worked
> that way since MV3.00, it is part of my regression test suite.
Hmmmm....I've gotten the exact same error message with IC on FreeBSD.
This happen, if I add a sub into the catalog.cfg or interchange.cfg. But
if the sub is created as an UserTag, it works well. What is wrong?
Joachim
--
-------------Hans-Joachim Leidinger---------------------
From: rphipps at reliant-solutions.com (Ron Phipps )
Date: Tue, 27 Feb 2001 12:41:40 -0800
Subject: [ic] Results page w/ Quantity, Size, Color and Buy Button for each product
This is a multi-part message in MIME format.
------=_NextPart_000_007F_01C0A0BA.A1A39F30
Content-Type: text/plain;
charset="iso-8859-7"
Content-Transfer-Encoding: 7bit
Hey all!
I forgot to post this one a few weeks ago when I finished it up. This
attachment is a results page which allows you to have a list of products
each having a quantity, size, color, and buy button per product. I spent
quite a bit of time to get this one to work correctly. The construct demo
used a perl sub (munge_quantity) to set the quantity correctly however it
did not work for the size or color. This page also illustrates using an
image as the buy button. There is also a check for which browser is being
used, netscape did not like the IE code and IE did not like the Netscape
code. Come to find out the 'image' input type is not valid in Netscape and
therefore does not have an 'OnClick' event. This page is being posted to
help out anyone else trying to do the same thing on their site. You can see
the page in action at: http://www.mygamewear.com (the page is going to be
switched up in the near future to fit more products on a page). Take it
easy!
-Ron
P.S. Please post to the list with questions, my personal email box is
getting hit hard these days :)
------=_NextPart_000_007F_01C0A0BA.A1A39F30
Content-Type: text/html;
name="results.html"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="results.html"
[comment]
ui_template: Yes
ui_template_name: top_left_bottom
[/comment]
[comment]
Author: Ron Phipps
Date: Jan-22-2001
Company: MyGamewear.com
[/comment]
[set bgcolor]#FFFFFF[/set]
[set component_right][/set]
[set component_after][/set]
[set component_before][/set]
[set members_only]0[/set]
[set page_banner][/set]
[set component_vsize][/set]
[set vbanner][/set]
[set vpromo_type][/set]
[set component_hsize][/set]
[set hbanner][/set]
[set hpromo_type][/set]
[set header_saying]Search Results[/set]
[set page_title]__COMPANY__ | Search Results[/set]
@_TLB_TOP_@
[include templates/regions/HEADER_W_RESULTS.TXT]
@_TLB_LEFT_@
<!-- BEGIN CONTENT -->
[set did_order][/set]
[search-region]
[tmp cross_sale][value-extended name=3Dmv_searchspec index=3D0][/tmp]
[on-match]
<FORM ACTION=3D"[process-target]" METHOD=3DPOST NAME=3D"results">
<INPUT TYPE=3Dhidden NAME=3D"mv_todo" VALUE=3D"refresh">
<INPUT TYPE=3Dhidden NAME=3D"mv_nextpage" VALUE=3D"ord/basket">
<INPUT TYPE=3Dhidden NAME=3D"mv_order_item" VALUE=3D"">
<INPUT TYPE=3Dhidden NAME=3D"mv_order_quantity" VALUE=3D"">
<INPUT TYPE=3Dhidden NAME=3D"mv_order_color" VALUE=3D"">
<INPUT TYPE=3Dhidden NAME=3D"mv_order_size" VALUE=3D"">
[/on-match]
[search-list]
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2">
<tr>
<td colspan=3D"2"><font size=3D"1"> </font></td>
</tr>
<tr>
<td width=3D"90"><a href=3D"[area [item-code]]"><img =
src=3D"products/list_graphic/[item-field image]" width=3D"82" =
height=3D"89" border=3D"0"></a></td> =09
<td valign=3D"top" width=3D"100%"> =09
<table width=3D"100%" border=3D"0" cellspacing=3D"0" =
cellpadding=3D"3"> =09
<tr> =09
<td width=3D"30%"> =09
<table width=3D"100%" border=3D"0" cellspacing=3D"0" =
cellpadding=3D"0"> =09
<tr> =09
<td nowrap><font class=3D"ptitle4">[item-field =
category]</font></td>
</tr> =09
<tr> =09
<td background=3D"/images/other/h_spacer1.gif" height=3D"1"><img =
src=3D"other/h_spacer1.gif" width=3D"1" height=3D"1"></td>
</tr> =09
<tr> =09
<td nowrap><a href=3D"[area [item-code]]" =
class=3D"ptitle3">[item-field description]</a></td>
</tr> =09
</table>
</td>
<td align=3D"right"> =09
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"3" =
width=3D"285"> =09
<tr>
<td align=3D"right" width=3D"30"><font =
class=3D"form">Qty:</font></td>
<td width=3D"40"><font class=3D"form2"><input type=3Dtext =
name=3D"qty_[item-increment]" size=3D3 value=3D"1"></font></td>
<td align=3D"right" width=3D"40"><font =
class=3D"form">Size:</font></td>
<td width=3D"70"><font class=3D"form2">
[item-accessories size, select, size, products, =
size_[item-increment]]
</td>
<td align=3D"right" width=3D"35"><font =
class=3D"form">Color:</font></td>
<td width=3D"70"><font class=3D"form2">
[item-accessories color, select, color, products, =
color_[item-increment]]
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=3D"2"><font class=3D"main">[item-field =
short_comment]</font></td>
</tr>
</table>
</td>
<td valign=3D"top">
<table width=3D"100%" border=3D"0" cellspacing=3D"0" =
cellpadding=3D"3">
<tr>
<td align=3D"right"><font class=3D"form">Price:</font> <font =
class=3D"price">[item-price] </font> </td>
</tr>
<tr>
<td align=3D"right"><a href=3D"[area [item-code]]"><img =
src=3D"other/view_details.gif" width=3D"82" height=3D"12" =
border=3D"0"></a> </td>
</tr>
<tr>
<td align=3D"right">
[if-item-data inventory quantity < 1]
<img src=3D"other/outofstock.gif">
[else] =09
[if session browser =3D~ /MSIE/]
<input type=3D"image" border=3D"0" name=3D"Buy Now" =
src=3D"other/buynow.gif" width=3D"84" height=3D"23" =
bordercolor=3D"white" style=3D"border-width:0px:" =
onClick=3D"results.mv_order_item.value=3D'[item-code]'; =
results.mv_order_quantity.value=3Dresults.qty_[item-increment].value; =
results.mv_order_size.value=3Dresults.size_[item-increment][results.size_=
[item-increment].selectedIndex].value; =
results.mv_order_color.value=3Dresults.color_[item-increment][results.col=
or_[item-increment].selectedIndex].value;">=09
[else]
<a href=3D"#" border=3D"0" =
onClick=3D"results.mv_order_item.value=3D'[item-code]'; =
results.mv_order_quantity.value=3Dresults.qty_[item-increment].value; =
results.mv_order_size.value=3Dresults.size_[item-increment][results.size_=
[item-increment].selectedIndex].value; =
results.mv_order_color.value=3Dresults.color_[item-increment][results.col=
or_[item-increment].selectedIndex].value; results.submit(); "><img =
src=3D"other/buynow.gif" width=3D"84" height=3D"23" =
bordercolor=3D"white" style=3D"border-width:0px:" border=3D"0"></a>
[/else]
[/if]
[/else]
[/if-item-data]
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=3D"90" height=3D"10"><font =
style=3D"font-size:6pt;"> </font></td>
<td valign=3D"top" height=3D"10"><font =
style=3D"font-size:6pt;"> </font></td>
<td valign=3D"top" height=3D"10"><font =
style=3D"font-size:6pt;"> </font></td>
</tr>
<tr>
<td colspan=3D"3"><hr width=3D"100%" noshade height=3D"1"></td>
</tr>=09
</table>
[/search-list]
[on-match]
</FORM> =20
[/on-match]
[no-match]
<BR><BR><center>
<font class=3D"ptitle1">
Sorry, your search for <B>[calc]
my $joiner =3D ' AND ';
$joiner =3D ' OR ' if
defined $Search->{''}->{mv_orsearch}[0]
and $Search->{''}->{mv_orsearch}[0];
my @str =3D grep /\D/, @{$Values->{mv_searchspec}};
return join $joiner, @str;
[/calc]
</B>did not return any matches.
<br><br>Please search again or return to our <a href=3D"[area =
index]">front page.</a>
[if value mv_search_error]
<BR><B>Errors:
<BR> [value-extended name=3Dmv_search_error joiner=3D"<BR>"]
</B>
[/if]
</font>
<BR><BR></center>
[/no-match]
[comment]
<font __FFACE__ size=3D"2">
<BR CLEAR=3DLEFT>
</font>
[/comment]
[more-list]
<center>
<font face=3D"Tahoma" size=3D"2">
Matches <b>[matches]</b> of <b>[match-count]</b> returned.</font>
<font face=3D"Verdana, Arial" size=3D"2" =
color=3D"333333"><b><BR>[more]<BR></b></font>
</center>
[/more-list]
[/search-region]
<!-- END CONTENT -->
@_TLB_BOTTOM_@
------=_NextPart_000_007F_01C0A0BA.A1A39F30--
From: bappliance1 at qwest.net (Bappliance1 )
Date: Tue, 27 Feb 2001 15:19:12 -0800
Subject: [ic] Help?
I did this, but when the pico editor opens the file "interchange.cfg" it is
blank, no lines of text?
Yesterday I tried the your other advice, "rm -rf
name_of_dir_that_is_the_cat" with the catalog name, which I believe is
"interchange" and it tried to delete a whole bunch of files. The problem
though was that all the the files were "permission denied". I think that my
host may have these write protected?
Everything works fine with my catalog except for the "quantity pricing" and
"cross-sell" options. That is all I need to work. They worked once but not
now? It's possible that I messed them up when I first started learning how
to use the catalog? These problems started before I ever started fooling
with the SSL Shell/Telnet stuff, I did not know about telnet then! So
whatever I did, I must have did it in the catalog administrator area?
Thank You!!
----- Original Message -----
From: "Steve & Patti Getzinger" <steveandpatti@wubs.org>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 27, 2001 1:15 PM
Subject: Re: [ic] Help?
> Ok assuming your interchange.cfg file is in the /etc dir do this:
>
> pico /etc/interchange.cfg
>
> Now read the top lines that start with Catalog. This will give you the
> name you specified for the catalog, the path to the catalog root, the
> executable located in the cgi-bin dir and the alias. When done reading
> ctrl X Now you know where the catalog is :)
>
> Steve
>
> any@youwillsave.com wrote:
> >
> > To Steve and Patti.
> > I did allot and learned allot from your advise but you assumed wrong, I
> > don't even
> > think I know what or where the catalog is. Who knows what I screwed up
> > now?
> > Thanks!
> >
> > To cfm@maine.com
> > I know your comments were meant with the best of intentions, as are
> > mine. I was in
> > way "over my head" the day I bought my 1st computer 4 years ago. I've
> > come a long
> > way since then, but not by giving up or finding "other solutions". We
> > must always
> > encourage others to learn and understand, especially the young ones.
> >
> > To all who have tried to help me: I thank you from the bottom of my
> > heart. Even
> > though the main goal of fixing my problem has not been achieved, I'm
> > sure that I am
> > walking away more knowledgeable in these matters because of you! Thank
> > you,
> > thank you! "May your help to others in the future be more fruitful and
> > always
> > appreciated!"
> > I am not giving up, just giving you a break. I will bother you no more.
> > My problem
> > will be solved sooner or later with trial and error and persistence.
> > This list has been
> > great, fun and I have learned much from it.
> >
> > To those who make it all happen: I believe you could design a button for
> > dummies
> > like me that once pressed, everything would go back to default, (how it
> > originally
> > was)? Just a suggestion! Thank You!!!
> >
> > Goodbye
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
> =========================================================
> WDI Steve & Patti Getzinger
> 702 Lincolnway West steveandpatti@wubs.org
> South Bend, IN 46616 http://www.wubs.org/
> 219-287-4700 (Main Office) 317-535-0239 (Direct Line)
> =========================================================
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: kpullon at hotmail.com (Kristina Pullon )
Date: Tue, 27 Feb 2001 16:26:28 -0500
Subject: [ic] Cannot Remove Credit Card
I am not accepting credit cards and have that option set in the admin - yet
it still shows the option in the store. Ive noticed that the accept COD
isnt working either.
Can someone help me with this please?
Thanks
kristina (kpullon@hotmail.com)
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: admin at sitemajic.net (Chris Jesseman )
Date: Tue, 27 Feb 2001 16:38:32 -0500 (EST)
Subject: [ic] best set up with several stores
Michelle,
Sounds like you could use the TcpMap directive to adjust where your 2nd IC
server is listening.
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference24%2e36
-Chris
Quoting "Michelle Wilant (home)" <michelle@wilant.com>:
> Thanks for your quick response. Currently, I have installed
> interchange
> into two separate directories. (Each directory has its own apache
> httpd.conf file, too.) So my directory structure is as follows:
>
> /web/sites/store1/(interchange root, also cgi-bin, etc)
> /web/sites/store2/(its own interchange installation)
>
> I can get store 1's interchange server running, no problem. By doing
> /web/sites/store1/interchange/bin/interchange -r (as the interchange
> user
> of course)
>
> But when I go to start up an interchange server for store 2, it won't
> start
> because it sees the other one running. Therefore, right now I can't get
> two
> interchange servers running.
>
> I'm just wanting, currently, to run one apache server & interchange
> server
> per catalog (aka store directory). That way our developers can
> restart
> whenever they need to update information etc. without affecting other
> stores.
>
> Help - Thanks
>
>
> ----- Original Message -----
> From: "Mike Heins" <mikeh@minivend.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Monday, February 26, 2001 11:56 PM
> Subject: Re: [ic] best set up with several stores
>
>
> > Quoting Dan B (db@cyclonehq.dnsalias.net):
> > > Yes, you can also easily run multiple interchange deamons per box.
> Just
> > > install them to different directories (/usr/local/ic-4.6.3,
> > > or /usr/local/ic-CVS-$DATE is how I do it). It doesn't hurt for
> them
> to
> > > share a common catalog directory (such as /var/ic), but you
> probably
> don't
> > > want two daemons accessing the same catalog at the same time :-)
> > >
> >
> > Actually, that is not a problem. It isn't really any different than
> > different users hitting the same catalog with browser clicks on the
> > same daemon with forked children. We are very fussy about locking
> files,
> > which accounts for Interchange's good reputation for robustness. 8-)
> >
> > In fact, I recommend this. Make one daemon with the UI for your
> admin,
> > protecting it with HTTP basic auth and/or allow-deny IP/host
> statements
> > in the web server, and disable the UI in the production version that
> > customers use. This is much more secure as all of the GlobalSub and
> > UserTags that modify files are out of play.
> >
> > (You might have to include some of the UI usertags from
> lib/UI/usertag
> > if you employed them in the catalog -- the only one I can think of
> that
> > we use in the demo is [button ...] and maybe [table-editor ...] in
> the
> > DEV_4_7_0 branch.)
> >
> > I will try and include instructions and a little batch file to do
> > that in the next release.
> >
> > Best,
> > Mike
> > --
> > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> > phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
> >
> > Be patient. God isn't finished with me yet. -- unknown
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
Chris Jesseman, President
http://www.sitemajic.net
From: chris at vanoosterhout.com (Christopher VanOosterhout )
Date: Tue, 27 Feb 2001 16:56:49 -0500
Subject: [ic] Documentation for Construct
Greetings,
I am wondering if anyone has seen (or written for them self) documentation
related to the construct store.
I know this is only a demo ... and believe me I am not complaining ... the
program is great but I am just wondering if there is any documentation
telling just what is happening on each line of the demo store? The
documentation I downloaded from the akopia.com Web site talks a lot about
the demo, however much of it appears to be written off of the former
"simple" store.
I am trying to find the best way to convert the demo store construct into
something similar to what I need before venturing off on my own and
starting from scratch.
Christopher
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Tue, 27 Feb 2001 17:26:25 -0500
Subject: [ic] Help?
Bappliance1 wrote:
> I did this, but when the pico editor opens the file "interchange.cfg" it is
> blank, no lines of text?
> Yesterday I tried the your other advice, "rm -rf
> name_of_dir_that_is_the_cat" with the catalog name, which I believe is
> "interchange" and it tried to delete a whole bunch of files. The problem
> though was that all the the files were "permission denied". I think that my
> host may have these write protected?
> Everything works fine with my catalog except for the "quantity pricing" and
> "cross-sell" options. That is all I need to work. They worked once but not
> now? It's possible that I messed them up when I first started learning how
> to use the catalog? These problems started before I ever started fooling
> with the SSL Shell/Telnet stuff, I did not know about telnet then! So
> whatever I did, I must have did it in the catalog administrator area?
> Thank You!!
> ----- Original Message -----
> From: "Steve & Patti Getzinger" <steveandpatti@wubs.org>
> To: <interchange-users@lists.akopia.com>
> Sent: Tuesday, February 27, 2001 1:15 PM
> Subject: Re: [ic] Help?
>
> > Ok assuming your interchange.cfg file is in the /etc dir do this:
> >
> > pico /etc/interchange.cfg
> >
> > Now read the top lines that start with Catalog. This will give you the
> > name you specified for the catalog, the path to the catalog root, the
> > executable located in the cgi-bin dir and the alias. When done reading
> > ctrl X Now you know where the catalog is :)
> >
> > Steve
> >
> > any@youwillsave.com wrote:
> > >
> > > To Steve and Patti.
> > > I did allot and learned allot from your advise but you assumed wrong, I
> > > don't even
> > > think I know what or where the catalog is. Who knows what I screwed up
> > > now?
> > > Thanks!
> > >
> > > To cfm@maine.com
> > > I know your comments were meant with the best of intentions, as are
> > > mine. I was in
> > > way "over my head" the day I bought my 1st computer 4 years ago. I've
> > > come a long
> > > way since then, but not by giving up or finding "other solutions". We
> > > must always
> > > encourage others to learn and understand, especially the young ones.
> > >
> > > To all who have tried to help me: I thank you from the bottom of my
> > > heart. Even
> > > though the main goal of fixing my problem has not been achieved, I'm
> > > sure that I am
> > > walking away more knowledgeable in these matters because of you! Thank
> > > you,
> > > thank you! "May your help to others in the future be more fruitful and
> > > always
> > > appreciated!"
> > > I am not giving up, just giving you a break. I will bother you no more.
> > > My problem
> > > will be solved sooner or later with trial and error and persistence.
> > > This list has been
> > > great, fun and I have learned much from it.
> > >
> > > To those who make it all happen: I believe you could design a button for
> > > dummies
> > > like me that once pressed, everything would go back to default, (how it
> > > originally
> > > was)? Just a suggestion! Thank You!!!
> > >
> > > Goodbye
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > --
> > =========================================================
> > WDI Steve & Patti Getzinger
> > 702 Lincolnway West steveandpatti@wubs.org
> > South Bend, IN 46616 http://www.wubs.org/
> > 219-287-4700 (Main Office) 317-535-0239 (Direct Line)
> > =========================================================
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
If you are not admin of the Interchange server you need to request removal by
the admin. Do a:
locate interchange.cfg
that will tell you the location of the file. If you can not run makecat then
you most likely can not delete a cat either. If everything works except
quantity pricing and cross sell then stop where you are. Site is fine and all
is operational except these two items? Read the docs on quantity pricing and
start looking for your error. Assuming you are using the UI (again that assume
thing) try something as simple as hitting apply changes. In any case stop
worrying about both of them and concentrate on one or the other and fix it.
Then move to the other problem and fix it. Move slow and backup what you
presently have before you alter. You can always go back to the old version.
Permission denied simply means you are messing with something you are not
allowed to mess with.
Steve
From: steveandpatti at wubs.org (Steve & Patti Getzinger )
Date: Tue, 27 Feb 2001 17:37:46 -0500
Subject: [ic] Crazy Cross Compatibility Problems
cfm@maine.com wrote:
> On Mon, Feb 26, 2001 at 07:22:55PM -0500, Mike Heins wrote:
>
> > > SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> > >
> ...
> > A good way to test this is to try accessing a regular page (not Interchange)
> > repeatedly, i.e. one of the image files. If there are errors on those,
> > then it has nothing at all to do with anything except problems between
> > the web server and the browser. Usually Microsoft's buggy SSL implementation
> > is at fault.
> >
> > You might put this on the basket page:
> >
> > If you have trouble ordering,
> > <A HREF="https://www.myserver.com/regular_page.html">
> > try this link
> > </A> repeatedly. If errors occur, when traveling
> > this link and clicking Refresh/Reload several times,
> > then you need to update your web browser.
> >
> > The regular_page.html should be at least 16K bytes in size to give
> > it a chance to fail.
>
> I'm not sure if there is one or more issues here. Certainly the
> IE keepalive is a problem. We do a **lot** of dynamic server side
> includes in *.html pages. In our experience, *.cgi pages this is
> not a problem. But a dynamic include in a *.html page does seem
> to be a problem. Sending CGI headers and PRAGMAs of whatever
> type does not work, IE just ignores them.
>
> Ultimately we patched our server not to allow keepalive from IE.
> Particularly on larger pages with larger includes this is a problem.
> For us, at least, the keepalive has been a much bigger issue than
> any SSL problems.
>
> cfm
>
> --
>
> Christopher F. Miller, Publisher cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> 1.207.657.5078 http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-use
Christopher,
While your assessment is most likely accurate, on a standard Apache install the
nokeepalive line is there but is commented out in the SSL portion of the conf
file. His complaints were associated with checkout which is SSL (or at least
should be). I am running the most current version of Apache and the SSL configs
are all in the same conf file which in the past were seperate files. While this
is not a Interchange issue per say I kinda feel it is since there is so much each
of us should be familiar with other than Interchange (perl, web servers, HTML,
SQL, ...) So maybe not an Interchange problem but the Interchaneg list should be
a good place to find a solution :)
Steve
From: jon at akopia.com (Jon Jensen )
Date: Tue, 27 Feb 2001 16:36:28 -0600 (CST)
Subject: [ic] Documentation for Construct
On Tue, 27 Feb 2001, Christopher VanOosterhout wrote:
> I am wondering if anyone has seen (or written for them self) documentation
> related to the construct store.
I just answered this question on the list last week:
http://lists.akopia.com/pipermail/interchange-users/2001-February/004991.html
Jon
From: bappliance1 at qwest.net (Bappliance1 )
Date: Tue, 27 Feb 2001 17:16:10 -0800
Subject: [ic] Help?
Ok, I will explore your new advice tonight. Thank You for clearing up one
thing, and that is that the cross-sell and quantity price problems may be
two separate problems. I "assumed" they were related and if I fixed one, the
other would work too. It never crossed my mind to focus on just one!
----- Original Message -----
From: "Steve & Patti Getzinger" <steveandpatti@wubs.org>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 27, 2001 2:26 PM
Subject: Re: [ic] Help?
> Bappliance1 wrote:
>
> > I did this, but when the pico editor opens the file "interchange.cfg" it
is
> > blank, no lines of text?
> > Yesterday I tried the your other advice, "rm -rf
> > name_of_dir_that_is_the_cat" with the catalog name, which I believe is
> > "interchange" and it tried to delete a whole bunch of files. The problem
> > though was that all the the files were "permission denied". I think that
my
> > host may have these write protected?
> > Everything works fine with my catalog except for the "quantity pricing"
and
> > "cross-sell" options. That is all I need to work. They worked once but
not
> > now? It's possible that I messed them up when I first started learning
how
> > to use the catalog? These problems started before I ever started fooling
> > with the SSL Shell/Telnet stuff, I did not know about telnet then! So
> > whatever I did, I must have did it in the catalog administrator area?
> > Thank You!!
> > ----- Original Message -----
> > From: "Steve & Patti Getzinger" <steveandpatti@wubs.org>
> > To: <interchange-users@lists.akopia.com>
> > Sent: Tuesday, February 27, 2001 1:15 PM
> > Subject: Re: [ic] Help?
> >
> > > Ok assuming your interchange.cfg file is in the /etc dir do this:
> > >
> > > pico /etc/interchange.cfg
> > >
> > > Now read the top lines that start with Catalog. This will give you the
> > > name you specified for the catalog, the path to the catalog root, the
> > > executable located in the cgi-bin dir and the alias. When done reading
> > > ctrl X Now you know where the catalog is :)
> > >
> > > Steve
> > >
> > > any@youwillsave.com wrote:
> > > >
> > > > To Steve and Patti.
> > > > I did allot and learned allot from your advise but you assumed
wrong, I
> > > > don't even
> > > > think I know what or where the catalog is. Who knows what I screwed
up
> > > > now?
> > > > Thanks!
> > > >
> > > > To cfm@maine.com
> > > > I know your comments were meant with the best of intentions, as are
> > > > mine. I was in
> > > > way "over my head" the day I bought my 1st computer 4 years ago.
I've
> > > > come a long
> > > > way since then, but not by giving up or finding "other solutions".
We
> > > > must always
> > > > encourage others to learn and understand, especially the young ones.
> > > >
> > > > To all who have tried to help me: I thank you from the bottom of my
> > > > heart. Even
> > > > though the main goal of fixing my problem has not been achieved, I'm
> > > > sure that I am
> > > > walking away more knowledgeable in these matters because of you!
Thank
> > > > you,
> > > > thank you! "May your help to others in the future be more fruitful
and
> > > > always
> > > > appreciated!"
> > > > I am not giving up, just giving you a break. I will bother you no
more.
> > > > My problem
> > > > will be solved sooner or later with trial and error and persistence.
> > > > This list has been
> > > > great, fun and I have learned much from it.
> > > >
> > > > To those who make it all happen: I believe you could design a button
for
> > > > dummies
> > > > like me that once pressed, everything would go back to default, (how
it
> > > > originally
> > > > was)? Just a suggestion! Thank You!!!
> > > >
> > > > Goodbye
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > > --
> > > =========================================================
> > > WDI Steve & Patti Getzinger
> > > 702 Lincolnway West steveandpatti@wubs.org
> > > South Bend, IN 46616 http://www.wubs.org/
> > > 219-287-4700 (Main Office) 317-535-0239 (Direct Line)
> > > =========================================================
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> If you are not admin of the Interchange server you need to request removal
by
> the admin. Do a:
>
> locate interchange.cfg
>
> that will tell you the location of the file. If you can not run makecat
then
> you most likely can not delete a cat either. If everything works except
> quantity pricing and cross sell then stop where you are. Site is fine and
all
> is operational except these two items? Read the docs on quantity pricing
and
> start looking for your error. Assuming you are using the UI (again that
assume
> thing) try something as simple as hitting apply changes. In any case stop
> worrying about both of them and concentrate on one or the other and fix
it.
> Then move to the other problem and fix it. Move slow and backup what you
> presently have before you alter. You can always go back to the old
version.
> Permission denied simply means you are messing with something you are not
> allowed to mess with.
>
> Steve
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: chris at vanoosterhout.com (Christopher VanOosterhout )
Date: Tue, 27 Feb 2001 18:56:08 -0500
Subject: [ic] Documentation for Construct
Thanks. Sorry, I just joined four days ago.
Chris
At 04:36 PM 2/27/2001 -0600, you wrote:
>On Tue, 27 Feb 2001, Christopher VanOosterhout wrote:
>
> > I am wondering if anyone has seen (or written for them self) documentation
> > related to the construct store.
>
>I just answered this question on the list last week:
>
>http://lists.akopia.com/pipermail/interchange-users/2001-February/004991.html
>
>Jon
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: jud-lists at copernica.com (Jud Harris )
Date: Tue, 27 Feb 2001 17:52:20 -0600
Subject: [ic] Authorize.net integration question
Hey folks,
I'm trying to integrate authorize.net ADC payment processing into the simple
tutorial catalog - problem is, I have NO idea where to start. Well, ok,
that's not entirely true.
Since I've read some mail archive postings, I've enabled
in interchange.cfg:
#include globalsub/authorizenet
and in catalog.cfg
Variable MV_PAYMENT_ID YourAuthorizeNetID
Variable MV_PAYMENT_SECRET YourAuthorizeNetPassword
Variable MV_PAYMENT_MODE custom authorizenet
Variable MV_PAYMENT_REFERER URL
(with the proper entires, of course) -
Now what? I've searched the pdf docs for any mention of "authorize" or
"authorizenet," and can find nothing related to this. I'm sure I need some
voodoo-like tags inserted.
Can anyone refer me to some sample html or docs?
.. many thanks!
-Jud
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 27 Feb 2001 19:08:05 -0500
Subject: [ic] Admin section without login?
Quoting Jean-Pierre Parent (parentjp@pjp.dhs.org):
> Hello!
>
> I've been trying to start a new catalog from scratch...so far everything
> loads exactly how I want it but I lost the login page from the admin
> section. When I enter http://www.domain.com/cgi-bin/catalog/admin/index.html
> it goes straight for the menu thingy... Where did it go? Any ideas?
>
> I'm aware that sometimes userdb containing blank passwords can lead to
> problems but I'm not sure if its the same thing.
> No pages are actually served yet since i'm creating templates for the
> store...Is the login part of the pages/ directory?
This will happen if you don't have an access table. I should probably
inhibit that behavior these days.
A good idea, anyway, is to put this in Apache:
<LocationMatch "/cgi-bin/*/admin/*">
AuthUserFile /etc/httpd/conf/passwd
AuthGroupFile /etc/httpd/conf/group
AuthName ICadmin
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
</LocationMatch>
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 27 Feb 2001 19:09:18 -0500
Subject: [ic] order reporting & purchase orders
Quoting Ken Dailey (ken@desktech.com):
> Hello,
>
> I am very new to Interchange and have been working with the construct demo
> to familiarize myself with the program. I have a problem and I am not sure
> if it is a bug or if I missed something in the documentation.
>
> An orders that are placed with the Purchase Order option (instead of via
> Check or Credit Card) do not show up on the Order report in the Admin area.
> Nor do they show up on the Customer report in the Admin area.
>
> I tried this out on my own installation of the demo and on the demo on
> Akopia's web site.
>
> Any ideas on how all orders can be included in these reports?
>
This is most likely a bug. I will note it as such -- there should be
indications in the error.log (did you check?). Also, you might look
and see what is in logs/log.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
People who want to share their religious views with you
almost never want you to share yours with them. -- Dave Barry
From: doliver at hampshire.edu (Dylan Oliver )
Date: Tue, 27 Feb 2001 18:52:03 -0600
Subject: [ic] checkout expiration date problems
Hi,
The CC expiration month form in checkout.html is not working - it presents
a list of blanks where the months should be listed. The code:
<SELECT NAME=mv_credit_card_exp_month>
[loop
lr=1
option=mv_credit_card_exp_month
list="
1 01 - January
2 02 - February
3 03 - March
4 04 - April
5 05 - May
6 06 - June
7 07 - July
8 08 - August
9 09 - September
10 10 - October
11 11 - November
12 12 - December"]
<OPTION VALUE="[loop-code]">
[loop-pos 1]
[/loop]
</SELECT>
I haven't knowingly altered this, so I expect others have had the same
problem. Anyone see what's wrong?
--
Dylan Oliver
Do you know how little you know?
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 27 Feb 2001 19:51:39 -0500
Subject: [ic] checkout expiration date problems
Quoting Dylan Oliver (doliver@hampshire.edu):
> Hi,
>
> The CC expiration month form in checkout.html is not working - it presents
> a list of blanks where the months should be listed. The code:
>
> <SELECT NAME=mv_credit_card_exp_month>
> [loop
> lr=1
> option=mv_credit_card_exp_month
> list="
> 1 01 - January
> 2 02 - February
> 3 03 - March
> 4 04 - April
> 5 05 - May
> 6 06 - June
> 7 07 - July
> 8 08 - August
> 9 09 - September
> 10 10 - October
> 11 11 - November
> 12 12 - December"]
> <OPTION VALUE="[loop-code]">
> [loop-pos 1]
> [/loop]
> </SELECT>
Your auto-wrapping editor munched it. The list needs to have tabs and be at
the beginning of the line.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: doliver at hampshire.edu (Dylan Oliver )
Date: Tue, 27 Feb 2001 19:06:14 -0600
Subject: [ic] checkout expiration date problems
On Tue, 27 Feb 2001 19:51:39 -0500
Mike Heins <mikeh@minivend.com> wrote:
> Your auto-wrapping editor munched it. The list needs to have tabs and be
at
> the beginning of the line.
Thanks, I just figured that out. I wonder what else is broken because of
this munching..
--
Dylan Oliver
Do you know how little you know?
From: denis at artofmusicproject.com (Denis Heinrichs )
Date: Tue, 27 Feb 2001 17:03:08 -0800
Subject: [ic] Japanese
Hi,
I currently have a site up and running in English. I need to put
up the same site in Japanese. Can anyone give me any hints as to
where I can read up on this or have any sample sites that I can look
at? I have read the manuals and some of the older posts regarding
this issue and still have no real idea how to start.
Any help would be greatly appreciated.
--
Denis Heinrichs
Director of Technology
The Art of Music Project
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Tue, 27 Feb 2001 18:12:13 -0800
Subject: [ic] best set up with several stores
At 10:32 AM 2/27/2001 -0500, you wrote:
>Thanks for your quick response. Currently, I have installed interchange
>into two separate directories. (Each directory has its own apache
>httpd.conf file, too.) So my directory structure is as follows:
>
>/web/sites/store1/(interchange root, also cgi-bin, etc)
>/web/sites/store2/(its own interchange installation)
>
>I can get store 1's interchange server running, no problem. By doing
>/web/sites/store1/interchange/bin/interchange -r (as the interchange user
>of course)
>
>But when I go to start up an interchange server for store 2, it won't start
>because it sees the other one running. Therefore, right now I can't get two
>interchange servers running.
unpack .tar.gz
./configure
tell it to install to /web/sites/store1
run /web/sites/store1/makecat
(finish setting up catalog)
/web/sites/store1/interchange/bin/interchange -r
then
./configure (2nd time)
tell it to install to /web/sites/store2
run /web/sites/store2/makecat
(finish setting up catalog)
/web/sites/store1/interchange/bin/interchange -r
That works fine for me, I hope it helps.
>I'm just wanting, currently, to run one apache server & interchange server
>per catalog (aka store directory). That way our developers can restart
>whenever they need to update information etc. without affecting other
>stores.
>
>Help - Thanks
>
>
>----- Original Message -----
>From: "Mike Heins" <mikeh@minivend.com>
>To: <interchange-users@lists.akopia.com>
>Sent: Monday, February 26, 2001 11:56 PM
>Subject: Re: [ic] best set up with several stores
>
>
> > Quoting Dan B (db@cyclonehq.dnsalias.net):
> > > Yes, you can also easily run multiple interchange deamons per box. Just
> > > install them to different directories (/usr/local/ic-4.6.3,
> > > or /usr/local/ic-CVS-$DATE is how I do it). It doesn't hurt for them
>to
> > > share a common catalog directory (such as /var/ic), but you probably
>don't
> > > want two daemons accessing the same catalog at the same time :-)
> > >
> >
> > Actually, that is not a problem. It isn't really any different than
> > different users hitting the same catalog with browser clicks on the
> > same daemon with forked children. We are very fussy about locking files,
> > which accounts for Interchange's good reputation for robustness. 8-)
> >
> > In fact, I recommend this. Make one daemon with the UI for your admin,
> > protecting it with HTTP basic auth and/or allow-deny IP/host statements
> > in the web server, and disable the UI in the production version that
> > customers use. This is much more secure as all of the GlobalSub and
> > UserTags that modify files are out of play.
> >
> > (You might have to include some of the UI usertags from lib/UI/usertag
> > if you employed them in the catalog -- the only one I can think of that
> > we use in the demo is [button ...] and maybe [table-editor ...] in the
> > DEV_4_7_0 branch.)
> >
> > I will try and include instructions and a little batch file to do
> > that in the next release.
> >
> > Best,
> > Mike
> > --
> > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
> > phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
> >
> > Be patient. God isn't finished with me yet. -- unknown
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: mikeh at minivend.com (Mike Heins )
Date: Tue, 27 Feb 2001 21:26:52 -0500
Subject: [ic] checkout expiration date problems
Quoting Dylan Oliver (doliver@hampshire.edu):
> On Tue, 27 Feb 2001 19:51:39 -0500
> Mike Heins <mikeh@minivend.com> wrote:
>
> > Your auto-wrapping editor munched it. The list needs to have tabs and be
> at
> > the beginning of the line.
>
> Thanks, I just figured that out. I wonder what else is broken because of
> this munching..
Probably not too much. The only thing is when you have a passed list
like that loop (that is one of the only ones in the demo, and is going
away in the next version), or a Perl code section with a here document
(i.e. <<EOF). I am going to get rid of all of those that are in *catalog*
pages in the next demo; the admin pages will still have them.
Best thing is to figure out the <NOTOUCH> </NOTOUCH> equivalent
for your web editor.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: ftnx at ksbase.com (Kari Suomela )
Date: Tue, 27 Feb 2001 22:28:59 -0500
Subject: [ic] Sorry, the page (expired) was not found
I installed the 'construct' demo and everything seems to work ok,
except every time a user wants to buy something, the above message pops
up. The item gets to the cart anyway!
How do I eliminate the error message?
KS
KARICO Business Services
Toronto, ON Canada
http://www.ksbase.com
From: gina at sitediva.com (Gina K. Anderson )
Date: Tue, 27 Feb 2001 22:37:40 -0500
Subject: [ic] Same Name Subcategories Please?
Can anyone tell me how I can have subcategories that are the same name in
different main categories? Interchange is really getting confused with the way I
am trying to do it. I can't find anything in the documentation.
I have two categories set up:
Hedgehog Items
Prairie Dog Items
Each category must have a subcategory "Food". Now, the main categories are on
the left, no links. The subcategories I used these parameters:
Hedgehog Items "Food":
----------------------
Name: Food
Link Type: Simple Search
Table: Products
Field=Column Pairs: category=HH Food
Results Page: Default
Display Name: Name
(everything else blank)
Prairie Dog Items "Food":
----------------------
Name: Food
Link Type: Simple Search
Table: Products
Field=Column Pairs: category=PD Food
Results Page: Default
Display Name: Name
(everything else blank)
But, Interchange seems to be getting confused between the two "Food" categories.
If you go to:
http://www.sitediva.com/cart
you'll see if you click on either 'Food' you get the same category field=column
pair names, even though I have named each differently, and assigned each to it's
rightful subcategory. I have deleted the subcats three times, and the last one I
create is always the one that shows up on the results page. Someone tried to
help me with this before, but he hasn't gotten back with me.
Thanks for any help, I really need to get this figured out before my client
gives up on me. ;)
Gina
From: alex at integricity.com (Alex Lam )
Date: Wed, 28 Feb 2001 11:43:34 +0800
Subject: [ic] Gift Cert and discount coupons
Hi interchange-users,
I'm just a little bit confused here. How is the best way to issue and
give out discount coupons and gift certs?
Thanks
Best regards,
Alex Lam
Integricity Corporation Sdn. Bhd.
Mobile : +6017-8800044
E-mail : alex@integricity.com
From: jnealy at symetrek.com (John K. Nealy, III )
Date: Tue, 27 Feb 2001 23:57:44 -0500
Subject: [ic] Same Name Subcategories Please?
Gina, I have a similar setup with a store I am creating at
http://www.wevegotitwireless.com (a work in progress). I have a phones category
and a pagers category, each with Motorola in them. What you need to do is a
complex search where you first search the item category (Hedgehog) then the
subcategory (Food). It
seems you have already done the setup in admin, so here is an example of what I
have:
For Phones/Motorola:
fi=products
st=db
ac=0
co=1
sf=category
se=Phones
op=rm
nu=0
bs=1
sf=subcategory
se=Motorola
op=rm
nu=0
bs=1
ml=10
tf=name
to=x
and for Two-Way Pagers/Motorola:
fi=products
st=db
ac=0
co=1
sf=category
se=twpagers
op=rm
nu=0
bs=1
sf=subcategory
se=Motorola
op=rm
nu=0
bs=1
ml=10
tf=name
to=x
"Gina K. Anderson" wrote:
> Can anyone tell me how I can have subcategories that are the same name in
> different main categories? Interchange is really getting confused with the way I
> am trying to do it. I can't find anything in the documentation.
>
> I have two categories set up:
>
> Hedgehog Items
> Prairie Dog Items
>
> Each category must have a subcategory "Food". Now, the main categories are on
> the left, no links. The subcategories I used these parameters:
>
> Hedgehog Items "Food":
> ----------------------
> Name: Food
> Link Type: Simple Search
> Table: Products
> Field=Column Pairs: category=HH Food
> Results Page: Default
> Display Name: Name
> (everything else blank)
>
> Prairie Dog Items "Food":
> ----------------------
> Name: Food
> Link Type: Simple Search
> Table: Products
> Field=Column Pairs: category=PD Food
> Results Page: Default
> Display Name: Name
> (everything else blank)
>
> But, Interchange seems to be getting confused between the two "Food" categories.
> If you go to:
>
> http://www.sitediva.com/cart
>
> you'll see if you click on either 'Food' you get the same category field=column
> pair names, even though I have named each differently, and assigned each to it's
> rightful subcategory. I have deleted the subcats three times, and the last one I
> create is always the one that shows up on the results page. Someone tried to
> help me with this before, but he hasn't gotten back with me.
>
> Thanks for any help, I really need to get this figured out before my client
> gives up on me. ;)
>
> Gina
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: mjs at blitz-technology.net (Mitchell )
Date: Wed, 28 Feb 2001 15:36:05 +1000
Subject: [ic] problems getting started
Hi, I'm just installing interchange on my test development box here and
I'm having a few problems with the demo construct catalog.
Ok a bit of background onthe system.
It's a Debian GNU Linux system, running kernel 2.4.1, perl-5.6, apache
1.3.14.
I am using the pre-packages binaries of interchange from
ftp.minivend.com.
Ok so first the install, it all goes ok.
Script started on Wed Feb 28 15:10:39 2001
root@lift:~ #apt-get install interchange interchange-cat-so
root@lift:~ #[Kapt-get install interchange interchange-cat-s construct interchange-u
i
Reading Package Lists... 0%
Reading Package Lists... 0%
Reading Package Lists... 22%
Reading Package Lists... Done
Building Dependency Tree... 0%
Building Dependency Tree... 0%
Building Dependency Tree... 0%
Building Dependency Tree... 50%
Building Dependency Tree... 50%
Building Dependency Tree... Done
The following NEW packages will be installed:
interchange interchange-cat-construct interchange-ui
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1597kB of archives. After unpacking 6255kB will be used.
Preconfiguring packages ..
Configuring Interchange
-----------------------
Unix mode is is the most secure way to run Interchange, for there is no way
for systems on the internet to interact with the Interchange server.
u. unix mode i. internet mode b. both
Start Interchange in Unix mode, Internet mode or both ? [u] u
This determines the user for the interchange server and for file permissions.
Please note that using another user has serious security implications. Don't
choose root, it is not recommended and will be discarded anyway.
Which is the name of the user to run the interchange server as ? [interchange] interchange
This determines the group for the interchange server and for file permissions.
Please note that using another user has serious security implications. Don't
choose root, it is not recommended and will be discarded anyway.
Which is the name of the group to run the interchange server as ? [interchange] interchange
Selecting previously deselected package interchange.
(Reading database ... 17766 files and directories currently installed.)
Unpacking interchange (from .../interchange_4.6.3-1_i386.deb) ...
Selecting previously deselected package interchange-cat-construct.
Unpacking interchange-cat-construct (from .../interchange-cat-construct_4.6.3-1_all.deb) ...
Selecting previously deselected package interchange-ui.
Unpacking interchange-ui (from .../interchange-ui_4.6.3-1_all.deb) ...
Setting up interchange (4.6.3-1) ...
Starting Interchange Server: Low traffic settings.
Calling UI....
...UI is loaded....
Interchange V4.6.3
Interchange server started in UNIX mode(s) (process id 26277)
Setting up interchange-cat-construct (4.6.3-1) ...
Setting up interchange-ui (4.6.3-1) ...
Restarting Interchange Server: interchange.
Low traffic settings.
Calling UI....
...UI is loaded....
Interchange V4.6.3
Interchange server started in UNIX mode(s) (process id 26294)
Script done on Wed Feb 28 15:14:36 2001
So we are fine up to that point.
Now I'll run makecat and set up the demo catalog.
Script started on Wed Feb 28 15:17:36 2001
root@lift:~ #makecat
Select a short, mnemonic name for the catalog. This will be
used to set the defaults for naming the catalog, executable,
and directory, so you will have to type in this name frequently.
NOTE: This will be the name of 'vlink' or 'tlink', the link CGI
program. Depending on your CGI setup, it may also have the
extension .cgi added.
If you are doing the demo for the first time, you might use "construct".
Catalog name? construct
makecat -- Interchange catalog installation program.
*** We will be making a catalog named 'construct'. ***
If you are using the Apache or NCSA web server, Interchange can set
some of the default parameters for you by reading the file.
If you use the Netscape Enterprise server or other non-NCSA HTTP server,
enter 'none' -- the information, if any, will not be useful.
This information may not be that useful to you, since you don't
have the Term::ReadLine module installed. If the default setting
presented is not correct, you will have to know the information.
C'est la vie.
Enter path to httpd.conf file: [/etc/apache/httpd.conf] /etc/apache/httpd.conf
######### BEGINNING CATALOG CONFIGURATION #########
# The server name, something like: www.company.com
# www.company.com:8000
# www.company.com/~yourname
#
Server name? [duende] lift.warpspeed.net.au
# The type of demo catalog to use. The standard one distributed is:
#
# construct
#
# If you have defined your own custom template catalog,
# you can enter its name.
#
# If you are new to Interchange and not a sophisticated web designer,
# use "construct" to start with.
DemoType? [construct] construct
# The type of permission structure for multiple user catalogs.
# Select M for each user in own group (with interchange user in group)
# G for all users in group of interchange user
# U for all catalogs owned by interchange user (must be catuser as well)
#
# M is recommended, G works for most installations.
permtype? m
# The user name the Interchange server runs under on this machine. This
# should not be the same as the user that runs the HTTP server (i.e.
# NOT nobody).
#
InterchangeUser? [interchange] interchange
#
# The user name the catalog will be owned by.
#
CatUser? mjs
# The group name the server-owned files should be set to. This is
# only important if Interchange catalogs will be owned by multiple users
# and the group to be used is not the default for the catalog user.
#
# Normally this is left blank.
#
InterchangeGroup? u
# The email address where orders for this catalog should go.
# To have a secure catalog, either this should be a local user name and
# not go over the Internet -- or use the PGP option.
#
MailOrderTo? [mjs] mjs
# Where the Interchange files for this catalog will go, pages,
# products, config and all. This should not be in HTML document
# space! Usually a 'catalogs' directory below your home directory
# works well. Remember, you will want a test catalog and an online
# catalog.
#
CatRoot? [/home/users/mjs/catalogs/construct]
# The location of the normal CGI directory. This is a
# file path, not a script alias.
#
# If all of your CGI programs must end in .cgi, this is
# should be the same as your HTML directory.
#
CgiDir? [/usr/lib/cgi-bin/ic] /var/www/cgi-bin
# The URL location of the CGI program, without the http://
# or server name.
#
# http://www.virtual.com/cgi-bin/prog
# ^^^^^^^^^^^^^
#
# http://www.virtual.com/program.cgi
# ^^^^^^^^^^^^
#
CgiUrl? [/construct.cgi] /cgi-bin/construct.cgi
#
# Additional URL locations for the CGI program, as with CgiUrl.
# This is used when calling the catalog from more than one place,
# perhaps because your secure server is not the same name as the
# non-secure one.
#
# http://www.secure.domain/secure-bin/prog
# ^^^^^^^^^^^^^^^^
#
# We set it to the name of the catalog by default to enable the
# internal HTTP server.
#
Aliases? [/construct]
# The base directory for HTML for this (possibly virtual) domain.
# This is a directory path name, not a URL -- it is your HTML
# directory.
#
DocumentRoot? [/var/www] /var/www/html
# Where the sample HTML files (not Interchange pages) should be installed.
# There is a difference. Usually a subdirectory of your HTML directory.
#
SampleHtml? [/var/www/ic] /var/www/html/ic
# Where the image files should be copied. A directory path
# name, not a URL.
#
ImageDir? [/var/www/html/ic/images] /var/www/html/images
# The URL base for the sample images. Sets the ImageDir
# directive in the catalog configuration file. This is a URL
# fragment, not a directory or file name.
#
# <IMG SRC="/construct/images/icon.gif">
# ^^^^^^^^^^^^^^^^^
#
ImageUrl? [/construct/images] /images
Checking directories........................................mkdir /home/users/mjs/catalogs
mkdir /home/users/mjs/catalogs/construct
mkdir /var/www/html/ic
mkdir /var/www/html/images
done.
Copying demo files..........................................found more to ask.
Your company name: ...............................[Construct Something] Warpspeed Internet Solutions
Interchange has a workable internal database, but many things will
work better (and a few worse) if you use a SQL database. Interchange
can configure MySQL, PostgreSQL, and Oracle in a test configuration.
Set to 1 if you want to use MySQL, PostgreSQL, or Oracle: ..
You can use Interchange's companion configuration
interface, to do upload/download of files, manipulation of
the database, reconfiguration of the catalog, and much more.
To enable the UI, you will need a "super-user" account
name that has full access.
The initial password is "pass". CHANGE IT! You can do this
by going to the admin menu and selecting the superuser and
then "Change password".
Account name that will control this catalog: .....[interchange] interchange
Administrative password: .........................[pass] vkl402j
Found system commands to run.
done.
Moving link program to /var/www/cgi-bin/construct.cgi.......done.
Copying share/ files to ....................................
Error installing share/ files:
chdir 'share': No such file or directory
Moving HTML files to /var/www/html/ic.......................done.
Moving image files to /var/www/html/images..................done.
Found additional system commands to run.
To enable image upload feature, you need to make a symbolic
link of the image base directory into your catalog directory.
run "ln -s /var/www/html/images /home/users/mjs/catalogs/construct"? [y]
Add catalog to interchange.cfg? [y]
No catalog previously defined. Adding construct at top.
Done with installation. If my reading of your input is correct, you
should be able to access the demo catalog with the following URL:
http://lift.warpspeed.net.au/ic
In any case, you should get direct access at:
http://lift.warpspeed.net.au/cgi-bin/construct.cgi
That is, after you START or RESTART the Interchange server. 8-)
It is best done with:
su -c "/usr/lib/interchange/bin/interchange -r" interchange
For session expiration, you might want to place a line like this in your
crontab:
44 4 * * * /usr/lib/interchange/bin/expireall -r
It will prevent the session databases from getting too large.
Good luck with Interchange!
Script done on Wed Feb 28 15:20:56 2001
The only thign that looks wierd in there is the share files not copying propally.
Any ideas on this one?
So now if I restart interchange ...
Script started on Wed Feb 28 15:21:31 2001
root@lift:~ #/etc/ini[K/etc/init.d/interchange restart
Restarting Interchange Server: interchange.
Low traffic settings.
Calling UI....
...UI is loaded....
Interchange V4.6.3
Configuring catalog construct...construct config error: Couldn't open '/home/users/mjs/catalogs/construct/products/variable.txt' read/write: Permission denied
construct: error in configuration. Skipping.
construct: config error. Skipping.
Interchange server started in UNIX mode(s) (process id 26421)
Script done on Wed Feb 28 15:22:53 2001
Now that doesn't look good to me at all.
No this file doesn't exist, is makecat meant to generate it
or should it get copied
or have I missed some important part in the documentation that tells me how to make it?
Any comments/advice welcome please.
Thanks.
--
Mitchell Smith
Blitz Technology
mjs@blitz-technology.net
Computers are not intelligent. They only think they are.
From: brian at brightblade.org (Brian Morin )
Date: Wed, 28 Feb 2001 00:51:35 -0500
Subject: [ic] problems getting started
I had a devil of a time with my first installs as well.
I think the line:
'/home/users/mjs/catalogs/construct/products/variable.txt' read/write:
Permission denied
summates the majority of the problems I had. I'm sure I'm going to screw
some of this explanation up, so I hope another developer can catch any of my
mistakes.
Interchange won't install as root, it expects a different username.
('interch' is default). Properly setting up this user is key for a smooth
install. I was running into a lot of problems until I created a brand
spanking new "interchange" account. I did the default interchange install in
"/home/interchange/interchange", vs. "/usr/local/interchange".. Once the
software was installed in the home directory where all the user permissions
were proper, I had zero problems installing the demo catalogs.
As near as I can tell permissions and proper username setups are key to a
successful installation of interchange.
I hope I didn't mangle this explanation too horribly. Good Luck.
-- Brian
----- Original Message -----
From: "Mitchell" <mjs@blitz-technology.net>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 28, 2001 12:36 AM
Subject: [ic] problems getting started
>
> Hi, I'm just installing interchange on my test development box here and
> I'm having a few problems with the demo construct catalog.
>
> Ok a bit of background onthe system.
>
> It's a Debian GNU Linux system, running kernel 2.4.1, perl-5.6, apache
> 1.3.14.
>
> I am using the pre-packages binaries of interchange from
> ftp.minivend.com.
>
> Ok so first the install, it all goes ok.
>
>
> Script started on Wed Feb 28 15:10:39 2001
> root@lift:~ #apt-get install interchange interchange-cat-so
> root@lift:~ #[Kapt-get install interchange interchange-cat-s construct
interchange-u
> i
>
> Reading Package Lists... 0%
>
> Reading Package Lists... 0%
>
> Reading Package Lists... 22%
>
> Reading Package Lists... Done
>
> Building Dependency Tree... 0%
>
> Building Dependency Tree... 0%
>
> Building Dependency Tree... 0%
>
> Building Dependency Tree... 50%
>
> Building Dependency Tree... 50%
>
> Building Dependency Tree... Done
> The following NEW packages will be installed:
> interchange interchange-cat-construct interchange-ui
> 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/1597kB of archives. After unpacking 6255kB will be used.
>
>
> Preconfiguring packages ..
> Configuring Interchange
> -----------------------
>
> Unix mode is is the most secure way to run Interchange, for there is no
way
> for systems on the internet to interact with the Interchange server.
>
> u. unix mode i. internet mode b. both
>
> Start Interchange in Unix mode, Internet mode or both ? [u] u
>
> This determines the user for the interchange server and for file
permissions.
> Please note that using another user has serious security implications.
Don't
> choose root, it is not recommended and will be discarded anyway.
>
> Which is the name of the user to run the interchange server as ?
[interchange] interchange
>
> This determines the group for the interchange server and for file
permissions.
> Please note that using another user has serious security implications.
Don't
> choose root, it is not recommended and will be discarded anyway.
>
> Which is the name of the group to run the interchange server as ?
[interchange] interchange
>
> Selecting previously deselected package interchange.
> (Reading database ... 17766 files and directories currently installed.)
> Unpacking interchange (from .../interchange_4.6.3-1_i386.deb) ...
> Selecting previously deselected package interchange-cat-construct.
> Unpacking interchange-cat-construct (from
.../interchange-cat-construct_4.6.3-1_all.deb) ...
> Selecting previously deselected package interchange-ui.
> Unpacking interchange-ui (from .../interchange-ui_4.6.3-1_all.deb) ...
> Setting up interchange (4.6.3-1) ...
> Starting Interchange Server: Low traffic settings.
> Calling UI....
> ...UI is loaded....
> Interchange V4.6.3
> Interchange server started in UNIX mode(s) (process id 26277)
>
> Setting up interchange-cat-construct (4.6.3-1) ...
>
> Setting up interchange-ui (4.6.3-1) ...
> Restarting Interchange Server: interchange.
> Low traffic settings.
> Calling UI....
> ...UI is loaded....
> Interchange V4.6.3
> Interchange server started in UNIX mode(s) (process id 26294)
>
> Script done on Wed Feb 28 15:14:36 2001
>
>
> So we are fine up to that point.
>
> Now I'll run makecat and set up the demo catalog.
>
> Script started on Wed Feb 28 15:17:36 2001
> root@lift:~ #makecat
>
> Select a short, mnemonic name for the catalog. This will be
> used to set the defaults for naming the catalog, executable,
> and directory, so you will have to type in this name frequently.
>
> NOTE: This will be the name of 'vlink' or 'tlink', the link CGI
> program. Depending on your CGI setup, it may also have the
> extension .cgi added.
>
> If you are doing the demo for the first time, you might use "construct".
>
> Catalog name? construct
> makecat -- Interchange catalog installation program.
>
> *** We will be making a catalog named 'construct'. ***
>
>
> If you are using the Apache or NCSA web server, Interchange can set
> some of the default parameters for you by reading the file.
>
> If you use the Netscape Enterprise server or other non-NCSA HTTP server,
> enter 'none' -- the information, if any, will not be useful.
>
>
> This information may not be that useful to you, since you don't
> have the Term::ReadLine module installed. If the default setting
> presented is not correct, you will have to know the information.
> C'est la vie.
>
> Enter path to httpd.conf file: [/etc/apache/httpd.conf]
/etc/apache/httpd.conf
> ######### BEGINNING CATALOG CONFIGURATION #########
> # The server name, something like: www.company.com
> # www.company.com:8000
> # www.company.com/~yourname
> #
> Server name? [duende] lift.warpspeed.net.au
>
> # The type of demo catalog to use. The standard one distributed is:
> #
> # construct
> #
> # If you have defined your own custom template catalog,
> # you can enter its name.
> #
> # If you are new to Interchange and not a sophisticated web designer,
> # use "construct" to start with.
>
>
> DemoType? [construct] construct
>
> # The type of permission structure for multiple user catalogs.
> # Select M for each user in own group (with interchange user in group)
> # G for all users in group of interchange user
> # U for all catalogs owned by interchange user (must be catuser as
well)
> #
> # M is recommended, G works for most installations.
>
>
> permtype? m
>
> # The user name the Interchange server runs under on this machine. This
> # should not be the same as the user that runs the HTTP server (i.e.
> # NOT nobody).
> #
>
>
> InterchangeUser? [interchange] interchange
>
> #
> # The user name the catalog will be owned by.
> #
>
>
> CatUser? mjs
>
> # The group name the server-owned files should be set to. This is
> # only important if Interchange catalogs will be owned by multiple users
> # and the group to be used is not the default for the catalog user.
> #
> # Normally this is left blank.
> #
>
>
> InterchangeGroup? u
>
> # The email address where orders for this catalog should go.
> # To have a secure catalog, either this should be a local user name and
> # not go over the Internet -- or use the PGP option.
> #
>
>
> MailOrderTo? [mjs] mjs
>
> # Where the Interchange files for this catalog will go, pages,
> # products, config and all. This should not be in HTML document
> # space! Usually a 'catalogs' directory below your home directory
> # works well. Remember, you will want a test catalog and an online
> # catalog.
> #
>
>
> CatRoot? [/home/users/mjs/catalogs/construct]
>
> # The location of the normal CGI directory. This is a
> # file path, not a script alias.
> #
> # If all of your CGI programs must end in .cgi, this is
> # should be the same as your HTML directory.
> #
>
>
> CgiDir? [/usr/lib/cgi-bin/ic] /var/www/cgi-bin
>
> # The URL location of the CGI program, without the http://
> # or server name.
> #
> # http://www.virtual.com/cgi-bin/prog
> # ^^^^^^^^^^^^^
> #
> # http://www.virtual.com/program.cgi
> # ^^^^^^^^^^^^
> #
>
>
> CgiUrl? [/construct.cgi] /cgi-bin/construct.cgi
>
> #
> # Additional URL locations for the CGI program, as with CgiUrl.
> # This is used when calling the catalog from more than one place,
> # perhaps because your secure server is not the same name as the
> # non-secure one.
> #
> # http://www.secure.domain/secure-bin/prog
> # ^^^^^^^^^^^^^^^^
> #
> # We set it to the name of the catalog by default to enable the
> # internal HTTP server.
> #
>
>
> Aliases? [/construct]
>
> # The base directory for HTML for this (possibly virtual) domain.
> # This is a directory path name, not a URL -- it is your HTML
> # directory.
> #
>
>
> DocumentRoot? [/var/www] /var/www/html
>
> # Where the sample HTML files (not Interchange pages) should be installed.
> # There is a difference. Usually a subdirectory of your HTML directory.
> #
>
>
> SampleHtml? [/var/www/ic] /var/www/html/ic
>
> # Where the image files should be copied. A directory path
> # name, not a URL.
> #
>
>
> ImageDir? [/var/www/html/ic/images] /var/www/html/images
>
> # The URL base for the sample images. Sets the ImageDir
> # directive in the catalog configuration file. This is a URL
> # fragment, not a directory or file name.
> #
> # <IMG SRC="/construct/images/icon.gif">
> # ^^^^^^^^^^^^^^^^^
> #
>
>
> ImageUrl? [/construct/images] /images
> Checking directories........................................mkdir
/home/users/mjs/catalogs
> mkdir /home/users/mjs/catalogs/construct
> mkdir /var/www/html/ic
> mkdir /var/www/html/images
> done.
> Copying demo files..........................................found more to
ask.
>
> Your company name: ...............................[Construct Something]
Warpspeed Internet Solutions
>
> Interchange has a workable internal database, but many things will
> work better (and a few worse) if you use a SQL database. Interchange
> can configure MySQL, PostgreSQL, and Oracle in a test configuration.
>
> Set to 1 if you want to use MySQL, PostgreSQL, or Oracle: ..
>
> You can use Interchange's companion configuration
> interface, to do upload/download of files, manipulation of
> the database, reconfiguration of the catalog, and much more.
>
> To enable the UI, you will need a "super-user" account
> name that has full access.
>
> The initial password is "pass". CHANGE IT! You can do this
> by going to the admin menu and selecting the superuser and
> then "Change password".
>
> Account name that will control this catalog: .....[interchange]
interchange
> Administrative password: .........................[pass] vkl402j
>
> Found system commands to run.
>
> done.
> Moving link program to /var/www/cgi-bin/construct.cgi.......done.
> Copying share/ files to ....................................
> Error installing share/ files:
> chdir 'share': No such file or directory
>
> Moving HTML files to /var/www/html/ic.......................done.
> Moving image files to /var/www/html/images..................done.
>
> Found additional system commands to run.
>
> To enable image upload feature, you need to make a symbolic
> link of the image base directory into your catalog directory.
>
> run "ln -s /var/www/html/images /home/users/mjs/catalogs/construct"? [y]
> Add catalog to interchange.cfg? [y]
>
> No catalog previously defined. Adding construct at top.
>
> Done with installation. If my reading of your input is correct, you
> should be able to access the demo catalog with the following URL:
>
> http://lift.warpspeed.net.au/ic
>
> In any case, you should get direct access at:
>
> http://lift.warpspeed.net.au/cgi-bin/construct.cgi
>
> That is, after you START or RESTART the Interchange server. 8-)
> It is best done with:
>
> su -c "/usr/lib/interchange/bin/interchange -r" interchange
>
> For session expiration, you might want to place a line like this in your
> crontab:
>
> 44 4 * * * /usr/lib/interchange/bin/expireall -r
>
> It will prevent the session databases from getting too large.
>
> Good luck with Interchange!
>
> Script done on Wed Feb 28 15:20:56 2001
>
> The only thign that looks wierd in there is the share files not copying
propally.
>
> Any ideas on this one?
>
> So now if I restart interchange ...
>
> Script started on Wed Feb 28 15:21:31 2001
> root@lift:~ #/etc/ini[K/etc/init.d/interchange restart
> Restarting Interchange Server: interchange.
> Low traffic settings.
> Calling UI....
> ...UI is loaded....
> Interchange V4.6.3
> Configuring catalog construct...construct config error: Couldn't open
'/home/users/mjs/catalogs/construct/products/variable.txt' read/write:
Permission denied
>
>
>
> construct: error in configuration. Skipping.
> construct: config error. Skipping.
> Interchange server started in UNIX mode(s) (process id 26421)
>
> Script done on Wed Feb 28 15:22:53 2001
>
> Now that doesn't look good to me at all.
>
> No this file doesn't exist, is makecat meant to generate it
> or should it get copied
> or have I missed some important part in the documentation that tells me
how to make it?
>
>
> Any comments/advice welcome please.
>
>
> Thanks.
>
>
>
> --
> Mitchell Smith
>
> Blitz Technology
>
> mjs@blitz-technology.net
>
>
>
> Computers are not intelligent. They only think they are.
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: fiber at virtualhideout.net (Fiber at VH )
Date: Wed, 28 Feb 2001 00:47:29 -0800
Subject: [ic] Installing Akopia?
How long would it take to install Akopia?
My main question is "how hard is it" to install Akopia?
Anyone be willing to set it up or me?
Adam
From: soudant at home.nl (Guy Soudant )
Date: Wed, 28 Feb 2001 08:18:56 +0100
Subject: [ic] Installing Akopia?
Hi,
Installing the application is not the problem, although you have to know
the exact meaning of the questions that are asked (if you
run ./configure). In general, most standard answers should fit your needs
(watch out with the cgi-wrapper question), and be sure to use the pwd
command to check directory paths. Taking this into account, then the
install is not very tricky (if you have shell access).
The difficult part is configuring the application after install. This can
be tricky, but then you can always ask questions on this forum.
Sorry but I personally cannot install the app for you, since I am too
busy with setting it up myself, and I face a deadlline that's nearby.
Hope this helps
Kind regards
Guy Soudant
--------------------------------------------------------
You can mail messages with large attachements to guy@soudant.net during
the hours: 9 am and 22 pm. Do not use this mail address outside of these
hours. Use soudant@home.nl in stead.
u kunt mailtjes met grote bestanden mailen naar guy@soudant.net tussen 9
uur en 22 uur. Gebruik dit e-mail adres niet buiten deze uren. Gebruik
soudant@home.nl buiten deze uren.
-----Original Message-----
From: "Fiber @ VH" <fiber@virtualhideout.net>
To: <interchange-users@lists.akopia.com>
Date: Wed, 28 Feb 2001 00:47:29 -0800
Subject: [ic] Installing Akopia?
> How long would it take to install Akopia?
>
> My main question is "how hard is it" to install Akopia?
>
> Anyone be willing to set it up or me?
>
> Adam
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: go-gtr at home.com (Skyline GTR )
Date: Wed, 28 Feb 2001 03:10:27 -0500
Subject: [ic] how can i change SKU #?
Perhaps this question is pretty dumb
how can i change SKU #?
From: cpi at accxs.net (ACC&S )
Date: Wed, 28 Feb 2001 09:16:20 +0100
Subject: [ic] Quantity discounts in Constuct
Do you have this : wholesale ;$
into your catalog.cfg :
CommonAdjust pricing:sku,q2,q5,q10,q25,q100 ;products:price,
==size:pricing, ==color:pricing,;:wholesale ;$
I had have the same problem besause this information missing... perhaps
try...
----- Original Message -----
From: Bob Puff@NLE <bob@nleaudio.com>
To: <interchange-users@lists.akopia.com>
Sent: Tuesday, February 27, 2001 8:17 PM
Subject: [ic] Quantity discounts in Constuct
> Hello,
>
> I posted this before, but perhaps it was overlooked.
>
> In the Construct demo, how do you modify the config to let all user have
quantity discounts?
>
> I tried modifying the little perl piece in the catalog.cfg to always do
discounts, but then it shows $0.00 for pricing (although the quantity
pricing works.)
>
> What am I missing?
>
> Bob
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: ken at desktech.com (Ken Dailey )
Date: Wed, 28 Feb 2001 02:47:55 -0600
Subject: [ic] order reporting & purchase orders
I checked logs/log. Check and credit card orders appears as:
#### begin 000002 #####
Add main order 000002 to transactions: 1
set credit_limit:
Added os28068b to orderline: 1
Inventory now: 98
Logout auto-created user: 1
#### end 000002 #####
Sending email copy of order 000002 to ken@desktech.com: 1
However, purchase orders appear as:
#### begin 000004 #####
There was an error adding to the transaction log.
Logout auto-created user: 1
#### end 000004 #####
Sending email copy of order 000004 to ken@desktech.com: 1
I checked the error log through the web-based administration and found these
three errors occurring:
{IP, DATE, TIME} construct /construct/construct.cgi/admin/genconfig.html
Can't read file '/home/xxxxxxxx/catalogs/construct/etc/status.construct'
with NoAbsolute set
{IP, DATE, TIME} construct /construct/construct.cgi/process.html search
error: Limit subroutine creation: bad limit creation code in coordinated
search, probably search group without search specification. at
/home/xxxxxxxx/interchange/lib/Vend/Search.pm line 703.
{IP, DATE, TIME} construct /construct/construct.cgi/process.html Attempt to
set userdb::password::U00004 in read-only table
Does this mean I have something setup incorrectly? I didn't change anything
out of the ordinary throughout the automated install. If it matters, the
purchase orders didn't register on the order reports at Akopia's demo site
either.
Thank you,
Ken Dailey <ken@desktech.com> 612.825.0999
DeskTech Computer & Internet Services <http://www.desktech.com>
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mike Heins
Sent: Tuesday, February 27, 2001 6:09 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] order reporting & purchase orders
Quoting Ken Dailey (ken@desktech.com):
> Hello,
>
> I am very new to Interchange and have been working with the construct demo
> to familiarize myself with the program. I have a problem and I am not sure
> if it is a bug or if I missed something in the documentation.
>
> Any orders that are placed with the Purchase Order option (instead of via
> Check or Credit Card) do not show up on the Order report in the Admin
area.
> Nor do they show up on the Customer report in the Admin area.
>
> I tried this out on my own installation of the demo and on the demo on
> Akopia's web site.
>
> Any ideas on how all orders can be included in these reports?
>
This is most likely a bug. I will note it as such -- there should be
indications in the error.log (did you check?). Also, you might look
and see what is in logs/log.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
People who want to share their religious views with you
almost never want you to share yours with them. -- Dave Barry
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Wed, 28 Feb 2001 01:01:04 -0800
Subject: [ic] checkout expiration date problems
At 09:26 PM 2/27/2001 -0500, you wrote:
>Quoting Dylan Oliver (doliver@hampshire.edu):
> > On Tue, 27 Feb 2001 19:51:39 -0500
> > Mike Heins <mikeh@minivend.com> wrote:
> >
> > > Your auto-wrapping editor munched it. The list needs to have tabs and be
> > at
> > > the beginning of the line.
Mike, what is the status of the Dreamweaver module to deal with IC tags
that was discussed a while back? Ron Phipps thought that someone from
Akopia was working on them (in msg00282).
http://developer.akopia.com/archive/interchange-users/2000/msg09286.html
http://developer.akopia.com/archive/interchange-users/2000/msg09280.html
http://developer.akopia.com/archive/interchange-users/2001/msg00282.html
[...]
>Best thing is to figure out the <NOTOUCH> </NOTOUCH> equivalent
>for your web editor.
Does anybody know the equivalents for Dreamweaver (3)?
Thanks,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Wed, 28 Feb 2001 01:11:17 -0800
Subject: [ic] order reporting & purchase orders
At 02:47 AM 2/28/2001 -0600, you wrote:
>I checked logs/log. Check and credit card orders appears as:
> #### begin 000002 #####
> Add main order 000002 to transactions: 1
> set credit_limit:
> Added os28068b to orderline: 1
> Inventory now: 98
> Logout auto-created user: 1
> #### end 000002 #####
> Sending email copy of order 000002 to ken@desktech.com: 1
>
>However, purchase orders appear as:
> #### begin 000004 #####
> There was an error adding to the transaction log.
> Logout auto-created user: 1
> #### end 000004 #####
> Sending email copy of order 000004 to ken@desktech.com: 1
>
>I checked the error log through the web-based administration and found these
>three errors occurring:
>
>{IP, DATE, TIME} construct /construct/construct.cgi/admin/genconfig.html
>Can't read file '/home/xxxxxxxx/catalogs/construct/etc/status.construct'
>with NoAbsolute set
Try setting NoAbsolute No in your .cfg to test if that helps. Somewhere in
the construct code it's accessing status.construct with the wrong path and
voilating security (when using purchase orders).
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=reference24%2e26
>{IP, DATE, TIME} construct /construct/construct.cgi/process.html search
>error: Limit subroutine creation: bad limit creation code in coordinated
>search, probably search group without search specification. at
>/home/xxxxxxxx/interchange/lib/Vend/Search.pm line 703.
>
>{IP, DATE, TIME} construct /construct/construct.cgi/process.html Attempt to
>set userdb::password::U00004 in read-only table
To narrow down where these are coming from: on one screen, do a 'tail -f
error.log'. That gives you a continuous realtime output of the errors.
Then, go through the site, and every time you click, see which errors come
up on the screen. That way you can know it's when you click "place order"
or when you click "checkout", etc.
-Dan
>Does this mean I have something setup incorrectly? I didn't change anything
>out of the ordinary throughout the automated install. If it matters, the
>purchase orders didn't register on the order reports at Akopia's demo site
>ither.
>
>Thank you,
>Ken Dailey <ken@desktech.com> 612.825.0999
>DeskTech Computer & Internet Services <http://www.desktech.com>
>
>-----Original Message-----
>From: interchange-users-admin@lists.akopia.com
>[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Mike Heins
>Sent: Tuesday, February 27, 2001 6:09 PM
>To: interchange-users@lists.akopia.com
>Subject: Re: [ic] order reporting & purchase orders
>
>
>Quoting Ken Dailey (ken@desktech.com):
> > Hello,
> >
> > I am very new to Interchange and have been working with the construct demo
> > to familiarize myself with the program. I have a problem and I am not sure
> > if it is a bug or if I missed something in the documentation.
> >
> > Any orders that are placed with the Purchase Order option (instead of via
> > Check or Credit Card) do not show up on the Order report in the Admin
>area.
> > Nor do they show up on the Customer report in the Admin area.
> >
> > I tried this out on my own installation of the demo and on the demo on
> > Akopia's web site.
> >
> > Any ideas on how all orders can be included in these reports?
> >
>
>This is most likely a bug. I will note it as such -- there should be
>indications in the error.log (did you check?). Also, you might look
>and see what is in logs/log.
>
>--
>Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
>phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
>
>People who want to share their religious views with you
>almost never want you to share yours with them. -- Dave Barry
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: brian at brightblade.org (Brian Morin )
Date: Wed, 28 Feb 2001 07:49:19 -0500
Subject: [ic] Installing Akopia?
Installation of Interchange (Akopia) would be directly relative to what you
wanted to accomplish with Interchange. If setting up a simple demo site to
review is all you need, then that should take no longer than a couple hours.
If you are looking for a new storefront, then obviously your requirements
would drive whatever that timeline would be.
Akopia provides for professional installation services, as well as ASP style
managed services. Perhaps a query in that direction is appropriate?
> How long would it take to install Akopia?
>
> My main question is "how hard is it" to install Akopia?
>
> Anyone be willing to set it up or me?
>
> Adam
From: cfm at maine.com (cfm at maine.com )
Date: Wed, 28 Feb 2001 08:55:09 -0500
Subject: [ic] Gift Cert and discount coupons
On Wed, Feb 28, 2001 at 11:43:34AM +0800, Alex Lam wrote:
> Hi interchange-users,
>
> I'm just a little bit confused here. How is the best way to issue and
> give out discount coupons and gift certs?
>
> Thanks
Leaving aside the code, there are **lots** of different ways that
merchants issue coupons and even gift certificates. You really need
to outline the business concept you want before you dig into the code.
>
>
> Best regards,
> Alex Lam
> Integricity Corporation Sdn. Bhd.
> Mobile : +6017-8800044
> E-mail : alex@integricity.com
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: mheins at redhat.com (Mike Heins )
Date: Wed, 28 Feb 2001 09:09:00 -0500
Subject: [ic] Interchange-users guidelines [semi-monthly posting]
interchange-users@lists.akopia.com is a list for users who have questions about
configuring, setting up, and fine tuning Interchange catalogs. Other topics
will include:
- announcements of Interchange releases and fixes
- notification and submission of Interchange bugs
- distributing pages which implement Interchange functions
- discussing the future development of Interchange
- any other topic relating *directly* to Interchange
The list started January 5, 1997 as minivend-users. For an archive of past
articles, see:
http://developer.akopia.com/archive/interchange-users/
Also, because the list has high volume for one of its type, before
posting to the list it is recommended that you use the search feature at:
http://developer.akopia.com/
Many questions can be answered by trying some keywords at this
facility. Try more than one combination.
It is common courtesy when posting to a forum such as this to:
1. Include the version of software you are using, i.e.
Interchange 4.6.1. Bugs are fixed and deficiencies corrected
in each release of Interchange, as with almost any software.
2. Include relevant information where appropriate.
The operating system in question is often relevant, as
is the Perl version and database type in use.
3. When talking about tag problems, include a snippet of ITL
tags which illustrates the problem.
4. When posting about PGP, Glimpse, or anything else that
uses an external command, you need to state what happens
when you run the same thing from the command line.
5. Include error log entries or a statement that there
are none.
If a post to this list doesn't include the relevant information, not only
are you unlikely to get a reasonable answer, you will add to the volume of
the list and make it less likely that reasonable questions are answered.
All entries are archived and available via a web gateway. The
"X-No-Archive: Yes" header is honored if you choose to use it.
List etiquette issues:
-- No HTML mail is allowed. Besides being improper email netiquette,
it destroys the digest.
-- Please try to keep your line size less than 80 characters.
-- No PGP signatures should be used. This is not a legal record.
-- No flame wars are tolerated.
-- No "courtesy copies" unless specifically requested. It
can be annoying to some people to receive two copies of
the same message.
-- If you must munge, make sure you mention this in the
BODY of the message and not buried incomprehensibly in
the header or in a cluttered signature attachment.
-- The list changes the Reply-To: header to point to the
list. While this is by popular demand, it is recognized that it
is not always the best mode of operation. You should reply by email
directly to the sender if the post will not be of general use.
For more information see the Netiquette RFC:
http://www.faqs.org/rfcs/rfc1855.html
Thanks for your cooperation. We believe we have one of the best user
lists going, and we would like to keep it useful and pleasant to use.
From: cfm at maine.com (cfm at maine.com )
Date: Wed, 28 Feb 2001 09:10:41 -0500
Subject: [ic] problems getting started
On Wed, Feb 28, 2001 at 03:36:05PM +1000, Mitchell wrote:
>
> Hi, I'm just installing interchange on my test development box here and
> I'm having a few problems with the demo construct catalog.
>
> Ok a bit of background onthe system.
>
> It's a Debian GNU Linux system, running kernel 2.4.1, perl-5.6, apache
> 1.3.14.
>
> I am using the pre-packages binaries of interchange from
> ftp.minivend.com.
>
> Ok so first the install, it all goes ok.
>
>
> Script started on Wed Feb 28 15:10:39 2001
> root@lift:~ #apt-get install interchange interchange-cat-so
> root@lift:~ #[Kapt-get install interchange interchange-cat-s construct interchange-u
> i
hmm, my apt-cache search does not bring up interchange. I know it
is there. I'm pretty sure the debian maintainer is on this list.
He's probably the one to contact first.
The debs don't install on our system either, but since we don't run
standard web servers I'd not expect it.
The tarball is **really** easy. And a lot easier to frig with when
you make the inevitable mistake.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 28 Feb 2001 09:12:11 -0500
Subject: [ic] checkout expiration date problems
Quoting Dan B (db@cyclonehq.dnsalias.net):
> At 09:26 PM 2/27/2001 -0500, you wrote:
> >Quoting Dylan Oliver (doliver@hampshire.edu):
> > > On Tue, 27 Feb 2001 19:51:39 -0500
> > > Mike Heins <mikeh@minivend.com> wrote:
> > >
> > > > Your auto-wrapping editor munched it. The list needs to have tabs and be
> > > at
> > > > the beginning of the line.
>
> Mike, what is the status of the Dreamweaver module to deal with IC tags
> that was discussed a while back? Ron Phipps thought that someone from
> Akopia was working on them (in msg00282).
> http://developer.akopia.com/archive/interchange-users/2000/msg09286.html
> http://developer.akopia.com/archive/interchange-users/2000/msg09280.html
> http://developer.akopia.com/archive/interchange-users/2001/msg00282.html
No status. I was the one thinking about working on it, but no progress
so far (other than buying the PowerMac G4). I wouldn't want anyone to
hold their breath, priorities are pushing it aside.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
People who want to share their religious views with you
almost never want you to share yours with them. -- Dave Barry
From: brian at brightblade.org (Brightblade )
Date: Wed, 28 Feb 2001 09:14:58 -0500
Subject: [ic] checkout expiration date problems
> > Mike, what is the status of the Dreamweaver module to deal with IC tags
> > that was discussed a while back? Ron Phipps thought that someone from
> > Akopia was working on them (in msg00282).
I know Dreamweaver pretty well, but very new to Interchange. What kind of
tags need to be supported in Dreamweaver?
From: joachim.richter at usvideocenter.de (joachim.richter )
Date: Wed, 28 Feb 2001 15:32:44 +0100
Subject: [ic] Funny Shopping cart content
I just realized something odd,
we were just testing our shop as I fell over the following problem :
log in as customer A and buy 5 items do not go to the checkout but logout.
the next customer who logs in will find those 5 items in his basket !
Ooops I immediately thought we screwed up somehow but upon checking the akopia construct site
I got the same results
Is there a way to avoid this or can interchange somehow save the shopping cart items for each customer ?
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart
Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de
From: kamus at adinet.com.uy (kamus at adinet.com.uy )
Date: Wed, 28 Feb 2001 14:44:43 GMT
Subject: [ic] Can't see New Tables in admin interface
Well... let's go in order...
I'm using Mysql, on a Suse 6.3 system.
I've created my table.mysql in the dbconf directory and I've also created
a table.txt file, and another table.dbm file over there.
I restart Interchange and it creates all tables and appends the .txt data
in the tables.
It's all right, I can acccess the data on the tables, but I cannot see
the table in the admin.
I have all permissions in mysql, and everything works fine, but it's
annoying I cannot see the table in the admin.
Well... I hope you can give me some ideas... Thanks.
Greetings,
kAmuS
PS: I'm from Uruguay (I don't remember who asked me) :)
PS2: I really enjoyed very much translating Interchange to Spanish :P
Byez.
>>>>>>>>>>>>>>>>>> Mensaje original <<<<<<<<<<<<<<<<<<
El 26/02/01, 5:15:53, "Dan Garwood" <res087jh@verizon.net> escribió sobre
el tema Re: [ic] Can't see New Tables in admin interface:
> First things first. Are you using Mysql or the IC database? Second There
are
> other files that are need for the UI in interchange to see and recognize
> tables. You need to look in the dbconf directory and also the products
> directory. After any changes, it is always a good idea to restart
> interchange on the command prompt or the apply changes in the UI.
> Dan
> ----- Original Message -----
> From: <kamus@adinet.com.uy>
> To: <interchange-users@lists.akopia.com>
> Sent: Saturday, February 24, 2001 10:55 AM
> Subject: [ic] Can't see New Tables in admin interface
> > Hello everybody!
> >
> > This is my first message.. I'm a bit nervous :)
> >
> > I have created a Table named "marcas" in the database. It's almost all
> > fine with that, except that I cannot modify or insert new records. Just
> > delete them (????). I can see this table in the admin.
> >
> > Then, I tried to create another table named "ultima". It worked fine.
> > Interchange created the table as defined, but I can't see this table in
> > the list of table of the admin.
> >
> > Well I did a 3rd try with another table, but I still can't see it. I know
> > it's created and I can insert and delete records from a web mysql admin,
> > but not from the interchage admin interface.
> >
> > Well if anybody knows what can be happening, please tell me :)
> >
> > I'm using mysql... any hints ?
> >
> > Thanks,
> >
> > kAmuS
> >
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 28 Feb 2001 09:46:56 -0500
Subject: [ic] Funny Shopping cart content
Quoting joachim.richter (joachim.richter@usvideocenter.de):
> I just realized something odd,
>
> we were just testing our shop as I fell over the following problem :
>
> log in as customer A and buy 5 items do not go to the checkout but logout.
> the next customer who logs in will find those 5 items in his basket !
>
> Ooops I immediately thought we screwed up somehow but upon checking the
> akopia construct site
> I got the same results
>
> Is there a way to avoid this or can interchange somehow save the shopping cart items for each customer ?
Sure it isn't a cache situation? Try setting:
[set mv_no_count][/set]
[set mv_no_session_id][/set]
on the home page.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
"All you need in this life is ignorance and confidence, and
then success is sure." -- Mark Twain
From: fuhrmann at cs.tu-berlin.de (Karsten Fuhrmann )
Date: Wed, 28 Feb 2001 15:56:56 +0100
Subject: [ic] locale Problem
Since i changed from minivend 4.01 to ic 4.6 all my prices are cut off
after the period. No fractional part is displayed anymore.
I am using the locale de_DE. And in my products.txt all prices have the
format xx.xx with a dot.
Why is that working this strange way ?
THx,
Karsten
From: res087jh at verizon.net (Dan Garwood )
Date: Wed, 28 Feb 2001 10:04:32 -0500
Subject: [ic] Can't see New Tables in admin interface
you need to go into the dbconf/mysql directory and create a newtable.mysql
page....you can look at the other ones in that directory for an example.
restart IC and it should there. Than you will need to go in and click on the
meta info for that table information for each field and set what type of
field it is to make sure it is right. I hope that makes sense. The dbconf
directory is in the catalogs directory for the store you are working on.
Dan
----- Original Message -----
From: <kamus@adinet.com.uy>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, February 28, 2001 9:44 AM
Subject: Re: [ic] Can't see New Tables in admin interface
> Well... let's go in order...
>
> I'm using Mysql, on a Suse 6.3 system.
> I've created my table.mysql in the dbconf directory and I've also created
> a table.txt file, and another table.dbm file over there.
> I restart Interchange and it creates all tables and appends the .txt data
> in the tables.
> It's all right, I can acccess the data on the tables, but I cannot see
> the table in the admin.
> I have all permissions in mysql, and everything works fine, but it's
> annoying I cannot see the table in the admin.
>
> Well... I hope you can give me some ideas... Thanks.
>
> Greetings,
>
> kAmuS
>
> PS: I'm from Uruguay (I don't remember who asked me) :)
> PS2: I really enjoyed very much translating Interchange to Spanish :P
> Byez.
>
>
>
> >>>>>>>>>>>>>>>>>> Mensaje original <<<<<<<<<<<<<<<<<<
>
> El 26/02/01, 5:15:53, "Dan Garwood" <res087jh@verizon.net> escribió sobre
> el tema Re: [ic] Can't see New Tables in admin interface:
>
>
> > First things first. Are you using Mysql or the IC database? Second There
> are
> > other files that are need for the UI in interchange to see and recognize
> > tables. You need to look in the dbconf directory and also the products
> > directory. After any changes, it is always a good idea to restart
> > interchange on the command prompt or the apply changes in the UI.
>
> > Dan
> > ----- Original Message -----
> > From: <kamus@adinet.com.uy>
> > To: <interchange-users@lists.akopia.com>
> > Sent: Saturday, February 24, 2001 10:55 AM
> > Subject: [ic] Can't see New Tables in admin interface
>
>
> > > Hello everybody!
> > >
> > > This is my first message.. I'm a bit nervous :)
> > >
> > > I have created a Table named "marcas" in the database. It's almost all
> > > fine with that, except that I cannot modify or insert new records.
Just
> > > delete them (????). I can see this table in the admin.
> > >
> > > Then, I tried to create another table named "ultima". It worked fine.
> > > Interchange created the table as defined, but I can't see this table
in
> > > the list of table of the admin.
> > >
> > > Well I did a 3rd try with another table, but I still can't see it. I
know
> > > it's created and I can insert and delete records from a web mysql
admin,
> > > but not from the interchage admin interface.
> > >
> > > Well if anybody knows what can be happening, please tell me :)
> > >
> > > I'm using mysql... any hints ?
> > >
> > > Thanks,
> > >
> > > kAmuS
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: jeaton at silverclicks.com (Jimmy Eaton )
Date: Wed, 28 Feb 2001 09:17:07 -0500 (EST)
Subject: [ic] Static Page Searches -Links to more matches
I am upgrading from 4.04 to the latest Interchange. When I generate static
pages the second static page of the Links to more matches comes back with
nothing found.
The first static page comes back fine with the Links to more matches
(previous-1-2-3-next). When I click on 1 or 2 or 3 it comes back with
nothing found using a cached searched page. The static page that was
generated also has nothing found for the second page. I have deleted all
the temporary cached pages and tried it again. But the same thing happens.
When I click on next it works but is not using a static page but a cached
search page. The only difference between the links is the next page has
mi=static in the url while the 2nd, 3rd etc page links urls do not have it.
No errors are showing up. I had to go ahead and set fi=products in the scan
searches or I would get an error that search file name was blank during
generation. I have ProductFiles set to products in the catalog.cfg.
Am I missing a file, a variable setting or something.
Jimmy Eaton
Silverclicks.com, Inc.
From: khine at bmpublications.co.uk (Norman Khine )
Date: Wed, 28 Feb 2001 15:55:12 -0000
Subject: [ic] Can you HELP me
This is a multi-part message in MIME format.
------=_NextPart_000_0005_01C0A19E.D5C64760
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hello,
I have been trying to install Interchange on my Virtual Server for a week
now, but get all sorts of errors.
Has any one been able to set up Interchange on a Virtual Host? If so can you
please help!!!
This is the error I am getting, after I type
%virtual ./configure
If you get a CPAN error, rerun the configuration and it
should go away.
Interchange V4.6.3
Copyright (C) 1996-2001 Akopia, Inc. <info@akopia.com>
Interchange is free under the terms of the GNU General Public License.
Where is your Interchange to be installed? /usr/local
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile for Interchange
make: not found
make: not found
from my ISP I found that in order to execute a program so that it uses the
virtal installation of Perl and its modules, I have to type virtual
Is likely that making the changes to the configure file to specifically use
the virtual server's perl this might work, if so could you tell me which
lines I need to change, as far as I can see, I have to go into the configure
file and find the part where it tries to find perl.
perl =("")
and replace it with
perl =("usr/home/usr/local/bin/virtual /usr/home/usr/bin/perl5"
There, I commented out the perl search routine, and just gave the path to
perl on the virtual server.
Is this correct or am I barking at the wrong three, please help
Many thanks
Norman
------=_NextPart_000_0005_01C0A19E.D5C64760
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="winmail.dat"
eJ8+IgwPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANEHAgAcAA8ANwAAAAMAPwEB
A5AGAMwIAAAlAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB
AAAAEAAAAENhbiB5b3UgSEVMUCBtZQACAXEAAQAAABYAAAABwKGe0NWtzw3BDYIR1Zn+AAAc1gQj
AAACAR0MAQAAACAAAABTTVRQOktISU5FQEJNUFVCTElDQVRJT05TLkNPLlVLAAsAAQ4AAAAAQAAG
DgBiCc6eocABAgEKDgEAAAAYAAAAAAAAADSHBPUpPdQRmQwAABzWBCPCgAAACwAfDgEAAAACAQkQ
AQAAAIAEAAB8BAAAJQcAAExaRnVRwMZtAwAKAHJjcGcxMjUWMgD4C2BuDhAwMzOPAfcCpAPjAgBw
cnEOUAhmY2gKwHNldDBWIAcTAoB9CoF2CJB30msLgGQ0DGBjAFALA6ELtSBIZWwJACwKogkKgEkg
EVB2ZSBioQnhIHRyeQuAZxWgNG8gC4BzAZAUUCBJPwIwBJARQQ8gFUACICBt0HkgVmkAIHUHQAZS
jxUwBcACEAXAYSB3CeBAayBub3csFVB1bwVAF2AFQBaScwkRBCBvXGYgBJADYBFwLhSUSH5hBCAA
cBfQAiAVRQGgbMcVQBYhEYEgdXAWzhkg6Rf2SG8WcD8WwBsQGqBUIGMDkXkIYCALUGXLHBAVQGgU
QHAhIYAUlLkUlFRoBAAWQAQgdCFA1xskFsAZEG0aEnQV4RnADmEBgBixFPB0eXBlTSG6JRKAGBQu
LwWgbvhmaWcIcCUrH/Egkhoj4CBDUEFOGyQZwAlw3HJ1FZEjASamYSQQHsJLEuAWQHQUlHNoCGBs
hSsgZxYwYXdheRuVAyG6FstWNC42LjMjLRsosG9weQUQZ2gBBUAoQykgMTk5pDYtAdAwMRHAay/w
hwcwGcAW0GMuIDwLgCkCEEBhMXMuBaBtPv8tHxcWIpEDUAngHcAS4BixGyLyFvFtGuMi8kdOVc82
sAnwBJAYQVB1AmAN4LwgTA3gCfARgCyrVyFA/wlwIrIgkSNxFukWIRVgFkaDCYAf0C91c3IvCQB3
IFAJUCzPVwrAAwAPIDr/I4EFoCvyGZAFQDwyFvA5tNpwBHAyA4IQ4G8JwCOwrTIQUCDkAMBrFUBz
JwH/FIUvwEI1P29AcSKyC4A5tHko0FRIFVEY4T9DGyB41wWQGfAVQCdBMic4ewUQ/yQSBdBBQSbQ
HTEY4hbZFJT/QTI+ED6yAhA1UUlvSnIK48ch9gNSF7JJU1AjgUu0/yLwKqBEMgWwNXMWMEXGGSD/
Q5YgIU4UHbERgCLUJgIYQfcWVSqkGwFQBJADICsEBCD/BGEr8AeQMcEVBBYhJPJRc3cYMTyOKyBJ
BCA3sEFQbP8X0E4TQTEV4ynyFzMi0VBS3yoISFFIMh1iJRBjBpAN4H8WkRfQUPFRNxgyEYAYkidf
BCAlEFMRIvAikW0wM3f9BbBrGcAGkCATK+Mgkhbw/xahB4AZMCKAEUBW8RyQBCD/FPAckAmAFhIX
JCRRNOEKwf8cET4xA5ERgGFxVFgsMQuA/1j/SCMrAibQTeMVQAqxXcH/OUQFQBWwCJBY02WDXOIy
EINMC1zjPSgiIikUlP8rAglwC1E4EFCyA/Ai8GisTzvyK9AHgDvoL2ILgC+fJgY742xXbUJc4jUi
Ibz/OVFUMjMBB4AW4SsgCGBm0f9l4lMCEYAKwF/xA2AZ8GAx+yRRKxFqO/AaAVSDZeMi8O8WElzj
F5Fbn3JoHVbRXTN7BaEJcGMFQBjyI8AU8GLvCsBX404xIvJ3A2BYAwnRPxnAINkhukfgHFFOEW5r
+xCwIclOBbADgVYZFJQSQQIAf0ALAAGACCAGAAAAAADAAAAAAAAARgAAAAADhQAAAAAAAAMAA4AI
IAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAACwAUgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEA
AAADAByACCAGAAAAAADAAAAAAAAARgAAAABShQAAJ2oBAB4AHYAIIAYAAAAAAMAAAAAAAABGAAAA
AFSFAAABAAAABAAAADkuMAALAB6ACCAGAAAAAADAAAAAAAAARgAAAAAGhQAAAAAAAAMAH4AIIAYA
AAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAogAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAAD
ACmACCAGAAAAAADAAAAAAAAARgAAAAARhQAAAAAAAAMAK4AIIAYAAAAAAMAAAAAAAABGAAAAABiF
AAAAAAAAHgA6gAggBgAAAAAAwAAAAAAAAEYAAAAANoUAAAEAAAABAAAAAAAAAB4AO4AIIAYAAAAA
AMAAAAAAAABGAAAAADeFAAABAAAAAQAAAAAAAAAeADyACCAGAAAAAADAAAAAAAAARgAAAAA4hQAA
AQAAAAEAAAAAAAAAAgH4DwEAAAAQAAAANIcE9Sk91BGZDAAAHNYEIwIB+g8BAAAAEAAAADSHBPUp
PdQRmQwAABzWBCMCAfsPAQAAAHcAAAAAAAAAOKG7EAXlEBqhuwgAKypWwgAAUFNUUFJYLkRMTAAA
AAAAAAAATklUQfm/uAEAqgA32W4AAABDOlxQcm9ncmFtIEZpbGVzXENvbW1vbiBGaWxlc1xTeXN0
ZW1cTWFwaVwxMDMzXE5UXG91dGxvb2sucHN0AAADAP4PBQAAAAMADTT9NwAAAgF/AAEAAAA6AAAA
PE5FQkJKSkFNREVJSEJJQ0RDTkJPTUVNUENGQUEua2hpbmVAYm1wdWJsaWNhdGlvbnMuY28udWs+
AAAAAwAGEAPtpQQDAAcQjwQAAAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUAAABIRUxMTyxJSEFW
RUJFRU5UUllJTkdUT0lOU1RBTExJTlRFUkNIQU5HRU9OTVlWSVJUVUFMU0VSVkVSRk9SQVdFRUtO
T1csQlVUR0VUQUxMU09SVFNPRkVSUk9SU0hBU0FOWU9OAAAAAKgp
------=_NextPart_000_0005_01C0A19E.D5C64760--
From: info at 4co.de (Company InterNet Services )
Date: Wed, 28 Feb 2001 17:15:53 +0100
Subject: [ic] Slow searches
I have a database with 300,000 items online (will be expanded to 500,000)
Every time I search it takes around 2 minutes, whether alot of items are found or not.
I need this to be much faster... around 2 seconds
Currently it's on GDBM (the defult database type), My server has Postgress installed
(but I have never used it).
Is there a way to convert my current database into a faster type (so searches will appear faster.)
Or would be making seperate catelogs be better (breaking up the database), Would customers still be able to order different items
from different catelogs using one shopping cart?
Ken Lyons
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 28 Feb 2001 11:31:08 -0500
Subject: [ic] Static Page Searches -Links to more matches
Quoting Jimmy Eaton (jeaton@silverclicks.com):
> I am upgrading from 4.04 to the latest Interchange. When I generate static
> pages the second static page of the Links to more matches comes back with
> nothing found.
>
> The first static page comes back fine with the Links to more matches
> (previous-1-2-3-next). When I click on 1 or 2 or 3 it comes back with
> nothing found using a cached searched page. The static page that was
> generated also has nothing found for the second page. I have deleted all
> the temporary cached pages and tried it again. But the same thing happens.
>
> When I click on next it works but is not using a static page but a cached
> search page. The only difference between the links is the next page has
> mi=static in the url while the 2nd, 3rd etc page links urls do not have it.
>
> No errors are showing up. I had to go ahead and set fi=products in the scan
> searches or I would get an error that search file name was blank during
> generation. I have ProductFiles set to products in the catalog.cfg.
>
> Am I missing a file, a variable setting or something.
>
The problem is that the mv_cache_key is not matching. I never really
got it to work properly in all situations, if I recall. If it did it
was incidental.
I would use the new Design->Generate static UI interface, which takes
care of this by setting a shared search save file that can be retained.
The old "minivend -build catalog" is going away in the next version.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
The U.S. Senate -- white male millionaires working for YOU! -- Dave Barry
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 28 Feb 2001 11:41:11 -0500
Subject: [ic] Slow searches
Quoting Company InterNet Services (info@4co.de):
> I have a database with 300,000 items online (will be expanded to 500,000)
> Every time I search it takes around 2 minutes, whether alot of items are
> found or not. I need this to be much faster... around 2 seconds
>
> Currently it's on GDBM (the defult database type), My server has Postgress
> installed (but I have never used it).
>
> Is there a way to convert my current database into a faster type (so searches
> will appear faster.) Or would be making seperate catelogs be better (breaking
> up the database), Would customers still be able to order different items from
> different catelogs using one shopping cart?
It all depends on what type of searching you need.
If it is categories, you need to use the dl=string method of binary
searching, which will bring search times under a second.
If it is full-text, you need Glimpse, which will do much the same thing
for word-based full-text searches. It is quite possible to get sub-second
searches for 300,000 items depending uniqueness of term.
This is the type of thing where a few hours of outside consulting with a
company that really knows this stuff (like us) will go a long way toward
solving your problems. This is all database and physics 101, but you have
to have the knowledge.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
People who want to share their religious views with you
almost never want you to share yours with them. -- Dave Barry
From: Murray at scotweb.ltd.uk (Murray Gibbins )
Date: Wed, 28 Feb 2001 16:45:08 +0000
Subject: [ic] Slow searches
Company InterNet Services wrote:
>
> I have a database with 300,000 items online (will be expanded to 500,000)
> Every time I search it takes around 2 minutes, whether alot of items are found or not.
> I need this to be much faster... around 2 seconds
>
> Currently it's on GDBM (the defult database type), My server has Postgress installed
> (but I have never used it).
>
> Is there a way to convert my current database into a faster type (so searches will appear faster.)
Sigh,
Yes interchange can up load info into a SQL db like postgres, it's in the docs
and has been discussed to death before, please search the archive. If you can't
find it in the interchange docs try the minivend docs IKFAF thats it's there.
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: edl at newmediaems.com (Ed LaFrance )
Date: Wed, 28 Feb 2001 08:45:48 -0800
Subject: [ic] Funny Shopping cart content
At 03:32 PM 02/28/2001 +0100, you wrote:
>I just realized something odd,
>
>we were just testing our shop as I fell over the following problem :
>
>log in as customer A and buy 5 items do not go to the checkout but logout.
>the next customer who logs in will find those 5 items in his basket !
>
>Ooops I immediately thought we screwed up somehow but upon checking the
>akopia construct site
>I got the same results
>
>Is there a way to avoid this or can interchange somehow save the shopping
>cart items for each customer ?
Did do all this on the same computer? Chances are different customers will
use different computers, hence different sessions with separate carts, and
there will be no problem. If in your case one computer will be used by
different users like a pay phone, you'll need to add some code on logout
and order submission to dump the session.
- Ed L.
From: Psirix at aol.com (Psirix at aol.com )
Date: Wed, 28 Feb 2001 11:51:32 EST
Subject: [ic] Question about top frame on "Construct Something" template...
Dear interchange users,
I recently started using the "Construct Something" Interchange software to make my e-commerce site. Everything is simple and easy to use except one thing. I am trying to edit the top from so I can insert my logo and a couple of other pics. Im talking about the frame on the "Construct Something" template where it has the "Construct Something" logo, the "Home", "About Us", "Log In" etc buttons, I want to be able to insert my logo and make it whatever size I want. I just need to know what HTML file to edit. I appreciate anyone's help with this. If someone can e-mail at: Psirix@aol.com I would greatly appreciate it.
Thanks,
Nick Gregory
From: bordas at jeuxvideo.com (David Bordas )
Date: Wed, 28 Feb 2001 17:57:01 +0100
Subject: [ic] French user of interchange ?
Hi all,
Are there french users of akopia who can tell me their experiences with IC ?
espacially with the language and price translation.
Thanks
From: tintones at hotmail.com (Marcelo F. De Paula )
Date: Wed, 28 Feb 2001 16:58:15
Subject: [ic] PGP - need help
Hello,
I new on Interchange. I have configured almost everything in interchange,
but I don't know where to start PGP configuration and I don't know how it
works.
Can anyone help me?
Thanks for any help,
Marcelo
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: jeaton at silverclicks.com (Jimmy Eaton )
Date: Wed, 28 Feb 2001 11:01:22 -0500 (EST)
Subject: [ic] Static Page Searches -Links to more matches
> Quoting Jimmy Eaton (jeaton@silverclicks.com):
> > I am upgrading from 4.04 to the latest Interchange. When I generate
static
> > pages the second static page of the Links to more matches comes back
with
> > nothing found.
> >
> > The first static page comes back fine with the Links to more matches
> > (previous-1-2-3-next). When I click on 1 or 2 or 3 it comes back with
> > nothing found using a cached searched page. The static page that was
> > generated also has nothing found for the second page. I have deleted
all
> > the temporary cached pages and tried it again. But the same thing
happens.
> >
> > When I click on next it works but is not using a static page but a
cached
> > search page. The only difference between the links is the next page has
> > mi=static in the url while the 2nd, 3rd etc page links urls do not have
it.
> >
> > No errors are showing up. I had to go ahead and set fi=products in the
scan
> > searches or I would get an error that search file name was blank during
> > generation. I have ProductFiles set to products in the catalog.cfg.
> >
> > Am I missing a file, a variable setting or something.
> >
>
> The problem is that the mv_cache_key is not matching. I never really
> got it to work properly in all situations, if I recall. If it did it
> was incidental.
>
> I would use the new Design->Generate static UI interface, which takes
> care of this by setting a shared search save file that can be retained.
> The old "minivend -build catalog" is going away in the next version.
>
Mike:
I am using the UI interface to generate the static pages. The second static
page of the search comes back with nothing found. When I click on the 2nd
page link on the static firat page of the search it comes back with nothing
found. When I add mi=static to the url of the 2nd page link then it comes
back ok as some type cached page or search. How do I get the mi=static to
show up in the urls for the 2nd, 3rd page links etc. The next and previous
page links work ok.
Jimmy Eaton
I plan to add the static pages to my cluster
From: davidb at communitylink.com (davidb )
Date: Wed, 28 Feb 2001 11:01:13 -0600
Subject: [ic] A Shipping Question
This may sound stupid, but where can I limit the states that a customer can
choose to ship to? In particular, I want to eliminate anything outside the
US ie Military Americas, Canada, etc. I have limited the shipping options
to only allow for UPS Ground, but I've looked all over and haven't had much
luck.
Any advice is much appreciated.
From: mikeh at minivend.com (Mike Heins )
Date: Wed, 28 Feb 2001 12:15:10 -0500
Subject: [ic] Static Page Searches -Links to more matches
Quoting Jimmy Eaton (jeaton@silverclicks.com):
> I am using the UI interface to generate the static pages. The second static
> page of the search comes back with nothing found. When I click on the 2nd
> page link on the static firat page of the search it comes back with nothing
> found. When I add mi=static to the url of the 2nd page link then it comes
> back ok as some type cached page or search. How do I get the mi=static to
> show up in the urls for the 2nd, 3rd page links etc. The next and previous
> page links work ok.
>
Bug in tag_more_list, here is a patch (which will be in CVS):
Index: Interpolate.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 1.44
diff -c -r1.44 Interpolate.pm
*** Interpolate.pm 2001/02/07 10:28:09 1.44
--- Interpolate.pm 2001/02/28 17:13:29
***************
*** 3026,3032 ****
$prefix = $q->{prefix} || '';
my $form_arg = "mv_more_ip=1\nmv_nextpage=$page";
$form_arg .= "\npf=$q->{prefix}" if $q->{prefix};
! $form_arg .= "\nmi=$q->{mv_more_id}" if $q->{mv_more_id};
if($r =~ s:\[border\]($All)\[/border\]::i) {
$border = $1;
--- 3026,3035 ----
$prefix = $q->{prefix} || '';
my $form_arg = "mv_more_ip=1\nmv_nextpage=$page";
$form_arg .= "\npf=$q->{prefix}" if $q->{prefix};
! if($q->{mv_more_id}) {
! $more_id = $q->{mv_more_id};
! $form_arg .= "\nmi=$more_id";
! }
if($r =~ s:\[border\]($All)\[/border\]::i) {
$border = $1;
Thanks for finding it!
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: bob at nleaudio.com (Bob Puff at NLE )
Date: Wed, 28 Feb 2001 13:00:50 -0500
Subject: [ic] Question about top frame on "Construct Something" template...
Hi Nick,
I fought with this for a while, and finally found it!
It's in catalog/construct/templates/regions/
Edit all the *TOP files. Look for the a1 and a2 pic files - these are the two top pics.
Bob
From: jonathanmelhuish at email.com (Jonathan Melhuish )
Date: Wed, 28 Feb 2001 18:38:40 +0000
Subject: [ic] Any experience of IC on RAQ3?
Does anybody have any experience of running IC on a Cobalt RAQ3?
I know it is really just a RedHat install on a PC box in a fancy case,
but I have to pay 3 years rent on this server in advance, and it is
solely for the purpose of running IC cats, so I want to be certain I can
get it working when I have paid (a considerable amount) for it!
Cheers
Jon
From: jonathanmelhuish at email.com (Jonathan Melhuish )
Date: Wed, 28 Feb 2001 18:45:55 +0000
Subject: [ic] Follow up: Follow up: Interchange runs, then dies
I have finally managed to get my test server up and running by:
* Deleting the RPM and installing from the tarball
* Changing the permissions on the catalogs
* Changing the permissions of the socket file
Unfortunately, I now have to change the permissions on the socket file
every time I restart IC. Is there any way around this? Should I have
installed as the IC user or something?
Thanks for your continued support
Jon
From: db at cyclonehq.dnsalias.net (Dan B )
Date: Wed, 28 Feb 2001 02:42:43 -0800
Subject: [ic] Stopping the IC parser early - break(), exit() or
I'd like to discover an IC tag that stops it from continuing to parse (it
just packs up the HTML and ships it off). Kind of like break(), exit() or
document.done() in other languages.
[if !session logged_in]
<p><font __FFACE__ size="2" color="#669999">
If you already have an account with us, please <a href="[area
login.html]">Login</a>.<BR>
<BR>
If you are new customer, please <a href="register.html">Register</a>.
</font></p>
[include templates/regions/checkout_bottom]
[comment]Would like to stop here[/comment]
[/if]
[...]
[include templates/regions/checkout_bottom]
Is there something like that already? Or is it bad design? (I should be
using [if]'s that cover the entire document).
Thanks,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: znanie at best.com (Kirill Sapelkin )
Date: Wed, 28 Feb 2001 18:36:42 +0000
Subject: [ic] searching in simple 4.6 demo
Hello !
This is a newbie question.
Has anybody used simple 4.6 demo page with interchange 4.6.3? The search would
not work for me.
Search function works fine in the construct demo page but does not in the
barry page and does not work in the simple page.
Has something changed in the latest version of interchage (4.6.3)?
Does the new version of simple have to be coded differently to have search work?
Search for "search" in the search.html (that is made on the fly) in
construct and simple yeilded very different code.
>From construct:
<td width="119">
<FORM ACTION="http://kirill/cgi-bin/construct/search.html?id=EkegUuhq">
<INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
<INPUT TYPE=hidden NAME=mv_searchtype VALUE=db>
<INPUT TYPE=hidden NAME=mv_matchlimit VALUE=10>
<INPUT TYPE=hidden NAME=mv_sort_field VALUE=category>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=inactive>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=":*">
<INPUT TYPE=hidden NAME=mv_column_op VALUE=ne>
<INPUT TYPE=hidden NAME=mv_column_op VALUE=rm>
<INPUT TYPE=hidden NAME=mv_searchspec VALUE=1>
<INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=10>
</td>
>From simple:
<TR>
<TD WIDTH=150 BGCOLOR=#C6A563 HEIGHT=82 VALIGN=top ALIGN=left><FORM ACTION="http://kirill/cgi-bin/simple/search.html"><IMG SRC="/simple/images/clear.gif" WIDTH=1 ALT="" HEIGHT=5 BORDER=0><BR>
<INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=category>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=":artist,title,comment,display">
<FONT SIZE=1 FACE="Tahoma, Arial, Helvetica"><SELECT NAME=mv_searchspec SIZE=1>
I am trying to monkey with this by adding the lines of code from the
config directory in construct to the logobar code in config/brown1 and
meeting with very limited success. Would be a lot happier if there
was some configuration I missed.
Thanks for any help.
Kirill Sapelkin
znanie@best.com
From: rhertz at gyb.baits.com (Ryan Hertz )
Date: Tue, 13 Feb 2001 18:07:19 -0700
Subject: [ic] shipping problem
At 05:43 PM 2/13/01 , you wrote:
>hello,
>
>I'm translating IC to brazilian portuguese and here in Brasil we have a
>shipping mode like UPS.
[snip]
>third doubt: Why this changes re not working?
Reconfigure or restart the interchange server.
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: rhertz at gyb.baits.com (Ryan Hertz )
Date: Tue, 13 Feb 2001 18:05:54 -0700
Subject: [ic] How to have the same sku with different properties.
At 05:44 PM 2/13/01 , you wrote:
>Hello,
>
>I would like to be able to have in the checkout the ability to have the same
>sku with different sizes.
>
>Eg. 2 pairs of shoes size 9
> 1 pair of shoes size 7
>
>Can this currently be done without major work?
Yes, read the manual concerning separate_items
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com