From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Mon Oct 1 00:05:01 2001
Subject: [ic] Cookies and IE6
Quoting Stefan Schwedt (schwedt@iucon.de):
> Hi all,
>
> you probably heard before, that the Internet Explorer 6 has now implemented
> a new feature of the W3C. It is called "privacy policy" and restricts the
> setting of cookies (also interchange-cookies are blocked).
>
> If you try to set a cookie via JavaScript, it is always accepted. Also other
> cookies, that come directly from a html-page won't be refused.
> Interchange uses the HTTP-header to set it's cookies. In that case, there
> must be another information in the HTTP-header that points to the privacy
> policy of the server.
>
This is quite ludicrous on Microsoft's part, at least in my opinion.
Interchange's default cookies have no expiration date and should never
be saved to disk. I could see requiring a privacy policy if the cookie
would return upon browser restart.
If you tell me what the header is, we can put in some code which sets
it; perhaps we can add it to the Vend::Track module. I suppose we have
to handle Microsoft even though I think it is misguided to require a
privacy policy on a volatile cookie.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I have a cop friend who thinks he ought be able to give a new ticket;
"too dumb for conditions".
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Mon Oct 1 00:09:00 2001
Subject: [ic] AuthorizeNet.pm missing fields
Quoting Pann McCuaig (pann@ourmanpann.com):
> When you use Authorize.net as a CC gateway, at least the way my account
> is set up, you get a nice canned email from them for each successful
> order placed.
>
> I noticed that there are some fields missing. In particular, there are
> three variables called out in AuthorizeNet.pm that don't make it to the
> Anet email:
>
> x_Invoice_Num => $actual->{mv_order_number},
> x_Company => $actual->{company},
> x_Phone => $actual->{phone_day},
>
> The x_Company line is commented out. Remove the comment and add
> 'company' to the map in Payment.pm, and it comes through. '$actual' was
> misspelled, preventing x_Phone from working, and correcting the spelling
> caused it to show up on the Anet email as well.
>
> But mv_order_number has me stumped. It's also missing from the map in
> Payment.pm, but adding it doesn't help. And of all the missing values in
> this email, this one is pretty key.
>
This is the classic chicken before the egg thing. How can we assign
an order number if we aren't sure whether the card will be approved?
We could, but then there would be a "hole" every time a transaction
is declined.
The usual thing that is done is to assign some transitory order ID,
perhaps date/time/PID based, then use their assigned order reference
to collate the authorization with the order number.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <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: interchange-users at interchange.redhat.com (JT Justman)
Date: Mon Oct 1 01:45:00 2001
Subject: [ic] Multiple page checkout
Okay, here's the trouble of the week : )
I'm running 4.81, working from a foundation demo. I'm trying to do a
two-page checkout. I wan the first page to be checked via the order profile
before moving on to the second. So I create a simple profile in
profiles.order:
__NAME__ test_profile
fname=required
lname=required
address1=required
city=required
state=required
zip=required
&fatal=yes
&final=no
__END__
Then I set the checkout page thus: (just the relivant parts)
Errors: [error all=1 show_error=1 joiner="<BR>"]
<FORM ACTION="[process secure=1]" METHOD="POST" name=checkout>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
<INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="ord/checkout">
<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">
<input type=hidden name=mv_order_profile value=test_profile>
<input type=hidden name=mv_successpage value=ord/checkout2>
<input type=hidden name=mv_failpage value=ord/checkout>
[button
name="mv_click"
src="order.gif"
text="Place Order"
hidetext=1
form=checkout
]
mv_todo=submit
[/button]
[button
name="mv_click"
src="__THEME_IMG_DIR__recalculate_button.gif"
text="Recalculate"
hidetext=1
form=checkout
]
mv_todo=refresh
[/button]
Obviously, I want it to be sure all the fields are okay, then go to page 2.
As it is, whether I enter correct information or not, it reloads the current
page and does not show any errors. When I change the failpage to another
page, it loads that page, and won't display errors there either. I've
tweaked about everything I can think of.
Any ideas or alternate approaches?
Thanks,
JT
From: interchange-users at interchange.redhat.com (Jeff Carnahan)
Date: Mon Oct 1 02:12:00 2001
Subject: [ic] Multiple page checkout
} __NAME__ test_profile
}
} fname=required
} lname=required
} address1=required
} city=required
} state=required
} zip=required
}
} &fatal=yes
} &final=no
}
} __END__
}
I believe that __END__ must not have any whitespace before it. Try deleting
the two spaces before __END__ then restarting Interchange.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at interchange.redhat.com (David Bordas)
Date: Mon Oct 1 02:30:01 2001
Subject: [ic] small mv_metadata.asc question
Hi,
I can't find this thing to work but i have a solution :
in check_orders.html i add something near :
if($hash{handling}) {
$hash{handling} = "<BR>(handling " .
$Tag->currency ({ body=> $hash{handling} }) .
")";
}
else {
$hash{handling} = '';
}
$line =~ s/\$(\w+)/$hash{$1}/g;
like this
$line =~ s/pending/En cours de traitement/g;
$line =~ s/shipped/Expédiée/g;
$line =~ s/backorder/En commande/g;
$line =~ s/credit/En attente de paiement/g;
$line =~ s/canceled/Annulée/g;
HTML $line;
}
Quite strong as solution but it works.
I hope it can help.
David
----- Original Message -----
From: "Eduardo Dominguez" <edmz@yahoo.com>
To: <bordas@jeuxvideo.com>
Sent: Friday, September 28, 2001 10:59 PM
Subject: Re: [ic] small mv_metadata.asc question
> I was wondering, did you make this work ?
> if so, what did you do ?
>
> thanks in advance..
>
> On Tue, 2001-09-25 at 10:23, David Bordas wrote:
> > Hi,
> >
> > i've modify mv_metadata.asc to translate pending to 'en cours de
> > traitement'.
> > on the pages/query/check_orders.html it always show pending
> >
> > in the source code i can see $status.
> > So i'm looking for a way to "translate" $status according to
> > mv_metadata.asc.
> >
> > I've had a look to the mailing archive but don't find anything.
> > Perhaps i don't search for the right thing.
> >
> > Great thanks.
> > David
> >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 1 03:40:01 2001
Subject: [ic] Error with globalsub
"Webmaster of Infothai" <webmaster@infothai.com> writes:
> Hello,
>
> I started getting this error message when I restart Interchange 4.6.5:
>
> - - - [29/September/2001:09:45:04 -0600] - - Bad GlobalSub 'planetpayment'
> > In line 196 of the configuration file 'globalsub/planetpayment':
> > GlobalSub <<EOS
>
> Line 196 is the EOS line that is the end of the 'wrapper' around the subroutine.
> If I strip off this wrapper, the subroutine can be compiled without error.
>
> The subroutine is a renamed and slightly modified version of the authorizenet
> globalsub that came with Interchange.
>
> So my question is: what other cause of this error can there be?
Maybe whitespace after the closing "EOS" ?
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Ian Riddler)
Date: Mon Oct 1 09:38:01 2001
Subject: [ic] Changing Image Upload directory?
Hi
Presently, all my Item images insist on uploading to the
/sample/images/items directory.
I'd like them to go elsewhere.
I've changed the image path in directories and paths, restarted ic, and
reconfigured the catalog, but they insist on uploading to the samlpe
subdir.
Can anyone shed some light ?
Thanks,
Ian Riddler
Griffler Enterprises
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 1 09:55:00 2001
Subject: [ic] Changing Image Upload directory?
"Ian Riddler" <ian@griffler.co.nz> writes:
> Hi
> Presently, all my Item images insist on uploading to the
> /sample/images/items directory.
>
> I'd like them to go elsewhere.
> I've changed the image path in directories and paths, restarted ic, and
> reconfigured the catalog, but they insist on uploading to the samlpe
> subdir.
>
> Can anyone shed some light ?
You need to modify mv_metadata.asc.
products::image imagehelper images/items Image __MVC_SAMPLEURL__ <A HREF="admin/upload_file?ui_image_preview=__MVC_IMAGEURL__/items/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A>
products::image_large imagehelper images/items Large Image __MVC_SAMPLEURL__ <A HREF="admin/upload_file?ui_image_preview=__MVC_IMAGEURL__/items/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A>
Replace images/items with the desired path. Preserve the tabs in
this file ! Than you need to reconfigure the catalog or
restart the Interchange server.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Mon Oct 1 10:45:01 2001
Subject: [ic] You Need Protection
Introducing THE EVIDENCE ELIMINATOR - the **only** safe way to surf the net.
Speed-Up... your PC and Internet Browser, reclaim lost Hard Disk space and professionally clean your PC!!
http://209.132.123.46/eebl/
Make it safer to use the Internet - All in one click of your mouse!
Did you know... that your computer is spying on you?
Did you know for example that every click you make on Windows Start Menu is logged and stored permanently on a hidden encrypted database within your own computer?
Deleting "internet cache and history", will not protect you...
http://209.132.123.46/eebl/
Your PC is keeping frightening records of both your online and off-line activity.
Any of the Web Pages, Pictures, Movies, Videos, Sounds, E-mail and Everything Else you or anyone else have ever viewed could easily be recovered - even many years later!
How would you feel if somebody snooped this information out of your computer and made it public?
Do your children or their friends use your computers?
What have they downloaded and tried to delete?
Act now!
http://209.132.123.46/eebl/
Stop these files coming "back from the dead" to haunt you!
You deserve a far more rewarding and safer Internet experience!
Start to enjoy the benefits of a truly clean and faster "Like New" PC!
Download today with no risk, guaranteed.
http://209.132.123.46/eebl/
You have received this email only because our records indicate you have asked to receive material from us
before. If you have received this email in error, or you no longer wish to receive emails from us, please click the link below:
http://backdoormailer.com/goremove
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 1 11:55:01 2001
Subject: [ic] Ed's Solution for Using the Script Name Variable
At 10:33 PM 09/29/2001 -0400, you wrote:
>Ed and others ... thanks for your suggestions.
>
>Ed, I found what I think you are referring to at:
>
>http://developer2.akopia.com/archive/interchange-users/2001/msg05007.html
>
>It appears to me that all I have to do is include the code in this message
>within one of the .cfg files.
Yep. You could paste it into VENDROOT/interchange.cfg, or save it into a
file named env.tag in VENDROOT/usertag/ (IC restart to activate in either
case). I think it will also work at the catalog level, which means you
could paste it into CATROOT/catalog.cfg, or create a usertag directory in
your CATROOT, save it as a file there, and put this line in your catalog.cfg:
include usertag/* #NOTE: this may need a leading '#', I am not sure, due
to new directives.
..and reconfig your catalog in either case.
> From there, how would I call up a specific variable?
>
>Would I do something like this?
>
>[env SCRIPT_NAME] somewhere in an Interchanged parsed page?
Yes, that is right, provided that variable is defined on your
server. There is some documentation at the top of the tag. You can get a
table of all variables by putting [env] (no argument) on a page in your
catalog.
>When I do can I expect the SCRIPT_NAME to be echoed where ever the tag is
>located?
You can also capture it:
[seti script_name][env SCRIPT_NAME][/seti]
- Ed L.
>CV
>
>
>At 11:11 AM 9/29/2001 -0400, cfm@maine.com wrote:
>>On Sat, Sep 29, 2001 at 10:51:33AM -0400, Christopher Van Oosterhout wrote:
>> >
>> > Greetings All,
>> >
>> > When I use the dump tag, [dump], to get an idea of just what
>> Interchange is
>> > collecting, I see a variable under ENVIRONMENT that may be useful to me.
>> >
>> > In particular I would like to the SCRIPT_NAME variable. I have tried to
>> > use the [data session SCRIPT_NAME] tag without success. It appear to me
>> > that the tag only works for "true" SESSION variables.
>> >
>> > I have two questions. First, is it possible to drawn out and use the
>> > SCRIPT_NAME and other ENVIRONMENTAL variables?
>> >
>> > If not, could you suggest a way to do the following:
>> >
>> > I have set up multiple script aliases to the same store. And it works
>> > expect I can not figure out how to reference links to the descriptions
>> > (flypages) of specific items in my site's search result page. Currently I
>> > am using something like:
>> >
>> > /cgi-bin/storename/[part number]
>> >
>> > I would like to replace the "/cgi-bin/storename/" section of the URL with
>> > SCRIPT_NAME.
>> >
>> > Any ideas?
>>
>>Search on SCRIPT_NAME at google and look at what is provided
>>in a typical CGI environment. Many servers provide more than the
>>standard requirements.
>>
>>
>>
>>cfm
>>
>>
>> >
>> > Christopher Van Oosterhout
>> >
>> >
>> > _______________________________________________
>> > interchange-users mailing list
>> > interchange-users@interchange.redhat.com
>> > http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
>>_______________________________________________
>>interchange-users mailing list
>>interchange-users@interchange.redhat.com
>>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Webmaster of Infothai)
Date: Mon Oct 1 12:08:00 2001
Subject: [ic] Error with globalsub
I checked for whitespace - none there.
Mike
On 30 Sep 2001 22:14:53 +0200, Stefan Hornburg (Racke) wrote:
>"Webmaster of Infothai" <webmaster@infothai.com> writes:
>
>> Hello,
>>
>> I started getting this error message when I restart Interchange 4.6.5:
>>
>> - - - [29/September/2001:09:45:04 -0600] - - Bad GlobalSub 'planetpayment'
>> > In line 196 of the configuration file 'globalsub/planetpayment':
>> > GlobalSub <<EOS
>>
>> Line 196 is the EOS line that is the end of the 'wrapper' around the subroutine.
>> If I strip off this wrapper, the subroutine can be compiled without error.
>>
>> The subroutine is a renamed and slightly modified version of the authorizenet
>> globalsub that came with Interchange.
>>
>> So my question is: what other cause of this error can there be?
>
>Maybe whitespace after the closing "EOS" ?
>
>Ciao
> Racke
>
>--
>Racke happily hacks Interchange and maintains Debian packages like Courier.
>
>For projects and other business stuff please refer to COBOLT NetServices
>(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
webmaster@infothai.com
http://www.infothai.com
From: interchange-users at interchange.redhat.com (Stefan Schwedt)
Date: Mon Oct 1 13:18:01 2001
Subject: [ic] IE6 and Cookies SOLVED
If you use Interchange-cookies, note, that they will be rejected by Internet
Explorer 6.
After some looong hours of studying the Internet Explorer's and the W3C's
documentation, I finally solved the problem.
I created a website with easy step-by-step-instructions, how you will get
the IE 6 work together with your Interchange-store.
(http://www.iucon.de/interchange)
If you need more information about the new privacy policy, visit
http://www.w3.org/P3P/
Good luck :)
Stefan Schwedt
------------------------------------------------------
iUcon - Software und Webdesign
Schwemmer & Schwedt GbR
Königstr. 4
44651 Herne
info@iucon.de
http://www.iucon.de
From: interchange-users at interchange.redhat.com (Ivette Mestre)
Date: Mon Oct 1 13:44:00 2001
Subject: [ic] Image Path
Hi,
I had that problem with version 4.8.1. They fixed in
4.8.2.
Ivette
--- Laura <laura@smartaleck.com> wrote:
> I am modifying pages through the admin. My image
> path under admin
> preferences shows /~tactics/cart/images/
>
> which is correct.
>
> When I go into the page edit...IC places an
> "/Interchange/en_US/ path in
> from of my image paths....no matter how many times I
> remove them and
> save...they show up again. Can someone please advise
> me how to remove this?
>
> Thanks Laura
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
>
http://interchange.redhat.com/mailman/listinfo/interchange-users
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
From: interchange-users at interchange.redhat.com (FixtureFactor.com)
Date: Mon Oct 1 13:50:01 2001
Subject: [ic] Looking for a new web host with Interchange! Can you help me find one
Hi Im looking for a new web host for my store and it needs to be one that
has some experience with interchange. Can anybody give me some suggestions?
Im currently with Website Creations in FL. Stay away from them! They are
about to get rid of Interchange altogether because they dont know how to use
it. Thanks in advance for the input.
Sincerely,
Aaron Hazelton
Vice President
FixtureFactor.com
From: interchange-users at interchange.redhat.com (Doug Finley)
Date: Mon Oct 1 14:15:00 2001
Subject: [ic] Looking for a new web host with Interchange! Can you help me find one
I have had several nightmares myself, and can relate. Currently I am using
Korksoft (www.korksoft.com) and have been very pleased. They appear to know
Interchange very well. If/when you call ask for Jason and he will get you
squared away.
Just as a note to everyone STAY AWAY FROM AF HOSTING. These folks are a
total scam! They do not answer email, phone mail, or faxes EVER. But they
never miss charging your credit card every month! They are bad news in my
experience.
DF
----- Original Message -----
From: FixtureFactor.com <aaron@fixturefactor.com>
To: Interchange-Users <interchange-users@interchange.redhat.com>
Sent: Monday, October 01, 2001 1:52 PM
Subject: [ic] Looking for a new web host with Interchange! Can you help me
find one
> Hi Im looking for a new web host for my store and it needs to be one that
> has some experience with interchange. Can anybody give me some
suggestions?
> Im currently with Website Creations in FL. Stay away from them! They are
> about to get rid of Interchange altogether because they dont know how to
use
> it. Thanks in advance for the input.
>
> Sincerely,
> Aaron Hazelton
> Vice President
> FixtureFactor.com
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (joachim.richter)
Date: Mon Oct 1 14:31:01 2001
Subject: [ic] Stock-Alert Function
Hi list,
when and how does interchange send the email to the costumer who does the stock-alert thing ?
Put name/email in the stock alert page of article which is not in stock.
Then I changed the inventory form 0 to 100, but do not receive the requested mail.
I do receive the mail though, telling me "This a confirmation of your request submission. bla bla bla"
stating my details and the article. i am using interchange 4.8
Is there a trick to it ?
thanx 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: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Mon Oct 1 14:35:00 2001
Subject: [ic] IE6 and Cookies SOLVED
Quoting Stefan Schwedt (schwedt@iucon.de):
> If you use Interchange-cookies, note, that they will be rejected by Internet
> Explorer 6.
>
> After some looong hours of studying the Internet Explorer's and the W3C's
> documentation, I finally solved the problem.
> I created a website with easy step-by-step-instructions, how you will get
> the IE 6 work together with your Interchange-store.
> (http://www.iucon.de/interchange)
>
> If you need more information about the new privacy policy, visit
> http://www.w3.org/P3P/
Thank you for this information. The .htaccess file should not be
necessary; you can also just insert
<META HTTP-EQUIV="P3P=http://yoursite.com/p3p.xml">
somewhere in your standard document header.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
"Laughter is inner jogging." -- Norman Cousins
From: interchange-users at interchange.redhat.com (Christopher VanOosterhout)
Date: Mon Oct 1 15:36:00 2001
Subject: [ic] Directing Where "process" takes place in an Aliased store
I am working through the details of setting up some aliased stores. Very
nifty ... and thanks to everyone for their help so far.
Now I am to the checkout page and running into a bit of difficulty. After
searching the mailing list archives I am hoping someone from the list can
provide insight.
Here is what the URL for my checkout page looks like:
https://shop.marinedieseldirect.com/shipstore/process?id=9uBkfkCA&mv_pc=426
(where /shipstore/ is an alias for /cgi-bin/butterfly/ (the actual catalog
script) ... it is working just like I would want.)
However, when I click the submission button I get sent to a results page:
https://shop.marinedieseldirect.com/cgi-bin/butterfly/process?id=9uBkfkCA&mv_pc=449
this is more of a problem for me. I would like to actual script name to
remain hidden and aliased. So instead of /cgi-bin/butterfly/ it would
again be /shipstore/ as in the URL above.
The form tag in the check out page (pre-processed) is:
<form method=post action="[process secure=1]" size="20">
which in the browser turns into:
<form method=post
action="https://shop.marinedieseldirect.com/cgi-bin/butterfly/process?id=9uBkfkCA&mv_pc=449"
size="20">
Any ideas?
CV
--
Christopher VanOosterhout
Torresen Marine, Inc.
Internet Division
http://www.torresen.com/
http://www.marinedieseldirect.com/
3126 Lake Shore Drive
Muskegon, Michigan 49441
231-759-8596
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Mon Oct 1 15:44:00 2001
Subject: [ic] Directing Where "process" takes place in an Aliased store
> I am working through the details of setting up some aliased
> stores. Very
> nifty ... and thanks to everyone for their help so far.
>
> Now I am to the checkout page and running into a bit of
> difficulty. After
> searching the mailing list archives I am hoping someone from
> the list can
> provide insight.
>
> Here is what the URL for my checkout page looks like:
>
> https://shop.marinedieseldirect.com/shipstore/process?id=9uBkf
> kCA&mv_pc=426
> (where /shipstore/ is an alias for /cgi-bin/butterfly/ (the
> actual catalog
> script) ... it is working just like I would want.)
>
> However, when I click the submission button I get sent to a
> results page:
>
> https://shop.marinedieseldirect.com/cgi-bin/butterfly/process?
> id=9uBkfkCA&mv_pc=449
>
> this is more of a problem for me. I would like to actual
> script name to
> remain hidden and aliased. So instead of /cgi-bin/butterfly/
> it would
> again be /shipstore/ as in the URL above.
>
> The form tag in the check out page (pre-processed) is:
>
> <form method=post action="[process secure=1]" size="20">
>
> which in the browser turns into:
>
> <form method=post
> action="https://shop.marinedieseldirect.com/cgi-bin/butterfly/
> process?id=9uBkfkCA&mv_pc=449"
> size="20">
>
> Any ideas?
>
> CV
Check out src/mod_interchange
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (Anna-Lena Olofsson)
Date: Mon Oct 1 16:30:01 2001
Subject: [ic] Customer text input on item for engraving, how to do ?
Hi im setting upp a shop and need to get customers input on items like
"Happy birtday" for engraving.
that follow the item all the way.
I´m new into IC so examples wod be fine.
can anyone help?
regards Håkan
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Mon Oct 1 16:49:00 2001
Subject: [ic] Customer text input on item for engraving, how to do ?
> Hi im setting upp a shop and need to get customers input on items like
> "Happy birtday" for engraving.
> that follow the item all the way.
> I´m new into IC so examples wod be fine.
> can anyone help?
> regards Håkan
See the recently posted TIPS using the mailing list search engine: modifying
columns, adding a new table to IC, and mv_metadata. HTH,
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (Han Huang)
Date: Mon Oct 1 17:31:01 2001
Subject: [ic] CyberCash -> Payflow
Hello,
Anyone out there completed the migration from CyberCash to Payflow yet? How
would we go about doing this? Any experience or pointers would be much
appreciated.
Thanks.
han at rsub dot net
From: interchange-users at interchange.redhat.com (John Cherbini)
Date: Mon Oct 1 17:47:01 2001
Subject: [ic] CyberCash -> Payflow
Han,
I called them last week. Apparently, there will be no change to our server
configuration. The only changes will be in the management website. You
won't use manager2.cybercash.com but will use the new payflow management site.
This and the way batches are handled were the only nociable differences.
Please let me know if you find out any different.
Thanks!
John C.
On Monday 01 October 2001 02:34 pm, Han Huang wrote:
> Hello,
>
> Anyone out there completed the migration from CyberCash to Payflow yet? How
> would we go about doing this? Any experience or pointers would be much
> appreciated.
>
> Thanks.
> han at rsub dot net
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 1 18:08:00 2001
Subject: [ic] IE6 and Cookies SOLVED
On Mon, 1 Oct 2001, Stefan Schwedt wrote:
SS>>If you use Interchange-cookies, note, that they will be rejected by Internet
SS>>Explorer 6.
SS>>
SS>>After some looong hours of studying the Internet Explorer's and the W3C's
SS>>documentation, I finally solved the problem.
SS>>I created a website with easy step-by-step-instructions, how you will get
SS>>the IE 6 work together with your Interchange-store.
SS>>(http://www.iucon.de/interchange)
SS>>
SS>>If you need more information about the new privacy policy, visit
SS>>http://www.w3.org/P3P/
Oh! Wow! Fan-(*&^*&ing-tastic!
I followed your instructions. I went to the w3.org page and they have a
validator there. I ran that against my page, and it was VERY happy!
The only thing that you could have done to make it any simpler would to have
put my domain name in the files for me! :-)
I would offer to buy you a few beers the next time that you come to the
States, but I've had a LOT of German beer, and this stuff would be an insult
to you!
My deepest gratitude to you!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 01, 2001 at 17:55 PM:
Make up a language and ask people for directions.
----------------------------------------------------------------
This Linux System has been up 168 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 1 18:17:01 2001
Subject: [ic] Looking for a new web host with Interchange! Can you help
On Mon, 1 Oct 2001, FixtureFactor.com wrote:
F>>Hi Im looking for a new web host for my store and it needs to be one that
F>>has some experience with interchange. Can anybody give me some suggestions?
F>>Im currently with Website Creations in FL. Stay away from them! They are
F>>about to get rid of Interchange altogether because they dont know how to use
F>>it. Thanks in advance for the input.
I can host it for you. I've got IC running on a 1.2gHz CPU with 512 megs of
RAM, and on an underused T-1.
I'm not sure that I know any more about InterChange than your present host,
however.
I'm not about to get rid of Interchange, however. I've got too much invested
in it, and it's doing too good of a job for me.
(If it matters, I'm in Alexandria, VA, a suburb of Washington, DC. I also
have co-location space available if anyone needs a place to set their
server and connect to a T-1.)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 01, 2001 at 18:10 PM:
A Cat's courage is as strong as a dog's chain
----------------------------------------------------------------
This Linux System has been up 168 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 1 18:21:00 2001
Subject: [ic] Stock-Alert Function
On Mon, 1 Oct 2001, joachim.richter wrote:
j>>when and how does interchange send the email to the costumer who does the stock-alert thing ?
j>>
j>>Put name/email in the stock alert page of article which is not in stock.
j>>Then I changed the inventory form 0 to 100, but do not receive the requested mail.
j>>I do receive the mail though, telling me "This a confirmation of your request submission. bla bla bla"
j>>stating my details and the article. i am using interchange 4.8
I suspect that this is one of those 'features' that has been left for the
user to add stuff in to make it work. Kind of like the 'mailing list'
questions/options.
In IC 4.6, you can set your inventory at 10, but a customer can still order
50. The inventory-related functions seem to just dangle there. I have set
all of my quantities to 100000, unless I have temporarily run out of
something - which is rare.
I'm doing all of my inventory stuff with my Point Of Sale software.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 01, 2001 at 18:15 PM:
Four minus two is one and the same.
----------------------------------------------------------------
This Linux System has been up 168 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jake Thompson)
Date: Mon Oct 1 18:26:01 2001
Subject: [ic] PayPal integration code wanted
Was there any follow up to this? I would love to use paypal as a payment option.
Thanks,
Jake T.
-----Original Message-----
From: Guido Sohne [mailto:caught_one@yahoo.com]
Sent: Saturday, September 29, 2001 2:51 PM
To: interchange-users@anthrax.interchange.redhat.com
Subject: [ic] PayPal integration code wanted
Mike Heins wrote long ago ...
> BTW, I have much of PayPal working, including interface to the
"silent
> post" for completion for orders. I just have to document it as an
> Interchange extension. It is not suitable for a standard addition as
> yet.
and Jason Kohles also wrote ...
> The paypal stuff I was working on has been pretty much abandoned,
> as Mike has integrated paypal into 4.7, and from what I've seen of
> it, it's a lot cleaner than my kludge was...
I am having trouble finding this code. I am using Interchange 4.8.2
and am willing to take on alpha or beta code. Obviously, it would be
nice if it were ready and working to the max.
Looking through lib/Vend/Payment, I found
AuthorizeNet.pm CCVS.pm CyberCash.pm
Signio.pm Skipjack.pm iTransact.pm
but no sign of PayPal. Not even grep helps. I looked on the mailing
lists and read that it would go into 4.7 so I am a bit surprised it
is not there. Search on interchange.redhat.com for paypal returns
zilch.
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 1 18:36:00 2001
Subject: [ic] IE6 and Cookies SOLVED
On Mon, 1 Oct 2001 mheins@redhat.com wrote:
>>Thank you for this information. The .htaccess file should not be
>>necessary; you can also just insert
>>
>> <META HTTP-EQUIV="P3P=http://yoursite.com/p3p.xml">
>>
>>somewhere in your standard document header.
The validator is complaining that there are no P3P headers, even with this
in there.
It is also asking about a P3P compliant link.
Apparently, these are not critical to keeping IE6 happy, but having it find
something there would seem to round out the picture.
However, I'm only concerned with the minimal amount to keep the orders
rolling in :-)
It also appears that this stuff only needs to be at the entrance to the
site, the first page that they hit. It doesn't seem like we need to be
concerned about any subsequent pages - or, have I missed something?
Overall, this looks like a VERY easy obstacle to overcome - especially with
that great package!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 01, 2001 at 18:20 PM:
You're not losing more hair, you're gaining more scalp.
----------------------------------------------------------------
This Linux System has been up 168 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 1 18:39:00 2001
Subject: [ic] Customer text input on item for engraving, how to do ?
On Mon, 1 Oct 2001, Anna-Lena Olofsson wrote:
AO>>Hi im setting upp a shop and need to get customers input on items like
AO>>"Happy birtday" for engraving.
AO>>that follow the item all the way.
AO>>I´m new into IC so examples wod be fine.
AO>>can anyone help?
AO>>regards Håkan
I added a comments box to checkout.html which gets reported to me as well as
to the customer. Would something like that work for you?
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 01, 2001 at 18:35 PM:
Artist seeks Boss with vision impairment.
----------------------------------------------------------------
This Linux System has been up 168 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Richard Seymour)
Date: Mon Oct 1 23:43:00 2001
Subject: [ic] USPS XML and Interchange
As I am sure that many of you are aware, USPS has XML tools that can be
used
to request shipping information.
I was wondering if anyone had ever messed with or successfully
integrated
part of all of their online tools. I am wondering what the best way
would be
to go about integrating this (XML or HTML?). In advance, thanks for the
help.
--
Richard Seymour : Anarchy Software, Inc.
- * - - * - - - * -+- * - - - * - - * -
`°º¤ø,¸ ¸,ø¤º°'
`°º¤ø,¸¸,ø¤º°
From: interchange-users at interchange.redhat.com (Anna-Lena Olofsson)
Date: Tue Oct 2 04:08:01 2001
Subject: [ic] Customer text input on item for engraving, how to do ?
Hi
a comments box on checkout.html can I make one for every item? if so that
may work.
håkan
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 2 08:51:00 2001
Subject: [ic] Customer text input on item for engraving, how to do ?
On Tue, 2 Oct 2001, Anna-Lena Olofsson wrote:
AO>>a comments box on checkout.html can I make one for every item? if so that
AO>>may work.
I guess that you probably could, but that seems cumbersome and messy,
especially if your inventory is more than a few items.
I would recommend putting one text input box on the checkout page called
'Engraving Instructions'. Then the customer would write in there something
like:
Engrave the outside of the bracelet with 'ELH'
Engrave the inside of the bracelet with 'All My Love - Scotty'
Engrave the toaster with 'Ron's Kitchen'
(Multiple instructions for several items on the same order.)
(in ord/checkout.html)
<TR>
<TD>Engraving Instructions: </td>
<TD><TEXTAREA NAME="engraving" ROWS=10 COLS=40></TEXTAREA></TD>
</TR>
(in etc/report and etc/receipt.html)
Engraving Instructions: [value engraving]
Placement is not critical. I have it right after the phone numbers.
It wouldn't hurt to also have a comments box on the order form. I tell them
that comments don't get answered. It's a great place for them to add any
sort of information: "Leave package by side door", "Don't require a
signature", "This store is awesome!", "The link for ABC is broken", etc.
My feeling is that the comments box gives the customer a better feeling of
the store being user-friendly, and that the management cares.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 02, 2001 at 08:30 AM:
All words are pegs on which to hang ideas.
----------------------------------------------------------------
This Linux System has been up 182 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Andrew McBeath)
Date: Tue Oct 2 10:28:00 2001
Subject: [ic] Now where has that fabled FAQ gone then?
Well...It looks like I'm the latest newbie going through the act of
getting Interchange to play nice with SSL under a different domain...
Having read nearly all of the hundred-odd hits returned by searching for
'secure domain', I have been thoroughly convinced of my need to read
the FAQ that evidently once resided on the minivend
site...soooooo...maybe one of the many helpful souls out there could
give this navigationally challenged user a url... ;-)
The post most relevant to my situation was headed:
Subject: Re: [ic] 4.7.x SSL domain problem...
From: John Beima <jbeima@palb.com>
Date: Sun Jun 3 17:27:00 2001
and it led me to believe that 4.7.x is 'broken' for my scenario.
Anyway, could someone point me to the answers which must be
somewhere...(I do have the interchange documentation from redhat).
Yes, I _have_ tried the WideOpen, IpHead,IpQuad, DomainTail...the whole
[loop search="se=frustrated/sf=swear_words"][loop-body][/loop]
shebang... or at least to the best of my understanding anyway...please
enlighten me.
Having seen a few "blah blah blah rtfm" style replies to earlier posts,
and agree that the replies were warranted, I *have* read the archives
and the docmentation,
and believe me, I would dearly love to get my hands on that elusive
FAQ...a little help here ppl??? [image furious_animation=1
src='waving_hand.gif'] ;-)
For the record, I am running 4.7.2, with entirely different domains (but
same ip) for http and ssl. I observed no behavioural improvement
between many
configurations involving most permutations of WideOpen and related
directives. (yes, I did restart the catalog) - Bad behaviour being
defined as failure to transfer cart contents to the checkout page. (As
one would expect, a session turns out to be exactly
that...non-transferrable)
Well...I hope I've managed to keep my frustration down enough to avoid
offending the residents of this list...I'll now go outside and slug the
punchbag a few times :-)
Any comments / direction pointers will be greatly appreciated... (aka TIA)
Kind Regards,
Andrew McBeath
From: interchange-users at interchange.redhat.com (Tommi Labermo)
Date: Tue Oct 2 10:33:01 2001
Subject: [ic] Checkout page not working in IC 4.8.x
Hi
Feast your eyes on this little problem.. :-)
Whenever I try to go to the checkout page with interchange 4.8.x,
interchange stops
responding. However when I try to checkout with a empty basket, I get to the
checkout page. The foundation demo does the same thing, stops responding at
the checkout page. Also, after the server stops responding, it launches
several copies of itself. The error logs shows nothing.
I've tried to re-install interchange from scratch, deleting all old files,
but nothing changes.
I've also tried with/without ssl and mySQL, but still the same result.
I'm using RedHat 6.2 and mySQL3.23.36-1 and the following perl modules:
perl-HTML-Tagset-3.03-1
perl-Digest-MD5-2.16-1
groff-perl-1.15-8
perl-Mon-0.11-1
perl-Data-ShowTable-3.3-1
perl-Safe-Hole-0.08-1
perl-5.00503-11
perl-OLE-Storage_Lite-0.09-1
perl-MIME-Base64-2.12-1
perl-Convert-ASN1-0.14-1
perl-DBD-mysql-1.2216-1
perl-HTML-Parser-3.25-1
perl-Storable-1.0.13-1
perl-SQL-Statement-0.1020-1
perl-IO-stringy-2.108-1
perl-Parse-RecDescent-1.80-1
perl-Spreadsheet-Parse-0.24-1
perl-Spreadsheet-Write-0.33-1
perl-libwww-5.53-1
perl-DBI-1.19-1
perl-URI-1.17-1
perl-ldap-0.2401-1
This error only occurs in Interchange 4.8.x and on all browsers.
Checkout works fine in IC 4.6.5.
Am I the only one who's managed to get this problem? I would appreciate
every suggestions I can get, because I've got to get a new store up and
running at the end of this month.
I know this message lacks some information, but this is all I could get,
since this error doesn't show up in the error logs.
/Tommi Labermo
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 2 10:49:00 2001
Subject: [ic] Checkout page not working in IC 4.8.x
Quoting Tommi Labermo (tommi.labermo@surfnet.fi):
> Hi
>
> Feast your eyes on this little problem.. :-)
>
> Whenever I try to go to the checkout page with interchange 4.8.x,
> interchange stops
> responding.
My guess is that you have the default UPS shipping modes that
access the internet, and you have no internet connection.
Try changing the shipmode to FLATD for your default country (usually US)
and go again.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: interchange-users at interchange.redhat.com (Pann McCuaig)
Date: Tue Oct 2 10:50:47 2001
Subject: [ic] AuthorizeNet.pm missing fields
In my ongoing battle to pass all the values to Authorize.net that it
will return to me via email, I've got the billing and shipping info
working. However, these values are not coming back:
x_Tax => $actual->{salestax},
x_Freight => $actual->{shipping},
both shipping and salestax are mapped in Payment.pm, are defined in
checkout.html before the "Place Order" button is selected, and show up
on the interchange-generated emails.
Ideas?
Thanks,
Pann
--
geek by nature, Linux by choice L I N U X .~.
The Choice /V\
http://www.ourmanpann.com/linux/ of a GNU /( )\
Generation ^^-^^
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 2 11:11:01 2001
Subject: [ic] AuthorizeNet.pm missing fields
Quoting Pann McCuaig (pann@ourmanpann.com):
> In my ongoing battle to pass all the values to Authorize.net that it
> will return to me via email, I've got the billing and shipping info
> working. However, these values are not coming back:
>
> x_Tax => $actual->{salestax},
> x_Freight => $actual->{shipping},
>
> both shipping and salestax are mapped in Payment.pm, are defined in
> checkout.html before the "Place Order" button is selected, and show up
> on the interchange-generated emails.
What makes you think [value salestax] and [value shipping] hold what you
want? Where is it documented that you can expect that?
In short, they don't; [salestax] is not the same as [value salestax].
You would have to explicitly set them to what you want.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
If you like what you're gettin', keep doin' what you're doin'. -- Hector
From: interchange-users at interchange.redhat.com (Zack Johnson)
Date: Tue Oct 2 11:38:00 2001
Subject: [ic] ui_display_only option in [table-editor]
I'm guessing that the ui_display_only option in [table-editor] sets
specified fields as "read only." This would be great for setting aside the
primary key for the table so that users couldn't add arbitrary records to
the db. I've tried:
[table-editor
href=process
mv_nextpage=@@MV_PAGE@@
table=foo
key="value"
ui_data_fields="bar1 bar2 bar3..."
ui_display_only="bar1"
]
However, because bar1 shows up in the table-editor, the user can type
'value2' for the key value. This then creates a new record. I would have
expected [table-editor] to ignore any value in bar1. Is there something I'm
missing?
TIA!
Zack Johnson
Internet Manager
Standard Printing & Web Center
St. Augustine, FL 32084
phone (904) 829-6488
fax (904) 824-2959
www.standardprinting.net
From: interchange-users at interchange.redhat.com (Tim Watts)
Date: Tue Oct 2 11:57:00 2001
Subject: [ic] unable to display page errors
We're running interchange 4.6.5 on a unix shared server. We constantly get
feedback from customers that say that get the generic browser error "Unable
to display page" or "URL error, unable to locate site." These are errors
generated in the browser, they are not interchange errors. They pop up
INSTANTLY when the submit button is clicked on various forms throught the
site. If you hit the back button from these error pages and try again, it
ALWAYS works the second time. It seems to be only associated with
interchange, because we never have these problems with any other pages in
the site. Anyone have a clue or a solution to this puzzle??? I know we are
losing sales, but we can't locate the source of the problem.
Thanks greatly for any help.
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 2 12:17:00 2001
Subject: [ic] ui_display_only option in [table-editor]
Quoting Zack Johnson (zack@office.standardprinting.net):
> I'm guessing that the ui_display_only option in [table-editor] sets
> specified fields as "read only." This would be great for setting aside the
> primary key for the table so that users couldn't add arbitrary records to
> the db. I've tried:
>
> [table-editor
> href=process
> mv_nextpage=@@MV_PAGE@@
>
> table=foo
> key="value"
> ui_data_fields="bar1 bar2 bar3..."
>
> ui_display_only="bar1"
>
> ]
>
> However, because bar1 shows up in the table-editor, the user can type
> 'value2' for the key value. This then creates a new record. I would have
> expected [table-editor] to ignore any value in bar1. Is there something I'm
> missing?
That is what ui_hide_key is supposed to be for. The key can't be done
with ui_display_only, because it is required to be passed to set the
record.
You can also set:
widget.bar1=value
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I am a great believer in luck, and I find that the harder I work
the more luck I have. -- Thomas Jefferson
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 2 12:46:01 2001
Subject: [ic] ui_display_only option in [table-editor]
At 11:44 AM 10/02/2001 -0400, you wrote:
>I'm guessing that the ui_display_only option in [table-editor] sets
>specified fields as "read only." This would be great for setting aside the
>primary key for the table so that users couldn't add arbitrary records to
>the db. I've tried:
>
>[table-editor
> href=process
> mv_nextpage=@@MV_PAGE@@
>
> table=foo
> key="value"
> ui_data_fields="bar1 bar2 bar3..."
>
> ui_display_only="bar1"
>
> ]
>
>However, because bar1 shows up in the table-editor, the user can type
>'value2' for the key value. This then creates a new record. I would have
>expected [table-editor] to ignore any value in bar1. Is there something I'm
>missing?
>
>TIA!
>
Zack - if you just want to protect the record key from being edited, try
setting ui_hide_key to '1'. With regards to ui_display_only, you *may*
have found a bug - I took a look at the 4.8.2 UI and it does not appear to
be working in the places where it is used. I have not gone any deeper, but
if I find anything out I will post it to the list.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 2 12:55:01 2001
Subject: [ic] unable to display page errors
At 11:54 AM 10/02/2001 -0400, you wrote:
>We're running interchange 4.6.5 on a unix shared server. We constantly get
>feedback from customers that say that get the generic browser error "Unable
>to display page" or "URL error, unable to locate site." These are errors
>generated in the browser, they are not interchange errors. They pop up
>INSTANTLY when the submit button is clicked on various forms throught the
>site. If you hit the back button from these error pages and try again, it
>ALWAYS works the second time. It seems to be only associated with
>interchange, because we never have these problems with any other pages in
>the site. Anyone have a clue or a solution to this puzzle??? I know we are
>losing sales, but we can't locate the source of the problem.
>Thanks greatly for any help.
Is that on a secure checkout page? I have definitely seen this condition
with certain SSL Certs/SSL Server combinations; if you search the mail
archives I am sure you will find many posts on the subject. Sorry, but I
don't have any more insite to share.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 2 13:06:01 2001
Subject: [ic] Now where has that fabled FAQ gone then?
On Wed, 3 Oct 2001, Andrew McBeath wrote:
AM>>Well...It looks like I'm the latest newbie going through the act of
AM>>getting Interchange to play nice with SSL under a different domain...
AM>>
AM>>Having read nearly all of the hundred-odd hits returned by searching for
AM>>'secure domain', I have been thoroughly convinced of my need to read
AM>>the FAQ that evidently once resided on the minivend
AM>>site...soooooo...maybe one of the many helpful souls out there could
AM>>give this navigationally challenged user a url... ;-)
Save yourself a LOT of hair-pulling and frustration. Give Thawte $125.00 USD
and get a cert for the domain that you are selling through. It's much
easier, it's much cleaner, and the customer doesn't get any warning notices
that makes them suspicious of what you are doing - which will drive many
customers away.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 02, 2001 at 13:05 PM:
I think, therefor I am... I think?
----------------------------------------------------------------
This Linux System has been up 187 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 2 13:09:01 2001
Subject: [ic] unable to display page errors
On Tue, 2 Oct 2001, Tim Watts wrote:
TW>>We're running interchange 4.6.5 on a unix shared server. We constantly get
TW>>feedback from customers that say that get the generic browser error "Unable
TW>>to display page" or "URL error, unable to locate site." These are errors
TW>>generated in the browser, they are not interchange errors. They pop up
TW>>INSTANTLY when the submit button is clicked on various forms throught the
TW>>site. If you hit the back button from these error pages and try again, it
TW>>ALWAYS works the second time. It seems to be only associated with
TW>>interchange, because we never have these problems with any other pages in
TW>>the site. Anyone have a clue or a solution to this puzzle??? I know we are
TW>>losing sales, but we can't locate the source of the problem.
TW>>Thanks greatly for any help.
Sounds maybe like a hiccup in your DNS connection.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 02, 2001 at 13:10 PM:
WOMEN: Weird Obnoxious Male Enticing Nymphs
----------------------------------------------------------------
This Linux System has been up 187 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Sheamus Nulty)
Date: Tue Oct 2 14:18:01 2001
Subject: [ic] Order Profiles
Hi Folks,
Am I correct in assuming that the profiles.order file in etc is only used
for validation at the checkout stage. I've tried to use it to provide form
validation for a form I'm creating but can't seem to get it work in 4.8.1,
even though its just a simplified version of the checkout profile that is
already in the form. Is it best just to do the following when I need form
validation
[set validate]
[if !value fname]
error=Need First Name
[elsif !value lname]
error=Need Last Name
[/elsif]
[if]
[/set]
Then on the form put this
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_todo VALUE=return>
<INPUT TYPE=hidden NAME=mv_check VALUE=validate>
[if value error] : <B>[value error]</B>[/if]
or should the profiles work and I've configured it wrong.
Thanks
Sheamus
From: interchange-users at interchange.redhat.com (Pann McCuaig)
Date: Tue Oct 2 14:30:01 2001
Subject: [ic] AuthorizeNet.pm missing fields
On Tue, Oct 02, 2001 at 11:10, mheins@redhat.com wrote:
> Quoting Pann McCuaig (pann@ourmanpann.com):
> > In my ongoing battle to pass all the values to Authorize.net that it
> > will return to me via email, I've got the billing and shipping info
> > working. However, these values are not coming back:
> >
> > x_Tax => $actual->{salestax},
> > x_Freight => $actual->{shipping},
> >
> > both shipping and salestax are mapped in Payment.pm, are defined in
> > checkout.html before the "Place Order" button is selected, and show up
> > on the interchange-generated emails.
>
> What makes you think [value salestax] and [value shipping] hold what you
> want? Where is it documented that you can expect that?
>
> In short, they don't; [salestax] is not the same as [value salestax].
> You would have to explicitly set them to what you want.
A reasonable question. One which I'll answer at some length in the hope
that it may provide food for thought for those who write documentation
for interchange (and I know you've done most of that, to date).
Interchange is big:
1695269 Sep 22 13:52 interchange-4.8.2.tar.gz
4422926 Sep 22 13:55 interchange-doc-4.8.2.tar.gz
We who try to use this (very nice) package have to pick and choose what
we read.
I'd guess that most of us new to the interchange world use one of the
provided demos as a template. I think it's wonderful that you provide
those templates. My first exposure to this world was minivend several
years ago. I hacked on the art store demo and got a functional store
running.
If you look at the store operated by Jim Balcom, a frequent contributor
to this list, you'll see an extensive store with lotsa features, but it
jumps right out at you that it's based on the construct demo.
On the other hand, if you look at the korksoft.com website run by Jason
Korkin, another frequent contributor to this list, you'll see that it
doesn't look like any of the demos, but watching the URLs that appear in
the Location: textbox will soon convince you that it is running either
minivend or interchange (Jason's been doing this a long time).
Not too long ago a real client with a real brick-and-mortar business
decided to upgrade his web business. He wanted to run an online store
based on interchange, and he wanted to use Authorize.net as his CC
gateway. Thus was I re-introduced to interchange after a hiatus of
several years.
Everything went reasonably well until I needed to get Authorize.net
working. I asked some questions on this list, and got useful replies,
primarily from you, Mike. And I consider the reply you made to my last
question useful, because it got me to read somewhere else.
But the question was prompted because I had gone to the source,
.../lib/Vend/Payment/AuthorizeNet.pm, to try and find the source of my
difficulty, because that has worked for me before.
Let's talk about this little snippet:
# x_Company => $actual->{company},
# x_Phone => $actaul->{phone_day},
x_Email => $actual->{email},
x_Phone => $actaul->{phone_day},
I noticed that x_Company and x_Phone were commented out, although
x_Phone appears uncommented a couple of lines later. I also noticed the
creative spelling of 'actual'. Correcting that spelling and bouncing
interchange resulted in the field corresponding to x_Phone showing up on
the email I receive from Authorize.net.
Let me interject here that I have another non-interchange site that has
been using Authorize.net successfully for more than a year. It's using
PERL code that I wrote from scratch, so I have some familiarity with the
Anet API.
The second thing I noticed was that uncommenting the x_Company line and
bouncing interchange did _not_ cause the corresponding field to show up
in the email I received from Anet.
Further investigation showed this code snippet in
.../interchange/lib/Vend/Payment.pm:
my @map = qw(
address
address1
address2
amount
b_address
b_address1
b_address2
b_city
b_country
b_fname
b_lname
b_name
b_state
b_zip
check_account
check_accttype
check_checktype
check_dl
check_magstripe
check_number
check_routing
check_transit
city
comment1
comment2
corpcard_type
country
cvv2
email
fname
item_code
item_desc
lname
mv_credit_card_exp_month
mv_credit_card_exp_year
mv_credit_card_number
name
origin_zip
phone_day
phone_night
pin
po_number
salestax
shipping
state
tax_duty
tax_exempt
tender
zip
);
You'll notice that 'company' is not on this list. Adding it to the list
and bouncing interchange caused the corresponding field to show up on
the email I received from Anet.
So I continued my investigation. I decided that the line
x_Address => $actual->{address},
should reference 'b_address' instead of 'address' since that is what
Anet is interested in. For those of you even less informed than I, those
tokens with 'b_' prepended are from the "Billing Address" portion of
the Account Info form and those without are from the Shipping Address
portion. If no separate Billing Address is entered, the obvious is done.
Now I was rockin' and rollin'. Noting that all the tokens for both
Billing Address and Shipping Address were in @map in Payment.pm, I
just went ahead and added a few lines in AuthorizeNet.pm, so that the
relevant snippet is:
x_First_Name => $actual->{b_fname},
x_Last_Name => $actual->{b_lname},
x_Company => $actual->{b_company},
x_Address => $actual->{b_address},
x_City => $actual->{b_city},
x_State => $actual->{b_state},
x_Zip => $actual->{b_zip},
x_Country => $actual->{b_country},
x_Email => $actual->{email},
x_Phone => $actual->{phone_day},
x_Ship_To_First_Name => $actual->{fname},
x_Ship_To_Last_Name => $actual->{lname},
x_Ship_To_Company => $actual->{company},
x_Ship_To_Address => $actual->{address},
x_Ship_To_City => $actual->{city},
x_Ship_To_State => $actual->{state},
x_Ship_To_Zip => $actual->{zip},
x_Ship_To_Country => $actual->{country},
I bounced interchange, entered another order with different billing and
shipping addresses, and Voila!, the email from Anet reflected all my
changes.
Mike, here is where I answer your question:
Having noticed that the 'salestax' and 'shipping' tokens are in @map
in Payment.pm, and having verified that [salestax] and [shipping] are
used in .../pages/ord/checkout.html, I went ahead an added a couple of
lines to AuthorizeNet.pm that I thought would get those values emailed
to me with the same ease I had slain the other dragons. When this didn't
work, I posted the email that has ultimately resulted in this lengthy
response.
Only after reading Mike's response did I go back to checkout.html and
note the difference between, say, [salestax] and [value b_fname].
I made what seemed to me to be a reasonable inference based on the
tokens in @map in Payment.pm and the structure of the Anet query in
AuthorizeNet.pm. It turned out not to be reasonable, and as soon as I
post this I'll start trying to figure out the cleanest way to get what I
want.
I'm reasonably sure that many folks using this list are also
using Authorize.net as a credit card gateway. If they're doing it
successfully, then either they've solved some of the problems I've
alluded to herein, or the missing fields on the Anet emails are not
important to them. If they've solved the problems, then I believe
they're remiss in not posting those solutions to this list. If they
don't care, then, no problem.
But there is no documentation _anywhere_ (save archives of this list)
that I could find that has anything to say about using Authorize.net:
$ grep -ilr authorize interchange-doc-4.8.2/*
$
# grep -ilr authorize /usr/local/interchange/doc/*
#
So we've got to do the best we can by searching list archives and the
source code:
# grep -ilr authorize /usr/local/interchange/lib/
/usr/local/interchange/lib/Vend/Payment/Skipjack.pm
/usr/local/interchange/lib/Vend/Payment/CyberCash.pm
/usr/local/interchange/lib/Vend/Payment/Signio.pm
/usr/local/interchange/lib/Vend/Payment/CCVS.pm
/usr/local/interchange/lib/Vend/Payment/AuthorizeNet.pm
/usr/local/interchange/lib/Vend/Server.pm
/usr/local/interchange/lib/Vend/Parse.pm
/usr/local/interchange/lib/Vend/Util.pm
/usr/local/interchange/lib/Business/UPS.pm
/usr/local/interchange/lib/UI/Primitive.pm
/usr/local/interchange/lib/UI/ichelp.txt
/usr/local/interchange/lib/UI/locales/da_DK.cfg
/usr/local/interchange/lib/UI/locales/de_DE.cfg
/usr/local/interchange/lib/UI/locales/nl_NL.cfg
/usr/local/interchange/lib/UI/locales/sv_SE.cfg
/usr/local/interchange/lib/UI/pages/admin/add_meta_option.html
/usr/local/interchange/lib/UI/pages/admin/customer.html
/usr/local/interchange/lib/UI/pages/admin/customer_select.html
/usr/local/interchange/lib/UI/pages/admin/group.html
/usr/local/interchange/lib/UI/pages/admin/layout.html
/usr/local/interchange/lib/UI/pages/admin/order.html
/usr/local/interchange/lib/UI/pages/admin/order_status.html
/usr/local/interchange/lib/UI/pages/admin/reconfig.html
/usr/local/interchange/lib/UI/pages/admin/regen.html
/usr/local/interchange/lib/UI/pages/admin/report.html
/usr/local/interchange/lib/UI/pages/admin/report_results.html
/usr/local/interchange/lib/UI/pages/admin/search_wizard_results.html
/usr/local/interchange/lib/UI/pages/admin/special/key_violation.html
/usr/local/interchange/lib/UI/pages/admin/spread.html
/usr/local/interchange/lib/UI/pages/admin/tablereport.html
/usr/local/interchange/lib/UI/pages/admin/upload_file.html
/usr/local/interchange/lib/UI/pages/admin/wizard/step_pay.html
/usr/local/interchange/lib/UI/pages/admin/wizard/step_pay_auth.html
/usr/local/interchange/lib/UI/pages/admin/wizard/step_pay_itransact.html
/usr/local/interchange/lib/UI/pages/admin/wizard/step_pay_skipjack.html
/usr/local/interchange/lib/UI/profiles/db_maintenance
#
If you've gotten this far, thanks for reading.
Cheers,
Pann
--
geek by nature, Linux by choice L I N U X .~.
The Choice /V\
http://www.ourmanpann.com/linux/ of a GNU /( )\
Generation ^^-^^
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 2 15:24:00 2001
Subject: [ic] AuthorizeNet.pm missing fields
Quoting Pann McCuaig (pann@ourmanpann.com):
> If you've gotten this far, thanks for reading.
Seems reasonable to me -- I imagine the map stuff was put there in case
it ever was needed (I didn't do everything on the new Payment stuff).
Seeing as you mentioned the source, you might try:
perldoc lib/Vend/Payment/AuthorizeNet.pm
I thought that what is provided there is a reaaonable set of
documentation, but if it is wrong or lacking in some way we
would dearly appreciate patches.
I think that we should build that into the doc/ directory as
Vend::Payment::Authorizenet.3, and I will submit a bug report suggesting
that. MakeMaker used to build that type of thing, but I think we
overrode the POD stuff in MakeMaker and prevented auto-building of pods
for modules.
The more bug reports we get, the more todo items we have for the
next release. 8-)
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
From: interchange-users at interchange.redhat.com (Zack Johnson)
Date: Tue Oct 2 15:29:00 2001
Subject: [ic] ui_display_only option in [table-editor]
Good point. I was really looking for the 'widget.foo=label' trick. Thanks!
----- Original Message -----
From: <mheins@redhat.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 02, 2001 12:16 PM
Subject: Re: [ic] ui_display_only option in [table-editor]
> Quoting Zack Johnson (zack@office.standardprinting.net):
> > I'm guessing that the ui_display_only option in [table-editor] sets
> > specified fields as "read only." This would be great for setting aside
the
> > primary key for the table so that users couldn't add arbitrary records
to
> > the db. I've tried:
> >
> > [table-editor
> > href=process
> > mv_nextpage=@@MV_PAGE@@
> >
> > table=foo
> > key="value"
> > ui_data_fields="bar1 bar2 bar3..."
> >
> > ui_display_only="bar1"
> >
> > ]
> >
> > However, because bar1 shows up in the table-editor, the user can type
> > 'value2' for the key value. This then creates a new record. I would
have
> > expected [table-editor] to ignore any value in bar1. Is there something
I'm
> > missing?
>
> That is what ui_hide_key is supposed to be for. The key can't be done
> with ui_display_only, because it is required to be passed to set the
> record.
>
> You can also set:
>
> widget.bar1=value
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> I am a great believer in luck, and I find that the harder I work
> the more luck I have. -- Thomas Jefferson
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Scott Kennedy)
Date: Tue Oct 2 15:39:00 2001
Subject: [ic] Modular options questions
I've searched the list archive trying to determine if modular options
work or not. It isn't clear to me if this feature is usable. Also,
are matrix options usable? What precisely is the difference between
modular and matrix options? I'm kind of confused regarding the
differences. It would be nice if the documentation showed actual
examples of what it looks like to setup modular/matrix options in the
options database and how to implement this in a store (code and all
that). The docs for IC are pretty good for the most part in my
opinion, however, it seems like in some cases they should more fully
elaborate on things such as this where confusion can happen.
Basically, what I'm trying to do is to create a set of product
attributes that can be applied to multiple products. Setting of some
of these options would cause the product price to increase. I was
doing what I wanted using Interchange 4.6 but when I recently upgraded
to 4.8 everything got messed up. I wasn't using the options database
to accomplish this. Instead, I was the products database, pricing
database, and UseModifier setting in catalog.cfg to make the price
adjustments. In the flypage and on the basket page I am using the item
accessories tag to display/set product attributes as follows,
[item-accessories installation]
Here is a sample entry of what I have in the price field in the
products database,
292.00, ==installation:pricing, ==color_frames:pricing,
==low_e_glass_with_argon:pricing, ==grids:pricing,
==foam_filled_frames:pricing, ==double_strength_glass:pricing
The URL for the store is,
http://neatway.com/cgi-bin/neatway/index.html
Here is the line for UseModifier in catalog.cfg,
UseModifier installation, woodgrain, color_frames, v_groove_glass,
low_e_glass_with_argon, grids, foam_filled_frames,
double_strength_glass, double_hung
When I attempt to set one of these product attributes, the price isn't
affected at all. For a while there this wasn't a problem. The first
problem I had was that the Perl code I wrote in the order receipt files
failed to show what attributes were selected. I don't know what I did
to cause this to not function at all. Anyway, I was unable to correct
either one of these problems so I decided to use the options database
instead. Right now I am testing this out with a sample storefront that
I've setup. I've accomplished what I've wanted with simple options,
however, I'd like to use modular options for this task as I feel that
method would be a more appropriate choice. Any help or pointers
someone could give me would be greatly appreciated.
Thanks in advance,
Scott
=====
*********************************************************************
/ Custom Web Promotions /
Economical web hosting & online storefronts featuring
Red Hat Linux 7.1 & Red Hat Interchange 4.8.2
http://custom-web-promotions.com / 888-287-8932 / sales@custweb.com
*********************************************************************
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Tue Oct 2 16:15:01 2001
Subject: [ic] Modular options questions
modular options are supposed to be working, but not "out of the box",
eg. the code is there, but there is no working example and the
documentation points to non existent data or components.
I have asked this same question a couple of times with pretty much
no results.
Last time I asked I was told that if I wanted that feature to work
I had to pay for support or get a consultor from RH.
:(
On Tue, 2001-10-02 at 14:38, Scott Kennedy wrote:
> I've searched the list archive trying to determine if modular options
> work or not. It isn't clear to me if this feature is usable. Also,
> are matrix options usable? What precisely is the difference between
> modular and matrix options? I'm kind of confused regarding the
> differences. It would be nice if the documentation showed actual
> examples of what it looks like to setup modular/matrix options in the
> options database and how to implement this in a store (code and all
> that). The docs for IC are pretty good for the most part in my
> opinion, however, it seems like in some cases they should more fully
> elaborate on things such as this where confusion can happen.
>
> Basically, what I'm trying to do is to create a set of product
> attributes that can be applied to multiple products. Setting of some
> of these options would cause the product price to increase. I was
> doing what I wanted using Interchange 4.6 but when I recently upgraded
> to 4.8 everything got messed up. I wasn't using the options database
> to accomplish this. Instead, I was the products database, pricing
> database, and UseModifier setting in catalog.cfg to make the price
> adjustments. In the flypage and on the basket page I am using the item
> accessories tag to display/set product attributes as follows,
>
> [item-accessories installation]
>
> Here is a sample entry of what I have in the price field in the
> products database,
>
> 292.00, ==installation:pricing, ==color_frames:pricing,
> ==low_e_glass_with_argon:pricing, ==grids:pricing,
> ==foam_filled_frames:pricing, ==double_strength_glass:pricing
>
> The URL for the store is,
>
> http://neatway.com/cgi-bin/neatway/index.html
>
> Here is the line for UseModifier in catalog.cfg,
>
> UseModifier installation, woodgrain, color_frames, v_groove_glass,
> low_e_glass_with_argon, grids, foam_filled_frames,
> double_strength_glass, double_hung
>
> When I attempt to set one of these product attributes, the price isn't
> affected at all. For a while there this wasn't a problem. The first
> problem I had was that the Perl code I wrote in the order receipt files
> failed to show what attributes were selected. I don't know what I did
> to cause this to not function at all. Anyway, I was unable to correct
> either one of these problems so I decided to use the options database
> instead. Right now I am testing this out with a sample storefront that
> I've setup. I've accomplished what I've wanted with simple options,
> however, I'd like to use modular options for this task as I feel that
> method would be a more appropriate choice. Any help or pointers
> someone could give me would be greatly appreciated.
>
> Thanks in advance,
> Scott
>
>
> =====
> *********************************************************************
> / Custom Web Promotions /
> Economical web hosting & online storefronts featuring
> Red Hat Linux 7.1 & Red Hat Interchange 4.8.2
> http://custom-web-promotions.com / 888-287-8932 / sales@custweb.com
> *********************************************************************
>
> __________________________________________________
> Do You Yahoo!?
> Listen to your Yahoo! Mail messages from any phone.
> http://phone.yahoo.com
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Tue Oct 2 16:19:01 2001
Subject: [ic] Stock-Alert Function
> On Mon, 1 Oct 2001, joachim.richter wrote:
>
> j>>when and how does interchange send the email to the
> costumer who does the stock-alert thing ?
> j>>
> j>>Put name/email in the stock alert page of article which is
> not in stock.
> j>>Then I changed the inventory form 0 to 100, but do not
> receive the requested mail.
> j>>I do receive the mail though, telling me "This a
> confirmation of your request submission. bla bla bla"
> j>>stating my details and the article. i am using interchange 4.8
>
> I suspect that this is one of those 'features' that has been
> left for the
> user to add stuff in to make it work. Kind of like the 'mailing list'
> questions/options.
>
> In IC 4.6, you can set your inventory at 10, but a customer
> can still order
> 50. The inventory-related functions seem to just dangle
> there. I have set
> all of my quantities to 100000, unless I have temporarily run out of
> something - which is rare.
>
> I'm doing all of my inventory stuff with my Point Of Sale software.
>
> -= Jim =-
Jim is right, AFAIK. I have attached an old e-mail I saved from Bill Randle
that implemented In-Stock notifications using some cron glue. HTH,
-Dan Browning
From: "Bill Randle" <billr@exgate.tek.com>
To: <interchange-users@lists.akopia.com>
Subject: Re: [ic] In Stock Notification
Date: Thursday, January 04, 2001 10:33 AM
Doug, et. al.,
I finally got time to follow up on my previous cron suggestion with
some more details.
This method has three pieces, although the second and third could be
combined into a single page.
(1) a crontab entry for the 'interchange' user that runs periodically
(pick your time interval). For example, to run once a day at 4pm:
16 * * * * /usr/bin/GET \
http://mysite.com/cgi-bin/myshop/cron/pending >> \
/tmp/pending_log
(2) create a file "pending.html" and put in an accessable location
(in this case, a "cron" directory underneath the "pages" dir).
This file is just a wrapper for including the file that does the
"real" work. If you want multiple checks or updates to happen,
you can add additional [include] tags for them. For example:
>>>> pending.html <<<<
[include cron/check_pending]
(3) create the "check_pending" script, which lives in a different "cron"
directory, this one at the same level as the "pages" dir. I.e.:
interchange
|
-----|--------- ...
| |
cron pages
|
------------ ...
| |
cron special
You can use pretty much any directory structure you want - this just
happens to be what I have.
In "check_pending" you might have something like this:
[tag export inventory][/tag]
[tag export pending][/tag]
[mvasp tables="inventory pending"]
<%
no strict;
$Document->hot(1);
$CGI::cookie = 'CRON';
$Scratch->{mv_no_session_id} = $Scratch->{mv_no_count} = 1;
HTML("\nEntering pending/inventory update");
# open 'pending' db and grab entries for users that haven't been
# notified their requested item is now in stock
my $dbh = $Sql{pending};
my $sth = $dbh->prepare(q{ SELECT * FROM pending WHERE notified = '0'})
or return error_message("can't open pending database");
my $rc = $sth->execute()
or return HTML("\ncan't open pending database");
my $hash;
while($hash = $sth->fetchrow_hashref()) {
# $hash has all column values:
# code username email initial_date notify_date skus
notified
# "skus" is an array of out of stock items
# foreach sku, check the current inventory quantity and if > 0,
# send the user email (email address could from the 'pending'
db,
# or be looked up in the 'userdb', given the username).
# if any notification emails were sent for this user then:
# (1) update the "notified" and "notify_date" fields of
# the 'pending' db.
# (2) if this user still has outstanding requests, then
# (a) either update the "skus" field of the existing
# record, deleting the items that are now in stock, or
# (b) close the existing record and create a new record
# with those item numbers still out of stock
}
%>
[/mvasp]
Flushing out the "check_pending" script is left as an exercise to the
implementor. :-)
Finally, get and install 'GET', if you don't already have it. 'GET' is part
of the Perl LWP library.
As a final note, I'm sure there are other variations or implementations
possible. This is just an outline to get you going. Also note that this
is being used with minivend 4.04. It should be completely portable to
Interchange, but won't work with minivend 3.x without some changes.
-Bill
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Lewey Taylor)
Date: Tue Oct 2 16:22:01 2001
Subject: [ic] Now where has that fabled FAQ gone then?
Quoting Andrew:
> Well...It looks like I'm the latest newbie going through
the act of
> getting Interchange to play nice with SSL under a
different domain...
I fought this for awhile and got it to work only 80% of the
time. I decided to just spend the $120 for the cert from
Thawte. It just was not worth all the time.
Hope this helps
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 2 17:39:01 2001
Subject: [ic] AuthorizeNet.pm missing fields
On Tue, 2 Oct 2001, Pann McCuaig wrote:
PM>>We who try to use this (very nice) package have to pick and choose what
PM>>we read.
I read the whole thing. For brevity, I've deleted most of it.
It's an excellent piece of work. One that will certainly guide a lot of
people during their quest to get on-line credit card processing done.
You've gone up several notches on my credability scale :-)
PM>>If you look at the store operated by Jim Balcom, a frequent contributor
PM>>to this list, you'll see an extensive store with lotsa features, but it
PM>>jumps right out at you that it's based on the construct demo.
I needed to change away from commerce.cgi. I had modified it about as much
as I could go without knowing Perl, and I needed zone-based shipment. I went
through a lot of money buying defective software.
In a previous life I was a computer programmer. In that life I would have
whaled away on software, and quite probably would have written my own
store. However, I backed into a business that is going great guns. I never
dreamed that selling diapers for adults would make money. But, it is! I need
to pay attention to my business! I don't have time to program computers
anymore.
My intent was to simply open a box, put the software on-line, add my
inventory and take orders. But, that's impossible unless I were to spend
multi-thousands of dollars on software. Or, to install Interchange.
In early 2001 I ran into an attitude on this list (or, so it seemed to me)
that those of us that were simply remodeling an existing store were to be
looked down on, and perhaps exorcised. "Real men build their own store from
scratch." That attitude on this list has changed. I haven't seen it in quite
some time. Now, there is a lot of discussion about modifying construct and
foundation and people are sharing their knowledge. In my mind the atmosphere
here now is lot different than it was last winter. Which I appreciate.
This list has been a valuable resource to me. I've grabbed a LOT of things
from this list that I have added to the store. The fact that it's obviously
a construct package doesn't bother me. I've not had time to make a drastic
change, although I continually make subtle ones.
I place a higher priority on ordering inventory, writing up sales, packing
and shipping. When I get a few minutes, I play with the store software.
But a year ago I learned that is dangerous. I was using frames and some nice
animations that I stole from Six Flags web page. I thought that it was pretty
fancy. I was told that people don't like frames. In September I ditched that
software and changed to using tables. Sales went up dramatically. My present
configuration is working and it's making me money. I'm reluctant to change
it very much. Besides, my customers don't know 'construct' from 'destruct'
:-)
So: for those of you reading this drivel, this far:
www.thediapersuperstore.com is living proof that you can rip open the box on
Interchange 4.6.2, install it, plug it in, and add your inventory and your
'store-in-a-box' is ready to go.
OTOH, it took me 6 months of hair pulling to make that paragraph happen.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 02, 2001 at 17:15 PM:
A few cans short of a six pack, Six short.
----------------------------------------------------------------
This Linux System has been up 191 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 2 17:43:01 2001
Subject: [ic] Edit bug with checkout.html
This is a multi-part message in MIME format.
----------1002058841
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
I found an error with UI page editor,
if you save /order/checkout.html file with the Page editor , even without
any change, it not longer works, and if you try to edit again returns this
error:
Template read error reading ''.
template: ; t_file=templates/
I see the same error with demo store in interchage web site.
best regards
Salvador Caballe
----------1002058841--
From: interchange-users at interchange.redhat.com (interch)
Date: Tue Oct 2 18:10:01 2001
Subject: [ic] Edit bug with checkout.html
Just a bit of additional info on this as I ran into it also. What is
happening is that the page editor is changing into a hex
value. This was IC 4.8.1 and freebsd.
Chris
On Tue, 2 Oct 2001 scm@apdo.com wrote:
> I found an error with UI page editor,
> if you save /order/checkout.html file with the Page editor , even without
> any change, it not longer works, and if you try to edit again returns this
> error:
>
> Template read error reading ''.
> template: ; t_file=templates/
>
> I see the same error with demo store in interchage web site.
>
> best regards
> Salvador Caballe
From: interchange-users at interchange.redhat.com (Matthew T. Snyder)
Date: Tue Oct 2 18:30:00 2001
Subject: [ic] Edit bug with checkout.html
> -----Original Message-----
> From: scm@apdo.com
> Sent: Tuesday, October 02, 2001 5:41 PM
> To: interchange-users@interchange.redhat.com
> Subject: [ic] Edit bug with checkout.html
>
>
> I found an error with UI page editor,
> if you save /order/checkout.html file with the Page editor , even without
> any change, it not longer works, and if you try to edit again returns this
> error:
>
> Template read error reading ''.
> template: ; t_file=templates/
>
> I see the same error with demo store in interchage web site.
>
> best regards
> Salvador Caballe
I noticed this two nights ago. The problem is that it saves checkout.html
with a template of 'fullwidth' for some reason, and that template does not
exist. A quick fix is simply to copy CATROOT/templates/noleft to
CATROOT/templates/fullwidth Other than this, I'm not certain what could be
done to change the saved template.
From: interchange-users at interchange.redhat.com (Matthew T. Snyder)
Date: Tue Oct 2 19:11:00 2001
Subject: [ic] Edit bug with checkout.html
> -----Original Message-----
> From: scm@apdo.com
> Sent: Tuesday, October 02, 2001 5:41 PM
> To: interchange-users@interchange.redhat.com
> Subject: [ic] Edit bug with checkout.html
>
>
> I found an error with UI page editor,
> if you save /order/checkout.html file with the Page editor ,
> even without
> any change, it not longer works, and if you try to edit again
> returns this
> error:
>
> Template read error reading ''.
> template: ; t_file=templates/
>
> I see the same error with demo store in interchage web site.
>
> best regards
> Salvador Caballe
> I noticed this two nights ago. The problem is that it saves checkout.html
> with a template of 'fullwidth' for some reason, and that template does not
> exist. A quick fix is simply to copy CATROOT/templates/noleft to
> CATROOT/templates/fullwidth Other than this, I'm not certain
> what could be
> done to change the saved template.
>
Some more info on this...
The actual, unmodified page shows (in a text editor) that the template is
noleft. However, after having modified it with the UI, the template shown
in the [comment] at the beginning of the file is fullwidth. Copying the
noleft template does work, and doesn't appear to change the functionality of
the page, but you could just as (more??) easily modify the file directly to
point to the correct template. Anyone have any ideas why this template
change on save?
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 2 22:12:01 2001
Subject: [ic] Modular options questions
Quoting Scott Kennedy (custom_web@yahoo.com):
> I've searched the list archive trying to determine if modular options
> work or not. It isn't clear to me if this feature is usable. Also,
> are matrix options usable? What precisely is the difference between
> modular and matrix options? I'm kind of confused regarding the
> differences. It would be nice if the documentation showed actual
> examples of what it looks like to setup modular/matrix options in the
> options database and how to implement this in a store (code and all
> that). The docs for IC are pretty good for the most part in my
> opinion, however, it seems like in some cases they should more fully
> elaborate on things such as this where confusion can happen.
>
> Basically, what I'm trying to do is to create a set of product
> attributes that can be applied to multiple products. Setting of some
> of these options would cause the product price to increase. I was
> doing what I wanted using Interchange 4.6 but when I recently upgraded
> to 4.8 everything got messed up. I wasn't using the options database
> to accomplish this. Instead, I was the products database, pricing
> database, and UseModifier setting in catalog.cfg to make the price
> adjustments. In the flypage and on the basket page I am using the item
> accessories tag to display/set product attributes as follows,
>
> [item-accessories installation]
>
> Here is a sample entry of what I have in the price field in the
> products database,
>
> 292.00, ==installation:pricing, ==color_frames:pricing,
> ==low_e_glass_with_argon:pricing, ==grids:pricing,
> ==foam_filled_frames:pricing, ==double_strength_glass:pricing
>
This is all unnecessary. Create those options with the option editor for
one product, using the "simple" options. Once that is done, a single CommonAdjust
with ==:options does the setting.
You can then then duplicate them with the "clone options" setting.
It should be simple. I will go through the procedure during the
new weekly IRC meeting if someone asks at that time....
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
"Even if you're on the right track, you'll get run over if you just
sit there." -- Will Rogers
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 2 22:17:01 2001
Subject: [ic] Edit bug with checkout.html
Quoting Matthew T. Snyder (snydermt@ariontech.com):
> > -----Original Message-----
> > From: scm@apdo.com
> > Sent: Tuesday, October 02, 2001 5:41 PM
> > To: interchange-users@interchange.redhat.com
> > Subject: [ic] Edit bug with checkout.html
> >
> >
> > I found an error with UI page editor,
> > if you save /order/checkout.html file with the Page editor ,
> > even without
> > any change, it not longer works, and if you try to edit again
> > returns this
> > error:
> >
> > Template read error reading ''.
> > template: ; t_file=templates/
> >
> > I see the same error with demo store in interchage web site.
> >
> > best regards
> > Salvador Caballe
>
> > I noticed this two nights ago. The problem is that it saves checkout.html
> > with a template of 'fullwidth' for some reason, and that template does not
> > exist. A quick fix is simply to copy CATROOT/templates/noleft to
> > CATROOT/templates/fullwidth Other than this, I'm not certain
> > what could be
> > done to change the saved template.
> >
>
> Some more info on this...
>
> The actual, unmodified page shows (in a text editor) that the template is
> noleft. However, after having modified it with the UI, the template shown
> in the [comment] at the beginning of the file is fullwidth. Copying the
> noleft template does work, and doesn't appear to change the functionality of
> the page, but you could just as (more??) easily modify the file directly to
> point to the correct template. Anyone have any ideas why this template
> change on save?
>
Just a bug. The noleft template (templates/noleft) should have
"ui_template_name: noleft" instead of fullwidth. I thought I had fixed
that at one point, but apparently not.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: interchange-users at interchange.redhat.com (Kellen Weissenbach)
Date: Tue Oct 2 22:53:00 2001
Subject: [ic] Segmentation fault (core dumped)
When trying to start up interchange I get the following error:
Segmentation fault (core dumped)
Any clue as to why this would happen?
Thanks,
Kellen Weissenbach
From: interchange-users at interchange.redhat.com (Kellen Weissenbach, GrowSearch Admin)
Date: Tue Oct 2 22:56:00 2001
Subject: [ic] Segmentation fault (core dumped)
When trying to start up interchange I get the following error:
Segmentation fault (core dumped)
Any clue as to why this would happen?
Thanks,
Kellen Weissenbach
From: interchange-users at interchange.redhat.com (Matthew T. Snyder)
Date: Tue Oct 2 23:10:00 2001
Subject: [ic] Edit bug with checkout.html
> -----Original Message-----
<snip>
> Just a bug. The noleft template (templates/noleft) should have
> "ui_template_name: noleft" instead of fullwidth. I thought I had fixed
> that at one point, but apparently not.
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> Friends don't let friends use Outlook. -- Bob Blaylock
Duh. I didn't even think of looking in the template itself. Maybe one of
these days my brain will kickstart itself (and maybe pigs will grow wings
too!). Live and learn, I guess. Thanks Mike.
Matt
From: interchange-users at interchange.redhat.com (Pablo Costa)
Date: Wed Oct 3 01:56:01 2001
Subject: [ic] 4.8.2 core dump
On Sun, 30 Sep 2001, Sameh Ghane wrote:
> Le (On) Thu, Sep 27, 2001 at 09:20:34AM -0400, mheins@redhat.com ecrivit (wrote):
> >
> > I think I know what this means -- the DB_File module is core dumping. I bet
> > you could go back to low traffic mode if you removed:
> >
> > Pragma dynamic_variables
> >
> > from templates/foundation/theme.cfg.
>
> Doesn't work.
>
> GDB indicates that perl cores dump at #0 0x2816a175 in setproctitle () from
> /usr/lib/libc.so.4
>
> Fine. The only place where perl uses setproctitle is in mg.c. I recompiled perl,
> #undef'ining HAS_SETPROCTITLE, and now interchanges runs fine.
>
> perl is still version 5.005_03 built for i386-freebsd.
>
> If someone with more perl/interchange knowledge is interested in finding what
> calls setproctitle with bogus arguments, go for it ;)
>
> > I think I am
> > going to have to put some hints in for BSD again, sigh....
>
> BSD-developped software have the same problem towards linux...
On some systems it's possible to affect what's displayed by ps by simply
assigning to $0 - on others the kernel has a private copy of the program
name so that you can't do this simply. E.g.
$ perl -e '$0 = "hi Mike"; sleep 60' &
[1] 4133
$ ps 4133
PID TTY S TIME COMMAND
4133 ttyp8 I N 0:00.03 hi Mike
Interchange try this on line 2813
of /usr/local/interchange/bin/interchange
2813 # $0 = 'interchange';
A real problem is that it is essentially non-portable.
Most UNIXen allow to do strcopy(argv, "my new name"), but some
do not. Some (esp. BSD-derived) has setproctitle("new string")
call in libc (almost always this function is not prototyped in headers).
I commented this string in line 2812 to 2814 in
/usr/local/interchange/bin/interchange
and all works again :-))
2807 if(defined $Global::Variable->{MV_DOLLAR_ZERO}) {
2808 $0 = $Global::Variable->{MV_DOLLAR_ZERO};
2809 $0 = "interchange --> $Global::VendRoot"
2810 if length($0) < 2;
2811 }
2812 # else {
2813 # $0 = 'interchange';
2814 # }
Bye
--
Pablo Martins F. Costa
Casablanca Service Provider
Av. República do Líbano, 390
Sao Paulo - SP - Brasil
04502-000
tel.: (011) 3889-2717
e-mail: pablo@cbsp.com.br
site: www.cbsp.com.br
From: interchange-users at interchange.redhat.com (Tommi Labermo)
Date: Wed Oct 3 02:40:00 2001
Subject: [ic] Checkout page not working in IC 4.8.x
>My guess is that you have the default UPS shipping modes that
>access the internet, and you have no internet connection.
>Try changing the shipmode to FLATD for your default country (usually US)
>and go again
I tried that and ended up with the same results as before. And I do have a internet connection.
However when I deleted all the UPS and FedEX methods (I do not need these shipping methods) it worked! But now I can't select a shipping method on the checkout page, the drop down menu is blank. :-(
Is there a nice way to fix this this so that only my selected shipping methods shows up in the "Select shipping method" on the checkout page?
From: interchange-users at interchange.redhat.com (Costa Armin (Student Econ99))
Date: Wed Oct 3 03:57:01 2001
Subject: [ic] 4.8.2 core dump
Hi pablo,
Just a curious question as my Lastname is Costa, too.:
Where are you from?
Bye Rusty
-----Original Message-----
From: Pablo Costa [mailto:pablo@cbsp.com.br]
Sent: Wednesday, 03 October, 2001 7:56 AM
To: interchange-users@interchange.redhat.com
Cc: staff@3light.com.br
Subject: Re: [ic] 4.8.2 core dump
On Sun, 30 Sep 2001, Sameh Ghane wrote:
> Le (On) Thu, Sep 27, 2001 at 09:20:34AM -0400, mheins@redhat.com
> ecrivit (wrote):
> >
> > I think I know what this means -- the DB_File module is core
> > dumping. I bet you could go back to low traffic mode if you removed:
> >
> > Pragma dynamic_variables
> >
> > from templates/foundation/theme.cfg.
>
> Doesn't work.
>
> GDB indicates that perl cores dump at #0 0x2816a175 in setproctitle
> () from /usr/lib/libc.so.4
>
> Fine. The only place where perl uses setproctitle is in mg.c. I
> recompiled perl, #undef'ining HAS_SETPROCTITLE, and now interchanges
> runs fine.
>
> perl is still version 5.005_03 built for i386-freebsd.
>
> If someone with more perl/interchange knowledge is interested in
> finding what calls setproctitle with bogus arguments, go for it ;)
>
> > I think I am
> > going to have to put some hints in for BSD again, sigh....
>
> BSD-developped software have the same problem towards linux...
On some systems it's possible to affect what's displayed by ps by simply
assigning to $0 - on others the kernel has a private copy of the program
name so that you can't do this simply. E.g.
$ perl -e '$0 = "hi Mike"; sleep 60' &
[1] 4133
$ ps 4133
PID TTY S TIME COMMAND
4133 ttyp8 I N 0:00.03 hi Mike
Interchange try this on line 2813
of /usr/local/interchange/bin/interchange
2813 # $0 = 'interchange';
A real problem is that it is essentially non-portable.
Most UNIXen allow to do strcopy(argv, "my new name"), but some do not.
Some (esp. BSD-derived) has setproctitle("new string") call in libc (almost
always this function is not prototyped in headers).
I commented this string in line 2812 to 2814 in
/usr/local/interchange/bin/interchange
and all works again :-))
2807 if(defined $Global::Variable->{MV_DOLLAR_ZERO}) {
2808 $0 = $Global::Variable->{MV_DOLLAR_ZERO};
2809 $0 = "interchange --> $Global::VendRoot"
2810 if length($0) < 2;
2811 }
2812 # else {
2813 # $0 = 'interchange';
2814 # }
Bye
--
Pablo Martins F. Costa
Casablanca Service Provider
Av. República do Líbano, 390
Sao Paulo - SP - Brasil
04502-000
tel.: (011) 3889-2717
e-mail: pablo@cbsp.com.br
site: www.cbsp.com.br
_______________________________________________
interchange-users mailing list interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Sameh Ghane)
Date: Wed Oct 3 04:04:04 2001
Subject: [ic] Segmentation fault (core dumped)
Le (On) Tue, Oct 02, 2001 at 10:13:09PM -0000, Kellen Weissenbach, GrowSearch Admin ecrivit (wrote):
> When trying to start up interchange I get the following error:
>
> Segmentation fault (core dumped)
>
> Any clue as to why this would happen?
Check out Pablo Costa's email with Message-ID:
<Pine.LNX.4.30.0110030056490.14092-100000@magneto.casablanca.intranet>.
--
Sameh
From: interchange-users at interchange.redhat.com (Birgitt Funk)
Date: Wed Oct 3 07:06:00 2001
Subject: [ic] IRC weekly meetings
Mike Heins wrote:
>It should be simple. I will go through the procedure during the
>new weekly IRC meeting if someone asks at that time....
Did you agree on Thursdays 1 pm ET or did you change the time ?
B.F.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From: interchange-users at interchange.redhat.com (Vaughn Adamson)
Date: Wed Oct 3 11:03:00 2001
Subject: [ic] Admin Interface Login
I have successfully installed 4.8.2 (tar) on Unix (Mac OSX). Everything
works fine except that when I try to log in to the Admin interface I receive
a "Sorry, the page was not found" and "The requested page(unspecified error)
was not found". Is this a permission issue on the admin pages?
Thanks in advance
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Wed Oct 3 11:09:00 2001
Subject: [ic] IRC weekly meetings
On Wed, 3 Oct 2001, Birgitt Funk wrote:
> Mike Heins wrote:
>
> >It should be simple. I will go through the procedure during the
> >new weekly IRC meeting if someone asks at that time....
>
> Did you agree on Thursdays 1 pm ET or did you change the time ?
That's it. In short, we're planning on meeting in IRC for about an hour to
talk about all things Interchange:
date: 2001-10-04, Thursday
time: 1700 UTC/GMT = 1:00 pm U.S. EDT
server: irc.vensnews.com
channel: #interchange
URL (if you don't have an IRC client): http://www.vensnews.com/interchange/
This may turn out to be a weekly event if people find it useful.
Jon
From: interchange-users at interchange.redhat.com (Bruno Cantieni)
Date: Wed Oct 3 11:20:00 2001
Subject: [ic] [error.. tag and e-mail format usernames problem
I'm developing a series of stores on IC 4.6.5
The client requests usernames be in e-mail format.
The only problem with this I have run into so far is that e.g. on the checkout page no errors are
displayed when using e-mail format usernames, while it works fine with regular names.
The message "There were errors in your last submission.
They are shown in RED below." is displayed, so it certainly traps the errors, alas, the [error
std_label="anything".....] tags don't generate the error messages.
Can someone shed light on this?
Can I expect other problems to crop up using e-mail addresses as usernames??
Thanks,
Bruno
###########################################
Bruno Cantieni
Digital Landscape - Cyboretum.com
Web Applications * Web Hosting * e-Commerce
http://www.digi-land.com
http://www.cyboretum.com
bruno@digi-land.com
Phone/Fax: 416-492-9292
From: interchange-users at interchange.redhat.com (Chris Bair)
Date: Wed Oct 3 11:37:00 2001
Subject: [ic] Expire malfunctioning with 4.8.2
Just did clean installation of 4.8.2, when I run expire I get this:
shell2> interchange/bin/expireall
glob failed (child exited with status 1) at
/home/users/t/tssphoto/interchange/l
ib/Vend/Config.pm line 1174, <_GEN_1> chunk 1.
Any ideas why this is happening
--
Chris Bair, Webmaster Inkjet Art Solutions
chrisbair@tssphoto.com The Stock Solution
Phone: 801-363-9700 Fax: 801-363-9707
Order Online! <http://www.tssphoto.com/sp/dg/>
Free consulting line: 801-363-9709
Toll-free for orders: 800-777-2076
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 3 12:07:01 2001
Subject: [ic] ISO: non-traditional IC sites (hall of fame)
At 10:51 AM 09/25/2001 -0400, you wrote:
>Developers!
>
>Every spring, the Toyota corporation has a 3-day fair where all the
>engineers get to show off their pet projects, no matter how zany.
>Winners receive prizes...
>
>In hopes of diversifying the Hall of Fame at interchange.redhat.com, we
>are in search of websites that have taken IC into new, and perhaps
>non-traditional areas: dynamic content management, customer service,
>calendaring, project management, mp3 jukeboxes, whatever.
>
>The current Hall of Fame is very long on ecommerce sites, but we all
>know that IC is capable of so much more. Who is pushing the envelope?
>Where? How? This is your chance to show off! Exceptional sites will
>win their developers a T-shirt or some other Red Hat schwag!
>
>Please submit URLs to me (djenkins@redhat.com) and I will forward them
>to our staff here--
>
>Thanks!
>
>Dave
http://www.visprox.com
A Dutch manufacturer of high-grade screenprinting and pad-transfer printing
inks with distributors world-wide.
Not very exciting, but it runs on IC 4.8.2. (I just completed an upgrade
from Minivend 3.14) and is completely ecommerce-free. The UI has been
customized to match, allowing them to manage much of there site content and
product info.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Webmaster of Infothai)
Date: Wed Oct 3 14:33:01 2001
Subject: [ic] Low memory version
Hi,
It seems that, after running for some period of time with a modest order
rate, the standard 4.6.5 system gradually requires an increasing amount
of memory. Since only a limited amount of memory is available to me, this
causes IC to grind to halt. I am now seeing "out of memory" messages in
the ICDEBUG file and "Internal error" messages to users.
So, I need to create or setup a version of IC that will run in the smallest
amount of memory possible. So far, I have limited the number of products
in each category and turned off UI. What other things can be done?
Are there some periodic cleanup functions that will minimize memory
consumption, such as flushing the transaction database? This seems likely,
since the initial uses of the program/catalog ran without problems of any
kind, but a quick look through the catalog subdirectories does not show
any file that obviously large.
Best regards,
Mike
webmaster@infothai.com
http://www.infothai.com
From: interchange-users at interchange.redhat.com (System Administrator)
Date: Wed Oct 3 14:47:00 2001
Subject: [ic] Low memory version
This is a multi-part message in MIME format.
----------1002134802
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
See the docs on "expire" and "expireall"
"Webmaster of Infothai" <webmaster@infothai.com> wrote ..
> Hi,
>
> It seems that, after running for some period of time with a modest order
> rate, the standard 4.6.5 system gradually requires an increasing amount
> of memory. Since only a limited amount of memory is available to me, this
> causes IC to grind to halt. I am now seeing "out of memory" messages in
> the ICDEBUG file and "Internal error" messages to users.
>
> So, I need to create or setup a version of IC that will run in the smallest
> amount of memory possible. So far, I have limited the number of products
> in each category and turned off UI. What other things can be done?
>
> Are there some periodic cleanup functions that will minimize memory
> consumption, such as flushing the transaction database? This seems likely,
> since the initial uses of the program/catalog ran without problems of any
> kind, but a quick look through the catalog subdirectories does not show
> any file that obviously large.
>
> Best regards,
>
> Mike
>
>
> webmaster@infothai.com
> http://www.infothai.com
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
----------1002134802--
From: interchange-users at interchange.redhat.com (Webmaster of Infothai)
Date: Wed Oct 3 15:35:00 2001
Subject: [ic] Low memory version
Yes, I omitted that. Every day I run "expireall".
Thanks,
Mike
On Wed, 3 Oct 2001 14:46:42 -0400, System Administrator wrote:
>See the docs on "expire" and "expireall"
>
>
>"Webmaster of Infothai" <webmaster@infothai.com> wrote ..
>> Hi,
>>
>> It seems that, after running for some period of time with a modest order
>> rate, the standard 4.6.5 system gradually requires an increasing amount
>> of memory. Since only a limited amount of memory is available to me, this
>> causes IC to grind to halt. I am now seeing "out of memory" messages in
>> the ICDEBUG file and "Internal error" messages to users.
>>
>> So, I need to create or setup a version of IC that will run in the smallest
>> amount of memory possible. So far, I have limited the number of products
>> in each category and turned off UI. What other things can be done?
>>
>> Are there some periodic cleanup functions that will minimize memory
>> consumption, such as flushing the transaction database? This seems likely,
>> since the initial uses of the program/catalog ran without problems of any
>> kind, but a quick look through the catalog subdirectories does not show
>> any file that obviously large.
>>
>> Best regards,
>>
>> Mike
>>
>>
>> webmaster@infothai.com
>> http://www.infothai.com
>>
>>
>> _______________________________________________
>> interchange-users mailing list
>> interchange-users@interchange.redhat.com
>> http://interchange.redhat.com/mailman/listinfo/interchange-users
webmaster@infothai.com
http://www.infothai.com
From: interchange-users at interchange.redhat.com (David Totten)
Date: Wed Oct 3 17:00:01 2001
Subject: [ic] Low memory version
On Wed, 2001-10-03 at 15:34, Webmaster of Infothai wrote:
> Yes, I omitted that. Every day I run "expireall".
>
> Thanks,
Do you also restart the server every night/day?
Dave Totten
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Wed Oct 3 17:46:00 2001
Subject: [ic] Strange error when restarting ic
Hi List,
I get the following error when restarting IC. This question was discussed
before in
http://developer.akopia.com/archive/interchange-users/2001/msg07208.html,
and Racke answered that it is harmless:
"mode" is not defined in %Fcntl::EXPORT_TAGS at interchange/bin/interchange
line 2716
I'm curious that what does this error mean, why this happens and what can be
done to get rid of this error.
I'm running IC 4.8.1 on a virtual domain powered by RH 6.2 and Perl 5.005_03
Regards, René
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 3 17:50:01 2001
Subject: [ic] [error.. tag and e-mail format usernames problem
On Wed, 3 Oct 2001, Bruno Cantieni wrote:
BC>>I'm developing a series of stores on IC 4.6.5
BC>>The client requests usernames be in e-mail format.
BC>>The only problem with this I have run into so far is that e.g. on the checkout page no errors are
BC>>displayed when using e-mail format usernames, while it works fine with regular names.
BC>>The message "There were errors in your last submission.
BC>>They are shown in RED below." is displayed, so it certainly traps the errors, alas, the [error
BC>>std_label="anything".....] tags don't generate the error messages.
BC>>
BC>>Can someone shed light on this?
Joachim Richter sent me a link that other day when he was asking me about
stock alerts.
When I checked it out, the guy (I can't remember his name [you know what
they say about getting old!] but I give him a lot of credibility) was doing
e-mail log ins as a part of his stock alert function.
http://developer2.akopia.com/archive/interchange-users/2001/msg06143.html
BC>>Can I expect other problems to crop up using e-mail addresses as usernames??
I can't see why.
Personally, I have mixed emotions about it. Many of the various sites where
I have accounts use e-mail for log ins. However, I've got at least a half
dozen different e-mail addresses, depending on what I am doing. So, it's
always questionable as to what e-mail address I used when I opened that
account. Most people only have one e-mail address (I think) so it should
work fine.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 03, 2001 at 17:40 PM:
Bad command. Bad, bad command! Sit! Stay! Staaay...
----------------------------------------------------------------
This Linux System has been up 216 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Wed Oct 3 17:52:59 2001
Subject: [ic] Runtime error in error.log
Hi List,
What does this error mean that I found in one of my catalogs error.log file:
/index.cgi/index.html Runtime error: Data was not stored in SessionDBM
Regards, René
From: interchange-users at interchange.redhat.com (Webmaster of Infothai)
Date: Wed Oct 3 17:57:00 2001
Subject: [ic] Low memory version
No. If that is desirable for my needs, I would certainly do it.
On 03 Oct 2001 16:59:15 -0400, David Totten wrote:
>On Wed, 2001-10-03 at 15:34, Webmaster of Infothai wrote:
>> Yes, I omitted that. Every day I run "expireall".
>>
>> Thanks,
>
>Do you also restart the server every night/day?
>
>Dave Totten
>
>--
>___________________________________________________________________
>GnuPG uid: 0x887B864C
>Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
>For more information about GnuPG, visit http://www.gnupg.org
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
webmaster@infothai.com
http://www.infothai.com
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 3 18:00:00 2001
Subject: [ic] Low memory version
On Wed, 3 Oct 2001, Webmaster of Infothai wrote:
What follows is totally untrusted information and can very easily be quite
wrong!
I am assuming that you are running on Linux, or a similar Unix OS.
WoI>>It seems that, after running for some period of time with a modest order
WoI>>rate, the standard 4.6.5 system gradually requires an increasing amount
WoI>>of memory. Since only a limited amount of memory is available to me, this
WoI>>causes IC to grind to halt. I am now seeing "out of memory" messages in
WoI>>the ICDEBUG file and "Internal error" messages to users.
WoI>>
WoI>>So, I need to create or setup a version of IC that will run in the smallest
WoI>>amount of memory possible. So far, I have limited the number of products
WoI>>in each category and turned off UI. What other things can be done?
WoI>>
WoI>>Are there some periodic cleanup functions that will minimize memory
WoI>>consumption, such as flushing the transaction database? This seems likely,
WoI>>since the initial uses of the program/catalog ran without problems of any
WoI>>kind, but a quick look through the catalog subdirectories does not show
WoI>>any file that obviously large.
Those are files that are stored on the hard drive and don't have anything to
do with memory. However, if your system has quotas enabled, you may be
running out of disk space, which is not the same as running out of memory.
In fact, it's very difficult to run out of memory in Linux because when the
memory gets full, it swaps it out to the swap space on the hard drive.
However, if the computer does not have any swap space, or the swap space is
too small, then you are going to get significant problems.
The smaller amount of actual RAM, the bigger the swap space you need.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 03, 2001 at 17:50 PM:
It took my cat a month to fully train me.
----------------------------------------------------------------
This Linux System has been up 216 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Wed Oct 3 18:03:00 2001
Subject: [ic] invalid cookie path
Hello Everybody,
I just checked my site with lynx and it gave me this warning when the first
Cookie arrived:
Accept invalid cookie path=/index.cgi as a prefix of '/'? (n)
Shouldn't the Cookies contain just the path, and not the script name?
Regards,
René
From: interchange-users at interchange.redhat.com (David Totten)
Date: Wed Oct 3 18:06:00 2001
Subject: [ic] Low memory version
On Wed, 2001-10-03 at 17:56, Webmaster of Infothai wrote:
> No. If that is desirable for my needs, I would certainly do it.
>
I'd say that it certaintly wouldn't hurt. Perhaps you don't need to do
it ever night, but every couple of days or so is a good idea.
> On 03 Oct 2001 16:59:15 -0400, David Totten wrote:
>
> >On Wed, 2001-10-03 at 15:34, Webmaster of Infothai wrote:
> >> Yes, I omitted that. Every day I run "expireall".
> >>
> >> Thanks,
> >
> >Do you also restart the server every night/day?
> >
> >Dave Totten
> >
> >--
> >___________________________________________________________________
> >GnuPG uid: 0x887B864C
> >Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
> >For more information about GnuPG, visit http://www.gnupg.org
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@interchange.redhat.com
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
>
>
> webmaster@infothai.com
> http://www.infothai.com
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (Eric Paul)
Date: Wed Oct 3 18:43:01 2001
Subject: [ic] Low memory version
If you are running on a BSD system, check the archives. I remember seeing
something on the list a while ago about there being a memory leak which
only showed up on certain BSD flavors. Searching for BSD and memory should
probably show you what you need.
Eric
---
Eric Paul
SpellBook Systems
http://www.spellbook.net
From: interchange-users at interchange.redhat.com (Andrew McBeath)
Date: Wed Oct 3 19:27:00 2001
Subject: [ic] DIrty dirty hack... can i get some feedback?
Ok, I know this is far from the greatest idea I've ever had, but I
wouldnt mind your guys thoughts on this:
I'm just the latest in a long line of people to run into the old SSL,
different domains, and disappearing carts problem.
Yes, I am aware (and leaning towards) other solutions which remove the
session change rather than dealing with it, but I'm just thinking about
the problem and it's cause. You are always going to get the session
switch when jumping to the secure server (by design/definition of what a
session is) yeah? But...the session data, particular the cart contents,
_is_ stored by interchange temporarily.
First Question: Am I right in thinking that Interchange has the
capability to load this session data if fed the right session ID? The
non-SSL session ID is already being passed...whats to stop you looking
up that data? Having looked at the internals, Interchange uses the
current session ID regardless of what ID you passed it. Is this by
design? And was this changed? Because from what I've seen in the mail
archives it makes sense (considering the IpHead, IpQuad, and related
directives, and their usage) that you used to be able to pass a session
ID in the string and, depending on the config directives used,
Interchange would allow you to load that session's data. Is that right?
or am I way off the mark?
I tried a quick experiment in that I started a session, put an item in
my cart, went to the checkout, and verified there was no items in my
cart. I then opened the session file for each of the sessions I just
started (non-SSL and SSL), copied the 'main'=>[ ... ] block (in the
carts section) from the non-SSL to the SSL session file. Take a guess
at what happened when I hit refresh in my browser...
So... the ability to transfer your cart (and every last little bit of
data about your session) between sessions is there and, from an initial
poke around, is actually (or once was) built in to Interchange.
Anyway, someone must have followed this line of thought before and
here's my question:
If you are going to transfer session data like this, what problems are
looming in the background, and assuming it can be done with reasonable
security (i.e. not vulnerable to passing random session id's in the
query string for example)...I feel it's worth the $125 US each customer
is going to save not having to buy a certificate from Thawte.
What do you guys reckon about this?
Regards,
Andrew McBeath
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 3 20:15:00 2001
Subject: [ic] DIrty dirty hack... can i get some feedback?
On Thu, 4 Oct 2001, Andrew McBeath wrote:
AM>>If you are going to transfer session data like this, what problems are
AM>>looming in the background, and assuming it can be done with reasonable
AM>>security (i.e. not vulnerable to passing random session id's in the
AM>>query string for example)...I feel it's worth the $125 US each customer
AM>>is going to save not having to buy a certificate from Thawte.
I was able to get SSL sessions transferring from one (non-SSL) domain name
to a (SSL) domain name. Internet Explorer did not like this, although my
then current version of Netscape did not bitch about it. IE popped up a
warning message telling the caller that they were being transferred to a
different site and they they needed to be careful.
Now, I've got customers that even with 128-bit security are refusing to put
their CC# into a totally secure set-up. People are going to run away,
screaming, from a warning message that they are being diverted.
AM>>What do you guys reckon about this?
I assume that you are going to use Interchange to make money with. Getting
an SSL Cert is just another cost of doing business, like buying another
computer, like paying for telephone lines, like paying for a DSL or T-1
service.
Don't do anything that will scare your customers. Scare them and they will
run away - quickly. Give them confidence and they will buy from you, again
and again!
Don't be cheap!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 03, 2001 at 20:05 PM:
Plankton lobbyist: "NUKE THE WHALES!"
----------------------------------------------------------------
This Linux System has been up 218 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Ross Cousens)
Date: Wed Oct 3 20:56:01 2001
Subject: [ic] IRC weekly meetings
Jon,
I like the idea of the weekly meeting on IRC to discuss all things
Interchange, do you plan to have any facilities for logging/indexing the
discussions. Over in Australia I believe 1pm EST/EDT (not sure which) is
about 3am our time, and regardless of how much resolve I have I doubt I will
be able to make it regularly. If there is nothing set up already I could
have something up by Thursday hopefully for my own purposes and if that
works out I will make an indexable/searchable web site off it, any other
ideas? (May as well use Interchange for it too :)
Regards,
Ross Cousens
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jon
Jensen
Sent: Thursday, 4 October 2001 1:06 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] IRC weekly meetings
On Wed, 3 Oct 2001, Birgitt Funk wrote:
> Mike Heins wrote:
>
> >It should be simple. I will go through the procedure during the
> >new weekly IRC meeting if someone asks at that time....
>
> Did you agree on Thursdays 1 pm ET or did you change the time ?
That's it. In short, we're planning on meeting in IRC for about an hour to
talk about all things Interchange:
date: 2001-10-04, Thursday
time: 1700 UTC/GMT = 1:00 pm U.S. EDT
server: irc.vensnews.com
channel: #interchange
URL (if you don't have an IRC client): http://www.vensnews.com/interchange/
This may turn out to be a weekly event if people find it useful.
Jon
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 3 21:03:00 2001
Subject: [ic] Low memory version
On Wed, Oct 03, 2001 at 06:04:49PM -0400, David Totten wrote:
> On Wed, 2001-10-03 at 17:56, Webmaster of Infothai wrote:
> > No. If that is desirable for my needs, I would certainly do it.
> >
>
> I'd say that it certaintly wouldn't hurt. Perhaps you don't need to do
> it ever night, but every couple of days or so is a good idea.
If you get an "out of memory" that is not a disk quota, but maybe
a memory quota.
If you don't run your own machine, you cannot just increase swap;
you must speak to the sysadmin for your hosting company.
You've not told us how much memory you are using (ps)
or anything else. How much memory does ic use when you start it?
how much after some traffic and how much over the next days. If it
grows slowly but steadily there could (easily) be a memory leak;
just restarting nightly might be enough.
You can use sql and not import the data. Maybe you are already
doing that, you've not said.
Step 1, how much memory do you have???
>
> > On 03 Oct 2001 16:59:15 -0400, David Totten wrote:
> >
> > >On Wed, 2001-10-03 at 15:34, Webmaster of Infothai wrote:
> > >> Yes, I omitted that. Every day I run "expireall".
> > >>
> > >> Thanks,
> > >
> > >Do you also restart the server every night/day?
> > >
> > >Dave Totten
> > >
> > >--
> > >___________________________________________________________________
> > >GnuPG uid: 0x887B864C
> > >Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
> > >For more information about GnuPG, visit http://www.gnupg.org
> > >
> > >_______________________________________________
> > >interchange-users mailing list
> > >interchange-users@interchange.redhat.com
> > >http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> >
> >
> > webmaster@infothai.com
> > http://www.infothai.com
> >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> --
> ___________________________________________________________________
> GnuPG uid: 0x887B864C
> Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
> For more information about GnuPG, visit http://www.gnupg.org
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 3 21:12:00 2001
Subject: [ic] [error.. tag and e-mail format usernames problem
On Wed, Oct 03, 2001 at 05:52:37PM -0400, Jim Balcom wrote:
> On Wed, 3 Oct 2001, Bruno Cantieni wrote:
>
> BC>>I'm developing a series of stores on IC 4.6.5
> BC>>The client requests usernames be in e-mail format.
> BC>>The only problem with this I have run into so far is that e.g. on the checkout page no errors are
> BC>>displayed when using e-mail format usernames, while it works fine with regular names.
> BC>>The message "There were errors in your last submission.
> BC>>They are shown in RED below." is displayed, so it certainly traps the errors, alas, the [error
> BC>>std_label="anything".....] tags don't generate the error messages.
> BC>>
> BC>>Can someone shed light on this?
Just a **guess**, but the first thing I'd do is dig through the error
code looking for double quotes. Or test it with a "regular" name but
with an embedded "@". It's **probably** just a perl interpolation issue.
Any usernames run into a namespace issue. I can't be cfm everywhere, but
I can always be cfm@maine.com.
cfm
>
> Joachim Richter sent me a link that other day when he was asking me about
> stock alerts.
>
> When I checked it out, the guy (I can't remember his name [you know what
> they say about getting old!] but I give him a lot of credibility) was doing
> e-mail log ins as a part of his stock alert function.
>
> http://developer2.akopia.com/archive/interchange-users/2001/msg06143.html
>
> BC>>Can I expect other problems to crop up using e-mail addresses as usernames??
>
> I can't see why.
>
> Personally, I have mixed emotions about it. Many of the various sites where
> I have accounts use e-mail for log ins. However, I've got at least a half
> dozen different e-mail addresses, depending on what I am doing. So, it's
> always questionable as to what e-mail address I used when I opened that
> account. Most people only have one e-mail address (I think) so it should
> work fine.
>
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Wednesday, October 03, 2001 at 17:40 PM:
> Bad command. Bad, bad command! Sit! Stay! Staaay...
>
> ----------------------------------------------------------------
> This Linux System has been up 216 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Andrew McBeath)
Date: Wed Oct 3 22:22:01 2001
Subject: [ic] DIrty dirty hack... can i get some feedback?
Jim,
I'm not sure if we are doing the same thing here...
I am setting up a server to host Interchange sites on, that is, I am
providing the service not trying to sell stuff myself. In doing so,
obviously I am endeavoring to keep the costs down for clients. Yes, the
user level issues of browser warnings is valid, but it is a decision for
the client not me. I aim to provide options, not dictate what the
client must/must not do. Whether that is smart or not is another issue
and I welcome opinions either way ;) (I'm sure we've all come across
both those clients who are too cheap assed to buy a certificate, and
also those users who are too paranoid to entrust their cc details to
fairly hefty security schemes...)
The setup I am looking at is:
Catalog URL will be http://www.customer.co.nz,
SecureURL set to https://secure.mydomain.com (same machine/ip).
This means my clients can have their shop at their own domain, but do
not have
to have their own certificate as they can use my certificate to do their
secure stuff...
>Don't do anything that will scare your customers. Scare them and they will
>run away - quickly. Give them confidence and they will buy from you, again
>and again!
>Don't be cheap!
This is not a simply matter of 'being cheap'. I do agree with you in
theory on this matter, but for me this is really a matter of remaining
competitive with other eCommerce providers who do not require that the
client purchase themselves a certificate. - thus placing me roughly
$125USD more expensive than the next guy for what appears to the client
to be exactly the same service (on this point anyway :) ).
I then have a marketing job on my hands to convince them otherwise...to
tell a client "Dont be cheap!" is not the greatest sales pitch... yes,
you can use the fact that the whole site is secure as a sales point, but
consider Joe Bloggs who wants to get his feet wet with a low cost,
simple ecommerce solution for his [insert favorite product here] shop...
To outlay that extra money makes it just that extra bit more
unattractive, and that is contrary to what we are trying to achieve
here: putting decent and high quality ecommerce within reach of
everybody...not just those who can spend 10-20 grand. I agree that the
price of a certificate is not a lot in comparison to the site
development, but it is a serious consideration whether or not it is
absolutely 100% necessary
Kind Regards,
Andrew
Jim Balcom wrote:
> On Thu, 4 Oct 2001, Andrew McBeath wrote:
>
> AM>>If you are going to transfer session data like this, what problems are
> AM>>looming in the background, and assuming it can be done with reasonable
> AM>>security (i.e. not vulnerable to passing random session id's in the
> AM>>query string for example)...I feel it's worth the $125 US each customer
> AM>>is going to save not having to buy a certificate from Thawte.
>
> I was able to get SSL sessions transferring from one (non-SSL) domain name
> to a (SSL) domain name. Internet Explorer did not like this, although my
> then current version of Netscape did not bitch about it. IE popped up a
> warning message telling the caller that they were being transferred to a
> different site and they they needed to be careful.
>
> Now, I've got customers that even with 128-bit security are refusing to put
> their CC# into a totally secure set-up. People are going to run away,
> screaming, from a warning message that they are being diverted.
>
> AM>>What do you guys reckon about this?
>
> I assume that you are going to use Interchange to make money with. Getting
> an SSL Cert is just another cost of doing business, like buying another
> computer, like paying for telephone lines, like paying for a DSL or T-1
> service.
>
> Don't do anything that will scare your customers. Scare them and they will
> run away - quickly. Give them confidence and they will buy from you, again
> and again!
>
> Don't be cheap!
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Wednesday, October 03, 2001 at 20:05 PM:
> Plankton lobbyist: "NUKE THE WHALES!"
>
> ----------------------------------------------------------------
> This Linux System has been up 218 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
>
From: interchange-users at interchange.redhat.com (Roy Chilson)
Date: Wed Oct 3 22:36:01 2001
Subject: [ic] Searching Mail List Archives
In trying to use the mail list archives as a learning tool before I open a
topic that has already been covered, I am using the search tool at the
bottom of the archive page. I find that the only results returned are dated
7/18/01 and prior. I have use the "Sort by: Time" option to find the most
current information and it seems that nothing after 7/18/01 is ever
returned. I have tried to search on words and phrases that are in current
messages and those messages don't show up.
Is this a limitation of the search tool, or am I doing something wrong.
Thanks for your help.
Sincerely,
Roy Chilson
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Wed Oct 3 23:09:01 2001
Subject: [ic] Strange error when restarting ic
> I'm curious that what does this error mean, why this happens
> and what can be
> done to get rid of this error.
Upgrade your perl. :-)
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (Joe Moschak)
Date: Wed Oct 3 23:11:18 2001
Subject: [ic] Searching Mail List Archives
If you feel ambitious, maybe you can download the raw file (38 M) and
search it manually. Then search the file on your PC. But I, too,
wouldn't mind finding a better online search method.
Roy Chilson wrote:
>In trying to use the mail list archives as a learning tool before I open a
>topic that has already been covered, I am using the search tool at the
>bottom of the archive page. I find that the only results returned are dated
>7/18/01 and prior. I have use the "Sort by: Time" option to find the most
>current information and it seems that nothing after 7/18/01 is ever
>returned. I have tried to search on words and phrases that are in current
>messages and those messages don't show up.
>
>Is this a limitation of the search tool, or am I doing something wrong.
>Thanks for your help.
>
>Sincerely,
>Roy Chilson
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Thu Oct 4 02:16:01 2001
Subject: [ic] Strange error when restarting ic
> > I'm curious that what does this error mean, why this happens
> > and what can be
> > done to get rid of this error.
>
> Upgrade your perl. :-)
I would do that, but it's my ISP machine and they do not want to upgrade...
:(
Rene
From: interchange-users at interchange.redhat.com (vivek nambiar)
Date: Thu Oct 4 06:08:01 2001
Subject: [ic] interchange licenses
hi guys
can u give me any info regarding the licenses under which interchange is
available.
thanks
reg megaS
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Bas Bezemer)
Date: Thu Oct 4 06:54:00 2001
Subject: [ic] Interchange with WN www-server
Hi All,
I'm trying to install the latest Interchange on a linux server running a
WN www-server. I can't get it to work properly and I'm not sure if it is
due to permission issues set by the provider or WN-related things.
The installation of Interchange (execute configure) seems to be ok. And
de interchange server runs as well. But from here on the problems start.
First of all I must use the perl versions of tlink (tlink.pl) and vlink
(vlink.pl), because I have no permission to run de binaries. Running the
scripts calling from a browser returns a WN-server error message. If I
call the script from the command line, like:
./tlink.cgi name1 name2
An error message is returned saying:
Unknown catalog: name2
That's curious because this is a line that is generated by
bin/interchange. So tlink and vlink are able to communicate with the
interchange server but the catalogs can't be reached.
I'm lost a bit.
Regards,
Bas
From: interchange-users at interchange.redhat.com (David Totten)
Date: Thu Oct 4 07:28:01 2001
Subject: [ic] interchange licenses
On Sat, 2000-11-18 at 16:33, vivek nambiar wrote:
>
> hi guys
> can u give me any info regarding the licenses under which interchange is
> available.
> thanks
> reg megaS
Interchange is available under the GPL. A copy of the License is
available in the tar.gz that is available from http://ic.redhat.com
Dave Totten
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 4 07:55:01 2001
Subject: [ic] Interchange with WN www-server
On Thu, 4 Oct 2001, Bas Bezemer wrote:
BB>>The installation of Interchange (execute configure) seems to be ok. And
BB>>de interchange server runs as well. But from here on the problems start.
BB>>First of all I must use the perl versions of tlink (tlink.pl) and vlink
BB>>(vlink.pl), because I have no permission to run de binaries. Running the
BB>>scripts calling from a browser returns a WN-server error message. If I
What's the error message?
Make sure that you have an index.cache in each directory that you are going
to serve from, or you will get errors.
What URL are you putting in the browser to try to get to it?
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 04, 2001 at 07:50 AM:
Some people act crazy, others aren't acting.
----------------------------------------------------------------
This Linux System has been up 230 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 4 08:58:00 2001
Subject: [ic] Paybox and IC!
Hi List,
I was in the mail archivs with no luck.
Did anyone successfull use the external payment "PayBox"?
I'm able to use a special succes or failure page in IC for that payment
"Paybox", but how can I tell IC to finish the order process (making the
basket empty, send a receipt to the customer, send an email report to
the shop owner and so on)?
I saw a tag [finish-order], but I couldn't find such tag. Is that tag
[finish-order] to finish the order, if the external payment was finish
with no errors?
Any tips, hints and suggestions are very wellcome.
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (vivek nambiar)
Date: Thu Oct 4 09:05:00 2001
Subject: [ic] interchange licenses
thanks david
could u supply me with some other info
if i enchance interchange and add some perl code to it
ot give it some added functionality what licenses do i
distrbute it under??can i copyright my code under such situation.if not how
do i protect my code.
thanks a lot
reg megaS
----- Original Message -----
From: "David Totten" <dstotten@davetotten.com>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 04, 2001 5:27 AM
Subject: Re: [ic] interchange licenses
> On Sat, 2000-11-18 at 16:33, vivek nambiar wrote:
> >
> > hi guys
> > can u give me any info regarding the licenses under which interchange is
> > available.
> > thanks
> > reg megaS
>
> Interchange is available under the GPL. A copy of the License is
> available in the tar.gz that is available from http://ic.redhat.com
>
> Dave Totten
> --
> ___________________________________________________________________
> GnuPG uid: 0x887B864C
> Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
> For more information about GnuPG, visit http://www.gnupg.org
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (David Bordas)
Date: Thu Oct 4 09:10:00 2001
Subject: [ic] Paybox and IC!
Hi,
I use paybox and it works great.
I'm under IC 4.8.2.
Ed LaFrance has made me the changes for paybox.
If you're interesting contact him and perhaps you could make a deal
together.
David
----- Original Message -----
From: "Joachim Leidinger" <jojo@blackpoint.de>
To: "interchange-users@developer.akopia.com"
<interchange-users@anthrax.interchange.redhat.com>
Sent: Thursday, October 04, 2001 3:00 PM
Subject: [ic] Paybox and IC!
> Hi List,
>
> I was in the mail archivs with no luck.
> Did anyone successfull use the external payment "PayBox"?
>
> I'm able to use a special succes or failure page in IC for that payment
> "Paybox", but how can I tell IC to finish the order process (making the
> basket empty, send a receipt to the customer, send an email report to
> the shop owner and so on)?
>
> I saw a tag [finish-order], but I couldn't find such tag. Is that tag
> [finish-order] to finish the order, if the external payment was finish
> with no errors?
>
> Any tips, hints and suggestions are very wellcome.
>
> Thanks!
>
> Joachim
>
> --
> Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
> [Hans-Joachim.leidinger@bpanet.de]
> Black Point Arts Internet Solutions GmbH
> http://www.bpanet.de
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (vivek nambiar)
Date: Thu Oct 4 09:13:27 2001
Subject: [ic] interchange licenses
hi all
has anyone worked on a datamodel for interchage
such that the data from interchange can be stored in a database.if so can u
help me with the basic table structure
reg v
_______________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 4 09:21:01 2001
Subject: [ic] Interchange with WN www-server
On Thu, Oct 04, 2001 at 12:50:35PM +0200, Bas Bezemer wrote:
> Hi All,
>
> I'm trying to install the latest Interchange on a linux server running a
> WN www-server. I can't get it to work properly and I'm not sure if it is
> due to permission issues set by the provider or WN-related things.
>
> The installation of Interchange (execute configure) seems to be ok. And
> de interchange server runs as well. But from here on the problems start.
> First of all I must use the perl versions of tlink (tlink.pl) and vlink
> (vlink.pl), because I have no permission to run de binaries. Running the
> scripts calling from a browser returns a WN-server error message. If I
> call the script from the command line, like:
> ./tlink.cgi name1 name2
> An error message is returned saying:
> Unknown catalog: name2
>
> That's curious because this is a line that is generated by
> bin/interchange. So tlink and vlink are able to communicate with the
> interchange server but the catalogs can't be reached.
IC and WN play just fine together, though I'm not sure that makecat will.
Given the wild popularity of WN, I'd not investigate that.
We install it like this (where ic473 is the version):
tlink/vlink in /usr/cgi as /usr/cgi/ic473.cgi (versioned)
Then within a particular catalog, <catalog>.cgi is a symlink
to /usr/cgi/ic473. We don't bother with cgi-bin construct.
tlink/vlink can be perl if you want. I can't see why you would have
a problem running binaries if you built them. Hmmm, maybe you are running
WN with suexec? WN has a sample.cgi in the docs/examples. Put that
in place of your vlink and it will dump your CGI environment and the
WN special variables.
cfm
>
> I'm lost a bit.
>
> Regards,
> Bas
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid)
Date: Thu Oct 4 09:51:01 2001
Subject: [ic] interchange licenses
Can you please switch teh date on your computer. You are showing its 11/18/00
so your messages are coming in out of sequence!
Thanks! :-)
Have a great day!
Nathan
vivek nambiar wrote:
> hi all
> has anyone worked on a datamodel for interchage
> such that the data from interchange can be stored in a database.if so can u
> help me with the basic table structure
> reg v
> _______________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Mauricio Teixeira)
Date: Thu Oct 4 10:38:00 2001
Subject: [ic] Uninstall 4.6?
How do I uninstall Interchange 4.6???
--
--< Mauricio Teixeira - Diretor Geral - mteixeira@webset.net
--< (+55+91) 3086 1326 / 9146 1326 - ICQ # 92391942
--< http://www.webset.net - Belém/PA/Brazil
From: interchange-users at interchange.redhat.com (David Bordas)
Date: Thu Oct 4 10:47:00 2001
Subject: [ic] Uninstall 4.6?
what do you want to do ?
uninstall IC and catalogs or just IC ?
Which OS did you use ?
...
Give us some more please :)
David
----- Original Message -----
From: "Mauricio Teixeira" <mteixeira@webset.net>
To: "Interchange Users" <interchange-users@anthrax.interchange.redhat.com>
Sent: Thursday, October 04, 2001 1:45 PM
Subject: [ic] Uninstall 4.6?
> How do I uninstall Interchange 4.6???
>
> --
> --< Mauricio Teixeira - Diretor Geral - mteixeira@webset.net
> --< (+55+91) 3086 1326 / 9146 1326 - ICQ # 92391942
> --< http://www.webset.net - Belém/PA/Brazil
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Laura Donnelly)
Date: Thu Oct 4 10:50:01 2001
Subject: [ic] Newbie Database question
Hello all...First of all...thanks to all of you for your past help. The cart
is coming along nicely.
Question: I have MySQL on my server (through my ISP). I would like to
utilize it for my cart so that if I needed to, I could export the database
and just have an easier feeling knowing it was seperate from IC. I am NOT a
database guru. Can anyone explain to me how I can have IC utilize MySQL
instead of the flat txt file (that is what it is doing isnt it?).
I already have all of my items entered.
And if this is a stupid idea...please let me know.
Laura
From: interchange-users at interchange.redhat.com (Jay Houghton)
Date: Thu Oct 4 10:52:27 2001
Subject: [ic] no one has been able to answer this: valid database reference was 'backup'
I'm still searching for the answer to these messages in my log, I've asked
before, I've searched the archives, does anyone know why this is happening?
from my catalog/error.log:
24.91.113.211 35qE57ZA:content content [03/October/2001:20:21:20 -0500] cs1
/cgi-bin/cs1/admin/page_edit search error: your search file a valid database
reference, was 'backup'.
Jay Houghton
jay@advsw.com
Advanced Software Concepts, Inc.
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 4 11:01:01 2001
Subject: [ic] Paybox and IC!
David Bordas wrote:
>
> Hi,
>
> I use paybox and it works great.
> I'm under IC 4.8.2.
That is great to hear this!
> Ed LaFrance has made me the changes for paybox.
>
> If you're interesting contact him and perhaps you could make a deal
> together.
Hi Ed,
are you so kind to share your solutions with me?
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Thu Oct 4 11:05:01 2001
Subject: [ic] Uninstall 4.6?
> > How do I uninstall Interchange 4.6???
> what do you want to do ?
>
> uninstall IC and catalogs or just IC ?
> Which OS did you use ?
>
And what distribution... tarball or rpm?
René
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 4 11:08:00 2001
Subject: [ic] no one has been able to answer this: valid database reference was 'backup'
Quoting Jay Houghton (jay@advancedsoftwarecorp.com):
>
> I'm still searching for the answer to these messages in my log, I've asked
> before, I've searched the archives, does anyone know why this is happening?
>
> from my catalog/error.log:
>
> 24.91.113.211 35qE57ZA:content content [03/October/2001:20:21:20 -0500] cs1
> /cgi-bin/cs1/admin/page_edit search error: your search file a valid database
> reference, was 'backup'.
I did post about this, but I wonder if it got through.
It is harmless, happens when doing a page edit, and is caused by
not checking to see if you have a backup database defined before
fetching lists of backups of your differnet pages.
It is fixed in CVS, and will be in 4.8.3 when that is
released.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
"Laughter is inner jogging." -- Norman Cousins
From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid)
Date: Thu Oct 4 11:10:30 2001
Subject: [ic] Editing Admin UI
Greetings Group-
I briefly looked through the Interchange manuals, but did not find the
answer to my question. I would like to work on it today, but the books
are not with me.
This is probably a simple question.
Where do I edit the Admin UI?? I just basically want to change colors
and pop in our logo, simple things like that. I know all of the graphics
for that are in the Interchange directory, but where is the file to edit
to change color, graphics names, etc.
Thanks for any help!
Nathan
NAMI Solutions
From: interchange-users at interchange.redhat.com (David Bordas)
Date: Thu Oct 4 11:14:01 2001
Subject: [ic] Paybox and IC!
i also have one doubt.
i thought at paybox the solution from the site www.paybox.com.
did we talk to the same thing or did you thought at www.paybox.de ?
----- Original Message -----
From: "Joachim Leidinger" <jojo@blackpoint.de>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 04, 2001 4:30 PM
Subject: Re: [ic] Paybox and IC!
> David Bordas wrote:
> >
> > Hi,
> >
> > I use paybox and it works great.
> > I'm under IC 4.8.2.
>
> That is great to hear this!
>
> > Ed LaFrance has made me the changes for paybox.
> >
> > If you're interesting contact him and perhaps you could make a deal
> > together.
>
> Hi Ed,
>
> are you so kind to share your solutions with me?
>
> Thanks!
>
> Joachim
>
>
> --
> Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
> [Hans-Joachim.leidinger@bpanet.de]
> Black Point Arts Internet Solutions GmbH
> http://www.bpanet.de
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Christopher VanOosterhout)
Date: Thu Oct 4 11:16:44 2001
Subject: [ic] How Do I Identify By Version #
I understand that as a responsible Interchange administrator, I should just
know the version of Interchange I run ... but I don't.
I am considering an upgrade and I would like to know my current
version. How do I find that?
Also is there a single document that best describes the upgrade
process? Should I anticipate any downtime in the upgrade process or is it
transparent? Will any of my .cfg files need to be reconfigured?
Thanks,
Christopher
--
Christopher VanOosterhout
Torresen Marine, Inc.
Internet Division
http://www.torresen.com/
http://www.marinedieseldirect.com/
3126 Lake Shore Drive
Muskegon, Michigan 49441
231-759-8596
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 4 11:24:00 2001
Subject: [ic] Paybox and IC!
David Bordas wrote:
>
> i also have one doubt.
>
> i thought at paybox the solution from the site www.paybox.com.
>
> did we talk to the same thing or did you thought at www.paybox.de ?
www.paybox.net!
ciao
jojo
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Matthew Schick)
Date: Thu Oct 4 11:32:01 2001
Subject: [ic] Strange Error......
Hey All,
I seem to have run into an error that has me completely stumped. I
have been running a catalog on IC 4.6x (kept updated via CVS) for about
8 or 9 months now and the following error started popping up about 3
days ago:
subshell.c: couldn't get terminal settings: Inappropriate ioctl for
device
Failed to open terminal./bin/sh: visaxxxxxxxxxxxxxxxx8/03: No such file
or directory
SLang_getkey returned SLANG_GETKEY_ERROR
Assuming EOF on stdin and exiting
As I understand it, the subshell.c error can be caused by incorrect or
missing /dev/tty or /dev/pty entries. It can also be caused by a
corrupted bash installation. I have checked, double checked and
rechecked all of the above with no success. The server is running RH
7.1, with all packages updated (today as a matter of fact).
And yes, the error is actually printing out the entire CC# after
'visa'. My client has also had reports from customers stating that they
cannot place more than one or two items in their cart. I don't know
what could have changed on the server to cause this confusion, but I'm
at my wit's end for ideas.....
Thanks for the help,
Matt
From: interchange-users at interchange.redhat.com (vivek nambiar)
Date: Thu Oct 4 11:35:01 2001
Subject: [ic] interchange licenses
hi all
the red hat e- commerce suite comes under BSD and GPL licenses, does
interchage come under the same licenses (both of the above)
please resolve my prob since i have to seriously consider the licenses issue
before i get down to development to the interchange add on
From: interchange-users at interchange.redhat.com (Theo Burger)
Date: Thu Oct 4 11:37:28 2001
Subject: [ic] Interchange information required
Hi all
I heard about Interchange, got hold of it, installed
it and it works fine. However, I am looking at setting
up a B2B e-commerce hub with lots of sellers and lots
of buyers - and Interchange seems to be geared to a
B2C environment. Just one feature I would need would
be different users logging in to the system would see
different pricing for the same item etc etc. I know I
haven't done my part in terms of trying customisation
etc , but would really appreciate somebody just giving
me their input on whether it is realistic of me to
customize/modify this product into a B2B e-commerce
hub ?? Thanks a million for your input. Theo Burger.
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
From: interchange-users at interchange.redhat.com (Mauricio Teixeira)
Date: Thu Oct 4 11:56:00 2001
Subject: [ic] Uninstall 4.6?
On Thu, 4 Oct 2001 16:48:49 +0200, David Bordas said:
> uninstall IC and catalogs or just IC ?
> Which OS did you use ?
Every thing... Leaving no trace at all...
I've installed from tarball...
--
--< Mauricio Teixeira - Diretor Geral - mteixeira@webset.net
--< (+55+91) 3086 1326 / 9146 1326 - ICQ # 92391942
--< http://www.webset.net - Belém/PA/Brazil
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 4 12:08:00 2001
Subject: [ic] Paybox and IC!
At 04:30 PM 10/04/2001 +0200, you wrote:
>David Bordas wrote:
> >
> > Hi,
> >
> > I use paybox and it works great.
> > I'm under IC 4.8.2.
>
>That is great to hear this!
>
> > Ed LaFrance has made me the changes for paybox.
> >
> > If you're interesting contact him and perhaps you could make a deal
> > together.
>
>Hi Ed,
>
>are you so kind to share your solutions with me?
>
>Thanks!
>
>Joachim
Sorry, but it appears that paybox.com and paybox.net are different companies.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 4 12:10:40 2001
Subject: [ic] Editing Admin UI
At 10:06 AM 10/04/2001 -0500, you wrote:
>Greetings Group-
>
>I briefly looked through the Interchange manuals, but did not find the
>answer to my question. I would like to work on it today, but the books
>are not with me.
>
>This is probably a simple question.
>
>Where do I edit the Admin UI?? I just basically want to change colors
>and pop in our logo, simple things like that. I know all of the graphics
>for that are in the Interchange directory, but where is the file to edit
>to change color, graphics names, etc.
>
>Thanks for any help!
>Nathan
>
>NAMI Solutions
I've been doing quite a bit of this as of late, and fortunately much of the
UI is structured in a modular fashion, similar to the foundation
demo. This "tips and tricks" post by Mike Heins is a good place to start:
http://developer2.akopia.com/archive/interchange-users/2000/msg08546.html
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 4 12:14:01 2001
Subject: [ic] How Do I Identify By Version #
At 11:13 AM 10/04/2001 -0400, you wrote:
>I understand that as a responsible Interchange administrator, I should
>just know the version of Interchange I run ... but I don't.
>
>I am considering an upgrade and I would like to know my current
>version. How do I find that?
>
>Also is there a single document that best describes the upgrade
>process? Should I anticipate any downtime in the upgrade process or is it
>transparent? Will any of my .cfg files need to be reconfigured?
>
>Thanks,
>
>Christopher
Upon each start/restart messages are echoed to the IC server error.log,
including the version number, configured catalogs, etc. Also, you can log
into the UI and click the Administration link; the IC server version number
is listed on the page which appears.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 4 12:18:01 2001
Subject: [ic] Interchange information required
At 08:32 AM 10/04/2001 -0700, you wrote:
>Hi all
>
>I heard about Interchange, got hold of it, installed
>it and it works fine. However, I am looking at setting
>up a B2B e-commerce hub with lots of sellers and lots
>of buyers - and Interchange seems to be geared to a
>B2C environment. Just one feature I would need would
>be different users logging in to the system would see
>different pricing for the same item etc etc. I know I
>haven't done my part in terms of trying customisation
>etc , but would really appreciate somebody just giving
>me their input on whether it is realistic of me to
>customize/modify this product into a B2B e-commerce
>hub ?? Thanks a million for your input. Theo Burger.
I have done it (actually in Minivend 3.14!), and IC is quite suitable for
building a B2B site, perhaps more so than most other eCommerce
offerings. Just using the CommonAdjust feature in concert with various
table entries, we were able to create pricing variances at the
manufacturer, buying group, and individual member levels (and combinations
thereof), plus features like variable minimum order levels, automatic order
routing by manufacturer, etc.
You have your work cut out for you, but the platform is capable and the
tools are there.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 4 12:25:01 2001
Subject: [ic] interchange licenses
"vivek nambiar" <fctmaillist@megasoft.com> writes:
> hi all
> the red hat e- commerce suite comes under BSD and GPL licenses, does
> interchage come under the same licenses (both of the above)
> please resolve my prob since i have to seriously consider the licenses issue
> before i get down to development to the interchange add on
Interchange is definitely GPL.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 4 12:28:00 2001
Subject: [ic] Strange Error......
On Thu, Oct 04, 2001 at 10:31:15AM -0500, Matthew Schick wrote:
> Hey All,
>
> I seem to have run into an error that has me completely stumped. I
> have been running a catalog on IC 4.6x (kept updated via CVS) for about
> 8 or 9 months now and the following error started popping up about 3
> days ago:
>
>
>
> subshell.c: couldn't get terminal settings: Inappropriate ioctl for
> device
> Failed to open terminal./bin/sh: visaxxxxxxxxxxxxxxxx8/03: No such file
> or directory
> SLang_getkey returned SLANG_GETKEY_ERROR
> Assuming EOF on stdin and exiting
>
>
> As I understand it, the subshell.c error can be caused by incorrect or
> missing /dev/tty or /dev/pty entries. It can also be caused by a
> corrupted bash installation. I have checked, double checked and
> rechecked all of the above with no success. The server is running RH
> 7.1, with all packages updated (today as a matter of fact).
>
That looks to me like your encryption routine is expecting a terminal; that
reminds me of how some scripted ssh sessions broke maybe 6 months ago (debian).
Check that your keys work. Check the way you call the encryptor.
> And yes, the error is actually printing out the entire CC# after
> 'visa'. My client has also had reports from customers stating that they
> cannot place more than one or two items in their cart. I don't know
> what could have changed on the server to cause this confusion, but I'm
> at my wit's end for ideas.....
Maybe "7.1, with all packages updated (today as a matter of fact)." :-)
--
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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 4 12:31:01 2001
Subject: [ic] Interchange information required
On Thu, Oct 04, 2001 at 08:32:44AM -0700, Theo Burger wrote:
> Hi all
>
> I heard about Interchange, got hold of it, installed
> it and it works fine. However, I am looking at setting
> up a B2B e-commerce hub with lots of sellers and lots
> of buyers - and Interchange seems to be geared to a
> B2C environment. Just one feature I would need would
> be different users logging in to the system would see
> different pricing for the same item etc etc. I know I
> haven't done my part in terms of trying customisation
> etc , but would really appreciate somebody just giving
> me their input on whether it is realistic of me to
> customize/modify this product into a B2B e-commerce
> hub ?? Thanks a million for your input. Theo Burger.
It can handle that without any problem. Search docs for DISCOUNT.
You can cookbook a B2C site with the demos but you will
not be able to build a real B2B hub without digging into the code.
Don't expect that to be a one week project. :-)
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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Matthew Schick)
Date: Thu Oct 4 13:36:00 2001
Subject: [ic] Strange Error......
On Thu, 2001-10-04 at 11:26, cfm@maine.com wrote:
On Thu, Oct 04, 2001 at 10:31:15AM -0500, Matthew Schick wrote:
> Hey All,
>
> I seem to have run into an error that has me completely stumped. I
> have been running a catalog on IC 4.6x (kept updated via CVS) for about
> 8 or 9 months now and the following error started popping up about 3
> days ago:
>
>
>
> subshell.c: couldn't get terminal settings: Inappropriate ioctl for
> device
> Failed to open terminal./bin/sh: visaxxxxxxxxxxxxxxxx8/03: No such file
> or directory
> SLang_getkey returned SLANG_GETKEY_ERROR
> Assuming EOF on stdin and exiting
>
>
> As I understand it, the subshell.c error can be caused by incorrect or
> missing /dev/tty or /dev/pty entries. It can also be caused by a
> corrupted bash installation. I have checked, double checked and
> rechecked all of the above with no success. The server is running RH
> 7.1, with all packages updated (today as a matter of fact).
>
That looks to me like your encryption routine is expecting a terminal; that
reminds me of how some scripted ssh sessions broke maybe 6 months ago (debian).
Check that your keys work. Check the way you call the encryptor.
I'll double check, but nothing changed here before this happened.....
That's the puzzle....
> And yes, the error is actually printing out the entire CC# after
> 'visa'. My client has also had reports from customers stating that they
> cannot place more than one or two items in their cart. I don't know
> what could have changed on the server to cause this confusion, but I'm
> at my wit's end for ideas.....
Maybe "7.1, with all packages updated (today as a matter of fact)." :-)
I upgraded today to see if there was a glitch that the updated packages
from RH would fix, but the problem started before this.....
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 4 13:50:01 2001
Subject: [ic] Interchange information required
Theo Burger <theoburgerza@yahoo.com> writes:
> Hi all
>
> I heard about Interchange, got hold of it, installed
> it and it works fine. However, I am looking at setting
> up a B2B e-commerce hub with lots of sellers and lots
> of buyers - and Interchange seems to be geared to a
> B2C environment.
No definitely not. Interchange is flexible enough to
adapt to most situations you can think of.
> Just one feature I would need would
> be different users logging in to the system would see
> different pricing for the same item etc etc. I know I
> haven't done my part in terms of trying customisation
> etc , but would really appreciate somebody just giving
> me their input on whether it is realistic of me to
> customize/modify this product into a B2B e-commerce
> hub ?? Thanks a million for your input. Theo Burger.
Yes, it is realistic. Ask here for more information.
Professional support is available too.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Ed)
Date: Thu Oct 4 14:19:00 2001
Subject: [ic] 4.8.2 Speed problem
Has anyone else experienced a speed problem with ic4.8.2. I am a relative
newbie to ic, but I do have some experience with 4.8.1 and I do not
remember it ever being this slow. After upgrading I have also created a new
catalog which is what is very slow. The server has more than enough memory,
and is running SuSE 7.1 and perl 5.6.0. The catalog connects to a mysql
3.23.33 database, which seems to be working fine. I have checked the
error.log files as well as the sql.err log with nothing pointing to why
this might be happening. The catalog is slow doing anything in both the
customer and admin interfaces. Any help would be greatly appreciated.
Ed Gloeckle
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 4 14:44:01 2001
Subject: [ic] Uninstall 4.6?
> On Thu, 4 Oct 2001 16:48:49 +0200, David Bordas said:
>
> > uninstall IC and catalogs or just IC ?
> > Which OS did you use ?
>
> Every thing... Leaving no trace at all...
>
> I've installed from tarball...
Quoting Mike Heins:
"
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-)
"
Then delete your INTERCHANGE_ROOT (usually /usr/local/interchange). HTH,
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (Mark Johnston)
Date: Thu Oct 4 15:07:00 2001
Subject: [ic] Cybercash checkout problem
I need someones help, or at least comments. I have
setup interchange 4.8 on solaris 7 with cybercash as
our gateway and oracle as the db. Everything works
fine except for the checkout process. When postal
payment is used the receipts are sent and the
information is stored in the transaction database.
When a credit card is used the receipts are sent, the
credit card is auth'd but the transaction is never
entered into the transaction table.
Any suggestions, guesses, or commects would be appreciated.
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 4 15:34:02 2001
Subject: [ic] Wanted: No database upload at IC start
Where can I configure IC to not drop all the tables and reload the
foundation template when I start/restart IC (4.8.1)?
Details: Our goal: To use one database for several catalogs. So we want
to be able to restart stores at will, but not let this effect the data
currently in the database. Our database gets populated by outside
scripts.
I was hoping that there was a configuration option that I could take
advantage of, but can't find one. Is there code within bin/interchange
that I could comment out?
Continuing to look... Thanks, in advance, for help.
Michelle
From: interchange-users at interchange.redhat.com (Mauricio Teixeira)
Date: Thu Oct 4 15:50:01 2001
Subject: [ic] Uninstall 4.6?
On Thu, 4 Oct 2001 11:41:37 -0700, Dan Browning said:
> Quoting Mike Heins:
> "
> Four steps:
Thank you!
--
--< Mauricio Teixeira - Diretor Geral - mteixeira@webset.net
--< (+55+91) 3086 1326 / 9146 1326 - ICQ # 92391942
--< http://www.webset.net - Belém/PA/Brazil
From: interchange-users at interchange.redhat.com (Ron Phipps)
Date: Thu Oct 4 15:54:02 2001
Subject: [ic] Wanted: No database upload at IC start
> From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-
> users-admin@interchange.redhat.com] On Behalf Of wilant@grue.eppg.com
>
> Where can I configure IC to not drop all the tables and reload the
> foundation template when I start/restart IC (4.8.1)?
Taken from the online docs:
NoImport
When set to one or more Interchange database identifiers, those
database(s) will never be subject to import. Useful for SQL databases or
databases that will ``never'' change.
NoImport inventory
>
> Details: Our goal: To use one database for several catalogs. So we
want
> to be able to restart stores at will, but not let this effect the data
> currently in the database. Our database gets populated by outside
> scripts.
>
> I was hoping that there was a configuration option that I could take
> advantage of, but can't find one. Is there code within
bin/interchange
> that I could comment out?
No need to comment out anything. Set the NoImport directive in your
catalog.cfg for each table you do not want imported at startup.
See ya,
-Ron
From: interchange-users at interchange.redhat.com (Moe Pitman)
Date: Thu Oct 4 16:00:03 2001
Subject: [ic] Wanted: No database upload at IC start
Are you using SQL or dbm?
Assuming SQL, a 0-byte file in the products/ directory should be created
after a successful import, named for the text data table with a '.sql'
extension. For example, the products.txt is read and the products.sql
file is created.
The presence of this file should prevent the text file from being read
again. In fact, if you want to restore a table from the text file, you
remove the *.sql file and restart...
--Moe Pitman
wilant@grue.eppg.com wrote:
>Where can I configure IC to not drop all the tables and reload the
>foundation template when I start/restart IC (4.8.1)?
>
>Details: Our goal: To use one database for several catalogs. So we want
>to be able to restart stores at will, but not let this effect the data
>currently in the database. Our database gets populated by outside
>scripts.
>
>I was hoping that there was a configuration option that I could take
>advantage of, but can't find one. Is there code within bin/interchange
>that I could comment out?
>
>Continuing to look... Thanks, in advance, for help.
>
>Michelle
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 4 16:06:01 2001
Subject: [ic] unable to display page errors
Tim Watts <interchange@Romans1013.net> writes:
> We're running interchange 4.6.5 on a unix shared server. We constantly get
> feedback from customers that say that get the generic browser error "Unable
> to display page" or "URL error, unable to locate site." These are errors
> generated in the browser, they are not interchange errors. They pop up
> INSTANTLY when the submit button is clicked on various forms throught the
> site. If you hit the back button from these error pages and try again, it
> ALWAYS works the second time. It seems to be only associated with
> interchange, because we never have these problems with any other pages in
> the site. Anyone have a clue or a solution to this puzzle??? I know we are
> losing sales, but we can't locate the source of the problem.
We're experience exactly that problem (on 4.8.x), but I've no idea why.
Clients are IE.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 4 16:17:01 2001
Subject: [ic] Wanted: No database upload at IC start
"Ron Phipps" <rphipps@reliant-solutions.com> writes:
> > From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-
> > users-admin@interchange.redhat.com] On Behalf Of wilant@grue.eppg.com
> >
> > Where can I configure IC to not drop all the tables and reload the
> > foundation template when I start/restart IC (4.8.1)?
>
> Taken from the online docs:
>
> NoImport
> When set to one or more Interchange database identifiers, those
> database(s) will never be subject to import. Useful for SQL databases or
> databases that will ``never'' change.
>
> NoImport inventory
For all SQL/LDAP databases:
NoImportExternal Yes
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 4 16:33:04 2001
Subject: [ic] unable to display page errors
> Tim Watts <interchange@Romans1013.net> writes:
>
> > We're running interchange 4.6.5 on a unix shared server. We
> constantly get
> > feedback from customers that say that get the generic
> browser error "Unable
> > to display page" or "URL error, unable to locate site."
> These are errors
> > generated in the browser, they are not interchange errors.
> They pop up
> > INSTANTLY when the submit button is clicked on various
> forms throught the
> > site. If you hit the back button from these error pages and
> try again, it
> > ALWAYS works the second time. It seems to be only associated with
> > interchange, because we never have these problems with any
> other pages in
> > the site. Anyone have a clue or a solution to this
> puzzle??? I know we are
> > losing sales, but we can't locate the source of the problem.
>
> We're experience exactly that problem (on 4.8.x), but I've no
> idea why.
> Clients are IE.
>
> Ciao
> Racke
We ran into this problem with clients that have IE 5.0/4.0 that haven't been
patched to .02 versions or upgraded to 128-bit encryption. Upgrading
OpenSSL/mod_ssl seemed to help (big recompiling pain, though), as well as
making sure Apache was set for:
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
(see http://www.modssl.org/docs/2.8/ssl_faq.html#ToC49)
I'm not sure we even got all the problems, but it has helped a lot. It
would be good to build a browser-client database of what is needed for the
most compatibility. But it is so much work to build multiple windows boxes
/ VMware images for all the different versions of IE (since it is impossible
to load two simultaneous versions like Netscape). I don't think it matters,
but we're using Verisign 128-bit certs, BTW.
Also see Microsoft bug reports re. buggy SSL in IE:
http://support.microsoft.com/support/kb/articles/Q247/3/67.ASP?LN=EN-US&SD=g
n&FR=0&qry=SSL%20128-bit&rnk=3&src=DHCS_MSPSS_gn_SRCH&SPR=IE
http://support.microsoft.com/support/kb/articles/Q257/9/78.ASP?LN=EN-US&SD=g
n&FR=0&qry=SSL%20128-bit&rnk=4&src=DHCS_MSPSS_gn_SRCH&SPR=IE
(there are some more too, can't find them, anyone else got them?)
Verisign has some good info on the problem too:
http://www.verisign.com/cgi-bin/kb/clearexp_cgi/solution.htm?probdesc.objid=
268500870
HTH. Racke, if you do pinpoint it, would you let me know?
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Thu Oct 4 17:05:02 2001
Subject: [ic] unable to display page errors
I have experienced this problem, mostly with older versions of IE
though.. They had a known issue with SSL and keeping the SSL session
going. If i remember correctly the fix was entering in httpd.conf the line:
BrowserMatch "MSIE" nokeepalive
Do a little research, you can even narrow it down to specific browser versions.
This way, it forces IE to regenerate its SSL session at every page. Yes,
it makes the server work harder, but it seems to have cleared up the problem.
At 10:05 PM 10/4/01 +0200, you wrote:
>Tim Watts <interchange@Romans1013.net> writes:
>
> > We're running interchange 4.6.5 on a unix shared server. We constantly get
> > feedback from customers that say that get the generic browser error "Unable
> > to display page" or "URL error, unable to locate site." These are errors
> > generated in the browser, they are not interchange errors. They pop up
> > INSTANTLY when the submit button is clicked on various forms throught the
> > site. If you hit the back button from these error pages and try again, it
> > ALWAYS works the second time. It seems to be only associated with
> > interchange, because we never have these problems with any other pages in
> > the site. Anyone have a clue or a solution to this puzzle??? I know we are
> > losing sales, but we can't locate the source of the problem.
>
>We're experience exactly that problem (on 4.8.x), but I've no idea why.
>Clients are IE.
>
>Ciao
> Racke
>
>--
>Racke happily hacks Interchange and maintains Debian packages like Courier.
>
>For projects and other business stuff please refer to COBOLT NetServices
>(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Fiber Connect)
Date: Thu Oct 4 17:19:01 2001
Subject: [ic] TABLE STRUCTURES
Hi List,
Does anyone have the Database Table Structure thats been used at
Interchange ?
Cheers
Balaji
From: interchange-users at interchange.redhat.com (Jami)
Date: Thu Oct 4 17:37:01 2001
Subject: [ic] UPS zone-based shipping not working
IC is calculating shipping rates for the wrong zone. It is using the
zone charts from the 450 zip code instead of from our originating zip
code.
We have input our home zip code as the originating zip code, uploaded
the updated UPS rate table, and modified the catalog.cfg file to call
zone info from the correct zone chart (975.csv instead of 450.csv). It
appears the missing link is loading the zone chart (975.csv) into the
products directory. Any magic tricks on how to get this working?
Thank you!
Jami
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 4 17:49:00 2001
Subject: [ic] sql tag problem
This query does not return a match, but it thinks it does and returns
Paid commissions and a null value for [sql-code]. None of the database
entries contain paid in the commission_status field.
[query sql="select sum(commission) from transactions where affiliate =
'[cgi affiliate]' and commission_status = 'paid'" interpolate
=1 type=list ml=100]
[on_match]
Paid Commissions:$
[/on_match]
[no_match]
No Commissions Paid
[/no_match]
[list]
[sql-code]
[/list]
[/query]
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 4 17:54:03 2001
Subject: [ic] unable to display page errors
On Thu, Oct 04, 2001 at 01:31:05PM -0700, Dan Browning wrote:
> > Tim Watts <interchange@Romans1013.net> writes:
...
> > > ALWAYS works the second time. It seems to be only associated with
> > > interchange, because we never have these problems with any
> > other pages in
> > > the site. Anyone have a clue or a solution to this
> > puzzle??? I know we are
> > > losing sales, but we can't locate the source of the problem.
> >
> > We're experience exactly that problem (on 4.8.x), but I've no
> > idea why.
> > Clients are IE.
> >
> > Ciao
> > Racke
>
> We ran into this problem with clients that have IE 5.0/4.0 that haven't been
> patched to .02 versions or upgraded to 128-bit encryption. Upgrading
> OpenSSL/mod_ssl seemed to help (big recompiling pain, though), as well as
> making sure Apache was set for:
>
> SetEnvIf User-Agent ".*MSIE.*" \
> nokeepalive ssl-unclean-shutdown \
> downgrade-1.0 force-response-1.0
>
You probably don't want to do the workaround in ic, but better in
the web server. Depending on your server you may find options to tweak
response according to certain browsers or actions. Keepalive on CGI POST
is probably best disabled. This sort of stuff:
#define POST_NO_KEEPALIVE (TRUE)
/* By default keepalive is disabled for POSTS. If you want to
* allow persistent connections for POSTS, set this to FALSE
*/
Actually, we disable it on any CGI or dynamic content.
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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 4 17:59:02 2001
Subject: [ic] UPS zone-based shipping not working
> IC is calculating shipping rates for the wrong zone. It is using the
> zone charts from the 450 zip code instead of from our originating zip
> code.
>
> We have input our home zip code as the originating zip code, uploaded
> the updated UPS rate table, and modified the catalog.cfg file to call
> zone info from the correct zone chart (975.csv instead of
> 450.csv). It
> appears the missing link is loading the zone chart (975.csv) into the
> products directory. Any magic tricks on how to get this working?
>
> Thank you!
> Jami
Did you restart IC? :-)
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 4 18:04:02 2001
Subject: [ic] sql tag problem
>
> This query does not return a match, but it thinks it does and returns
> Paid commissions and a null value for [sql-code]. None of
> the database
> entries contain paid in the commission_status field.
>
>
>
> [query sql="select sum(commission) from transactions where affiliate =
> '[cgi affiliate]' and commission_status = 'paid'" interpolate
> =1 type=list ml=100]
>
> [on_match]
> Paid Commissions:$
> [/on_match]
>
> [no_match]
> No Commissions Paid
> [/no_match]
>
> [list]
> [sql-code]
> [/list]
> [/query]
Suggestions...
remove interpolate=1
add list=1
HTH,
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Thu Oct 4 18:26:01 2001
Subject: [ic] IRC weekly meetings
On Thu, 4 Oct 2001, Ross Cousens wrote:
> I like the idea of the weekly meeting on IRC to discuss all things
> Interchange, do you plan to have any facilities for logging/indexing the
> discussions. Over in Australia I believe 1pm EST/EDT (not sure which) is
> about 3am our time, and regardless of how much resolve I have I doubt I will
> be able to make it regularly.
We had a good meeting today and decided to have two regular meeting times
per week, so people know when they can find more people in the channel to
help with questions. Here are the times when we plan to meet, for around
an hour each time:
Tuesdays, 1200 UTC/GMT
Thursdays, 1700 UTC/GMT
server: irc.vensnews.com
channel: #interchange
URL (if you don't have an IRC client): http://www.vensnews.com/interchange/
Jon
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 4 18:35:02 2001
Subject: [ic] no one has been able to answer this: valid database reference
On Thu, 4 Oct 2001 mheins@redhat.com wrote:
>>I did post about this, but I wonder if it got through.
I think that there are leaks in the mail manager.
You sent me a personal reply to a message with a cc: to the list. I never
saw it on the list.
I was asked by a guy about stock-alerts and he gave me a link to a message
in the archives that was posted in early July. This was a an interesting
solution and I would have kept that one if I had seen it. I didn't see it.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 04, 2001 at 18:30 PM:
My other computer is an abacus.
----------------------------------------------------------------
This Linux System has been up 240 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 4 18:40:00 2001
Subject: [ic] Editing Admin UI
On Thu, 4 Oct 2001, Nathan D. Olmscheid wrote:
NDO>>Where do I edit the Admin UI?? I just basically want to change colors
NDO>>and pop in our logo, simple things like that. I know all of the graphics
NDO>>for that are in the Interchange directory, but where is the file to edit
NDO>>to change color, graphics names, etc.
I found quite a bit of it in /usr/local/interchange/lib/UI and just keep
burrowing around. It does, however, seem to use some files and pictures from
the catalog itself.
Since I am the only one using it, I've not paid much attention to the
cosmetics of it. I worry more about the cosmetics that the customers see.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 04, 2001 at 18:35 PM:
If nobody measures up, check your yardstick.
----------------------------------------------------------------
This Linux System has been up 240 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 4 18:45:02 2001
Subject: [ic] How Do I Identify By Version #
On Thu, 4 Oct 2001, Christopher VanOosterhout wrote:
CV>>I understand that as a responsible Interchange administrator, I should just
CV>>know the version of Interchange I run ... but I don't.
CV>>
CV>>I am considering an upgrade and I would like to know my current
CV>>version. How do I find that?
On mine, when I go into the Admin functions it's clearly labeled at the top.
I'm running 4.6.
And, in my version, when I start/restart Interchange the version number is
displayed.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 04, 2001 at 18:40 PM:
Money is the root of all evil; everyone needs roots!
----------------------------------------------------------------
This Linux System has been up 241 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 4 18:50:05 2001
Subject: [ic] interchange licenses
On Sat, 18 Nov 2000, vivek nambiar wrote:
vn>>the red hat e- commerce suite comes under BSD and GPL licenses, does
vn>>interchage come under the same licenses (both of the above)
vn>>please resolve my prob since i have to seriously consider the licenses issue
vn>>before i get down to development to the interchange add on
I would strongly recommend that you get copies of both licenses and sit down
with a lawyer you trust and have him explain to you what you can and can not
do under those licences and let him give you guidance about the specific
things that you want to try to do.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 04, 2001 at 18:45 PM:
The days of the digital watch are numbered
----------------------------------------------------------------
This Linux System has been up 241 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 4 18:55:04 2001
Subject: [ic] Interchange information required
On Thu, 4 Oct 2001, Theo Burger wrote:
TB>>I heard about Interchange, got hold of it, installed
TB>>it and it works fine. However, I am looking at setting
TB>>up a B2B e-commerce hub with lots of sellers and lots
TB>>of buyers - and Interchange seems to be geared to a
TB>>B2C environment. Just one feature I would need would
TB>>be different users logging in to the system would see
TB>>different pricing for the same item etc etc. I know I
TB>>haven't done my part in terms of trying customisation
TB>>etc , but would really appreciate somebody just giving
TB>>me their input on whether it is realistic of me to
TB>>customize/modify this product into a B2B e-commerce
TB>>hub ?? Thanks a million for your input. Theo Burger.
The construct demo has an affiliate plan. They can log in and you can
specify in their account certain flags.
Use the 'CommonAdjust' function to set pricing according to their affiliate
level.
In the spring, Mike wrote a detailed descriprion on how to use the
CommonAdjust. You should be able to find it in the mail archives.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 04, 2001 at 18:50 PM:
Patience is a virtue, it's just not one of my better virtues
----------------------------------------------------------------
This Linux System has been up 241 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Nathan)
Date: Thu Oct 4 19:11:01 2001
Subject: [ic] Editing Admin UI
This is the first I have decided to look into it too. I own a hosting
company so I want to just want to brand it in some way to our company.
Nothing fancy at all. Change logo, and colors. I was digging around as you
did and I found the same stuf you did too! I will give a shot tommorow
maybe?
Thanks for the help!
Nathan
----- Original Message -----
From: "Jim Balcom" <jim@idk-enterprises.com>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 04, 2001 5:39 PM
Subject: Re: [ic] Editing Admin UI
> On Thu, 4 Oct 2001, Nathan D. Olmscheid wrote:
>
> NDO>>Where do I edit the Admin UI?? I just basically want to change colors
> NDO>>and pop in our logo, simple things like that. I know all of the
graphics
> NDO>>for that are in the Interchange directory, but where is the file to
edit
> NDO>>to change color, graphics names, etc.
>
> I found quite a bit of it in /usr/local/interchange/lib/UI and just keep
> burrowing around. It does, however, seem to use some files and pictures
from
> the catalog itself.
>
> Since I am the only one using it, I've not paid much attention to the
> cosmetics of it. I worry more about the cosmetics that the customers see.
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Thursday, October 04, 2001 at 18:35 PM:
> If nobody measures up, check your yardstick.
>
> ----------------------------------------------------------------
> This Linux System has been up 240 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Kevin Manderson)
Date: Thu Oct 4 19:26:01 2001
Subject: [ic] backup with the full spreadsheet output
Hi All,
I have IC running for a significant cart. Would like to do some backups
and move it to another machine as well.
I have tried the spreadsheet output for all tables, ie create a
spredsheet backup for a reload. It seems to run fine. Problem is
the .xls file size is 0. If I run the normal export/default file all is
ok and the files drop into the same directory on the server so it isn't
protections.
IC 4.8.2, RH7.1, Perl 5.6.0. Have all the perl modules installed but
there were some hassles in getting the perl side to work originally.
The IC has only some extremely minor cosmetic changes.
Any ideas to check out.
Different problem but we also have one item that is in (Admin) product
and inventory, searchable etc just fine, but cannot be found in the
main cart. All the other products are setup the same and are working
as expected. Another reason I would like to do a backup to spreadsheet,
check it out and reload.
Regards
kevin
(The recent problem of hidden admin tables was resolved by MikeH,
thanks Mike)
--
Kevin Manderson MBA, ExecDipEnt Strategic IT and E-Commerce
Specialising in IT and on-line strategies, database systems and
consulting
http://gocdo.net.au or http://wso.nu E-mail mailto:kevin@wso.nu
PO Box 195, Launceston TAS 7250 Australia.
Telephone +61 0407 524 513. Ph/Fax +61 3 6331 9007
Sydney office: 8 Bright Street, Marrickville NSW 2204. Phone: +61 2 9564
6452.
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 4 19:32:03 2001
Subject: [ic] UPS zone-based shipping not working
On Thu, 4 Oct 2001, Jami wrote:
J>>IC is calculating shipping rates for the wrong zone. It is using the
J>>zone charts from the 450 zip code instead of from our originating zip
J>>code.
J>>
J>>We have input our home zip code as the originating zip code, uploaded
J>>the updated UPS rate table, and modified the catalog.cfg file to call
J>>zone info from the correct zone chart (975.csv instead of 450.csv). It
J>>appears the missing link is loading the zone chart (975.csv) into the
J>>products directory. Any magic tricks on how to get this working?
Change it in catalog.cfg UpsZoneFile
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 04, 2001 at 19:30 PM:
Your analyst has you confused with another patient.
----------------------------------------------------------------
This Linux System has been up 241 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 4 19:39:03 2001
Subject: [ic] backup with the full spreadsheet output
> Hi All,
>
> I have IC running for a significant cart. Would like to do
> some backups
> and move it to another machine as well.
>
> I have tried the spreadsheet output for all tables, ie create a
> spredsheet backup for a reload. It seems to run fine. Problem is
> the .xls file size is 0. If I run the normal export/default
> file all is
> ok and the files drop into the same directory on the server
> so it isn't
> protections.
>
> IC 4.8.2, RH7.1, Perl 5.6.0. Have all the perl modules installed but
> there were some hassles in getting the perl side to work originally.
> The IC has only some extremely minor cosmetic changes.
>
> Any ideas to check out.
>
> Different problem but we also have one item that is in
> (Admin) product
> and inventory, searchable etc just fine, but cannot be found in the
> main cart. All the other products are setup the same and are working
> as expected. Another reason I would like to do a backup to
> spreadsheet,
> check it out and reload.
>
> Regards
> kevin
>
> (The recent problem of hidden admin tables was resolved by MikeH,
> thanks Mike)
>
> --
> Kevin Manderson MBA, ExecDipEnt Strategic IT and
It seems like a big hassle to do export/import. Why not just copy the
catalog directory to the new box and add a line in interchange.cfg? You can
bring your UI changes with you as well (I prefer a diff vs. the installed
ver). HTH,
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 4 19:56:01 2001
Subject: [ic] table editor question
What settings do I use to make it possible to use the table-editor tag
that allows anyone to insert/update entries, and not just a user that has
specific permissions? Or can this be done?
Chris
From: interchange-users at interchange.redhat.com (Corey Gilmore)
Date: Thu Oct 4 20:05:01 2001
Subject: [ic] TABLE STRUCTURES
On Thu, 4 Oct 2001, Fiber Connect wrote:
> Hi List,
> Does anyone have the Database Table Structure thats been used at
> Interchange ?
>
Yup, check in catalog_name/dbconf/mysql/
The files there are not normal mysql files, but you should be able to get
the idea. Of course if you are not using mysql the dir will have a
different name.
From: interchange-users at interchange.redhat.com (Morrie Wyatt)
Date: Thu Oct 4 20:48:00 2001
Subject: [ic] interchange licenses
Answer is simple.
If you use GNU based code in your creation, you must
also relase your code under the same license.
You retain the copyright to your own code
(ie, nobody else can copyright your code), but
must supply or make available your code under
the GPL provisions.
If you want to hold full copyright you will have to
do it without the use of GNU tools.
The way to generate revenue from GNU code is by means
of providing a service and charging for the service
component, not the software itself.
Also keep in mind Perl's "artistic license" which
you will also need to comply to.
Regards,
Morrie.
Morrie Wyatt (morrie@mtiqualos.com.au)
-----------------------------------------
M.T.I. Qualos Pty. Ltd.
55 Northern Rd. West Heidelberg Vic. 3081
Ph: (03)9450-1900 Fax: (03)9450-1947
-----------------------------------------
----- Original Message -----
From: "vivek nambiar" <fctmaillist@megasoft.com>
To: <interchange-users@interchange.redhat.com>
Sent: Sunday, November 19, 2000 10:29 AM
Subject: Re: [ic] interchange licenses
> thanks david
> could u supply me with some other info
> if i enchance interchange and add some perl code to it
> ot give it some added functionality what licenses do i
> distrbute it under??can i copyright my code under such situation.if not
how
> do i protect my code.
> thanks a lot
> reg megaS
>
> ----- Original Message -----
> From: "David Totten" <dstotten@davetotten.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Thursday, October 04, 2001 5:27 AM
> Subject: Re: [ic] interchange licenses
>
>
> > On Sat, 2000-11-18 at 16:33, vivek nambiar wrote:
> > >
> > > hi guys
> > > can u give me any info regarding the licenses under which interchange
is
> > > available.
> > > thanks
> > > reg megaS
> >
> > Interchange is available under the GPL. A copy of the License is
> > available in the tar.gz that is available from http://ic.redhat.com
> >
> > Dave Totten
> > --
> > ___________________________________________________________________
> > GnuPG uid: 0x887B864C
> > Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
> > For more information about GnuPG, visit http://www.gnupg.org
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Kevin Manderson)
Date: Thu Oct 4 21:53:00 2001
Subject: [ic] backup with the full spreadsheet output
Hi
But I really want to do a backup and take the opportunity to clean it
all up as well.
I also want to migrate from dbm to mysql asap and working from the
spreadsheet backup seems the easiest way to go.
regards
kevin
> It seems like a big hassle to do export/import. Why not just copy the
> catalog directory to the new box and add a line in interchange.cfg?
You can
> bring your UI changes with you as well (I prefer a diff vs. the
installed
> ver). HTH,
From: interchange-users at interchange.redhat.com (Joshua Sowin)
Date: Thu Oct 4 22:37:00 2001
Subject: [ic] Permission problems / ExecCGI option on?
Hello,
I'm still trying to get interchange to work on my Raq system... and I'm
almost there. The one last thing I have to do (well, hopefully) is to run
the interchange script without cgi-wrapper. I added the AddHandler to
handle .ic files as a cgi-script, but when I try to run the script I get a
permission denied error.
The error log in apache says that the ExecCGI option is not on in the
directory it is in, so I enabled it (I tried to anyway) by adding the
following in my access.conf and httpd.conf:
<Directory /home/sites/home/web/>
Options FollowSymLinks ExecCGI
</Directory>
But yet I still get the same permissions error (you can see it at
http://64.94.194.167/foundation.ic
I hope someone can help with this, I'm about sick of all these problems
just to get this to work... Thanks in advance!
In Christ,
Joshua Sowin
founder, gracehost.com
webmaster, 5050petsupply.com
From: interchange-users at interchange.redhat.com (Ross Cousens)
Date: Thu Oct 4 23:17:01 2001
Subject: [ic] Permission problems / ExecCGI option on?
Josh,
I posted a while ago the steps I went through to get IC working on a RaQ4.
Basically from scratch what I did, create a new site, make user interch
under new site, configure and install interch, ie
/home/sites/site1/users/interch/interchange for the installation, and then
/home/sites/site1/users/interch/catalogs for catalog directories. Edit
/etc/httpd/conf/httpd.conf, and for the <VirtualHost> tag for site1, I put
the following line in:
AddHandler cgi-script .ic
Then in access.conf I put:
<Directory /home/sites/site1/web>
AllowOverride All
Options All
</Directory>
Then when running makecat, base path was /home/site/site1/web, no cgi
directory, and cgi url was shop1.ic or foundation.ic or whatnot.
Not sure how picky Apache is on syntax and whether that trailing slash makes
a difference (/home/web/), though I would assume not. The other
consideration is I thought /home/sites/home was controlled by the admin
server (a different instance of Apache), where as the /home/sites directory
and subdirs besides /home were controlled by the normal http server.
Best of luck,
Ross Cousens
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Joshua Sowin
Sent: Friday, 5 October 2001 2:36 AM
To: interchange-users@interchange.redhat.com
Subject: [ic] Permission problems / ExecCGI option on?
Hello,
I'm still trying to get interchange to work on my Raq system... and I'm
almost there. The one last thing I have to do (well, hopefully) is to run
the interchange script without cgi-wrapper. I added the AddHandler to
handle .ic files as a cgi-script, but when I try to run the script I get a
permission denied error.
The error log in apache says that the ExecCGI option is not on in the
directory it is in, so I enabled it (I tried to anyway) by adding the
following in my access.conf and httpd.conf:
<Directory /home/sites/home/web/>
Options FollowSymLinks ExecCGI
</Directory>
But yet I still get the same permissions error (you can see it at
http://64.94.194.167/foundation.ic
I hope someone can help with this, I'm about sick of all these problems
just to get this to work... Thanks in advance!
In Christ,
Joshua Sowin
founder, gracehost.com
webmaster, 5050petsupply.com
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Fri Oct 5 03:14:03 2001
Subject: [ic] Paybox and IC!
Ed LaFrance wrote:
>
> At 04:30 PM 10/04/2001 +0200, you wrote:
> >David Bordas wrote:
> > >
> > > Hi,
> > >
> > > I use paybox and it works great.
> > > I'm under IC 4.8.2.
> >
> >That is great to hear this!
> >
> > > Ed LaFrance has made me the changes for paybox.
> > >
> > > If you're interesting contact him and perhaps you could make a deal
> > > together.
> >
> >Hi Ed,
> >
> >are you so kind to share your solutions with me?
> >
> >Thanks!
> >
> >Joachim
>
> Sorry, but it appears that paybox.com and paybox.net are different companies.
With my bad knowloedge of the french language, it seems to me too.
I try to use the paybox and I've tested it succesfull with IC. But it is
not ready yet.
ciao and many Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 5 03:26:03 2001
Subject: [ic] interchange licenses
"Morrie Wyatt" <morrie@morrie.sims.com.au> writes:
> Answer is simple.
> If you use GNU based code in your creation, you must
> also relase your code under the same license.
>
> You retain the copyright to your own code
> (ie, nobody else can copyright your code), but
> must supply or make available your code under
> the GPL provisions.
>
> If you want to hold full copyright you will have to
> do it without the use of GNU tools.
>
> The way to generate revenue from GNU code is by means
> of providing a service and charging for the service
> component, not the software itself.
>
> Also keep in mind Perl's "artistic license" which
> you will also need to comply to.
Your answer is not correct. Please read up the GPL more
thoroughly.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Rob Buijs)
Date: Fri Oct 5 05:07:01 2001
Subject: [ic] IRC weekly meetings
Hi all,
Unfortunatly I couldn't make it to IRC on time. Is there a log of the
meeting? Post it here plz.
I think it's a good idea to post logs of the IC IRC meetings to this list,
or to the http://ic.redhat.com site, like Ross suggested.
Cheers,
Robsky.
>
> On Thu, 4 Oct 2001, Ross Cousens wrote:
>
> > I like the idea of the weekly meeting on IRC to discuss all things
> > Interchange, do you plan to have any facilities for logging/indexing the
> > discussions. Over in Australia I believe 1pm EST/EDT (not sure which) is
> > about 3am our time, and regardless of how much resolve I have I
> doubt I will
> > be able to make it regularly.
>
> We had a good meeting today and decided to have two regular meeting times
> per week, so people know when they can find more people in the channel to
> help with questions. Here are the times when we plan to meet, for around
> an hour each time:
>
> Tuesdays, 1200 UTC/GMT
> Thursdays, 1700 UTC/GMT
>
> server: irc.vensnews.com
> channel: #interchange
> URL (if you don't have an IRC client):
http://www.vensnews.com/interchange/
Jon
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 5 05:11:01 2001
Subject: [ic] unable to display page errors
"Dan Browning" <danpb@mail.com> writes:
[...]
>
> We ran into this problem with clients that have IE 5.0/4.0 that haven't been
> patched to .02 versions or upgraded to 128-bit encryption. Upgrading
> OpenSSL/mod_ssl seemed to help (big recompiling pain, though), as well as
> making sure Apache was set for:
>
> SetEnvIf User-Agent ".*MSIE.*" \
> nokeepalive ssl-unclean-shutdown \
> downgrade-1.0 force-response-1.0
>
> (see http://www.modssl.org/docs/2.8/ssl_faq.html#ToC49)
>
> I'm not sure we even got all the problems, but it has helped a lot. It
> would be good to build a browser-client database of what is needed for the
> most compatibility. But it is so much work to build multiple windows boxes
> / VMware images for all the different versions of IE (since it is impossible
> to load two simultaneous versions like Netscape). I don't think it matters,
> but we're using Verisign 128-bit certs, BTW.
>
> Also see Microsoft bug reports re. buggy SSL in IE:
>
> http://support.microsoft.com/support/kb/articles/Q247/3/67.ASP?LN=EN-US&SD=g
> n&FR=0&qry=SSL%20128-bit&rnk=3&src=DHCS_MSPSS_gn_SRCH&SPR=IE
>
> http://support.microsoft.com/support/kb/articles/Q257/9/78.ASP?LN=EN-US&SD=g
> n&FR=0&qry=SSL%20128-bit&rnk=4&src=DHCS_MSPSS_gn_SRCH&SPR=IE
>
> (there are some more too, can't find them, anyone else got them?)
>
> Verisign has some good info on the problem too:
>
> http://www.verisign.com/cgi-bin/kb/clearexp_cgi/solution.htm?probdesc.objid=
> 268500870
>
> HTH. Racke, if you do pinpoint it, would you let me know?
I think this problem is pretty confirmed and the MS-using guys in my
company admitted that the SSL-implementation of IE is buggy. I'll try
to figure a working setup for Apache/mod-ssl.
Thanks for your good problem report.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Fri Oct 5 06:38:01 2001
Subject: [ic] payment gateway
Hi,
i am searching for an example how to integrate a payment-gateway in ic.
everything is done in ic and the payment is handled by an external
provider. i know there are much postings about but i found nothing
useful for me! so if anyone has usefull code please mail it to me
(t.henle@thiesen.com). i am especially interested in the
checkout-profiles and pages!
thank u
cu (mit freundliche Grüßen)
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 5 07:51:01 2001
Subject: [ic] payment gateway
Tobias Henle <t.henle@thiesen.com> writes:
> Hi,
> i am searching for an example how to integrate a payment-gateway in ic.
> everything is done in ic and the payment is handled by an external
> provider. i know there are much postings about but i found nothing
> useful for me! so if anyone has usefull code please mail it to me
> (t.henle@thiesen.com). i am especially interested in the
> checkout-profiles and pages!
What about lib/Vend/Payment.pm and lib/Vend/Payment/*.pm ?
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Olaf Raabe)
Date: Fri Oct 5 08:49:01 2001
Subject: [ic] parameters for access contoll with access.asc
I can't find a detailed description of the access.asc parameters.
Only a few fields are explained but I tried to limit the access to a few
functions like the shipping account.
Has anybody a idea where I can find a detailed desciption?
Thanks Olaf
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Fri Oct 5 09:05:01 2001
Subject: [ic] IRC weekly meetings
On Fri, 5 Oct 2001, Rob Buijs wrote:
> Unfortunatly I couldn't make it to IRC on time. Is there a log of the
> meeting? Post it here plz.
http://interchange.redhat.com/cgi-bin/ic/chat/
Jon
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Fri Oct 5 09:15:01 2001
Subject: [ic] IRC weekly meetings
Quoting Rob Buijs (rob@merchandisingdirect.com):
> Hi all,
>
> Unfortunatly I couldn't make it to IRC on time. Is there a log of the
> meeting? Post it here plz.
>
> I think it's a good idea to post logs of the IC IRC meetings to this list,
> or to the http://ic.redhat.com site, like Ross suggested.
http://ic.redhat.com/cgi-bin/ic/chat
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: interchange-users at interchange.redhat.com (Sheamus Nulty)
Date: Fri Oct 5 09:43:00 2001
Subject: [ic] item-list sort order
Hi Folks,
Could some please enlighten me as to how I would change the sort order for
items in a basket so that the last item added to the basket appears at the
top and not the bottom.
Thanks
Sheamus
From: interchange-users at interchange.redhat.com (System Administrator)
Date: Fri Oct 5 09:49:01 2001
Subject: [ic] Decade Links
This is a multi-part message in MIME format.
----------1002289728
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
OK, I am stumped….
On the search results page, I use the
[decade-next][/decade-next][decade-previous][/decade-previous] tags for the
1 2 3 <<next>> effect on the search results overflow.
All worked fine for 6 months on Interchange 4.6.5
Had to move site to new server, installed IC 4.6.5 and all was fine (so I thought).
Seems the decade tags work in my IE5.5 fine, but NN users (well anything besides IE5.5, 5.0 produces error) produce an error when the decade links are clicked (no search results found for search string . ) on the second page.
The error log shows this line;
195.53.20.133 DDsnUwm5:195.53.20.133 - [05/October/2001:08:24:52 -0400] htfcds /index.cgi/scan/MM=87771b71f4c071b07423f8f951c730ff:25:44:25 search error: Object saved wrong in /home/htfcds/catalogs/htfcds/tmp/D/DDsnUwm5.87771b71f4c071b07423f8f951c730ff for search ID DDsnUwm5.87771b71f4c071b07423f8f951c730ff.
Can anyone help with what IE sees and NN does not?
Thanks in advance
Russ Smith
http://Hardtofindcds.com
----------1002289728--
From: interchange-users at interchange.redhat.com (Dennis Styles)
Date: Fri Oct 5 11:01:00 2001
Subject: [ic] Shipping charges not computing on checkout screen
I'm testing the functionality of a new shopping cart that I have set up
using Interchange 4.8. When I go to the check out screen there is a message
that says "Note: GNDRES: Missing ShipperPostalCode". The shipping method
drop down list doesn't have any choices in it. For this test user, I've set
the default shipping method as UPS Ground Residential (GNDRES). I don't have
any idea how or where to set the ShipperPostalCode. Any ideas?
Thanks,
Dennis Styles
From: interchange-users at interchange.redhat.com (Dave Barr)
Date: Fri Oct 5 11:18:01 2001
Subject: [ic] How Do I Identify By Version #
At 18:45 -0400 4/10/01, Jim Balcom wrote:
>On Thu, 4 Oct 2001, Christopher VanOosterhout wrote:
>
>CV>>I understand that as a responsible Interchange administrator, I
>should just
>CV>>know the version of Interchange I run ... but I don't.
>CV>>
>CV>>I am considering an upgrade and I would like to know my current
>CV>>version. How do I find that?
>
>On mine, when I go into the Admin functions it's clearly labeled at the top.
>I'm running 4.6.
>
>And, in my version, when I start/restart Interchange the version number is
>displayed.
It can also be called with the IC tag [version] I have a snippet of
code below which is in the header and footer of all pages which I use
for debug purposes
<!--
UserID : [data session id]
RH-IC : [version]
Page : @@MV_PAGE@@
-->
Regards
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dave Barr eCommerce Technical Manager CricInfo Ltd
www.cricinfo.com dave.barr@cricinfo.com Tel: 01249 700748
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: interchange-users at interchange.redhat.com (Kaare Rasmussen)
Date: Fri Oct 5 11:41:01 2001
Subject: [ic] Documentation search: table_editor and soap
I have a very good idea that these features can help me with my Freemoney
project, but all searches for any documentation turns up nothing.
Is it correct that there is none? If so, I will stop searching :-)
If I'm not mistaken, there are examples for table-edit, so even though real
docs would be very nice, it seems possible to get along.
The soap tag seems simple, but as I'm blank on this topic, some examples
would be nice :-) As I can see, it is only a client for soap, right?
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk
2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Fri Oct 5 12:11:01 2001
Subject: [ic] Documentation search: table_editor and soap
> I have a very good idea that these features can help me with
> my Freemoney
> project, but all searches for any documentation turns up nothing.
>
> Is it correct that there is none? If so, I will stop searching :-)
>
> If I'm not mistaken, there are examples for table-edit, so
> even though real
> docs would be very nice, it seems possible to get along.
>
> The soap tag seems simple, but as I'm blank on this topic,
> some examples
> would be nice :-) As I can see, it is only a client for soap, right?
>
> --
> Kaare Rasmussen --Linux, spil,-- Tlf:
SOAP Docs: http://ftp.interchange.redhat.com/interchange/alpha/soap.html
table_editor.tag itself has documentation at the top of the file, as well as
the attached TIPS posted by Zack Johnson.
Mike Heins also went over SOAP a bit in the last Webcast:
The event was recorded and is available for you to view at your
convenience here: (I wonder if I'm encoding my session variables in this
link again, but oh well.)
http://redhat.rgc2.com/servlet/cc?koDZUYEKHgiIFtHpsDJhtE0ET
To access a PDF version of the slides, click the link below:
http://redhat.rgc2.com/servlet/cc?koDZUYEKHgiIFtHpsDJhtE0EU
HTH & HAND. BTW, I'm still looking forward to FreeMoney progress; I finally
finished reading 1050 pages "Principles of Accounting" in my spare time, and
I wonder if accounting is my true career. ;-)
Dan Browning <danpb@mail.com>
1. Create and configure mysql table
-----------------------------------
See my TIPS: Adding mysql tables for directions.
2. Open up a text editor.
-------------------------
This one ought to be easy. If not, I'm sorry, but you'll have to put this
down.
3. Add the basics to make this page look like one of your other pages.
----------------------------------------------------------------------
Type, copy or paste into your text editor:
[comment]
ui_template: Yes
ui_template_name: leftonly
[/comment]
Please save.
4. Add the [table-editor] tag.
------------------------------
This tag makes your life easy by building the form, and updating the table
as needed.
[table-editor
href=process
mv_nextpage=@@MV_PAGE@@
table=foo
key="bar"
ui_data_fields="bar1 bar2 bar3..."
]
You'll want to substitue your table name for 'foo'. The key value
should be just that,
the key value. This is how [table-editor] find the record your looking for.
In
ui_data_fields, you list the fields you want in the form.
For example, let's suppose your new table is 'airport_codes'. I has two
fields,
'airport_code' and 'name'. We want to edit record for 'JAX':
[table-editor
href=process
mv_nextpage=@@MV_PAGE@@
table=airport_codes
key="JAX"
ui_data_fields="airport_code name"
]
A page will then display which contains a form that lets us edit this
record. When you
submit the form, IC will update the DB record.
5. Set data restrictions.
-------------------------
[table-editor] lets you perform data validation. Let's require the 'name'
value.
[table-editor
href=process
mv_nextpage=@@MV_PAGE@@
table=airport_codes
key="JAX"
ui_data_fields="airport_code name"
check.name = "required Please enter a location name"
]
6. Customize the table layout.
-------------------------------
[table-editor] features some nifty features. If your table includes more
than just a few
fields, it's going to start looking very unfriendly.
You can break up the table using ui_break_before. This option inserts a
colored band
before a specified field. And, using ui_break_before_label, you can insert
a nice section
heading. In this example I will insert a break before each field:
[table-editor
href=process
mv_nextpage=@@MV_PAGE@@
table=airport_codes
key="JAX"
ui_data_fields="airport_code name"
check.name = "required Please enter a location name"
ui_break_before = "airport_code name"
ui_break_before_label = "airport_code=Airport Code,name=Airport Name"
]
You will also notice a row of buttons at the TOP of your table. This might
be unwanted.
To turn them off, use no_top:
[table-editor
href=process
mv_nextpage=@@MV_PAGE@@
table=airport_codes
key="JAX"
ui_data_fields="airport_code name"
check.name = "required Please enter a location name"
ui_break_before = "airport_code name"
ui_break_before_label = "airport_code=Airport Code,name=Airport Name"
no_top=1
ui_display_only="property_id"
]
To turn off the display of the key field, use ui_hide_key:
[table-editor
href=process
mv_nextpage=@@MV_PAGE@@
table=airport_codes
key="JAX"
ui_data_fields="airport_code name"
check.name = "required Please enter a location name"
ui_break_before = "airport_code name"
ui_break_before_label = "airport_code=Airport Code,name=Airport Name"
no_top=1
ui_display_only="property_id"
ui_hide_key=1
]
You can also create wizards with [table-editor]. For information, take a
look at the
wizard directory under the admin pages. step_company.html will get you
started.
At the end of this page you'll find all of the options for [table-editor].
Many of them
are self-explanatory.
7. Edit mv_metadata for your new table.
---------------------------------------
If you want your table to look nice, you'll need to forray into mv_metadata.
Don't groan,
it's not so bad. We'll just do two things with it: one practical, the other
practical too.
First, we'll apply labels to the fields. This makes them look pretty.
Second, we'll use
the contents of a table to pull in options for a <select> HTML tag.
1. Pretty Labels
If you haven't already, create a mv_metadata entry for your table. Go to
Administration >
Tables > mv_metadata > New Entry. In the first box, code (labelled
'Table::Column'), enter
the name of your table. Under 'label', enter the label you would like for
this field.
For example:
Table::Column new_table
Label A New Table
2. Happy Select Boxes
Let's say we want to let the user specify and airport_code in their userdb.
Assume we've
made the necessary modifications to userdb. If we want to pull in the
values in our
airport_codes table for our select box, we would modify userdb::airport_code
in mv_metadata
like so:
Table::Column userdb::airport_code
Type Select Box
Lookup Table airport_codes
Label Preferred Airport
Lookup Select airport_code,name
The last entry, Lookup Select, tells table_editor the values to pull out of
airport_code
for our select. Remeber, select only takes two items: the "value" and the
"label". The
value is what goes into the database, the label is what shows up in the
dropdown. In the
Lookup Select field, the first item becomes the value, the second becomes
the label. In
our example, the database records "JAX" when the user selects "Jacksonville,
FL".
Don't forget to "apply changes" after you made your modifications.
Otherwise, mv_metadata
will.
Good luck!
*******************************************
ALL OPTIONS:
[table-editor
table=ic_table
cgi=1*
item-id="key"
across=n*
noexport=1*
wizard=1*
next_text='Next -->'*
cancel_text='Cancel'*
back_text='<-- Back'*
hidden.formvarname="value"
item_id_left="keys remaining"
mv_blob_field=column*
mv_blob_nick=name*
mv_blob_pointer="current name"*
mv_blob_label="Label text"
mv_blob_title="Title HTML"
ui_break_before="field1 field2"
ui_break_before_label="field1=Label 1, field2=Label 2"
ui_data_fields="field1 field2 fieldn ..."*
ui_data_fields_all=1*
ui_display_only="no_set_field"*
ui_hide_key=1*
ui_meta_specific=1*
ui_meta_view="viewname"
ui_nextpage="next_destination"
ui_prevpage="back_destination"
ui_return_to="cancel_destination"
ui_new_item=1*
ui_sequence_edit=1*
ui_clone_id="key"
ui_clone_tables="table1 table2 ..."
ui_delete_box=1*
mv_update_empty=0*
widget.field="select|text|any ic widget"
label.field="Field Label"
help.field="Help text"
help-url.field="http://url/to/more/help"
default.field="preset value"*
override.field="forced value"*
filter.field="filter1 filter2"
pre-filter.field="filter1 filter2"
error.field=1*
height.field=N
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 5 12:15:01 2001
Subject: [ic] Documentation search: table_editor and soap
Kaare Rasmussen <kar@kakidata.dk> writes:
> I have a very good idea that these features can help me with my Freemoney
> project, but all searches for any documentation turns up nothing.
>
> Is it correct that there is none? If so, I will stop searching :-)
>
> If I'm not mistaken, there are examples for table-edit, so even though real
> docs would be very nice, it seems possible to get along.
>
> The soap tag seems simple, but as I'm blank on this topic, some examples
> would be nice :-) As I can see, it is only a client for soap, right?
No, IC can act as SOAP server. See the SOAPwhatever configuration
directives. AFAIR there is a documentation on SOAP on the FTP
server. Otherwise wring it out of Mike :-;
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Fri Oct 5 12:17:59 2001
Subject: [ic] item-list sort order
At 02:37 PM 10/05/2001 +0100, you wrote:
>Hi Folks,
>
>Could some please enlighten me as to how I would change the sort order for
>items in a basket so that the last item added to the basket appears at the
>top and not the bottom.
>
>Thanks
>
>Sheamus
Hmmm... I don't think there is an existing feature to do what you
want. You can (or could, but perhaps not now) use the [sort] tag in the
item list to sort the line items, but only by the value of some related
field in a table.
Here's a stupid hack that does the job, you should put it at the top of the
ord/basket.html page, and any other page in which the cart cotents can be
modified (like ord/checkout.html):
[calc]
my $cart = $Carts->{main};
if ($#{$cart} > 0 && $#{$cart} > $Scratch->{last_item_count}) {
unshift @{$cart}, (splice @{$cart}, $#{$cart}, 1);
}
$Scratch->{last_item_count} = $#{$cart};
[/calc]
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (System Administrator)
Date: Fri Oct 5 12:28:01 2001
Subject: [ic] RizerFS (was: Decade...)
This is a multi-part message in MIME format.
----------1002299274
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Ok, Since this Q goes unanswered, another one...
Would having the RizerFS (file system) on a server effect the writing of the temp files or session files?
Thanks
System Administrator <admin@mediaservices.net> wrote ..
> OK, I am stumped….
>
> On the search results page, I use the
>
> [decade-next][/decade-next][decade-previous][/decade-previous] tags for
> the
>
> 1 2 3 <<next>> effect on the search results overflow.
>
> All worked fine for 6 months on Interchange 4.6.5
>
> Had to move site to new server, installed IC 4.6.5 and all was fine (so
> I thought).
>
> Seems the decade tags work in my IE5.5 fine, but NN users (well anything
> besides IE5.5, 5.0 produces error) produce an error when the decade links
> are clicked (no search results found for search string . ) on the second
> page.
>
> The error log shows this line;
>
> 195.53.20.133 DDsnUwm5:195.53.20.133 - [05/October/2001:08:24:52 -0400]
> htfcds /index.cgi/scan/MM=87771b71f4c071b07423f8f951c730ff:25:44:25 search
> error: Object saved wrong in /home/htfcds/catalogs/htfcds/tmp/D/DDsnUwm5.87771b71f4c071b07423f8f951c730ff
> for search ID DDsnUwm5.87771b71f4c071b07423f8f951c730ff.
>
> Can anyone help with what IE sees and NN does not?
>
>
> Thanks in advance
> Russ Smith
> http://Hardtofindcds.com
----------1002299274--
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Fri Oct 5 12:51:00 2001
Subject: [ic] mv_credit_card_reference
IC 4.8.2, quick question:
I wish to do the following in my order profile:
>>>>>>>>>>>>
&credit_card=standard keep
[perl]
# do something with $::Values->{mv_credit_card_reference};
[/perl]
>>>>>>>>>>>>
As far as I know the &credit_card pragma takes the credit card info held in
the variables mv_credit_card_number, mv_credit_card_exp_month, etc.
validates them and then places a shortened version of the CC in the variable
mv_credit_card_reference. I would like to use this variable from a perl
portion of code right after the pragma, but the variable appears empty. Is
it that [perl]...[/perl] is evaluated BEFORE the execution of &credit_card?
Javier
From: interchange-users at interchange.redhat.com (Jeff Carnahan)
Date: Fri Oct 5 13:02:01 2001
Subject: [ic] RizerFS (was: Decade...)
} Would having the RizerFS (file system) on a server effect the
} writing of the temp files or session files?
}
It shouldn't. ReiserFS is just another file system you may choose from. You
can just as easily use Interchange on ReiserFS, ext2, ext3, NFS, and many
other file systems. Interchange doesn't have any specific reliance on a
particular file system aside from the normal requirements for file security
permissions.
But, you ask if the existence of a ReiserFS partition will affect temp and
session files. This can't be adequately determined by your question alone.
ReiserFS may affect the performance of writing, reading or otherwise
accessing these files (either a positive or negative performance impact) but
this is extremely dependent on your hardware, the file system you're
comparing ReiserFS against, etc. This should be of little if no concern.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Fri Oct 5 13:47:00 2001
Subject: [ic] MS SQL as backend
check out www.freetds.org they have a cure for what ails ya
-----Original Message-----
From: francisv@dagupan.com [mailto:francisv@dagupan.com]
Sent: Monday, September 17, 2001 6:03 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] MS SQL as backend
Hi,
Is there a HOWTO for using Microsoft SQL as backend for Interchange? I
already have a box running Interchange 4.8.1 and I need to connect the box
to the MS SQL server.
---
francis vidal [bitstop network services]
streaming media + web services
v(02)330-2871,(02)330-2872
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Fri Oct 5 14:11:00 2001
Subject: [ic] mv_credit_card_reference
Quoting Javier Martin (martin@trymedia.com):
> IC 4.8.2, quick question:
>
> I wish to do the following in my order profile:
>
>
> >>>>>>>>>>>>
>
> &credit_card=standard keep
>
> [perl]
> # do something with $::Values->{mv_credit_card_reference};
> [/perl]
>
> >>>>>>>>>>>>
>
>
> As far as I know the &credit_card pragma takes the credit card info held in
> the variables mv_credit_card_number, mv_credit_card_exp_month, etc.
> validates them and then places a shortened version of the CC in the variable
> mv_credit_card_reference. I would like to use this variable from a perl
> portion of code right after the pragma, but the variable appears empty. Is
> it that [perl]...[/perl] is evaluated BEFORE the execution of &credit_card?
>
Yes.
If you want to do it inline, i.e. after the &credit_card, do:
&calc=<<EOF
# do something with $::Values->{mv_credit_card_reference};
EOF
Make sure that returns a true value, otherwise the profile will
fail. You would be required to set any errors in $Session->{errors}
yourself.
If you need to open any tables, make sure you put a
[perl tables="table"][/perl]
somewhere in the profile so you won't error out during run of
tag_data or such.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Fri Oct 5 14:39:00 2001
Subject: [ic] mv_credit_card_reference
Mike Heins said...
> Quoting Javier Martin (martin@trymedia.com):
> > IC 4.8.2, quick question:
> >
> > I wish to do the following in my order profile:
> >
> >
> > >>>>>>>>>>>>
> >
> > &credit_card=standard keep
> >
> > [perl]
> > # do something with $::Values->{mv_credit_card_reference};
> > [/perl]
> >
> > >>>>>>>>>>>>
> >
> >
> > As far as I know the &credit_card pragma takes the credit card
> info held in
> > the variables mv_credit_card_number, mv_credit_card_exp_month, etc.
> > validates them and then places a shortened version of the CC in
> the variable
> > mv_credit_card_reference. I would like to use this variable from a perl
> > portion of code right after the pragma, but the variable
> appears empty. Is
> > it that [perl]...[/perl] is evaluated BEFORE the execution of
> &credit_card?
> >
>
> Yes.
>
> If you want to do it inline, i.e. after the &credit_card, do:
>
> &calc=<<EOF
> # do something with $::Values->{mv_credit_card_reference};
> EOF
>
> Make sure that returns a true value, otherwise the profile will
> fail. You would be required to set any errors in $Session->{errors}
> yourself.
>
> If you need to open any tables, make sure you put a
>
> [perl tables="table"][/perl]
>
> somewhere in the profile so you won't error out during run of
> tag_data or such.
Thanks a lot Mike. I solved it by calling:
my $cc_ref = (Vend::Order::encrypt_standard_cc($CGI, 1)) [6]
from [perl], but &calc looks cleaner because I'm validating the CC twice...
Javier
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Fri Oct 5 14:56:01 2001
Subject: [ic] mv_credit_card_reference
Quoting Javier Martin (martin@trymedia.com):
>
> Thanks a lot Mike. I solved it by calling:
>
> my $cc_ref = (Vend::Order::encrypt_standard_cc($CGI, 1)) [6]
>
> from [perl], but &calc looks cleaner because I'm validating the CC twice...
>
Obviously you are running AllowGlobal....you should put in a warning "don't
try this at home". 8-)
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Fri Oct 5 15:22:00 2001
Subject: [ic] groups in userdb
Hi,
for various reasons I need to organize at least some (hundert)
users in groups. Well, after a while I found where user
authentication is done, it's part of the "core" interchange.
Since I don't want to modify something there, I though it should
work to add the functionality in the catalog by some perl code.
For that, I added a group_id column to the database table (I use
postgres). Via a [data] tag (or similar) it's possible to read
out the gid, but it seems to be a lot of work. I think to store
the gid in the session on first request (as a kind of cache).
But before I start to implement this, I would like to hear some
comments, maybe I'm on the wrong way with this approach. If
somebody could say a few sentences about it, I would be glad.
Thank you.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Fri Oct 5 15:37:01 2001
Subject: [ic] groups in userdb
My first take on this would be that you may want to create
a table for groups and one that associates a user
with a group. Putting a group_id on userdb will only allow
users to be in one group, which I have rarely seen to be
acceptable in the long term.
Doesn't solve your problem, just thought you would want to
consider that before moving forward.
Patrick Bennett
http://www.ccgenesis.com
-----Original Message-----
From: Steffen Dettmer [mailto:steffen@dett.de]
Sent: Friday, October 05, 2001 1:15 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] groups in userdb
Hi,
for various reasons I need to organize at least some (hundert)
users in groups. Well, after a while I found where user
authentication is done, it's part of the "core" interchange.
Since I don't want to modify something there, I though it should
work to add the functionality in the catalog by some perl code.
For that, I added a group_id column to the database table (I use
postgres). Via a [data] tag (or similar) it's possible to read
out the gid, but it seems to be a lot of work. I think to store
the gid in the session on first request (as a kind of cache).
But before I start to implement this, I would like to hear some
comments, maybe I'm on the wrong way with this approach. If
somebody could say a few sentences about it, I would be glad.
Thank you.
oki,
Steffen
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Fri Oct 5 15:41:00 2001
Subject: [ic] groups in userdb
Quoting Steffen Dettmer (steffen@dett.de):
> Hi,
>
> for various reasons I need to organize at least some (hundert)
> users in groups. Well, after a while I found where user
> authentication is done, it's part of the "core" interchange.
> Since I don't want to modify something there, I though it should
> work to add the functionality in the catalog by some perl code.
> For that, I added a group_id column to the database table (I use
> postgres). Via a [data] tag (or similar) it's possible to read
> out the gid, but it seems to be a lot of work. I think to store
> the gid in the session on first request (as a kind of cache).
>
> But before I start to implement this, I would like to hear some
> comments, maybe I'm on the wrong way with this approach. If
> somebody could say a few sentences about it, I would be glad.
> Thank you.
This is automatically done for you. Add the column to userdb and
voila! it is in the session.
However, with something important like a GID I would recommend
using Scratch to hold it (otherwise people could send a request
with "group_id=nefarious" and reset their GID).
UserDB default scratch "group_id dealer price_level etc"
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Prove you aren't stupid. Say NO to Passport.
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Fri Oct 5 15:58:00 2001
Subject: [ic] groups in userdb
On Fri, Oct 05, 2001 at 09:14:40PM +0200, Steffen Dettmer wrote:
> Hi,
>
> for various reasons I need to organize at least some (hundert)
> users in groups. Well, after a while I found where user
> authentication is done, it's part of the "core" interchange.
> Since I don't want to modify something there, I though it should
> work to add the functionality in the catalog by some perl code.
> For that, I added a group_id column to the database table (I use
> postgres). Via a [data] tag (or similar) it's possible to read
> out the gid, but it seems to be a lot of work. I think to store
> the gid in the session on first request (as a kind of cache).
>
> But before I start to implement this, I would like to hear some
> comments, maybe I'm on the wrong way with this approach. If
> somebody could say a few sentences about it, I would be glad.
> Thank you.
Clarify "group" or try to avoid it. In perl/DBI/UNIX that is
going to cause confusion and clashes with reserved words and
functions that might not be what you want.
I think IC does everything you want already if you just add
the field and reload. You might also look at AUTOLOAD if
you need this in each page setup.
Your gut feeling about avoiding modifications to core is sound. :-)
cfm
>
> oki,
>
> Steffen
>
> --
> Dieses Schreiben wurde maschinell erstellt,
> es tr?gt daher weder Unterschrift noch Siegel.
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Fri Oct 5 16:12:00 2001
Subject: [ic] groups in userdb
* patrick.bennett@ccgenesis.com wrote on Fri, Oct 05, 2001 at 13:37 -0600:
> Putting a group_id on userdb will only allow users to be in one
> group, which I have rarely seen to be acceptable in the long
> term.
Thanks, good point. Currently this is definitly not the case, but
seems to be a good idea to do it correctly for later feature
requests.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (JT Justman)
Date: Fri Oct 5 16:16:01 2001
Subject: [ic] Looking for a new web host with Interchange! Can you help me find one
> Just as a note to everyone STAY AWAY FROM AF HOSTING. These folks are a
> total scam! They do not answer email, phone mail, or faxes EVER. But
they
> never miss charging your credit card every month! They are bad news in my
> experience.
I second that. After they completely failed to get IC working, and took
weeks to respond, it took them a month of daily e-mails to cancel me. The
funny thing is, I sent an e-mail before I signed up, and they responded
within hours.
The lesson: it's easier to keep customers than to make new ones.
JT
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Fri Oct 5 16:22:01 2001
Subject: [ic] groups in userdb
* Mike Heins wrote on Fri, Oct 05, 2001 at 15:40 -0400:
> Quoting Steffen Dettmer (steffen@dett.de):
> > for various reasons I need to organize at least some (hundert)
> > users in groups.
>
> This is automatically done for you. Add the column to userdb and
> voila! it is in the session.
Ohh, really... Well, I think I read about it somewhere in the
documentation but it's a lot of :).
> However, with something important like a GID I would recommend
> using Scratch to hold it
> UserDB default scratch "group_id dealer price_level etc"
Well, so easy is it? Hum. I used something like
[perl ...]
$gid = $Tag->Data(get-gid things) && $Tag->Set("gid", $gid) && "";
[/perl]
Another detail: (this is all just playing around, but). First I
checked [if scratch gid], and look up from the DB only if unset.
By this, I found that the gid "survives" logout (the one from the
foundation demo). Well, is it possible to see the contents of the
session? I think the admin GUI has such a function, but I need to
re-login there all the time... Currently I have no nice idea how
to debug a catalog. I tail -f error.log in one window and used
some return "<!-- debug str -->", but this isn't be really nice.
Are there better possibilities (except strace and gdb :))?
Thank you for the information, I'll review docs now :)
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Fri Oct 5 16:28:01 2001
Subject: [ic] groups in userdb
* cfm@maine.com wrote on Fri, Oct 05, 2001 at 15:57 -0400:
> On Fri, Oct 05, 2001 at 09:14:40PM +0200, Steffen Dettmer wrote:
> > for various reasons I need to organize at least some (hundert)
> > users in groups.
> > [...]
>
> Clarify "group" or try to avoid it.
Well, in DB I called it "group_id" for now (it's just
experimental phase), and so far I called "my" variables
$std_* and std_*, to avoid clashes with predefined anything.
> In perl/DBI/UNIX that is
> going to cause confusion and clashes with reserved words
> and functions that might not be what you want.
Thanks for that hint. I think my prefixing should avoid such
problems.
> I think IC does everything you want already if you just add
> the field and reload. You might also look at AUTOLOAD if
> you need this in each page setup.
Thanks for that hint, I'll read about it.
> Your gut feeling about avoiding modifications to core is sound. :-)
I'm sorry, but it seems that my english is to bad to understand
this sentence correctly. Does it means it sounds familiar to you?
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (RobertTrembath)
Date: Fri Oct 5 16:33:01 2001
Subject: [ic] How to for setting up encryption
Good Afternoon,
I and several others have asked how to just get the CC info back on the
e-mail going to the store owner for those of us who have upgraded our
stores from 4.6.x to 4.8.x. It was suppose to be backwards compatible.
It is for the most part with exception to the many modifications we've
had to make including redoing our authorize.net integration.
Don't get me wrong, I'm not tying to bitch. I love IC and admire the
hard work behind it. Not all of us are long time linux programmers and
have learned IC by diving in head first like many of you. I do however
need to know how to setup encryption on my RH 7.0 machine running IC 4.8
because no one seems to know how to revert it back to showing the CC
info w/o encryption for my older catalogs.
Issue # 1 - Does anyone have a how-to for setting up encryption or
showing the CC info in the store owners e-mail without it.
Issue # 2 - About a month ago I sent a message to the list about setting
up some custom pricing and, based on the response I received, I set up a
MFG price in the Price field and the price I want to sell for in the Q2
field. I then set the PriceField to read Q2 in the catalog.cfg file.
Needless to say, no dice. I want to read the actual sell price from the
q2 field for the cart and checkout sections. I want to use the values in
Price as a manufacturer list price for display only. If some one has
done something similar please share it with us on the list so it can be
included with the docs. This is a valuable feature and everything I've
tried doesn't work.
Thanks,
Robert
From: interchange-users at interchange.redhat.com (Desjardins, Ray)
Date: Fri Oct 5 16:48:01 2001
Subject: [ic] UI not starting due to runtime error.
Hello I am getting the below runtime error when trying to bring up the UI.
It looks as though one of the perl modules is either not installed right or
it is having an issue with MySql. I have installed via CPAN> install
Bundle::Interchanange successfully. Also the demo foundation site is
running fine against MySql. But as soon as I try to access the "UI" part of
the site I get this error. Any ideas on what may be wrong. The UI global
sub is running installing and seems to be configuring fine as well.
Platform
Solaris 8 (Intel)
Perl Version 5.6.1 (compiled from source)
Interchange Version 4.8.2
MySql 3.23.42
Apache 1.3.10
/usr/local/interchange/error.log
204.181.205.254 CngYJXA6:204.181.205.254 - [05/October/2001:05:57:31 -0500]
acorn /cgi-bin/acorn/admin/index.html Runtime error: ichelp import failed:
sdbm store returned -1, errno 22, key "kshipping.main" at
/usr/local/interchange/lib/Vend/Table/Common.pm line 384, <IN> line 4.
Any help would be much appreciated.
Ray
From: interchange-users at interchange.redhat.com (interch)
Date: Fri Oct 5 17:11:01 2001
Subject: [ic] table editor problems with sql database
Ok I tracked it down to why the table editor isn't working with sql tables
for me, but not sure on the best fix. Basically, my sql database is very
large, and the table editor is not setting mv_auto_export so the changes
are not being saved. If I manually add mv_auto_export=tablename to the
resulting html it works fine. I do not have noexport set btw.
Chris
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Fri Oct 5 17:21:01 2001
Subject: [ic] Looking for a new web host with Interchange! Can you help me find one
Quoting JT Justman (ic@signless.com):
> > Just as a note to everyone STAY AWAY FROM AF HOSTING. These folks are a
> > total scam! They do not answer email, phone mail, or faxes EVER. But
> they
> > never miss charging your credit card every month! They are bad news in my
> > experience.
>
> I second that. After they completely failed to get IC working, and took
> weeks to respond, it took them a month of daily e-mails to cancel me. The
> funny thing is, I sent an e-mail before I signed up, and they responded
> within hours.
>
> The lesson: it's easier to keep customers than to make new ones.
>
And my take is that I definitely would not make cost your top selection
criteria. Most low-end hosts simply don't give you the horsepower you
need, and don't have the expertise to help you. I have found in my days
that free technical support is worth what you pay for it. 8-)
For instance, Red Hat does Interchange hosting. While we are certainly
not the lowest cost option around, we probably have the most Interchange
expertise available on all levels.
If your store is worth spending time and money on, and you envision that
interruption of service will cost you money, I highly recommend finding
someone that has some *available* expertise. And that is not cheap.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Prove you aren't stupid. Say NO to Passport.
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Fri Oct 5 17:32:01 2001
Subject: [ic] UI not starting due to runtime error.
Quoting Desjardins, Ray (Desjardins.Ray@con-way.com):
> Hello I am getting the below runtime error when trying to bring up the UI.
> It looks as though one of the perl modules is either not installed right or
> it is having an issue with MySql. I have installed via CPAN> install
> Bundle::Interchanange successfully. Also the demo foundation site is
> running fine against MySql. But as soon as I try to access the "UI" part of
> the site I get this error. Any ideas on what may be wrong. The UI global
> sub is running installing and seems to be configuring fine as well.
>
>
> Platform
> Solaris 8 (Intel)
> Perl Version 5.6.1 (compiled from source)
> Interchange Version 4.8.2
> MySql 3.23.42
> Apache 1.3.10
>
I don't know what happened to the README about Solaris, but the fact
is that SDBM just won't cut it very well.
Bottom line is that you need to eventually you need to build a new Perl
with GDBM included (you can't do that with CPAN).
To work in development with what you have, you need to comment out all
lines in catalog_before.cfg that begin with "Database ichelp". Or you
can just delete all lines in ichelp.txt except the first.
Even so, I wouldn't bet that all things will run well using SDBM.
In the default Perl installations, key/value pairs in SDBM are
limited to 1008 bytes. Not very useful, and the reason why the
long strings in ichelp.txt are screwing you up.
It is possible to get around using GDBM if you put *all* tables in
MySQL, or you don't use locale stuff, or you don't ever put any long
values in variable.txt, but it is probably just easier to get the proper
Perl built with GDBM. You will need to compile and make available gdbm,
of course, available in CPAN/src/misc among other places.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Fri Oct 5 17:35:00 2001
Subject: [ic] table editor problems with sql database
Quoting interch (interch@web3.valley-internet.com):
>
> Ok I tracked it down to why the table editor isn't working with sql tables
> for me, but not sure on the best fix. Basically, my sql database is very
> large, and the table editor is not setting mv_auto_export so the changes
> are not being saved.
This is not true. The changes are always saved to the database. Auto-export
only controls whether the database is automatically exported to the
text file. This is not typically done if the table is defined as "LARGE",
which is automatically done if the size of the text file is 3MB or larger
(why that number, I can't remember).
I have zero context for your statement, and cannot comment otherwise on
your problem.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Fri Oct 5 17:38:00 2001
Subject: [ic] table editor problems with sql database
At 02:08 PM 10/05/2001 -0700, you wrote:
>Ok I tracked it down to why the table editor isn't working with sql tables
>for me, but not sure on the best fix. Basically, my sql database is very
>large, and the table editor is not setting mv_auto_export so the changes
>are not being saved. If I manually add mv_auto_export=tablename to the
>resulting html it works fine. I do not have noexport set btw.
Exporting just creates a text copy of your sql table in tablename.txt. You
should not need to do it unless you have a specific reason for wanting the
text file synchronized with the sql table, as far as I know. Just make sure
that the mv_searchtype (st) for searches of the table is db or sql, not
text, and you should be ok.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Tim Watts)
Date: Fri Oct 5 17:40:15 2001
Subject: [ic] custom pricing
Quoting RobertTrembath (robert@lanstar.com) 10/5/01 4:35 PM:
> About a month ago I sent a message to the list about setting
> up some custom pricing and, based on the response I received, I set up a
> MFG price in the Price field and the price I want to sell for in the Q2
> field. I then set the PriceField to read Q2 in the catalog.cfg file.
> Needless to say, no dice. I want to read the actual sell price from the
> q2 field for the cart and checkout sections. I want to use the values in
> Price as a manufacturer list price for display only. If some one has
> done something similar please share it with us on the list so it can be
> included with the docs. This is a valuable feature and everything I've
> tried doesn't work.
Robert,
Don't know if this will help, but we use special pricing for club members.
It took me a while to figure this out, but once implemented, it works
flawlessly.
-------------------
In products db added a column for club pricing:
sku ... price club
XXX ... 10.00 5.00
--------------------
In userdb db added column for club member number:
username ... club_member
johndoe ... BC20011005DOE
--------------------
In catalog.cfg added Locale for club pricing:
pricePriceField price
Locale club_price PriceField club
--------------------
On top of cart and checkout pages use the following to acheive club
pricing if customer is a club member or purchases club membership.
*** IMPORTANT ***
Also put the same code at the top of the log_transaction file to ensure
special pricing is used for the final calculations.
[if value club_member]
[setlocale club_price en_US]
[else]
[if ordered __CLUB__]
[setlocale club_price en_US]
[else]
[setlocale]
[/else]
[/if]
[/else]
[/if]
then at the bottom of the cart and checkout pages use the following to clear
the special pricing in case they remove the membership from their cart:
[setlocale]
this ensures that the requirements are met each time the page is loaded.
NOTE: __CLUB__ is the sku for the membership, set in variables,
so if shop owner ever changes sku, we just change it in one place.
You're welcome to try it out at http://coast2coastmusic.com/cgi-bin/cart/
We're having some trouble with the server, as noted in some previous posts
concerning error messages. Please be patient, and you can see how it works.
Tim
From: interchange-users at interchange.redhat.com (Tim Watts)
Date: Fri Oct 5 17:43:01 2001
Subject: [ic] custom pricing
Quoting RobertTrembath (robert@lanstar.com) 10/5/01 4:35 PM:
> About a month ago I sent a message to the list about setting
> up some custom pricing and, based on the response I received, I set up a
> MFG price in the Price field and the price I want to sell for in the Q2
> field. I then set the PriceField to read Q2 in the catalog.cfg file.
> Needless to say, no dice. I want to read the actual sell price from the
> q2 field for the cart and checkout sections. I want to use the values in
> Price as a manufacturer list price for display only. If some one has
> done something similar please share it with us on the list so it can be
> included with the docs. This is a valuable feature and everything I've
> tried doesn't work.
Robert,
*********************************************************
BTW - I left this out of last post - we're using IC 4.6.5
otherwise this post is identical!
*********************************************************
Don't know if this will help, but we use special pricing for club members.
It took me a while to figure this out, but once implemented, it works
flawlessly.
-------------------
In products db added a column for club pricing:
sku ... price club
XXX ... 10.00 5.00
--------------------
In userdb db added column for club member number:
username ... club_member
johndoe ... BC20011005DOE
--------------------
In catalog.cfg added Locale for club pricing:
pricePriceField price
Locale club_price PriceField club
--------------------
On top of cart and checkout pages use the following to acheive club
pricing if customer is a club member or purchases club membership.
*** IMPORTANT ***
Also put the same code at the top of the log_transaction file to ensure
special pricing is used for the final calculations.
[if value club_member]
[setlocale club_price en_US]
[else]
[if ordered __CLUB__]
[setlocale club_price en_US]
[else]
[setlocale]
[/else]
[/if]
[/else]
[/if]
then at the bottom of the cart and checkout pages use the following to clear
the special pricing in case they remove the membership from their cart:
[setlocale]
this ensures that the requirements are met each time the page is loaded.
NOTE: __CLUB__ is the sku for the membership, set in variables,
so if shop owner ever changes sku, we just change it in one place.
You're welcome to try it out at http://coast2coastmusic.com/cgi-bin/cart/
We're having some trouble with the server, as noted in some previous posts
concerning error messages. Please be patient, and you can see how it works.
Tim
From: interchange-users at interchange.redhat.com (Desjardins, Ray)
Date: Fri Oct 5 18:01:00 2001
Subject: [ic] UI not starting due to runtime error.
Thanks for the prompt turn around. I will recompile perl with GDBM.
Ray
-----Original Message-----
From: Mike Heins [mailto:mheins@redhat.com]
Sent: Friday, October 05, 2001 4:32 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] UI not starting due to runtime error.
Quoting Desjardins, Ray (Desjardins.Ray@con-way.com):
> Hello I am getting the below runtime error when trying to bring up the UI.
> It looks as though one of the perl modules is either not installed right
or
> it is having an issue with MySql. I have installed via CPAN> install
> Bundle::Interchanange successfully. Also the demo foundation site is
> running fine against MySql. But as soon as I try to access the "UI" part
of
> the site I get this error. Any ideas on what may be wrong. The UI global
> sub is running installing and seems to be configuring fine as well.
>
>
> Platform
> Solaris 8 (Intel)
> Perl Version 5.6.1 (compiled from source)
> Interchange Version 4.8.2
> MySql 3.23.42
> Apache 1.3.20
>
I don't know what happened to the README about Solaris, but the fact
is that SDBM just won't cut it very well.
Bottom line is that you need to eventually you need to build a new Perl
with GDBM included (you can't do that with CPAN).
To work in development with what you have, you need to comment out all
lines in catalog_before.cfg that begin with "Database ichelp". Or you
can just delete all lines in ichelp.txt except the first.
Even so, I wouldn't bet that all things will run well using SDBM.
In the default Perl installations, key/value pairs in SDBM are
limited to 1008 bytes. Not very useful, and the reason why the
long strings in ichelp.txt are screwing you up.
It is possible to get around using GDBM if you put *all* tables in
MySQL, or you don't use locale stuff, or you don't ever put any long
values in variable.txt, but it is probably just easier to get the proper
Perl built with GDBM. You will need to compile and make available gdbm,
of course, available in CPAN/src/misc among other places.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Fri Oct 5 18:23:01 2001
Subject: [ic] Parse error on Excel upload "File not found"
When I try to upload my excel spreadsheet of
products using the Wizard, I get this error:
FATAL error
Failed to parse XLS file
upload/Q:\AWT\products.xls: No such file or directory
I used the browse button to select that path, so it
seems this is an error in the out-of-the-box IC.
I haven't seen anything in my archive of this list
that looks like this issue.
Any help would be apprecited.
Interchange 4.8.1 on Solaris 2.8
Patrick Bennett
http://www.ccgenesis.com
From: interchange-users at interchange.redhat.com (ryan quigley)
Date: Fri Oct 5 18:34:00 2001
Subject: [ic] images not displaying in administration
I just recently installed the interchange 4.8.2 rpms and everything seems to
be working fine except for the fact that images don't display in the admin
section. Is this something I can reconfigure easily? Any ideas?
thanks,
ryan
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Fri Oct 5 19:26:00 2001
Subject: [ic] table editor problems with sql database
On Fri, 5 Oct 2001, Ed LaFrance wrote:
EL>>>Ok I tracked it down to why the table editor isn't working with sql tables
EL>>>for me, but not sure on the best fix. Basically, my sql database is very
EL>>>large, and the table editor is not setting mv_auto_export so the changes
EL>>>are not being saved. If I manually add mv_auto_export=tablename to the
EL>>>resulting html it works fine. I do not have noexport set btw.
EL>>
EL>>Exporting just creates a text copy of your sql table in tablename.txt. You
EL>>should not need to do it unless you have a specific reason for wanting the
EL>>text file synchronized with the sql table, as far as I know. Just make sure
EL>>that the mv_searchtype (st) for searches of the table is db or sql, not
EL>>text, and you should be ok.
In 4.6.5 there are a few files in the default db that need to be exported if
you are going to work outside of the user interfaces.
I am finding that area.txt and cat.txt usually need to be exported and
manipulated manually in order to get the pages to come up correctly. If I
leave the sort order and displays to the UI, they don't get displayed the
way that I was trying for.
The user database also needs to be exported in order for me to see the users
password when I need to log in as the customer to enter an order - usually
because the customer refuses to upgrade their browser in order to deal with
my 128-bit security.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, October 05, 2001 at 19:20 PM:
Save the whales. Collect the whole set.
----------------------------------------------------------------
This Linux System has been up 265 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (interch)
Date: Fri Oct 5 19:33:01 2001
Subject: [ic] table editor problems with sql database
Ok never mind the reason it doesn't appear to be valid like you
said. It's something but I couldn't figure it out. I just used a manual
html form I made from scratch and it works fine, so for now the problem
was solved by not dealing with it:)
Chris
On Fri, 5 Oct 2001, Mike Heins wrote:
> Quoting interch (interch@web3.valley-internet.com):
> >
> > Ok I tracked it down to why the table editor isn't working with sql tables
> > for me, but not sure on the best fix. Basically, my sql database is very
> > large, and the table editor is not setting mv_auto_export so the changes
> > are not being saved.
>
> This is not true. The changes are always saved to the database. Auto-export
> only controls whether the database is automatically exported to the
> text file. This is not typically done if the table is defined as "LARGE",
> which is automatically done if the size of the text file is 3MB or larger
> (why that number, I can't remember).
>
> I have zero context for your statement, and cannot comment otherwise on
> your problem.
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> Nature, to be commanded, must be obeyed. -- Francis Bacon
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Kaare Rasmussen)
Date: Sat Oct 6 05:20:02 2001
Subject: [ic] Documentation search: table_editor and soap
Dan and Racke, thanks a lot to you.
> SOAP Docs: http://ftp.interchange.redhat.com/interchange/alpha/soap.html
This is good stuff. Why it's not in the documentation on developer.akopia.com
beats me!!
> table_editor.tag itself has documentation at the top of the file, as well
> as the attached TIPS posted by Zack Johnson.
Looks like enough to get started :-)
> HTH & HAND. BTW, I'm still looking forward to FreeMoney progress; I
There is progress, although slow. Right now I'm running my own business on
it, so I call it "Alpha" :-) But the pages are really only a prototype /
learning experience, I hope that using the table editor will benefit the
development.
The main thing is that the flow is correct; Orders entered into the
Intechange store is transferred to the Freemoney order system and the
invoicing updates General Ledger and Accounts Receivables information.
> finally finished reading 1050 pages "Principles of Accounting" in my spare
> time, and I wonder if accounting is my true career. ;-)
Did it take three years? I mean, after one page I'd get drowsy :-)
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk
2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Sat Oct 6 08:58:01 2001
Subject: [ic] Scratch and session variables
Hi,
just a quick question. In the docs is mentioned, scratch
variables are maintained in the user session. Additionally, there
are session variables. Well, and the session can be accessed
similar like a database table via [data]. Can I imagine (all) scratch
variables like a value of a (single) session attribute? I mean:
session { username => steffen,
scratch => { mv_something => value, x => y },
other => value };
Otherwise I cannot understand why it's necessary to have both
session and scratch variables...
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Sat Oct 6 10:45:00 2001
Subject: [ic] Scratch and session variables
On Sat, Oct 06, 2001 at 02:57:44PM +0200, Steffen Dettmer wrote:
> Hi,
>
> just a quick question. In the docs is mentioned, scratch
> variables are maintained in the user session. Additionally, there
> are session variables. Well, and the session can be accessed
> similar like a database table via [data]. Can I imagine (all) scratch
> variables like a value of a (single) session attribute? I mean:
>
> session { username => steffen,
> scratch => { mv_something => value, x => y },
> other => value };
It is a hash of various elements. There is a [dump] tag somewhere
around that dumps it.
>
> Otherwise I cannot understand why it's necessary to have both
> session and scratch variables...
Various parts of it are available in different ways. $Vend::Session->{values}
can be manipulated directly by form input. Other objects, like
@{$Vend::Session->{carts}{$cart}} are inaccessible except through
ic processes. Scratch and some other hashes are aggregates that are
passed through Safe, usually as "flattened" attributes, eg you can get all
the scratch space, or all the values, etc... but I don't believe there is a
standard tag to pass the whole session through Safe. (Someone correct me if
that is wrong.) Think of it as partitioning and shorthand. All of these
are clumped into session hash because that how ic saves state call to call.
Most people don't go at it in raw perl, but with tags, so the underlying
architecture of session is usually both hidden and simplified.
cfm
>
> oki,
>
> Steffen
>
> --
> Dieses Schreiben wurde maschinell erstellt,
> es tr?gt daher weder Unterschrift noch Siegel.
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Sat Oct 6 10:58:01 2001
Subject: [ic] Excact match don't works on searches for empty values - how do error handling in the page?
Hi,
imagine the following data:
playdb=> select * from test;
id | group_id | info
----+----------+--------
1 | 0 | null
2 | 1 | eins
Now I tried a [loop search] the get a list of all infos for a
given group_id into some <table>:
[comment]debug: overwriting group_id[/comment]
[set group_id]0[/set]
[loop search="ra=no/fi=test/em=yes/se=[scratch group_id]/sf=group_id"]
<tr>
<td> [loop-code] </td>
<td> [loop-data test group_id] </td>
<td> [loop-data test info] </td>
</tr>
[/loop]
This works. If I [set] it to 1, it works (returns right values).
Even if I [set]0 [/set] it works (returns nothing) as expected on
mv_exact_match=yes. But on [set group_id][/set] it fails and
returns _all_ records; it looks like "" matches no anything.
I configured "Database test numeric group_id". So I would expect
some error when [scratch group_id] is non-numeric - in error.log
it's found as "> You had no search string specified.", but of
course I need it in the page. Is there a [onerror] like
possibility?
What do I am missing?
BTW, another question. In this search, is the condition evaluated
by the database or are all records fetched and evaluated by
interchange? It looks like the second, since the database
evaluates i.e. : "select * from test where group_id = ''" as
matching on zero (PostgreSQL pg_atoi() function returns zero [and
no error] for ''). But this would be bad, since no indexes would
improve speed and a lot of useless data would transferred over
the network.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Sat Oct 6 11:02:00 2001
Subject: [ic] Scratch and session variables
* cfm@maine.com wrote on Sat, Oct 06, 2001 at 10:44 -0400:
> On Sat, Oct 06, 2001 at 02:57:44PM +0200, Steffen Dettmer wrote:
> > session { username => steffen,
> > scratch => { mv_something => value, x => y },
> > other => value };
>
> It is a hash of various elements. There is a [dump] tag somewhere
> around that dumps it.
Ohh, thank you, the output of <PRE>[dump]</PRE> cleared it up :)
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Sat Oct 6 11:38:01 2001
Subject: [ic] Excact match don't works on searches for empty values - how do error handling in the page?
On Sat, Oct 06, 2001 at 04:57:45PM +0200, Steffen Dettmer wrote:
> Hi,
>
> imagine the following data:
>
> playdb=> select * from test;
> id | group_id | info
> ----+----------+--------
> 1 | 0 | null
> 2 | 1 | eins
>
> Now I tried a [loop search] the get a list of all infos for a
> given group_id into some <table>:
>
> [comment]debug: overwriting group_id[/comment]
> [set group_id]0[/set]
>
> [loop search="ra=no/fi=test/em=yes/se=[scratch group_id]/sf=group_id"]
> <tr>
> <td> [loop-code] </td>
> <td> [loop-data test group_id] </td>
> <td> [loop-data test info] </td>
> </tr>
> [/loop]
>
> This works. If I [set] it to 1, it works (returns right values).
> Even if I [set]0 [/set] it works (returns nothing) as expected on
> mv_exact_match=yes. But on [set group_id][/set] it fails and
> returns _all_ records; it looks like "" matches no anything.
> I configured "Database test numeric group_id". So I would expect
> some error when [scratch group_id] is non-numeric - in error.log
> it's found as "> You had no search string specified.", but of
> course I need it in the page. Is there a [onerror] like
> possibility?
>
> What do I am missing?
die "Pathological group_id ($group_id)" unless($group_id);
die "group_id ($group_id) not in range" unless($group_id=~/^\d\d\d\d\d\d$/);
YMMV
>
> BTW, another question. In this search, is the condition evaluated
> by the database or are all records fetched and evaluated by
> interchange? It looks like the second, since the database
> evaluates i.e. : "select * from test where group_id = ''" as
> matching on zero (PostgreSQL pg_atoi() function returns zero [and
> no error] for ''). But this would be bad, since no indexes would
> improve speed and a lot of useless data would transferred over
> the network.
??? I don't understand that. I'd suggest you would want to index
on anything by which you select.
>
> oki,
>
> Steffen
>
> --
> Dieses Schreiben wurde maschinell erstellt,
> es tr?gt daher weder Unterschrift noch Siegel.
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Sat Oct 6 12:18:00 2001
Subject: [ic] Excact match don't works on searches for empty values - how do error handling in the page?
* cfm@maine.com wrote on Sat, Oct 06, 2001 at 11:37 -0400:
> On Sat, Oct 06, 2001 at 04:57:45PM +0200, Steffen Dettmer wrote:
> die "Pathological group_id ($group_id)" unless($group_id);
> die "group_id ($group_id) not in range" unless($group_id=~/^\d\d\d\d\d\d$/);
That means in general, that I have to validate the results of the
database actions? When i.e. a trigger raises an exception in
database, there is no possibility to get the message from the
DBMS?
> ??? I don't understand that. I'd suggest you would want to index
> on anything by which you select.
No, this is the job of the database. When I have a hash index on
a row, the database fetches the record directly on a "where id =
value". But when interchange ommits the WHERE clause and compares
id for each returned row, the complete table gets copied over the
network on each access. Since the behavoir of the comparision
between the database and interchange differs, I'm afraid that
interchanges fetches all records always when useing a search.
I hope I asked more clearly this time. Thank you for your quick
reply.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Sat Oct 6 13:23:01 2001
Subject: [ic] Excact match don't works on searches for empty values - how do error handling in the page?
Quoting Steffen Dettmer (steffen@dett.de):
> Since the behavoir of the comparision
> between the database and interchange differs, I'm afraid that
> interchanges fetches all records always when useing a search.
>
This is true unless you pass a qualifying statement to use on the
initial select. If you wish to use the search instead of a direct
query, then you should use the mv_like_field/lf and mv_like_spec/ls
selection, or use a coordinated search with a simple eq or ne comparison,
i.e.
[loop search="
fi=products
st=db
co=yes
sf=category
se=[cgi category]
op=eq
sf=other_field
se=[cgi some_search_spec]
"]
This now does the query
select * from products where category = '[cgi category]'
to get the initial set of records to further filter with the
Interchange search.
[loop search="
fi=products
st=db
lf=title
ls=hammer
sf=other_field
se=[cgi some_search_spec]
"]
gets its initial record set with the query
select * from products where title like 'hammer'
If you want to further use the DB, you must formulate the query
yourself and submit it with [query list=1 ...].
Of course most things that you can do with Interchange's search you can
do directly with SQL, usually faster. The main advantage of the
Interchange method is its ability to operate the same on DBM, LDAP
directories, varied SQL databases, and random text files, Glimpse
indexes, and Verity collections. So if you do it with Interchange and
change DBs from Postgres to MySQL, for the most part the change will be
transparent. With small tables and non-busy stores the deviation in
performance is trivial; with large tables and busy sites it would pay to
tune your SQL and use [query ....].
Part of the Interchange method comes from the fact that it was doing
searches before DBI was around. 8-) If I was writing the IC database
searching stuff today, I would probably use an extended SQL approach
that was based on DBI.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
In character, in manners, in style, in all things, the supreme excellence
is simplicity. -- Longfellow
From: interchange-users at interchange.redhat.com (Jason Miller)
Date: Sat Oct 6 16:22:00 2001
Subject: [ic] I just need 2 custom fields @ check out
The cart is great, we love it. However, upon checkout I need
TWO custom fields placed:
Make/Model:
Year:
This is information on their car. I know it's possible, and
I've already added the text input things in the HTML so it does
display. However, I need it to send me it as part of an order
and store it in the customer information page. PLEASE can
someone PLEASE help. I am new to this so please don't be to
technical on me :)
----
Jason Miller, CTO GMpower.net
Phone: 703.675.3506
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Sat Oct 6 17:07:00 2001
Subject: [ic] I just need 2 custom fields @ check out
On Sat, 6 Oct 2001, Jason Miller wrote:
JM>>The cart is great, we love it. However, upon checkout I need
JM>>TWO custom fields placed:
JM>>
JM>>Make/Model:
JM>>Year:
JM>>
JM>>This is information on their car. I know it's possible, and
JM>>I've already added the text input things in the HTML so it does
JM>>display. However, I need it to send me it as part of an order
JM>>and store it in the customer information page. PLEASE can
JM>>someone PLEASE help. I am new to this so please don't be to
JM>>technical on me :)
This is one of the things that I -=LOVE=- about IC. This solution is
amazingly simple!
In checkout.html put:
<TR>
<td align=right>
<font __FFACE__ size ="1">
Make/Model: </font>
</td>
<td align=left>
<b><font __FFACE__ size ="1">
<INPUT TYPE="text" NAME="make/model" MAXLENGTH="20">
</font></b>
</TD>
</TR>
Then, in etc/report (and etc/mail_report) put:
Make/Model: [value make/model]
That will make it show up in both the receipt that the customer gets as well
as the e-mail that you get.
Of, course, add whatever other fields you want to know about in the same
way!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Saturday, October 06, 2001 at 16:55 PM:
STUPIDITY is NOT a HANDICAP! Park elsewhere!
----------------------------------------------------------------
This Linux System has been up 287 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Sat Oct 6 19:14:00 2001
Subject: [ic] Excact match don't works on searches for empty values - how do error handling in the page?
On Sat, Oct 06, 2001 at 06:17:41PM +0200, Steffen Dettmer wrote:
> * cfm@maine.com wrote on Sat, Oct 06, 2001 at 11:37 -0400:
> > On Sat, Oct 06, 2001 at 04:57:45PM +0200, Steffen Dettmer wrote:
> > die "Pathological group_id ($group_id)" unless($group_id);
> > die "group_id ($group_id) not in range" unless($group_id=~/^\d\d\d\d\d\d$/);
>
> That means in general, that I have to validate the results of the
> database actions? When i.e. a trigger raises an exception in
> database, there is no possibility to get the message from the
> DBMS?
yes and no. I was maybe too elliptical. I'm instead suggesting that
1) you do not have a group_id == 0 because unless/if($group_id)
returns differently than where group_id >0, pathological case.
2) that your valid groups match some sort of a largish pattern
rather than /^\d+$/
Both of those will make your testing easier and more reliable. I'd
guess you will be validating, testing and comparing groups a lot.
>
> > ??? I don't understand that. I'd suggest you would want to index
> > on anything by which you select.
>
> No, this is the job of the database. When I have a hash index on
> a row, the database fetches the record directly on a "where id =
> value". But when interchange ommits the WHERE clause and compares
> id for each returned row, the complete table gets copied over the
> network on each access. Since the behavoir of the comparision
> between the database and interchange differs, I'm afraid that
> interchanges fetches all records always when useing a search.
>
> I hope I asked more clearly this time. Thank you for your quick
> reply.
I've lost track of this context. There are situations where ic will
iterate the whole table, it crops up in the mailing list time to time.
Someone else will have to answer that; we don't run into this.
>
> oki,
>
> Steffen
>
> --
> Dieses Schreiben wurde maschinell erstellt,
> es tr?gt daher weder Unterschrift noch Siegel.
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Matthew Schick)
Date: Sat Oct 6 22:15:01 2001
Subject: [ic] Strange Error...... DOH!
Hmmmmm..... Gotta love an obvious solution!
Turns out, my client had gone thru the Admin section and changed a whole
bunch of the variables. I have no idea which one(s) triggered the
errors, but ENCRYPTOR and MV_PAYMENT_MODE were just a couple.
Gotta love it when ya spend hours trying to fix everything under the
sun, only to find the cause is that proverbial 'short betwixt the seat
and the keyboard' <g>
Thanks!
On Thu, 2001-10-04 at 12:35, Matthew Schick wrote:
On Thu, 2001-10-04 at 11:26, cfm@maine.com wrote:
On Thu, Oct 04, 2001 at 10:31:15AM -0500, Matthew Schick wrote:
> Hey All,
>
> I seem to have run into an error that has me completely stumped. I
> have been running a catalog on IC 4.6x (kept updated via CVS) for about
> 8 or 9 months now and the following error started popping up about 3
> days ago:
>
>
>
> subshell.c: couldn't get terminal settings: Inappropriate ioctl for
> device
> Failed to open terminal./bin/sh: visaxxxxxxxxxxxxxxxx8/03: No such file
> or directory
> SLang_getkey returned SLANG_GETKEY_ERROR
> Assuming EOF on stdin and exiting
>
>
> As I understand it, the subshell.c error can be caused by incorrect or
> missing /dev/tty or /dev/pty entries. It can also be caused by a
> corrupted bash installation. I have checked, double checked and
> rechecked all of the above with no success. The server is running RH
> 7.1, with all packages updated (today as a matter of fact).
>
That looks to me like your encryption routine is expecting a terminal; that
reminds me of how some scripted ssh sessions broke maybe 6 months ago (debian).
Check that your keys work. Check the way you call the encryptor.
I'll double check, but nothing changed here before this happened.....
That's the puzzle....
> And yes, the error is actually printing out the entire CC# after
> 'visa'. My client has also had reports from customers stating that they
> cannot place more than one or two items in their cart. I don't know
> what could have changed on the server to cause this confusion, but I'm
> at my wit's end for ideas.....
Maybe "7.1, with all packages updated (today as a matter of fact)." :-)
I upgraded today to see if there was a glitch that the updated packages
from RH would fix, but the problem started before this.....
From: interchange-users at interchange.redhat.com (Matthew Schick)
Date: Sat Oct 6 22:24:01 2001
Subject: [ic] images not displaying in administration
On Fri, 2001-10-05 at 17:33, ryan quigley wrote:
I just recently installed the interchange 4.8.2 rpms and everything seems to
be working fine except for the fact that images don't display in the admin
section. Is this something I can reconfigure easily? Any ideas?
thanks,
ryan
Check the 'Admin Control' section for the 'UI_IMAGE_DIR' variable
(defaults to '/interchange/') and make sure that path exists and the
files are there. If not, you can copy em over from the
'/usr/local/interchange/share/interchange/' directory...
HTH
http://interchange.redhat.com/mailman/listinfo/interchange-users
--
Matthew Schick, BRP Internet Solutions
matt@brightredproductions.com
601.798.3093
From: interchange-users at interchange.redhat.com (Matthew Schick)
Date: Sat Oct 6 22:34:00 2001
Subject: [ic] Wierdness with Data tag and order routes....
Hey All,
I am wrapping up moving a catalog from v4.6x to 4.8.2. I had setup a
simple one-time 'New User' discount and everything has been hunky-dory
until the change-over.
I was using:
[data
table=userdb
column=na
key="[data session username]"
value="0"
]
in the log_transaction file to flag the account after the customer made
their first purchase. Now, with v4.8.2, this code no longer updates the
'na' column.
No errors are flagged anywhere, even in icdebug.... The order goes
thru perfectly, but the field simply isn't updated with the correct
value.
Any ideas?
--
Matthew Schick, BRP Internet Solutions
matt@brightredproductions.com
601.798.3093
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Sat Oct 6 23:18:01 2001
Subject: [ic] Wierdness with Data tag and order routes....
Quoting Matthew Schick (matt@brightredproductions.com):
> Hey All,
>
> I am wrapping up moving a catalog from v4.6x to 4.8.2. I had setup a
> simple one-time 'New User' discount and everything has been hunky-dory
> until the change-over.
>
> I was using:
> [data
> table=userdb
> column=na
> key="[data session username]"
> value="0"
> ]
>
> in the log_transaction file to flag the account after the customer made
> their first purchase. Now, with v4.8.2, this code no longer updates the
> 'na' column.
>
> No errors are flagged anywhere, even in icdebug.... The order goes
> thru perfectly, but the field simply isn't updated with the correct
> value.
I think this is a bug in the changed tag_data routine (checking
$opt->{value} instead of defined $opt->{value}).
Workaround would be to put "+0" or "0.00" or even " ".
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
If you think nobody cares if you're alive, try missing a couple of
car payments. -- Earl Wilson
From: interchange-users at interchange.redhat.com (Matthew Schick)
Date: Sun Oct 7 03:05:01 2001
Subject: [ic] Wierdness with Data tag and order routes....
On Sat, 2001-10-06 at 22:17, Mike Heins wrote:
Quoting Matthew Schick (matt@brightredproductions.com):
> Hey All,
>
> I am wrapping up moving a catalog from v4.6x to 4.8.2. I had setup a
> simple one-time 'New User' discount and everything has been hunky-dory
> until the change-over.
>
> I was using:
> [data
> table=userdb
> column=na
> key="[data session username]"
> value="0"
> ]
>
> in the log_transaction file to flag the account after the customer made
> their first purchase. Now, with v4.8.2, this code no longer updates the
> 'na' column.
>
> No errors are flagged anywhere, even in icdebug.... The order goes
> thru perfectly, but the field simply isn't updated with the correct
> value.
I think this is a bug in the changed tag_data routine (checking
$opt->{value} instead of defined $opt->{value}).
Workaround would be to put "+0" or "0.00" or even " ".
Thanks for the tips Mike..... I tried em all, but the same result. I
also tried setting the value to 2, but no luck. I also tried using the
import tag as such:
[import table=transactions type=LINE continue=NOTES]
code: [data session username]
na: 2
[/import]
and still no dice.... I even tried setting a scratch variable and had
the same results.
I did, however, find something that works. Changing this:
[button
name="mv_click"
src="__THEME__/placeorder.gif"
text="Place Order"
hidetext=1
form=checkout
]
mv_todo=submit
[/button]
in the checkout page to this:
[button
name="mv_click"
src="__THEME__/placeorder.gif"
text="Place Order"
hidetext=1
form=checkout
]
na=0
mv_todo=submit
[/button]
Seems it's not allowing me to update that value in the user database
from a route..... Very odd.
http://interchange.redhat.com/mailman/listinfo/interchange-users
--
Matthew Schick, BRP Internet Solutions
matt@brightredproductions.com
601.798.3093
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Sun Oct 7 03:15:01 2001
Subject: [ic] I just need 2 custom fields @ check out
> Then, in etc/report (and etc/mail_report) put:
> Make/Model: [value make/model]
>
> That will make it show up in both the receipt that the customer
> gets as well
> as the e-mail that you get.
>
> Of, course, add whatever other fields you want to know about in the same
> way!
I geuss you should also add a column in your orderline-table so that the
make/model can be also be stored there...
Rene
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Sun Oct 7 10:20:01 2001
Subject: [ic] Documentation search: table_editor and soap
Kaare Rasmussen <kar@kakidata.dk> writes:
> Dan and Racke, thanks a lot to you.
>
> > SOAP Docs: http://ftp.interchange.redhat.com/interchange/alpha/soap.html
>
> This is good stuff. Why it's not in the documentation on developer.akopia.com
> beats me!!
Some are in the configuration reference, but why the search returns no
hits for them, I have no idea.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Sun Oct 7 10:32:00 2001
Subject: [ic] Wierdness with Data tag and order routes....
Quoting Matthew Schick (matt@brightredproductions.com):
>Quoting Mike:
>>
>> I think this is a bug in the changed tag_data routine (checking
>> $opt->{value} instead of defined $opt->{value}).
>>
>> Workaround would be to put "+0" or "0.00" or even " ".
This is not correct anyway -- it has the proper check and there
is no bug.
>>
> Thanks for the tips Mike..... I tried em all, but the same result. I
> also tried setting the value to 2, but no luck. I also tried using the
> import tag as such:
>
> [import table=transactions type=LINE continue=NOTES]
> code: [data session username]
> na: 2
> [/import]
>
> and still no dice.... I even tried setting a scratch variable and had
> the same results.
>
> I did, however, find something that works. Changing this:
>
> [button
> name="mv_click"
> src="__THEME__/placeorder.gif"
> text="Place Order"
> hidetext=1
> form=checkout
> ]
> mv_todo=submit
> [/button]
>
> in the checkout page to this:
>
> [button
> name="mv_click"
> src="__THEME__/placeorder.gif"
> text="Place Order"
> hidetext=1
> form=checkout
> ]
> na=0
> mv_todo=submit
> [/button]
>
> Seems it's not allowing me to update that value in the user database
> from a route..... Very odd.
Now I know what is happening. The [userdb save] that happens at some
point reverts the value to what was in $Values->{na}.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Sun Oct 7 11:13:00 2001
Subject: [ic] Documentation search: table_editor and soap
Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> Kaare Rasmussen <kar@kakidata.dk> writes:
>
> > Dan and Racke, thanks a lot to you.
> >
> > > SOAP Docs: http://ftp.interchange.redhat.com/interchange/alpha/soap.html
> >
> > This is good stuff. Why it's not in the documentation on developer.akopia.com
> > beats me!!
>
> Some are in the configuration reference, but why the search returns no
> hits for them, I have no idea.
Because the docdb had not been updated. It has been now....
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Sun Oct 7 11:26:01 2001
Subject: [ic] Documentation search: table_editor and soap
Mike Heins <mheins@redhat.com> writes:
> Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> > Kaare Rasmussen <kar@kakidata.dk> writes:
> >
> > > Dan and Racke, thanks a lot to you.
> > >
> > > > SOAP Docs: http://ftp.interchange.redhat.com/interchange/alpha/soap.html
> > >
> > > This is good stuff. Why it's not in the documentation on developer.akopia.com
> > > beats me!!
> >
> > Some are in the configuration reference, but why the search returns no
> > hits for them, I have no idea.
>
> Because the docdb had not been updated. It has been now....
Thanks. There still sth. broken though (first link is empty):
Search results: SOAP
Search for "SOAP" on mail list
(icconfig)
1.
(icconfig)
2. SOAP_Host
(icconfig)
3. SOAP_MaxRequests
(icconfig)
4. SOAP_Perms
(icconfig)
5. SOAP_Socket
(icconfig)
6. SOAP_StartServers
(ictags)
7. soap
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Ross Cousens)
Date: Sun Oct 7 19:59:01 2001
Subject: [ic] Multiple stores off singular database table
Hello guys,
Just wondering if this idea is at all feasible. Installing interchange,
setting it up to access a PostgreSQL database, setting up a catalog under a
virtual host (http://www.myfirstshop.com), customising look and feel, then
setting up a second catalog, under a different virtual host, but accessing
the same database tables (http://www.mysecondshop.com). So you have two
identical stores database wise, but with a customisable look and feel for
each, same back end to process orders from etc. Is there any immediate
problems that come to mind?
Regards,
Ross Cousens
From: interchange-users at interchange.redhat.com (GoldStats Web Stats)
Date: Sun Oct 7 20:19:01 2001
Subject: [ic] Multiple stores off singular database table
Should be no problem, I have two domains, each with different "pages",
"headers" and such. One buys products from consumers, essentially stocking
the table with products and the other sells the products. They share the
products, inventory and merchandising tables. I think other tables (e.g.
mv_metadata, variables, ect) need to be catalog (not domain) specific.
!~RS
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ross
Cousens
Sent: Sunday, October 07, 2001 6:58 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] Multiple stores off singular database table
Hello guys,
Just wondering if this idea is at all feasible. Installing interchange,
setting it up to access a PostgreSQL database, setting up a catalog under a
virtual host (http://www.myfirstshop.com), customising look and feel, then
setting up a second catalog, under a different virtual host, but accessing
the same database tables (http://www.mysecondshop.com). So you have two
identical stores database wise, but with a customisable look and feel for
each, same back end to process orders from etc. Is there any immediate
problems that come to mind?
Regards,
Ross Cousens
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Mon Oct 8 03:18:02 2001
Subject: [ic] payment gateway
Tobias Henle wrote:
> Hi,
> i am searching for an example how to integrate a payment-gateway in ic.
> everything is done in ic and the payment is handled by an external
> provider. i know there are much postings about but i found nothing
> useful for me! so if anyone has usefull code please mail it to me
> (t.henle@thiesen.com). i am especially interested in the
> checkout-profiles and pages!
>
> thank u
>
Sorry but my last posting was a `bit' confusing.
I neet to open a http-url during checkout for transmitting order
information to our payment gateway
after that i want to display the normal receipt page displaying the
order information.
but i don`t have any idea where to open the url (to the gateway) and
where to do error handling.
is there any documentation about the orderprofiles or a howto about
using a payment gateway?????
_cu_ (mit freundliche Grüßen)
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Mon Oct 8 07:18:00 2001
Subject: [ic] Installing interchange with postgresql database
Hi,
I hope somebody here can help me with my question. I would like to use
makecat and configure a catalog with a conncetion to a Posgresql database (actual
version, DBI, DBD::Pg available). When I continue the makecat programm the
programm stopps and says "error number 225" and the connection can not be
established. I allready wrote a small perl programm to check if the dbi driver
works and it seems he works. Does anaybody have similar experiences or knows how
to solve this issue?
Greetings from Heidelberg
Christian Willer
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
From: interchange-users at interchange.redhat.com (Oscar Buijten)
Date: Mon Oct 8 08:24:01 2001
Subject: [ic] Installing interchange with postgresql database
Christian,
I have installed it last week (with PostgreSQL) and it went just fine.
Do you start PostgreSQL with the '-i' flag?
As a reference; I use www.sql-ledger.org , that's how I know Pg is installed
properly.
Good luck!
Oscar
----- Message d'origine -----
De : <c.willer@gmx.de>
À : <interchange-users@interchange.redhat.com>
Envoyé : lundi 8 octobre 2001 13:17
Objet : [ic] Installing interchange with postgresql database
> Hi,
>
> I hope somebody here can help me with my question. I would like to use
> makecat and configure a catalog with a conncetion to a Posgresql database
(actual
> version, DBI, DBD::Pg available). When I continue the makecat programm the
> programm stopps and says "error number 225" and the connection can not be
> established. I allready wrote a small perl programm to check if the dbi
driver
> works and it seems he works. Does anaybody have similar experiences or
knows how
> to solve this issue?
>
> Greetings from Heidelberg
>
> Christian Willer
>
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 8 09:22:01 2001
Subject: [ic] Static Page Building
Hello, Interchange users & developers !
I'm currently involved in improving and fixing the static page building
facility of Interchange/Interchange UI.
It would be a great help for me if all people using this feature tell
me please:
* if it works now
* the Static* configuration settings
* any problems
* where the documentation lacks
Any feedback is much appreciated. Please help us to improve Interchange.
On behalf of the Interchange Core Team
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Jake Thompson)
Date: Mon Oct 8 10:59:01 2001
Subject: [ic] Log file corruption?
This is a multi-part message in MIME format.
------=_NextPart_000_0E26_01C14FE8.36755270
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Attached is the html generated from a recent traffinc report. It seems =
to be ok upto a couple of days ago, then it seems to lose it?
Anyone else see this and can I fix it withouth deleteing the current log =
file.
Thanks,
Jake T.
------=_NextPart_000_0E26_01C14FE8.36755270
X-TNEF_Part_ID: 256
Content-Type: text/html;
name="Traffic statistics.htm"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Traffic statistics.htm"
<TABLE cellSpacing=3D0 width=3D"90%" border=3D0 callpadding=3D"0">
<TBODY>
<TR bgColor=3D#000000 height=3D1>
<TD colSpan=3D8></TD></TR>
<TR bgColor=3D#cccccc>
<TD vAlign=3Dtop width=3D"20%"><FONT =
color=3D#ffffff><B>Date</B>=20
</FONT></TD>
<TD vAlign=3Dtop align=3Dmiddle><FONT =
color=3D#ffffff><B>Affiliate</B>=20
</FONT></TD>
<TD vAlign=3Dtop align=3Dmiddle><FONT =
color=3D#ffffff><B>Visits</B>=20
</FONT></TD>
<TD vAlign=3Dtop align=3Dmiddle><FONT =
color=3D#ffffff><B>Hits</B>=20
</FONT></TD>
<TD vAlign=3Dtop align=3Dmiddle><FONT =
color=3D#ffffff><B>Pages</B>=20
</FONT></TD>
<TD vAlign=3Dtop align=3Dmiddle><FONT color=3D#ffffff><B>Prod. =
Views</B>=20
</FONT></TD>
<TD vAlign=3Dtop align=3Dmiddle><FONT color=3D#ffffff><B>Items =
in cart</B>=20
</FONT></TD>
<TD vAlign=3Dtop align=3Dmiddle><FONT =
color=3D#ffffff><B>Orders</B>=20
</FONT></TD></TR>
<TR bgColor=3D#000000 height=3D1>
<TD colSpan=3D8></TD></TR>
<TR bgColor=3D#ffffff height=3D2>
<TD colSpan=3D8></TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop>August 2001 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1570 </TD>
<TD vAlign=3Dtop align=3Dmiddle>13352 </TD>
<TD vAlign=3Dtop align=3Dmiddle>9766<FONT =
size=3D1><BR>97.32%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>3363<FONT =
size=3D1><BR>44.90%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>238<FONT =
size=3D1><BR>8.09%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>27<FONT =
size=3D1><BR>1.59%</FONT> </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop>September 2001 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>2630 </TD>
<TD vAlign=3Dtop align=3Dmiddle>15540 </TD>
<TD vAlign=3Dtop align=3Dmiddle>11062<FONT =
size=3D1><BR>98.71%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>4299<FONT =
size=3D1><BR>31.90%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>315<FONT =
size=3D1><BR>4.37%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>18<FONT =
size=3D1><BR>0.65%</FONT> </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop>October 2001 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>989 </TD>
<TD vAlign=3Dtop align=3Dmiddle>5664 </TD>
<TD vAlign=3Dtop align=3Dmiddle>4211<FONT =
size=3D1><BR>99.39%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>1305<FONT =
size=3D1><BR>29.12%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>137<FONT =
size=3D1><BR>3.44%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>5<FONT =
size=3D1><BR>0.51%</FONT> </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>100.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>3200.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>1600.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>100.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>100.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>100.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>1800.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>1600.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>900.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>3300.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>1400.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>300.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>3000.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>1700.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>2700.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>2000.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>100.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>13300.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>4200.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>200.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>100.00%</FONT> </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>200.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>6300.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>1800.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>300.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>100.00%</FONT> </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>100.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>200.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#eeeeee>
<TD vAlign=3Dtop></TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>1 </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>13200.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>5000.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0<FONT =
size=3D1><BR>300.00%</FONT> </TD>
<TD vAlign=3Dtop align=3Dmiddle>0 </TD></TR>
<TR bgColor=3D#000000 height=3D1>
<TD colSpan=3D8></TD></TR></TBODY></TABLE>
------=_NextPart_000_0E26_01C14FE8.36755270--
From: interchange-users at interchange.redhat.com (Desjardins, Ray)
Date: Mon Oct 8 11:48:00 2001
Subject: [ic] Problem with mail list archive search
Is anyone else getting this error when searching the list archives? It
doesn't find anything no matter what I put in.
Ray
No matches were found for '(authorize or authorized or authorizing or
authorizer or authorizes or authorizers)'
From: interchange-users at interchange.redhat.com (Doug Alcorn)
Date: Mon Oct 8 12:21:01 2001
Subject: [ic] Static Page Building
racke@linuxia.de (Stefan Hornburg (Racke)) writes:
> * if it works now
> * the Static* configuration settings
> * any problems
> * where the documentation lacks
I use it and it mostly works. I haven't had much luck saying "never
make this page static". Also, the logic for determining what to make
static and what to make dynamic is voodoo to me. It also seems like
you get "lost" sometimes on the site. What I mean is that you get a
batch of pages created static; but somewhere there's a link to the
dynamic one. Once you follow that link to the dynamic page, the
static pages are lost to you.
What would be nice is to be able to say, "make these and only these
pages static". Also, that list isn't remembered from admin session to
session. It would be nice if that list were stored somewhere.
However, occationally I know there's just one page that needs
regenerating. I would like to be able to say, "i know there are lots
of pages that should be made static; but just do this one page"
Another nice feature would be to just dump the index.html into the
docroot.
Ok, one more and I thnk I'm done. It would be nice to have an admin
UI page that setup a cron job for regenerating pages on a regular
basis.
BTW, all of http://www.lathi.net is IC served pages. I try to
generate as much of it static as I can. If you want to see the code
and try and determine why what's made static I'd be happy to share.
--
(__) 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: interchange-users at interchange.redhat.com (Mike Heins)
Date: Mon Oct 8 12:38:01 2001
Subject: [ic] Static Page Building
Quoting Doug Alcorn (lathi@seapine.com):
>
> racke@linuxia.de (Stefan Hornburg (Racke)) writes:
>
> > * if it works now
> > * the Static* configuration settings
> > * any problems
> > * where the documentation lacks
>
> I use it and it mostly works. I haven't had much luck saying "never
> make this page static". Also, the logic for determining what to make
> static and what to make dynamic is voodoo to me. It also seems like
> you get "lost" sometimes on the site. What I mean is that you get a
> batch of pages created static; but somewhere there's a link to the
> dynamic one. Once you follow that link to the dynamic page, the
> static pages are lost to you.
>
> What would be nice is to be able to say, "make these and only these
> pages static". Also, that list isn't remembered from admin session to
> session. It would be nice if that list were stored somewhere.
It is supposed to be. If you have StaticDBM set to something in catalog.cfg,
a DBM file with the static settings is created. Then if you have "Static Yes" in
your catalog.cfg, static pages should get static links.
> However, occationally I know there's just one page that needs
> regenerating. I would like to be able to say, "i know there are lots
> of pages that should be made static; but just do this one page"
Hmm. Isn't that what the entry page is all about? If you set "force build"
to that page only, and "entry page" to that page, and level to 1, it should
do just that.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
If you like what you're gettin', keep doin' what you're doin'. -- Hector
From: interchange-users at interchange.redhat.com (Desjardins, Ray)
Date: Mon Oct 8 12:43:01 2001
Subject: [ic] Problem with e-mail
I am running Solaris 8. Where does interchange 4.8.2 look for the sendmail
binary? E-mail doesn't seem to be working.
Thanks,
Ray
From: interchange-users at interchange.redhat.com (Michel Matte)
Date: Mon Oct 8 12:44:44 2001
Subject: [ic] Accounting Package
Does anybody know of a good Linux integrated accounting package that allows development and modifications and integration with the Web?
Michel Matte
interchange-users-request@interchange.redhat.com wrote:
> Send interchange-users mailing list submissions to
> interchange-users@interchange.redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://interchange.redhat.com/mailman/listinfo/interchange-users
> or, via email, send a message with subject or body 'help' to
> interchange-users-request@interchange.redhat.com
>
> You can reach the person managing the list at
> interchange-users-admin@interchange.redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of interchange-users digest..."
>
> ------------------------------------------------------------------------
> Today's Topics:
>
> 1. Multiple stores off singular database table (Ross Cousens)
> 2. RE: Multiple stores off singular database table (GoldStats Web Stats)
> 3. Re: payment gateway (Tobias Henle)
> 4. Installing interchange with postgresql database (c.willer@gmx.de)
> 5. Re: Installing interchange with postgresql database (Oscar Buijten)
> 6. Static Page Building (Stefan Hornburg Racke
> )
> 7. Log file corruption? (Jake Thompson)
> 8. Problem with mail list archive search (Desjardins, Ray)
>
> ------------------------------------------------------------------------
>
> Subject: [ic] Multiple stores off singular database table
> Date: Mon, 8 Oct 2001 09:57:35 +1000
> From: "Ross Cousens" <rossc@bigpond.net.au>
> Reply-To: interchange-users@interchange.redhat.com
> To: <interchange-users@interchange.redhat.com>
>
> Hello guys,
> Just wondering if this idea is at all feasible. Installing interchange,
> setting it up to access a PostgreSQL database, setting up a catalog under a
> virtual host (http://www.myfirstshop.com), customising look and feel, then
> setting up a second catalog, under a different virtual host, but accessing
> the same database tables (http://www.mysecondshop.com). So you have two
> identical stores database wise, but with a customisable look and feel for
> each, same back end to process orders from etc. Is there any immediate
> problems that come to mind?
>
> Regards,
> Ross Cousens
>
> ------------------------------------------------------------------------
>
> Subject: RE: [ic] Multiple stores off singular database table
> Date: Sun, 7 Oct 2001 19:16:00 -0500
> From: "GoldStats Web Stats" <admin@goldstats.com>
> Reply-To: interchange-users@interchange.redhat.com
> To: <interchange-users@interchange.redhat.com>
>
> Should be no problem, I have two domains, each with different "pages",
> "headers" and such. One buys products from consumers, essentially stocking
> the table with products and the other sells the products. They share the
> products, inventory and merchandising tables. I think other tables (e.g.
> mv_metadata, variables, ect) need to be catalog (not domain) specific.
>
> !~RS
>
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ross
> Cousens
> Sent: Sunday, October 07, 2001 6:58 PM
> To: interchange-users@interchange.redhat.com
> Subject: [ic] Multiple stores off singular database table
>
> Hello guys,
> Just wondering if this idea is at all feasible. Installing interchange,
> setting it up to access a PostgreSQL database, setting up a catalog under a
> virtual host (http://www.myfirstshop.com), customising look and feel, then
> setting up a second catalog, under a different virtual host, but accessing
> the same database tables (http://www.mysecondshop.com). So you have two
> identical stores database wise, but with a customisable look and feel for
> each, same back end to process orders from etc. Is there any immediate
> problems that come to mind?
>
> Regards,
> Ross Cousens
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> ------------------------------------------------------------------------
>
> Subject: Re: [ic] payment gateway
> Date: Mon, 08 Oct 2001 08:53:49 +0200
> From: Tobias Henle <t.henle@thiesen.com>
> Reply-To: interchange-users@interchange.redhat.com
> To: interchange-users@interchange.redhat.com
> References: <3BBD8DF4.6060701@thiesen.com>
>
> Tobias Henle wrote:
>
> > Hi,
> > i am searching for an example how to integrate a payment-gateway in ic.
> > everything is done in ic and the payment is handled by an external
> > provider. i know there are much postings about but i found nothing
> > useful for me! so if anyone has usefull code please mail it to me
> > (t.henle@thiesen.com). i am especially interested in the
> > checkout-profiles and pages!
> >
> > thank u
> >
>
> Sorry but my last posting was a `bit' confusing.
>
> I neet to open a http-url during checkout for transmitting order
> information to our payment gateway
> after that i want to display the normal receipt page displaying the
> order information.
> but i don`t have any idea where to open the url (to the gateway) and
> where to do error handling.
> is there any documentation about the orderprofiles or a howto about
> using a payment gateway?????
>
>
>
> _cu_ (mit freundliche Grüßen)
>
> -Tobias Henle
> _ _ _
> __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
> \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
> \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
> --
> ________E-Mail________________________URL____________________________
> mailto:t.henle@thiesen.com http://www.thiesen.com
> _____________________________________________________________________
>
> ------------------------------------------------------------------------
>
> Subject: [ic] Installing interchange with postgresql database
> Date: Mon, 8 Oct 2001 13:17:07 +0200 (MEST)
> From: c.willer@gmx.de
> Reply-To: interchange-users@interchange.redhat.com
> To: interchange-users@interchange.redhat.com
> References: <200110071602.f97G2ap22958@interchange.redhat.com>
>
> Hi,
>
> I hope somebody here can help me with my question. I would like to use
> makecat and configure a catalog with a conncetion to a Posgresql database (actual
> version, DBI, DBD::Pg available). When I continue the makecat programm the
> programm stopps and says "error number 225" and the connection can not be
> established. I allready wrote a small perl programm to check if the dbi driver
> works and it seems he works. Does anaybody have similar experiences or knows how
> to solve this issue?
>
> Greetings from Heidelberg
>
> Christian Willer
>
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
> ------------------------------------------------------------------------
>
> Subject: Re: [ic] Installing interchange with postgresql database
> Date: Mon, 8 Oct 2001 14:20:19 +0200
> From: "Oscar Buijten" <oscar@elbie.com>
> Reply-To: interchange-users@interchange.redhat.com
> To: <interchange-users@interchange.redhat.com>
> References: <200110071602.f97G2ap22958@interchange.redhat.com> <16452.1002539827@www6.gmx.net>
>
> Christian,
>
> I have installed it last week (with PostgreSQL) and it went just fine.
> Do you start PostgreSQL with the '-i' flag?
> As a reference; I use www.sql-ledger.org , that's how I know Pg is installed
> properly.
>
> Good luck!
>
> Oscar
>
> ----- Message d'origine -----
> De : <c.willer@gmx.de>
> À : <interchange-users@interchange.redhat.com>
> Envoyé : lundi 8 octobre 2001 13:17
> Objet : [ic] Installing interchange with postgresql database
>
> > Hi,
> >
> > I hope somebody here can help me with my question. I would like to use
> > makecat and configure a catalog with a conncetion to a Posgresql database
> (actual
> > version, DBI, DBD::Pg available). When I continue the makecat programm the
> > programm stopps and says "error number 225" and the connection can not be
> > established. I allready wrote a small perl programm to check if the dbi
> driver
> > works and it seems he works. Does anaybody have similar experiences or
> knows how
> > to solve this issue?
> >
> > Greetings from Heidelberg
> >
> > Christian Willer
> >
> >
> > --
> > GMX - Die Kommunikationsplattform im Internet.
> > http://www.gmx.net
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
>
> ------------------------------------------------------------------------
>
> Subject: [ic] Static Page Building
> Date: 08 Oct 2001 15:20:06 +0200
> From: racke@linuxia.de (Stefan Hornburg (Racke))
> Reply-To: interchange-users@interchange.redhat.com
> To: interchange-users@interchange.redhat.com
>
>
> Hello, Interchange users & developers !
>
> I'm currently involved in improving and fixing the static page building
> facility of Interchange/Interchange UI.
>
> It would be a great help for me if all people using this feature tell
> me please:
>
> * if it works now
> * the Static* configuration settings
> * any problems
> * where the documentation lacks
>
> Any feedback is much appreciated. Please help us to improve Interchange.
>
> On behalf of the Interchange Core Team
> Racke
>
> --
> Racke happily hacks Interchange and maintains Debian packages like Courier.
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
>
> ------------------------------------------------------------------------
>
> Subject: [ic] Log file corruption?
> Date: Mon, 8 Oct 2001 10:58:49 -0400
> From: "Jake Thompson" <jthompson@ztechnet.com>
> Reply-To: interchange-users@interchange.redhat.com
> To: <interchange-users@interchange.redhat.com>
>
> Attached is the html generated from a recent traffinc report. It seems to be ok upto a couple of days ago, then it seems to lose it?
>
> Anyone else see this and can I fix it withouth deleteing the current log file.
>
> Thanks,
> Jake T.
>
> ------------------------------------------------------------------------
> Name: Traffic statistics.htm
> Traffic statistics.htm Type: Hypertext Markup Language (text/html)
> Encoding: quoted-printable
>
> ------------------------------------------------------------------------
>
> Subject: [ic] Problem with mail list archive search
> Date: Mon, 8 Oct 2001 08:45:53 -0700
> From: "Desjardins, Ray" <Desjardins.Ray@Con-Way.com>
> Reply-To: interchange-users@interchange.redhat.com
> To: "'interchange-users@interchange.redhat.com'"
> <interchange-users@interchange.redhat.com>
>
> Is anyone else getting this error when searching the list archives? It
> doesn't find anything no matter what I put in.
>
> Ray
>
> No matches were found for '(authorize or authorized or authorizing or
> authorizer or authorizes or authorizers)'
>
> ------------------------------------------------------------------------
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 8 13:39:00 2001
Subject: [ic] Problem with e-mail
"Desjardins, Ray" <Desjardins.Ray@Con-Way.com> writes:
> I am running Solaris 8. Where does interchange 4.8.2 look for the sendmail
> binary? E-mail doesn't seem to be working.
Certainly the Interchange documentation has it drawbacks, but searching
for sendmail on interchange.redhat.com should answer your question.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Mon Oct 8 13:41:37 2001
Subject: [ic] (no subject)
I'm reposting this, without the attachments, as the original post was too
large.
Hello list,
I have a IC 4.8.2 (CVS today) perl 5.6.1, RaqXTR RH6.x, and GDBM.
Eberything in the Admin section works properly except for the Orders
Section under Reports. The transaction log, should have over three months,
and around 500 orders worth of data, however, when you click on "Overall by
Month" (FYI it has no affiliates, so it's listed as "None") I get one month
up to 50 orders, never more than 50, it doesn't matter if there are more
than 50 order for that month, it will only show 50. I have attached three
files. (in order of ByAffiliate.html, Monthly.html, Detail.html)
Start off with ByAffiliate.html you'll notice that in only shows August
2001 (I should see August, Sept, and Oct) and that the orders add up to 50.
Then take a look at Monthly.html you'll see that it starts off with the
21st of August, which is the day that it went live. and goes to the end of
the month. The "Number of Orders" adds up to 50 however, If you then pick
a day, (In the example "Details.html is August 28 which should have 6
orders according to Monthly.html) but it actually has 8 orders (Which I
confirmed by separate DB look up)
I have exported transactions.gdbm to transactions.txt, deleted the .gdbm
file, and let it recreate the gdbm file from the txt file, same
results. Grepped though the catalog directory to find if There is some
arbitrary Match limit for Reporting no luck. I search through the actual
UI reports/orders files, and can't find anything to indicate that there is
a limit. I enabled the Log("query returned " . $Tag->uneval( {ref =>
$Tmp->{main} } ));
line in ByAffiliate, and the search results it, only return the 21-31 of August
I tried changing (see the commented section) the query code on the page
[query
st=db
table=transactions
hashref=main
[comment]
sql="
select affiliate, campaign, total_cost, order_date
from transactions
WHERE deleted != '1'
"]
[/comment]
sql="
select affiliate, campaign, total_cost, order_date
from transactions
WHERE deleted != '1' [scratch date_limit] [scratch
synd_limit]
order by affiliate, campaign, order_date
"][/query]
Which will result in all three months showing up, but the order total will
still only add up to 50.
Reporting by the other options also, the number of orders, will *always*
add up to 50 orders, unless you limit your search to a date range that you
know has less than 50 orders.
PS
I have the exact same (CVS This morning) RPM version running on a
different box (RH7.1, PGSQL 7.1.2, perl 5.6.1) The reporting sections run
perfectly on that one.
This problem has been occurring since the early versions of 4.8.x
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Sheamus Nulty)
Date: Mon Oct 8 14:05:00 2001
Subject: [ic] payment gateway
Tobias,
You will need to create a global sub to do what you what to do. There are
already examples of this in the eg/globalsub directory which you should be
able to use to do what you want.
Sheamus
----- Original Message -----
From: "Tobias Henle" <t.henle@thiesen.com>
To: <interchange-users@interchange.redhat.com>
Sent: 08 October 2001 07:53
Subject: Re: [ic] payment gateway
> Tobias Henle wrote:
>
> > Hi,
> > i am searching for an example how to integrate a payment-gateway in ic.
> > everything is done in ic and the payment is handled by an external
> > provider. i know there are much postings about but i found nothing
> > useful for me! so if anyone has usefull code please mail it to me
> > (t.henle@thiesen.com). i am especially interested in the
> > checkout-profiles and pages!
> >
> > thank u
> >
>
>
>
> Sorry but my last posting was a `bit' confusing.
>
> I neet to open a http-url during checkout for transmitting order
> information to our payment gateway
> after that i want to display the normal receipt page displaying the
> order information.
> but i don`t have any idea where to open the url (to the gateway) and
> where to do error handling.
> is there any documentation about the orderprofiles or a howto about
> using a payment gateway?????
>
>
>
>
> _cu_ (mit freundliche Grüßen)
>
> -Tobias Henle
> _ _ _
> __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
> \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
> \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
> --
> ________E-Mail________________________URL____________________________
> mailto:t.henle@thiesen.com http://www.thiesen.com
> _____________________________________________________________________
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Mon Oct 8 14:26:00 2001
Subject: [ic] (no subject)
At 10:33 AM 10/8/01, you wrote:
>I'm reposting this, without the attachments, as the original post was too
>large.
>
>Hello list,
> I have a IC 4.8.2 (CVS today) perl 5.6.1, RaqXTR RH6.x, and GDBM.
>Eberything in the Admin section works properly except for the Orders
>Section under Reports. The transaction log, should have over three
>months, and around 500 orders worth of data, however, when you click on
>"Overall by Month" (FYI it has no affiliates, so it's listed as "None") I
>get one month up to 50 orders, never more than 50, it doesn't matter if
>there are more than 50 order for that month, it will only show 50. I have
>attached three files. (in order of ByAffiliate.html, Monthly.html,
>Detail.html)
>
>Start off with ByAffiliate.html you'll notice that in only shows August
>2001 (I should see August, Sept, and Oct) and that the orders add up to 50.
>
>Then take a look at Monthly.html you'll see that it starts off with the
>21st of August, which is the day that it went live. and goes to the end
>of the month. The "Number of Orders" adds up to 50 however, If you then
>pick a day, (In the example "Details.html is August 28 which should have 6
>orders according to Monthly.html) but it actually has 8 orders (Which I
>confirmed by separate DB look up)
>
>I have exported transactions.gdbm to transactions.txt, deleted the .gdbm
>file, and let it recreate the gdbm file from the txt file, same
>results. Grepped though the catalog directory to find if There is some
>arbitrary Match limit for Reporting no luck. I search through the actual
>UI reports/orders files, and can't find anything to indicate that there is
>a limit. I enabled the Log("query returned " . $Tag->uneval( {ref =>
>$Tmp->{main} } ));
>line in ByAffiliate, and the search results it, only return the 21-31 of
>August
>
>I tried changing (see the commented section) the query code on the page
>[query
> st=db
> table=transactions
> hashref=main
>[comment]
> sql="
> select affiliate, campaign, total_cost, order_date
> from transactions
> WHERE deleted != '1'
> "]
>[/comment]
> sql="
> select affiliate, campaign, total_cost, order_date
> from transactions
> WHERE deleted != '1' [scratch date_limit]
> [scratch synd_limit]
> order by affiliate, campaign, order_date
> "][/query]
>
>Which will result in all three months showing up, but the order total will
>still only add up to 50.
>
>Reporting by the other options also, the number of orders, will *always*
>add up to 50 orders, unless you limit your search to a date range that you
>know has less than 50 orders.
>
>
>PS
> I have the exact same (CVS This morning) RPM version running on a
> different box (RH7.1, PGSQL 7.1.2, perl 5.6.1) The reporting sections run
> perfectly on that one.
>
>This problem has been occurring since the early versions of 4.8.x
>
>
>Brian Kosick
I don't use the UI but the query tag does use ml=XX to limit result sets
and perhaps it defaults to 50?
Try setting ml to a higher number and see what happens.
Kyle
From: interchange-users at interchange.redhat.com (Matthew Schick)
Date: Mon Oct 8 15:07:00 2001
Subject: [ic] Re: YOUR ADMIN ICONS NOT BEING DISPLAYED
On Mon, 2001-10-08 at 13:29, john@hambleton.com wrote:
Ryan:
I just noticed this happened to me, also. I checked the path (as suggested
by Matt Schick for
UI_IMAGE_DIR) in '{catalog/}products/variables.txt' and noticed that it was
always set to
"interchange" and when I checked the source when the browser tried to fetch
(eg.) the page and it
looked like "http//{hostname}/interchange/en_US/redhat_logo.gif" which does
not exist.
Is '{hostname}' actually what's in the url? If so, it looks like the
variable isn't getting properly interpreted.
I ended up putting those images in
'{catalog/}admin_pages/en_US/redhat_logo.gif' and set the
UI_IMAGE_DIR to '{catalog}/admin_pages'. It works but
this is really bogus. Something has happened in 4.8.2 to make this fail.
What did you do to correct this problem?
John G. Hambleton
eTechnical Solutions Inc.
Solutions for the New Economy
voice: (760)413-6305
pgr: (619)973-6188
JOHN@HAMBLETON.COM
----- Original Message -----
From: "ryan quigley" <ryan@danmillerdesign.com>
To: <interchange-users@interchange.redhat.com>
Sent: Friday, October 05, 2001 3:33 PM
Subject: [ic] images not displaying in administration
> I just recently installed the interchange 4.8.2 rpms and everything seems
to
> be working fine except for the fact that images don't display in the admin
> section. Is this something I can reconfigure easily? Any ideas?
>
> thanks,
> ryan
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Mon Oct 8 15:22:01 2001
Subject: [ic] Problem with mail list archive search
On Mon, 8 Oct 2001, Desjardins, Ray wrote:
> Is anyone else getting this error when searching the list archives? It
> doesn't find anything no matter what I put in.
htdig is dumping core. We're working on a replacement.
Jon
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Mon Oct 8 16:00:00 2001
Subject: [ic] (no subject)
At 11:22 AM 10/8/01 -0700, you wrote:
<snip>
>I don't use the UI but the query tag does use ml=XX to limit result sets
>and perhaps it defaults to 50?
>
>Try setting ml to a higher number and see what happens.
>
>Kyle
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
OK I modified ByAffiliate.html, Monthly.html, and Details.html query tags
to read
[query
st=db
table=transactions
hashref=main
ml=9999
sql="<snip>
"][/query]
that is I added the ml=9999 to them... Now, It works great! However, how
would this fix future updates? without me having to modify these every
time? It seems like more of a work around than a fix. Is there a separate
MatchLimit for the admin UI? If so, where would I modify it?
From: interchange-users at interchange.redhat.com (Vaughn Adamson)
Date: Mon Oct 8 16:09:00 2001
Subject: [ic] UI log in
I have installed 4.8.1 demo and I am unable to log into the UI. I receive a
page stating that the page cannot be found (unspecified error). Can someone
let me know how I might fix this?
Thank You
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Mon Oct 8 16:26:01 2001
Subject: [ic] (no subject)
Quoting Brian Kosick (briank@nacs.net):
> At 11:22 AM 10/8/01 -0700, you wrote:
> <snip>
> >I don't use the UI but the query tag does use ml=XX to limit result sets
> >and perhaps it defaults to 50?
> >
> >Try setting ml to a higher number and see what happens.
> >
> >Kyle
> >
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@interchange.redhat.com
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> OK I modified ByAffiliate.html, Monthly.html, and Details.html query tags
> to read
> [query
> st=db
> table=transactions
> hashref=main
> ml=9999
> sql="<snip>
> "][/query]
>
> that is I added the ml=9999 to them... Now, It works great! However, how
> would this fix future updates? without me having to modify these every
> time? It seems like more of a work around than a fix. Is there a separate
> MatchLimit for the admin UI? If so, where would I modify it?
You must be using DBM, which is not at all recommended for this. Normally
query returns more results (when it is SQL), but there is a matchlimit
default in the Vend::DbSearch used for DBM types.
You should really, really, either switch to SQL or use another method of
reporting. If your number of orders gets into the thousands with DBM, it
will take forever to build the report.
We strongly recommend using SQL for the userdb, orderline, and
transactions tables of any busy system.
That being said, I have added ml=100000 to each of those queries
and it will be there in the next release. Thanks for the report.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Clothes make the man. Naked people have little or no influence on
society. -- Mark Twain
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 8 17:15:01 2001
Subject: [ic] Static Page Building
Doug Alcorn <lathi@seapine.com> writes:
> racke@linuxia.de (Stefan Hornburg (Racke)) writes:
>
> > * if it works now
> > * the Static* configuration settings
> > * any problems
> > * where the documentation lacks
>
> I use it and it mostly works. I haven't had much luck saying "never
> make this page static".
I suppose this an obvious bug of regenerate.tag. You may try this
patch:
Index: regenerate.tag
===================================================================
RCS file: /anon_cvs/repository/interchange/dist/lib/UI/usertag/regenerate.tag,v
retrieving revision 2.0.2.2
diff -u -c -r2.0.2.2 regenerate.tag
*** regenerate.tag 2001/10/07 13:56:07 2.0.2.2
--- regenerate.tag 2001/10/08 21:12:22
***************
*** 107,113 ****
if($CGI::values{ui_never_build}) {
my @tmp = split /\0/, $CGI::values{ui_never_build};
#::logDebug("never build of: @tmp");
! @force_build{@tmp} = (@tmp);
}
my $save_session = $Vend::Session;
my $save_status = $Vend::StatusLine;
--- 107,113 ----
if($CGI::values{ui_never_build}) {
my @tmp = split /\0/, $CGI::values{ui_never_build};
#::logDebug("never build of: @tmp");
! @never_build{@tmp} = (@tmp);
}
my $save_session = $Vend::Session;
my $save_status = $Vend::StatusLine;
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 8 17:21:00 2001
Subject: [ic] Static Page Building
Doug Alcorn <lathi@seapine.com> writes:
> racke@linuxia.de (Stefan Hornburg (Racke)) writes:
>
> > * if it works now
> > * the Static* configuration settings
> > * any problems
> > * where the documentation lacks
>
> I use it and it mostly works. I haven't had much luck saying "never
> make this page static". Also, the logic for determining what to make
> static and what to make dynamic is voodoo to me. It also seems like
> you get "lost" sometimes on the site. What I mean is that you get a
> batch of pages created static; but somewhere there's a link to the
> dynamic one. Once you follow that link to the dynamic page, the
> static pages are lost to you.
IMHO the user interface is bad. I try to make it better, but we'll
see.
>
> What would be nice is to be able to say, "make these and only these
> pages static".
I think I'll implement the following logic:
catalog.cfg:
StaticAll Yes
=> make a tree
StaticAll No
=> entry page can not be selected anymore
=> anything from StaticPage will be selected as forced
=> set StaticDepth to 1 if not specified
At all, a select box for StaticDepth should be added.
> Also, that list isn't remembered from admin session to
> session. It would be nice if that list were stored somewhere.
> However, occationally I know there's just one page that needs
> regenerating. I would like to be able to say, "i know there are lots
> of pages that should be made static; but just do this one page"
>
> Another nice feature would be to just dump the index.html into the
> docroot.
>
> Ok, one more and I thnk I'm done. It would be nice to have an admin
> UI page that setup a cron job for regenerating pages on a regular
> basis.
Maybe Mike tells us why he removed this feature from IC.
>
>
> BTW, all of http://www.lathi.net is IC served pages. I try to
> generate as much of it static as I can. If you want to see the code
> and try and determine why what's made static I'd be happy to share.
Yeah, it would be great to make Static a real useful feature again.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Mon Oct 8 17:43:00 2001
Subject: [ic] htdig is dead again
FYI nothing is returned from search of list archives
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Tue Oct 9 04:37:02 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
Hi List,
I try to use the mailarchives with
http://developer.akopia.com/cgi-bin/htsearch with no luck. Is the
mailarchivs down?
I've fetched IC 4.8.2 and after Installation, I get a "segmentation
fault (core dumped) and I'm missing the v/tlink source from
/path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
Why?
IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
4.3!
Any hints, tips and suggestions are very wellcome!
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Tue Oct 9 05:13:03 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
Hi List,
I've new informations.
With
---snip interchange.cfg -------
# Set to 1 to include back-end administration interface.
Variable UI 1
# Set to "low", "high", or "rpc" to get different server parameters.
Variable TRAFFIC low
#Variable TRAFFIC rpc
---snip interchange.cfg -------
I get
-------- snip ----------
> bin/interchange -u
Low traffic settings.
"mode" is not defined in %Fcntl::EXPORT_TAGS at bin/interchange line
2717
Calling UI......UI is loaded...
Interchange V4.8.2
Configuring catalog fondation...Using default DBM database...done.
Segmentation fault (core dumped)
Exit 139
-------- snip ----------
With
---snip interchange.cfg -------
# Set to 1 to include back-end administration interface.
Variable UI 0
# Set to "low", "high", or "rpc" to get different server parameters.
Variable TRAFFIC low
#Variable TRAFFIC rpc
---snip interchange.cfg -------
I get
-------- snip ----------
> bin/interchange -u
Low traffic settings.
Interchange V4.8.2
Configuring catalog fondation...Required UserTag table_editor not
present. Aborting catalog.
In line 11 of the configuration file 'catalog.cfg':
Require UserTag email email_raw var loc table_editor button
fondation config error: Required UserTag table_editor not present.
Aborting catalog.
In line 11 of the configuration file 'catalog.cfg':
Require UserTag email email_raw var loc table_editor button
fondation: error in configuration. Skipping.
fondation: config error. Skipping.
Interchange server started in UNIX mode(s) (process id 14391)
-------- snip ----------
Copying from .../dist/lib/UI/usertag/table_editor.tag to
/path-to-IC-4.8.2/usertag solve it.
But at the first time, bin/makecat copy the new vlink from bin/vlink
into my cgi-bin directory and I'm not able to see the fondation shop.
The both link files are very big (bigger than 20 KB). Delting the both
link files and building a new link files show me, both files is not
bigger than 8 KB.
-------- snip ----------
#ls -al *link
-r-xr-xr-x 1 mvend mvend 10001 Oct 9 10:29 compile_link
-rwxr-xr-x 1 mvend mvend 7584 Oct 9 11:04 tlink
-rwxr-xr-x 1 mvend mvend 7200 Oct 9 11:04 vlink
-------- snip ----------
Using with that file make the fondation shop available now.
But using
---snip interchange.cfg -------
# Set to 1 to include back-end administration interface.
Variable UI 1
# Set to "low", "high", or "rpc" to get different server parameters.
Variable TRAFFIC low
#Variable TRAFFIC rpc
---snip interchange.cfg -------
again, I get
-------- snip ----------
> bin/interchange -u
Low traffic settings.
"mode" is not defined in %Fcntl::EXPORT_TAGS at bin/interchange line
2717
Calling UI......UI is loaded...
Interchange V4.8.2
Configuring catalog fondation...Using default DBM database...done.
Segmentation fault (core dumped)
Exit 139
-------- snip ----------
Why?
Is something wrong with .configure oder Makefile.PL from IC 4.8.2?
Thanks!
ciao
Joachim
Joachim Leidinger wrote:
> I try to use the mailarchives with
> http://developer.akopia.com/cgi-bin/htsearch with no luck. Is the
> mailarchivs down?
>
> I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> fault (core dumped) and I'm missing the v/tlink source from
> /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> Why?
> IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> 4.3!
>
> Any hints, tips and suggestions are very wellcome!
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (walter de kok)
Date: Tue Oct 9 06:19:02 2001
Subject: [ic] Strange error
Hi list,
I keep getting this error in my catalog error.log:
193.78.140.34 ha8yKU7U:193.78.140.34 - [09/October/2001:10:30:19 +0200]
shop /cgi-bin/shop/process.html profile: invalid characters
(tag=default profile=dealer^M), must be [A-Za-z_]+
The thing I don't understand is where this error comes from.
Can you please help me....
T.i.a. Walter
From: interchange-users at interchange.redhat.com (Olaf Raabe)
Date: Tue Oct 9 06:57:02 2001
Subject: [ic] Strange error
Hi,
it look like the string "dealer" comes from a dos file with carriage return
and line feed. Converting it to Unix style will prevent the error I think.
Olaf.
----- Original Message -----
From: "walter de kok" <walter@afa.nl>
To: "interchange-users@developer.akopia.com"
<interchange-users@anthrax.interchange.redhat.com>
Sent: Tuesday, October 09, 2001 12:09 PM
Subject: [ic] Strange error
> Hi list,
>
> I keep getting this error in my catalog error.log:
>
> 193.78.140.34 ha8yKU7U:193.78.140.34 - [09/October/2001:10:30:19 +0200]
> shop /cgi-bin/shop/process.html profile: invalid characters
> (tag=default profile=dealer^M), must be [A-Za-z_]+
>
> The thing I don't understand is where this error comes from.
>
> Can you please help me....
>
> T.i.a. Walter
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Tue Oct 9 07:08:03 2001
Subject: [ic] SafeUntrap use
Hi,
i must use
use Digest::SHA1 qw(sha1 sha1_hex sha1_base64);
in a usertag an neet to untrap this, is there a general possibility to
disable the safe-trap for every perl code, becorse i only run shops
trusted by me
cu
(mit freundliche Grüßen)
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (Dave Barr)
Date: Tue Oct 9 08:03:02 2001
Subject: [ic] Multiple shipping tables based on affiliate
(IC 4.6.5, Debian 2.2-17, MySQL 3.22, Perl 5.005-03)
Hi People,
I have a question regarding the feasibility of having different
shipping tables based on affiliates using the mv_pc=foo_shop1,
mv_pc=bar_shop2. I have created a site that has one database but many
different faces depending on the affiliate, up till now there was a
central fulfillment house but that has now changed and I need to
create different shipping tables for each affiliate.
I should point out that I *do not* wish to have separate shops at
this time, this is part of a long term strategy that in the future
will allow the sharing of shops contents betwixt several shops using
a switch in the affiliates db so that they can be independent or part
of a mall.
Order routing was easy enough to implement, but the shipping has got
me stumped, if any one has any suggestions / pointers that would help
kick start me off in the right direction I would be very very
grateful.
Kind regards
Dave Barr
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Tue Oct 9 08:07:07 2001
Subject: [ic] SafeUntrap use
Tobias Henle <t.henle@thiesen.com> writes:
> Hi,
> i must use
> use Digest::SHA1 qw(sha1 sha1_hex sha1_base64);
> in a usertag an neet to untrap this, is there a general possibility to
> disable the safe-trap for every perl code, becorse i only run shops
> trusted by me
Don't do this, use a global usertag.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Dennis Schoen)
Date: Tue Oct 9 09:16:03 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
On Tue, Oct 09, 2001 at 10:39:01AM +0200, Joachim Leidinger wrote:
> Hi List,
>
> I try to use the mailarchives with
> http://developer.akopia.com/cgi-bin/htsearch with no luck. Is the
> mailarchivs down?
>
> I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> fault (core dumped) and I'm missing the v/tlink source from
> /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> Why?
> IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> 4.3!
>
> Any hints, tips and suggestions are very wellcome!
I just discussed that issue with mike on irc:
<dennis> mike: any news about the 4.8.2 freebsd bug?
<mike> Which bug would that be?
<dennis> read the mailinglist? :) segfault on startup
<dennis> jojo was the last one who reported it
<mike> Aha, that is a Perl bug
<mike> You have to define setproctitle=define or something when building
<dennis> standard perl in freebsd broken?
<mike> Yes, the distro Perl is broken that is nothing new with FreeBSD....
<mike> They shipped Perl 4 as the default perl on the system until December of 1998....
<dennis> 8-)
<mike> Or you can uncomment the $0 = .... lines in bin/interchange, which is
<mike> what causes the core dump.
Ciao
Dennis
--
"The Idea Is Good But The World Isn't Ready Yet"
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 09:20:05 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
Quoting Joachim Leidinger (jojo@blackpoint.de):
> Hi List,
>
> I try to use the mailarchives with
> http://developer.akopia.com/cgi-bin/htsearch with no luck. Is the
> mailarchivs down?
>
> I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> fault (core dumped) and I'm missing the v/tlink source from
> /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> Why?
> IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> 4.3!
I believe this is a bug in the distribution FreeBSD Perl, I believe.
Why it manifests itself in 4.8.2 but not 4.8.1 I don't know -- probably
the way the memory lines up.
In any case, if you rebuild Perl and put setproctitle=define I think
it works fine....
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Tue Oct 9 09:36:02 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
Dennis Schoen wrote:
[DEL]
> > I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> > fault (core dumped) and I'm missing the v/tlink source from
> > /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> > Why?
> > IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> > 4.3!
> >
> > Any hints, tips and suggestions are very wellcome!
> I just discussed that issue with mike on irc:
>
> <dennis> mike: any news about the 4.8.2 freebsd bug?
> <mike> Which bug would that be?
> <dennis> read the mailinglist? :) segfault on startup
> <dennis> jojo was the last one who reported it
> <mike> Aha, that is a Perl bug
> <mike> You have to define setproctitle=define or something when building
> <dennis> standard perl in freebsd broken?
> <mike> Yes, the distro Perl is broken that is nothing new with FreeBSD....
> <mike> They shipped Perl 4 as the default perl on the system until December of 1998....
Really?
-----snip-------
#perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=freebsd, osvers=4.0-current, archname=i386-freebsd
uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current
#0: $Date$'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release)
cppflags=''
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -lperl -lm '
libpth=/usr/lib
libs=-lm -lc -lcrypt
libc=, so=so, useshrplib=true, libperl=libperl.so.3
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/lib'
cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '
Characteristics of this binary (from libperl):
Built under freebsd
Compiled at Apr 2 2001 23:33:53
@INC:
/usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005
-----snip-------
> <dennis> 8-)
> <mike> Or you can uncomment the $0 = .... lines in bin/interchange, which is
> <mike> what causes the core dump.
Uncomment the $0 = ... lines solve it! :-))
Mike! Dennis!
Thank you a lot!
ciao
jojo
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Tue Oct 9 09:43:03 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
Mike Heins wrote:
>
> Quoting Joachim Leidinger (jojo@blackpoint.de):
> > Hi List,
> >
> > I try to use the mailarchives with
> > http://developer.akopia.com/cgi-bin/htsearch with no luck. Is the
> > mailarchivs down?
> >
> > I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> > fault (core dumped) and I'm missing the v/tlink source from
> > /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> > Why?
> > IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> > 4.3!
>
> I believe this is a bug in the distribution FreeBSD Perl, I believe.
> Why it manifests itself in 4.8.2 but not 4.8.1 I don't know -- probably
> the way the memory lines up.
Very strange! IC 4.8.1 is running well and fine and has the $0 = ...
lines, which don't cause any errors or problems.
> In any case, if you rebuild Perl and put setproctitle=define I think
> it works fine....
Hmmm...do you mean rebuilding Perl with the compilerflag like
"setproctitle=define"?
Current, I've no clue to do that! Sorry!
Are there any FreeBSD user, who can point me to do that?
Thanks!
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Christopher VanOosterhout)
Date: Tue Oct 9 10:39:01 2001
Subject: [ic] Automatically placing another item in cart when a specific
Greetings All,
I have tried to search for this in the archives, but it appears that the
search function (from the developer Web site) for this list is broke. No
matter what I try to search on ... even single terms like order and
interchange I get (0) zero results.
In any case, here is the question.
I would like certain items in my stores to automatically include another
item when ordered. This would serve to purposes for me.
1) Some of our parts require the charge of a deposit. As an example, a
bottle of pop. I would like Interchange to say: when part number
pepsi2liter is ordered add the item tencntdeposit to the cart. In our case
we have a core charge on major engine parts. So when someone orders a
rebuild alternator we would like to automatically add to their cart an item
called Core Charge Deposit for $350.00
2) If figured we could also use this to add specific parts to an order as a
promotion. Buy a case of filters ... and it will add another filter to the
order (with a special part number) at no charge.
In either case, can anyone point me to a model, email discussion or
documentation about how this may have been accomplished in the past?
Thanks,
Christopher
--
Christopher VanOosterhout
Torresen Marine, Inc.
Internet Division
http://www.torresen.com/
http://www.marinedieseldirect.com/
3126 Lake Shore Drive
Muskegon, Michigan 49441
231-759-8596
From: interchange-users at interchange.redhat.com (Support)
Date: Tue Oct 9 10:46:01 2001
Subject: [ic] [more] / [more-list]
Quick question since the searches over at the interchange.redhat.com
site are not returning results properly...
With the [more] tag- how can I change the link color? I have the page
defaulting to "white" links but need to have the [more] links be blue...
I tried something like: [more-list link=#0000FF] but that obviously
didn't work. ;-)
Jason.
--
---------------------------------------------------------------
**** Virtual Hosting w/ Interchange, $20/month! ****
---------------------------------------------------------------
KORKSOFT - Software & Internet Solutions
Interchange, E-Commerce, C++/Perl/PHP/ASP
http://www.korksoft.com
Tel: (561) 642-7005 x 201
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Tue Oct 9 10:58:01 2001
Subject: [ic] [more] / [more-list]
Support wrote:
>
> Quick question since the searches over at the interchange.redhat.com
> site are not returning results properly...
>
> With the [more] tag- how can I change the link color? I have the page
> defaulting to "white" links but need to have the [more] links be blue...
> I tried something like: [more-list link=#0000FF] but that obviously
> didn't work. ;-)
>
> Jason.
How about
<body ..... LINK="#0000FF">
in your page?
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Olaf Raabe)
Date: Tue Oct 9 11:00:01 2001
Subject: [ic] [more] / [more-list]
I have just use the <font color="#0000FF">[more] tag and it works.
Olaf
----- Original Message -----
From: "Support" <support@korksoft.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 09, 2001 4:45 PM
Subject: [ic] [more] / [more-list]
> Quick question since the searches over at the interchange.redhat.com
> site are not returning results properly...
>
> With the [more] tag- how can I change the link color? I have the page
> defaulting to "white" links but need to have the [more] links be blue...
> I tried something like: [more-list link=#0000FF] but that obviously
> didn't work. ;-)
>
> Jason.
>
> --
> ---------------------------------------------------------------
> **** Virtual Hosting w/ Interchange, $20/month! ****
> ---------------------------------------------------------------
> KORKSOFT - Software & Internet Solutions
> Interchange, E-Commerce, C++/Perl/PHP/ASP
> http://www.korksoft.com
> Tel: (561) 642-7005 x 201
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Edward Rubottom)
Date: Tue Oct 9 11:03:00 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
I still am having the same problem... I have built the latest version of
perl... (several times) and still Segmentation fault and core dump..
FreeBSD 4.2
I am about to go nutz with this....
Help at this point would be greatly appriceated....
Thanks Eddie
----- Original Message -----
From: "Mike Heins" <mheins@redhat.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 09, 2001 6:15 AM
Subject: Re: [ic] IC 4.8.2 Segmentation fault and core dumped
> Quoting Joachim Leidinger (jojo@blackpoint.de):
> > Hi List,
> >
> > I try to use the mailarchives with
> > http://developer.akopia.com/cgi-bin/htsearch with no luck. Is the
> > mailarchivs down?
> >
> > I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> > fault (core dumped) and I'm missing the v/tlink source from
> > /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> > Why?
> > IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> > 4.3!
>
> I believe this is a bug in the distribution FreeBSD Perl, I believe.
> Why it manifests itself in 4.8.2 but not 4.8.1 I don't know -- probably
> the way the memory lines up.
>
> In any case, if you rebuild Perl and put setproctitle=define I think
> it works fine....
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> Friends don't let friends use Outlook. -- Bob Blaylock
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at interchange.redhat.com (Jason Korkin)
Date: Tue Oct 9 11:07:01 2001
Subject: [ic] [more] / [more-list]
Can't do that one -- because its already defined as being link=#FFFFFF
(ie. white) for all of the other links...
Jason.
Joachim Leidinger wrote:
>
> Support wrote:
> >
> > Quick question since the searches over at the interchange.redhat.com
> > site are not returning results properly...
> >
> > With the [more] tag- how can I change the link color? I have the page
> > defaulting to "white" links but need to have the [more] links be blue...
> > I tried something like: [more-list link=#0000FF] but that obviously
> > didn't work. ;-)
> >
> > Jason.
>
> How about
>
> <body ..... LINK="#0000FF">
>
> in your page?
>
> ciao
>
> Joachim
>
> --
> Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
> [Hans-Joachim.leidinger@bpanet.de]
> Black Point Arts Internet Solutions GmbH
> http://www.bpanet.de
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
---------------------------------------------------------------
**** Virtual Hosting w/ Interchange, $20/month! ****
---------------------------------------------------------------
KORKSOFT - Software & Internet Solutions
Interchange, E-Commerce, C++/Perl/PHP/ASP
http://www.korksoft.com
Tel: (561) 642-7005 x 201
From: interchange-users at interchange.redhat.com (Jason Korkin)
Date: Tue Oct 9 11:09:00 2001
Subject: [ic] [more] / [more-list]
No, actually it doesn't :-) It makes the "text" value of the first page
work properly, but the actually links don't inherit the color.
Best,
Jason.
Olaf Raabe wrote:
>
> I have just use the <font color="#0000FF">[more] tag and it works.
> Olaf
>
> ----- Original Message -----
> From: "Support" <support@korksoft.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Tuesday, October 09, 2001 4:45 PM
> Subject: [ic] [more] / [more-list]
>
> > Quick question since the searches over at the interchange.redhat.com
> > site are not returning results properly...
> >
> > With the [more] tag- how can I change the link color? I have the page
> > defaulting to "white" links but need to have the [more] links be blue...
> > I tried something like: [more-list link=#0000FF] but that obviously
> > didn't work. ;-)
> >
> > Jason.
> >
> > --
> > ---------------------------------------------------------------
> > **** Virtual Hosting w/ Interchange, $20/month! ****
> > ---------------------------------------------------------------
> > KORKSOFT - Software & Internet Solutions
> > Interchange, E-Commerce, C++/Perl/PHP/ASP
> > http://www.korksoft.com
> > Tel: (561) 642-7005 x 201
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
---------------------------------------------------------------
**** Virtual Hosting w/ Interchange, $20/month! ****
---------------------------------------------------------------
KORKSOFT - Software & Internet Solutions
Interchange, E-Commerce, C++/Perl/PHP/ASP
http://www.korksoft.com
Tel: (561) 642-7005 x 201
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Tue Oct 9 11:16:01 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
Edward Rubottom wrote:
>
> I still am having the same problem... I have built the latest version of
> perl... (several times) and still Segmentation fault and core dump..
>
> FreeBSD 4.2
>
> I am about to go nutz with this....
>
> Help at this point would be greatly appriceated....
>
> Thanks Eddie
In the another email from Dennis Schoen
------- snip -----------
On Tue, Oct 09, 2001 at 10:39:01AM +0200, Joachim Leidinger wrote:
> Hi List,
>
> I try to use the mailarchives with
> http://developer.akopia.com/cgi-bin/htsearch with no luck. Is the
> mailarchivs down?
>
> I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> fault (core dumped) and I'm missing the v/tlink source from
> /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> Why?
> IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> 4.3!
>
> Any hints, tips and suggestions are very wellcome!
I just discussed that issue with mike on irc:
<dennis> mike: any news about the 4.8.2 freebsd bug?
<mike> Which bug would that be?
<dennis> read the mailinglist? :) segfault on startup
<dennis> jojo was the last one who reported it
<mike> Aha, that is a Perl bug
<mike> You have to define setproctitle=define or something when building
<dennis> standard perl in freebsd broken?
<mike> Yes, the distro Perl is broken that is nothing new with
FreeBSD....
<mike> They shipped Perl 4 as the default perl on the system until
December of 1998....
<dennis> 8-)
<mike> Or you can uncomment the $0 = .... lines in bin/interchange,
which is
<mike> what causes the core dump.
Ciao
Dennis
------- snip -----------
Mike Heins has said "Or you can uncomment the $0 = .... lines in
bin/interchange, which is...".
Edit the file interchange
(/your-path-to-the-interchange/bin/interchange).
And make sure, you have a # in line lines with "$0 = ..." like
------- snip --------
#undef $Global::DumpStructure;
if ($Vend::mode eq 'serve') {
undef $Global::Foreground;
# Here we prepare enter the daemon mode.
# Set the $0 to something not having 'perl' (won't
# work on Solaris and IRIX among possibly others)
if(defined $Global::Variable->{MV_DOLLAR_ZERO}) {
#jojo
# $0 = $Global::Variable->{MV_DOLLAR_ZERO};
# $0 = "interchange --> $Global::VendRoot"
# if length($0) < 2;
}
else {
#jojo
# $0 = 'interchange';
}
# We won't have much output on any of this, but if we get some
# we want it immediately
------- snip --------
Ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 11:21:00 2001
Subject: [ic] Multiple shipping tables based on affiliate
Quoting Dave Barr (barrd@cricinfo.com):
> (IC 4.6.5, Debian 2.2-17, MySQL 3.22, Perl 5.005-03)
>
> Hi People,
>
> I have a question regarding the feasibility of having different
> shipping tables based on affiliates using the mv_pc=foo_shop1,
> mv_pc=bar_shop2. I have created a site that has one database but many
> different faces depending on the affiliate, up till now there was a
> central fulfillment house but that has now changed and I need to
> create different shipping tables for each affiliate.
>
> I should point out that I *do not* wish to have separate shops at
> this time, this is part of a long term strategy that in the future
> will allow the sharing of shops contents betwixt several shops using
> a switch in the affiliates db so that they can be independent or part
> of a mall.
>
> Order routing was easy enough to implement, but the shipping has got
> me stumped, if any one has any suggestions / pointers that would help
> kick start me off in the right direction I would be very very
> grateful.
It's pretty easy, I think, and even documented.
You can do at the top of your checkout:
[if session source]
[if type=file term="affiliate_shipping/[data session source].asc"]
<--
Reading shipping from affiliate_shipping/[data session source].asc:
[shipping file="affiliate_shipping/[data session source].asc"]
-->
[/if]
[/if]
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: interchange-users at interchange.redhat.com (Bob Lorenzini)
Date: Tue Oct 9 11:26:01 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
On Tue, 9 Oct 2001, Edward Rubottom wrote:
> I still am having the same problem... I have built the latest version of
> perl... (several times) and still Segmentation fault and core dump..
Make sure your actually running the new version (perl --version).
Bob
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Tue Oct 9 11:27:41 2001
Subject: [ic] [more] / [more-list]
Jason Korkin wrote:
>
> Can't do that one -- because its already defined as being link=#FFFFFF
> (ie. white) for all of the other links...
>
> Jason.
How about a CSS like
a:link.treffer {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: bold;
color: green;
text-decoration: undlerine;}
and in your page a codes like
[seti morestuff]
[decade-prev] <B>(-10)<<</B> [/decade-prev]
[prev-anchor] <B><</B> [/prev-anchor]
[more]
[next-anchor] <B>></B> [/next-anchor]
[decade-next] <B>>>(+10)</B> [/decade-next]
[/seti]
[perl]
$_ = $Safe{'scratch'}->{'morestuff'};
s/HREF/class\=\"treffer\"\ HREF/g;
$Safe{'scratch'}->{'morestuff'} = $_;
return '';
[/perl]
[scratch morestuff]
[/more-list]
You will get a URL like
<STRONG>1</STRONG> <A class="treffer"
HREF="http://www.myhost.com/cgi-bin/myshop/scan/MM=8282ed5487f2bd9f57dee7bad06a5ca6:20:39:20?mv_session_id=JdkDa3CU&mv_more_ip=1&mv_nextpage=results">2</A>
...and so on!
ciao
Joachim
> Joachim Leidinger wrote:
> >
> > Support wrote:
> > >
> > > Quick question since the searches over at the interchange.redhat.com
> > > site are not returning results properly...
> > >
> > > With the [more] tag- how can I change the link color? I have the page
> > > defaulting to "white" links but need to have the [more] links be blue...
> > > I tried something like: [more-list link=#0000FF] but that obviously
> > > didn't work. ;-)
> > >
> > > Jason.
> >
> > How about
> >
> > <body ..... LINK="#0000FF">
> >
> > in your page?
> >
> > ciao
> >
> > Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Tue Oct 9 11:30:02 2001
Subject: [ic] Accounting Package
> Does anybody know of a good Linux integrated accounting
> package that allows development and modifications and
> integration with the Web?
Please do not reply to digests.
NOLA is a new GPL accounting system that I'm checking out currently. It
would be neat to have a high-quality GPL ERP to integrate w/ Interchange,
but we're working against the law of entropy so I guess we'll see what the
future holds.
http://nola.noguska.com/
HTH,
Dan Browning <danpb@mail.com>
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 11:34:00 2001
Subject: [ic] Multiple shipping tables based on affiliate
Quoting Mike Heins (mheins@redhat.com):
> Quoting Dave Barr (barrd@cricinfo.com):
> > (IC 4.6.5, Debian 2.2-17, MySQL 3.22, Perl 5.005-03)
> >
> > Hi People,
> >
> > I have a question regarding the feasibility of having different
> > shipping tables based on affiliates using the mv_pc=foo_shop1,
> > mv_pc=bar_shop2. I have created a site that has one database but many
> > different faces depending on the affiliate, up till now there was a
> > central fulfillment house but that has now changed and I need to
> > create different shipping tables for each affiliate.
> >
> > I should point out that I *do not* wish to have separate shops at
> > this time, this is part of a long term strategy that in the future
> > will allow the sharing of shops contents betwixt several shops using
> > a switch in the affiliates db so that they can be independent or part
> > of a mall.
> >
> > Order routing was easy enough to implement, but the shipping has got
> > me stumped, if any one has any suggestions / pointers that would help
> > kick start me off in the right direction I would be very very
> > grateful.
>
> It's pretty easy, I think, and even documented.
>
> You can do at the top of your checkout:
>
> [if session source]
> [if type=file term="affiliate_shipping/[data session source].asc"]
> <--
> Reading shipping from affiliate_shipping/[data session source].asc:
> [shipping file="affiliate_shipping/[data session source].asc"]
> -->
> [/if]
> [/if]
Oh, I should add that you need to do this once in every place where you
want the special file to be read.
What might be easier is to define a separate set of shipping modes
for each affiliate and do that tranlation instead.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Just because something is obviously happening doesn't mean something
obvious is happening. --Larry Wall
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 11:38:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Speaking of the [more][more-list] tag, is there a way for it's alpha
numeric feature to be used in the [query] tag? I have tried:
[query list=1 ml=50 more=1 st=db ma=yes mc=1 rf="code,desc" sql=|
SELECT p.code, p.name, p.short_desc,
p.price, p.qty, p.new_plant, p.avail,
p.disc
FROM products AS p, zip_zone AS z
WHERE z.zip = '[value search_zip]'
AND p.zones ~ z.zone
AND p.disc != '0'
ORDER BY p.name;
|
]
And variations on this, to no avail.
From: interchange-users at interchange.redhat.com (Dave Barr)
Date: Tue Oct 9 11:46:01 2001
Subject: [ic] Automatically placing another item in cart when a
At 10:40 -0400 9/10/01, Christopher VanOosterhout wrote:
>Greetings All,
>
>I have tried to search for this in the archives, but it appears that
>the search function (from the developer Web site) for this list is
>broke. No matter what I try to search on ... even single terms like
>order and interchange I get (0) zero results.
>
>In any case, here is the question.
>
>I would like certain items in my stores to automatically include
>another item when ordered. This would serve to purposes for me.
>
>1) Some of our parts require the charge of a deposit. As an
>example, a bottle of pop. I would like Interchange to say: when
>part number pepsi2liter is ordered add the item tencntdeposit to the
>cart. In our case we have a core charge on major engine parts. So
>when someone orders a rebuild alternator we would like to
>automatically add to their cart an item called Core Charge Deposit
>for $350.00
>
>2) If figured we could also use this to add specific parts to an
>order as a promotion. Buy a case of filters ... and it will add
>another filter to the order (with a special part number) at no
>charge.
>
>In either case, can anyone point me to a model, email discussion or
>documentation about how this may have been accomplished in the past?
Check out Ed LaFrance's excellent add-item usertag, I 'believe' it is
now part of the standard distribution...
<SNIP>
DISCUSSION:
[add-item] can be used to place items in the shopping cart without
requiring the user to explicitly click an 'Order' link, submit a
form, etc. Example:
[set items]widgetA widgetB widgetC widgetD[/set]
[loop arg="[scratch items]"]
[add-item [loop-code]]
[/loop]
</SNIP>
I have successfully used this tag to do something similar
HTH
Dave
From: interchange-users at interchange.redhat.com (Dave Barr)
Date: Tue Oct 9 11:59:03 2001
Subject: [ic] Multiple shipping tables based on affiliate
At 11:32 -0400 9/10/01, Mike Heins wrote:
>Quoting Mike Heins (mheins@redhat.com):
>> Quoting Dave Barr (barrd@cricinfo.com):
>> > (IC 4.6.5, Debian 2.2-17, MySQL 3.22, Perl 5.005-03)
>> >
>> > Hi People,
>> >
>> > I have a question regarding the feasibility of having different
>> > shipping tables based on affiliates using the mv_pc=foo_shop1,
>> > mv_pc=bar_shop2. I have created a site that has one database but many
>> > different faces depending on the affiliate, up till now there was a
>> > central fulfillment house but that has now changed and I need to
>> > create different shipping tables for each affiliate.
>> >
>> > I should point out that I *do not* wish to have separate shops at
>> > this time, this is part of a long term strategy that in the future
>> > will allow the sharing of shops contents betwixt several shops using
>> > a switch in the affiliates db so that they can be independent or part
>> > of a mall.
>> >
>> > Order routing was easy enough to implement, but the shipping has got
>> > me stumped, if any one has any suggestions / pointers that would help
>> > kick start me off in the right direction I would be very very
>> > grateful.
>>
>> It's pretty easy, I think, and even documented.
>>
>> You can do at the top of your checkout:
>>
>> [if session source]
>> [if type=file term="affiliate_shipping/[data session source].asc"]
>> <--
>> Reading shipping from affiliate_shipping/[data session source].asc:
>> [shipping file="affiliate_shipping/[data session source].asc"]
>> -->
>> [/if]
>> [/if]
>
>Oh, I should add that you need to do this once in every place where you
>want the special file to be read.
>
>What might be easier is to define a separate set of shipping modes
>for each affiliate and do that tranlation instead.
Ah, yes... of course - thanks Mike for the tip, I knew it would be
easy(ish) but glad that you endorse this course -- I had come up with
a couple of wacky schemes and glad I didn't waste weeks trying to
implement them. Sorry I missed the mention in the dox, I thought I
had thoroughly read them all -- obviously not :)
Cheers again
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dave Barr eCommerce Technical Manager CricInfo Ltd
www.cricinfo.com dave.barr@cricinfo.com Tel: 01249 700748
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Tue Oct 9 12:02:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Brian Kosick <briank@nacs.net> writes:
> Speaking of the [more][more-list] tag, is there a way for it's alpha
> numeric feature to be used in the [query] tag? I have tried:
>
> [query list=1 ml=50 more=1 st=db ma=yes mc=1 rf="code,desc" sql=|
> SELECT p.code, p.name, p.short_desc,
> p.price, p.qty, p.new_plant, p.avail,
> p.disc
> FROM products AS p, zip_zone AS z
> WHERE z.zip = '[value search_zip]'
> AND p.zones ~ z.zone
> AND p.disc != '0'
> ORDER BY p.name;
> |
> ]
>
> And variations on this, to no avail.
In any case you need tf= set for the alpha numeric features,
like tf=desc, and the field in tf must be a subset of rf=.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Thomas Cherryhomes)
Date: Tue Oct 9 12:11:03 2001
Subject: [ic] CSI Linkpoint API woes !!
I have a globalsub included in my interchange.cfg (I saved it as
eg/globalsub/linkpt)... And I seem to be getting the following error
when starting up Interchange:
- - - [05/October/2001:00:22:51 -0500] - - Bad GlobalSub 'linkpt'
> In line 144 of the configuration file 'eg/globalsub/linkpt':
> GlobalSub <<EOF
>
>
Here is the globalsub in question:
(/usr/lib/interchange/eg/globalsub/linkpt)
GlobalSub <<EOF
sub linkpt {
use LPERL;
##use LPERL 'CapturePayment';
###################################################
# create a new instance of LPERL ...
#
# The first parameter is the path and name of the
# binary executable that processes transactions.
#
# The second parameter is passed to the binary
# executable
#
# The third parameter is the path to the directory
# where temporary data files will be stored for the
# transaction data.
#
# PLEASE NOTE: These data files contain transaction
# data such as credit card numbers and should only
# be stored in a directory that is secure.
###################################################
my $lperl = new LPERL("/usr/lib/interchange/csi/lbin", "FILE",
"/usr/lib/interchange/csi/temp/");
#######################################################
#
# These parameters must be modified to reflect the
# information provided to you for YOUR store
#
# $transacitonresult should be set to LIVE when doing
# live transactions on https://secure.linkpt.net
#
#######################################################
my $hostname = "secure.linkpt.net";
my $port = "1139";
my $storename = "534510";
my $keyfile = "/usr/lib/interchange/lib/cert.pem";
my $transactionresult = "GOOD";
my $testip = "64.64.113.119";
############################################################
#
# BillOrders Test (capturepayment ... then billorders)
#
# This function is used to bill all orders contained
# within the included hash table. To keep the example
# simple, only one order is used. CapturePayment is
# called immediately before BillOrders in order to
# create a transaction to bill against.
#
#############################################################
my %actual = Vend::Order::map_actual();
my $transaction_hash = {
hostname => $hostname,
port => $port,
storename => $storename,
keyfile => $keyfile,
# if this param is empty or missing
# a CSI order number will be assigned
orderID => "",
amount =>
Vend::Interpolate::total_cost(), #$actual{'total-cost'},
result => $transactionresult,
cardNumber =>
$actual{mv_credit_card_number},
cardExpMonth =>
$actual{mv_credit_card_exp_month},
cardExpYear =>
$actual{mv_credit_card_exp_year},
name => "$actual{fname}
$actual{lname}",
email => $actual{email},
phone => $actual{phone_day},
address => $actual{address1},
city => $actual{city},
state => $actual{state},
zip => $actual{zip},
country => $actual{country},
ip => $testip,
};
my %ret = $lperl->CapturePayment($transaction_hash);
# ---------------------------------------------
# capture the order ID so we can bill the order
# ---------------------------------------------
my $neworderID = $ret{'neworderID'};
my %result;
print "CapturePayment: statusCode: $ret{'statusCode'}\n";
if ( $ret{'statusCode'} eq 0 ) {
# the transaction failed. print the reason.
$result{MStatus} = 'failure';
$result{MErrMsg} = "$ret{'statusMessage'} ";
print "CapturePayment: statusMessage: $ret{'statusMessage'}\n";
print "CapturePayment: ChargeTotal: Vend::Interpolate::total_cost()\n";
}
else
{
# the transaction succeeded. print the results.
#print "CapturePayment: statusMessage: $ret{'statusMessage'}\n";
#print "CapturePayment: AVSCode: $ret{'AVSCode'}\n";
#print "CapturePayment: trackingID: $ret{'trackingID'}\n";
#print "CapturePayment: neworderID: $ret{'neworderID'}\n";
#print "CapturePayment: statusApproval: $ret{'statusApproval'}\n";
#print "CapturePayment: chargetotal: $ret{'chargetotal'}\n";
#print "CapturePayment: shipping: $ret{'shipping'}\n";
#print "CapturePayment: subtotal: $ret{'subtotal'}\n";
#print "CapturePayment: tax: $ret{'tax'}\n";
#print "CapturePayment: time : $ret{'time'}\n\n";
# ------------------
# now bill the order
# ------------------
$transaction_hash = {
hostname => $hostname,
port => $port,
storename => $storename,
keyfile => $keyfile,
result => $transactionresult,
orders => ([
# multiple entries could be used for more
orders
{orderID => $neworderID,
amount => $actual{'total-cost'},
backOrdered => '0',
}
])
};
%ret = $lperl->BillOrders($transaction_hash);
#print "Successfully billed $ret of 1 order\n";
#print "Order statusMessage:
$transaction_hash->{'orders'}[0]->{'statusMessage'}\n";
$result{MStatus} = 'success';
$result{'order-id'} = $neworderID;
}
return %result;
}
EOF
I am at my wits end! This is driving me nuts! Does anyone have any
suggestions?
-Thom Cherryhomes
OpenMINDS
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 12:12:58 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Quoting Brian Kosick (briank@nacs.net):
> Speaking of the [more][more-list] tag, is there a way for it's alpha
> numeric feature to be used in the [query] tag? I have tried:
>
> [query list=1 ml=50 more=1 st=db ma=yes mc=1 rf="code,desc" sql=|
> SELECT p.code, p.name, p.short_desc,
> p.price, p.qty, p.new_plant, p.avail,
> p.disc
> FROM products AS p, zip_zone AS z
> WHERE z.zip = '[value search_zip]'
> AND p.zones ~ z.zone
> AND p.disc != '0'
> ORDER BY p.name;
> |
> ]
>
> And variations on this, to no avail.
I think if you add:
mv_sort_field=name
it might work. I don't believe I have ever tried this one, Racke
might have.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <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: interchange-users at interchange.redhat.com (Olaf Raabe)
Date: Tue Oct 9 12:15:01 2001
Subject: [ic] [more] / [more-list]
Sorry. It's a few days ago I make this catalog.
Here is the source extract of my result page from www.itonlineshop.de
under Zubehör/Erweiterungen at the bottom of the results you can see it
works :-)
[more-list]
[next-anchor]<font face="Arial, Helvetica, sans-serif" color="#DBDDDE"> >>
</font>[/next-anchor]
[prev-anchor]<font face="Arial, Helvetica, sans-serif" color="#DBDDDE"> <<
</font>[/prev-anchor]
[page-anchor]<font face="Arial, Helvetica, sans-serif"
color="#DBDDDE">$PAGE$</font>[/page-anchor]
<BR>[more]<BR>
</BLOCKQUOTE>
[/more-list]
Olaf
....-----====Olaf Raabe====-----....
E-Mail: mailto:raabe@wetelco.de
www.wetelco.de
Franz-Lenz-Str. 8
49084 Osnabrück
Tel.: +49 541 38037 0
Fax.: +49 541 38037 12
----- Original Message -----
From: "Jason Korkin" <jkorkin@korksoft.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 09, 2001 5:07 PM
Subject: Re: [ic] [more] / [more-list]
> No, actually it doesn't :-) It makes the "text" value of the first page
> work properly, but the actually links don't inherit the color.
>
> Best,
>
> Jason.
>
>
> Olaf Raabe wrote:
> >
> > I have just use the <font color="#0000FF">[more] tag and it works.
> > Olaf
> >
> > ----- Original Message -----
> > From: "Support" <support@korksoft.com>
> > To: <interchange-users@interchange.redhat.com>
> > Sent: Tuesday, October 09, 2001 4:45 PM
> > Subject: [ic] [more] / [more-list]
> >
> > > Quick question since the searches over at the interchange.redhat.com
> > > site are not returning results properly...
> > >
> > > With the [more] tag- how can I change the link color? I have the page
> > > defaulting to "white" links but need to have the [more] links be
blue...
> > > I tried something like: [more-list link=#0000FF] but that obviously
> > > didn't work. ;-)
> > >
> > > Jason.
> > >
> > > --
> > > ---------------------------------------------------------------
> > > **** Virtual Hosting w/ Interchange, $20/month! ****
> > > ---------------------------------------------------------------
> > > KORKSOFT - Software & Internet Solutions
> > > Interchange, E-Commerce, C++/Perl/PHP/ASP
> > > http://www.korksoft.com
> > > Tel: (561) 642-7005 x 201
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> --
> ---------------------------------------------------------------
> **** Virtual Hosting w/ Interchange, $20/month! ****
> ---------------------------------------------------------------
> KORKSOFT - Software & Internet Solutions
> Interchange, E-Commerce, C++/Perl/PHP/ASP
> http://www.korksoft.com
> Tel: (561) 642-7005 x 201
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 12:38:02 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
<snip>
>I think if you add:
>
> mv_sort_field=name
>
>it might work. I don't believe I have ever tried this one, Racke
>might have.
[query list=1 ml=50 more=1 st=db ma=yes mc=1
rf=code,name,short_desc,price,qty,new_plant,disc tf=name sql=|
SELECT p.code, p.name, p.short_desc,
p.price, p.qty, p.new_plant, p.avail,
p.disc
FROM products AS p, zip_zone AS z
WHERE z.zip = '[value search_zip]'
AND p.zones ~ z.zone
AND p.disc != '0'
ORDER BY p.name;
|
]
gives an internal server error, and the error log entry looks like
[09/October/2001:12:33:05 -0400] bluestone
/cgi-bin/bluestone.cgi/process.html Runtime error: Can't call method
"search_error" on unblessed reference at
/usr/lib/interchange/lib/Vend/Search.pm line 994.
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 12:39:59 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
<snip>
>I think if you add:
>
> mv_sort_field=name
>
>it might work. I don't believe I have ever tried this one, Racke
>might have.
[query list=1 ml=50 more=1 st=db ma=yes mc=1
rf=code,name,short_desc,price,qty,new_plant,disc tf=name sql=|
SELECT p.code, p.name, p.short_desc,
p.price, p.qty, p.new_plant, p.avail,
p.disc
FROM products AS p, zip_zone AS z
WHERE z.zip = '[value search_zip]'
AND p.zones ~ z.zone
AND p.disc != '0'
ORDER BY p.name;
|
]
gives an internal server error, and the error log entry looks like
[09/October/2001:12:33:05 -0400] bluestone
/cgi-bin/bluestone.cgi/process.html Runtime error: Can't call method
"search_error" on unblessed reference at
/usr/lib/interchange/lib/Vend/Search.pm line 994.
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 12:45:04 2001
Subject: [ic] CSI Linkpoint API woes !!
Quoting Thomas Cherryhomes (thomas@openminds.tv):
> I have a globalsub included in my interchange.cfg (I saved it as
> eg/globalsub/linkpt)... And I seem to be getting the following error
> when starting up Interchange:
>
> - - - [05/October/2001:00:22:51 -0500] - - Bad GlobalSub 'linkpt'
> > In line 144 of the configuration file 'eg/globalsub/linkpt':
> > GlobalSub <<EOF
> >
> >
Of course it fails. There is a syntax error in the code somewhere,
even presuming LPERL.pm is being found.
Backslash found where operator expected at - line 144, near "}\"
(Missing operator before \?)
syntax error at - line 144, near "}\"
Unquoted string "n" may clash with future reserved word at - line 144.
String found where operator expected at - line 144, at end of line
(Missing semicolon on previous line?)
Can't find string terminator '"' anywhere before EOF at - line 144.
And it looks like that is just for starters.
If you are cutting and pasting globalsubs on your Windows box,
and cannot detect a Perl syntax error, you are doomed before
you start. I think you need a consultant.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <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: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 9 12:47:01 2001
Subject: [ic] Automatically placing another item in cart when a specific
At 10:40 AM 10/09/2001 -0400, you wrote:
>Greetings All,
>
>I have tried to search for this in the archives, but it appears that the
>search function (from the developer Web site) for this list is broke. No
>matter what I try to search on ... even single terms like order and
>interchange I get (0) zero results.
>
>In any case, here is the question.
>
>I would like certain items in my stores to automatically include another
>item when ordered. This would serve to purposes for me.
>
>1) Some of our parts require the charge of a deposit. As an example, a
>bottle of pop. I would like Interchange to say: when part number
>pepsi2liter is ordered add the item tencntdeposit to the cart. In our
>case we have a core charge on major engine parts. So when someone orders
>a rebuild alternator we would like to automatically add to their cart an
>item called Core Charge Deposit for $350.00
>
>2) If figured we could also use this to add specific parts to an order as
>a promotion. Buy a case of filters ... and it will add another filter to
>the order (with a special part number) at no charge.
>
>In either case, can anyone point me to a model, email discussion or
>documentation about how this may have been accomplished in the past?
>
>
>Thanks,
>Christopher
Though the docs on the subject have been misplaced, an "order groups"
feature has been around since Minivend 3. A look at Order.pm and Cart.pm
suggests that the code is still there. Here is the doc section for Order
Groups; good luck!
Order Groups
MiniVend allows you to group items together, making a master item and
sub-items. This can be used to delete accessories or options when the
master item is deleted. In its simplest form, you order just one master
item and all subsequent items are sub-items.
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_todo ACTION=refresh>
<INPUT TYPE=hidden NAME=mv_order_group VALUE="1">
<INPUT TYPE=hidden NAME=mv_order_item VALUE="00-0011">
<INPUT TYPE=hidden NAME=mv_order_item VALUE="00-0011a">
<INPUT TYPE=submit VALUE="Order the Mona Lisa with frame">
</FORM>
If you wish to stack more than one master item, then you must define
mv_order_group for all items, with either a 1 value (master) or 0 value
(sub-item). A master owns all subsequent sub-items until the next master is
defined.
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_todo ACTION=refresh>
<INPUT TYPE=hidden NAME=mv_order_group VALUE="1">
<INPUT TYPE=hidden NAME=mv_order_item VALUE="00-0011">
<INPUT TYPE=hidden NAME=mv_order_group VALUE="0">
<INPUT TYPE=hidden NAME=mv_order_item VALUE="00-0011a">
<INPUT TYPE=hidden NAME=mv_order_group VALUE="1">
<INPUT TYPE=hidden NAME=mv_order_item VALUE="19-202">
<INPUT TYPE=hidden NAME=mv_order_group VALUE="0">
<INPUT TYPE=hidden NAME=mv_order_item VALUE="99-102">
<INPUT TYPE=submit VALUE="Order items">
</FORM>
When the master item 00-0011 is deleted from the basket, 00-0011a will be
deleted as well. And when 19-202 is deleted, then 99-102 will be deleted
from the basket.
NOTE: You cannot use checkboxes for this type of thing, for they do not
pass a value when unchecked. Use radio groups or select/drop-down buttons.
The attributes mv_mi and mv_si are set to the group and sub-item status of
each item. The group, contained in the attribute mv_mi, is a meaningless
yet unique integer. All items in a group will have the same value of mv_mi.
The attribute mv_si is set to 0 if the item is a master item, and 1 if it
is a sub-item.
- Ed L.
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Tue Oct 9 12:52:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Brian Kosick <briank@nacs.net> writes:
> <snip>
>
>
> >I think if you add:
> >
> > mv_sort_field=name
> >
> >it might work. I don't believe I have ever tried this one, Racke
> >might have.
>
> [query list=1 ml=50 more=1 st=db ma=yes mc=1
> rf=code,name,short_desc,price,qty,new_plant,disc tf=name sql=|
> SELECT p.code, p.name, p.short_desc,
> p.price, p.qty, p.new_plant, p.avail,
> p.disc
> FROM products AS p, zip_zone AS z
> WHERE z.zip = '[value search_zip]'
> AND p.zones ~ z.zone
> AND p.disc != '0'
> ORDER BY p.name;
> |
> ]
>
> gives an internal server error, and the error log entry looks like
>
> [09/October/2001:12:33:05 -0400] bluestone
> /cgi-bin/bluestone.cgi/process.html Runtime error: Can't call method
> "search_error" on unblessed reference at
> /usr/lib/interchange/lib/Vend/Search.pm line 994.
I'll look at it.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Tim Watts)
Date: Tue Oct 9 12:56:01 2001
Subject: [ic] I just need 2 custom fields @ check out
Quoting Rene Hertell (rene@hertell.com) 10/7/01 3:16 AM:
>> Then, in etc/report (and etc/mail_report) put:
>> Make/Model: [value make/model]
>>
>> That will make it show up in both the receipt that the customer
>> gets as well
>> as the e-mail that you get.
>>
>> Of, course, add whatever other fields you want to know about in the same
>> way!
>
> I geuss you should also add a column in your orderline-table so that the
> make/model can be also be stored there...
>
and also add a line to log_transactions file to write the info to the
orderline-table
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 13:01:01 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Quoting Brian Kosick (briank@nacs.net):
> <snip>
>
>
> >I think if you add:
> >
> > mv_sort_field=name
> >
> >it might work. I don't believe I have ever tried this one, Racke
> >might have.
>
> [query list=1 ml=50 more=1 st=db ma=yes mc=1
> rf=code,name,short_desc,price,qty,new_plant,disc tf=name sql=|
> SELECT p.code, p.name, p.short_desc,
> p.price, p.qty, p.new_plant, p.avail,
> p.disc
> FROM products AS p, zip_zone AS z
> WHERE z.zip = '[value search_zip]'
> AND p.zones ~ z.zone
> AND p.disc != '0'
> ORDER BY p.name;
> |
> ]
>
> gives an internal server error, and the error log entry looks like
>
> [09/October/2001:12:33:05 -0400] bluestone
> /cgi-bin/bluestone.cgi/process.html Runtime error: Can't call method
> "search_error" on unblessed reference at
> /usr/lib/interchange/lib/Vend/Search.pm line 994.
>
Why did I receive two copies of this?
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
"Laughter is inner jogging." -- Norman Cousins
From: interchange-users at interchange.redhat.com (Han Huang)
Date: Tue Oct 9 13:05:03 2001
Subject: [ic] Hanging on File Upload/Download Any File
Anyone else experiencing this problem?
When I attempt to do a File Upload/Download -> Any File in the admin UI, the
browser just stalls. Eventually I get an Internal Server Error. I have a
replica of this catalog, which is not experiencing the same problem.
Any help or tips would be greatly appreciated.
--ic@rainkid.com
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 13:14:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
At 01:00 PM 10/9/01 -0400, you wrote:
>Quoting Brian Kosick (briank@nacs.net):
> > <snip>
> >
> >
> > >I think if you add:
> > >
> > > mv_sort_field=name
> > >
> > >it might work. I don't believe I have ever tried this one, Racke
> > >might have.
> >
> > [query list=1 ml=50 more=1 st=db ma=yes mc=1
> > rf=code,name,short_desc,price,qty,new_plant,disc tf=name sql=|
> > SELECT p.code, p.name, p.short_desc,
> > p.price, p.qty, p.new_plant, p.avail,
> > p.disc
> > FROM products AS p, zip_zone AS z
> > WHERE z.zip = '[value search_zip]'
> > AND p.zones ~ z.zone
> > AND p.disc != '0'
> > ORDER BY p.name;
> > |
> > ]
> >
> > gives an internal server error, and the error log entry looks like
> >
> > [09/October/2001:12:33:05 -0400] bluestone
> > /cgi-bin/bluestone.cgi/process.html Runtime error: Can't call method
> > "search_error" on unblessed reference at
> > /usr/lib/interchange/lib/Vend/Search.pm line 994.
> >
>
>Why did I receive two copies of this?
I had a twitchy clicker finger, sorry.
Racke, thanks for looking into it...
Danke
From: interchange-users at interchange.redhat.com (Yahoo)
Date: Tue Oct 9 13:20:02 2001
Subject: [ic] Foundation checkout error
"The server encountered an internal error or misconfiguration and was unable
to..."
That's the message I get when I attempt to check out in the foundation demo
store !!
my apache config is fine...can anybody help please
Sam Harris
samharris@usa.com
From: interchange-users at interchange.redhat.com (Michael Parker)
Date: Tue Oct 9 13:27:01 2001
Subject: [ic] Introduction & Assistance with Authorizenet
Howdy,
I'm just helping a friend with his IC site, so my knowledge of IC is
somewhat limited. I've seen some cool IC sites, though. You guys ROCK!
The site is up and running but I've run in to that nasty snag where we can't
get IC to communicate with Authorize.net.
I've searched through the list and came up with an excellent post (Thanks
Jud!)
http://developer2.akopia.com/archive/interchange-users/2001/msg02480.html
The article explains all, except....
We're using LiquidWeb as a hosting site. The authorizenet module is not
installed, or if it is, I can't find it. The site adminds refuse to update
or install that module for me.
How does one install the [src/interchange]/eg/globalsub/authorizenet module
to your local account? I don't have permissions to install the RPM's. If
one must compile and install IC locally, I'd appreciate it if someone would
give me a hand with the config file.
I know at least two users on LiquidWeb have this software installed on their
local accounts. I know it can be done, I just haven't figured out how yet.
Once I can get the modules installed locally, I think I'm home free!
Any help from you all would be greatly appreciated. Can't pay you anything,
but will offer a nice new Vision Hooks & Tackle embroidered T-shirt to
whomever ever helps me to get this working.
You may email me privately if you want to.
Thanks,
Michael
mparker@mac.com or
parker@visionhooksandtackle.com or
parker@u.washington.edu
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 13:31:00 2001
Subject: [ic] Hanging on File Upload/Download Any File
What does the error log say? Do you have the correct permissions set up?
What version of IC?
OS?
At 01:09 PM 10/9/01 -0400, you wrote:
>Anyone else experiencing this problem?
>
>When I attempt to do a File Upload/Download -> Any File in the admin UI, the
>browser just stalls. Eventually I get an Internal Server Error. I have a
>replica of this catalog, which is not experiencing the same problem.
>
>Any help or tips would be greatly appreciated.
>
>--ic@rainkid.com
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 9 13:43:02 2001
Subject: [ic] Foundation checkout error
At 01:23 PM 10/09/2001 -0500, you wrote:
>"The server encountered an internal error or misconfiguration and was unable
>to..."
>
>That's the message I get when I attempt to check out in the foundation demo
>store !!
>my apache config is fine...can anybody help please
>
>
>Sam Harris
>samharris@usa.com
Check the tail of your error.log(s) for any specific errors:
CATROOT/error.log
VENDROOT/error.log
- Ed L.
>
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 13:46:01 2001
Subject: [ic] Foundation checkout error
What's the error log say?
At 01:23 PM 10/9/01 -0500, you wrote:
>"The server encountered an internal error or misconfiguration and was unable
>to..."
>
>That's the message I get when I attempt to check out in the foundation demo
>store !!
>my apache config is fine...can anybody help please
>
>
>Sam Harris
>samharris@usa.com
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 14:13:00 2001
Subject: [ic] Strange error
It probably has to do with the "^M" (MS Return character) try removing
it. If this problem is persistent, check out file conversion utilities
such as dos2unix. It is available for both Windows, and Unix systems.
At 12:09 PM 10/9/01 +0200, you wrote:
>Hi list,
>
>I keep getting this error in my catalog error.log:
>
>193.78.140.34 ha8yKU7U:193.78.140.34 - [09/October/2001:10:30:19 +0200]
>shop /cgi-bin/shop/process.html profile: invalid characters
>(tag=default profile=dealer^M), must be [A-Za-z_]+
>
>The thing I don't understand is where this error comes from.
>
>Can you please help me....
>
>T.i.a. Walter
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Yahoo)
Date: Tue Oct 9 14:31:03 2001
Subject: [ic] Foundation checkout error
this is what I cut from the error log:
172.173.182.78 UaohW5ba:172.173.182.78 - [08/October/2001:02:40:26 -0400]
foundation /cgi-bin/foundation/process.html Runtime error: Undefined
subroutine &Vend::Interpolate::getUPS called at (eval 109) line 17.
----- Original Message -----
From: "Brian Kosick" <briank@nacs.net>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 09, 2001 12:39 PM
Subject: Re: [ic] Foundation checkout error
> What's the error log say?
>
>
> At 01:23 PM 10/9/01 -0500, you wrote:
> >"The server encountered an internal error or misconfiguration and was
unable
> >to..."
> >
> >That's the message I get when I attempt to check out in the foundation
demo
> >store !!
> >my apache config is fine...can anybody help please
> >
> >
> >Sam Harris
> >samharris@usa.com
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@interchange.redhat.com
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> Brian Kosick
> Web Programmer
> New Age Consulting Service, Inc.
> 216-619-2000
> briank@nacs.net
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 14:51:04 2001
Subject: [ic] Foundation checkout error
It seems to be indicating that it can't find the subroutine that it needs....
Can you try it with a different shipping method? Does it work then? Are
you sure that you installed Bundle::Interchange? It includes a module
called Business-UPS
It's real easy to install perl modules using cpan....
perl -MCPAN -e'install Bundle::Interchange'
At 02:35 PM 10/9/01 -0500, you wrote:
>this is what I cut from the error log:
>
>172.173.182.78 UaohW5ba:172.173.182.78 - [08/October/2001:02:40:26 -0400]
>foundation /cgi-bin/foundation/process.html Runtime error: Undefined
>subroutine &Vend::Interpolate::getUPS called at (eval 109) line 17.
>
>
>----- Original Message -----
>From: "Brian Kosick" <briank@nacs.net>
>To: <interchange-users@interchange.redhat.com>
>Sent: Tuesday, October 09, 2001 12:39 PM
>Subject: Re: [ic] Foundation checkout error
>
>
> > What's the error log say?
> >
> >
> > At 01:23 PM 10/9/01 -0500, you wrote:
> > >"The server encountered an internal error or misconfiguration and was
>unable
> > >to..."
> > >
> > >That's the message I get when I attempt to check out in the foundation
>demo
> > >store !!
> > >my apache config is fine...can anybody help please
> > >
> > >
> > >Sam Harris
> > >samharris@usa.com
> > >
> > >_______________________________________________
> > >interchange-users mailing list
> > >interchange-users@interchange.redhat.com
> > >http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > Brian Kosick
> > Web Programmer
> > New Age Consulting Service, Inc.
> > 216-619-2000
> > briank@nacs.net
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Thomas Cherryhomes)
Date: Tue Oct 9 15:12:03 2001
Subject: [ic] CSI Linkpoint API woes !!
Ahh... my bad, the case on lperl.pm was incorrect! d0h!
Thanks mike!
(and, no I am NOT a windows user..haven't used Windows on my box in over
four years) :-)
-Thom
On Tue, 2001-10-09 at 11:44, Mike Heins wrote:
> Quoting Thomas Cherryhomes (thomas@openminds.tv):
> > I have a globalsub included in my interchange.cfg (I saved it as
> > eg/globalsub/linkpt)... And I seem to be getting the following error
> > when starting up Interchange:
> >
> > - - - [05/October/2001:00:22:51 -0500] - - Bad GlobalSub 'linkpt'
> > > In line 144 of the configuration file 'eg/globalsub/linkpt':
> > > GlobalSub <<EOF
> > >
> > >
>
> Of course it fails. There is a syntax error in the code somewhere,
> even presuming LPERL.pm is being found.
>
> Backslash found where operator expected at - line 144, near "}\"
> (Missing operator before \?)
> syntax error at - line 144, near "}\"
> Unquoted string "n" may clash with future reserved word at - line 144.
> String found where operator expected at - line 144, at end of line
> (Missing semicolon on previous line?)
> Can't find string terminator '"' anywhere before EOF at - line 144.
>
> And it looks like that is just for starters.
>
> If you are cutting and pasting globalsubs on your Windows box,
> and cannot detect a Perl syntax error, you are doomed before
> you start. I think you need a consultant.
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <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@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Yahoo)
Date: Tue Oct 9 15:14:02 2001
Subject: [ic] Foundation checkout error..... with install Bundle::libnet is updated
Brian, it looks like that it not the problem, also it seems that
process.html is created by the session ?? is that correct? because I could
not find it anywhare. !!
----- Original Message -----
From: "Brian Kosick" <briank@nacs.net>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 09, 2001 1:44 PM
Subject: Re: [ic] Foundation checkout error
> It seems to be indicating that it can't find the subroutine that it
needs....
> Can you try it with a different shipping method? Does it work then? Are
> you sure that you installed Bundle::Interchange? It includes a module
> called Business-UPS
>
> It's real easy to install perl modules using cpan....
>
> perl -MCPAN -e'install Bundle::Interchange'
>
> At 02:35 PM 10/9/01 -0500, you wrote:
> >this is what I cut from the error log:
> >
> >172.173.182.78 UaohW5ba:172.173.182.78 - [08/October/2001:02:40:26 -0400]
> >foundation /cgi-bin/foundation/process.html Runtime error: Undefined
> >subroutine &Vend::Interpolate::getUPS called at (eval 109) line 17.
> >
> >
> >----- Original Message -----
> >From: "Brian Kosick" <briank@nacs.net>
> >To: <interchange-users@interchange.redhat.com>
> >Sent: Tuesday, October 09, 2001 12:39 PM
> >Subject: Re: [ic] Foundation checkout error
> >
> >
> > > What's the error log say?
> > >
> > >
> > > At 01:23 PM 10/9/01 -0500, you wrote:
> > > >"The server encountered an internal error or misconfiguration and was
> >unable
> > > >to..."
> > > >
> > > >That's the message I get when I attempt to check out in the
foundation
> >demo
> > > >store !!
> > > >my apache config is fine...can anybody help please
> > > >
> > > >
> > > >Sam Harris
> > > >samharris@usa.com
> > > >
> > > >_______________________________________________
> > > >interchange-users mailing list
> > > >interchange-users@interchange.redhat.com
> > > >http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > > Brian Kosick
> > > Web Programmer
> > > New Age Consulting Service, Inc.
> > > 216-619-2000
> > > briank@nacs.net
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@interchange.redhat.com
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> Brian Kosick
> Web Programmer
> New Age Consulting Service, Inc.
> 216-619-2000
> briank@nacs.net
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Peter Brunner)
Date: Tue Oct 9 15:15:29 2001
Subject: [ic] catagory selection has disappeared in 4.63/4.6.5
HI
Everything has been fine except now I can't add or change the
catagory field for my items. My Host can't explain it and apparently I'm
the only user of his who has this problem.. He has reload it and the
demo now has the same problem. When I look at the HTML the field
variables and list are not there. Any ideas? I'm not subscribed so
please email me directly pbemb@midiguy.com. Thanks
Peter Brunner
The Electronic Music Box
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Tue Oct 9 15:29:02 2001
Subject: [ic] Automatically placing another item in cart when a specific product is ordered
> I would like certain items in my stores to automatically include another
> item when ordered. This would serve to purposes for me.
If I remember correctly, the order tag can take several different items when
ordering.
Rene
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Tue Oct 9 15:31:01 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Brian Kosick <briank@nacs.net> writes:
> <snip>
>
>
> >I think if you add:
> >
> > mv_sort_field=name
> >
> >it might work. I don't believe I have ever tried this one, Racke
> >might have.
>
> [query list=1 ml=50 more=1 st=db ma=yes mc=1
> rf=code,name,short_desc,price,qty,new_plant,disc tf=name sql=|
> SELECT p.code, p.name, p.short_desc,
> p.price, p.qty, p.new_plant, p.avail,
> p.disc
> FROM products AS p, zip_zone AS z
> WHERE z.zip = '[value search_zip]'
> AND p.zones ~ z.zone
> AND p.disc != '0'
> ORDER BY p.name;
> |
> ]
>
> gives an internal server error, and the error log entry looks like
>
> [09/October/2001:12:33:05 -0400] bluestone
> /cgi-bin/bluestone.cgi/process.html Runtime error: Can't call method
> "search_error" on unblessed reference at
> /usr/lib/interchange/lib/Vend/Search.pm line 994.
I think no one tried it yet and you definitely found a bug. A first
fix to Interpolate.pm which should work with the above query:
diff -u -r2.9.2.2 -r2.9.2.3
--- Interpolate.pm 2001/10/07 12:56:32 2.9.2.2
+++ Interpolate.pm 2001/10/09 19:23:36 2.9.2.3
@@ -5327,6 +5327,11 @@
if($opt->{ma}) {
# Find the sort field and alpha options....
Vend::Scan::parse_profile_ref($object, $opt);
+ # Contents of mv_return_fields must be of the same type
+ # (numeric here) as the contents of mv_sort_field
+ @{$object->{mv_return_fields}} = map {$nh->{$_}} @{$object->{mv_return_fields}};
+ # We need to turn the hash reference into a search object
+ $object = new Vend::Search (%$object);
# Delete this so it will meet conditions for creating a more
delete $object->{mv_matchlimit};
}
But don't nail me on this. We have to take to look closer at it,
anyway.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Michael Couture)
Date: Tue Oct 9 15:35:00 2001
Subject: [ic] offline payment method
Can anyone elaborate on this? I am trying to figure this out myself, but
without much documentation I just can't figure it out. I have the orders
emailed to my email, but I only get the first 2 and last 4 digits of the
credit card number.....
Mike
MiamiShoppings@aol.com wrote:
> > My question is: Does interchange supports Offline payment method? where a
> user can go shop and pay with a creditcard, but then the store
administrator
> have to go and manually process the credit card information with his
favorite
> merchant...?
>
You sure can.
--
Mark Johnson Akopia Professional Services
mark.johnson@akopia.com
703-456-2912
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 15:50:02 2001
Subject: [ic] Foundation checkout error..... with install
After a quick search on my system, it turns out that getUPS is the
subroutine called within the VENDROOT/usertag/ups_query.tag file. make
sure that you have this usertag in your usertag directory, and make sure
that the user interchange is running as has access to read this file.
Here's my ups_query.tag text
------------------------------------------------------------
UserTag ups-query Order mode origin zip weight country
UserTag ups-query Routine <<EOR
sub {
my( $mode, $origin, $zip, $weight, $country) = @_;
BEGIN {
eval {
require Business::UPS;
import Business::UPS;
};
};
$origin = $::Variable->{UPS_ORIGIN}
if ! $origin;
$country = $::Values->{$::Variable->{UPS_COUNTRY_FIELD}}
if ! $country;
$zip = $::Values->{$::Variable->{UPS_POSTCODE_FIELD}}
if ! $zip;
$country = uc $country;
#::logGlobal("calling with: " . join("|", $mode, $origin, $zip, $weight,
$country));
my ($shipping, $zone, $error) =
getUPS( $mode, $origin, $zip, $weight, $country);
#::logGlobal("received back: " . join("|", $shipping, $zone, $error));
if($error) {
$Vend::Session->{ship_message} .= " $mode: $error";
return 0;
}
return $shipping;
}
EOR
-------------------------------------------------------------------
You can also, uncomment the #Log lines to record the variables to the
error.log.
The subroutine getUPS IS part of the Business::UPS perl module. Do you
have two different versions of perl installed? I know in my case, I have
the original (Redhat6.x v5.005_03) perl installed at /usr/bin/perl and my
updated version (5.6.1) at /usr/local/bin/perl and I have to make sure that
IC is using the correct one.
try
/path/to/perl/perl -MCPAN -e'install Business::UPS'
Correct process.html is created on-the-fly by IC.
At 03:18 PM 10/9/01 -0500, you wrote:
>Brian, it looks like that it not the problem, also it seems that
>process.html is created by the session ?? is that correct? because I could
>not find it anywhare. !!
>
>----- Original Message -----
>From: "Brian Kosick" <briank@nacs.net>
>To: <interchange-users@interchange.redhat.com>
>Sent: Tuesday, October 09, 2001 1:44 PM
>Subject: Re: [ic] Foundation checkout error
>
>
> > It seems to be indicating that it can't find the subroutine that it
>needs....
> > Can you try it with a different shipping method? Does it work then? Are
> > you sure that you installed Bundle::Interchange? It includes a module
> > called Business-UPS
> >
> > It's real easy to install perl modules using cpan....
> >
> > perl -MCPAN -e'install Bundle::Interchange'
> >
> > At 02:35 PM 10/9/01 -0500, you wrote:
> > >this is what I cut from the error log:
> > >
> > >172.173.182.78 UaohW5ba:172.173.182.78 - [08/October/2001:02:40:26 -0400]
> > >foundation /cgi-bin/foundation/process.html Runtime error: Undefined
> > >subroutine &Vend::Interpolate::getUPS called at (eval 109) line 17.
> > >
> > >
> > >----- Original Message -----
> > >From: "Brian Kosick" <briank@nacs.net>
> > >To: <interchange-users@interchange.redhat.com>
> > >Sent: Tuesday, October 09, 2001 12:39 PM
> > >Subject: Re: [ic] Foundation checkout error
> > >
> > >
> > > > What's the error log say?
> > > >
> > > >
> > > > At 01:23 PM 10/9/01 -0500, you wrote:
> > > > >"The server encountered an internal error or misconfiguration and was
> > >unable
> > > > >to..."
> > > > >
> > > > >That's the message I get when I attempt to check out in the
>foundation
> > >demo
> > > > >store !!
> > > > >my apache config is fine...can anybody help please
> > > > >
> > > > >
> > > > >Sam Harris
> > > > >samharris@usa.com
> > > > >
> > > > >_______________________________________________
> > > > >interchange-users mailing list
> > > > >interchange-users@interchange.redhat.com
> > > > >http://interchange.redhat.com/mailman/listinfo/interchange-users
> > > >
> > > > Brian Kosick
> > > > Web Programmer
> > > > New Age Consulting Service, Inc.
> > > > 216-619-2000
> > > > briank@nacs.net
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > >_______________________________________________
> > >interchange-users mailing list
> > >interchange-users@interchange.redhat.com
> > >http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > Brian Kosick
> > Web Programmer
> > New Age Consulting Service, Inc.
> > 216-619-2000
> > briank@nacs.net
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 16:51:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
<snip>
At 09:27 PM 10/9/01 +0200, you wrote:
>I think no one tried it yet and you definitely found a bug. A first
>fix to Interpolate.pm which should work with the above query:
>
>diff -u -r2.9.2.2 -r2.9.2.3
>--- Interpolate.pm 2001/10/07 12:56:32 2.9.2.2
>+++ Interpolate.pm 2001/10/09 19:23:36 2.9.2.3
>@@ -5327,6 +5327,11 @@
> if($opt->{ma}) {
> # Find the sort field and alpha options....
> Vend::Scan::parse_profile_ref($object, $opt);
>+ # Contents of mv_return_fields must be of the same type
>+ # (numeric here) as the contents of mv_sort_field
>+ @{$object->{mv_return_fields}} = map {$nh->{$_}}
>@{$object->{mv_return_fields}};
>+ # We need to turn the hash reference into a search object
>+ $object = new Vend::Search (%$object);
> # Delete this so it will meet conditions for creating a more
> delete $object->{mv_matchlimit};
> }
>
>But don't nail me on this. We have to take to look closer at it,
>anyway.
>
>Ciao
> Racke
>
>--
<snip>
Racke,
The patch applied fine, and doesn't appear to have a adverse affect on the
rest of the site.
Here's my code:
[query list=1 ml=50 more=1 st=db ma=yes mc=1
rf=p.code,p.name,p.short_desc,p.price,p.qty,p.new_plant,p.disc tf=p.name sql=|
SELECT p.code, p.name, p.short_desc,
p.price, p.qty, p.new_plant, p.avail,
p.disc, z.zone
FROM products AS p, zip_zone AS z
WHERE z.zip = '[value search_zip]'
AND p.zones ~ z.zone
AND p.disc != '0'
ORDER BY p.name;
|
]
I've tried putting the rf values in double quotes and single quotes, I've
added and removed the "p."
I displays the Alpha more list now, however the search returns an empty set.
No errors in the logs though.
I will create a simpler query, and get back to you/the list my results.
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 17:10:01 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Quoting Brian Kosick (briank@nacs.net):
> Here's my code:
> [query list=1 ml=50 more=1 st=db ma=yes mc=1
> rf=p.code,p.name,p.short_desc,p.price,p.qty,p.new_plant,p.disc tf=p.name sql=|
> SELECT p.code, p.name, p.short_desc,
> p.price, p.qty, p.new_plant, p.avail,
> p.disc, z.zone
> FROM products AS p, zip_zone AS z
> WHERE z.zip = '[value search_zip]'
> AND p.zones ~ z.zone
> AND p.disc != '0'
> ORDER BY p.name;
> |
> ]
>
> I've tried putting the rf values in double quotes and single quotes, I've
> added and removed the "p."
If you have p.anything, it will break stuff. It should always not be
there except in the query itself. This is documented.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Prove you aren't stupid. Say NO to Passport.
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Tue Oct 9 17:26:01 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
><snip>
>I've tried putting the rf values in double quotes and single quotes, I've
>added and removed the "p."
>
>I displays the Alpha more list now, however the search returns an empty set.
>No errors in the logs though.
>
>I will create a simpler query, and get back to you/the list my results.
<snip>
Here's my simple query that works
[query list=1 ml=50 more=1 st=db sql=|
SELECT code, name
FROM products
ORDER BY name
|
]
When I change it to
[query list=1 ml=50 more=1 st=db ma=yes mc=1 rf=code,name tf=name sql=|
It returns an empty set, and a very strange Alphanumeric list
Matches 1-50 of 1044 found.
L M N O P R S L T I T S H I M P R S T V W A B C D F H I J K L M P S T V Y A
W A B C D C D E G H I L M C M P A B C D E F G H C F G H L O S A C D V A V D
S C V D M L H I K L P R S T V W A D C E T P Next
Again, in the rf field, I've tried various combos of quotes.
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 18:03:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Quoting Brian Kosick (briank@nacs.net):
>
> ><snip>
> >I've tried putting the rf values in double quotes and single quotes, I've
> >added and removed the "p."
> >
> >I displays the Alpha more list now, however the search returns an empty set.
> >No errors in the logs though.
> >
> >I will create a simpler query, and get back to you/the list my results.
> <snip>
>
> Here's my simple query that works
>
> [query list=1 ml=50 more=1 st=db sql=|
> SELECT code, name
> FROM products
> ORDER BY name
> |
> ]
>
> When I change it to
> [query list=1 ml=50 more=1 st=db ma=yes mc=1 rf=code,name tf=name sql=|
>
> It returns an empty set, and a very strange Alphanumeric list
>
> Matches 1-50 of 1044 found.
> L M N O P R S L T I T S H I M P R S T V W A B C D F H I J K L M P S T V Y A
> W A B C D C D E G H I L M C M P A B C D E F G H C F G H L O S A C D V A V D
> S C V D M L H I K L P R S T V W A D C E T P Next
>
>
> Again, in the rf field, I've tried various combos of quotes.
It works fine for me with the patch, essentially the same code (sku /
description instead of code / name). I am guessing that your "order by
name" is not working how you think....or that there is something the matter
with mc=1. Try removing that.
As far as quoting goes, you should if you can quote every parameter
which is not fitting the character class \w+.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: interchange-users at interchange.redhat.com (Jami)
Date: Tue Oct 9 18:44:01 2001
Subject: [ic] RE: UPS zone-based shipping not working
Thank you! I saved the 975.csv file as 450.csv and reloaded the
450.csv file to the server. After restarting IC, it works great, and
now knows we are shipping from the 975 zip code instead of the 450 zip
code. I guess we just had to 'fake it out'.
Thank you all.
From: interchange-users at interchange.redhat.com (Laura)
Date: Tue Oct 9 19:17:01 2001
Subject: [ic] Authorize.net referer
I am trying to set up my authorize.net info through the IC wizard...I got
the first 3 feilds but the last field asks for a "valid referer". Does
anyone know what this is referring to?
Laura
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Tue Oct 9 20:46:00 2001
Subject: [ic] Authorize.net referer
At 04:16 PM 10/9/01, you wrote:
>I am trying to set up my authorize.net info through the IC wizard...I got
>the first 3 feilds but the last field asks for a "valid referer". Does
>anyone know what this is referring to?
>
>Laura
Laura,
Authorizenet has a "feature" to allow you to put in a url (referring page) so
that it will only accept submission from this "url". Last time I looked, this
was optional at Authorizenet.
I believe that you can set this url to whatever you wish (does not even need to
reflect a "real" page) IE:
www.mydomain.com/junk.html
Then in IC for valid referer you would put in the same url, then when ic
communicates to Authorizenet it will claim to be coming from this url
so that Authorizenet will process the order.
I don't know if IC requires something be placed here, but if your not
using the feature at Authorizenet, and if IC requires something, just
make up a url and it should work.
Hope this helps,
Kyle Cook
From: interchange-users at interchange.redhat.com (interch)
Date: Tue Oct 9 20:49:00 2001
Subject: [ic] Item image uploads not working in 4.8.1
In 4.8.1 admin images upload with the full pathname... Haven't had a
chance to compare with older versions and see where it broke.
Chris
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 9 21:19:01 2001
Subject: [ic] Secure server FAQs [monthly posting]
These are the FAQs:
Shopping cart is dropped when using SSL.
This is a thorny question. It has many possible causes, and most often
occurs when you try to use a different secure server domain than the
regular catalog runs on. (See the next question for more info on that.)
If your secure domain is the same as the non-secure domain, it is
usually due to the user not having cookies enabled. It can be due to the
HostnameLookups (Stronghold/Apache parameter) not matching for the two
servers, secure and non-secure. It can also be caused by the user having
different web proxy addresses for HTTP and HTTPS. If it still does not
work, try changing some of the appropriate configuration parameters in
interchange.cfg:
DomainTail No
IpHead Yes
If you still are having problems, try this combination in catalog.cfg,
the catalog configuration file:
SessionExpire 10 minutes
WideOpen Yes
The above setting will typically make Interchange work when it is
possible to work. Sometimes when you have multiple Interchange servers
sharing the same secure server, you will have problems after accessing
the second one. (The first one issues a session ID cookie, and that
causes problems).
I have a different secure server domain. Why does the shopping cart
get dropped?
First of all, it is questionable business practice to not certify your
secure server. Besides violating the terms of use of many certificate
issuers, customers notice the changed domain and it is proven by user
surveys and long experience that you will receive fewer orders as a
result. Certs can be obtained for $125 US per year, less than the
typical cost of one hour of a top consultant's time. Do your business
a favor -- spend the money to get a cert.
If you insist on doing it anyway, probably driven by the fact that
you need a dedicated IP address for a secure server, you can use the
solutions in the previous FAQ question and get some relief.
But by far the best way is to have all orders and shopping cart calls go
only to the secure domain. Your users may get a different session when
browsing the non-secure catalog pages, but it will matter little.
To do this on the Foundation demo, place in catalog.cfg:
AlwaysSecure order ord/basket ord/checkout
A more complete list might be:
AlwaysSecure <<EOF
account
change_password
customerservice
login
logout
new_account
ord/basket
ord/checkout
order
process
query/check_orders
query/order_detail
query/order_return
returns
saved_carts
ship_addresses
EOF
(Thanks to John Beima for the above list.)
Add pages of your own that need to be sure of coherent
session information.
For all *forms* to be secure, make sure "process" is on that list. (Your search
forms will still be non-secure if you use "[process-search]" to produce
the form ACTION.)
To make individual order links secure, use this instead of "[order]":
<A HREF="[area
href=order
secure=1
form='mv_order_item=SKU_OF_ITEM'
]">Order it</A>
To make a form-based order button secure, use "[process secure=1]" as
the ACTION.
My images aren't there on the secure server!!!
You have a different document root, or the permissions are not such
that you can access them. You can set a different base URL for images
with:
ImageDirSecure https://your.secure.server/somewhere/images
Don't try to set it to an http:// URL -- images will be broken anyway.
My secure pages fail when my browser is MSIE.
MSIE has several SSL bugs, particularly in V5.01. See the C<Apache-SSL>
or C<mod_ssl> FAQ. You can sometimes fix this with an httpd.conf change:
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
--
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: interchange-users at interchange.redhat.com (Laura)
Date: Tue Oct 9 21:21:00 2001
Subject: [ic] Authorize.net referer
Thanks so much! It worked.
Laura
----- Original Message -----
From: "Kyle Cook" <kyle@invisio.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 09, 2001 8:42 PM
Subject: Re: [ic] Authorize.net referer
At 04:16 PM 10/9/01, you wrote:
>I am trying to set up my authorize.net info through the IC wizard...I got
>the first 3 feilds but the last field asks for a "valid referer". Does
>anyone know what this is referring to?
>
>Laura
Laura,
Authorizenet has a "feature" to allow you to put in a url (referring page)
so
that it will only accept submission from this "url". Last time I looked,
this
was optional at Authorizenet.
I believe that you can set this url to whatever you wish (does not even need
to
reflect a "real" page) IE:
www.mydomain.com/junk.html
Then in IC for valid referer you would put in the same url, then when ic
communicates to Authorizenet it will claim to be coming from this url
so that Authorizenet will process the order.
I don't know if IC requires something be placed here, but if your not
using the feature at Authorizenet, and if IC requires something, just
make up a url and it should work.
Hope this helps,
Kyle Cook
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 10 03:25:01 2001
Subject: [ic] [more] / [more-list]
Joachim Leidinger <jojo@blackpoint.de> writes:
> Jason Korkin wrote:
> >
> > Can't do that one -- because its already defined as being link=#FFFFFF
> > (ie. white) for all of the other links...
> >
> > Jason.
>
> How about a CSS like
>
> a:link.treffer {
> font-family: Arial, Helvetica, sans-serif;
> font-size: 10pt;
> font-style: normal;
> font-weight: bold;
> color: green;
> text-decoration: undlerine;}
>
> and in your page a codes like
>
> [seti morestuff]
> [decade-prev] <B>(-10)<<</B> [/decade-prev]
> [prev-anchor] <B><</B> [/prev-anchor]
> [more]
> [next-anchor] <B>></B> [/next-anchor]
> [decade-next] <B>>>(+10)</B> [/decade-next]
> [/seti]
> [perl]
> $_ = $Safe{'scratch'}->{'morestuff'};
> s/HREF/class\=\"treffer\"\ HREF/g;
> $Safe{'scratch'}->{'morestuff'} = $_;
> return '';
> [/perl]
You know about $var =~ s/.../.../g; ?
I think that's ugly. We should support passing arbritray attributes
for the <a> tag in more lists.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Wed Oct 10 03:58:01 2001
Subject: [ic] [more] / [more-list]
"Stefan Hornburg (Racke)" wrote:
[DEL]
> > [seti morestuff]
> > [decade-prev] <B>(-10)<<</B> [/decade-prev]
> > [prev-anchor] <B><</B> [/prev-anchor]
> > [more]
> > [next-anchor] <B>></B> [/next-anchor]
> > [decade-next] <B>>>(+10)</B> [/decade-next]
> > [/seti]
> > [perl]
> > $_ = $Safe{'scratch'}->{'morestuff'};
> > s/HREF/class\=\"treffer\"\ HREF/g;
> > $Safe{'scratch'}->{'morestuff'} = $_;
> > return '';
> > [/perl]
>
> You know about $var =~ s/.../.../g; ?
Hmmm...I've no clue what you mean. It seems to me, I've a knot in my
brain and this knot prevent my brain to understand you. :-(
> I think that's ugly. We should support passing arbritray attributes
> for the <a> tag in more lists.
Do you mean any kind of supporting of arbitrary attributes like
[more-list link="blue" color="green" face="Helvetica" size="10" and so
on....]
for the <a> tag?
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 10 04:12:01 2001
Subject: [ic] [more] / [more-list]
Joachim Leidinger <jojo@blackpoint.de> writes:
> "Stefan Hornburg (Racke)" wrote:
> [DEL]
> > > [seti morestuff]
> > > [decade-prev] <B>(-10)<<</B> [/decade-prev]
> > > [prev-anchor] <B><</B> [/prev-anchor]
> > > [more]
> > > [next-anchor] <B>></B> [/next-anchor]
> > > [decade-next] <B>>>(+10)</B> [/decade-next]
> > > [/seti]
> > > [perl]
> > > $_ = $Safe{'scratch'}->{'morestuff'};
> > > s/HREF/class\=\"treffer\"\ HREF/g;
> > > $Safe{'scratch'}->{'morestuff'} = $_;
> > > return '';
> > > [/perl]
> >
> > You know about $var =~ s/.../.../g; ?
>
> Hmmm...I've no clue what you mean. It seems to me, I've a knot in my
> brain and this knot prevent my brain to understand you. :-(
Optimization for the stuff above:
1. use two statements only
[perl]
$Safe{'scratch'}->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
return '';
[/perl]
2. return is not necessary
[perl]
$Safe{'scratch'}->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
'';
[/perl]
3. SYNTAX =~ s/MV/IC/;
[perl]
$Scratch->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
'';
[/perl]
4. calc is faster than perl
[calc]
$Scratch->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
'';
[/calc]
>
> > I think that's ugly. We should support passing arbritray attributes
> > for the <a> tag in more lists.
>
> Do you mean any kind of supporting of arbitrary attributes like
>
> [more-list link="blue" color="green" face="Helvetica" size="10" and so
> on....]
>
> for the <a> tag?
Sth like that. Maybe a variable/value serves better.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Wed Oct 10 04:31:01 2001
Subject: [ic] Tips from Racke
"Stefan Hornburg (Racke)" wrote:
[DEL]
> > > You know about $var =~ s/.../.../g; ?
> >
> > Hmmm...I've no clue what you mean. It seems to me, I've a knot in my
> > brain and this knot prevent my brain to understand you. :-(
>
> Optimization for the stuff above:
> 1. use two statements only
> [perl]
> $Safe{'scratch'}->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
> return '';
> [/perl]
Aah! I get the picture!
> 2. return is not necessary
> [perl]
> $Safe{'scratch'}->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
> '';
> [/perl]
> 3. SYNTAX =~ s/MV/IC/;
> [perl]
> $Scratch->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
> '';
> [/perl]
> 4. calc is faster than perl
> [calc]
> $Scratch->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
> '';
> [/calc]
Thank you a lot for the lesson! But when should I use [perl] instead of
[calc]?
Why not using [calc] only?
[DEL]
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 10 04:47:01 2001
Subject: [ic] Tips from Racke
Joachim Leidinger <jojo@blackpoint.de> writes:
[...]
>
> Thank you a lot for the lesson! But when should I use [perl] instead of
> [calc]?
> Why not using [calc] only?
While [perl tables="..."] works, [calc tables="..."] does not.
Think of [perl] as an extension to [calc].
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 10 04:51:00 2001
Subject: [ic] [more] / [more-list]
Joachim Leidinger <jojo@blackpoint.de> writes:
[...]
>
> Do you mean any kind of supporting of arbitrary attributes like
>
> [more-list link="blue" color="green" face="Helvetica" size="10" and so
> on....]
>
> for the <a> tag?
I think we'll discuss on our IRC meeting tomorrow.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Kevin Flynn)
Date: Wed Oct 10 05:52:00 2001
Subject: [ic] Attaching txt file to emails
Can anyone tell me if it is possible attach a txt file to an email I want to
send out, or even direct me to some information. I'm using interchange 4.8
Thanks in advance
Kevin Flynn
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 10 08:23:01 2001
Subject: [ic] [more] / [more-list]
Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> 2. return is not necessary
> [perl]
> $Safe{'scratch'}->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
> '';
> [/perl]
But it doesn't hurt anything and is much clearer....a return is implicit
anyway. There is no performance penalty to using it.
I would more worry about clarity here....
$Scratch->{morestuff} =~ s/HREF/class="treffer" HREF/g;
is much easier to view than:
$Safe{'scratch'}->{'morestuff'} =~ s/HREF/class\=\"treffer\"\ HREF/g;
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: interchange-users at interchange.redhat.com (Jason Korkin)
Date: Wed Oct 10 08:26:00 2001
Subject: [ic] [more] / [more-list]
Exactly! :-) Thats what we were looking to do... for future reference:
[more_list]
[next-anchor]<FONT
COLOR=#0000FF>>></FONT>[/next-anchor]
[prev-anchor]<FONT
COLOR=#0000FF><<</FONT>[/prev-anchor]
[page-anchor]<FONT
COLOR=#0000FF>$PAGE$</FONT>[/page-anchor]
[more]
[/more_list]
Works just fine.... a bit messy, but it works.
Jason.
"Stefan Hornburg (Racke)" wrote:
>
> Joachim Leidinger <jojo@blackpoint.de> writes:
>
> [...]
>
> >
> > Do you mean any kind of supporting of arbitrary attributes like
> >
> > [more-list link="blue" color="green" face="Helvetica" size="10" and so
> > on....]
> >
> > for the <a> tag?
>
> I think we'll discuss on our IRC meeting tomorrow.
>
> Ciao
> Racke
>
> --
> Racke happily hacks Interchange and maintains Debian packages like Courier.
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
---------------------------------------------------------------
**** Virtual Hosting w/ Interchange, $20/month! ****
---------------------------------------------------------------
KORKSOFT - Software & Internet Solutions
Interchange, E-Commerce, C++/Perl/PHP/ASP
http://www.korksoft.com
Tel: (561) 642-7005 x 201
From: interchange-users at interchange.redhat.com (Anton Vandeplas)
Date: Wed Oct 10 09:01:01 2001
Subject: [ic] Internal Server Error?
Hi,
Currently my website gives the: Internal Server Error page. Looking into the
error log it states:
Runtime error: Missing special page: ../special_pages/missing
The page missing.html is present in that directory.
Any idea what could be wrong?
Thanks
Anton
From: interchange-users at interchange.redhat.com (Michel Matte)
Date: Wed Oct 10 09:14:01 2001
Subject: [ic] Accounting Package - Correction
Excuse me everybody for the previous message with mistaken reference quote. Here is the corrected message.
Does anybody know of a good Linux integrated accounting package that allows development and modifications and integration with the
Web?
--
Michel Matte
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 10 09:20:00 2001
Subject: [ic] Attaching txt file to emails
"Kevin Flynn" <kflynn@celticlinks.com> writes:
> Can anyone tell me if it is possible attach a txt file to an email I want to
> send out, or even direct me to some information. I'm using interchange 4.8
I'm using an global email_mime tag which works together with
MIME::Lite.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Han Huang)
Date: Wed Oct 10 11:08:00 2001
Subject: [ic] Hanging on File Upload/Download Any File
I am running version 4.6.5 on Linux (RH 7.2, k2.2.17)
It eventually times out with an error 500 on the browser, and the apache
error log shows a premature end of script header error.
I believe my permissions are correct. I have an exact replica of the live
site with the same permissions and File Upload/Download works fine on that
catalog.
I was told that version 4.6x experience this problem. If so, is there a
workaround, short of upgrading to a newer version?
thanks.
ic@rainkid.com
---------------------------------------------------------------------------
What does the error log say? Do you have the correct permissions set up?
What version of IC?
OS?
At 01:09 PM 10/9/01 -0400, you wrote:
>Anyone else experiencing this problem?
>
>When I attempt to do a File Upload/Download -> Any File in the admin UI,
the
>browser just stalls. Eventually I get an Internal Server Error. I have a
>replica of this catalog, which is not experiencing the same problem.
>
>Any help or tips would be greatly appreciated.
>
>--ic@rainkid.com
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Wed Oct 10 11:46:00 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
Mike Heins wrote:
> > I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> > fault (core dumped) and I'm missing the v/tlink source from
> > /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> > Why?
> > IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> > 4.3!
>
> I believe this is a bug in the distribution FreeBSD Perl, I believe.
> Why it manifests itself in 4.8.2 but not 4.8.1 I don't know -- probably
> the way the memory lines up.
>
> In any case, if you rebuild Perl and put setproctitle=define I think
> it works fine....
Regarding to the mail from Pablo Martins F. Costa in
http://interchange.redhat.com/archive/interchange-users/2001/msg09422.html
, I've moving the part
----- snip bin/interchange ----
if(defined $Global::Variable->{MV_DOLLAR_ZERO}) {
$0 = $Global::Variable->{MV_DOLLAR_ZERO};
$0 = "interchange --> $Global::VendRoot"
if length($0) < 2;
}
else {
$0 = "interchange";
}
----- snip bin/interchange ----
into .../lib/Vend/Server.pm like
------ snipp Server.pm -----
use POSIX qw(setsid strftime);
use Vend::Util;
use Fcntl;
use Errno qw/:POSIX/;
use Config;
use Socket;
use Symbol;
use strict;
if(defined $Global::Variable->{MV_DOLLAR_ZERO}) {
$0 = $Global::Variable->{MV_DOLLAR_ZERO};
$0 = "interchange --> $Global::VendRoot"
if length($0) < 2;
}
else {
#jojo
$0 = "interchange jojo";
}
------ snipp Server.pm -----
I get
----- snip ---------
> bin/interchange -u
Low traffic settings.
"mode" is not defined in %Fcntl::EXPORT_TAGS at bin/interchange line
2717
Calling UI......UI is loaded...
Interchange V4.8.2
Configuring catalog fondation...Using default DBM database...done.
Interchange server started in UNIX mode(s) (process id 2198)
----- snip ---------
and
----- snip ---------
> ps 2198
PID TT STAT TIME COMMAND
2198 ?? Ss 0:00.01 interchange jojo (perl)
----- snip ---------
Is that a solution? I've tested it with low, high and rpc without and
#perl -v
This is perl, version 5.005_03 built for i386-freebsd
and
#uname -a
FreeBSD BPA.Leidinger.net 4.3-RC FreeBSD 4.3-RC #2: Fri Apr 6 09:52:29
CEST 2001
Hope that helps!
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Wed Oct 10 11:56:01 2001
Subject: [ic] IC 4.8.2 Segmentation fault and core dumped
Joachim Leidinger wrote:
[DEL]
> Is that a solution? I've tested it with low, high and rpc without and
Oops! I mean "..tested with low, high and rpc without any problems and
I've..."
> #perl -v
> This is perl, version 5.005_03 built for i386-freebsd
>
> and
> #uname -a
> FreeBSD BPA.Leidinger.net 4.3-RC FreeBSD 4.3-RC #2: Fri Apr 6 09:52:29
> CEST 2001
>
> Hope that helps!
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Wed Oct 10 12:59:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
At 06:02 PM 10/9/01 -0400, you wrote:
><snip>
>
>It works fine for me with the patch, essentially the same code (sku /
>description instead of code / name). I am guessing that your "order by
>name" is not working how you think....or that there is something the matter
>with mc=1. Try removing that.
>
>As far as quoting goes, you should if you can quote every parameter
>which is not fitting the character class \w+.
>
>--
>Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
>phone +1.513.523.7621 <mheins@redhat.com>
>
>Fast, reliable, cheap. Pick two and we'll talk. -- unknown
<snip>
OK, then maybe its my code to display the list. Here's my complete test code.
[query list="1" ml="50" more="1" ma="yes" mc="1" rf="code,name" tf="name"
st="db" sql=|
SELECT code, name
FROM products
ORDER BY name
|
]
[more-list]
<BLOCKQUOTE>
Matches [matches] of [match-count] found.
<BR>[more]<BR>
</BLOCKQUOTE>
[/more-list]
</CENTER>
<table>
<tr><td>Code</td><td>Name</td></tr>
[list]
<tr>
<td>[sql-param code]</td>
<td>[sql-param name]</td>
</tr>
[/list]
</table>
[/query]
Should I use something other than [list] or [sql-param] to display the
items? It displays the more-list correctly now, but not the item information.
From: interchange-users at interchange.redhat.com (Jason Korkin)
Date: Wed Oct 10 13:05:01 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Brian - Try this:
[query list="1" more="1" ml="15" sql="SELECT * FROM products"]
[list]
<TR>
<TD><FONT SIZE=1
FACE=Verdana>[sql-code]</FONT></TD>
<TD><FONT SIZE=2 FACE=Arial>[sql-param
title]</FONT></TD>
<TD ALIGN=RIGHT><FONT SIZE=2
FACE=Arial>[sql-price]</FONT></TD>
</TR>
[/list]
<TR>
<TD COLSPAN=3 ALIGN=CENTER>
[more_list]
[next-anchor]<FONT
COLOR=#0000FF>>></FONT>[/next-anchor]
[prev-anchor]<FONT
COLOR=#0000FF><<</FONT>[/prev-anchor]
[page-anchor]<FONT
COLOR=#0000FF>$PAGE$</FONT>[/page-anchor]
[more]
[/more_list]
[no-match]No Matches Returned[/no-match]
</TD>
</TR>
[/query]
This works just fine... :-)
Jason.
Brian Kosick wrote:
>
> At 06:02 PM 10/9/01 -0400, you wrote:
> ><snip>
> >
> >It works fine for me with the patch, essentially the same code (sku /
> >description instead of code / name). I am guessing that your "order by
> >name" is not working how you think....or that there is something the matter
> >with mc=1. Try removing that.
> >
> >As far as quoting goes, you should if you can quote every parameter
> >which is not fitting the character class \w+.
> >
> >--
> >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> >phone +1.513.523.7621 <mheins@redhat.com>
> >
> >Fast, reliable, cheap. Pick two and we'll talk. -- unknown
> <snip>
> OK, then maybe its my code to display the list. Here's my complete test code.
>
> [query list="1" ml="50" more="1" ma="yes" mc="1" rf="code,name" tf="name"
> st="db" sql=|
> SELECT code, name
> FROM products
> ORDER BY name
> |
> ]
> [more-list]
> <BLOCKQUOTE>
> Matches [matches] of [match-count] found.
> <BR>[more]<BR>
> </BLOCKQUOTE>
> [/more-list]
> </CENTER>
> <table>
> <tr><td>Code</td><td>Name</td></tr>
> [list]
> <tr>
> <td>[sql-param code]</td>
> <td>[sql-param name]</td>
> </tr>
> [/list]
> </table>
> [/query]
>
> Should I use something other than [list] or [sql-param] to display the
> items? It displays the more-list correctly now, but not the item information.
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
---------------------------------------------------------------
**** Virtual Hosting w/ Interchange, $20/month! ****
---------------------------------------------------------------
KORKSOFT - Software & Internet Solutions
Interchange, E-Commerce, C++/Perl/PHP/ASP
http://www.korksoft.com
Tel: (561) 642-7005 x 201
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Wed Oct 10 13:18:01 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
At 01:03 PM 10/10/01 -0400, you wrote:
>Brian - Try this:
>
> [query list="1" more="1" ml="15" sql="SELECT * FROM products"]
> [list]
> <TR>
> <TD><FONT SIZE=1
>FACE=Verdana>[sql-code]</FONT></TD>
> <TD><FONT SIZE=2 FACE=Arial>[sql-param
>title]</FONT></TD>
> <TD ALIGN=RIGHT><FONT SIZE=2
>FACE=Arial>[sql-price]</FONT></TD>
> </TR>
> [/list]
>
> <TR>
> <TD COLSPAN=3 ALIGN=CENTER>
> [more_list]
> [next-anchor]<FONT
>COLOR=#0000FF>>></FONT>[/next-anchor]
> [prev-anchor]<FONT
>COLOR=#0000FF><<</FONT>[/prev-anchor]
> [page-anchor]<FONT
>COLOR=#0000FF>$PAGE$</FONT>[/page-anchor]
> [more]
> [/more_list]
> [no-match]No Matches Returned[/no-match]
> </TD>
> </TR>
> [/query]
>
>This works just fine... :-)
>
>Jason.
<snip>
Ahhhh Ok i figured it out. Your code would work great, but I'm trying to
use the Alpha Numeric feature of the more list, that is, instead of
displaying numbers for the more-list (previous 1 2 3 4 5 6 next), it would
display (previous A B C D E F G next)
However your reply did give me my needed insight/clue. Instead of using
the [sql-param] tag, I switched it to [sql-field] Every thing works great
now! Thanks everyone for the help and patience.
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 10 13:43:00 2001
Subject: [ic] [more] / [more-list]
At 10:46 AM 10/10/2001 +0200, you wrote:
>Joachim Leidinger <jojo@blackpoint.de> writes:
>
>
>[...]
>
> >
> > Do you mean any kind of supporting of arbitrary attributes like
> >
> > [more-list link="blue" color="green" face="Helvetica" size="10" and so
> > on....]
> >
> > for the <a> tag?
>
>I think we'll discuss on our IRC meeting tomorrow.
>
>Ciao
> Racke
>
In case I don't make that meeting, I would like to suggest the ability to
pass a style spec, or a stylesheet class name, to all IC tags which
generate <a href="foo">, i.e.
[page name=foo style="color:green; font-weight:bold"]Foo</a>
[page name=foo class=greenlink]Foo</a>
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Alex Daree)
Date: Wed Oct 10 13:50:01 2001
Subject: [ic] Need help with image upload- any body?
I have been able to allow my ctustomers to upload an image however with the
image is uploaded to the server, I get the image name uploaded, the size of
all of them is zero (0) , you can open it with a text editor and nothing
realy there. Any thing I might of done wrong ? any body can help?
I am using this code:
[control reset=1]
[set name=upload_filename interpolate=1][calc]
$filename = "";
$filename = $CGI->{newfile};
$filename =~ s|.*[\\/]||;
return $filename;
[/calc][/set]
@_LEFTRIGHT_TOP_@
<!-- BEGIN CONTENT -->
<FORM ACTION="[process-target] METHOD=POST ENCTYPE="multipart/form-data">
<INPUT TYPE=hidden NAME=mv_todo VALUE=return>
<INPUT TYPE=HIDDEN NAME=image value="[scratch upload_filename]">
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=test>
[value-extended Yes=1 No=0 name=newfile
umask=022
outfile="images/[scratch upload_filename]"]
<INPUT TYPE=file NAME=newfile>
<INPUT TYPE=submit VALUE="Upload">
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 10 13:51:26 2001
Subject: [ic] Tips from Racke
At 10:44 AM 10/10/2001 +0200, you wrote:
>Joachim Leidinger <jojo@blackpoint.de> writes:
>
>
>[...]
>
> >
> > Thank you a lot for the lesson! But when should I use [perl] instead of
> > [calc]?
> > Why not using [calc] only?
>
>While [perl tables="..."] works, [calc tables="..."] does not.
>Think of [perl] as an extension to [calc].
>
>Ciao
> Racke
I have wondered about this. Racke, myself and many others have been around
long enough to remember the bad old days of [perl arg="scratch values
session cgi any_other_damn_thing"] and it was nice when that was no longer
needed. It is possible that the [perl] tag can be made table/file ready,
eliminating the need for the tables parameter, or is the price too
great? It would be of much benefit, particularly when using the $Tag->
reference in [perl], because if that $Tag-> touches any tables (like
$Tag->shipping())you must include all those tables in the tables list
anyway (at least that was the case in 4.6.x, I admit I have not tried it in
4.8).
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Alex Daree)
Date: Wed Oct 10 13:53:01 2001
Subject: [ic] Web TV Proplem?
Why web tv users can't login to the system?
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 10 14:27:01 2001
Subject: [ic] Tips from Racke
Quoting Ed LaFrance (edl@newmediaems.com):
> At 10:44 AM 10/10/2001 +0200, you wrote:
> >Joachim Leidinger <jojo@blackpoint.de> writes:
> >
> >
> >[...]
> >
> > >
> > > Thank you a lot for the lesson! But when should I use [perl] instead of
> > > [calc]?
> > > Why not using [calc] only?
> >
> >While [perl tables="..."] works, [calc tables="..."] does not.
> >Think of [perl] as an extension to [calc].
> >
> >Ciao
> > Racke
>
> I have wondered about this. Racke, myself and many others have been around
> long enough to remember the bad old days of [perl arg="scratch values
> session cgi any_other_damn_thing"] and it was nice when that was no longer
> needed. It is possible that the [perl] tag can be made table/file ready,
> eliminating the need for the tables parameter, or is the price too
> great?
The price is too great. We must pre-open the tables, meaning that we muswt
import them.
> It would be of much benefit, particularly when using the $Tag->
> reference in [perl], because if that $Tag-> touches any tables (like
> $Tag->shipping())you must include all those tables in the tables list
> anyway (at least that was the case in 4.6.x, I admit I have not tried it in
> 4.8).
>
Sometimes it works, sometimes it doesn't. Depends on what your DBD driver
does. If it does a runtime require when the DB handle is created, then
it will not and cannot work with Safe.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
If you like what you're gettin', keep doin' what you're doin'. -- Hector
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 10 14:38:01 2001
Subject: Perl vs. Calc (was: Re: [ic] Tips from Racke)
Mike Heins <mheins@redhat.com> writes:
>
> The price is too great. We must pre-open the tables, meaning that we muswt
> import them.
>
> > It would be of much benefit, particularly when using the $Tag->
> > reference in [perl], because if that $Tag-> touches any tables (like
> > $Tag->shipping())you must include all those tables in the tables list
> > anyway (at least that was the case in 4.6.x, I admit I have not tried it in
> > 4.8).
> >
>
> Sometimes it works, sometimes it doesn't. Depends on what your DBD driver
> does. If it does a runtime require when the DB handle is created, then
> it will not and cannot work with Safe.
It would help much if we can pass the table names in a UserTag parameter,
so the caller open's the tables.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Wed Oct 10 14:42:00 2001
Subject: [ic] mv_credit_card_reference
> > Thanks a lot Mike. I solved it by calling:
> >
> > my $cc_ref = (Vend::Order::encrypt_standard_cc($CGI, 1)) [6]
> >
> > from [perl], but &calc looks cleaner because I'm validating the
> CC twice...
> >
>
> Obviously you are running AllowGlobal....you should put in a
> warning "don't
> try this at home". 8-)
Yes, I think I will follow those guidelines from the docs about locking down
the server. I've removed the Vend::Order::encrypt_standard_cc call, and have
changed [perl]...[/perl] by &calc=<<EOF ... EOF.
I still have problems though, because I have a lot more of code which gets
trapped by Safe::Hole, concretely calls to Digest::MD5 and LWP. I've moved
all of this to globalsubs and included them from the main
/etc/interchange.cfg file, but when I call one of the subs, I get something
like:
process Safe: Undefined subroutine &MVSAFE94805::calc_md5 called at (eval
257) line 40.
I've tried:
&calc=<<EOF
...
my_global_sub($something);
EOF
as well as:
&calc=<<EOF
...
::my_global_sub($something);
EOF
Thanks again!
Javier
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Wed Oct 10 15:04:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
At 09:27 PM 10/9/01 +0200, you wrote:
>I think no one tried it yet and you definitely found a bug. A first
>fix to Interpolate.pm which should work with the above query:
>
>diff -u -r2.9.2.2 -r2.9.2.3
>--- Interpolate.pm 2001/10/07 12:56:32 2.9.2.2
>+++ Interpolate.pm 2001/10/09 19:23:36 2.9.2.3
>@@ -5327,6 +5327,11 @@
> if($opt->{ma}) {
> # Find the sort field and alpha options....
> Vend::Scan::parse_profile_ref($object, $opt);
>+ # Contents of mv_return_fields must be of the same type
>+ # (numeric here) as the contents of mv_sort_field
>+ @{$object->{mv_return_fields}} = map {$nh->{$_}}
>@{$object->{mv_return_fields}};
>+ # We need to turn the hash reference into a search object
>+ $object = new Vend::Search (%$object);
> # Delete this so it will meet conditions for creating a more
> delete $object->{mv_matchlimit};
> }
>
>But don't nail me on this. We have to take to look closer at it,
>anyway.
>
>Ciao
> Racke
Racke, now that this is known to work, will this patch be incorporated into
the current and future versions of IC 4.8.x and higher CVS? I would like
to stick with the stable branch.
From: interchange-users at interchange.redhat.com (Jeff Carnahan)
Date: Wed Oct 10 15:12:00 2001
Subject: [ic] Tips from Racke
} From: Mike Heins
} Quoting Ed LaFrance (edl@newmediaems.com):
} > >
} > >While [perl tables="..."] works, [calc tables="..."] does not.
} > >Think of [perl] as an extension to [calc].
} > >
} >
} > I have wondered about this. Racke, myself and many others have
} > been around long enough to remember the bad old days of [perl
} > arg="scratch values session cgi any_other_damn_thing"] and it
} > was nice when that was no longer needed. It is possible that
} > the [perl] tag can be made table/file ready, eliminating the need
} > for the tables parameter, or is the price too great?
}
} The price is too great. We must pre-open the tables, meaning that we muswt
} import them.
}
} > It would be of much benefit, particularly when using the $Tag->
} > reference in [perl], because if that $Tag-> touches any tables (like
} > $Tag->shipping())you must include all those tables in the tables list
} > anyway (at least that was the case in 4.6.x, I admit I have not tried
} > it in 4.8).
} >
}
} Sometimes it works, sometimes it doesn't. Depends on what your DBD driver
} does. If it does a runtime require when the DB handle is created, then
} it will not and cannot work with Safe.
}
I just wanted to thank all three of you for this useful chunk of
knowledge, I remember the times where I would become increasingly
frustrated trying to locate my [perl .. ] woes.. =) Thanks!
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 10 15:25:00 2001
Subject: [ic] [more] / [more-list] Alpha Numeric
Brian Kosick <briank@nacs.net> writes:
[...]
>
> Racke, now that this is known to work, will this patch be incorporated into
> the current and future versions of IC 4.8.x and higher CVS? I would like
> to stick with the stable branch.
Yes, I already checked it in CVS/stable, so 4.8.3 will have this patch.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Curt Hauge)
Date: Wed Oct 10 16:17:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
Hi everyone,
I am trying to learn how to use the usertag table-organize within the
tutorial. I wish to create multiple columns of products with many rows. I
have copied /usr/lib/interchange/eg/usertag/table_organize to
/usr/lib/interchange/usertag/table_organize. I have made the following entry
into interchange.cfg:
(I think this could be the problem)
UserTag table-organize Order cols ==> EOR
and this is my test page:
[include templates/regions/top]
[include templates/regions/left]
[table-organize
cols=3
pretty=1
tr.0='bgcolor="#EEEEEE"'
tr.1='bgcolor="#FFFFFF"'
td.0='align=right'
td.1='align=center'
td.2='align=left'
]
[loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td>
[/loop]
[/table-organize]
[include templates/regions/bottom]
It does not display 1 2 3... as expected in the example in the source
(table_organize). Here is the source of the page which is displayed:
<html>
<head>
<title>The Interchange Test Catalog</title>
</head>
<body>
<div align=center>
<table width="80%" border cellpadding=15>
<tr><td colspan=2 align=center><h1>The Interchange Test
Catalog</h1></td></tr>
<tr>
<td align=center>(left)</td>
<td align=center>
</td>
</tr>
<tr><td colspan=2 align=center>(bottom)</td></tr>
</table>
</div>
</body>
</html>
I took the example right from the source, table_organize. I have viewed the
Usertag docs on table_organize at RedHat
(http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_124.html). I
searched google for table-organize. I have grepped interchange for same.
Permissions are correct (interch.interch) for table_organize. I have
restarted interchange (/etc/rc.d/init.d/interchange restart).
Can someone please point me in the right direction? Thanks again, everyone!
Curt Hauge
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 10 16:22:00 2001
Subject: Perl vs. Calc (was: Re: [ic] Tips from Racke)
Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> Mike Heins <mheins@redhat.com> writes:
>
> >
> > The price is too great. We must pre-open the tables, meaning that we muswt
> > import them.
> >
> > > It would be of much benefit, particularly when using the $Tag->
> > > reference in [perl], because if that $Tag-> touches any tables (like
> > > $Tag->shipping())you must include all those tables in the tables list
> > > anyway (at least that was the case in 4.6.x, I admit I have not tried it in
> > > 4.8).
> > >
> >
> > Sometimes it works, sometimes it doesn't. Depends on what your DBD driver
> > does. If it does a runtime require when the DB handle is created, then
> > it will not and cannot work with Safe.
>
> It would help much if we can pass the table names in a UserTag parameter,
> so the caller open's the tables.
>
Nope, chicken and egg. If the $Tag is called under Safe, then that will
not work.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
How far can you open your mind before your brains fall out?
From: interchange-users at interchange.redhat.com (joachim.richter)
Date: Wed Oct 10 16:31:01 2001
Subject: [ic] Traffic Statistics
Hi List,
does anybody know in which tables or how the infos
in the traffic static are being kept.
How can one change the amount of details that are
being shown ?
We are using Interchange 4.8
thanx 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: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 10 16:36:00 2001
Subject: [ic] using Usertag table-organize example displays nothing
Quoting Curt Hauge (chc@mninter.net):
> IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
>
> Hi everyone,
>
> I am trying to learn how to use the usertag table-organize within the
> tutorial. I wish to create multiple columns of products with many rows. I
> have copied /usr/lib/interchange/eg/usertag/table_organize to
> /usr/lib/interchange/usertag/table_organize. I have made the following entry
> into interchange.cfg:
> (I think this could be the problem)
> UserTag table-organize Order cols ==> EOR
>
> and this is my test page:
>
> [include templates/regions/top]
> [include templates/regions/left]
> [table-organize
> cols=3
> pretty=1
> tr.0='bgcolor="#EEEEEE"'
> tr.1='bgcolor="#FFFFFF"'
> td.0='align=right'
> td.1='align=center'
> td.2='align=left'
> ]
> [loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td>
> [/loop]
> [/table-organize]
> [include templates/regions/bottom]
This is one of the cases where you want an interpolate=1 parameter, for
you don't want table-organize to operate on the source of the loop, but
the results of the loop.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Light travels faster than sound. This is why some people appear bright
until you hear them speak. -- unknown
From: interchange-users at interchange.redhat.com (Corey Gilmore)
Date: Wed Oct 10 16:39:01 2001
Subject: [ic] Traffic Statistics
On Wed, 10 Oct 2001, joachim.richter wrote:
> Hi List,
>
> does anybody know in which tables or how the infos
> in the traffic static are being kept.
>
> How can one change the amount of details that are
> being shown ?
>
> We are using Interchange 4.8
You might have better luck (for non-purchase related stats) using a log
analyzer such as Webalizer to analyze your apache logs.
From: interchange-users at interchange.redhat.com (Corey Gilmore)
Date: Wed Oct 10 16:41:16 2001
Subject: [ic] Traffic Statistics
On Wed, 10 Oct 2001, joachim.richter wrote:
> Hi List,
>
> does anybody know in which tables or how the infos
> in the traffic static are being kept.
>
> How can one change the amount of details that are
> being shown ?
>
> We are using Interchange 4.8
You might have better luck (for non-purchase related stats) using a log
analyzer such as Webalizer to analyze your apache logs.
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 10 17:10:01 2001
Subject: Perl vs. Calc (was: Re: [ic] Tips from Racke)
Mike Heins <mheins@redhat.com> writes:
[...]
> Nope, chicken and egg. If the $Tag is called under Safe, then that will
> not work.
OK, I somewhat anticipated this answer. We need a Crystal::Ball module
then :-)
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Wed Oct 10 17:27:00 2001
Subject: Perl vs. Calc (was: Re: [ic] Tips from Racke)
"Stefan Hornburg (Racke)" wrote:
>
> Mike Heins <mheins@redhat.com> writes:
>
> [...]
>
> > Nope, chicken and egg. If the $Tag is called under Safe, then that will
> > not work.
>
> OK, I somewhat anticipated this answer. We need a Crystal::Ball module
> then :-)
Hmmm.... how can I known, in which case I can't use [calc] and in that
case, I've to use [perl...]?
Or how can I detect, that I've to use [perl....] instead of [calc]?
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 10 17:45:00 2001
Subject: [ic] mv_credit_card_reference
Quoting Javier Martin (martin@trymedia.com):
> > > Thanks a lot Mike. I solved it by calling:
> > >
> > > my $cc_ref = (Vend::Order::encrypt_standard_cc($CGI, 1)) [6]
> > >
> > > from [perl], but &calc looks cleaner because I'm validating the
> > CC twice...
> > >
> >
> > Obviously you are running AllowGlobal....you should put in a
> > warning "don't
> > try this at home". 8-)
>
> Yes, I think I will follow those guidelines from the docs about locking down
> the server. I've removed the Vend::Order::encrypt_standard_cc call, and have
> changed [perl]...[/perl] by &calc=<<EOF ... EOF.
>
> I still have problems though, because I have a lot more of code which gets
> trapped by Safe::Hole, concretely calls to Digest::MD5 and LWP. I've moved
> all of this to globalsubs and included them from the main
> /etc/interchange.cfg file, but when I call one of the subs, I get something
> like:
>
> process Safe: Undefined subroutine &MVSAFE94805::calc_md5 called at (eval
> 257) line 40.
>
> I've tried:
>
> &calc=<<EOF
> ...
> my_global_sub($something);
> EOF
>
> as well as:
>
> &calc=<<EOF
> ...
> ::my_global_sub($something);
> EOF
I am working on a new programming guide, and one of the first things
it says is:
Don't use GlobalSub.
The real method of doing this is just change your GlobalSub to a
$Tag, i.e. a global UserTag. Perhaps I should make a $Sub object...8-)
All you need to do is:
GlobalSub <<EOR
sub somesub {
# some code
}
EOR
Change that to:
UserTag somesub Order something
UserTag somesub Routine <<EOR
sub {
# same code
}
EOR
Then call it with $Tag->somesub($something);
It is usually nice to put an option hash at the end:
UserTag somesub addAttr
That way you can pass additional params without having to
preposition the arguments:
UserTag somesub Order something
UserTag somesub addAttr
UserTag somesub Routine <<EOR
sub {
my ($something, $opt) = @_;
$opt ||= {};
if($opt->{this}) {
that();
}
# some code
}
EOR
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 10 19:31:00 2001
Subject: [ic] mv_credit_card_reference
On Wed, Oct 10, 2001 at 05:44:44PM -0400, Mike Heins wrote:
> Quoting Javier Martin (martin@trymedia.com):
> > > > Thanks a lot Mike. I solved it by calling:
> > > >
> > > > my $cc_ref = (Vend::Order::encrypt_standard_cc($CGI, 1)) [6]
> > > >
> > > > from [perl], but &calc looks cleaner because I'm validating the
> > > CC twice...
> > > >
> > >
> > > Obviously you are running AllowGlobal....you should put in a
> > > warning "don't
> > > try this at home". 8-)
> >
> > Yes, I think I will follow those guidelines from the docs about locking down
> > the server. I've removed the Vend::Order::encrypt_standard_cc call, and have
> > changed [perl]...[/perl] by &calc=<<EOF ... EOF.
> >
> > I still have problems though, because I have a lot more of code which gets
> > trapped by Safe::Hole, concretely calls to Digest::MD5 and LWP. I've moved
> > all of this to globalsubs and included them from the main
> > /etc/interchange.cfg file, but when I call one of the subs, I get something
> > like:
> >
> > process Safe: Undefined subroutine &MVSAFE94805::calc_md5 called at (eval
> > 257) line 40.
Look back in the mailing list for [realperl] tag. Look at the way the
tag is called in Interpolate. Safe provides a lot of good things, but if you
are using a lot of system calls and external processes you need to know
how to get around it when need be.
> I am working on a new programming guide, and one of the first things
> it says is:
>
> Don't use GlobalSub.
>
> The real method of doing this is just change your GlobalSub to a
> $Tag, i.e. a global UserTag. Perhaps I should make a $Sub object...8-)
Is GlobalSub on the deprecated list?
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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 10 20:09:01 2001
Subject: [ic] Attaching txt file to emails
On Wed, 10 Oct 2001, Kevin Flynn wrote:
KF>>Can anyone tell me if it is possible attach a txt file to an email I want to
KF>>send out, or even direct me to some information. I'm using interchange 4.8
I send them 2 e-mails.
The first is the (kind of) stock response that IC sends out.
The second is generated by Procmail at Customer Service when the order is
received. This is taken out of a text file in the Customer Service Home
Directory. Procmail picks it up and sends it to sendmail.
I could just add it on to the e-mail that IC sends on as a receipt. I think
that it gives more importance by giving it a 2nd mailing.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 10, 2001 at 20:05 PM:
Book never written: "Dog training." by Wille Bite
----------------------------------------------------------------
This Linux System has been up 386 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 11 04:17:00 2001
Subject: [ic] Strange misbehavior with IE/NS under WIN and german Umlaut
Hi List,
I noticed a strange misbehavior with NS/IE and WINDOWS.
I've NS 6.1, IE 5.5 and WIN 2K!
First of all, I get a results page with NS 4.77 for Unix. The URL is
http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schlüssel
(Schlüssel = Schluessel with german umlaut u" like ü = key)
With NS under WIN 2K, typing the URL
http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schlüssel
into the URL bar, the URL bar is changing to
http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schl%C3%BCssel
suddenly and no items can't be found. The right URL should be as
http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schl%FCssel
and some items can be found.
If I type the URL into the URL bar of IE, the URl bar is not changing.
But I get
---- snip ----
Kategorie: Flur > Schlüsselringe & -anhänger
Zur Zeit Keine Artikel in Schlüsselringe & -anhänger
---- snip ----
Back to NS under WIN, if I press the link "Flur" in the left menu bar,
some items can be found and the results page is correct.
The word "Schlüsselringe" is changing to "Schl%FCsselringe" in the URL
bar of NS (WIN) and this is correct. But with IE under WIN, the word
"Schlüsselringe" is not changing and I get a "Schlüsselringe" in my
results page.
I've teste any URL via scan for a word with german Umlaut to get a list
of known items in several Site with MV4.04 and IC 4.6.5!
Only NS for UNIX get a right list of items.
With NS for WIN, NS don't get a list of items, if I write the URL into
the URL bar directly. But get a right list, if the excact same URL is
anywhere in a page as a link.
With IE for WIN, no right list of items.
What is the cause?
Any helps, tips and suggestions are very very wellcome!
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (root)
Date: Thu Oct 11 04:27:00 2001
Subject: [ic] Problem with Ordernumbers in eMails
Hi,
i have a problem with the ordernumbers in eMails :( The email the customer
receives get the odernumber , whatever 00001 then i (im the shop owner) gets
the number 00002 :( Whats the Problem ? Why is there an increment ?
My mail-receipt file looks like this :
___________________________________________________
Sending email copy of order [value mv_order_number] to [value email]: [email
to="[value email]"
subject="Danke F %/1iso8859-15ür Ihre Bestellung #[value
mv_order_number]!"
from=|"__COMPANY__ Customer Service" <__ORDERS_TO__>|]
Danke f %/1iso8859-15ür Ihre Bestellung [value mv_order_number] . Sie wurde
erfolgreich %/1iso8859-15übermittelt
***** Daten des Bestellers ******
Vorname: [value vorname]
Nachname: [value nachname]
Addresse: [value addresse1]
PLZ: [value plz]
Stadt: [value stadt]
Land: [value land]
E-Mail: [value email]
Bemerkung: [value bemerkung]
****** Daten des Bestellers *******
**********Bestellung**********
[item-list]
[item-quantity] x [item-description] x [item-price] ea.
[/item-list]
Summe: [subtotal]
Versand : [shipping]
Gesamt: [total-cost]
**********Bestellung Ende********** [/email]
_____________________________________________________
and the report file is :
_____________________________________________________
****** Daten des Bestellers ******
Vorname: [value vorname]
Nachname: [value nachname]
Addresse: [value addresse1]
PLZ: [value plz]
Stadt: [value stadt]
Land: [value land]
E-Mail: [value email]
Bemerkung: [value bemerkung]
****** Daten des Bestellers *******
**********Bestellung**********
[item-list]
[item-quantity] x [item-description] x ([item-code]), [item-price] ea.
[/item-list]
Summe: [subtotal]
Versand: [shipping]
Gesamt: [total-cost]
**********Bestellung Ende**********
___________________________________________________
whats wrong ?
mfg. Jonas
From: interchange-users at interchange.redhat.com (Ganame)
Date: Thu Oct 11 04:50:00 2001
Subject: [ic] segmentation fault (core dumped)
Hi,
When trying to run ps, I have this error message : segmentation fault
(core dumped). My OS is ReadHat 6.2 kernel 2.2.
Thanks
From: interchange-users at interchange.redhat.com (root)
Date: Thu Oct 11 05:01:00 2001
Subject: [ic] flypages are not generated at the first call
Hi ,
if i come to the shoppage and call a flypage i receive a file not found. If i
order something and go back to the listside snd call the flypage again, i
receive the side. Just the first callup of the sides dosent work :(
Why ??
mfg. Jonas
From: interchange-users at interchange.redhat.com (Cormac Robinson)
Date: Thu Oct 11 05:45:01 2001
Subject: [ic] Hosting servers that are geared to run Interchange 4.8
Hello.
Can anybody advise on a hosting service which supports
Interchange 4.8 fully. I'm looking to rent space from
a provider which supports mysql, perl, php, ssl and
allows multiple virtual hosts. I recently purchased
such a service, however the people in the company
amended the server "red hat" so much that interchange
won't run on it". Looking for good bandwidth, good
support and reliable.
If anybody can suggest a provider, I'd appreciate it.
Many thanks,
Cormac Robinson.
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 11 06:11:01 2001
Subject: [ic] Problem with Ordernumbers in eMails
root <root@ntweb.solution-service.de> writes:
> Hi,
>
> i have a problem with the ordernumbers in eMails :( The email the customer
> receives get the odernumber , whatever 00001 then i (im the shop owner) gets
> the number 00002 :( Whats the Problem ? Why is there an increment ?
The setting of the Routes in catalog.cfg is probably wrong.
Use increment 0 on any route at supplant 1 for the main route
may help.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (David Totten)
Date: Thu Oct 11 07:03:01 2001
Subject: [ic] Hosting servers that are geared to run Interchange 4.8
On Thu, 2001-10-11 at 05:44, Cormac Robinson wrote:
> Hello.
>
> Can anybody advise on a hosting service which supports
> Interchange 4.8 fully. I'm looking to rent space from
> a provider which supports mysql, perl, php, ssl and
> allows multiple virtual hosts. I recently purchased
> such a service, however the people in the company
> amended the server "red hat" so much that interchange
> won't run on it". Looking for good bandwidth, good
> support and reliable.
>
> If anybody can suggest a provider, I'd appreciate it.
>
As Mike mentioned a couple of days ago, Red Hat does hosting, and does a
fantastic job of it. Going with Red Hat, you can be assured that their
systems will work with Interchange, and you will also have good
bandwidth.
For more information, go to
http://www.redhat.com/software/ecommerce/managed_hosting.html
Dave Totten
> Many thanks,
>
> Cormac Robinson.
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (root)
Date: Thu Oct 11 07:08:01 2001
Subject: [ic] Problem with Ordernumbers in eMails
original by Racke :
> The setting of the Routes in catalog.cfg is probably wrong.
> Use increment 0 on any route at supplant 1 for the main route
> may help.
>
> Ciao
> Racke
hi,
thanks for that but i think thats not the problem :( supplant is set 1.
Here are my routes, i mostly copy&paste it from the original catalog.cfg :
__________________________________
ParseVariables Yes
Route log attach 0
Route log cybermode ""
Route log empty 1
Route log encrypt 0
Route log increment 0
#Route log report etc/log_transaction
Route log supplant 1
#Route log track logs/log
Route log_entry attach 0
Route log_entry cybermode ""
Route log_entry empty 1
Route log_entry encrypt 0
Route log_entry increment 0
#Route log_entry report etc/log_entry
Route log_entry supplant 1
#Route log_entry track logs/log
Route copy_user attach 0
Route copy_user cybermode ""
Route copy_user empty 1
Route copy_user encrypt 0
Route copy_user increment 0
Route copy_user report etc/mail_receipt
Route copy_user supplant 1
#Route copy_user track logs/log
# Main route must be last to make default
Route main attach 0
Route main credit_card 0
Route main cybermode ""
Route main default 1
Route main email '__ORDERS_TO__'
Route main encrypt 0
Route main encrypt_program '__ENCRYPTOR__'
Route main errors_to '__ORDERS_TO__'
Route main counter etc/some.other.order.number
Route main increment 0
Route main pgp_cc_key ""
Route main pgp_key ""
Route main receipt etc/receipt.html
Route main report etc/report
Route main supplant 1
#Route main individual_track orders
#Route main track logs/tracking.asc
___________________
the file /etc/some.other.order.number is the Counterfile.
mfg. Jonas
Just a Beginner
From: interchange-users at interchange.redhat.com (godsdragon at uni.de)
Date: Thu Oct 11 07:30:00 2001
Subject: [ic] Splitting orders to their Suppliers
Hi,
im having a Question:
Is Interchange able to Split Orders to their Suppliers after the basket is
appointed?
Thx.
Best Regards Daniel
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 11 07:48:01 2001
Subject: [ic] Splitting orders to their Suppliers
"godsdragon@uni.de" <Daniel.Hübner@ball.reliam.net> writes:
> Hi,
>
> im having a Question:
>
> Is Interchange able to Split Orders to their Suppliers after the basket is
> appointed?
Should be feasible. You can assign separate routes to each item
in the cart.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Oscar Buijten)
Date: Thu Oct 11 07:50:01 2001
Subject: [ic] Accounting Package
Try: www.sql-ledger.org
I use it, works fine.
Oscar
----- Message d'origine -----
De : "Dan Browning" <danpb@mail.com>
À : <interchange-users@interchange.redhat.com>
Envoyé : mardi 9 octobre 2001 17:27
Objet : RE: [ic] Accounting Package
> > Does anybody know of a good Linux integrated accounting
> > package that allows development and modifications and
> > integration with the Web?
>
> Please do not reply to digests.
>
> NOLA is a new GPL accounting system that I'm checking out currently. It
> would be neat to have a high-quality GPL ERP to integrate w/ Interchange,
> but we're working against the law of entropy so I guess we'll see what the
> future holds.
>
> http://nola.noguska.com/
>
> HTH,
>
> Dan Browning <danpb@mail.com>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Ton Verhagen)
Date: Thu Oct 11 08:08:01 2001
Subject: [ic] Splitting orders to their Suppliers
At 01:45 PM 10/11/01 +0200, you wrote:
>"godsdragon@uni.de" <Daniel.Hübner@ball.reliam.net> writes:
>> Is Interchange able to Split Orders to their Suppliers after the basket is
>> appointed?
>Should be feasible. You can assign separate routes to each item
>in the cart.
To set the order routing for individual items
An example to set the order routing for individual items in the cart:
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icdatabase10%2e03
(End of the page)
Good luck,
Ton
From: interchange-users at interchange.redhat.com (Gavin Harper)
Date: Thu Oct 11 08:53:01 2001
Subject: [ic] RE: Parse error on Excel upload "File not found"
I am also experiencing this problem.
Using IC 4.8.2 and only get the problem when using the upload XLS file from
the wizard section. This only occurs if you choose Yes from the "Insert
Products Data" drop down on the next screen.
Please can anyone help with this asap as I need to put this live in a few
days time!!
Thanks
Gavin
Message: 29
From: patrick.bennett@ccgenesis.com
To: interchange-users@interchange.redhat.com
Date: Fri, 5 Oct 2001 16:23:28 -0600
Subject: [ic] Parse error on Excel upload "File not found"
Reply-To: interchange-users@interchange.redhat.com
When I try to upload my excel spreadsheet of
products using the Wizard, I get this error:
FATAL error
Failed to parse XLS file
upload/Q:\AWT\products.xls: No such file or directory
I used the browse button to select that path, so it
seems this is an error in the out-of-the-box IC.
I haven't seen anything in my archive of this list
that looks like this issue.
Any help would be apprecited.
Interchange 4.8.1 on Solaris 2.8
Patrick Bennett
http://www.ccgenesis.com
--__--__--
From: interchange-users at interchange.redhat.com (FCTMAILLIST)
Date: Thu Oct 11 09:06:01 2001
Subject: [ic] License
hi all,
This is with reference to interchange License issue. for eg, i
intend to develop a site using interchange may be commercially. Is it
necessary to release this site under GNU License i.e Do i need to release my
source code.
Please help me to resolve this issue.
thanks in advance.
joyce.j.
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 11 09:18:00 2001
Subject: [ic] License
"FCTMAILLIST" <fctmaillist@megasoft.com> writes:
> hi all,
> This is with reference to interchange License issue. for eg, i
> intend to develop a site using interchange may be commercially. Is it
> necessary to release this site under GNU License i.e Do i need to release my
> source code.
Only if you make patches to the source code (lib/Vend and friends)
and give the site to another party. This is my interpretation of
the GPL, so you may need to seek real legal advice.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Alex Daree)
Date: Thu Oct 11 09:20:01 2001
Subject: [ic] Images uploaded by customers?Help please
Hi
I am trying to build a code where I allow my customers to upload an image to
the user db. I used this code below and it does upload files but they are
all 0 size, in other words it uploads the name of the file, not the file.
Any ideas? Please....
> [set name=upload_filename interpolate=1][calc]
> $filename = "";
> $filename = $CGI->{newfile};
> $filename =~ s|.*[\\/]||;
> return $filename;
> [/calc][/set]
[value-extended Yes=1 No=0 name=newfile
umask=022
outfile="images/publicgallery/[scratch upload_filename]"]
From: interchange-users at interchange.redhat.com (Christopher VanOosterhout)
Date: Thu Oct 11 10:27:00 2001
Subject: [ic] Performance Load When Calling Fly Pages
In the Interchange documentation it talks about a small performance
increase by ending "page" tags with </a> instead of [/page]
I am wondering if there is any performance difference at all in calling
www.domain.com/cgi-bin/store/partnumber
or
www.domain.com/cgi-bin/store/partnumber.html
?
Even if it is small ... this is such an easy adjustment in either
direction, I would like to take advantage of any possible performance gain
... if applicable.
CV
--
Christopher VanOosterhout
Torresen Marine, Inc.
Internet Division
http://www.torresen.com/
http://www.marinedieseldirect.com/
3126 Lake Shore Drive
Muskegon, Michigan 49441
231-759-8596
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Thu Oct 11 10:43:00 2001
Subject: [ic] Images uploaded by customers?Help please
Quoting Alex Daree (Alexdaree@incorruptible.com):
> Hi
> I am trying to build a code where I allow my customers to upload an image to
> the user db. I used this code below and it does upload files but they are
> all 0 size, in other words it uploads the name of the file, not the file.
> Any ideas? Please....
> > [set name=upload_filename interpolate=1][calc]
> > $filename = "";
> > $filename = $CGI->{newfile};
> > $filename =~ s|.*[\\/]||;
> > return $filename;
> > [/calc][/set]
> [value-extended Yes=1 No=0 name=newfile
> umask=022
> outfile="images/publicgallery/[scratch upload_filename]"]
>
I put this code in a randome 4.8 catalog page:
[if value newfile]
[set name=upload_filename interpolate=1][calc]
$filename = "";
$filename = $CGI->{newfile};
$filename =~ s|.*[\\/]||;
return $filename;
[/calc][/set]
[scratch upload_filename]=[value-extended Yes=Yes No=No name=newfile
umask=022
outfile="images/[scratch upload_filename]"]
[/if]
<FORM ACTION="@@MV_PAGE@@" METHOD="POST" ENCTYPE="multipart/form-data">
<INPUT TYPE=hidden NAME=mv_action VALUE=return>
<INPUT TYPE=file NAME=newfile>
<INPUT TYPE=submit>
</FORM>
Works fine.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <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: interchange-users at interchange.redhat.com (Jake Thompson)
Date: Thu Oct 11 10:45:01 2001
Subject: [ic] Reporting/Log file max size.
Hi all,
Running Interchange 4.8.2 on RedHat Linux 7.1 and PostgreSQL
I am having a problem with my log file growing too large, so that the reports that are run show corrupt data.
Currently the usertrack log file is 3.3M.
My questions are:
1. Is there a problem with log file size not allowing reporting to work right.
2. Is there a way to rotate and allow reporting to still see them and report correctly.
3. Is it something else that is happeing.
Thanks,
Jake T.
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 11 10:49:01 2001
Subject: [ic] Performance Load When Calling Fly Pages
Christopher VanOosterhout <chris@torresen.com> writes:
> In the Interchange documentation it talks about a small performance
> increase by ending "page" tags with </a> instead of [/page]
>
> I am wondering if there is any performance difference at all in calling
>
> www.domain.com/cgi-bin/store/partnumber
>
> or
>
> www.domain.com/cgi-bin/store/partnumber.html
>
> ?
>
> Even if it is small ... this is such an easy adjustment in either
> direction, I would like to take advantage of any possible performance gain
> ... if applicable.
If you real after performance, I suppose you can find more obvious
bottlenecks in catalog code/database design.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Jake Thompson)
Date: Thu Oct 11 11:02:01 2001
Subject: [ic] Reporting/Log file max size.
Ok, I'm dumb, it was a problem with my logrotation cron job,
now, why can I not get interchange to report using the rotated logs also.
So, I have rotated log files, but if I try to report on those months, it does not look at the usertrack.nn files.
Any help much appreciated.
Later,
Jake T.
-----Original Message-----
From: Jake Thompson
Sent: Thu 10/11/2001 10:44 AM
To: interchange-users@interchange.redhat.com
Cc:
Subject: [ic] Reporting/Log file max size.
Hi all,
Running Interchange 4.8.2 on RedHat Linux 7.1 and PostgreSQL
I am having a problem with my log file growing too large, so that the
reports that are run show corrupt data.
Currently the usertrack log file is 3.3M.
My questions are:
1. Is there a problem with log file size not allowing reporting to work
right.
2. Is there a way to rotate and allow reporting to still see them and
report correctly.
3. Is it something else that is happeing.
Thanks,
Jake T.
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Thu Oct 11 11:15:00 2001
Subject: [ic] Performance Load When Calling Fly Pages
Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> Christopher VanOosterhout <chris@torresen.com> writes:
>
> > In the Interchange documentation it talks about a small performance
> > increase by ending "page" tags with </a> instead of [/page]
> >
> > I am wondering if there is any performance difference at all in calling
> >
> > www.domain.com/cgi-bin/store/partnumber
> >
> > or
> >
> > www.domain.com/cgi-bin/store/partnumber.html
> >
> > ?
> >
> > Even if it is small ... this is such an easy adjustment in either
> > direction, I would like to take advantage of any possible performance gain
> > ... if applicable.
>
> If you real after performance, I suppose you can find more obvious
> bottlenecks in catalog code/database design.
>
This is true, but reducing HTML size can be a big gain.
Fact is, a significant number of people still use modems. One of Yahoo's
secrets of success is the small HTML size of their pages. Have you ever
looked at their site and its paths? Most everything is one and two letters,
and they avoid quoting HTML parameters wherever possible.
For Interchange, it has to stay connected long enough for the HTML
pipeline to finish between it and the browser. The smaller the page,
the shorter that connection.
So it is arguable that the biggest thing you can do for performance
is decrease the verbosity of your page, file, and path names.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Prove you aren't stupid. Say NO to Passport.
From: interchange-users at interchange.redhat.com (Ed Bradburn)
Date: Thu Oct 11 11:33:01 2001
Subject: [ic] initial questions
hi list,
have installed interchange, looks fantastic - earlier i was playing with
phpshop which is not half as powerful - BUT i have the following problems:
- excel table import doesn't work with the wizard. i either get 'file not
found' on a file such as 'upload/B:\products.xls', which seems to indicate
IC is trying to include the path on my local machine in the upload path
(clearly false), or, if i cut out the 'b:\' in the field and simply try to
upload 'products.xls' i get a parse error.
here is some output (i set all fields to 'On' in the last screen before
Previewing:
FATAL error
Failed to parse XLS file upload/B:\construct.xls: No such file or directory
and the parse error is (if i just type in 'construct.xls'):
FATAL error
Failed to parse XLS file upload/construct.xls:
- next one, not an error but a question: how do i set up *additional
languages* for the shop and/or admin? or, how easy is it to add new ones?
- how do i set up different currencies?
these 3 things are kinda important: excel import/export, languages and
currency. hopefully someone can answer this!
thanks,
Ed Bradburn
From: interchange-users at interchange.redhat.com (Donal H.)
Date: Thu Oct 11 13:18:00 2001
Subject: [ic] [setlocale]
We're using IC 4.8.1
According to the documentation calling [setlocale] with no arguments should
reset to the shop's default locale.
My catalog.cfg contains:
Locale en_EI LC_CTYPE C
The following code displays the locale as en_EU after both calls.
[set locale en_EU]
[getlocale]
[set locale]
[getlocale]
The following code displays the locale as en_EI after both calls.
[set locale en_EI]
[getlocale]
[set locale]
[getlocale]
Is there a known bug with [setlocale] ?
Thanks,
-Donal
From: interchange-users at interchange.redhat.com (Jerry)
Date: Thu Oct 11 13:31:01 2001
Subject: [ic] Spreadsheet save errors
Could someone shed a little light on errors
generated when saving in spreadsheet edit?
Seems no matter how I setup the meta information
I get this error. Could someone help with what
the min and max is refering to and more importantly
how to fix it?
[11/October/2001:13:26:33 -0400] retail /cgi-bin/retail/ui probable bad
form -- number of values min=11 (related) max=21 (category)
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 11 14:19:00 2001
Subject: [ic] Need assistance with Tag
Using this line in our custom payment module
my $tax_charge = $Tag->salestax({name=>$Vend::Items,noformat => 1});
Get this error on checkout..
(securetrans): Charge failed, reason: payment routine 'securetrans'
returned error: Can't call method "salestax" on an undefined value at
/usr/local/interchange/default/lib/Vend/Payment/securetrans.pm line 112.
Chris
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 11 14:48:02 2001
Subject: [ic] Need assistance with Tag
Never mind this seems to work fine..
my $tax_charge = &Vend::Interpolate::tag_salestax($Carts->{main},1);
Chris
On Thu, 11 Oct 2001, interch wrote:
>
> Using this line in our custom payment module
>
> my $tax_charge = $Tag->salestax({name=>$Vend::Items,noformat => 1});
>
>
> Get this error on checkout..
>
> (securetrans): Charge failed, reason: payment routine 'securetrans'
> returned error: Can't call method "salestax" on an undefined value at
> /usr/local/interchange/default/lib/Vend/Payment/securetrans.pm line 112.
>
> Chris
>
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 11 15:12:01 2001
Subject: [ic] Problem with Ordernumbers in eMails
At 01:03 PM 10/11/2001 +0200, you wrote:
>original by Racke :
>
> > The setting of the Routes in catalog.cfg is probably wrong.
> > Use increment 0 on any route at supplant 1 for the main route
> > may help.
> >
> > Ciao
> > Racke
>
>hi,
>
>thanks for that but i think thats not the problem :( supplant is set 1.
>Here are my routes, i mostly copy&paste it from the original catalog.cfg :
>__________________________________
>
>ParseVariables Yes
>
>Route log attach 0
>Route log cybermode ""
>Route log empty 1
>Route log encrypt 0
>Route log increment 0
>#Route log report etc/log_transaction
>Route log supplant 1
>#Route log track logs/log
[snip]
># Main route must be last to make default
>Route main attach 0
>Route main credit_card 0
>Route main cybermode ""
>Route main default 1
>Route main email '__ORDERS_TO__'
>Route main encrypt 0
>Route main encrypt_program '__ENCRYPTOR__'
>Route main errors_to '__ORDERS_TO__'
>Route main counter etc/some.other.order.number
>Route main increment 0
>Route main pgp_cc_key ""
>Route main pgp_key ""
>Route main receipt etc/receipt.html
>Route main report etc/report
>Route main supplant 1
>#Route main individual_track orders
>#Route main track logs/tracking.asc
>
I believe supplant should be 0 in all routes except main.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Corey Gilmore)
Date: Thu Oct 11 15:22:00 2001
Subject: [ic] Chained pricing with multiple discounts
Hi All,
I've spent the last 3 weeks tearing through the archives, online docs, and
bound manuals, but I haven't found a good way to accomplish this (in IC
4.6.5)...
Basically, I need multiple prices for one sku; with a twist.
Each price will have the following components:
Base Price, quantity discount prices, and early bird discount.
EB Discount is a timed discount based on the built timed promotions. The
early bird discount would be different for each pricing level.
eg,
Base EB Discount Misc. Quantity Discounts
One Day 100 10 q1, q5, q6, q10 etc
Two Day 190 25 q1, q5, q6, q10 etc
Three Day 250 40 q1, q5, q6, q10 etc
The EB Discount is not any based on any derivable formula.
Would I be better off NOT using commonadjust for this, and instead having
a 1:N relationship between a product, and the pricing table? This would
allow for me to have any number of pricing schemes (with ALL pricing
options) for a single product.
Thanks,
corey
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Thu Oct 11 15:24:00 2001
Subject: [ic] Just created a new locale, how to activate ?
I just created a new locale in /usr/lib/interchange/UI/locales
but it wont show up on the admin. I already restarted the
server. What am I missing ?
thanks in advance
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 11 15:59:00 2001
Subject: [ic] Chained pricing with multiple discounts
At 03:21 PM 10/11/2001 -0400, you wrote:
>Hi All,
>
>I've spent the last 3 weeks tearing through the archives, online docs, and
>bound manuals, but I haven't found a good way to accomplish this (in IC
>4.6.5)...
>
>Basically, I need multiple prices for one sku; with a twist.
>
>Each price will have the following components:
>
>Base Price, quantity discount prices, and early bird discount.
>
>EB Discount is a timed discount based on the built timed promotions. The
>early bird discount would be different for each pricing level.
>
>eg,
> Base EB Discount Misc. Quantity Discounts
>One Day 100 10 q1, q5, q6, q10 etc
>Two Day 190 25 q1, q5, q6, q10 etc
>Three Day 250 40 q1, q5, q6, q10 etc
>
>The EB Discount is not any based on any derivable formula.
>
>Would I be better off NOT using commonadjust for this, and instead having
>a 1:N relationship between a product, and the pricing table? This would
>allow for me to have any number of pricing schemes (with ALL pricing
>options) for a single product.
You might want to consider sticking with CommonAdust, and possibly:
a)writing a usertag for use with the CommonAdjust chain
http://developer2.akopia.com/archive/interchange-users/2001/msg05636.html
b)using an item modifier to handle the Early bird discounting;
Get the Minivend 4.x tar.gz from ftp.akopia.com and read the sections on
CommonAdjust and Item Attributes.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 11 17:52:00 2001
Subject: [ic] License
On Thu, 11 Oct 2001, FCTMAILLIST wrote:
F>> This is with reference to interchange License issue. for eg, i
F>>intend to develop a site using interchange may be commercially. Is it
F>>necessary to release this site under GNU License i.e Do i need to release my
F>>source code.
I suggest that you show your local lawyer the GNU License and the caveats
that come in the Interchange package and have him/her evaluate it for you in
light of your local laws. I'm not aware of anyone on this list being a
member of the bar, and even if they are, they would probably not be familiar
with your local laws that you might be sued under for wrongdoing. And, your
local laws may have parts that will override the GNU License (which wouldbe
a surprise).
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 11, 2001 at 17:45 PM:
Cats aren't clean, they're just covered with cat spit!
----------------------------------------------------------------
This Linux System has been up 408 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 11 18:11:00 2001
Subject: [ic] Performance Load When Calling Fly Pages
On Thu, 11 Oct 2001, Mike Heins wrote:
MH>>So it is arguable that the biggest thing you can do for performance
MH>>is decrease the verbosity of your page, file, and path names.
So, using <a href="page2.html"> B </a> is going to be faster than using <a
href="http://www.domain.com/cgi-bin/mystore/pontiac-cars.html">?
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 11, 2001 at 18:00 PM:
Not many people realize just how well known I am.
----------------------------------------------------------------
This Linux System has been up 408 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jason Miller)
Date: Thu Oct 11 18:13:01 2001
Subject: [ic] Customization
Hello,
The company I work for wants to have a shopping cart to
sale online car acessories. Interchange is perfect, we love
it. However, it lacks one key feature we need. We need to have
a drop down menu on the main page where the user selects there
car make, such as Ford or Chevy. Next, we need a page to open
up where the user selects the model, such as Explorer or
Escape. After that, we need all the parts/acessories for that
make/model to show up, such as Exterior Acessories and
Interrior. Interchange's foundation store doesn't appear to
allow us to do this. So, is this possible? A store that is
doing it (Not sure what cart but they are doing something
similar to us is www.jcwhitney.com). How hard would this be to
do in interchange? Any of you guys willing to do it and we
will pay you? If you want to possibly do this as a paying job,
please e-mail me privately at jasonmiller@ureach.com -- Thanks
and I hope to hear some feedback.
----
Jason Miller, CTO GMpower.net
Phone: 703.675.3506
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 11 18:23:01 2001
Subject: [ic] Chained pricing with multiple discounts
On Thu, 11 Oct 2001, Corey Gilmore wrote:
CG>>Basically, I need multiple prices for one sku; with a twist.
CG>>
CG>>Each price will have the following components:
CG>>
CG>>Base Price, quantity discount prices, and early bird discount.
CG>>
CG>>EB Discount is a timed discount based on the built timed promotions. The
CG>>early bird discount would be different for each pricing level.
CG>>
CG>>eg,
CG>> Base EB Discount Misc. Quantity Discounts
CG>>One Day 100 10 q1, q5, q6, q10 etc
CG>>Two Day 190 25 q1, q5, q6, q10 etc
CG>>Three Day 250 40 q1, q5, q6, q10 etc
CG>>
CG>>The EB Discount is not any based on any derivable formula.
I admire your question!
I have 'Happy Hour' in my store. On the main page I set the parameter to
discount the entire order by xx%. This works well for me except that I can't
get it to report to me on the e-mail what the discount was, nor can I get it
to give a specific discount on the check-oout page. However, they can see
the discount reflected in their cart total.
I'm giving quantity discounts on most everything I sell.
I'll be happy to share any of this if it seems like it might help!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 11, 2001 at 18:20 PM:
Be nice to other people, they outnumber you 5.5 billion to 1.
----------------------------------------------------------------
This Linux System has been up 408 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Sergei Sheikin)
Date: Thu Oct 11 18:34:01 2001
Subject: [ic] Attach credit info
Hi, anybody!
If I manually create a email message to
send to user order information by:
[email to="[value email]" subject="Order #XXX"]
[item-list]
[/item-list]
...some text...
[/email]
How can I create a email with attachment with
credit card information?
Thanks, Sergey.
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Thu Oct 11 18:58:01 2001
Subject: [ic] Just created a new locale, how to activate ?
On 11 Oct 2001, Eduardo Dominguez wrote:
> I just created a new locale in /usr/lib/interchange/UI/locales
> but it wont show up on the admin. I already restarted the
> server. What am I missing ?
That should do it. (I assume you meant
/usr/lib/interchange/lib/UI/locales.) Could you post the text of your
xx_YY.cfg file to interchange-i18n and maybe we'll notice a problem.
Jon
From: interchange-users at interchange.redhat.com (Matthew Schick)
Date: Thu Oct 11 19:00:01 2001
Subject: [ic] Chained pricing with multiple discounts
On Thu, 2001-10-11 at 17:26, Jim Balcom wrote:
<snip>
I admire your question!
I have 'Happy Hour' in my store. On the main page I set the parameter to
discount the entire order by xx%. This works well for me except that I can't
get it to report to me on the e-mail what the discount was, nor can I get it
to give a specific discount on the check-oout page. However, they can see
the discount reflected in their cart total.
<snip>
I have a catalog that is giving a one-time discount of %15 for new
accounts, and I ran into the same problem. I came across the answer on
one of my 2am searches through the list archives, so I don't remember
who this really belongs to, but here's the code....
Replace the lines in a stock 4.8.2 checkout page (line 186) and/or cart
component:
[if items]
[then]
[item-list modular=1]
with
[set full_total][/set]
[if items]
[then]
[item-list modular=1]
[seti full_total]
[calc]
[scratch full_total] +([item-price noformat=1]*[item-quantity])
[/calc][/seti]
to get a starting point for your discount;
then add
[seti coupon_amount][calc][scratch full_total] * .15[/calc][/seti]
at about line 263 (again checkout.html) to get the scratch variable that
will display your discounted total.
I seem to remember the placement to be kinda crucial, at least in 4.6.5,
hence the line numbers but your mileage may vary....
Enjoy!
--
Matthew Schick, BRP Internet Solutions
matt@brightredproductions.com
601.798.3093
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 11 19:15:00 2001
Subject: [ic] Attach credit info
On Thu, 11 Oct 2001, Sergei Sheikin wrote:
SS>>If I manually create a email message to
SS>>send to user order information by:
Yes, this can be done...
SS>>[email to="[value email]" subject="Order #XXX"]
SS>>[item-list]
SS>>[/item-list]
SS>>...some text...
SS>>[/email]
SS>>
SS>>How can I create a email with attachment with
SS>>credit card information?
You want to send the user the credit card information that he sent you?
You want to send this through an unsecure means?
Odds are that he will cancel his order!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 11, 2001 at 19:10 PM:
With friends like these, who needs to hallucinate?
----------------------------------------------------------------
This Linux System has been up 409 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Sergei Sheikin)
Date: Thu Oct 11 19:17:01 2001
Subject: [ic] Attach credit info
Hi, anybody!
If I manually create a email message to
send to user order information by:
[email to="[value email]" subject="Order #XXX"]
[item-list]
[/item-list]
...some text...
[/email]
How can I create a email with attachment with
credit card information?
Thanks, Sergey.
From: interchange-users at interchange.redhat.com (Alex Daree)
Date: Thu Oct 11 19:20:00 2001
Subject: [ic] Customization
It can be done, I know Ive done something like that beore, email me more
details of waht you exactly need, and I'll more than happy to assist you.
Alex
alex@incorruptible.com
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 11 19:25:00 2001
Subject: [ic] Attach credit info
Most companies will do this but X out the first 12 nubmers
e.g.
You used credit card : XXXX-XXXX-XXXX-1111
Helps the user make sure it really hit that credit card
and for the correct amount. Chances are you won't have
2 credit cards with the same last 4 number.
Patrick
-----Original Message-----
From: Jim Balcom [mailto:jim@idk-enterprises.com]
Sent: Thursday, October 11, 2001 5:18 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Attach credit info
On Thu, 11 Oct 2001, Sergei Sheikin wrote:
SS>>If I manually create a email message to
SS>>send to user order information by:
Yes, this can be done...
SS>>[email to="[value email]" subject="Order #XXX"]
SS>>[item-list]
SS>>[/item-list]
SS>>...some text...
SS>>[/email]
SS>>
SS>>How can I create a email with attachment with
SS>>credit card information?
You want to send the user the credit card information that he sent you?
You want to send this through an unsecure means?
Odds are that he will cancel his order!
-= Jim =-
From: interchange-users at interchange.redhat.com (Andrew McBeath)
Date: Thu Oct 11 20:18:00 2001
Subject: [ic] Parsing of Querystring and security
I am just playing / poking round in the depths of interchange...basically
so I am happy that I know how the whole thing works. (I hate having stuff
that I dont know how it works)
This particular question was motivated by the whole dropped shopping carts
and sessions issue...NOTE: I am not asking about how to get this working
etc... I am of the opinion that shared SSL is not the best approach for
Interchange and if it's not going to work why bust your boiler trying to
get it going for the sake of a few bucks...
Anyway, my question is: whereabouts is the querystring (appended by [area]
for example) generated and parsed - in particular where is the id=<session
id> removed / made unavailable. I found a lot of interesting bits like sub
adjust_cgi() on line 1577 of /bin/interchange and it's callers. Also many
cool little bits in the /Vend/Session*.pm modules.
The closest I seem to have come the are the bits involving $Vend::FinalPath
although this would appear to me to be after the Querystring /
$CGI::values{id} have been parsed...again mostly interested in the session
id value.
Could somebody point me to the appropriate code to get my wheels moving
again?
Cheers,
Andrew
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Thu Oct 11 20:29:00 2001
Subject: [ic] Spreadsheet save errors
Quoting Jerry (jerry@data-logic.com):
> Could someone shed a little light on errors
> generated when saving in spreadsheet edit?
> Seems no matter how I setup the meta information
> I get this error. Could someone help with what
> the min and max is refering to and more importantly
> how to fix it?
That is a bug in interchange.PL.
It is already fixed in devel CVS, but that is probably no good for
you. I will see what I can do to fix it in stable soon...
The patch (untested in stable, but tested in devel) is:
*** interchange.PL 2001/09/04 13:25:17 2.7.2.2
--- interchange.PL 2001/10/12 00:22:45
***************
*** 644,650 ****
while (($key, $value) = each %CGI::values) {
next unless defined $data{$key};
! $count = (@{$data{$key}} = split /\0/, $value);
$max = $count, $maxname = $key if $count > $max;
$min = $count, $minname = $key if $count < $min;
}
--- 644,650 ----
while (($key, $value) = each %CGI::values) {
next unless defined $data{$key};
! $count = (@{$data{$key}} = split /\0/, $value, -1);
$max = $count, $maxname = $key if $count > $max;
$min = $count, $minname = $key if $count < $min;
}
***************
*** 843,848 ****
--- 843,853 ----
}
$select_key = $value if $_ eq $prikey;
push(@v, $value);
+ }
+
+ if(! length($select_key) ) {
+ next if defined $CGI::values{mv_update_empty_key}
+ and ! $CGI::values{mv_update_empty_key};
}
if($function eq 'delete') {
The reason it was not automatically applied to stable is it could affect
operation where someone wanted to autonumber or update an empty key value.
I still have to investigate that...
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I am a great believer in luck, and I find that the harder I work
the more luck I have. -- Thomas Jefferson
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Thu Oct 11 21:49:01 2001
Subject: [ic] Parsing of Querystring and security
Quoting Andrew McBeath (andrew@ecombiz.co.nz):
> I am just playing / poking round in the depths of interchange...basically
> so I am happy that I know how the whole thing works. (I hate having stuff
> that I dont know how it works)
> This particular question was motivated by the whole dropped shopping carts
> and sessions issue...NOTE: I am not asking about how to get this working
> etc... I am of the opinion that shared SSL is not the best approach for
> Interchange and if it's not going to work why bust your boiler trying to
> get it going for the sake of a few bucks...
>
> Anyway, my question is: whereabouts is the querystring (appended by [area]
> for example) generated and parsed - in particular where is the id=<session
> id> removed / made unavailable. I found a lot of interesting bits like sub
> adjust_cgi() on line 1577 of /bin/interchange and it's callers. Also many
> cool little bits in the /Vend/Session*.pm modules.
>
> The closest I seem to have come the are the bits involving $Vend::FinalPath
> although this would appear to me to be after the Querystring /
> $CGI::values{id} have been parsed...again mostly interested in the session
> id value.
Actually this is done in Vend::Util::vendUrl as called by
Vend::Interpolate::tag_area().
If you (or anyone else) is interested in perusing the path things
take for a transaction, it basically goes:
Startup:
Entry point is bin/interchange
Parses options, if any
initializations, i.e. read interchange.cfg, catalog.cfg,
and friends, possibly opening some database tables onces
to read structures
calls Vend::Server::run_server()
Daemonizes IC
calls Vend::Server::server_both
Lots of junk in spawning various types of servers....
Running:
Server loop is in Vend::Server::run_server and followed-down
routines
Server calls Vend::Server::connection(), which does the
CGI stuff, then calls main::dispatch($http), where $http
is the CGI and environment stuff
main::dispatch does all of the session/database opening,
parsing of path, determining action.
Normal action is to serve a page, the entry point
for that is Vend::Interpolate::interpolate_html as
called by Vend::Page::do_page()
Vend::Interpolate::interpolate_html creates a
new Vend::Parse object, which parses the IC page
and executes any tags. This is frequently done elsewhere,
such as in profiles, process FormAction, and ActionMap,
and in any place where ITL needs to be interpreted.
Exiting:
Server children block all signals when running a connection.
When it comes back from a page, it will receive TERM and
terminate; usually that is sent by the master server which
will always accept a TERM or HUP except when actually forking
the children.
That is a fair guide to getting started on a perusal of the source
code.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: interchange-users at interchange.redhat.com (Kevin Manderson)
Date: Fri Oct 12 00:12:00 2001
Subject: [ic] Spreadsheet save errors
HI
Does this also fix the spreadsheet 0 byte save/backup I queried recently???
Hope so.
Keivn
On Friday 12 October 2001 11:27, you wrote:
> Quoting Jerry (jerry@data-logic.com):
> > Could someone shed a little light on errors
> > generated when saving in spreadsheet edit?
> > Seems no matter how I setup the meta information
> > I get this error. Could someone help with what
> > the min and max is refering to and more importantly
> > how to fix it?
>
> That is a bug in interchange.PL.
>
> It is already fixed in devel CVS, but that is probably no good for
> you. I will see what I can do to fix it in stable soon...
From: interchange-users at interchange.redhat.com (Andrew McBeath)
Date: Fri Oct 12 01:29:00 2001
Subject: [ic] Parsing of Querystring and security
Excellent. Thanks heaps Mike.
Cheers,
Andrew
On 2001.10.12 14:48 Mike Heins wrote:
> Quoting Andrew McBeath (andrew@ecombiz.co.nz):
> > I am just playing / poking round in the depths of
> interchange...basically
> > so I am happy that I know how the whole thing works. (I hate having
> stuff
> > that I dont know how it works)
> > This particular question was motivated by the whole dropped shopping
> carts
> > and sessions issue...NOTE: I am not asking about how to get this
> working
> > etc... I am of the opinion that shared SSL is not the best approach for
> > Interchange and if it's not going to work why bust your boiler trying
> to
> > get it going for the sake of a few bucks...
> >
> > Anyway, my question is: whereabouts is the querystring (appended by
> [area]
> > for example) generated and parsed - in particular where is the
> id=<session
> > id> removed / made unavailable. I found a lot of interesting bits like
> sub
> > adjust_cgi() on line 1577 of /bin/interchange and it's callers. Also
> many
> > cool little bits in the /Vend/Session*.pm modules.
> >
> > The closest I seem to have come the are the bits involving
> $Vend::FinalPath
> > although this would appear to me to be after the Querystring /
> > $CGI::values{id} have been parsed...again mostly interested in the
> session
> > id value.
>
> Actually this is done in Vend::Util::vendUrl as called by
> Vend::Interpolate::tag_area().
>
> If you (or anyone else) is interested in perusing the path things
> take for a transaction, it basically goes:
>
> Startup:
>
> Entry point is bin/interchange
> Parses options, if any
> initializations, i.e. read interchange.cfg, catalog.cfg,
> and friends, possibly opening some database tables onces
> to read structures
> calls Vend::Server::run_server()
> Daemonizes IC
> calls Vend::Server::server_both
> Lots of junk in spawning various types of
> servers....
>
> Running:
>
> Server loop is in Vend::Server::run_server and followed-down
> routines
>
> Server calls Vend::Server::connection(), which does the
> CGI stuff, then calls main::dispatch($http), where $http
> is the CGI and environment stuff
>
> main::dispatch does all of the session/database opening,
> parsing of path, determining action.
>
> Normal action is to serve a page, the entry point
> for that is Vend::Interpolate::interpolate_html as
> called by Vend::Page::do_page()
>
> Vend::Interpolate::interpolate_html creates a
> new Vend::Parse object, which parses the IC page
> and executes any tags. This is frequently done elsewhere,
> such as in profiles, process FormAction, and ActionMap,
> and in any place where ITL needs to be interpreted.
>
> Exiting:
> Server children block all signals when running a connection.
> When it comes back from a page, it will receive TERM and
> terminate; usually that is sent by the master server which
> will always accept a TERM or HUP except when actually forking
> the children.
>
> That is a fair guide to getting started on a perusal of the source
> code.
>
>
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> Being against torture ought to be sort of a bipartisan thing.
> -- Karl Lehenbauer
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Fri Oct 12 04:14:00 2001
Subject: [ic] [item-options] + javascript
Hi List,
i use the [item-options] tag to build a combo box, but i found no
possibility to force ic to reload the page via a javascript.
is there any, i think there must be one!
_cu_ mit freundliche Grüßen
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Fri Oct 12 06:52:00 2001
Subject: Possible BUG in OPTIONS tag WAS:"[ic] [item-options] + javascript"
Hi List,
i don't know wether it is my fault or a bug.
if a go to the AdminUI and clone the options from an other Article
everything works fine. BUT when i delete one of the options (in the
AdminUI) it still is displayed in the combo build by the option tag.
when i select the deleted option and recalculate the last selected
option is displayed.
i could not find the sourcecode of the option tag so i was not able to
look for the error.
Tobias Henle wrote:
> Hi List,
> i use the [item-options] tag to build a combo box, but i found no
> possibility to force ic to reload the page via a javascript.
> is there any, i think there must be one!
cu (mit freundliche Grüßen)
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (root)
Date: Fri Oct 12 07:32:00 2001
Subject: [ic] undefined catalog : /cgi-bin/tutorial
Hi !
i m totally confused, i made everything like i wrote it in the manual to
build the tutorial demoshop but i received this undefined error :( the error
log said its an cgi error in the server.pm line 182. I searched for that here
in the mailing list and found some postings but i dont understand them
because i have already a shop running so there is no problem with the
httpd.conf file and the permissions are the same everything is interch :( I
dont know what else to do to run the tutorial shop :(
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 12 07:55:01 2001
Subject: [ic] undefined catalog : /cgi-bin/tutorial
root <root@ntweb.solution-service.de> writes:
> Hi !
>
> i m totally confused, i made everything like i wrote it in the manual to
> build the tutorial demoshop but i received this undefined error :( the error
> log said its an cgi error in the server.pm line 182. I searched for that here
> in the mailing list and found some postings but i dont understand them
> because i have already a shop running so there is no problem with the
> httpd.conf file and the permissions are the same everything is interch :( I
> dont know what else to do to run the tutorial shop :(
Please post the error message here.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (root)
Date: Fri Oct 12 08:22:00 2001
Subject: [ic] undefined catalog : /cgi-bin/tutorial
Racke wrote :
>Please post the error message here.
>
>Ciao
> Racke
194.77.116.24 - - [12/Oktober/2001:11:12:07 +0200] - /cgi-bin/tutorial CGI
mapping error: Undefined catalog: /cgi-bin/tutorial at
/usr/lib/interchange/lib/Vend/Server.pm line 182.
This is from the error.log.
mfg. Jonas
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Fri Oct 12 10:24:00 2001
Subject: [ic] url encode question
Hi List,
does anyone knows, when is a url encoded by IC?
I can find a %20 for a whitespace only. But where is %FC (a german
umlaut for u with two dots over u like ü) coming from in my URL bar
of my browser?
Any informations?
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Jud Harris)
Date: Fri Oct 12 10:35:01 2001
Subject: [ic] GST/PST solution?
Hi folks -
I've searched the archives extensively for this answer, and have found some
stuff.
http://interchange.redhat.com/archive/interchange-users/1999/msg06750.html
http://interchange.redhat.com/archive/interchange-users/1999/msg06751.html
http://interchange.redhat.com/archive/interchange-users/2000/msg10007.html
I'm setting up a store with a global GST tax, on all products and on all
provinces (in CA). That's not a problem. Only some products, however, will
need to included the PST, only in Ontario.
The msg10007 above looks like the best solution. Has there been any further
development or integration of this? It mentions it might be included in
4.7.x and 4.8, but I don't see it.
At any rate, I've tried it, but I'm having a problem getting the UserTag
code in the interchange.cfg (catalog.cfg, tried both..) to compile.
Here's what I've got in the interchange.cfg -
UserTag vat-calc Order table field
UserTag vat-calc addAttr
UserTag vat-calc Routine <<EOR
sub {
my ($table, $field, $opt) = @_;
my $error = sub {
my $msg = shift;
Log($msg);
return undef;
}
foreach my $item (@$Vend::Items) {
my $taxrate = tag_data($table, $field, $item->{code});
$tax += ($taxrate * $item->{quantity});
}
return $tax;
}
EOR
---
When I IC starts, it report this error:
UserTag 'vat_calc' subroutine failed compilation:
syntax error at (eval 13) line 10, near "}
my "
Global symbol "$tax" requires explicit package name at (eval 13) line 10,
<GLOBAL> line 115.
Global symbol "$tax" requires explicit package name at (eval 13) line 13,
<GLOBAL> line 115.
Global symbol "$tax" requires explicit package name at (eval 13) line 15,
<GLOBAL> line 115.
In line 115 of the configuration file 'interchange.cfg':
UserTag vat-calc Routine <<EOR
------
When the code is in the catalog.cfg, I get:
UserTag 'vat_calc' subroutine failed safe check: syntax error at (eval 136)
line 10, near "}
my "
In line 23 of the configuration file 'catalog.cfg':
UserTag vat-calc Routine <<EOR
----
I tried changing the variable names and messed with packages, but to no
avail. I've been out of the perl loop for a while. It seems to always die
of the 'my $tax = 0;' line - why?
I'm confident that if I get this UserTag working, I can do the rest. It
just needs to successfully compile first.
Anyone out there have any ideas?
thanks!
-Jud
what I'm following is below:
Quoting Rene Hertell (rene@hertell.com):
> Hi list!
>
> I have been browsing the mail-archives for a while and trying to find an
> clear and easy solution in solving the tax-problem that probably many of the
> European minivend-users bump into. As many of you know, the tax is based on
> product-categories.
>
> Does anyone have a simple solution (I'm a real amateur with this...) in how
> to solve this issue. It would be nice have a solution that would use the
> normal [salestax] tag. The prices are given in the productdb without tax.
>
>
>
> Here a small example: The db contains a field with the tax percentage. This
> field should then be used when calculating the basket.
>
> products.txt db
> name price tax
> toothbrush 10.00 0.22
> toothpaste 20.00 0.22
> a book 35.00 0.17
>
>
>
> Basket:
>
> Item qty price tax incl tax
> toothbrush 1 10.00 2.20 12.20
> toothpaste 1 20.00 4.40 24.40
> a book 1 35.00 7.70 42.70
>
There are several ways to do it. For Interchange 4.8 (and later 4.7.x)
I will have a UI to help do this.
The thing I like best is to create a new *shipping* method and
add tax with mv_handling. I will probably be using this method.
The quick and dirty way is to write a UserTag which does it
and then include that in salestax.asc.
UserTag vat-calc Order table field
UserTag vat-calc addAttr
UserTag vat-calc Routine <<EOR
sub {
my ($table, $field, $opt) = @_;
my $error = sub {
my $msg = shift;
Log($msg);
return undef;
};
my $tax = 0;
foreach my $item (@$Vend::Items) {
my $taxrate = tag_data($table, $field, $item->{code});
$tax += ($taxrate * $item->{quantity});
}
return $tax;
}
EOR
(If you put the above in your catalog.cfg instead of interchange.cfg, you
will
have to make sure you have referenced the products table before you call
it.)
Now this in salestax.asc:
default [vat-calc products tax]
UK [vat-calc products tax]
FR [vat-calc products tax]
US 0
and this in catalog.cfg:
SalesTax country
should do it. You can also key it on category if you want, simply by
creating a "tax" table and using:
AutoModifier products:category
Now use $item->{category} to key into the table for getting the tax
rate by percentage of price. (Obviously you will have to calculate the
price somehow, but that is not too difficult depending on your CommonAdjust
definition.)
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Fri Oct 12 11:05:01 2001
Subject: [ic] MV_ERROR_STD_LABEL: documentation wrong
Hi,
the docs, i.e.
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictags04%2e24
tell:
The HTML formating can bet set via the global variable
MV_ERROR_STD_LABEL with the default being:
<FONT COLOR=RED>label_str<SMALL><I>(%s)</I></SMALL></FONT>
That is not completly true, the default in
lib/Vend/Interpolate.pm is:
<FONT COLOR=RED>{LABEL} <SMALL><I>(%s)</I></SMALL></FONT>
This is very important, since {LABEL} gets substituted with the
std_label, but not <label_str> as documentated.
BTW, foundation uses __CONSTRAST__ for errors in some pages, so it
may be nice to use it with [error] too, so I wrote the follwoing
line in catalog.cfg:
Variable MV_ERROR_STD_LABEL \
<FONT COLOR=__CONTRAST__>{LABEL}<SMALL><I>(%s)</I></SMALL></FONT>
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Fri Oct 12 11:10:01 2001
Subject: [ic] GST/PST solution?
Quoting Jud Harris (jud@judharris.com):
> UserTag vat-calc Order table field
> UserTag vat-calc addAttr
> UserTag vat-calc Routine <<EOR
> sub {
> my ($table, $field, $opt) = @_;
>
> my $error = sub {
> my $msg = shift;
> Log($msg);
> return undef;
> }
>
> foreach my $item (@$Vend::Items) {
> my $taxrate = tag_data($table, $field, $item->{code});
> $tax += ($taxrate * $item->{quantity});
> }
> return $tax;
> }
> EOR
>
> ---
>
> When I IC starts, it report this error:
>
> UserTag 'vat_calc' subroutine failed compilation:
>
> syntax error at (eval 13) line 10, near "}
>
> my "
> Global symbol "$tax" requires explicit package name at (eval 13) line 10,
> <GLOBAL> line 115.
> Global symbol "$tax" requires explicit package name at (eval 13) line 13,
> <GLOBAL> line 115.
> Global symbol "$tax" requires explicit package name at (eval 13) line 15,
> <GLOBAL> line 115.
You didn't follow the example exactly -- a "my $tax = 0" is missing.
In any case, this is all moot in 4.8. The new "multi" mode that you can
configure will work best.
Here is a short tutorial on using it for Canada.
1. Make sure you have a country database table with CA as an entry and the
following values:
code:CA
tax:state
2. Make sure you have a state database table and one entry for each
province code. It should have something like the following for
each province:
code|sorder|country|state|name|tax|postcode|shipmodes|tax_name
00185|01|CA|AB|Alberta|default=15%|||PST
00187|01|CA|MB|Manitoba|default=16%%, food=8%|||GST
00039|01|CA|AB|Alberta|default=16%%|||GST
00040|01|CA|BC|British Columbia|default=15%|||
00041|01|CA|MB|Manitoba|default=14%|||PST
00042|01|CA|NB|New Brunswick|default=14%||
00043|01|CA|NF|Newfoundland|default=15%|||
00044|01|CA|NS|Nova Scotia|default=15%|||
00045|01|CA|NT|Northwest Territories|default=15%|||
00046|01|CA|NT|Nunavut|default=15%|||
00047|01|CA|ON|Ontario|default=15%|||
00048|01|CA|PE|Prince Edward Island|default=15%|||
00049|01|CA|QC|Quebec|default=15%|||
00050|01|CA|SK|Saskatchewan|default=15%|||
00051|01|CA|YT|Yukon Territory|default=15%|||
The "default=N%" should be equal to PST + GST for each province. If you
want to tax diffent categories different amounts, use the tax_category
field in products to set it. In this case, if the tax_category field is
"food", and the province is MB, it would cause only GST to be charged.
3. In catalog.cfg:
SalesTax multi
4. Restart.
There is a UI interface for all of this; if you have SalesTax set to
"multi" it will provide some tools for setting the above.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: interchange-users at interchange.redhat.com (David Totten)
Date: Fri Oct 12 11:19:00 2001
Subject: [ic] GST/PST solution?
On Fri, Oct 12, 2001 at 09:34:16AM -0500, Jud Harris wrote:
<snip>
> Here's what I've got in the interchange.cfg -
Is there a specific reason that you have this in interchange.cfg?
I would recommend creating a file in usertags directory.
Any time you see a subroutine failed compilation: error, that most
likely means that you screwed up in your perl code. To test your perlcode,
take your usertag file (assuming it is in a file called tagname.tag and not
in interchange.cfg or catalog.cfg) and comment out all of the UserTag lines
and the opening sub { and closing } and the EOR lines.
next run perl -c on tagname.tag (-c checks syntax) If there is an error,
fix it, and then you can uncomment all of the Interchange specific lines that
you had just commented out. Your usertag should now at least compile.
>
> UserTag vat-calc Order table field
> UserTag vat-calc addAttr
> UserTag vat-calc Routine <<EOR
> sub {
> my ($table, $field, $opt) = @_;
>
> my $error = sub {
> my $msg = shift;
> Log($msg);
> return undef;
> }
>
> foreach my $item (@$Vend::Items) {
> my $taxrate = tag_data($table, $field, $item->{code});
> $tax += ($taxrate * $item->{quantity});
> }
> return $tax;
> }
> EOR
In your file here, I see that you are missing a semi-colon at the end of your
definition for $error. It should look like this:
my $error = sub {
my $msg = shift;
Log($msg);
return undef;
}; #<-- notice the semi-colon
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 12 11:25:01 2001
Subject: [ic] undefined catalog : /cgi-bin/tutorial
root <root@ntweb.solution-service.de> writes:
> Racke wrote :
>
> >Please post the error message here.
> >
> >Ciao
> > Racke
>
>
> 194.77.116.24 - - [12/Oktober/2001:11:12:07 +0200] - /cgi-bin/tutorial CGI
> mapping error: Undefined catalog: /cgi-bin/tutorial at
> /usr/lib/interchange/lib/Vend/Server.pm line 182.
The URL /cgi-bin/tutorial doesn't match any of your "Catalog" lines
in interchange.cfg.
Catalog tutorial /cgi-bin/tutorial
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Fri Oct 12 11:27:59 2001
Subject: [ic] How to use the [error] tag correctly?
Hi,
I've playing with the [error] tag on a checkout page.
Not surprising, the form is a table with a description and a
input type text. When I use [error], and a check condidtion is
violated, the std_label gets printed. But when there is no error,
there is no label on my Input field. My code:
<td>
given name
[error name=fname std_label="given name" required=1 show_label=0]
</td><td>
<INPUT TYPE=text NAME=fname VALUE="[value fname]">
</td>
Even with show_label=0 (or no show_label at all) the label (given
name) gets displayed - on errors. I want at least to have give
name not twice on error, but I would prefere to have [error] to
output the label (in normal color) even when there was no error.
This would be the shortest way to make such forms: labeling all
just with the [error std_label]. Is this possible?
Second, [error] displays english messages, i.e. "blank". Is this
hardcoded in ./lib/Vend/Order.pm or is it possible to change the
messages (I think my german customers would prefere german
messages :))?
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 12 11:42:00 2001
Subject: [ic] How to use the [error] tag correctly?
Steffen Dettmer <steffen@dett.de> writes:
> Hi,
>
> I've playing with the [error] tag on a checkout page.
>
> Not surprising, the form is a table with a description and a
> input type text. When I use [error], and a check condidtion is
> violated, the std_label gets printed. But when there is no error,
> there is no label on my Input field. My code:
>
> <td>
> given name
> [error name=fname std_label="given name" required=1 show_label=0]
> </td><td>
> <INPUT TYPE=text NAME=fname VALUE="[value fname]">
> </td>
>
> Even with show_label=0 (or no show_label at all) the label (given
> name) gets displayed - on errors. I want at least to have give
> name not twice on error, but I would prefere to have [error] to
> output the label (in normal color) even when there was no error.
> This would be the shortest way to make such forms: labeling all
> just with the [error std_label]. Is this possible?
You can try the formel usertag to write shorter code in such pages.
>
> Second, [error] displays english messages, i.e. "blank". Is this
> hardcoded in ./lib/Vend/Order.pm or is it possible to change the
> messages (I think my german customers would prefere german
> messages :))?
It isn't. Just add blank and the translation to your locale database.
Or you put the text into the order check definition
koerbchengroesse=required Bitte BH-Größe eingeben
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Fri Oct 12 11:44:01 2001
Subject: [ic] Customization
IC is higly customizable. Its just a starting place for IC thus you can
develope you own.
If you using the foundation demo look at the advanced search page to get
idea in the set up plus the docs are full of examples of creating a search
page for you needs (look under the database datasheet for a how to).
remember IC is what you make of it. your only limited by you imagination and
skill level
Scott Andreas
Learning Services Inc
email: sandreas@learningservicesinc.com
ph: 541.744.0883
fax: 541.744.2056
web: www.learningservicesinc.com
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Jason Miller
Sent: Thursday, October 11, 2001 3:12 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] Customization
Hello,
The company I work for wants to have a shopping cart to
sale online car acessories. Interchange is perfect, we love
it. However, it lacks one key feature we need. We need to have
a drop down menu on the main page where the user selects there
car make, such as Ford or Chevy. Next, we need a page to open
up where the user selects the model, such as Explorer or
Escape. After that, we need all the parts/acessories for that
make/model to show up, such as Exterior Acessories and
Interrior. Interchange's foundation store doesn't appear to
allow us to do this. So, is this possible? A store that is
doing it (Not sure what cart but they are doing something
similar to us is www.jcwhitney.com). How hard would this be to
do in interchange? Any of you guys willing to do it and we
will pay you? If you want to possibly do this as a paying job,
please e-mail me privately at jasonmiller@ureach.com -- Thanks
and I hope to hear some feedback.
----
Jason Miller, CTO GMpower.net
Phone: 703.675.3506
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Fri Oct 12 12:49:00 2001
Subject: [ic] How to use the [error] tag correctly?
* Stefan Hornburg (Racke) wrote on Fri, Oct 12, 2001 at 17:39 +0200:
> You can try the formel usertag to write shorter code in such pages.
Thanks for the tip! I think I like that tag really :)
> > Second, [error] displays english messages, i.e. "blank".
>
> It isn't. Just add blank and the translation to your locale database.
Well, I'll have to read about it, currently I have no idea how to
do it.
> koerbchengroesse=required Bitte BH-Größe eingeben
I see, that's simple (but works not with the formel tag I
think?). BTW, seems to be an interesting shop that example
is from :)
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (Steffen Dettmer)
Date: Fri Oct 12 13:13:00 2001
Subject: [ic] How to use the [error] tag correctly?
* Stefan Hornburg (Racke) wrote on Fri, Oct 12, 2001 at 17:39 +0200:
> You can try the formel usertag to write shorter code in such pages.
Can this tag be used for non-required fields, too?
I even tried:
<input type="hidden" name="nothing" value="nothing">
[formel label="Vorname" name="fname" size="20" maxlength="20"
checkfor="nothing" required=0]
but neither checkfor hidden nor required=0 did the trick.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at interchange.redhat.com (Anton Vandeplas)
Date: Fri Oct 12 13:18:01 2001
Subject: [ic] PGP problems
Hi,
The usual story.. my ISP has upgrade to 4.8.1 and the PGP keeps giving
problems. They have done all the things we are suppost to do, but it keeps
generating the 'PGP failed with status 131072' error. The error report in
tmp/*err states.. puc key not found.
I believe it is a problem of putting in the right path to the public key.
The ISP is running Interchange on a separate server. Does anyone have a tip
what to look for? I can't use the store ;-(
Thanks, ANTON
From: interchange-users at interchange.redhat.com (John Matecsa)
Date: Fri Oct 12 15:23:01 2001
Subject: [ic] [Sorry not working] Uploading Images 4.8.1
I experienced the same problem that Gavin described below when using IE5.5
SP2 on Win95b. It works fine though with Mozilla on Redhat 7.1.
John Matecsa
matecsaj@picassofish.com
http://www.picassofish.com
>> Hi Everyone,
>>
>> Has anyone else noticed that you can't upload images correctly with the
>>admin tool in release version 4.8.1 of IC?
>>It used to work on previous versions, but now if you go to the Items
section
>>of the admin tool and try to change the images using Browse
>>it uploads the image with the full path name from my local machine for
>>example:
>>
>> E:\Documents and Settings\Administrator\Desktop\image.jpg
>>
>> Obviously this doesn't work very well!
>
>It should, at least if your meta display type is "imagehelper".
>
>> Anyone have any ideas how to fix this?
>>
>
>Make sure the metadata is:
>
>code: products::image
>type: imagehelper
>prepend: http://__SAMPLEHTML__
>outboard: images/items
>
>code: products::thumb
>type: imagehelper
>prepend: http://__SAMPLEHTML__
>outboard: images/thumb
Sorry Mike but I have checked the mv_metadata.asc file and it is exactly as
you specify above.
I'm still having the sames problems.
Any ideas now?
Thanks for all you help so far.
Gavin
From: interchange-users at interchange.redhat.com (Christopher VanOosterhout)
Date: Fri Oct 12 15:38:01 2001
Subject: [ic] Using the Order Group Tag On Fly Page
Thanks for the idea about using the Order Group function.
I think it is close to working how I want it to, however I am getting an
"Interaction Error."
I have the following code in my fly page:
[if scratch core]
<P>
Price: [currency][item-field price][/currency]<p>
<form action="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_todo ACTION=refresh>
<INPUT TYPE=hidden NAME=mv_order_group VALUE="1">
<INPUT TYPE=hidden NAME=mv_order_item VALUE="[item-code]">
<INPUT TYPE=hidden NAME=mv_order_item VALUE="core">
<INPUT TYPE=submit VALUE="Order Now">
</FORM>
[else]
If I understand it correctly, this should add both the current item and an
item with the sku "core" to my user's cart when they press the submit button.
When I press the submit button I get the following Interaction Error at the
following URL:
http://shop.marinedieseldirect.com/cgi-bin/yanmar/process?id=pnEAaxIX&mv_pc=784
The ERROR MESSAGE READS:
Something has gone wrong, and we did not receive the response we expected
from your browser. There was the following problem:
No action passed for processing
Note on common causes of this problem:
· If you bookmarked a shopping cart after it had been recalculated
(or if the item was ordered from a form submission), then the system may
not have been able to determine where it should go. If that is the case,
· check your shopping basket.
· Some Internet Service Providers who use proxy servers send you to a
secure page from a different net location (AOL is an example). If your
browser does not accept · cookies, then this software may not be able to
determine your session number -- it qualifies your session with your
location for security.
If you go back to a previous page and RELOAD with cookies enabled, then
this condition should be corrected. You can verify that we send a proper
cookie if you turn on the cookie warning feature of your browser.
Typically, we will save cookies only if you check a box that asks us to
save your information.
You can also try looking at the checkout page non-securely, though we don't
recommend you send sensitive information like a credit card number without
encryption.
&
· If you pressed the STOP button before the last form finished
loading, there may have been an incomplete form.
If you wish, you can also return to the catalog.
--
Christopher VanOosterhout
Torresen Marine, Inc.
Internet Division
http://www.torresen.com/
http://www.marinedieseldirect.com/
3126 Lake Shore Drive
Muskegon, Michigan 49441
231-759-8596
From: interchange-users at interchange.redhat.com (Brendan Crosser-McGay)
Date: Fri Oct 12 15:58:00 2001
Subject: [ic] Random 'backup' Error!
I know someone brought this error up before, but I don't think anyone
specifically gave some way of fixing the error, and its driving me
absolutely insane!
Everytime I use the admin interface for just about anything, making
implementing templates, saving files, changing menus, you name it, I'm given
a 'Internal Server Error 500' message, and the error log says [insert your
favorite admin interface page here]+" search error: your search file a valid
database reference, was 'backup'."
This happens at abitraray intervals, so I'm just hoping someone can help me
to get rid of this error, I think I heard this was some kind of bug in
interchange (based on other messages) but I'm just interested in a temporary
fix right now, can someone give me a simple way to fix it until the next
interchange release addresses this bug?
Thanks
-Brendan
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Fri Oct 12 16:08:01 2001
Subject: [ic] Using the Order Group Tag On Fly Page
At 03:40 PM 10/12/2001 -0400, you wrote:
>Thanks for the idea about using the Order Group function.
>
>I think it is close to working how I want it to, however I am getting an
>"Interaction Error."
>
>I have the following code in my fly page:
>
>[if scratch core]
><P>
>Price: [currency][item-field price][/currency]<p>
><form action="[process-target]" METHOD=POST>
><INPUT TYPE=hidden NAME=mv_todo ACTION=refresh>
><INPUT TYPE=hidden NAME=mv_order_group VALUE="1">
><INPUT TYPE=hidden NAME=mv_order_item VALUE="[item-code]">
><INPUT TYPE=hidden NAME=mv_order_item VALUE="core">
><INPUT TYPE=submit VALUE="Order Now">
></FORM>
>[else]
>
A type in the MV4 docs - I had cut and pasted the example in my previous
post without looking at it too closely. Change the first input:
<INPUT TYPE=hidden NAME=mv_todo VALUE=refresh>
^^^^^
...and you should be good to go.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Henry Hartley)
Date: Fri Oct 12 16:12:00 2001
Subject: [ic] Shipping Method Popup
I'm setting up a store using the foundation demo as a model. There seems to
be an error in the way something is configured or something because when you
go to the checkout page, the process.html file doesn't include any items in
the Shipping Method popup box. Right above it is the message:
Note: 1DA: Missing ConsigneePostalCode
This is on the live Demo 3 on the Red Hat site. Actually, on my site the
message is:
Note: 1DA: Missing ConsigneeCountry
If you fill in the form and submit it, the order is processed and no
shipping charges are added. If you leave out a required field, the form is
redisplayed and this time the shipping method popup contains choices. I
cannot find any mention of this in any of the documentation. It seems to
have been mentioned about two weeks ago in the mailing list but there was no
answer that seemed to fit what I'm seeing. What am I missing.
--
Henry Hartley
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Fri Oct 12 18:02:01 2001
Subject: [ic] carring a value to another db
Ok here is the situation
I've created another database called customer_notes and a UI object called
add a note.
The problem that I seem to be having is automatically carring the username
from the userdb into the a column named customer when the user clicks on the
add a note in the tool bar
The docs don't seem to help much and I've searched the mail list
I have IC 4.8.1 running
Thanks
J. Scott Andreas :)
IS/Programmer/WebDevelopement
Learning Services, Inc.
e-mail: sandreas@learningservicesinc.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
--- __o
--- _-\<,_
--- (_)/ (_)
From: interchange-users at interchange.redhat.com (Alex Daree)
Date: Fri Oct 12 19:43:00 2001
Subject: [ic] Need help with mandetory fields
1-I need to add few fields to be required to the new signup page. I need to
be able to collect their email address, their name and other information
before they are being able to create a new account.
2- On the account page, I need that informtion also not to errasable, in
other ways I need them to always have an email address and a name on their
account.
Any body can help??
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Sat Oct 13 01:39:00 2001
Subject: [ic] url encode question
At 04:25 PM 10/12/2001 +0200, you wrote:
>Hi List,
>
>does anyone knows, when is a url encoded by IC?
>I can find a %20 for a whitespace only. But where is %FC (a german
>umlaut for u with two dots over u like ü) coming from in my URL bar
>of my browser?
>
>Any informations?
>
>Thanks!
>
>Joachim
Joachim -
Was it you who posted a similar question about this issue yesterday?:
>I noticed a strange misbehavior with NS/IE and WINDOWS.
>I've NS 6.1, IE 5.5 and WIN 2K!
>
>First of all, I get a results page with NS 4.77 for Unix. The URL is
>
>http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schlüssel
>(Schlüssel = Schluessel with german umlaut u" like ü = key)
>
>With NS under WIN 2K, typing the URL
>
>http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schlüssel
>
>into the URL bar, the URL bar is changing to
>
>http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schl%C3%BCssel
I was able to duplicate this behavior - but it is not Interchange that is
doing the conversion, it is Internet Explorer. As you mentioned in your own
post, the problem does not occur with Netscape Navigator. You might want
to search the Microsoft site for reports and/or sotlutions. Bill Gates
deserves a giant raspberry for this - down with Windows XP!
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Sat Oct 13 01:43:00 2001
Subject: [ic] url encode question
At 04:25 PM 10/12/2001 +0200, you wrote:
>Hi List,
>
>does anyone knows, when is a url encoded by IC?
>I can find a %20 for a whitespace only. But where is %FC (a german
>umlaut for u with two dots over u like ü) coming from in my URL bar
>of my browser?
>
>Any informations?
>
>Thanks!
>
>Joachim
Joachim -
Was it you who posted a similar question about this issue yesterday?:
>I noticed a strange misbehavior with NS/IE and WINDOWS.
>I've NS 6.1, IE 5.5 and WIN 2K!
>
>First of all, I get a results page with NS 4.77 for Unix. The URL is
>
>http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schlüssel
>(Schlüssel = Schluessel with german umlaut u" like ü = key)
>
>With NS under WIN 2K, typing the URL
>
>http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schlüssel
>
>into the URL bar, the URL bar is changing to
>
>http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schl%C3%BCssel
I was able to duplicate this behavior - but it is not Interchange that is
doing the conversion, it is Internet Explorer. As you mentioned in your own
post, the problem does not occur with Netscape Navigator. You might want
to search the Microsoft site for reports and/or sotlutions. Bill Gates
deserves a giant raspberry for this - down with Windows XP!
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Sat Oct 13 01:48:01 2001
Subject: [ic] undefined catalog : /cgi-bin/tutorial
At 05:17 PM 10/12/2001 +0200, you wrote:
>root <root@ntweb.solution-service.de> writes:
>
> > Racke wrote :
> >
> > >Please post the error message here.
> > >
> > >Ciao
> > > Racke
> >
> >
> > 194.77.116.24 - - [12/Oktober/2001:11:12:07 +0200] - /cgi-bin/tutorial CGI
> > mapping error: Undefined catalog: /cgi-bin/tutorial at
> > /usr/lib/interchange/lib/Vend/Server.pm line 182.
>
>The URL /cgi-bin/tutorial doesn't match any of your "Catalog" lines
>in interchange.cfg.
>
>Catalog tutorial /cgi-bin/tutorial
>
>Ciao
> Racke
More generally, you can get the 'undefined catalog' error if the catalog
configuration failed for just about any reason. Check the Interchange
error.log for the most recent block of startup messages and see if it
reports any problems with regards to the tutorial catalog. Also look for
the line 'configuring catalog tutorial...'. I would start with Racke's
comments first: check your interchange.cfg for a proper Catalog entry for
the tutorial catalog, make sure all paths are correct.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Sat Oct 13 04:24:01 2001
Subject: [ic] url encode question
Ed LaFrance <edl@newmediaems.com> writes:
> At 04:25 PM 10/12/2001 +0200, you wrote:
> >Hi List,
> >
> >does anyone knows, when is a url encoded by IC?
> >I can find a %20 for a whitespace only. But where is %FC (a german
> >umlaut for u with two dots over u like ü) coming from in my URL bar
> >of my browser?
Umlauts and whitespaces are invalid in URLs, so escaping them is
correct.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Jerry)
Date: Sat Oct 13 08:00:00 2001
Subject: [ic] Inventory Calc Problems
Since updating to the latest CVS update a couple of days
ago, I'm seeing problems with inventory. Instead of deducting
the quantity purchased from the quantity in stock, it replaces
the inventory quantity with the a negative qty purchased. So
if you have 100 instock and someone buys 3, inventory quantity
becomes -3 for the item. Happens with standard item and also
with matrix options inventory.
Discovered this in a new setup, but checked and now it's happening
on a previous store that hasn't been modified in the last couple
of weeks.
Anyone else seeing this?
Jerry
From: interchange-users at interchange.redhat.com (Kevin Walsh)
Date: Sat Oct 13 09:18:01 2001
Subject: [ic] Need assistance with Tag
> > Using this line in our custom payment module
> >
> > my $tax_charge = $Tag->salestax({name=>$Vend::Items,noformat => 1});
> >
> >
> > Get this error on checkout..
> >
> > (securetrans): Charge failed, reason: payment routine 'securetrans'
> > returned error: Can't call method "salestax" on an undefined value at
> > /usr/local/interchange/default/lib/Vend/Payment/securetrans.pm line 112.
> >
> Never mind this seems to work fine..
>
> my $tax_charge = &Vend::Interpolate::tag_salestax($Carts->{main},1); Chris
>
Yes, as you have found, the $Tag object is not available from within your
payment module.
As you don't need the formatting, perhaps this will be slightly better
for you:
my $tax_charge = Vend::Interpolate::salestax();
Also, check the $cart argument to &tag_salestax and &salestax as you
are not using it correctly. You should be using the cart name, such
as 'main', rather than either of $Vend::Items or $Carts->{main}.
If this argument is left undefined, it will default to your current
cart, which is ususlly 'main' anyway.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
From: interchange-users at interchange.redhat.com (Kevin Walsh)
Date: Sat Oct 13 09:33:01 2001
Subject: [ic] Attach credit info
> Most companies will do this but X out the first 12 nubmers
>
> e.g.
>
> You used credit card : XXXX-XXXX-XXXX-1111
>
> Helps the user make sure it really hit that credit card
> and for the correct amount. Chances are you won't have
> 2 credit cards with the same last 4 number.
>
Try this:
You used credit card: [value mv_credit_card_reference]
Which will end up looking like this:
You used credit card: 41**1111
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Sat Oct 13 09:41:01 2001
Subject: [ic] Inventory Calc Problems
Quoting Jerry (jerry@data-logic.com):
> Since updating to the latest CVS update a couple of days
> ago, I'm seeing problems with inventory. Instead of deducting
> the quantity purchased from the quantity in stock, it replaces
> the inventory quantity with the a negative qty purchased. So
> if you have 100 instock and someone buys 3, inventory quantity
> becomes -3 for the item. Happens with standard item and also
> with matrix options inventory.
>
> Discovered this in a new setup, but checked and now it's happening
> on a previous store that hasn't been modified in the last couple
> of weeks.
>
> Anyone else seeing this?
You must be running the development branch -- not really recommended.
If you want to track CVS for production, you should check out with
the tag STABLE_BRANCH-4.8.
In any case, you found a bug -- thank you!
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
From: interchange-users at interchange.redhat.com (Jerry)
Date: Sat Oct 13 10:28:00 2001
Subject: [ic] Inventory Calc Problems
Thanks... guess I need to back up a bit then.
Couldn't find STABLE_BRANCH-4.8 but did find
STABLE_4_8-branch on the cvs.ic.redhat.com/var/cvs server.
Am I still getting the wrong one then?
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike
> Heins
> Sent: Saturday, October 13, 2001 9:41 AM
> To: interchange-users@interchange.redhat.com
> Subject: Re: [ic] Inventory Calc Problems
>
>
> Quoting Jerry (jerry@data-logic.com):
> > Since updating to the latest CVS update a couple of days
> > ago, I'm seeing problems with inventory. Instead of deducting
> > the quantity purchased from the quantity in stock, it replaces
> > the inventory quantity with the a negative qty purchased. So
> > if you have 100 instock and someone buys 3, inventory quantity
> > becomes -3 for the item. Happens with standard item and also
> > with matrix options inventory.
> >
> > Discovered this in a new setup, but checked and now it's happening
> > on a previous store that hasn't been modified in the last couple
> > of weeks.
> >
> > Anyone else seeing this?
>
> You must be running the development branch -- not really recommended.
> If you want to track CVS for production, you should check out with
> the tag STABLE_BRANCH-4.8.
>
> In any case, you found a bug -- thank you!
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> Research is what I'm doing when I don't know what I'm doing.
> -- Wernher Von Braun
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Sat Oct 13 11:01:01 2001
Subject: [ic] Inventory Calc Problems
Quoting Jerry (jerry@data-logic.com):
> Thanks... guess I need to back up a bit then.
> Couldn't find STABLE_BRANCH-4.8 but did find
> STABLE_4_8-branch on the cvs.ic.redhat.com/var/cvs server.
> Am I still getting the wrong one then?
No, I just didn't say the tag properly. I see we need to update our
CVS page, and I will do so ASAP. Sorry you had the trouble....
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I am a great believer in luck, and I find that the harder I work
the more luck I have. -- Thomas Jefferson
From: interchange-users at interchange.redhat.com (Jerry)
Date: Sat Oct 13 12:09:01 2001
Subject: [ic] Inventory Calc Problems
Thanks. When you say ASAP, you mean it!
I see it's done!
Jerry
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike
> Heins
> Sent: Saturday, October 13, 2001 11:00 AM
> To: interchange-users@interchange.redhat.com
> Subject: Re: [ic] Inventory Calc Problems
>
>
> Quoting Jerry (jerry@data-logic.com):
> > Thanks... guess I need to back up a bit then.
> > Couldn't find STABLE_BRANCH-4.8 but did find
> > STABLE_4_8-branch on the cvs.ic.redhat.com/var/cvs server.
> > Am I still getting the wrong one then?
>
> No, I just didn't say the tag properly. I see we need to update our
> CVS page, and I will do so ASAP. Sorry you had the trouble....
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> I am a great believer in luck, and I find that the harder I work
> the more luck I have. -- Thomas Jefferson
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Sat Oct 13 15:05:00 2001
Subject: [ic] url encode question
Ed LaFrance wrote:
> >does anyone knows, when is a url encoded by IC?
> >I can find a %20 for a whitespace only. But where is %FC (a german
> >umlaut for u with two dots over u like ü) coming from in my URL bar
> >of my browser?
> >
> >Any informations?
> >
> >Thanks!
> >
> >Joachim
>
> Joachim -
>
> Was it you who posted a similar question about this issue yesterday?:
Yes! That was me! (or "That was I"? what ist the right englisch phrase?)
> >I noticed a strange misbehavior with NS/IE and WINDOWS.
> >I've NS 6.1, IE 5.5 and WIN 2K!
> >
> >First of all, I get a results page with NS 4.77 for Unix. The URL is
> >
> >http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schlüssel
> >(Schlüssel = Schluessel with german umlaut u" like ü = key)
> >
> >With NS under WIN 2K, typing the URL
> >
> >http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schlüssel
> >
> >into the URL bar, the URL bar is changing to
> >
> >http://www.ordnungssinn.de/cgi-bin/shop/scan/su=1/se=Schl%C3%BCssel
>
> I was able to duplicate this behavior - but it is not Interchange that is
> doing the conversion, it is Internet Explorer. As you mentioned in your own
> post, the problem does not occur with Netscape Navigator. You might want
> to search the Microsoft site for reports and/or sotlutions. Bill Gates
> deserves a giant raspberry for this - down with Windows XP!
The dirty quick solution was a writing an usertag to encode a part of
the url like
[myurlencode][loop-code][/myurlencode]
with
UserTag newurlencode hasEndTag 1
UserTag newurlencode Interpolate 1
UserTag newurlencode Routine <<EOF
sub {
my ($url) = @_;
my ($url) = @_;
$url =~ s/ü/\%FC/g;
# u with two dots above
....and so on
return $url;
}
EOF
to prevent the misbehavior of the IE Browser. It is for the old MV shop.
In IC, you can use the filter tag like
[filter op=urlencode interpolate=1] Test ü [/filter]
Regarding writing bugs to Microsoft (MS) ...are you so kind to report
the misbehavior of IE to MS?
I fear that MS will not understand me right, because my english is not
well!
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Sat Oct 13 15:14:00 2001
Subject: [ic] url encode question
"Stefan Hornburg (Racke)" wrote:
>
> Ed LaFrance <edl@newmediaems.com> writes:
>
> > At 04:25 PM 10/12/2001 +0200, you wrote:
> > >Hi List,
> > >
> > >does anyone knows, when is a url encoded by IC?
> > >I can find a %20 for a whitespace only. But where is %FC (a german
> > >umlaut for u with two dots over u like ü) coming from in my URL bar
> > >of my browser?
>
> Umlauts and whitespaces are invalid in URLs, so escaping them is
> correct.
<grins>
Stefan,
I know that umlauts, whitespaces and some special chars are invalid in
URLs.
What did you mean with "escaping them"? I've try it wiht "\" with no
success.
Other question...how will you do, if you use
<a href="[area href="scan/se=[loop-field name]">[loop-field name]</a>
and the field contains "Hans Müller" or "Meier & sons"?
If you encode the char "&", you will not get a right page for "Meier &
sons"!
Or have you a solutions?
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Sat Oct 13 16:03:01 2001
Subject: [ic] url encode question
Quoting Joachim Leidinger (jojo@blackpoint.de):
> Other question...how will you do, if you use
>
> <a href="[area href="scan/se=[loop-field name]">[loop-field name]</a>
>
> and the field contains "Hans Müller" or "Meier & sons"?
> If you encode the char "&", you will not get a right page for "Meier &
> sons"!
> Or have you a solutions?
You don't do that, that is the solution. There are many examples of this
in the foundation catalog.....
<A HREF="[area search='
se=[loop-field name]
'
]">[loop-field name]</A>
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
If you think nobody cares if you're alive, try missing a couple of
car payments. -- Earl Wilson
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Sat Oct 13 16:08:01 2001
Subject: [ic] url encode question
Joachim Leidinger <jojo@blackpoint.de> writes:
[...]
> Other question...how will you do, if you use
>
> <a href="[area href="scan/se=[loop-field name]">[loop-field name]</a>
>
> and the field contains "Hans Müller" or "Meier & sons"?
> If you encode the char "&", you will not get a right page for "Meier &
> sons"!
I bet Interchange encodes the ü in the result of
[area ...] and back if it receives a URL with
escape chars.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Fiber Connect)
Date: Sat Oct 13 18:12:00 2001
Subject: [ic] Documents
hi All,
Its feels really exciting to be a part of this list. Iam a new entrant
into the world of interchange.
My current job involves into understanding Interchange, its functionalities
the tables that gets
populated with respective data and maybe prepare an analysis report of what
is available
from Interchange apropos to my requirement and maybe need to design more
features and
functions in accordance to the requirements.
Iam currently lookin for some functional documents that specify in clear of
what each and
every option of interchange Admin interface allows me to do and where these
data are getting
reflected at the tables.
FYI, i have confiugred PostgreSQL as my database.
Lookin for immense help from this list.
Thnx in advance,
Balaji
From: interchange-users at interchange.redhat.com (George Griesbach)
Date: Sat Oct 13 20:00:01 2001
Subject: [ic] Newbie-Install question
I have recently downloaded interchange and want to install it on my ISP's
server, but I am not sure of the procedure, or even if I can do the install
with the permissions I have , since I would not be root.
Is there any way this could be done? or could you point me to the
instructions? maybe I have them and do not realize it.
Thank You,
George R. Griesbach
505 River Oaks Rd.
Comfort, Texas, 78013
admin@comforttexas.com
www.comforttexas.com
W5GRG.
From: interchange-users at interchange.redhat.com (Edward Rubottom)
Date: Mon Oct 15 10:39:01 2001
Subject: [ic] FreeBSD 4.4
After many attempts at Interchange on FreeBSD 4.2, Without much success due
to a Perl issue.....
I was wondering if anyone has attempted FreeBSD 4.4. It is distributed with
Perl version 5.005_03
and Mysql version: 3.23.42. There were significant issues on FreeBSD 4.2
with the Perl implementation
working with Interchange and I really don't want to go down that road
again..
Thanks and Regards, Eddie Rubottom
----- Original Message -----
From: "Mike Heins" <mheins@redhat.com>
To: <interchange-users@interchange.redhat.com>
Sent: Saturday, October 13, 2001 1:02 PM
Subject: Re: [ic] url encode question
Quoting Joachim Leidinger (jojo@blackpoint.de):
> Other question...how will you do, if you use
>
> <a href="[area href="scan/se=[loop-field name]">[loop-field name]</a>
>
> and the field contains "Hans Müller" or "Meier & sons"?
> If you encode the char "&", you will not get a right page for "Meier &
> sons"!
> Or have you a solutions?
You don't do that, that is the solution. There are many examples of this
in the foundation catalog.....
<A HREF="[area search='
se=[loop-field name]
'
]">[loop-field name]</A>
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
If you think nobody cares if you're alive, try missing a couple of
car payments. -- Earl Wilson
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Mon Oct 15 10:50:01 2001
Subject: [ic] url encode question
"Stefan Hornburg (Racke)" wrote:
>
> Joachim Leidinger <jojo@blackpoint.de> writes:
>
> [...]
>
> > Other question...how will you do, if you use
> >
> > <a href="[area href="scan/se=[loop-field name]">[loop-field name]</a>
> >
> > and the field contains "Hans Müller" or "Meier & sons"?
> > If you encode the char "&", you will not get a right page for "Meier &
> > sons"!
>
> I bet Interchange encodes the ü in the result of
> [area ...] and back if it receives a URL with
> escape chars.
Not with "scan" in a area tag! But with
<a href="[area search='
se=[loop-field name]
'
]">[loop-field name]</a>
(answer and hint of Mike Heins). It works! It it better, because you can
find an items, which contains "/" in a a field. With a scan in an area
tag, you will get a "not found" message.
ciao
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Joe Kupferling)
Date: Mon Oct 15 10:53:17 2001
Subject: [ic] returning list of categories...properly
I'm working on a site where the user clicks on a product group on the
homepage, which does a page search and returns another page with a list of
categories for that product group. I've played around with a variety of
different variables in the page search, but I don't seem to be getting
anywhere. Although the categories are being returned, instead of getting
just one category, I'm getting all of them for a particular product group.
I don't profess to be any good at The Search Engine, so I'm hoping someone
can let me know what I'm missing. The code I'm using on the home page to
initiate the page search is as follows:
[page search="
se=Hand Tools
sf=prod_group
tf=category
sp=results2
"]
Hand Tools
[/page]
On the results2 page, or the page that's being returned, I'm using the
following code:
[on-match]
<FORM ACTION="[area nothing]" METHOD=POST>
<input type=hidden name=mv_session_id value="[data session id]">
<INPUT TYPE=hidden NAME="mv_action" VALUE="refresh">
<INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0">
<INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity">
[/on-match]
<table width="90%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td colspan="6"> </td>
</tr>
[search-list]
[item-change 1][condition][item-field prod_group][/condition]
<tr class="contentbar1">
<td colspan="6"> [either][value banner_text][or][item-field
prod_group][/either]</td>
</tr>
[/item-change 1]
<tr>
<td colspan="6">
[page search="
se=[item-field category]
sf=category
"]
[either][value banner_text][or][item-field category][/either]
[/page]
</td>
</tr>
[/search-list]
</table>
Hoping someone can lend a quick hand.
Much thanks in advance,
Joe
From: interchange-users at interchange.redhat.com (Corey Gilmore)
Date: Mon Oct 15 10:57:02 2001
Subject: [ic] Using mod_action to 'clean' urls
I was just rebuilding my webserver today (joy!) when I noticed the Action
directive in Apache.
This directive adds an action, which will activate cgi-script when
action-type is triggered by the request. The action-type can be either a
handler or a MIME content type. It sends the URL and file path of the
requested document using the standard CGI PATH_INFO and PATH_TRANSLATED
environment variables.
It seems that it should be possible just chose some arbitrary file suffix,
.icn for instance, and then set an action for parsing those files through
IC. Instead of having .html files, you would have .icn files.
This means that you could avoid having the http://store/cgi-bin/blah/ type
urls, and avoid using the IC module.
Action interchanged-parsed /cgi-bin/ic.cgi
AddHandler interchange-parsed .icn
References:
http://httpd.apache.org/docs/handler.html
http://httpd.apache.org/docs/mod/mod_actions.html
I haven't tested this yet (still not done reconfiguring webserver), but it
seems like it should work fine.
Thoughts?
Corey
From: interchange-users at interchange.redhat.com (mark uche)
Date: Mon Oct 15 11:00:19 2001
Subject: [ic] BUSINESS PROPOSAL TO
OFFICE OF THE CHAIRMAN
CONTRACT AWARDING COMMITTEE
ECOWAS HEADQUARTERS
LOME, REPUBLIC OF TOGO
ATTN
ACCOUNT PROVISION FOR USD25M
Forgive my indignation if this message come to you as
a surprise and if it might offend you without your
prior consent and writing through this channel.
I am Dr. finione the Chairman, Contract Awarding
Committee
of the ECONOMIC COMMUNITY OF WEST AFRICAN STATES
(ECOWAS) with Headquarters in Lome, Togo. I got your
information in a business directory from the Togolaise
Chamber of Commerce and Industries when I was
searching for a reliable, honest and trustworthy
person to entrust this business with. I was simply
inspired and motivated to pick your contact from the
many names and lists in the directory.
After discussing my view and your profile with my
colleagues, they were very much satisfied and decided
to contact you immediately for this mutual business
USD25,000,000.00 (Twenty Five Million United States
Dollars only) into your personal or companyÂ’s bank
account.
This fund was a residue of the over invoiced contract
bills awarded by us for the supply of ammunitions,
hard/soft wares, pharmaceuticals/medical items, light
and heavy duty vehicles, apparels and other
administrative logistics etc. for the ECOMOG in
Sierra-Leone and Liberia during the peace keeping
projects.
This DEAL was deliberately hatched out and carefully
protected with all the attendant lope holes sealed
off. As the Chairman of CAC, I have the cooperation
and mandate of the Financial Director and the
Secretary of the Organisation. We arranged and over
invoiced the Contract funds supplied by different
companies from different countries during the crisis.
It was our consensus to seek the assistance of a
willing foreigner to provide us with the facilities to
transfer this money out of West Africa. This is borne
out of our belief in the non-stable and asporous
political nature of this sub-region.
The original contractors have been duly paid by the
Banque Centrale Des Etats De LÂ’Afrique De LÂ’Ouest
(Central Bank of the West African States) through our
bankers-Societe Generale banque. This balance is
suspended in the escrow accounts awaiting claims by
any foreign company of our choice. We intend to pay
out this fund NOW as the organisation is winding up
its activities since the aim of returning PEACE to the
countries and the coast has been achieved.
Based on the laws and ethics of employment, we as
civil servants working under this organisation, are
not allowed to operate a foreign account.. This is the
more reason why we needed your assistance to provide
an account that can sustain this fund for safe keeping
and our future investment with your comprehensive
advise, assistance and partnership in your country.
It is however agreed, as the account owner in this
deal to allow you 30% of the entire sum as
compensation, 65% will be held on trust for us while
5% will be used to defray any incidental charges and
cost during the course of the transaction.
This transaction will be successfully concluded within
14 days if you accord us your unalloyed and due
cooperation. You should provide the followings;
YOUR COMPANYÂ’S NAME WITH COMPLETE ADDRESS, TEL AND
FAX
NUMBERS, (If available).
THE NAME OF YOUR BANK, ITS ADDRESS WITH TEL, FAX AND
TELEX NUMBERS.
THE ACCOUNT NUMBER.
THE COMPLETE MAILING ADDRESS OF THE BENEFICIARY WITH
TELEPHONE AND FAX NUMBERS.
Upon the receipt of this information, the documents
and approval with the texts will be sent to you for
confirmation and then forwarded to the organisation
for ratification and subsequent payment.
As with the case of all organised (sensitive) and
conspired DEALS, we solicit for your unreserved
confidentiality and utmost secret in this business. We
hope to retire peacefully and lead a honourable
business life afterwards. There are no risks involved.
The reply must be through this e-mail box only.
REPLY ASAP. With regards.
DR finione
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Mon Oct 15 11:04:01 2001
Subject: [ic] hit preload fallback question
Hi List,
I get a "hit preload fallback..." in my error.log and it seems to me, it
is coming from UI_STD_DBEDIT_TABLE.
-------snip-------
else {
$currval = delete $Scratch->{"ui_preload:$t:$c"} || undef;
#Log("hit preload fallback for $col,currval=$currval");
}
-------snip-------
Is this an error or only a hint? I've trouble to understand it right or
to interpret it right.
Thanks!
joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Mon Oct 15 11:13:00 2001
Subject: [ic] BUSINESS PROPOSAL TO
> After discussing my view and your profile with my
> colleagues, they were very much satisfied and decided
> to contact you immediately for this mutual business
> USD25,000,000.00 (Twenty Five Million United States
> Dollars only) into your personal or companyÂ’s bank
> account.
Wow!,
...all I have to do is give you my company bank account details. And I am
sure you promise not to siphon my account dry once you have this
confidential information.
Does anyone _really_ fall for this old scam?
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Mon Oct 15 11:20:01 2001
Subject: [ic] MV_DOLLAR_ZERO question and tips/hints for MV/IC hoster question
Hi MV/IC Guru,
I saw a MV_DOLLAR_ZERO in line 56 of bin/interchange. What is this
variable for?
Other question:
I've some IC shops for difference users. Only one IC Server is running
to provide all the shops/catalogs. Some of the users make the
shops/catalogs itself. Sometime one of them make a wrong shop/catalog
and this wrong shop/catalog need a high demand of our machine and
prevent any access to any other IC shops/catalogs.
How can I try out, which shop need a high demand of our machine?
Searching into the error.log of all the shops/catalogs, I saw an error
message about the "hammered pid". This is a hint about a long running
process without a end with success.
How can I try out, which IC pages product such error messages?
Any usefull tips and hints for an ISP, who provide a "hosting MV/IC
shops/catalogs"?
Any kind of helps are very wellcome!
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Mon Oct 15 11:25:00 2001
Subject: [ic] url encode question
Mike Heins wrote:
> > Other question...how will you do, if you use
> >
> > <a href="[area href="scan/se=[loop-field name]">[loop-field name]</a>
> >
> > and the field contains "Hans Müller" or "Meier & sons"?
> > If you encode the char "&", you will not get a right page for "Meier &
> > sons"!
> > Or have you a solutions?
>
> You don't do that, that is the solution. There are many examples of this
> in the foundation catalog.....
>
> <A HREF="[area search='
> se=[loop-field name]
> '
> ]">[loop-field name]</A>
Dear Mike,
you are absolutly right! :-)
Hmmm....that is the difference between scan and search in the area tag?
I'm wondering, because I read the doc many times and I can't find any
hints about the difference with the scan and search in a area tag, which
is url encoded or not by MV/IC.
Or am I still on the wrong way?
Thanks!
Joachim
PS:
What is wrong with $0 in interchange 4.8.2? Can the part codes with $0
removed into Server.pm? I've posted my test with removing that codes
intos Server.pm with success under FreeBSD 4.3 and perl 5.005.3
(distribute by FreeBSD as a default perl version)!
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Stefano Nota)
Date: Mon Oct 15 11:29:01 2001
Subject: [ic] How can i remove?
How can i remove from this list?
From: interchange-users at interchange.redhat.com (Chris Jesseman)
Date: Mon Oct 15 12:38:00 2001
Subject: [ic] FreeBSD 4.4
Eddie,
I've got 4.6 and 8.1 running very well on 4.3 STABLE. mysql doesn't come with
FreeBSD but it's stable. I would not run anything on a FreeBSD RELEASE,
consider STABLE as production mode...
--
Chris Jesseman
Quoting Edward Rubottom <eddie@cn2.net>:
> After many attempts at Interchange on FreeBSD 4.2, Without much success due
> to a Perl issue.....
> I was wondering if anyone has attempted FreeBSD 4.4. It is distributed with
> Perl version 5.005_03
> and Mysql version: 3.23.42. There were significant issues on FreeBSD 4.2
> with the Perl implementation
> working with Interchange and I really don't want to go down that road
> again..
>
> Thanks and Regards, Eddie Rubottom
>
>
> ----- Original Message -----
> From: "Mike Heins" <mheins@redhat.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Saturday, October 13, 2001 1:02 PM
> Subject: Re: [ic] url encode question
>
>
> Quoting Joachim Leidinger (jojo@blackpoint.de):
> > Other question...how will you do, if you use
> >
> > <a href="[area href="scan/se=[loop-field name]">[loop-field name]</a>
> >
> > and the field contains "Hans Müller" or "Meier & sons"?
> > If you encode the char "&", you will not get a right page for "Meier &
> > sons"!
> > Or have you a solutions?
>
> You don't do that, that is the solution. There are many examples of this
> in the foundation catalog.....
>
>
> <A HREF="[area search='
> se=[loop-field name]
> '
> ]">[loop-field name]</A>
>
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> If you think nobody cares if you're alive, try missing a couple of
> car payments. -- Earl Wilson
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 15 12:51:01 2001
Subject: [ic] Newbie-Install question
At 06:59 PM 10/13/2001 -0500, you wrote:
>I have recently downloaded interchange and want to install it on my ISP's
>server, but I am not sure of the procedure, or even if I can do the install
>with the permissions I have , since I would not be root.
>Is there any way this could be done? or could you point me to the
>instructions? maybe I have them and do not realize it.
>Thank You,
>George R. Griesbach
>505 River Oaks Rd.
>Comfort, Texas, 78013
>admin@comforttexas.com
>www.comforttexas.com
>W5GRG.
Get the cross platform tarball from interchange.redhat.com, save it in your
home directory on the server, start a telnet or ssh session, and do
gzip -dc interchange-4.8.2.tar.gz | tar xvf -
cd interchange-4.8.2
more README
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Stefano Nota)
Date: Mon Oct 15 12:56:00 2001
Subject: [ic] How can i remove?
How can i remove from this list?
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 15 13:09:01 2001
Subject: [ic] returning list of categories...properly
At 10:43 AM 10/14/2001 -0700, you wrote:
>I'm working on a site where the user clicks on a product group on the
>homepage, which does a page search and returns another page with a list of
>categories for that product group. I've played around with a variety of
>different variables in the page search, but I don't seem to be getting
>anywhere. Although the categories are being returned, instead of getting
>just one category, I'm getting all of them for a particular product group.
>I don't profess to be any good at The Search Engine, so I'm hoping someone
>can let me know what I'm missing. The code I'm using on the home page to
>initiate the page search is as follows:
>
>[page search="
> se=Hand Tools
> sf=prod_group
> tf=category
> sp=results2
> "]
> Hand Tools
>[/page]
I'm not sure what you are trying to do on results2.html - I could find a
closing </form> tag on the code your posted - it is just a fragment?
I any case, you could try the mv_unique parameter in your search:
[page search="
se=Hand Tools
sf=prod_group
rf=category
un=yes
tf=category
sp=results2
"]
Hand Tools
[/page]
On results2.html:
[search-region]
[search-list]
[loop-code] // This will contain the category because of
rf=category in the search
[/search-list]
[/search-region]
...should give you a list of unique category names which match your search.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 15 13:19:00 2001
Subject: [ic] MV_DOLLAR_ZERO question and tips/hints for MV/IC hoster
At 10:19 PM 10/14/2001 +0200, you wrote:
>Hi MV/IC Guru,
>
>I saw a MV_DOLLAR_ZERO in line 56 of bin/interchange. What is this
>variable for?
Not what your hoping for, I'm afraid. $0 is a special Perl variable in
which the program "remembers" it's own name; the interchange program just
sets it to something more meaningful than 'perl', and it looks like you can
define an global variable MV_DOLLAR_ZERO in interchange.cfg if you want to
give it a name of your own:
Variable MV_DOLLAR_ZERO ic_shop
...and now if you do a ps the interchange process should show up as
'ic_shop' instead of 'interchange'. UNTESTED.
- Ed L.
>Other question:
>
>I've some IC shops for difference users. Only one IC Server is running
>to provide all the shops/catalogs. Some of the users make the
>shops/catalogs itself. Sometime one of them make a wrong shop/catalog
>and this wrong shop/catalog need a high demand of our machine and
>prevent any access to any other IC shops/catalogs.
>
>How can I try out, which shop need a high demand of our machine?
>
>Searching into the error.log of all the shops/catalogs, I saw an error
>message about the "hammered pid". This is a hint about a long running
>process without a end with success.
>
>How can I try out, which IC pages product such error messages?
>
>Any usefull tips and hints for an ISP, who provide a "hosting MV/IC
>shops/catalogs"?
>
>Any kind of helps are very wellcome!
>
>Thanks!
>
>Joachim
>
>--
>Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
>[Hans-Joachim.leidinger@bpanet.de]
>Black Point Arts Internet Solutions GmbH
>http://www.bpanet.de
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Curt Hauge)
Date: Mon Oct 15 13:54:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
> Quoting Curt Hauge (chc@mninter.net):
> > IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
> >
> > Hi everyone,
> >
> > I am trying to learn how to use the usertag table-organize within the
> > tutorial. I wish to create multiple columns of products with
> many rows. I
> > have copied /usr/lib/interchange/eg/usertag/table_organize to
> > /usr/lib/interchange/usertag/table_organize. I have made the
> following entry
> > into interchange.cfg:
> > (I think this could be the problem)
> > UserTag table-organize Order cols ==> EOR
> >
> > and this is my test page:
> >
> > [include templates/regions/top]
> > [include templates/regions/left]
> > [table-organize
> > cols=3
> > pretty=1
> > tr.0='bgcolor="#EEEEEE"'
> > tr.1='bgcolor="#FFFFFF"'
> > td.0='align=right'
> > td.1='align=center'
> > td.2='align=left'
> > ]
> > [loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td>
> > [/loop]
> > [/table-organize]
> > [include templates/regions/bottom]
>
> This is one of the cases where you want an interpolate=1 parameter, for
> you don't want table-organize to operate on the source of the loop, but
> the results of the loop.
Thanks for the reply, Mike! However, anyone, I still can not get this to
fly. (I am *really* reaching here, but I am determined to get it.) I have
tried, without success, adding this to interchange.cfg (and then
restarting):
#include usertag/*
UserTag table_organize Order cols ==> EOR
UserTag table_organize HasEndTag
UserTag table_organize Interpolate
I also tried adding interpolate=1 as a named attribute before cols=3:
[table-organize
interpolate=1
cols=3
pretty=1
[snip]
And:
[table-organize interpolate=1
cols=3
pretty=1
[snip]
And tried:
[loop list="1 2 3 1a 2a 3a 1b" interpolate=1]
And:
[loop-code interpolate=1]
All have been tried independent of each other and result in no data
displayed. I just tried changing interchange.cfg and restarting, with no
success:
#include usertag/*
UserTag table-organize Order cols
UserTag table-organize attrAlias columns cols
UserTag table-organize Interpolate
UserTag table-organize addAttr
UserTag table-organize hasEndTag
UserTag table-organize Documentation <<EOD
I found it here in the mail archives, from Mike Heins -
http://interchange.redhat.com/archive/interchange-users/2000/msg09193.html
I'm in a muddle. Ideas, anybody?
Thanks a lot!
Curt Hauge
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Mon Oct 15 14:05:01 2001
Subject: [ic] MV_DOLLAR_ZERO question and tips/hints for MV/IC hoster question
> At 10:19 PM 10/14/2001 +0200, you wrote:
> >Hi MV/IC Guru,
> >
> >I saw a MV_DOLLAR_ZERO in line 56 of bin/interchange. What is this
> >variable for?
>
> Not what your hoping for, I'm afraid. $0 is a special Perl
> variable in
> which the program "remembers" it's own name; the interchange
> program just
> sets it to something more meaningful than 'perl', and it
> looks like you can
> define an global variable MV_DOLLAR_ZERO in interchange.cfg
> if you want to
> give it a name of your own:
>
> Variable MV_DOLLAR_ZERO ic_shop
>
> ...and now if you do a ps the interchange process should show up as
> 'ic_shop' instead of 'interchange'. UNTESTED.
>
> - Ed L.
$0 is the same in shell scripting as well.
-Dan
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Mon Oct 15 14:45:01 2001
Subject: [ic] FreeBSD 4.4
Chris Jesseman wrote:
>
> Eddie,
>
> I've got 4.6 and 8.1 running very well on 4.3 STABLE. mysql doesn't come with
> FreeBSD but it's stable. I would not run anything on a FreeBSD RELEASE,
> consider STABLE as production mode...
>
> --
> Chris Jesseman
>
> Quoting Edward Rubottom <eddie@cn2.net>:
>
> > After many attempts at Interchange on FreeBSD 4.2, Without much success due
> > to a Perl issue.....
> > I was wondering if anyone has attempted FreeBSD 4.4. It is distributed with
> > Perl version 5.005_03
> > and Mysql version: 3.23.42. There were significant issues on FreeBSD 4.2
> > with the Perl implementation
> > working with Interchange and I really don't want to go down that road
> > again..
> >
> > Thanks and Regards, Eddie Rubottom
Since MV Version 3.11 and FreeBSD 3.11, I was always able to use all MV
and IC Version.
Only the one IC Version 4.8.2 has a trouble and is solved.
Mysql is in the ports tree and I was able to use mysql with no problems.
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Mon Oct 15 15:10:01 2001
Subject: [ic] MV_DOLLAR_ZERO question and tips/hints for MV/IC hosterquestion
Ed LaFrance wrote:
> >I saw a MV_DOLLAR_ZERO in line 56 of bin/interchange. What is this
> >variable for?
>
> Not what your hoping for, I'm afraid. $0 is a special Perl variable in
> which the program "remembers" it's own name; the interchange program just
> sets it to something more meaningful than 'perl', and it looks like you can
> define an global variable MV_DOLLAR_ZERO in interchange.cfg if you want to
> give it a name of your own:
>
> Variable MV_DOLLAR_ZERO ic_shop
>
> ...and now if you do a ps the interchange process should show up as
> 'ic_shop' instead of 'interchange'. UNTESTED.
>
> - Ed L.
Ed,
that was my first thought too. But I hope I can define this global
variable MV_DOLLAR_ZERO in each catalog.cfg file instead of on
interchange.cfg file only.
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Jeff Anderson)
Date: Mon Oct 15 15:43:00 2001
Subject: [ic] Authorize.net and custom authorizenet
Good afternoon.
I am attempting to use Interchange with authorize.net payments and have
added the following to my catalog.cfg
Variable MV_PAYMENT_ID username
Variable MV_PAYMENT_SECRET password
Variable MV_PAYMENT_MODE custom authorizenet
Variable MV_PAYMENT_REFERER url
Once I go through my checkout page I get a
(custom authorizenet): Charge operation 'custom authorizenet' failed.
Is there some additional code that I need to place in my form? I know
that with Minivend there was other form fields that must be added, but I
am little confused as to how Interchange is working with authorize.net.
Any help would be greatly appreciated.
I realize that this is a simple question that many of you probably
wouldn't need to ask. I'm sure I will get a few "check the
documentation" answers, these aren't really helpful. I have already
checked the documentation and it doesn't tell me how to set up the
system for authorize.net (I have been looking at if for four days now.)
If I need to look at the documentation again please let me know exactly
what pages I need to look at.
Thank you everyone for your help and support, I appreciate it.
Jeff Anderson
Literati Information Technology.
=================================================================
janderson@literati.com
Jeff Anderson
1105 Charles Avenue
Morgantown, WV 26505
(304) 292-0510 - Voice
(304) 291-2066 - Fax / Data
From: interchange-users at interchange.redhat.com (Ron Phipps)
Date: Mon Oct 15 16:00:00 2001
Subject: [ic] Authorize.net and custom authorizenet
> From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-
> users-admin@interchange.redhat.com] On Behalf Of Jeff Anderson
>
> Good afternoon.
>
> I am attempting to use Interchange with authorize.net payments and
have
> added the following to my catalog.cfg
>
> Variable MV_PAYMENT_ID username
> Variable MV_PAYMENT_SECRET password
> Variable MV_PAYMENT_MODE custom authorizenet
> Variable MV_PAYMENT_REFERER url
>
> Once I go through my checkout page I get a
>
> (custom authorizenet): Charge operation 'custom authorizenet' failed.
Which version of Interchange are you using?
-Ron
> Is there some additional code that I need to place in my form? I know
> that with Minivend there was other form fields that must be added, but
I
> am little confused as to how Interchange is working with
authorize.net.
> Any help would be greatly appreciated.
>
> I realize that this is a simple question that many of you probably
> wouldn't need to ask. I'm sure I will get a few "check the
> documentation" answers, these aren't really helpful. I have already
> checked the documentation and it doesn't tell me how to set up the
> system for authorize.net (I have been looking at if for four days
now.)
> If I need to look at the documentation again please let me know
exactly
> what pages I need to look at.
>
> Thank you everyone for your help and support, I appreciate it.
>
> Jeff Anderson
> Literati Information Technology.
>
>
> =================================================================
> janderson@literati.com
>
> Jeff Anderson
> 1105 Charles Avenue
> Morgantown, WV 26505
>
> (304) 292-0510 - Voice
> (304) 291-2066 - Fax / Data
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Zachary Matthews)
Date: Mon Oct 15 16:34:00 2001
Subject: [ic] Implementing site search engine
I need to implement a search engine for one of my Interchange sites that
will search for keywords in all of the .html files in the /pages
directory (rather than products in the database). This is a search that
should return links to pages rather than links to products in the
database.
Has anyone implemented this type of search engine for an interchange
site? Or, has anyone used another search engine successfully (such as
Atomz, or excite, etc.) Does the site need to be rendered statically to
do this?
From: interchange-users at interchange.redhat.com (Ton Verhagen)
Date: Mon Oct 15 16:56:01 2001
Subject: [ic] MV_DOLLAR_ZERO question and tips/hints for MV/IC
At 08:36 PM 10/15/01 +0200, Joachim Leidinger <jojo@blackpoint.de> wrote:
>Ed,
>
>that was my first thought too. But I hope I can define this global
>variable MV_DOLLAR_ZERO in each catalog.cfg file instead of on
>interchange.cfg file only.
>
>Joachim
Yes, you can set it in each catalog.cfg.
I use it frequently that way.:-)
Best
Ton
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Mon Oct 15 17:06:00 2001
Subject: [ic] MV_DOLLAR_ZERO question and tips/hints for MV/IChosterquestion
Ton Verhagen wrote:
>
> At 08:36 PM 10/15/01 +0200, Joachim Leidinger <jojo@blackpoint.de> wrote:
>
> >Ed,
> >
> >that was my first thought too. But I hope I can define this global
> >variable MV_DOLLAR_ZERO in each catalog.cfg file instead of on
> >interchange.cfg file only.
> >
> >Joachim
>
> Yes, you can set it in each catalog.cfg.
> I use it frequently that way.:-)
Ton,
I'm very glad to see your confirmation! Did it works with IC Version
4.8.1 and "TRAFFIC rpc" in interchange.cfg?
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Mon Oct 15 17:09:01 2001
Subject: [ic] notes DB for customers
help...
I have created a notes database for the customers in which we will be able
to add a note for the specific customer.
In the UI_STD_HEAD I've created an object "add a note" when the
customer_view page is opened
In the customer_notes database I have columns
code
customerno
note
under icmenu....
field -> page=flex_editor
field -> form=customer={cgi customer}&page_title=Add new
note&mv_data_table=customer_notes&ui_new_item=1&ui_return_to=admin/customer_
view.html&icon_name=icon_people.gif
the question being is what I want to happen is when the user selects "add a
note" the table customer_notes column customerno will automatically be
populated with the customers username. I know that this should be an easy
meta configuration problem and answer
your help would be greatly appreciated
J. Scott Andreas :)
IS/Programmer/WebDevelopement
Learning Services, Inc.
e-mail: sandreas@learningservicesinc.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
--- __o
--- _-\<,_
--- (_)/ (_)
From: interchange-users at interchange.redhat.com (Fiber Connect)
Date: Mon Oct 15 18:01:01 2001
Subject: [ic] Documents
> hi All,
> Its feels really exciting to be a part of this list. Iam a new
entrant
> into the world of interchange.
> My current job involves into understanding Interchange, its
functionalities
> the tables that gets
> populated with respective data and maybe prepare an analysis report of
what
> is available
> from Interchange apropos to my requirement and maybe need to design more
> features and
> functions in accordance to the requirements.
>
> Iam currently lookin for some functional documents that specify in clear
of
> what each and
> every option of interchange Admin interface allows me to do and where
these
> data are getting
> reflected at the tables.
> FYI, i have confiugred PostgreSQL as my database.
>
> Lookin for immense help from this list.
>
> Thnx in advance,
> Balaji
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Ben Weinberg)
Date: Mon Oct 15 18:06:01 2001
Subject: [ic] Shipping - Uses UPS Zone Cart to Create Hundred Weight Pricing.
Hello,
I have a questions about setting up Interchange to calculate Hundred weight pricing. I have figured out one possible way to almost do it. I would like some assistance if there is a better way or if I am even on the right track.
Currently, I have set up the shipping.asc file to calculate with ups's weight and zone charge for 1-150 lbs. For shipments over 150, I am currently using Weight[value state] to calculate by what state someone is. Is there some way to calculate Weight[value (ups zone)] or is there some better way?
Here is what my shipping.asc looks like:
upsg UPS Ground weight [value state] 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'zone' => "450",'table' => "Ground",'ups' => "1",'adder' => "2",'geo' => "zip",}
upsg UPS Ground 0 150 u Ground [value name=zip filter=digits default=45056] {}
upsg UPS Ground CA NV 151 200 f (@@TOTAL@@ * .15)
upsg UPS Ground 151 200 f (@@TOTAL@@ * .25)
upsg UPS Ground 200 999999 e @@TOTAL@@ lbs too heavy for UPS {}
Any help is much appreciated.
Thanks,
Ben Weinberg
From: interchange-users at interchange.redhat.com (newsletters at mail.lineaux.com)
Date: Mon Oct 15 18:14:01 2001
Subject: [ic] moving foundation to non-redhat linux?
If I setup a foundation on a redhat linux box, can I move a copy home to
my PPC linux box to play with?
it looks like foundation is only for i386!
thanks for any advice!
jim
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Mon Oct 15 18:19:01 2001
Subject: [ic] moving foundation to non-redhat linux?
> If I setup a foundation on a redhat linux box, can I move a
> copy home to
> my PPC linux box to play with?
>
> it looks like foundation is only for i386!
>
> thanks for any advice!
>
> jim
I can't remember where I got this, but see the attached.
-Dan
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
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Mon Oct 15 18:29:00 2001
Subject: [ic] moving foundation to non-redhat linux?
On Mon, 15 Oct 2001, newsletters@mail.lineaux.com wrote:
> If I setup a foundation on a redhat linux box, can I move a copy home to
> my PPC linux box to play with?
>
> it looks like foundation is only for i386!
You can't use the i386 interchange-foundation-demo RPM on PPC -- you'll
need to just run /usr/lib/interchange/bin/makecat by hand. It's not hard.
Jon
From: interchange-users at interchange.redhat.com (www.bathbodybeyond.com)
Date: Mon Oct 15 18:52:00 2001
Subject: [ic] Akopia Shopping Cart
I use Interchange 4.8 on my website and for the shopping cart I have akopia,
I am in need of how to have the changes become applied to the shopping cart
after I apply changes and also for credit card information, how and where is
that stored.
From: interchange-users at interchange.redhat.com (Robert Mathieu)
Date: Mon Oct 15 18:57:00 2001
Subject: [ic] Minivend through AOL
I've implemented a site using the old Minivend, and
the shopping cart service doesn't work through an AOL
browser. Can anyone tell me why this is and what I
can do to fix it?
Thanks.
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Mon Oct 15 19:01:01 2001
Subject: [ic] Implementing site search engine
in the database that you want to search through create a column "keywords"
or the alike and another column called page with reference to that the html
page ( ...cgi-bin/catalog/path/page.html )
put the keywords in the keywords column
have the user search for keywords in the keyword column and have the results
page pull from the "page" column.
Good luck
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Zachary Matthews
Sent: Monday, October 15, 2001 1:34 PM
To: interchange-users@anthrax.interchange.redhat.com
Subject: [ic] Implementing site search engine
I need to implement a search engine for one of my Interchange sites that
will search for keywords in all of the .html files in the /pages
directory (rather than products in the database). This is a search that
should return links to pages rather than links to products in the
database.
Has anyone implemented this type of search engine for an interchange
site? Or, has anyone used another search engine successfully (such as
Atomz, or excite, etc.) Does the site need to be rendered statically to
do this?
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Anton van de Plas)
Date: Mon Oct 15 19:19:01 2001
Subject: [ic] Inventory numbers displayed on page
I searched the archives and found the same question but no answer.
How could the actual number of the item in stock be shown in stead of the
"Y". So with 100 in stock it would show "100" when looking at the
description of the item.
All help appreciated.
Thanks!
Anton
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 15 20:34:00 2001
Subject: [ic] Inventory numbers displayed on page
On Mon, 15 Oct 2001, Anton van de Plas wrote:
AvdP>>How could the actual number of the item in stock be shown in stead of the
AvdP>>"Y". So with 100 in stock it would show "100" when looking at the
AvdP>>description of the item.
If you are using 4.6, it ain't worth it. And, I've been given the impression
that the same is true in 4.8.
Orders don't decrement the inventory count.
A customer can order 1000 even though there are only 15 in stock.
But, correcting this begs a lot of problems.
The person orders 10 units. Does the inventory get decremented when the
person checks out?
Supposing the person is going to mail in payment? Does it still get
decremented at check out? Supposing payment never arrives?
Supposing the person is using a credit card, and we are not getting approval
at the time of the sale and the credit card is declined?
How about if we wait until we change the status of the order when we ship,
and we decrement the inventory then? But, we have shipped out 10 units and
there are only 5 left. But when the next customer comes along the inventory
still shows 15 units, and that customer orders all 15. By that time, there
are only 5 left to ship to the customer, but they don't know that. If the
charge card processing is automatic, then their card gets charged for 15,
but they only get 5.
I don't have a solution!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 15, 2001 at 20:20 PM:
Catacomb (n.) - used for brushing cat hair.
----------------------------------------------------------------
This Linux System has been up 48 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Anton van de Plas)
Date: Mon Oct 15 21:04:01 2001
Subject: [ic] Inventory numbers displayed on page
Hi Jim,
Luckily the store I need it for only receives orders from resellers, so no
payment problems, just an indicator how many are still in stock. By the way
for those interested I solved the problem: I have added [item-data inventory
quantity] to the flypage.html
Anton
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim
Balcom
Sent: Monday, October 15, 2001 8:37 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Inventory numbers displayed on page
On Mon, 15 Oct 2001, Anton van de Plas wrote:
AvdP>>How could the actual number of the item in stock be shown in stead of
the
AvdP>>"Y". So with 100 in stock it would show "100" when looking at the
AvdP>>description of the item.
If you are using 4.6, it ain't worth it. And, I've been given the impression
that the same is true in 4.8.
Orders don't decrement the inventory count.
A customer can order 1000 even though there are only 15 in stock.
But, correcting this begs a lot of problems.
The person orders 10 units. Does the inventory get decremented when the
person checks out?
Supposing the person is going to mail in payment? Does it still get
decremented at check out? Supposing payment never arrives?
Supposing the person is using a credit card, and we are not getting approval
at the time of the sale and the credit card is declined?
How about if we wait until we change the status of the order when we ship,
and we decrement the inventory then? But, we have shipped out 10 units and
there are only 5 left. But when the next customer comes along the inventory
still shows 15 units, and that customer orders all 15. By that time, there
are only 5 left to ship to the customer, but they don't know that. If the
charge card processing is automatic, then their card gets charged for 15,
but they only get 5.
I don't have a solution!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 15, 2001 at 20:20 PM:
Catacomb (n.) - used for brushing cat hair.
----------------------------------------------------------------
This Linux System has been up 48 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Mon Oct 15 22:22:00 2001
Subject: [ic] Minivend through AOL
At 03:56 PM 10/15/01, you wrote:
>I've implemented a site using the old Minivend, and
>the shopping cart service doesn't work through an AOL
>browser. Can anyone tell me why this is and what I
>can do to fix it?
>
>Thanks.
You don't mention a version number, but things you can look at
include the following settings in minivend.cfg file:
DomainTail
IpHead
IpQuad
WideOpen (carefull with this one!)
Search the mail archives and review old MV docs, sorry don't
know where they are off the top of my head.
Also check to see if there are any errors in your logs.
Kyle
From: interchange-users at interchange.redhat.com (Jim Webster)
Date: Mon Oct 15 23:50:00 2001
Subject: [ic] Multiple Pricing
In the Products area of IC, I see "Product Price" and "Dealer Price".
Question #1: What is this DEALER PRICE? I always thought it was affiliate
pricing. Does not appear to be or at least I can't get it to work.
I have a potential client who needs 4 different prices for each product:
Retail Pricing, Reseller Pricing, Educational Pricing and Government
Pricing.
How can I have 4 different customer types log in and see 4 different prices,
respectively.
I've been playing with "affiliate", "dealer pricing" and
"affiliate/login.html" and can not see how it works - The pricing never
changes. What am I doing wrong? Am I not even in the right starting point?
Even if this is how to do it, I would need 2 additional "fields".
Being open source, I know it's possible (anything is)... I just haven't
figured it out yet and was hoping someone has already done this...
Thx in advance...
Jim.
From: interchange-users at interchange.redhat.com (Andrew McBeath)
Date: Tue Oct 16 00:44:00 2001
Subject: [ic] BUSINESS PROPOSAL TO
Hmmm...
Do we divide this amoungst the list or is it the first person to reply gets
the whole shebang?
>>We hope to retire peacefully and lead a honourable
>>business life afterwards. There are no risks involved.
Wow! No risks! ...this is too good to be true...
Maybe I should give them my old boss's bank acc number :)
On 2001.10.16 04:11 Jonathan Clark wrote:
>
> > After discussing my view and your profile with my
> > colleagues, they were very much satisfied and decided
> > to contact you immediately for this mutual business
> > USD25,000,000.00 (Twenty Five Million United States
> > Dollars only) into your personal or companyÂ’s bank
> > account.
>
> Wow!,
>
> ...all I have to do is give you my company bank account details. And I am
> sure you promise not to siphon my account dry once you have this
> confidential information.
>
> Does anyone _really_ fall for this old scam?
>
> Jonathan
> Webmaint.
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 16 02:23:00 2001
Subject: [ic] Sorry, there was an error in processing this form action.
Hi !
A new Problem :( If i try to login to the adminzone i receive the following
error, i think its because he misses a file but i have the
products/userdb.txt and the file access.asc also exsists.
But the following error comes up :
Sorry, there was an error in processing this form action. Please
report the error or try again later.
(user database access does not exist. )
my mv_nextpage = "admin/index" and this page existes, here a short pice of
the loginfile :
<FORM
ACTION="http://ntweb.solution-service.de/cgi-bin/stmartin/process?id=ry2FAh36&mv_pc=4"
METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=MMLogin>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="admin/index">
<INPUT TYPE=hidden NAME=destination VALUE="">
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
whats wrong ?
mfg. Jonas
From: interchange-users at interchange.redhat.com (root)
Date: Tue Oct 16 02:26:13 2001
Subject: [ic] Sorry, there was an error in processing this form action.
Hi !
A new Problem :( If i try to login to the adminzone i receive the following
error, i think its because he misses a file but i have the
products/userdb.txt and the file access.asc also exsists.
But the following error comes up :
Sorry, there was an error in processing this form action. Please
report the error or try again later.
(user database access does not exist. )
my mv_nextpage = "admin/index" and this page existes, here a short pice of
the loginfile :
<FORM
ACTION="http://ntweb.solution-service.de/cgi-bin/stmartin/process?id=ry2FAh36&mv_pc=4"
METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=MMLogin>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="admin/index">
<INPUT TYPE=hidden NAME=destination VALUE="">
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
whats wrong ?
mfg. Jonas
From: interchange-users at interchange.redhat.com (root)
Date: Tue Oct 16 02:28:28 2001
Subject: [ic] Sorry, there was an error in processing this form action.
Hi !
A new Problem :( If i try to login to the adminzone i receive the following
error, i think its because he misses a file but i have the
products/userdb.txt and the file access.asc also exsists.
But the following error comes up :
Sorry, there was an error in processing this form action. Please
report the error or try again later.
(user database access does not exist. )
my mv_nextpage = "admin/index" and this page existes, here a short pice of
the loginfile :
<FORM
ACTION="http://ntweb.solution-service.de/cgi-bin/stmartin/process?id=ry2FAh36&mv_pc=4"
METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=MMLogin>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="admin/index">
<INPUT TYPE=hidden NAME=destination VALUE="">
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
whats wrong ?
mfg. Jonas
From: interchange-users at interchange.redhat.com (root)
Date: Tue Oct 16 02:31:01 2001
Subject: [ic] Bug or what ??
Hi !
Is it possible that makecat has a bug ? Because if you make a new catalog it
changes the file /usr/lib/interchange/interchange.cfg, but this has no effect
because the this interchange.cfg is not used by the Interchangeserver, the
Server uses the file /etc/interchange.cfg :( And the makecat Command dont
update the file /etc/interchange.cfg .
I use v4.8.2 and RedHat 7.1.
mfg. Jonas
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Tue Oct 16 02:52:00 2001
Subject: Possible BUG in OPTIONS tag WAS:"[ic] [item-options] + javascript"
Hi,
when i try to select one of the deleted options i get following
error-message in the log-files!
***.***.***.*** hcd5GQeB:192.168.2.12 - [16/October/2001:08:23:26 +0200]
inwa /cgi-bin/inwa/order.html Attempt to order missing product code:
095673372585-003
095673372585-003 is the number(sku) of the deleted option!
can anybody tell me in which file the option tag is programmed so i can
try to fix it!
_cu_ (mit freundliche Grüßen)
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Tue Oct 16 03:33:01 2001
Subject: [ic] Sorry, there was an error in processing this form action.
root wrote:
>
> Hi !
>
> A new Problem :( If i try to login to the adminzone i receive the following
> error, i think its because he misses a file but i have the
> products/userdb.txt and the file access.asc also exsists.
>
> But the following error comes up :
>
> Sorry, there was an error in processing this form action. Please
> report the error or try again later.
> (user database access does not exist. )
>
> my mv_nextpage = "admin/index" and this page existes, here a short pice of
> the loginfile :
>
> <FORM
> ACTION="http://ntweb.solution-service.de/cgi-bin/stmartin/process?id=ry2FAh36&mv_pc=4"
> METHOD=POST>
> <INPUT TYPE=hidden NAME=mv_click VALUE=MMLogin>
> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="admin/index">
> <INPUT TYPE=hidden NAME=destination VALUE="">
> <INPUT TYPE=hidden NAME=mv_doit VALUE=return>
>
> whats wrong ?
Maybe a wrong setting of MMLogin? If you submit the form, IC try to do
this submitting by the setting of MMLogin. So I believe, there is an
error anywhere in MMLogin.
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Tim Watts)
Date: Tue Oct 16 04:22:01 2001
Subject: [ic] Server Survey
Hi Everyone!
I'm doing a little unscientific research on server choices for interchange.
I've seen several questions on the list asking for server suggestions and
I'd like a little info myself. If you could take a moment and visit the
address below, and answer a few simple questions, I'll publish the results
in a few weeks for everyone's use.
http://Romans1013.net/ic/survey.html
Thanks,
Tim
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Tue Oct 16 07:41:01 2001
Subject: [ic] Newbie-Install question
"George Griesbach" <admin@comforttexas.com> writes:
> I have recently downloaded interchange and want to install it on my ISP's
> server, but I am not sure of the procedure, or even if I can do the install
> with the permissions I have , since I would not be root.
> Is there any way this could be done? or could you point me to the
> instructions? maybe I have them and do not realize it.
Just ask your ISP :-). You don't need root access, but shell access
(ssh/telnet) and your ISP has to allow you to run daemons.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Tue Oct 16 07:45:01 2001
Subject: [ic] mv_credit_card_reference
Mike Heins said:
> I am working on a new programming guide, and one of the first things
> it says is:
>
> Don't use GlobalSub.
>
> The real method of doing this is just change your GlobalSub to a
> $Tag, i.e. a global UserTag. Perhaps I should make a $Sub object...8-)
>
> All you need to do is:
>
> GlobalSub <<EOR
> sub somesub {
> # some code
> }
> EOR
>
> Change that to:
>
> UserTag somesub Order something
> UserTag somesub Routine <<EOR
> sub {
> # same code
> }
> EOR
>
> Then call it with $Tag->somesub($something);
>
> It is usually nice to put an option hash at the end:
>
> UserTag somesub addAttr
>
> That way you can pass additional params without having to
> preposition the arguments:
>
> UserTag somesub Order something
> UserTag somesub addAttr
> UserTag somesub Routine <<EOR
> sub {
> my ($something, $opt) = @_;
> $opt ||= {};
>
> if($opt->{this}) {
> that();
> }
> # some code
> }
> EOR
Ok, lesson learned... I've changed my GlobalSubs to UserTags, but I am STILL
having problems :) While I've successfully created an MD5 calculator tag, I
have another one which tries to post a form to a given URL. This is very
similar to the get_url tag in the usertag/ directory, but I need the POST
method not GET, and I would like to obtain the HTTP code and message to
check for errors too. I call this tag web-service:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
UserTag web-service Order url code message
UserTag web-service addAttr
UserTag web-service Documentation <<EOD
usage: $Tag->web_service($url, $code, $message, $params)
EOD
UserTag web-service Routine <<EOR
sub {
my ($url, $code, $message, $data) = @_;
eval {
require LWP::UserAgent;
require HTTP::Request::Common;
};
my $ua = LWP::UserAgent->new;
my $req = HTTP::Request::Common::POST $url, $data;
my $response = $ua->request($req);
$code = $response->code;
$message = $response->message;
return $response->content;
}
EOR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
As I'm using some of the tag parameters to return data, I think this tag is
little suitable for the ITL syntax [web-service url="..." etc.], but this
poses no problem for me because I'm going to call it from [perl] through the
$Tag hash.
If I put a call in a blank page, for example
>>>>>>>>>>>>
[perl] $Tag->web_service("www.google.com/search",
$code,
$msg,
{ 'q' => 'search something for me' })
[/perl]
>>>>>>>>>>>>>>
Then, what I get is:
"Safe: require trapped by operation mask at (eval 256) line 3."
I think the 'line 3' refers to some piece of code deep inside the guts of
the HTTP::Request::Common::POST subroutine, because the trap occurs there.
But... Am I not supposed to be able to do whatever I want from a global
UserTag routine? I'm confused.
BTW, my versions are:
perl 5.6.0
ic 4.8.2
Safe 2.06
HTTP::Request::Common 1.19
Javier
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 16 09:01:01 2001
Subject: [ic] mv_credit_card_reference
On Tue, Oct 16, 2001 at 01:44:54PM +0200, Javier Martin wrote:
> Mike Heins said:
>
> > I am working on a new programming guide, and one of the first things
> > it says is:
> >
> > Don't use GlobalSub.
> >
Me, I'd not try to run LWP under Safe. Seems to me you want system.
Then call it as an external process. That will be easier to manage,
debug and maintain. Depends also on how often this will be called.
Isn't there a [perl allowglobal=1] or some such? Alternatively, what
we've done here is create a variant on [perl] tag in Interpolate.pm that
does NOT use Safe; we make heavy use of system calls and external scripts.
If you know how to write that you are aware of the downside; it's not
a useful or recommended approach for typical catalog. :-)
YMMV,
cfm
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> As I'm using some of the tag parameters to return data, I think this tag is
> little suitable for the ITL syntax [web-service url="..." etc.], but this
> poses no problem for me because I'm going to call it from [perl] through the
> $Tag hash.
>
> If I put a call in a blank page, for example
>
> >>>>>>>>>>>>
> [perl] $Tag->web_service("www.google.com/search",
> $code,
> $msg,
> { 'q' => 'search something for me' })
> [/perl]
> >>>>>>>>>>>>>>
>
> Then, what I get is:
>
> "Safe: require trapped by operation mask at (eval 256) line 3."
>
>
> I think the 'line 3' refers to some piece of code deep inside the guts of
> the HTTP::Request::Common::POST subroutine, because the trap occurs there.
> But... Am I not supposed to be able to do whatever I want from a global
> UserTag routine? I'm confused.
>
> BTW, my versions are:
>
> perl 5.6.0
> ic 4.8.2
> Safe 2.06
> HTTP::Request::Common 1.19
>
>
> Javier
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Tue Oct 16 09:30:01 2001
Subject: [ic] Maintaining Session
hi all,
how can we maintain the session using ITL, when we send and process
data from interchange to an external server(in a separate window).
thanks in advance.
joy.
----- Original Message -----
From: Fiber Connect <fctmaillist@megasoft.com>
To: <interchange-users@interchange.redhat.com>
Sent: Monday, October 15, 2001 8:27 AM
Subject: Re: [ic] Documents
> > hi All,
> > Its feels really exciting to be a part of this list. Iam a new
> entrant
> > into the world of interchange.
> > My current job involves into understanding Interchange, its
> functionalities
> > the tables that gets
> > populated with respective data and maybe prepare an analysis report of
> what
> > is available
> > from Interchange apropos to my requirement and maybe need to design more
> > features and
> > functions in accordance to the requirements.
> >
> > Iam currently lookin for some functional documents that specify in clear
> of
> > what each and
> > every option of interchange Admin interface allows me to do and where
> these
> > data are getting
> > reflected at the tables.
> > FYI, i have confiugred PostgreSQL as my database.
> >
> > Lookin for immense help from this list.
> >
> > Thnx in advance,
> > Balaji
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jeff Anderson)
Date: Tue Oct 16 09:32:26 2001
Subject: [ic] Authorize.net and custom authorizenet
Thanks Ron for the support. I am using 4.8.2
Jeff
At 10/15/2001 03:56 PM, you wrote:
> > From: interchange-users-admin@interchange.redhat.com
>[mailto:interchange-
> > users-admin@interchange.redhat.com] On Behalf Of Jeff Anderson
> >
> > Good afternoon.
> >
> > I am attempting to use Interchange with authorize.net payments and
>have
> > added the following to my catalog.cfg
> >
> > Variable MV_PAYMENT_ID username
> > Variable MV_PAYMENT_SECRET password
> > Variable MV_PAYMENT_MODE custom authorizenet
> > Variable MV_PAYMENT_REFERER url
> >
> > Once I go through my checkout page I get a
> >
> > (custom authorizenet): Charge operation 'custom authorizenet' failed.
>
>Which version of Interchange are you using?
>
>-Ron
>
>
> > Is there some additional code that I need to place in my form? I know
> > that with Minivend there was other form fields that must be added, but
>I
> > am little confused as to how Interchange is working with
>authorize.net.
> > Any help would be greatly appreciated.
> >
> > I realize that this is a simple question that many of you probably
> > wouldn't need to ask. I'm sure I will get a few "check the
> > documentation" answers, these aren't really helpful. I have already
> > checked the documentation and it doesn't tell me how to set up the
> > system for authorize.net (I have been looking at if for four days
>now.)
> > If I need to look at the documentation again please let me know
>exactly
> > what pages I need to look at.
> >
> > Thank you everyone for your help and support, I appreciate it.
> >
> > Jeff Anderson
> > Literati Information Technology.
> >
> >
> > =================================================================
> > janderson@literati.com
> >
> > Jeff Anderson
> > 1105 Charles Avenue
> > Morgantown, WV 26505
> >
> > (304) 292-0510 - Voice
> > (304) 291-2066 - Fax / Data
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
=================================================================
janderson@literati.com
Jeff Anderson
1105 Charles Avenue
Morgantown, WV 26505
(304) 292-0510 - Voice
(304) 291-2066 - Fax / Data
From: interchange-users at interchange.redhat.com (Pann McCuaig)
Date: Tue Oct 16 11:38:01 2001
Subject: [ic] Error in CVS instructions ?
If you go to
http://interchange.redhat.com/cgi-bin/ic/cvs.html
you are told to check out the stable branch as follows:
cvs -z3 -d :pserver:cvs@ic.redhat.com:/var/cvs \
-r STABLE_BRANCH-4.8 checkout -P interchange
That doesn't seem to work. This command works for me:
cvs -z3 -d :pserver:cvs@ic.redhat.com:/var/cvs checkout \
-r STABLE_4_8-branch -P interchange
ii cvs 1.10.7-7 Concurrent Versions System
(Debian potato)
Luck,
Pann
--
geek by nature, Linux by choice L I N U X .~.
The Choice /V\
http://www.ourmanpann.com/linux/ of a GNU /( )\
Generation ^^-^^
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 16 11:45:01 2001
Subject: [ic] mv_credit_card_reference
At 01:44 PM 10/16/2001 +0200, you wrote:
>Mike Heins said:
>
> > I am working on a new programming guide, and one of the first things
> > it says is:
> >
> > Don't use GlobalSub.
> >
> > The real method of doing this is just change your GlobalSub to a
> > $Tag, i.e. a global UserTag. Perhaps I should make a $Sub object...8-)
> >
> > All you need to do is:
> >
> > GlobalSub <<EOR
> > sub somesub {
> > # some code
> > }
> > EOR
> >
> > Change that to:
> >
> > UserTag somesub Order something
> > UserTag somesub Routine <<EOR
> > sub {
> > # same code
> > }
> > EOR
> >
> > Then call it with $Tag->somesub($something);
> >
> > It is usually nice to put an option hash at the end:
> >
> > UserTag somesub addAttr
> >
> > That way you can pass additional params without having to
> > preposition the arguments:
> >
> > UserTag somesub Order something
> > UserTag somesub addAttr
> > UserTag somesub Routine <<EOR
> > sub {
> > my ($something, $opt) = @_;
> > $opt ||= {};
> >
> > if($opt->{this}) {
> > that();
> > }
> > # some code
> > }
> > EOR
>
>
>Ok, lesson learned... I've changed my GlobalSubs to UserTags, but I am STILL
>having problems :) While I've successfully created an MD5 calculator tag, I
>have another one which tries to post a form to a given URL. This is very
>similar to the get_url tag in the usertag/ directory, but I need the POST
>method not GET, and I would like to obtain the HTTP code and message to
>check for errors too. I call this tag web-service:
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>UserTag web-service Order url code message
>UserTag web-service addAttr
>UserTag web-service Documentation <<EOD
>
>usage: $Tag->web_service($url, $code, $message, $params)
>EOD
>
>UserTag web-service Routine <<EOR
>sub {
>
> my ($url, $code, $message, $data) = @_;
>
> eval {
> require LWP::UserAgent;
> require HTTP::Request::Common;
> };
>
> my $ua = LWP::UserAgent->new;
> my $req = HTTP::Request::Common::POST $url, $data;
> my $response = $ua->request($req);
>
> $code = $response->code;
> $message = $response->message;
>
> return $response->content;
>}
>
>EOR
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>As I'm using some of the tag parameters to return data, I think this tag is
>little suitable for the ITL syntax [web-service url="..." etc.], but this
>poses no problem for me because I'm going to call it from [perl] through the
>$Tag hash.
>
>If I put a call in a blank page, for example
>
> >>>>>>>>>>>>
> [perl] $Tag->web_service("www.google.com/search",
> $code,
> $msg,
> { 'q' => 'search something for me' })
> [/perl]
> >>>>>>>>>>>>>>
>
>Then, what I get is:
>
> "Safe: require trapped by operation mask at (eval 256) line 3."
>
>
>I think the 'line 3' refers to some piece of code deep inside the guts of
>the HTTP::Request::Common::POST subroutine, because the trap occurs there.
>But... Am I not supposed to be able to do whatever I want from a global
>UserTag routine? I'm confused.
>
>BTW, my versions are:
>
>perl 5.6.0
>ic 4.8.2
>Safe 2.06
>HTTP::Request::Common 1.19
>
>
>Javier
I didn't see it in your post - did you define this usertag at the catalog
level or the server level? I think you would need to do the latter in
order for it to work.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 16 11:54:00 2001
Subject: [ic] Maintaining Session
At 07:04 PM 10/16/2001 -0500, you wrote:
>hi all,
> how can we maintain the session using ITL, when we send and process
>data from interchange to an external server(in a separate window).
>
>thanks in advance.
>joy.
Send the session id to the remote process in a cgi string:
http://www.someurl.com/some/path/page.html?id=nnnnnnnn
...where 'nnnnnnnn' is the 8-character IC session id; you can invoke it
with [data session id] when building your remote url. Then just tack in
into your return-to-catalog url.
- Ed L.
>----- Original Message -----
>From: Fiber Connect <fctmaillist@megasoft.com>
>To: <interchange-users@interchange.redhat.com>
>Sent: Monday, October 15, 2001 8:27 AM
>Subject: Re: [ic] Documents
>
>
> > > hi All,
> > > Its feels really exciting to be a part of this list. Iam a new
> > entrant
> > > into the world of interchange.
> > > My current job involves into understanding Interchange, its
> > functionalities
> > > the tables that gets
> > > populated with respective data and maybe prepare an analysis report of
> > what
> > > is available
> > > from Interchange apropos to my requirement and maybe need to design more
> > > features and
> > > functions in accordance to the requirements.
> > >
> > > Iam currently lookin for some functional documents that specify in clear
> > of
> > > what each and
> > > every option of interchange Admin interface allows me to do and where
> > these
> > > data are getting
> > > reflected at the tables.
> > > FYI, i have confiugred PostgreSQL as my database.
> > >
> > > Lookin for immense help from this list.
> > >
> > > Thnx in advance,
> > > Balaji
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Tue Oct 16 12:08:09 2001
Subject: [ic] Bug or what ??
On Tue, 16 Oct 2001, root wrote:
>
> Is it possible that makecat has a bug ? Because if you make a new catalog it
> changes the file /usr/lib/interchange/interchange.cfg, but this has no effect
> because the this interchange.cfg is not used by the Interchangeserver, the
> Server uses the file /etc/interchange.cfg :( And the makecat Command dont
> update the file /etc/interchange.cfg .
>
> I use v4.8.2 and RedHat 7.1.
I presume you're using the RPM version of Interchange 4.8.2.
/usr/lib/interchange/interchange.cfg is just a symbolic link to
/etc/interchange.cfg, so it doesn't matter which one you change. If
makecat can't change /etc/interchange.cfg, it's probably because you're
running makecat as the wrong user. Do it as user 'interch' and you should
be ok, or 'root' if you want to rule out any user-permissions problems.
Jon
From: interchange-users at interchange.redhat.com (interch)
Date: Tue Oct 16 12:38:01 2001
Subject: [ic] Awkward shipping placement in checkout process
Quick question not really a complaint. We are setting up customers and
giving them the stock interchange foundation catalog. Before I go and
modify the checkout pages myself, are there plans to reorganize the
checkout process in the near future so that people do not end up being
charged for shipping without knowing how much they are being
charged? This happens when using UPS or FEDEX and the customer does not
first create an account. I just didn't want to modify the stock
foundation catalog if this was going to be rolled into it in the near
future.
Chris
From: interchange-users at interchange.redhat.com (Ron Phipps)
Date: Tue Oct 16 12:46:01 2001
Subject: [ic] Authorize.net and custom authorizenet
> From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-
> users-admin@interchange.redhat.com] On Behalf Of Jeff Anderson
>
> Thanks Ron for the support. I am using 4.8.2
>
> Jeff
No problem Jeff. In 4.8.x the payment system changed in that you no
longer need a "custom Authorizenet" globalsub to interface with the
built in Payment routines. Please read:
VEND_ROOT/lib/Vend/Payment/AuthorizeNet.pm to see the instructions for
setting up AuthorizeNet with 4.8.x. After you have done so edit that
same file and remove the '#' before each ::logDebug statement. Then set
DEBUG to 1 in interchange.cfg. Try to check out and see what happens.
If it does not work then open up /tmp/icdebug to see why Authorizenet is
not working correctly. This should point you in the direction of how to
solve your problem. Also once you get it working please put the '#'
back in front of each ::logDebug statement so that the credit card
numbers are not written to disk when your site goes live. Good luck!
-Ron
>
> At 10/15/2001 03:56 PM, you wrote:
> > > From: interchange-users-admin@interchange.redhat.com
> >[mailto:interchange-
> > > users-admin@interchange.redhat.com] On Behalf Of Jeff Anderson
> > >
> > > Good afternoon.
> > >
> > > I am attempting to use Interchange with authorize.net payments and
> >have
> > > added the following to my catalog.cfg
> > >
> > > Variable MV_PAYMENT_ID username
> > > Variable MV_PAYMENT_SECRET password
> > > Variable MV_PAYMENT_MODE custom authorizenet
> > > Variable MV_PAYMENT_REFERER url
> > >
> > > Once I go through my checkout page I get a
> > >
> > > (custom authorizenet): Charge operation 'custom authorizenet'
failed.
> >
> >Which version of Interchange are you using?
> >
> >-Ron
> >
> >
> > > Is there some additional code that I need to place in my form? I
know
> > > that with Minivend there was other form fields that must be added,
but
> >I
> > > am little confused as to how Interchange is working with
> >authorize.net.
> > > Any help would be greatly appreciated.
> > >
> > > I realize that this is a simple question that many of you probably
> > > wouldn't need to ask. I'm sure I will get a few "check the
> > > documentation" answers, these aren't really helpful. I have
already
> > > checked the documentation and it doesn't tell me how to set up the
> > > system for authorize.net (I have been looking at if for four days
> >now.)
> > > If I need to look at the documentation again please let me know
> >exactly
> > > what pages I need to look at.
> > >
> > > Thank you everyone for your help and support, I appreciate it.
> > >
> > > Jeff Anderson
> > > Literati Information Technology.
> > >
> > >
> > > =================================================================
> > > janderson@literati.com
> > >
> > > Jeff Anderson
> > > 1105 Charles Avenue
> > > Morgantown, WV 26505
> > >
> > > (304) 292-0510 - Voice
> > > (304) 291-2066 - Fax / Data
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@interchange.redhat.com
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> =================================================================
> janderson@literati.com
>
> Jeff Anderson
> 1105 Charles Avenue
> Morgantown, WV 26505
>
> (304) 292-0510 - Voice
> (304) 291-2066 - Fax / Data
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Ben Weinberg)
Date: Tue Oct 16 13:03:01 2001
Subject: [ic] Looking for a new web host with Interchange! Can you help me find one
Hello,
You might try looking into the people that host our interchange site. They are very affordable and user friendly. There site is: www.topcu.com
Thanks,
Ben Weinberg
www.3dproducts.com
>>
Hi Im looking for a new web host for my store and it needs to be one that has some experience with interchange. Can anybody give me some suggestions? Im currently with Website Creations in FL. Stay away from them! They are about to get rid of Interchange altogether because they dont know how to use it. Thanks in advance for the input.
Sincerely,
Aaron Hazelton
Vice President
FixtureFactor.com
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Tue Oct 16 13:05:01 2001
Subject: [ic] mv_credit_card_reference
> I didn't see it in your post - did you define this usertag at the catalog
> level or the server level? I think you would need to do the latter in
> order for it to work.
The usertag is server-wide, it is included from the /etc/interchange.cfg.
Javier
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Tue Oct 16 13:13:01 2001
Subject: [ic] where is sale_price defined ?
I am about to add a column to products so I went and edited
products.mysql, just to notice that some columns that exist
in my db are not even defined there. Why is this ?
One such column is sale_price. Where are this defined ?
I did a grep for sale_price in dbconf/mysql and nothing
was returned.
Thanks for any info.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Tue Oct 16 13:20:01 2001
Subject: [ic] mv_credit_card_reference
> Isn't there a [perl allowglobal=1] or some such? Alternatively, what
> we've done here is create a variant on [perl] tag in Interpolate.pm that
> does NOT use Safe; we make heavy use of system calls and external scripts.
>
> If you know how to write that you are aware of the downside; it's not
> a useful or recommended approach for typical catalog. :-)
Thanks for your answer, Christopher.
I would prefer not modifying the interchange server itself unless completely
needed, because that means additional complexity on delivering the catalog:
you have to patch into /usr/lib/interchange, also maintain patches according
to the IC version, etc... The addition of new tags to
/usr/lib/interchange/usertag is the maximum I can afford.
And relating to the system calls, I will also prefer not calling any
external process. This means taking care of additional security risks
(escaping hazardous characters, etc.), and the least permissions I have to
take care of, the best for the delivery process.
Also, if the get-url tag uses LWP and works, why doesn't my tag using POST
instead of GET have to work as well?
Javier
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 16 13:31:01 2001
Subject: [ic] Maintaining Session
Quoting Ed LaFrance (edl@newmediaems.com):
> At 07:04 PM 10/16/2001 -0500, you wrote:
> >hi all,
> > how can we maintain the session using ITL, when we send and process
> >data from interchange to an external server(in a separate window).
> >
> >thanks in advance.
> >joy.
>
> Send the session id to the remote process in a cgi string:
>
> http://www.someurl.com/some/path/page.html?id=nnnnnnnn
>
> ...where 'nnnnnnnn' is the 8-character IC session id; you can invoke it
> with [data session id] when building your remote url. Then just tack in
> into your return-to-catalog url.
If the remote system doesn't allow you to specify the name of
the variable, you can do:
Variable MV_SESSION_ID sessionvar
Then if a http://...../cat?sessionvar=XXXXXXXX comes in, it will be
recognized.
You can also make this global with:
VarName sessionvar mv_session_id
which will automagically translate sessionvar to mv_session_id at
HTTP time. Of course it will prevent any real variable named sessionvar
from being passed in via HTTP.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 16 13:32:44 2001
Subject: [ic] mv_credit_card_reference
Quoting Javier Martin (martin@trymedia.com):
> Mike Heins said:
> Ok, lesson learned... I've changed my GlobalSubs to UserTags, but I am STILL
> having problems :) While I've successfully created an MD5 calculator tag, I
> have another one which tries to post a form to a given URL. This is very
> similar to the get_url tag in the usertag/ directory, but I need the POST
> method not GET, and I would like to obtain the HTTP code and message to
> check for errors too. I call this tag web-service:
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> UserTag web-service Order url code message
> UserTag web-service addAttr
> UserTag web-service Documentation <<EOD
>
> usage: $Tag->web_service($url, $code, $message, $params)
> EOD
>
> UserTag web-service Routine <<EOR
> sub {
>
> my ($url, $code, $message, $data) = @_;
>
> eval {
> require LWP::UserAgent;
> require HTTP::Request::Common;
> };
Here is your problem. You can't do a runtime require under Safe.
Suggest instead:
UserTag web-service Order url code message
UserTag web-service addAttr
UserTag web-service Documentation <<EOD
usage: $Tag->web_service($url, $code, $message, $params)
EOD
UserTag web-service Routine <<EOR
require LWP::UserAgent;
require HTTP::Request::Common;
sub {
Or you can do in Interchange.cfg:
Require module LWP::UserAgent
Require module HTTP::Request::Common
[snip]
>
> Then, what I get is:
>
> "Safe: require trapped by operation mask at (eval 256) line 3."
>
>
As expected.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Light travels faster than sound. This is why some people appear bright
until you hear them speak. -- unknown
From: interchange-users at interchange.redhat.com (Anthony W. Juckel)
Date: Tue Oct 16 13:36:01 2001
Subject: [ic] Repeat Unanswered: Shopping Cart Component modification questions
I posted a message on the mailing list a few weeks back asking about a
problem I was having while trying to modify the shopping cart component.
I received no reply and have since seen at least one other person ask a
very similar question, again, receiving no reply. I just thought I
would ask the question again, and share the information I have
discovered since my initial post.
First of all, the situation boils down to this: I am unable to change
the component parameters for the shopping cart component delivered with
foundation. I can change parameters for other components, and I can
change the body of the cart component, but I cannot modify the
parameters [comment].*[/comment]. I've saved and resaved the changes to
the file templates/component/cart, I've restarted the interchange
server. Heck, I've even since traced through and put debugging messages
in interchange/lib/Vend/Util.pm and
interchange/lib/UI/usertag/read_ui_template.tag to make sure that the
code was reading the correct file. I can see the changes that I saved
in the debugging messages, but I cannot see the effect of those changes
on the Page Edit page within the interchange backend.
My only guess is that there is some sort of caching or default behavior
that I have to override, but I am completely unsure how. I've checked
all the interchange documentation that I can find, and have spent hours
looking over the code trying to trace the data from request to display,
but I can find nothing amiss. I can find no reason for my changes not
to be displayed. If anyone could give me some pointers on this, I would
be most appreciative. Has anyone else run into this same problem? Have
others modified their cart component without incident? Anything
information could be helpful.
Anthony W. Juckel
Using Interchange 4.8.2 on Redhat 7.0 with perl 5.6.0 and the latest
modules downloaded from CPAN.
From: interchange-users at interchange.redhat.com (Birgitt Funk)
Date: Tue Oct 16 14:17:00 2001
Subject: [ic] Nice IC article in German Linux Magazin
Hi all, Dennis Schoen wrote a very nice article about IC in the German Linux
Magazin. Best article I have seen about IC so far.
Birgitt
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From: interchange-users at interchange.redhat.com (Chad Wittrock)
Date: Tue Oct 16 14:30:01 2001
Subject: [ic] Using Oracle DB on another server
I am running IC 4.6 on RH 7.1. I set up my store using the default database
for testing. I would now like to set up the store to use tables stored in an
Oracle DB on another machine. So far I have only found one thread in the
archives of someone else attempting this. Has anyone done this or does
someone have some suggestions for me? If you can point me to the
documentation or give me a hand with this, I would really appreciate it.
I have installed DBD::Oracle and DBI, where do I go from here?
Thanks in advance.
Chad
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
____
| | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu)
\__/ | \| _||_ University of Northern Iowa
From: interchange-users at interchange.redhat.com (Joe Moschak)
Date: Tue Oct 16 14:33:00 2001
Subject: [ic] undefined catalog problem with makecat when domain name has too many characters
When using makecat, I found that when I chose a "Server name" and
"MailOrderTo" which has too many characters in the domain name (I tried
one with 20 characters, then one with 19 characters, not counting the
".com" at the end and both failed), I got an "undefined catalog" error.
When I chose a domain name of fewer characters (7 characters, not
including the ".com" at the end ), the problem went away. I only
experienced this with the "barry" template, so I'm not sure it's a
problem with other templates. I don't know if this is a problem with
only "Server name", only "MailOrderTo" or both; I changed both at the
same time and it worked after that. I am using Interchange 4.8.2. I
post this to possibly save somebody a few hours in the future and hope
this irregularity gets fixed in a future releases.
Joe Moschak
From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.)
Date: Tue Oct 16 14:42:01 2001
Subject: [ic] [Fwd: Naming of RedHat IC Servers]
This is a multi-part message in MIME format.
--------------88AD7A424A46ACB343520258
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
--
Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
--------------88AD7A424A46ACB343520258
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-ID: <3BCC7EAE.A721B154@mmaz.com>
Date: Tue, 16 Oct 2001 11:38:38 -0700
From: "Barry Treahy, Jr." <Treahy@mmaz.com>
MIME-Version: 1.0
To: Interchange Users Group <interchange-users@minivend.com>
CC: ginsberg@redhat.com
Subject: Naming of RedHat IC Servers
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This probably isn't the best location to voice an objection of this
nature, but who within RedHat either lacks the maturity or sensibilities
to name one of your external servers Anthrax?
[root@mml2 akopia.com]# ftp ftp.akopia.com
Connected to anthrax.interchange.redhat.com.
Personally, I believe there are greater concerns than Anthrax, but I
have a lot of people under my responsibility (typically of the female
gender) that have been shaken and highly agitated since the initial
attack and more so with the recent outbreaks of Anthrax. I'm not amused
by RedHat's tremendous lack of sensitivity and ask that someone there
deal with this in a little more professional manner because I certainly
do not need the additional aggravation...
Regards,
Barry Treahy
--
Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
--------------88AD7A424A46ACB343520258--
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Tue Oct 16 15:00:00 2001
Subject: [ic] mv_credit_card_reference
> > UserTag web-service Routine <<EOR
> > sub {
> >
> > my ($url, $code, $message, $data) = @_;
> >
> > eval {
> > require LWP::UserAgent;
> > require HTTP::Request::Common;
> > };
>
> Here is your problem. You can't do a runtime require under Safe.
I've taken them out and placed in interchange.cfg but still the same
problem. Actually the problem occurs somewhere inside the call to
HTTP::Request::Common::POST, so I think that somewhere in the LWP library
they require a module in runtime. This looks more difficult to solve, and
Christopher's idea of a separate process starts making sense to me.
Javier
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 16 15:15:01 2001
Subject: [ic] [Fwd: Naming of RedHat IC Servers]
On Tue, Oct 16, 2001 at 11:40:56AM -0700, Barry Treahy, Jr. wrote:
>
> This probably isn't the best location to voice an objection of this
> nature, but who within RedHat either lacks the maturity or sensibilities
> to name one of your external servers Anthrax?
That is silly. Let's not go there.
--
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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 16 15:21:01 2001
Subject: [ic] mv_credit_card_reference
On Tue, Oct 16, 2001 at 09:00:15PM +0200, Javier Martin wrote:
> > > UserTag web-service Routine <<EOR
> > > sub {
> > >
> > > my ($url, $code, $message, $data) = @_;
> > >
> > > eval {
> > > require LWP::UserAgent;
> > > require HTTP::Request::Common;
> > > };
> >
> > Here is your problem. You can't do a runtime require under Safe.
>
> I've taken them out and placed in interchange.cfg but still the same
> problem. Actually the problem occurs somewhere inside the call to
> HTTP::Request::Common::POST, so I think that somewhere in the LWP library
> they require a module in runtime. This looks more difficult to solve, and
> Christopher's idea of a separate process starts making sense to me.
LWP and HTTP 'use' a raft of other modules. Find out what they are
and you should be able to make it work. Tag or not, write it so
you can test/develop it externally. Performance will be much better
if it is built in and that might matter. Will 'wget' do?
>
> Javier
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Tue Oct 16 15:25:00 2001
Subject: [ic] Nice IC article in German Linux Magazin
On Tue, 16 Oct 2001, Birgitt Funk wrote:
> Hi all, Dennis Schoen wrote a very nice article about IC in the German Linux
> Magazin. Best article I have seen about IC so far.
That is an excellent article. For those who want to read it (in German),
here's the URL:
http://www.linux-magazin.de/ausgabe/2001/10/Interchange/interchange.html
Jon
From: interchange-users at interchange.redhat.com (Bob Lorenzini)
Date: Tue Oct 16 15:30:01 2001
Subject: [ic] [Fwd: Naming of RedHat IC Servers]
On Tue, 16 Oct 2001, Barry Treahy, Jr. wrote:
Barry I'm not affiliated in any way with RedHat but there are many innocent
anthrax references one of which is in popular music. Did you know there is
obscenity in the kernel source?
Bob
From: interchange-users at interchange.redhat.com (Victor Nolton)
Date: Tue Oct 16 15:39:01 2001
Subject: [ic] [Fwd: Naming of RedHat IC Servers]
>Personally, I believe there are greater concerns than Anthrax, but I
>have a lot of people under my responsibility (typically of the female
>gender) that have been shaken and highly agitated since the initial
>attack and more so with the recent outbreaks of Anthrax. I'm not amused
>by RedHat's tremendous lack of sensitivity and ask that someone there
>deal with this in a little more professional manner because I certainly
>do not need the additional aggravation...
I would only be annoyed or offended if Red Hat had named the server
"Anthrax" after the start of the Anthrax scare/situation. But it has
been around for months. And quite frankly, I don't know why anyone
would be upset, you can't catch Anthrax through the internet.
And I guess it they are truely offended, Maybe they should just not
visit the server..
Ven
From: interchange-users at interchange.redhat.com (Ron Phipps)
Date: Tue Oct 16 15:43:00 2001
Subject: [ic] Nice IC article in German Linux Magazin
> From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-
> users-admin@interchange.redhat.com] On Behalf Of Jon Jensen
>
> On Tue, 16 Oct 2001, Birgitt Funk wrote:
>
> > Hi all, Dennis Schoen wrote a very nice article about IC in the
German
> Linux
> > Magazin. Best article I have seen about IC so far.
>
> That is an excellent article. For those who want to read it (in
German),
> here's the URL:
>
>
http://www.linux-magazin.de/ausgabe/2001/10/Interchange/interchange.html
>
> Jon
It was definitely a good article. For the English reading users of the
list you can translate the page here http://world.altavista.com/tr.
See ya,
-Ron
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 16 15:51:00 2001
Subject: [ic] [Fwd: Naming of RedHat IC Servers]
Quoting Victor Nolton (ven@pragakhan.com):
>
> >Personally, I believe there are greater concerns than Anthrax, but I
> >have a lot of people under my responsibility (typically of the female
> >gender) that have been shaken and highly agitated since the initial
> >attack and more so with the recent outbreaks of Anthrax. I'm not amused
> >by RedHat's tremendous lack of sensitivity and ask that someone there
> >deal with this in a little more professional manner because I certainly
> >do not need the additional aggravation...
>
>
> I would only be annoyed or offended if Red Hat had named the server
> "Anthrax" after the start of the Anthrax scare/situation. But it has
> been around for months. And quite frankly, I don't know why anyone
> would be upset, you can't catch Anthrax through the internet.
>
> And I guess it they are truely offended, Maybe they should just not
> visit the server..
All firewall machines at the old Akopia were named for poisons
or other dangerous agents. I believe there was a "cyanide" and
"strychnine" as well.
This predates the current troubles by well over a year.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <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: interchange-users at interchange.redhat.com (Mike Heins)
Date: Tue Oct 16 16:00:01 2001
Subject: [ic] Using Oracle DB on another server
Quoting Chad Wittrock (Chad.Wittrock@uni.edu):
> I am running IC 4.6 on RH 7.1. I set up my store using the default database
> for testing. I would now like to set up the store to use tables stored in an
> Oracle DB on another machine. So far I have only found one thread in the
> archives of someone else attempting this. Has anyone done this or does
> someone have some suggestions for me? If you can point me to the
> documentation or give me a hand with this, I would really appreciate it.
>
> I have installed DBD::Oracle and DBI, where do I go from here?
>
If you were switching to MySQL or Postgres, only step 2 would be
necessary.
1. The big problem with Oracle is that several of the column names
conflict. (Unlike SQL92, Oracle has several more field names that are
not legal.) Search through the base template (/usr/lib/interchange/construct)
for __MVC_FIELDMUNGE__ and find the corresponding place in your
catalog. Add "_fld". The list of files in the
one I have is:
catalog.cfg
config/additional_fields
dbconf/oracle/order_returns.ora
dbconf/oracle/orderline.ora
dbconf/oracle/products.ora
dbconf/oracle/transactions.ora
etc/receipt.html
etc/mail_receipt
etc/ship_notice
etc/report
etc/log_entry
etc/log_transaction
pages/swap_results.html
pages/query/order_detail.html
pages/query/order_return.html
pages/process_return.html
pages/browse.html
pages/results_big.html
pages/flypage.html
pages/recurring_add.html
pages/quantity.html
products/variable.txt
products/order_returns.txt
products/transactions.txt
products/mv_metadata.asc
products/orderline.txt
products/products.txt
templates/components/cart
2. At that point, you just need to set ORACLE to 1, and SQLDSN to
some valid Oracle DSN in variables.txt, restart, and away you should go.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 16 16:15:00 2001
Subject: [ic] where is sale_price defined ?
At 11:22 AM 10/16/2001 -0500, you wrote:
>I am about to add a column to products so I went and edited
>products.mysql, just to notice that some columns that exist
>in my db are not even defined there. Why is this ?
>One such column is sale_price. Where are this defined ?
>
>I did a grep for sale_price in dbconf/mysql and nothing
>was returned.
>
If it is indeed available within Interchange, but is not in
yourcat/dbconf/products.mysql (and I assume you *are* using MySQL) then it
is in the yourcat/products/products.txt file - that is the primary source
of column definitions and data when IC first creates the table. The
products.sql file COLUMN_DEF entries just give you some control over the
data types; otherwise everything would end up as char(128).
There is a reasonably good write up on this and related issues in the docs:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_16.html
- Ed L.
>
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 16 16:19:31 2001
Subject: [ic] Using Oracle DB on another server
At 01:29 PM 10/16/2001 -0500, you wrote:
>I am running IC 4.6 on RH 7.1. I set up my store using the default database
>for testing. I would now like to set up the store to use tables stored in an
>Oracle DB on another machine. So far I have only found one thread in the
>archives of someone else attempting this. Has anyone done this or does
>someone have some suggestions for me? If you can point me to the
>documentation or give me a hand with this, I would really appreciate it.
>
>I have installed DBD::Oracle and DBI, where do I go from here?
>
A client and I just did this with MySQL. I think it would be the same for
other database systems since the changes we needed to make were only for
the values passed to the DBI. Basically you just append a hostname and
port number to the string in SQLDSN, so it looks something like this:
dbi:oracle:db_name:hostname:port_number
... you probably still need to supply a db_username and db_password.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Tue Oct 16 16:22:50 2001
Subject: [ic] Nice IC article in German Linux Magazin
> It was definitely a good article. For the English reading users of the
> list you can translate the page here http://world.altavista.com/tr.
AltaVista did not work...
Try this link instead for an English version:
http://translate.google.com/translate?hl=en&sl=de&u=http://www.linux-magazin
.de/ausgabe/2001/10/Interchange/interchange.html
Rene
From: interchange-users at interchange.redhat.com (Chad Wittrock)
Date: Tue Oct 16 16:35:00 2001
Subject: [ic] Using Oracle DB on another server
Thanks Mike, I will give this a shot.
Chad
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.COM
> [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Mike
> Heins
> Sent: Tuesday, October 16, 2001 3:00 PM
> To: interchange-users@interchange.redhat.COM
> Subject: Re: [ic] Using Oracle DB on another server
>
>
> Quoting Chad Wittrock (Chad.Wittrock@uni.edu):
> > I am running IC 4.6 on RH 7.1. I set up my store using the
> default database
> > for testing. I would now like to set up the store to use tables
> stored in an
> > Oracle DB on another machine. So far I have only found one thread in the
> > archives of someone else attempting this. Has anyone done this or does
> > someone have some suggestions for me? If you can point me to the
> > documentation or give me a hand with this, I would really appreciate it.
> >
> > I have installed DBD::Oracle and DBI, where do I go from here?
> >
>
> If you were switching to MySQL or Postgres, only step 2 would be
> necessary.
>
> 1. The big problem with Oracle is that several of the column names
> conflict. (Unlike SQL92, Oracle has several more field names that are
> not legal.) Search through the base template
> (/usr/lib/interchange/construct)
> for __MVC_FIELDMUNGE__ and find the corresponding place in your
> catalog. Add "_fld". The list of files in the
> one I have is:
>
> catalog.cfg
> config/additional_fields
> dbconf/oracle/order_returns.ora
> dbconf/oracle/orderline.ora
> dbconf/oracle/products.ora
> dbconf/oracle/transactions.ora
> etc/receipt.html
> etc/mail_receipt
> etc/ship_notice
> etc/report
> etc/log_entry
> etc/log_transaction
> pages/swap_results.html
> pages/query/order_detail.html
> pages/query/order_return.html
> pages/process_return.html
> pages/browse.html
> pages/results_big.html
> pages/flypage.html
> pages/recurring_add.html
> pages/quantity.html
> products/variable.txt
> products/order_returns.txt
> products/transactions.txt
> products/mv_metadata.asc
> products/orderline.txt
> products/products.txt
> templates/components/cart
>
> 2. At that point, you just need to set ORACLE to 1, and SQLDSN to
> some valid Oracle DSN in variables.txt, restart, and away you should go.
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> Being against torture ought to be sort of a bipartisan thing.
> -- Karl Lehenbauer
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Tue Oct 16 16:44:00 2001
Subject: [ic] mv_credit_card_reference
cfm@maine.com writes:
> On Tue, Oct 16, 2001 at 09:00:15PM +0200, Javier Martin wrote:
> > > > UserTag web-service Routine <<EOR
> > > > sub {
> > > >
> > > > my ($url, $code, $message, $data) = @_;
> > > >
> > > > eval {
> > > > require LWP::UserAgent;
> > > > require HTTP::Request::Common;
> > > > };
> > >
> > > Here is your problem. You can't do a runtime require under Safe.
> >
> > I've taken them out and placed in interchange.cfg but still the same
> > problem. Actually the problem occurs somewhere inside the call to
> > HTTP::Request::Common::POST, so I think that somewhere in the LWP library
> > they require a module in runtime. This looks more difficult to solve, and
> > Christopher's idea of a separate process starts making sense to me.
>
> LWP and HTTP 'use' a raft of other modules. Find out what they are
> and you should be able to make it work. Tag or not, write it so
> you can test/develop it externally. Performance will be much better
> if it is built in and that might matter. Will 'wget' do?
Speaking of that, it would be nice to have an external interface
(probably via a Perl module) to IC functionalities without running
an server.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Tue Oct 16 17:30:01 2001
Subject: [ic] multiple currencies
Hello all,
Have anyone experimented with multiple currencies and interchange ?
What about tax localization and localization of currency as such.
I want to do Euro and danish kroner...any luck here ?
--
med venlig hilsen / Best Regards
Bernino Lind +45 7021 0050
catpipe Systems ApS - www.catpipe.net
Best done FreeBSD solutions
From: interchange-users at interchange.redhat.com (Fiber Connect)
Date: Tue Oct 16 17:53:01 2001
Subject: [ic] Inventory numbers displayed on page
Hi Jim/Anthon,
The problems u ppl are referring to can be sorted by adding a field to
the inventory table.
There should be field called Hold_qty.
Hence if an order is made the hold_qty field shuld be populated with the
ordered qty.
Which can always specify that a desired amount of quantity has been reserved
in the inventory.
However at the time of order processing the physical qty can be reduced to
specify the allocated
qty.
when a specific order is cancelled or is deleted then the hold qty can be
subtracted.
Hope this solves the problem to a certain extent
Cheers
Balaji
----- Original Message -----
From: "Anton van de Plas" <avdplas@addaction.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 16, 2001 6:32 AM
Subject: RE: [ic] Inventory numbers displayed on page
> Hi Jim,
>
> Luckily the store I need it for only receives orders from resellers, so no
> payment problems, just an indicator how many are still in stock. By the
way
> for those interested I solved the problem: I have added [item-data
inventory
> quantity] to the flypage.html
>
> Anton
>
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim
> Balcom
> Sent: Monday, October 15, 2001 8:37 PM
> To: interchange-users@interchange.redhat.com
> Subject: Re: [ic] Inventory numbers displayed on page
>
>
> On Mon, 15 Oct 2001, Anton van de Plas wrote:
>
> AvdP>>How could the actual number of the item in stock be shown in stead
of
> the
> AvdP>>"Y". So with 100 in stock it would show "100" when looking at the
> AvdP>>description of the item.
>
> If you are using 4.6, it ain't worth it. And, I've been given the
impression
> that the same is true in 4.8.
>
> Orders don't decrement the inventory count.
> A customer can order 1000 even though there are only 15 in stock.
>
> But, correcting this begs a lot of problems.
>
> The person orders 10 units. Does the inventory get decremented when the
> person checks out?
>
> Supposing the person is going to mail in payment? Does it still get
> decremented at check out? Supposing payment never arrives?
>
> Supposing the person is using a credit card, and we are not getting
approval
> at the time of the sale and the credit card is declined?
>
> How about if we wait until we change the status of the order when we ship,
> and we decrement the inventory then? But, we have shipped out 10 units and
> there are only 5 left. But when the next customer comes along the
inventory
> still shows 15 units, and that customer orders all 15. By that time, there
> are only 5 left to ship to the customer, but they don't know that. If the
> charge card processing is automatic, then their card gets charged for 15,
> but they only get 5.
>
> I don't have a solution!
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Monday, October 15, 2001 at 20:20 PM:
> Catacomb (n.) - used for brushing cat hair.
>
> ----------------------------------------------------------------
> This Linux System has been up 48 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Tue Oct 16 17:57:00 2001
Subject: [ic] mv_credit_card_reference
On 16 Oct 2001, Stefan Hornburg (Racke) wrote:
> Speaking of that, it would be nice to have an external interface
> (probably via a Perl module) to IC functionalities without running
> an server.
There is perl/Interchange.pm in the distribution (CVS, at least). I don't
know if it's lived up to its potential or not.
Jon
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 16 18:42:00 2001
Subject: [ic] mv_credit_card_reference
On Tue, Oct 16, 2001 at 10:41:15PM +0200, Stefan Hornburg (Racke) wrote:
> Speaking of that, it would be nice to have an external interface
> (probably via a Perl module) to IC functionalities without running
> an server.
Seems to me that IC is not particularly useful where one does not need the
daemon/session manager. Certainly the compile time is out of line for
one-shot calls. I was under the impression that the SOAP API might provide
such an external interface. We've not been able to play with that here,
still stuck in 4.03.
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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Wed Oct 17 02:31:01 2001
Subject: [ic] Maintaining Session
hi,
thanks ed. but i'm sending the data to the external server in
javascript. so if i try to send [data session id] as a hidden element in
post method, it gives error. can u suggest what should i do to overcome
this.
thanks in advance.
joy
----- Original Message -----
From: Ed LaFrance <edl@newmediaems.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 16, 2001 10:54 AM
Subject: Re: [ic] Maintaining Session
> At 07:04 PM 10/16/2001 -0500, you wrote:
> >hi all,
> > how can we maintain the session using ITL, when we send and
process
> >data from interchange to an external server(in a separate window).
> >
> >thanks in advance.
> >joy.
>
> Send the session id to the remote process in a cgi string:
>
> http://www.someurl.com/some/path/page.html?id=nnnnnnnn
>
> ...where 'nnnnnnnn' is the 8-character IC session id; you can invoke it
> with [data session id] when building your remote url. Then just tack in
> into your return-to-catalog url.
>
> - Ed L.
>
>
> >----- Original Message -----
> >From: Fiber Connect <fctmaillist@megasoft.com>
> >To: <interchange-users@interchange.redhat.com>
> >Sent: Monday, October 15, 2001 8:27 AM
> >Subject: Re: [ic] Documents
> >
> >
> > > > hi All,
> > > > Its feels really exciting to be a part of this list. Iam a new
> > > entrant
> > > > into the world of interchange.
> > > > My current job involves into understanding Interchange, its
> > > functionalities
> > > > the tables that gets
> > > > populated with respective data and maybe prepare an analysis report
of
> > > what
> > > > is available
> > > > from Interchange apropos to my requirement and maybe need to design
more
> > > > features and
> > > > functions in accordance to the requirements.
> > > >
> > > > Iam currently lookin for some functional documents that specify in
clear
> > > of
> > > > what each and
> > > > every option of interchange Admin interface allows me to do and
where
> > > these
> > > > data are getting
> > > > reflected at the tables.
> > > > FYI, i have confiugred PostgreSQL as my database.
> > > >
> > > > Lookin for immense help from this list.
> > > >
> > > > Thnx in advance,
> > > > Balaji
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@interchange.redhat.com
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> ===============================================================
> New Media E.M.S. Software Solutions for Business
> 463 Main St., Suite D eCommerce | Consulting | Hosting
> Placerville, CA 95667 edl@newmediaems.com
> (530) 622-9421 http://www.newmediaems.com
> (866) 519-4680 Toll-Free (530) 622-9426 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Wed Oct 17 03:11:01 2001
Subject: [ic] Nice IC article in German Linux Magazin
Jon Jensen wrote:
>
> On Tue, 16 Oct 2001, Birgitt Funk wrote:
>
> > Hi all, Dennis Schoen wrote a very nice article about IC in the German Linux
> > Magazin. Best article I have seen about IC so far.
>
> That is an excellent article. For those who want to read it (in German),
> here's the URL:
>
> http://www.linux-magazin.de/ausgabe/2001/10/Interchange/interchange.html
And for those who want to read more about it in German, here's are some
articles. I found it ca. 3 years ago and is very usefull. :-)
http://www.linuxia.de/vortrag1.de.html
and
http://www.linuxia.de/minivend.de.html
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 17 03:29:04 2001
Subject: [ic] Nice IC article in German Linux Magazin
Jon Jensen <jon@redhat.com> writes:
> On Tue, 16 Oct 2001, Birgitt Funk wrote:
>
> > Hi all, Dennis Schoen wrote a very nice article about IC in the German Linux
> > Magazin. Best article I have seen about IC so far.
>
> That is an excellent article. For those who want to read it (in German),
> here's the URL:
>
> http://www.linux-magazin.de/ausgabe/2001/10/Interchange/interchange.html
If you would like to read the article in English, you may ask the
publishers of the English sister paper if they planning to present
this article (an older article of Dennis appeared in both magazines).
Their web site can be found at http://www.livepublishing.co.uk/linux/.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Wed Oct 17 03:32:00 2001
Subject: [ic] Maintaining Session
hi all,
can any one tell me how i can use [item-code ] tag in javascript. when i
tried using this tag in javascript, it shows an error.
thanks in advance.
joyce.j.
----- Original Message -----
From: fctmaillist <fctmaillist@megasoft.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, October 16, 2001 7:04 PM
Subject: [ic] Maintaining Session
> hi all,
> how can we maintain the session using ITL, when we send and
process
> data from interchange to an external server(in a separate window).
>
> thanks in advance.
> joy.
>
> ----- Original Message -----
> From: Fiber Connect <fctmaillist@megasoft.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Monday, October 15, 2001 8:27 AM
> Subject: Re: [ic] Documents
>
>
> > > hi All,
> > > Its feels really exciting to be a part of this list. Iam a new
> > entrant
> > > into the world of interchange.
> > > My current job involves into understanding Interchange, its
> > functionalities
> > > the tables that gets
> > > populated with respective data and maybe prepare an analysis report of
> > what
> > > is available
> > > from Interchange apropos to my requirement and maybe need to design
more
> > > features and
> > > functions in accordance to the requirements.
> > >
> > > Iam currently lookin for some functional documents that specify in
clear
> > of
> > > what each and
> > > every option of interchange Admin interface allows me to do and where
> > these
> > > data are getting
> > > reflected at the tables.
> > > FYI, i have confiugred PostgreSQL as my database.
> > >
> > > Lookin for immense help from this list.
> > >
> > > Thnx in advance,
> > > Balaji
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Wed Oct 17 04:50:01 2001
Subject: [ic] Maintaining Session
At 11:06 AM 10/17/01, you wrote:
>hi all,
> can any one tell me how i can use [item-code ] tag in javascript. when i
>tried using this tag in javascript, it shows an error.
>
>thanks in advance.
>joyce.j.
Joyce,
This is a very open ended question,
but for the sake of an example:
<SCRIPT LANGUAGE="JavaScript"><!--
function item_code(e) {
alert ("Item code is: \n" + e );
return false;
}
//--></SCRIPT>
<a href="[item-code]"
onMouseOver="item_code('[item-code]')">
[item-code]</a>
simply test via hard-coded (ie replace [item-code] above
with 1234 for example) until the javascript works, then replace
the [item-code].
Obviously [item-code] must be used within a context for which
it is meant like a search or loop list see:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_3.html#sub_PREFIX-code
Just remember you CAN use quotes within ic tags within javascript, because
the parser will convert (hopefully ;-) your ic code into a value which will
then
be placed within the javascript code before the browser ever sees it.
Hope this helps,
(If this doesn't help, please post a sample of the code in question)
Kyle Cook
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Wed Oct 17 04:55:00 2001
Subject: [ic] Maintaining Session
hi all,
this is regarding the tables. can any one explain the functionality of
the Ground table. all that i can understand is that it is used for shipping
rates. but i need to know how that table is maintained. can any one
explain the fields in that table.
thanks in advance.
jj
----- Original Message -----
From: fctmaillist <fctmaillist@megasoft.com>
To: <interchange-users@interchange.redhat.com>
Sent: Wednesday, October 17, 2001 1:06 PM
Subject: Re: [ic] Maintaining Session
> hi all,
> can any one tell me how i can use [item-code ] tag in javascript. when
i
> tried using this tag in javascript, it shows an error.
>
> thanks in advance.
> joyce.j.
> ----- Original Message -----
> From: fctmaillist <fctmaillist@megasoft.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Tuesday, October 16, 2001 7:04 PM
> Subject: [ic] Maintaining Session
>
>
> > hi all,
> > how can we maintain the session using ITL, when we send and
> process
> > data from interchange to an external server(in a separate window).
> >
> > thanks in advance.
> > joy.
> >
> > ----- Original Message -----
> > From: Fiber Connect <fctmaillist@megasoft.com>
> > To: <interchange-users@interchange.redhat.com>
> > Sent: Monday, October 15, 2001 8:27 AM
> > Subject: Re: [ic] Documents
> >
> >
> > > > hi All,
> > > > Its feels really exciting to be a part of this list. Iam a new
> > > entrant
> > > > into the world of interchange.
> > > > My current job involves into understanding Interchange, its
> > > functionalities
> > > > the tables that gets
> > > > populated with respective data and maybe prepare an analysis report
of
> > > what
> > > > is available
> > > > from Interchange apropos to my requirement and maybe need to design
> more
> > > > features and
> > > > functions in accordance to the requirements.
> > > >
> > > > Iam currently lookin for some functional documents that specify in
> clear
> > > of
> > > > what each and
> > > > every option of interchange Admin interface allows me to do and
where
> > > these
> > > > data are getting
> > > > reflected at the tables.
> > > > FYI, i have confiugred PostgreSQL as my database.
> > > >
> > > > Lookin for immense help from this list.
> > > >
> > > > Thnx in advance,
> > > > Balaji
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Wed Oct 17 05:27:01 2001
Subject: Possible BUG in OPTIONS tag WAS:"[ic] [item-options] + javascript"
Hi List,
i don't know why nobody _answered_ my request ;( so i decided to fix it.
i do not really know wether it is a bug or not and my solution for this
problem is not the best (my perl is as good as my english!) so i think
if someone of you has any idea of fixing this problem without my "dirty"
workaround i will be very glad!!!!
my code is placed in the sub "tag_accessories" in the file
"/usr/local/interchange/lib/Vend/Interpolate.pm".
it looks for the possible options saved in $data and trys to find the
entry for each option in the options table. wether it find the entry or
not it adds the option to the option array @opts.
so if you want to change it try it out!
goto line 2263 and delete:
my @opts = split /\s*$delimiter\s*/, $data;
insert:
## # START byT.
# removes options which are not in the database
# but in the o_value field
::logGlobal("filter opts for '".$code,"'");
my @my_bufopt = split /\s*$delimiter\s*/, $data; ## # NOT byT.
my ($my_option, $my_dbq, $my_arr, $my_sku, $my_ref);
my @my_line;
my @opts;
## # funny stuff
$opt = get_option_hash($opt);
my $table = $opt->{table} || $::Variable->{MV_OPTION_TABLE} ||
'options';
my $db = $Db{$table} || Vend::Data::database_exists_ref($table);
$my_dbq = "SELECT code FROM options WHERE sku = '".$code."' AND
o_group = '' ORDER BY sku";
$my_arr = $db->query($my_dbq);
foreach $my_option (@my_bufopt) {
@my_line = split /=/, $my_option;
# FIXME: not very fast!
foreach $my_ref (@$my_arr) {
if ($code."-".@my_line[0] eq $my_ref->[0]) {
push @opts, $my_option;
}
}
}
## # END byT.
_cu_ (mit freundliche Grüßen)
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Wed Oct 17 06:40:01 2001
Subject: Possible BUG in OPTIONS tag WAS:"[ic] [item-options] + javascript"
Tobias Henle wrote:
Hm,
not really a good idea!!! i have a problem with the ui now, trying to
fix it!
> Hi List,
>
> i don't know why nobody _answered_ my request ;( so i decided to fix it.
> i do not really know wether it is a bug or not and my solution for this
> problem is not the best (my perl is as good as my english!) so i think
> if someone of you has any idea of fixing this problem without my "dirty"
> workaround i will be very glad!!!!
>
> my code is placed in the sub "tag_accessories" in the file
> "/usr/local/interchange/lib/Vend/Interpolate.pm".
>
> it looks for the possible options saved in $data and trys to find the
> entry for each option in the options table. wether it find the entry or
> not it adds the option to the option array @opts.
>
> so if you want to change it try it out!
>
> goto line 2263 and delete:
> my @opts = split /\s*$delimiter\s*/, $data;
> insert:
> ## # START byT.
> # removes options which are not in the database
> # but in the o_value field
> ::logGlobal("filter opts for '".$code,"'");
> my @my_bufopt = split /\s*$delimiter\s*/, $data; ## # NOT byT.
> my ($my_option, $my_dbq, $my_arr, $my_sku, $my_ref);
> my @my_line;
> my @opts;
>
> ## # funny stuff
> $opt = get_option_hash($opt);
> my $table = $opt->{table} || $::Variable->{MV_OPTION_TABLE} ||
> 'options';
> my $db = $Db{$table} || Vend::Data::database_exists_ref($table);
>
> $my_dbq = "SELECT code FROM options WHERE sku = '".$code."' AND
> o_group = '' ORDER BY sku";
> $my_arr = $db->query($my_dbq);
>
> foreach $my_option (@my_bufopt) {
> @my_line = split /=/, $my_option;
> # FIXME: not very fast!
> foreach $my_ref (@$my_arr) {
> if ($code."-".@my_line[0] eq $my_ref->[0]) {
> push @opts, $my_option;
> }
> }
> }
> ## # END byT.
>
>
>
>
> _cu_ (mit freundliche Grüßen)
>
> -Tobias Henle
> _ _ _
> __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
> \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
> \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
> --
> ________E-Mail________________________URL____________________________
> mailto:t.henle@thiesen.com http://www.thiesen.com
> _____________________________________________________________________
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
mit freundliche Grüßen
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (joel)
Date: Wed Oct 17 07:05:00 2001
Subject: [ic] Problem with PerlModule :(
Hi !
I receive the following error in the error.log if i try to start the
Item_edit in the Adminzone :
194.77.116.24 gwqep6CC:194.77.116.24 - [17/Oktober/2001:11:56:04 +0200]
foundation2 /cgi-bin/foundation2/admin/item_edit Runtime error: Goto
undefined subroutine &Carp::shortmess_heavy at /usr/lib/perl5/5.6.0/Carp.pm
line 110.
What can i do ?
mfg. Joel
From: interchange-users at interchange.redhat.com (Jerry)
Date: Wed Oct 17 07:38:00 2001
Subject: [ic] Multiple Pricing
We accomplish this quiet easily using the set locale tag.
Haven't done this yet 4.8 but I don't see why it wouldn't
work the same as 4.6. You can easily set a different price field
based on the locale setting. We added a field to the userdb which
gets read at login and is used to SET LOCALE for that user. The
PRICE FIELD is automatically set to the proper field and the
user sees those prices. We use this so retail, wholesale and
distributors may all order from the same site.
I'm sure there are other ways to accomplish this, but this
required the fewest changes and eliminates the need to make
any changes to product display pages like results, fly page,
basket or checkeout.
Hope this helps...
Jerry
> In the Products area of IC, I see "Product Price" and "Dealer Price".
>
> Question #1: What is this DEALER PRICE? I always thought it was affiliate
> pricing. Does not appear to be or at least I can't get it to work.
>
> I have a potential client who needs 4 different prices for each product:
> Retail Pricing, Reseller Pricing, Educational Pricing and Government
> Pricing.
>
> How can I have 4 different customer types log in and see 4
> different prices,
> respectively.
[SNIP]
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Wed Oct 17 07:49:01 2001
Subject: Possible BUG in OPTIONS tag WAS:"[ic] [item-options] + javascript"
Hi sorry for all!!! (the traffic)
i couldn't find the problem, but after deleting the options database the
problem disappears.
so i think it was just a stupid mistake from me!!!
mit freundliche Grüßen
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 17 07:51:48 2001
Subject: [ic] mv_credit_card_reference
cfm@maine.com writes:
> On Tue, Oct 16, 2001 at 10:41:15PM +0200, Stefan Hornburg (Racke) wrote:
> > Speaking of that, it would be nice to have an external interface
> > (probably via a Perl module) to IC functionalities without running
> > an server.
>
> Seems to me that IC is not particularly useful where one does not need the
> daemon/session manager. Certainly the compile time is out of line for
> one-shot calls.
Just loading the needed Perl modules and some initialization code should
be fast enough, at least for testing and development purposes.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Chad Wittrock)
Date: Wed Oct 17 10:29:01 2001
Subject: [ic] Using Oracle DB on another server
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.COM
> [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Mike
> Heins
> Sent: Tuesday, October 16, 2001 3:00 PM
> To: interchange-users@interchange.redhat.COM
> Subject: Re: [ic] Using Oracle DB on another server
>
>
> Quoting Chad Wittrock (Chad.Wittrock@uni.edu):
> > I am running IC 4.6 on RH 7.1. I set up my store using the
> default database
> > for testing. I would now like to set up the store to use tables
> stored in an
> > Oracle DB on another machine. So far I have only found one thread in the
> > archives of someone else attempting this. Has anyone done this or does
> > someone have some suggestions for me? If you can point me to the
> > documentation or give me a hand with this, I would really appreciate it.
> >
> > I have installed DBD::Oracle and DBI, where do I go from here?
> >
>
> If you were switching to MySQL or Postgres, only step 2 would be
> necessary.
>
> 1. The big problem with Oracle is that several of the column names
> conflict. (Unlike SQL92, Oracle has several more field names that are
> not legal.) Search through the base template
> (/usr/lib/interchange/construct)
> for __MVC_FIELDMUNGE__ and find the corresponding place in your
> catalog. Add "_fld". The list of files in the
> one I have is:
>
I am a little fuzzy on Step 1. Do I replace *every* instance of
__MVC_FIELDMUNGE__ with '_fld'? If I set __MVC_FIELDMUNGE__ to _fld in
catalog.cfg wouldn't that "replace" it everywhere else when things are
executed? To do this could I just insert this into catalog.cfg:
<snip>
...
Variable FIELDMUNGE __MVC_FIELDMUNGE__
<insert>
Variable __MVC_FIELDMUNGE__ _fld
</insert>
...
</snip>
Or will this not work and I need to replace every instance of
__MVC_FIELDMUNGE__?
> catalog.cfg
> config/additional_fields
> dbconf/oracle/order_returns.ora
> dbconf/oracle/orderline.ora
> dbconf/oracle/products.ora
> dbconf/oracle/transactions.ora
> etc/receipt.html
> etc/mail_receipt
> etc/ship_notice
> etc/report
> etc/log_entry
> etc/log_transaction
> pages/swap_results.html
> pages/query/order_detail.html
> pages/query/order_return.html
> pages/process_return.html
> pages/browse.html
> pages/results_big.html
> pages/flypage.html
> pages/recurring_add.html
> pages/quantity.html
> products/variable.txt
> products/order_returns.txt
> products/transactions.txt
> products/mv_metadata.asc
> products/orderline.txt
> products/products.txt
> templates/components/cart
>
> 2. At that point, you just need to set ORACLE to 1, and SQLDSN to
> some valid Oracle DSN in variables.txt, restart, and away you should go.
>
Also then with Step two to "set Oracle to 1" I would change the line
Variable SOME_DATABASE 1
to
Variable ORACLE 1
in the catalog.cfg within the database section under the Oracle section.
Right?
Thanks in advance.
Chad
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> Being against torture ought to be sort of a bipartisan thing.
> -- Karl Lehenbauer
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 17 10:32:01 2001
Subject: Possible BUG in OPTIONS tag WAS:"[ic] [item-options] + javascript"
Quoting Tobias Henle (t.henle@thiesen.com):
> Hi List,
>
> i don't know why nobody _answered_ my request ;( so i decided to fix it.
> i do not really know wether it is a bug or not and my solution for this
> problem is not the best (my perl is as good as my english!) so i think
> if someone of you has any idea of fixing this problem without my "dirty"
> workaround i will be very glad!!!!
>
> my code is placed in the sub "tag_accessories" in the file
> "/usr/local/interchange/lib/Vend/Interpolate.pm".
>
> it looks for the possible options saved in $data and trys to find the
> entry for each option in the options table. wether it find the entry or
> not it adds the option to the option array @opts.
>
> so if you want to change it try it out!
>
> goto line 2263 and delete:
> my @opts = split /\s*$delimiter\s*/, $data;
I saw your question, but I don't/can't answer questions I don't
understand.
It looks like you are trying to make [item-accessories ...] automatically
pick up options from the database.
That is what [item-options] is for. Or perhaps I don't understand
the question.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Prove you aren't stupid. Say NO to Passport.
From: interchange-users at interchange.redhat.com (Bas Bezemer)
Date: Wed Oct 17 10:35:01 2001
Subject: [ic] Interchange with WN www-server
Hi All,
More than a week a ago I posted a question about running Interchange on
a server running a WN www-server. Jim and CFM answered but untill now I
was not able to answer them. Still having problems.
cfm@maine.com wrote:
> On Thu, Oct 04, 2001 at 12:50:35PM +0200, Bas Bezemer wrote:
> > Hi All,
> >
> > I'm trying to install the latest Interchange on a linux server running a
> > WN www-server. I can't get it to work properly and I'm not sure if it is
> > due to permission issues set by the provider or WN-related things.
> >
> > The installation of Interchange (execute configure) seems to be ok. And
> > de interchange server runs as well. But from here on the problems start.
> > First of all I must use the perl versions of tlink (tlink.pl) and vlink
> > (vlink.pl), because I have no permission to run de binaries. Running the
> > scripts calling from a browser returns a WN-server error message. If I
> > call the script from the command line, like:
> > ./tlink.cgi name1 name2
> > An error message is returned saying:
> > Unknown catalog: name2
> >
> > That's curious because this is a line that is generated by
> > bin/interchange. So tlink and vlink are able to communicate with the
> > interchange server but the catalogs can't be reached.
>
> IC and WN play just fine together, though I'm not sure that makecat will.
> Given the wild popularity of WN, I'd not investigate that.
>
> We install it like this (where ic473 is the version):
>
> tlink/vlink in /usr/cgi as /usr/cgi/ic473.cgi (versioned)
>
> Then within a particular catalog, <catalog>.cgi is a symlink
> to /usr/cgi/ic473. We don't bother with cgi-bin construct.
>
> tlink/vlink can be perl if you want. I can't see why you would have
> a problem running binaries if you built them. Hmmm, maybe you are running
> WN with suexec? WN has a sample.cgi in the docs/examples. Put that
> in place of your vlink and it will dump your CGI environment and the
> WN special variables.
>
> cfm
I don't understand how the symlink suggestion could help me. And you
write that you don's use makecat to start a catalog from. What do you do
instead?.
I suspect that the properties of the server are set to execute script
files only. Further there are some error messages during makecat.
run "sh /home/users27/durmaz/catalogs/inet2/config/makedirs"? y
chmod: /home/users27/durmaz/catalogs/inet2/logs: Operation not permitted
chmod: /home/users27/durmaz/catalogs/inet2/orders: Operation not
permitted
chmod: /home/users27/durmaz/catalogs/inet2/session: Operation not
permitted
chmod: /home/users27/durmaz/catalogs/inet2/tmp: Operation not permitted
The script "makecat" tries to set permissions to "2770". Which is not
permitted as the message says. Is this the suexec connection?
At the bottom you find the output of a sample.cgi script. I'm not sure
that it is generated on exactly the same server as my account is running
from.
Jim Balcom wrote:
>
> On Thu, 4 Oct 2001, Bas Bezemer wrote:
>
> BB>>The installation of Interchange (execute configure) seems to be ok. And
> BB>>de interchange server runs as well. But from here on the problems start.
> BB>>First of all I must use the perl versions of tlink (tlink.pl) and vlink
> BB>>(vlink.pl), because I have no permission to run de binaries. Running the
> BB>>scripts calling from a browser returns a WN-server error message. If I
>
> What's the error message?
>
> Make sure that you have an index.cache in each directory that you are going
> to serve from, or you will get errors.
>
> What URL are you putting in the browser to try to get to it?
>
> -= Jim =-
The errormessage I get is (from http://www.domain.nl/inet.cgi):
Error code 500
Read error
WN/2.2.9
With respect to the index.cache, all the files are indexed under the
"www"-directory. But the "catalogs/"-directory is not positioned under
the "www"-directory. I've tried to put it under www and had it indexed.
But no results. Is there a way to test if the sockets are open for
communication with interchange?
I hope this gives you some leads.
Regards,
Bas Bezemer
Here are some standard CGI environment variables:
PATH_INFO =
AUTH_TYPE =
SERVER_SOFTWARE = WN/2.2.9
SERVER_NAME = www.helpdesk.domain.nl
SERVER_PROTOCOL = HTTP/1.0
SERVER_PORT = 80
HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
image/png, */*
HTTP_ACCEPT_CHARSET = iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE = en
HTTP_RANGE =
HTTP_REFERER = http://www.helpdesk.domain.nl/docs/examples/
HTTP_USER_AGENT = Mozilla/4.77 [en] (X11; U; Linux 2.2.5-22 i586)
HTTP_FROM =
HTTP_HOST = www.helpdesk.domain.nl
HTTP_COOKIE = Test=test_cookie_value
PATH_TRANSLATED =
SCRIPT_NAME = /docs/examples/sample.cgi
SCRIPT_FILENAME =
/home/www/helpdesk.domain.nl/www/docs/examples/sample.cgi
QUERY_STRING =
REMOTE_HOST = a123456.upc-a.chello.nl
REMOTE_ADDR = 12.345.678.90
REQUEST_METHOD = GET
Non-CGI variables provided by the WN server:
URL_SCHEME = http
DOCUMENT_ROOT = /home/www/helpdesk.domain.nl/www
WN_DIR_PATH = /home/www/helpdesk.domain.nl/www/docs/examples
REMOTE_PORT = 1449
HTTP_POST_FILE =
HTTP_PUT_FILE =
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 17 10:36:25 2001
Subject: [ic] Multiple Pricing
Quoting Jerry (jerry@data-logic.com):
> We accomplish this quiet easily using the set locale tag.
> Haven't done this yet 4.8 but I don't see why it wouldn't
> work the same as 4.6. You can easily set a different price field
> based on the locale setting. We added a field to the userdb which
> gets read at login and is used to SET LOCALE for that user. The
> PRICE FIELD is automatically set to the proper field and the
> user sees those prices. We use this so retail, wholesale and
> distributors may all order from the same site.
>
> I'm sure there are other ways to accomplish this, but this
> required the fewest changes and eliminates the need to make
> any changes to product display pages like results, fly page,
> basket or checkeout.
There is a special directive, "Profile", which is designed
to accomplish this as well. It works a lot like Locale.
There is an example of how to use it to set three separate
price types -- dealer, distributor, and normal. It is in
the tools sampledata template, file etc/after.cfg.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 17 10:42:00 2001
Subject: [ic] mv_credit_card_reference
Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> cfm@maine.com writes:
>
> > On Tue, Oct 16, 2001 at 10:41:15PM +0200, Stefan Hornburg (Racke) wrote:
> > > Speaking of that, it would be nice to have an external interface
> > > (probably via a Perl module) to IC functionalities without running
> > > an server.
> >
> > Seems to me that IC is not particularly useful where one does not need the
> > daemon/session manager. Certainly the compile time is out of line for
> > one-shot calls.
>
> Just loading the needed Perl modules and some initialization code should
> be fast enough, at least for testing and development purposes.
>
You can use a couple of the modules for external programs, but
Christopher is right -- everything I have done in the code heavily
sacrifices up-front compilation time for later run-time speed.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.)
Date: Wed Oct 17 11:05:01 2001
Subject: [ic] multiple currencies
Bernino Lind wrote:
> Hello all,
>
> Have anyone experimented with multiple currencies and interchange ?
Yes, on the same page for our UK office we she the Foreign US$ resale
price and their UK Pounds purchase price... But what we did was for a
3.14-5 MV systems and we are in the process of completely redesigning to
use IC, so the information I could offer may outdated and incorrect for
IC, we'll be going through another learing/adaption process...
>
>
> What about tax localization and localization of currency as such.
We add VAT, but that is it...
>
>
> I want to do Euro and danish kroner...any luck here ?
Haven't done either, sorry it should be no more difficult that $ and the
pound...
Regards,
Barry
--
Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 17 11:21:01 2001
Subject: [ic] Interchange with WN www-server
On Wed, Oct 17, 2001 at 04:31:20PM +0200, Bas Bezemer wrote:
> Hi All,
>
> More than a week a ago I posted a question about running Interchange on
> a server running a WN www-server. Jim and CFM answered but untill now I
> was not able to answer them. Still having problems.
>
> cfm@maine.com wrote:
> > On Thu, Oct 04, 2001 at 12:50:35PM +0200, Bas Bezemer wrote:
> > > Hi All,
> > >
> > > I'm trying to install the latest Interchange on a linux server running a
> > > WN www-server. I can't get it to work properly and I'm not sure if it is
> > > due to permission issues set by the provider or WN-related things.
> > >
> > > The installation of Interchange (execute configure) seems to be ok. And
> > > de interchange server runs as well. But from here on the problems start.
> > > First of all I must use the perl versions of tlink (tlink.pl) and vlink
> > > (vlink.pl), because I have no permission to run de binaries. Running the
> > > scripts calling from a browser returns a WN-server error message. If I
> > > call the script from the command line, like:
> > > ./tlink.cgi name1 name2
> > > An error message is returned saying:
> > > Unknown catalog: name2
...
> At the bottom you find the output of a sample.cgi script. I'm not sure
> that it is generated on exactly the same server as my account is running
> from.
If you put it where your catalog will go, then it is fine.
> > BB>>The installation of Interchange (execute configure) seems to be ok. And
> > BB>>de interchange server runs as well. But from here on the problems start.
> > BB>>First of all I must use the perl versions of tlink (tlink.pl) and vlink
> > BB>>(vlink.pl), because I have no permission to run de binaries. Running the
> > BB>>scripts calling from a browser returns a WN-server error message. If I
That doesn't make sense. Perl is a binary too. :-) Depending on your
setup, you might need suid. That could even kill the perl tlink.
> >
> > What's the error message?
> >
> > Make sure that you have an index.cache in each directory that you are going
> > to serve from, or you will get errors.
> >
> The errormessage I get is (from http://www.domain.nl/inet.cgi):
> Error code 500
> Read error
> WN/2.2.9
>
> With respect to the index.cache, all the files are indexed under the
> "www"-directory. But the "catalogs/"-directory is not positioned under
> the "www"-directory. I've tried to put it under www and had it indexed.
> But no results. Is there a way to test if the sockets are open for
> communication with interchange?
You don't need to create index files in your ic directories. You
do NOT want your ic pages in www space.
The error you have is simply a mismatch of your catalog vlink and
catalog location. Talk to one of your provider's sysadmins. They can
fix it in about a minute. Have them email me if they have any questions.
cfm
> Here are some standard CGI environment variables:
>
> PATH_INFO =
> AUTH_TYPE =
> SERVER_SOFTWARE = WN/2.2.9
See if you can get that upgraded to current. :-)
> SERVER_NAME = www.helpdesk.domain.nl
> SERVER_PROTOCOL = HTTP/1.0
> SERVER_PORT = 80
> HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> image/png, */*
> HTTP_ACCEPT_CHARSET = iso-8859-1,*,utf-8
> HTTP_ACCEPT_LANGUAGE = en
> HTTP_RANGE =
> HTTP_REFERER = http://www.helpdesk.domain.nl/docs/examples/
> HTTP_USER_AGENT = Mozilla/4.77 [en] (X11; U; Linux 2.2.5-22 i586)
> HTTP_FROM =
> HTTP_HOST = www.helpdesk.domain.nl
> HTTP_COOKIE = Test=test_cookie_value
> PATH_TRANSLATED =
> SCRIPT_NAME = /docs/examples/sample.cgi
> SCRIPT_FILENAME =
> /home/www/helpdesk.domain.nl/www/docs/examples/sample.cgi
> QUERY_STRING =
> REMOTE_HOST = a123456.upc-a.chello.nl
> REMOTE_ADDR = 12.345.678.90
> REQUEST_METHOD = GET
>
> Non-CGI variables provided by the WN server:
>
> URL_SCHEME = http
> DOCUMENT_ROOT = /home/www/helpdesk.domain.nl/www
> WN_DIR_PATH = /home/www/helpdesk.domain.nl/www/docs/examples
> REMOTE_PORT = 1449
> HTTP_POST_FILE =
> HTTP_PUT_FILE =
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Wed Oct 17 11:24:01 2001
Subject: [ic] mv_credit_card_reference
Quoting Cristopher:
> > > > UserTag web-service Routine <<EOR
> > > > sub {
> > > >
> > > > my ($url, $code, $message, $data) = @_;
> > > >
> > > > eval {
> > > > require LWP::UserAgent;
> > > > require HTTP::Request::Common;
> > > > };
> > >
> > > Here is your problem. You can't do a runtime require under Safe.
> >
> > I've taken them out and placed in interchange.cfg but still the same
> > problem. Actually the problem occurs somewhere inside the call to
> > HTTP::Request::Common::POST, so I think that somewhere in the
> > LWP library they require a module in runtime. This looks more
> > difficult to solve, and Christopher's idea of a separate process
> > starts making sense to me.
>
> LWP and HTTP 'use' a raft of other modules. Find out what they are
> and you should be able to make it work. Tag or not, write it so
> you can test/develop it externally. Performance will be much better
> if it is built in and that might matter. Will 'wget' do?
I think I've found the solution for my tag to work. My problem was that
somewhere in HTTP::Request a runtime 'require' was done, and Safe traps
this. But, why Safe is trapping things in a server-wide UserTag? Because I'm
executing from [perl] ... [/perl] !! All code inside the [perl] tag is run
through Safe::reval. BUT tags executed directly from their ITL form are not
subjected to the Safe limitations. I have done a quick test, just changing:
[perl] $Tag->post_something_to("http://www.url.com") [/perl]
to:
[post-something-to url="http://www.url.com"]
And it works.
Maybe the $Tag->some_tag calls from [perl]...[/perl] should be run through
Safe::Hole?
Javier
From: interchange-users at interchange.redhat.com (sda sda)
Date: Wed Oct 17 12:09:01 2001
Subject: [ic] How do I add multiple variables to a link?
I need my affiliate partner to pass me
2 variables through a link.
I can use 'mv_pc' for one variable.
Is there a way to add more variables to a link?
Thank you in advance!
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 17 12:14:01 2001
Subject: [ic] mv_credit_card_reference
Quoting Javier Martin (martin@trymedia.com):
> Maybe the $Tag->some_tag calls from [perl]...[/perl] should be run through
> Safe::Hole?
It is. Allowing a runtime require is the one thing Safe::Hole can't help
with. After all, the whole object of Safe is not to allow arbitrary code
to be executed, and if you can do "require SomeRandomModule" at runtime
that is broken.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Wed Oct 17 12:18:01 2001
Subject: [ic] multiple currencies
That sounds great.
Regarding the multiple aspect theres also the whole matter of multiple
languages within one shop. For us we would like danish, english and german,
as these are our primary market.
Would we have to have 3 distinct shops running - or is it possible to have
three shops running with the same inventory and pricing backend ?
//nino
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Barry Treahy, Jr.
Sent: 17. oktober 2001 17:04
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] multiple currencies
Bernino Lind wrote:
> Hello all,
>
> Have anyone experimented with multiple currencies and interchange ?
Yes, on the same page for our UK office we she the Foreign US$ resale
price and their UK Pounds purchase price... But what we did was for a
3.14-5 MV systems and we are in the process of completely redesigning to
use IC, so the information I could offer may outdated and incorrect for
IC, we'll be going through another learing/adaption process...
>
>
> What about tax localization and localization of currency as such.
We add VAT, but that is it...
>
>
> I want to do Euro and danish kroner...any luck here ?
Haven't done either, sorry it should be no more difficult that $ and the
pound...
Regards,
Barry
--
Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Wed Oct 17 12:22:01 2001
Subject: [ic] Multiple Pricing
Jerry,
Perhaps you could post some example code ?
//nino
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike
Heins
Sent: 17. oktober 2001 16:35
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Multiple Pricing
Quoting Jerry (jerry@data-logic.com):
> We accomplish this quiet easily using the set locale tag.
> Haven't done this yet 4.8 but I don't see why it wouldn't
> work the same as 4.6. You can easily set a different price field
> based on the locale setting. We added a field to the userdb which
> gets read at login and is used to SET LOCALE for that user. The
> PRICE FIELD is automatically set to the proper field and the
> user sees those prices. We use this so retail, wholesale and
> distributors may all order from the same site.
>
> I'm sure there are other ways to accomplish this, but this
> required the fewest changes and eliminates the need to make
> any changes to product display pages like results, fly page,
> basket or checkeout.
There is a special directive, "Profile", which is designed
to accomplish this as well. It works a lot like Locale.
There is an example of how to use it to set three separate
price types -- dealer, distributor, and normal. It is in
the tools sampledata template, file etc/after.cfg.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 17 12:26:01 2001
Subject: [ic] Maintaining Session
At 10:22 AM 10/17/2001 -0500, you wrote:
>hi,
> thanks ed. but i'm sending the data to the external server in
>javascript. so if i try to send [data session id] as a hidden element in
>post method, it gives error. can u suggest what should i do to overcome
>this.
>
>thanks in advance.
>joy
I'd have to see your code. If you include javascript on the IC page, IC
will parse all ITL before the javascript is executed, so
var session_id = '[data session id]';
in your javascript should put the session id in a variable, if you want to
try it that way.
- Ed L.
>----- Original Message -----
>From: Ed LaFrance <edl@newmediaems.com>
>To: <interchange-users@interchange.redhat.com>
>Sent: Tuesday, October 16, 2001 10:54 AM
>Subject: Re: [ic] Maintaining Session
>
>
> > At 07:04 PM 10/16/2001 -0500, you wrote:
> > >hi all,
> > > how can we maintain the session using ITL, when we send and
>process
> > >data from interchange to an external server(in a separate window).
> > >
> > >thanks in advance.
> > >joy.
> >
> > Send the session id to the remote process in a cgi string:
> >
> > http://www.someurl.com/some/path/page.html?id=nnnnnnnn
> >
> > ...where 'nnnnnnnn' is the 8-character IC session id; you can invoke it
> > with [data session id] when building your remote url. Then just tack in
> > into your return-to-catalog url.
> >
> > - Ed L.
> >
> >
> > >----- Original Message -----
> > >From: Fiber Connect <fctmaillist@megasoft.com>
> > >To: <interchange-users@interchange.redhat.com>
> > >Sent: Monday, October 15, 2001 8:27 AM
> > >Subject: Re: [ic] Documents
> > >
> > >
> > > > > hi All,
> > > > > Its feels really exciting to be a part of this list. Iam a new
> > > > entrant
> > > > > into the world of interchange.
> > > > > My current job involves into understanding Interchange, its
> > > > functionalities
> > > > > the tables that gets
> > > > > populated with respective data and maybe prepare an analysis report
>of
> > > > what
> > > > > is available
> > > > > from Interchange apropos to my requirement and maybe need to design
>more
> > > > > features and
> > > > > functions in accordance to the requirements.
> > > > >
> > > > > Iam currently lookin for some functional documents that specify in
>clear
> > > > of
> > > > > what each and
> > > > > every option of interchange Admin interface allows me to do and
>where
> > > > these
> > > > > data are getting
> > > > > reflected at the tables.
> > > > > FYI, i have confiugred PostgreSQL as my database.
> > > > >
> > > > > Lookin for immense help from this list.
> > > > >
> > > > > Thnx in advance,
> > > > > Balaji
> > > > >
> > > > > _______________________________________________
> > > > > interchange-users mailing list
> > > > > interchange-users@interchange.redhat.com
> > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > >_______________________________________________
> > >interchange-users mailing list
> > >interchange-users@interchange.redhat.com
> > >http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > ===============================================================
> > New Media E.M.S. Software Solutions for Business
> > 463 Main St., Suite D eCommerce | Consulting | Hosting
> > Placerville, CA 95667 edl@newmediaems.com
> > (530) 622-9421 http://www.newmediaems.com
> > (866) 519-4680 Toll-Free (530) 622-9426 Fax
> > ===============================================================
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 17 12:42:00 2001
Subject: [ic] Maintaining Session
At 02:30 PM 10/17/2001 -0500, you wrote:
>hi all,
> this is regarding the tables. can any one explain the functionality of
>the Ground table. all that i can understand is that it is used for shipping
>rates. but i need to know how that table is maintained. can any one
>explain the fields in that table.
>thanks in advance.
>jj
The basics are explained in a fair amount of detail here:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_37.html
..and if you login into the UI and go to Administration->Shipping there is
a browser-based editor for maintenance.
Please endeavor to find an answer in the docs, and search the maillist
archives, before posting your question.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Wed Oct 17 12:53:01 2001
Subject: [ic] one store DB - multiple store frontends
Hello,
Anyone here have experimented with
2.49. SubCatalog *global*
To have one store DB but a number of frontends to it - so that one can have
the inventory shared amongst many different locales ?
--
med venlig hilsen / Best Regards
Bernino Lind +45 7021 0050
catpipe Systems ApS - www.catpipe.net
Best done FreeBSD solutions
From: interchange-users at interchange.redhat.com (Anthony W. Juckel)
Date: Wed Oct 17 12:56:01 2001
Subject: [ic] Continue Shopping button redirection
I would like to change the behavior of the Continue Shopping button on
the foundation cart component. Basically, I want the button to return
the user to whichever catalog screen they were on last, rather than just
redirecting them to the index page. To accomplish this, I've started by
storing a session variable cur_search_string which contains, oddly
enough, the search string that resulted in the current results page
(which is what my catagory pages are). This seems to be storing just
fine, but I'm having problems redirecting the [bounce] tag in the
continue_shopping button.
Basically, I have changed [bounce page=index] to [bounce href="[area
interpolate=1 search="[data session cur_search_string]"]"], but bounce
(or area) seems to be choking when area itself has an embedded tag. It
works fine if area is a flat tag, but as soon as I embed another tag, I
get redirected to an error page saying it can't find the page "[area.
Anyone have any ideas?
Anthony W. Juckel
Interchange 4.8.2, Redhat 7.0, perl 5.6
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Wed Oct 17 12:58:00 2001
Subject: [ic] mv_credit_card_reference
Quoting Javier Martin (martin@trymedia.com):
> > Maybe the $Tag->some_tag calls from [perl]...[/perl] should be
> > run through Safe::Hole?
>
> It is. Allowing a runtime require is the one thing Safe::Hole can't help
> with. After all, the whole object of Safe is not to allow arbitrary code
> to be executed, and if you can do "require SomeRandomModule" at runtime
> that is broken.
I see... That clears all my doubts about this issue. Thanks for all your
help. There are few times where you can see the authors of some software
devoting so many time to clear up others doubts. Just keep going. It's
amazing.
Javier
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 17 13:00:00 2001
Subject: [ic] How do I add multiple variables to a link?
At 09:03 AM 10/17/2001 -0700, you wrote:
>I need my affiliate partner to pass me
>2 variables through a link.
>
>I can use 'mv_pc' for one variable.
>Is there a way to add more variables to a link?
>
>Thank you in advance!
You could treat the link like a form href in IC:
http://www.myurl.com/cgi-bin/mycat/page_name.html?var1=value1&var2=value1
..then capture the values on page_name.html, they will be available as [cgi
var1] and [cgi var2].
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Wed Oct 17 13:27:01 2001
Subject: [ic] banner ads
In the http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_24.html
its said that:
6.8. Banner/Ad rotation
Interchange has a built-in banner rotation system designed to show ads or
other messages according to category and an optional weighting.
The [banner ...] ITL tag is used to implement it.
---but its not implemented into the administration of IC?
Does anyone have experience with it? Or am I completely wrong?
--
med venlig hilsen / Best Regards
Bernino Lind +45 7021 0050
catpipe Systems ApS - www.catpipe.net
Best done FreeBSD solutions
From: interchange-users at interchange.redhat.com (Jerry)
Date: Wed Oct 17 13:51:00 2001
Subject: [ic] Multiple Pricing
> Perhaps you could post some example code ?
Sure, but I'm sure Mike Heins' solution is probably better
than mine. Looking this over again now after a couple of
years, this could be cleaned up alot by using a little
perl instead of mv tags. Not one to mess with success though
on a lower traffic site... it'll stay this way for now.
I added a field to the userdb database called "rate" to hold
the locale information. In the products database I added
two additional price columns called "wholesale" and "distributor".
These fields obviously would hold the prices for those users. In the
userdb you'll need to manually set rate to either, in our case,
wsale or dsale.Just leave it blank for a default of retail pricing.
I setup a dropdown with meta in the admin section to set each user.
In catalog.cfg I added these lines:
PriceField price
Locale en_US PriceField price
Locale wsale PriceField wholesale
Locale dsale PriceField distributor
Locale en_US price_picture "$ ###,###,###.##"
Locale wsale price_picture "$ ###,###,###.##"
Locale dsale price_picture "$ ###,###,###.##"
At the top of the index.html page directly
below the <body> tag, I added:
[if session logged_in]
[set name="proper_pricing" interpolate=1][data base="userdb" field="rate"
key="[data session username]"][/set]
[set name="proper_locale" interpolate=1][data base="userdb" field="rate"
key="[data session username]"][/set]
[else]
[set proper_pricing]en_US[/set]
[set proper_locale]en_US[/set]
[/else]
[/if]
[if type=explicit
compare="[calc] '[scratch mv_currency]' ne '[scratch proper_locale]'[/calc]"
]
[setlocale locale="[scratch proper_pricing]" currency="[scratch
proper_pricing]" persist=1]
[/if]
We force people back to the index page after login so the locale is
set properly. This works fine on a ver 4.6 store, but I don't see why
it wouldn't work in 4.8. When I do find the time to move this one into
ver 4.8, I'll probably use the "profile" directive as Mike suggested
as I would think it's much cleaner than this. I'd seriously look at that
first, but you wanted my code, so here it is.
Jerry
From: interchange-users at interchange.redhat.com (Chad Wittrock)
Date: Wed Oct 17 13:55:01 2001
Subject: [ic] Database Table Definitions
I am trying to find the database definitions. I have found many of the files
associated with the database, but I want to find the actual file that states
the column names, data type, indexes, etc. Can someone tell me where to find
these for each table. I have come across some for certain tables, for
example products
(/var/lib/interchange/mycatalog/dbconf/oracle/products.ora). But I have not
found a file like this for every table, for example 2ndDayAir. Do I need to
look somewhere else or is this all the definitions? I am attempting to
recreate the tables that were made with the default db in oracle so that I
can use oracle as my backend db.
Running IC 4.6 on RH 7.1.
Thanks in advance.
Chad
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
____
| | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu)
\__/ | \| _||_ University of Northern Iowa
From: interchange-users at interchange.redhat.com (Jerry)
Date: Wed Oct 17 14:04:01 2001
Subject: [ic] Continue Shopping button redirection
This works for us. I think this is exactly
what the history tag was designed for.
[button
text="Continue shopping"
src="navigation/continue_shopping.gif"
hidetext=1
form=basket
]
[bounce href='[history-scan exclude="^/ord|^/multi/|^/process"
default=index]']
mv_nextpage=nothing
[/button]
> I would like to change the behavior of the Continue Shopping button on
> the foundation cart component. Basically, I want the button to return
> the user to whichever catalog screen they were on last, rather than just
> redirecting them to the index page. To accomplish this, I've started by
> storing a session variable cur_search_string which contains, oddly
> enough, the search string that resulted in the current results page
> (which is what my catagory pages are). This seems to be storing just
> fine, but I'm having problems redirecting the [bounce] tag in the
> continue_shopping button.
>
> Basically, I have changed [bounce page=index] to [bounce href="[area
> interpolate=1 search="[data session cur_search_string]"]"], but bounce
> (or area) seems to be choking when area itself has an embedded tag. It
> works fine if area is a flat tag, but as soon as I embed another tag, I
> get redirected to an error page saying it can't find the page "[area.
>
> Anyone have any ideas?
>
> Anthony W. Juckel
> Interchange 4.8.2, Redhat 7.0, perl 5.6
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 17 14:23:00 2001
Subject: [ic] Database Table Definitions
At 12:54 PM 10/17/2001 -0500, you wrote:
>I am trying to find the database definitions. I have found many of the files
>associated with the database, but I want to find the actual file that states
>the column names, data type, indexes, etc. Can someone tell me where to find
>these for each table. I have come across some for certain tables, for
>example products
>(/var/lib/interchange/mycatalog/dbconf/oracle/products.ora). But I have not
>found a file like this for every table, for example 2ndDayAir. Do I need to
>look somewhere else or is this all the definitions? I am attempting to
>recreate the tables that were made with the default db in oracle so that I
>can use oracle as my backend db.
>
>Running IC 4.6 on RH 7.1.
>
>Thanks in advance.
>Chad
Did you read this section of the docs?
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_13.html
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.)
Date: Wed Oct 17 14:44:00 2001
Subject: [ic] multiple currencies
Bernino Lind wrote:
> Would we have to have 3 distinct shops running - or is it possible to have
> three shops running with the same inventory and pricing backend ?
If all of the data is from the same source, you should be able to create this
using the setlocale to control currency and translation...
Barry
--
Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Wed Oct 17 14:52:01 2001
Subject: [ic] Database Table Definitions
Maybe this will help:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_14.html
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Chad
Wittrock
Sent: 17. oktober 2001 19:55
To: Interchange-users
Subject: [ic] Database Table Definitions
I am trying to find the database definitions. I have found many of the files
associated with the database, but I want to find the actual file that states
the column names, data type, indexes, etc. Can someone tell me where to find
these for each table. I have come across some for certain tables, for
example products
(/var/lib/interchange/mycatalog/dbconf/oracle/products.ora). But I have not
found a file like this for every table, for example 2ndDayAir. Do I need to
look somewhere else or is this all the definitions? I am attempting to
recreate the tables that were made with the default db in oracle so that I
can use oracle as my backend db.
Running IC 4.6 on RH 7.1.
Thanks in advance.
Chad
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
____
| | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu)
\__/ | \| _||_ University of Northern Iowa
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Wed Oct 17 15:01:01 2001
Subject: [ic] Multiple Pricing
Thanks a bunch for the code.
Im getting a clear picture now: IC simply just Rocks!
I think I will go for your code, and add some extra calc, to do a transition
from one currency to another.
(is it really so, that no one have IC shops with multiple currencies ?)
I couldnt find documentation on the profile directive - anyone knows where
to get it ?
//Nino
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Jerry
Sent: 17. oktober 2001 19:49
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] Multiple Pricing
> Perhaps you could post some example code ?
Sure, but I'm sure Mike Heins' solution is probably better
than mine. Looking this over again now after a couple of
years, this could be cleaned up alot by using a little
perl instead of mv tags. Not one to mess with success though
on a lower traffic site... it'll stay this way for now.
I added a field to the userdb database called "rate" to hold
the locale information. In the products database I added
two additional price columns called "wholesale" and "distributor".
These fields obviously would hold the prices for those users. In the
userdb you'll need to manually set rate to either, in our case,
wsale or dsale.Just leave it blank for a default of retail pricing.
I setup a dropdown with meta in the admin section to set each user.
In catalog.cfg I added these lines:
PriceField price
Locale en_US PriceField price
Locale wsale PriceField wholesale
Locale dsale PriceField distributor
Locale en_US price_picture "$ ###,###,###.##"
Locale wsale price_picture "$ ###,###,###.##"
Locale dsale price_picture "$ ###,###,###.##"
At the top of the index.html page directly
below the <body> tag, I added:
[if session logged_in]
[set name="proper_pricing" interpolate=1][data base="userdb" field="rate"
key="[data session username]"][/set]
[set name="proper_locale" interpolate=1][data base="userdb" field="rate"
key="[data session username]"][/set]
[else]
[set proper_pricing]en_US[/set]
[set proper_locale]en_US[/set]
[/else]
[/if]
[if type=explicit
compare="[calc] '[scratch mv_currency]' ne '[scratch proper_locale]'[/calc]"
]
[setlocale locale="[scratch proper_pricing]" currency="[scratch
proper_pricing]" persist=1]
[/if]
We force people back to the index page after login so the locale is
set properly. This works fine on a ver 4.6 store, but I don't see why
it wouldn't work in 4.8. When I do find the time to move this one into
ver 4.8, I'll probably use the "profile" directive as Mike suggested
as I would think it's much cleaner than this. I'd seriously look at that
first, but you wanted my code, so here it is.
Jerry
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Wed Oct 17 15:06:00 2001
Subject: [ic] one store DB - multiple store frontends
Bernino Lind wrote:
>
> Hello,
>
> Anyone here have experimented with
> 2.49. SubCatalog *global*
>
> To have one store DB but a number of frontends to it - so that one can have
> the inventory shared amongst many different locales ?
I saw your "same" question in another e-mail. Why not using one store
for all different locales?
Create the demo shop "foundation"!
Create a IC page like
-------- snip testlocales.html--------
<HTML><HEAD><TITLE>locale test</TITLE></HEAD><BODY>
[seti pricetest]100.00[/seti]
The locale is [scratch mv_locale] and the price is <FONT
COLOR="RED">[currency convert=1][scratch
pricetest][/currency]</FONT>!<BR>
<BR>I have 100.00 in my price field, but I see <B>[currency
convert=1][scratch pricetest][/currency]</B><BR>
But I want it not converted to other locales at that moment.
<BR>
[setlocale de_DE]
1. [currency convert=1][scratch pricetest][/currency]<BR>
[setlocale en_US]
2. [currency convert=1][scratch pricetest][/currency]<BR>
[setlocale fr_FR]
3. [currency convert=1][scratch pricetest][/currency]<BR><BR>
Switch the language:<BR>
<A HREF="[area
href="process/locale/en_US/page/testlocales"]">English</A><BR>
<A HREF="[area
href="process/locale/de_DE/page/testlocales"]">German</A><BR>
<A HREF="[area
href="process/locale/fr_FR/page/testlocales"]">French</A><BR><BR>
<A HREF="[area os28068b]"> see the item os28801</A><BR>
with L tag: <FONT SIZE="+2"><B>[L]January[/L]</B></FONT><BR>
</body> </html>
-------- snip --------
in your foundation store and try it to see what you get.
Look into locale.txt in your products directory beside the file
products.txt too.
I hope, you get a picture!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Wed Oct 17 15:27:00 2001
Subject: [ic] one store DB - multiple store frontends
Heh, your absolutely right.
Its my experience from mail lists, that asking the same question in three
different ways, will give you a complete answer.
And so it did :-)
I have now a good portion of material to work out a good solution:
Yours,
Mike Heins and
"Jerry"s
With these inputs I now see it possible to create the same shop in a couple
of languages, with the currencies stick to the locale and possible
convertions for prices with the calc method. In this way you can be a german
affiliate who likes to pay in euro and reads german, or you can be a danish
end customer, who likes to pay in kroner, but(!) wants to read in english.
Ofcourse being a german, reading english and paying in mexican peso, should
not be excluded!
Namely, as Joachim shows it, that a currency should not be forced by a
specific language just because the belong to the same category called
locale.
Thanks a lot guys! (I like this product more and more!)
//nino
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Joachim Leidinger
Sent: 17. oktober 2001 21:06
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] one store DB - multiple store frontends
Bernino Lind wrote:
>
> Hello,
>
> Anyone here have experimented with
> 2.49. SubCatalog *global*
>
> To have one store DB but a number of frontends to it - so that one can
have
> the inventory shared amongst many different locales ?
I saw your "same" question in another e-mail. Why not using one store
for all different locales?
Create the demo shop "foundation"!
Create a IC page like
-------- snip testlocales.html--------
<HTML><HEAD><TITLE>locale test</TITLE></HEAD><BODY>
[seti pricetest]100.00[/seti]
The locale is [scratch mv_locale] and the price is <FONT
COLOR="RED">[currency convert=1][scratch
pricetest][/currency]</FONT>!<BR>
<BR>I have 100.00 in my price field, but I see <B>[currency
convert=1][scratch pricetest][/currency]</B><BR>
But I want it not converted to other locales at that moment.
<BR>
[setlocale de_DE]
1. [currency convert=1][scratch pricetest][/currency]<BR>
[setlocale en_US]
2. [currency convert=1][scratch pricetest][/currency]<BR>
[setlocale fr_FR]
3. [currency convert=1][scratch pricetest][/currency]<BR><BR>
Switch the language:<BR>
<A HREF="[area
href="process/locale/en_US/page/testlocales"]">English</A><BR>
<A HREF="[area
href="process/locale/de_DE/page/testlocales"]">German</A><BR>
<A HREF="[area
href="process/locale/fr_FR/page/testlocales"]">French</A><BR><BR>
<A HREF="[area os28068b]"> see the item os28801</A><BR>
with L tag: <FONT SIZE="+2"><B>[L]January[/L]</B></FONT><BR>
</body> </html>
-------- snip --------
in your foundation store and try it to see what you get.
Look into locale.txt in your products directory beside the file
products.txt too.
I hope, you get a picture!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Wed Oct 17 15:46:00 2001
Subject: [ic] [table -editor] default value
Ugh...got most of it figured out except.
here's the problem
I'm carring a form value of customer=[cgi customer] through the UI...no
problem.
I've created a table of notes with the following code
[calc]
$CGI->{viewrecipient}=1;
$CGI->{noshow}=1;
if($CGI->{customer}) {
$CGI->{item_id} = $CGI->{customer};
}
if(! $CGI->{item_id} and $Session->{arg}) {
$CGI->{item_id} = $CGI->{customer} = $Session->{arg};
}
$CGI->{customer} = $CGI->{item_id} if ! $CGI->{customer};
return if ! $CGI->{item_id};
if(! $CGI->{mv_data_table}) {
$CGI->{ui_hide_key} = 0;
$CGI->{mv_data_table} = 'catalogreq_notes';
}
if(! $CGI->{ui_data_fields}) {
$CGI->{ui_data_fields} = <<EOF;
code
catreqno
note
date
source
EOF
}
if(! $CGI->{ui_return_to}) {
$CGI->{ui_return_to} = join "\0",
'__UI_BASE__/contact_view',
"customer=$CGI->{item_id}",
;
}
if(! $CGI->{override.catreqno}) {
$CGI->{override.catreqno} = $CGI->{customer};
}
return;
[/calc]
[if !cgi item_id]
[bounce page="__UI_BASE__/cat_recipient"]
[/if]
[set ui_class]Contacts[/set]
[seti page_title]Contact data -- [cgi item_id][/seti]
[seti page_banner]Contact Notes data: <B>[page
href="__UI_BASE__/contact_view" form="customer=[cgi customer]"][cgi
customer]</A></B>[/seti]
[set help_name]contact.edit[/set]
[set icon_name]icon_contact.gif[/set]
@_UI_STD_HEAD_@
<P>
[table-editor cgi=1]
@_UI_STD_FOOTER_@
<!-- page: @@MV_PAGE@@
[return-to click]
-->
my problem is that I want column catreqno to be automatically inputed with
the customer=[cgi customer] value.
THX N ADV.
J. Scott Andreas :)
IS/Programmer/WebDevelopement
Learning Services, Inc.
e-mail: sandreas@learningservicesinc.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
--- __o
--- _-\<,_
--- (_)/ (_)
From: interchange-users at interchange.redhat.com (Fiber Connect)
Date: Wed Oct 17 17:14:01 2001
Subject: [ic] Tables
Hi,
Iam trying to find table structures being used by interchange so that i
can move them to my
database Postgresql.
Can someone specify where i can get a script for the same ?
Regards
FCT
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 17 17:19:01 2001
Subject: [ic] Database Table Definitions
How could that single line of text possibly be useful to answer his
question? It does not address:
Where is the data stored?
Answer: On disk on the interchange server, NOT your SQL DB
What are the columns?
Answer: Go to UPS and look at their format for the file
What is the information in the file and how is it used?
Answer: It is information which the shipping module uses to
calculate shipping costs
I think that was what Chad was asking for. This section of the
documentation is pretty terse, considering how much making IC
works requires a deep knowledge of how the data is stored and
used.
Patrick
-----Original Message-----
From: Bernino Lind [mailto:lind@catpipe.net]
Sent: Wednesday, October 17, 2001 12:51 PM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] Database Table Definitions
Maybe this will help:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_14.html
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Wed Oct 17 17:54:01 2001
Subject: [ic] Tables
> Have you tried makecat?
Iam trying to find table structures being used by interchange so that i
can move them to my database Postgresql.
From: interchange-users at interchange.redhat.com (Craig Warren)
Date: Wed Oct 17 18:31:00 2001
Subject: [ic] Running 4.6 and 4.8 concurrently
Hello,
I'm experimenting with running interchange 4.6.5 and 4.8.2 on the same
machine. I've installed them into different directories, and have been as
careful as I can in keeping files separate. However, whenever I try to
access any page under cgi-bin/, I get the dreaded
We're sorry, the Interchange server is unavailable...
We are out of service or may be experiencing high system demand. Please try
again soon.
So, I was wondering if anyone had done/attempted this before, and might have
some help to offer.
Thanks
Craig
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Wed Oct 17 18:42:01 2001
Subject: [ic] Running 4.6 and 4.8 concurrently
> Hello,
>
> I'm experimenting with running interchange 4.6.5 and 4.8.2 on
> the same machine. I've installed them into different
> directories, and have been as careful as I can in keeping
> files separate. However, whenever I try to access any page
> under cgi-bin/, I get the dreaded
>
> We're sorry, the Interchange server is unavailable...
>
> We are out of service or may be experiencing high system
> demand. Please try again soon.
>
>
> So, I was wondering if anyone had done/attempted this before,
> and might have some help to offer.
>
> Thanks
> Craig
Install to two directories:
/usr/local/ic482
/usr/local/ic465
Start with two different commands:
/usr/local/ic482/bin/interchange
/usr/local/ic465/bin/interchange
What is the output of the startup commands and/or error.log?
Buena suerte,
-Dan
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 17 18:50:00 2001
Subject: [ic] [Fwd: Naming of RedHat IC Servers]
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--------------88AD7A424A46ACB343520258
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.33.0110171850572.234@hub1.idk-enterprises.com>
On Tue, 16 Oct 2001, Barry Treahy, Jr. wrote:
BTJ>>Date: Tue, 16 Oct 2001 11:40:56 -0700
BTJ>>From: "Barry Treahy, Jr." <Treahy@mmaz.com>
BTJ>>Reply-To: interchange-users@interchange.redhat.com
BTJ>>To: Interchange Users Group <interchange-users@interchange.redhat.com>
BTJ>>Subject: [ic] [Fwd: Naming of RedHat IC Servers]
BTJ>>
BTJ>>
BTJ>>
BTJ>>--
BTJ>>
BTJ>>Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
BTJ>>
BTJ>>E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
It's too bad that you chose to use a non-conventional messaging system that
makes it difficult to read.
I think that if all that you have to do in your day is to worry about how
servers get named, and whatever names are chosen, then I think that
someobody needs to find some 'make-work for you, so that you will have
something better to do.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 17, 2001 at 18:50 PM:
Friction can be a drag sometimes.
----------------------------------------------------------------
This Linux System has been up 94 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
--------------88AD7A424A46ACB343520258
Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.33.0110171850573.234@hub1.idk-enterprises.com>
Content-Description:
Content-Disposition: INLINE
Message-ID: <3BCC7EAE.A721B154@mmaz.com>
Date: Tue, 16 Oct 2001 11:38:38 -0700
From: "Barry Treahy, Jr." <Treahy@mmaz.com>
MIME-Version: 1.0
To: Interchange Users Group <interchange-users@minivend.com>
CC: ginsberg@redhat.com
Subject: Naming of RedHat IC Servers
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This probably isn't the best location to voice an objection of this
nature, but who within RedHat either lacks the maturity or sensibilities
to name one of your external servers Anthrax?
[root@mml2 akopia.com]# ftp ftp.akopia.com
Connected to anthrax.interchange.redhat.com.
Personally, I believe there are greater concerns than Anthrax, but I
have a lot of people under my responsibility (typically of the female
gender) that have been shaken and highly agitated since the initial
attack and more so with the recent outbreaks of Anthrax. I'm not amused
by RedHat's tremendous lack of sensitivity and ask that someone there
deal with this in a little more professional manner because I certainly
do not need the additional aggravation...
Regards,
Barry Treahy
--
Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
--------------88AD7A424A46ACB343520258--
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 17 18:53:00 2001
Subject: [ic] Tables
I think what he meant is that you can give an option to makecat to
put all the data from the foundation store into an SQL database
such as Postgres.
During the makecat process, it asks you if you want to use an SQL
database. You answer 1 to that. Then it will ask you if you use
mySQL - just hit enter. Then enter 1 when it asks if you want to
use PostreSQL.
Also if you want your database to be on another server, you can put
in a ;host=mydatabaseserver at the end of the DBI connect string,
where mydatabaseserver is some machine other than your IC machine.
When you start interchange for the first time after doing the
makecat, it checks if the tables it needs are in the PostgreSQL
database. If they aren't it creates them and populates them. The
files it uses to do so are in <catroot>/dbconf/pgsql and have names
like products.pgsql. Here is a list of the files:
-rw-r--r-- 1 interch htdocs 114 Sep 7 14:10 2ndDayAir.dbm
-rw-r--r-- 1 interch htdocs 114 Sep 7 14:10 Ground.dbm
-rw-r--r-- 1 interch htdocs 114 Sep 7 14:10 NextDayAir.dbm
-rw-r--r-- 1 interch htdocs 58 Sep 7 14:10 access.dbm
-rw-r--r-- 1 interch htdocs 291 Sep 7 14:10 affiliate.pgsql
-rw-r--r-- 1 interch htdocs 471 Sep 7 14:10 area.pgsql
-rw-r--r-- 1 interch htdocs 461 Sep 7 14:10 cat.pgsql
-rw-r--r-- 1 interch htdocs 81 Sep 7 14:10 component.dbm
-rw-r--r-- 1 interch htdocs 644 Sep 7 14:10 country.pgsql
-rw-r--r-- 1 interch htdocs 856 Sep 7 14:10 gift_certs.pgsql
-rw-r--r-- 1 interch htdocs 465 Sep 7 14:10 inventory.pgsql
-rw-r--r-- 1 interch htdocs 58 Sep 7 14:10 locale.dbm
-rw-r--r-- 1 interch htdocs 654 Sep 7 14:10 merchandising.pgsql
-rw-r--r-- 1 interch htdocs 58 Sep 7 14:10 mv_metadata.dbm
-rw-r--r-- 1 interch htdocs 1702 Sep 7 14:10 options.pgsql
-rw-r--r-- 1 interch htdocs 889 Sep 7 14:10 order_returns.pgsql
-rw-r--r-- 1 interch htdocs 1380 Sep 7 14:10 orderline.pgsql
-rw-r--r-- 1 interch htdocs 501 Sep 7 14:10 pgsql.cfg
-rw-r--r-- 1 interch htdocs 900 Sep 7 14:10 pricing.pgsql
-rw-r--r-- 1 interch htdocs 1210 Sep 7 14:10 products.pgsql
-rw-r--r-- 1 interch htdocs 774 Sep 7 14:10 state.pgsql
-rw-r--r-- 1 interch htdocs 3256 Sep 7 14:10 transactions.pgsql
-rw-r--r-- 1 interch htdocs 3016 Sep 7 14:10 userdb.pgsql
-rw-r--r-- 1 interch htdocs 58 Sep 7 14:10 variable.dbm
Note that even if you do this, some things are still kept on the
IC server, as mentioned in another post from me today. I believe the
ones listed with a .dbm extension do not get put in the SQL database
(obviously they don't have a .pgsql file so IC won't know how to put
them in the database).
Patrick
-----Original Message-----
From: Fred Pope [mailto:fred@satcomresources.com]
Sent: Wednesday, October 17, 2001 3:56 PM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] Tables
> Have you tried makecat?
Iam trying to find table structures being used by interchange so that i
can move them to my database Postgresql.
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Craig Warren)
Date: Wed Oct 17 18:56:01 2001
Subject: [ic] Running 4.6 and 4.8 concurrently
>Install to two directories:
>/usr/local/ic482
>/usr/local/ic465
>Start with two different commands:
>/usr/local/ic482/bin/interchange
>/usr/local/ic465/bin/interchange
>What is the output of the startup commands and/or error.log?
>Buena suerte,
>-Dan
Yah, I've done both of the above things. No errors are appearing, just the
usual:
Sending debug to icdebug.
Low traffic settings.
Calling UI......UI is loaded...
Interchange V4.8.2
Configuring catalog foundation...Using PostgreSQL,
DSN=dbi:Pg:dbname=foundation...done.
Interchange server started in INET mode(s) (process id 1209)
I've also expicitly declared PIDfile and SocketFile in interchange.cfg...
Craig
From: interchange-users at interchange.redhat.com (Bob Lorenzini)
Date: Wed Oct 17 19:01:01 2001
Subject: [ic] Running 4.6 and 4.8 concurrently
I have run diff versions at the same time no problem. Check your logs for
errors. I don't install using RPM's which may be a problem, and I have my
startup scripts in /etc/rc.d/rc.local.
Bob
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 17 19:10:01 2001
Subject: [ic] Interchange with WN www-server
On Wed, 17 Oct 2001, Bas Bezemer wrote:
BB>>I suspect that the properties of the server are set to execute script
BB>>files only. Further there are some error messages during makecat.
BB>>
BB>>run "sh /home/users27/durmaz/catalogs/inet2/config/makedirs"? y
BB>>chmod: /home/users27/durmaz/catalogs/inet2/logs: Operation not permitted
BB>>chmod: /home/users27/durmaz/catalogs/inet2/orders: Operation not
BB>>permitted
BB>>chmod: /home/users27/durmaz/catalogs/inet2/session: Operation not
BB>>permitted
BB>>chmod: /home/users27/durmaz/catalogs/inet2/tmp: Operation not permitted
BB>>
BB>>The script "makecat" tries to set permissions to "2770". Which is not
BB>>permitted as the message says. Is this the suexec connection?
It sounds like you are running this as a user, and it is expecting a Super
User.
This problem is independent of WN and needs to be cleaned up before you go
any further.
BB>>The errormessage I get is (from http://www.domain.nl/inet.cgi):
BB>>Error code 500
BB>>Read error
BB>>WN/2.2.9
This is going to depend on where you have WN pointing as the starting point.
But, typically, you are going to have to run it through the directory named
'cgi-bin' followed by the store name.
BB>>With respect to the index.cache, all the files are indexed under the
BB>>"www"-directory. But the "catalogs/"-directory is not positioned under
BB>>the "www"-directory. I've tried to put it under www and had it indexed.
If your index file contains, simply 'attribute=serveall' and then run wndex,
everything in that directory will serve.
Apache is a complicated monster to set up and maintain. WN, out of the box
is extremely simple, and just as robust and just as capable as Apache.
If you are having problems, usually it's because you don't have the right
PATH, you don't have an index.cache in that directory, or a file it needs is
missing.
>From what you have said, I'm guessing that you have some missing files.
Get a clean install done without errors, and then let's talk some more.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 17, 2001 at 19:00 PM:
A is A - Aristotle
----------------------------------------------------------------
This Linux System has been up 95 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 17 19:40:00 2001
Subject: [ic] Awkward shipping placement in checkout process
On Tue, 16 Oct 2001, interch wrote:
i>>Quick question not really a complaint. We are setting up customers and
i>>giving them the stock interchange foundation catalog. Before I go and
i>>modify the checkout pages myself, are there plans to reorganize the
i>>checkout process in the near future so that people do not end up being
i>>charged for shipping without knowing how much they are being
i>>charged? This happens when using UPS or FEDEX and the customer does not
i>>first create an account. I just didn't want to modify the stock
i>>foundation catalog if this was going to be rolled into it in the near
i>>future.
Version 4.6.2 out of the box will do this. And, I suspect that 4.8 is
equally as functional.
The customer needs to fill their shopping cart, go to the check out page,
and to enter in their zip code and shipping method. At the bottom they can
click on 'refresh' and get the shipping cost for what they have ordered.
You will find (at least in Construct) that changing the country will cause a
refresh. You can use that same code to force a refresh when they change the
zip code.
<rant mode on>
I was running for a while letting people order without creating an account.
I ended up with a lot of miscellaneous accounts that none of the customers
could get into again, unless I went in and manipulated their account. So,
they had no way to check up on their order.
I found some code on this mailing list that forces them to log in. (Although
I've not been able to get it fixed so that they go back to the page that
they came from.)
Logging in does not require any more information from them than it does to
ship to them with an 'anonymous' account.
Having an account (in construct) lets them see the status of their order, as
well as to be able to see what they have ordered previously if they want to
order that again, or to avoid that this time.
<rant mode off>
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 17, 2001 at 19:25 PM:
I would jog, but the ice would fall out of my glass.
----------------------------------------------------------------
This Linux System has been up 95 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (George C. Hwa)
Date: Wed Oct 17 21:10:00 2001
Subject: [ic] tutorial: config error: products not a database, c
I'm working on the tutorial and completed the first seven chapters.
When I restarted the Interchange server, I got
Configuring catalog tutorial...tutorial config error: products not a
database, cannot use as products file
I checked all files I created/modified but no luck...HELP!
George
From: interchange-users at interchange.redhat.com (George C. Hwa)
Date: Wed Oct 17 21:46:01 2001
Subject: [ic] tutorial: config error: products not a database, cannot use as
I found my own mistake, a typo, in catalog.cfg.
"George C. Hwa" wrote:
> I'm working on the tutorial and completed the first seven chapters.
> When I restarted the Interchange server, I got
>
> Configuring catalog tutorial...tutorial config error: products not a
> database, cannot use as products file
>
> I checked all files I created/modified but no luck...HELP!
>
> George
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
George C. Hwa E-mail: ghwa@nanoamp.com
Sr. Manager, CAD Phone: (408) 573-8878 x129
NanoAmp Solutions 1982-B Zanker Rd.
http://www.nanoamp.com San Jose, CA 95112
From: interchange-users at interchange.redhat.com (Doug Alcorn)
Date: Thu Oct 18 09:14:00 2001
Subject: [ic] CyberCash
How accurate is this for minivend 4?
Mike Heins <mheins@redhat.com> writes:
> 1. Obtain the CyberCash modules, prefereably version 3.2.0.4 though
> 3.2.0.5 and above should work if you add "DebugFile /dev/null" in
> interchange.cfg. Ask around on the list if you need older versions.
>
> 2. Install the modules, then find the directory where they are and
> copy them to /path_to_interchange/lib. Include the following files:
>
> CCMckDirectLib3_2.pm CCMckLib3_2.pm MCKencrypt
> CCMckErrno3_2.pm MCKdecrypt computeMD5hash
>
> Make sure the program files (non-.pm) are executable.
>
> 3. Edit CC*.pm to adjust the paths for MCKencrypt, MCKdecrypt, and
> computeMD5hash.
>
> CCMckDirectLib3_2.pm:$MCKencrypt = "/path_to_interchange/lib/MCKencrypt";
> CCMckDirectLib3_2.pm:$MCKdecrypt = "/path_to_interchange/lib/MCKdecrypt";
>
> CCMckLib3_2.pm:$computehash = "/path_to_interchange/lib/computeMD5hash";
>
> 4. Restart Interchange and make sure you get the message:
>
> CyberCash module found (Version 3.x)
>
> 5. Locate your merchant_conf file, and make sure you have the right
> values for CYBERCASH_ID and MERCHANT_KEY (get from your control panel
> at amps.cybercash.com).
>
> 6. Set the following in catalog.cfg:
>
> CyberCash No
> Variable MV_PAYMENT_MODE mauthonly
> Variable CYBER_CONFIGFILE /path/to/merchant_conf
>
> There are some other things to set if you are outside the US, you might
> check some of this very outdated documentation (use this, not that, as
> the authority):
>
> http://developer.akopia.com/minivend4/docindex/14.08.Using_CyberCash.html
>
> 7. Reconfig the catalog (or restart Interchange).
>
> 8. Make sure you have this at the top of your checkout page:
>
> [if session cybercash_error]
> <BLOCKQUOTE>
> CyberCash: [data session cybercash_error]
> </BLOCKQUOTE>
> [/if]
>
> 9. Test by keeping your account in test mode and looking for a successful
> transaction. Put [dump] in a page and examine the returned cybercash_result,
> or use this code:
>
> [calc]
> $Tag->uneval( { ref => $Session->{cybercash_result } );
> [/calc]
>
> Then test by going live and using the fake card 4111 1111 1111 1111; you
> should get back "Declined: bad card".
>
> Finally test by ordering a cheap item with your real credit card (you can
> always do a return later).
>
> 10. Really go live.
--
(__) 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: interchange-users at interchange.redhat.com (Korey Gozman)
Date: Thu Oct 18 10:11:00 2001
Subject: [ic] Handling charge, with ceiling
Hi,
I would like to implement a handling charge for Orders that are 100 $ or less,
Now, Im not having problems adding a handling charge, but Im having difficulty
with
the ceiling of 100 $.and as always this is in compliment to shipping charge
(as opposed to instead of),
So if anyone knows any sophisticated, or just functional way of doing thus,
please let me know,
Thanks Guys,
-=Korey. G=-
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 18 11:24:01 2001
Subject: [ic] Possible bug in Order.pm of IC Version 4.6.5
Hi List,
If you have in your catalog.cfg a line like
OrderLineLimit 25
and you order more than 25 items, you will get a page with the messages
Sorry, there was an error in processing this form action. Please report
the error or try again later. (Undefined subroutine
&Vend::Order::do_lockout called at /home/ic/lib/Vend/Order.pm line 1889.
)
Looking into the Order.pm, I see the lines
------ snip ---------
if($Vend::Cfg->{OrderLineLimit} and $#$cart >=
$Vend::Cfg->{OrderLineLimit}) {
@$cart = ();
my $msg = <<EOF;
WARNING:
Possible bad robot. Cart limit of $Vend::Cfg->{OrderLineLimit}
exceeded. Cart emptied.
EOF
do_lockout($msg);
}
Vend::Cart::toss_cart($cart);
------ snip ---------
You can prevent this behavior by increasing the OrderLineLimit! But if
you want to limit the OrderLine, you have to add a line
use autouse 'Vend::Error' => qw/do_lockout/;
at the top of the Order.pm file like
------- snip --------
package Vend::Order;
require Exporter;
use autouse 'Vend::Error' => qw/do_lockout/;
$VERSION = substr(q$Revision: 1.20 $, 10);
------- snip --------
Am I right?
Any comments?
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Anthony W. Juckel)
Date: Thu Oct 18 11:50:01 2001
Subject: [ic] Continue Shopping button redirection
Well, that does work like a charm, but I'm having a heck of a time
trying to find any documentation on the [history-scan] tag. I even
tried looking through all the usertag directories that I could find to
try to find its definition, but I haven't come up with anything. Could
you point me to any more thorough documentation on [history-scan]?
Anthony W. Juckel
Jerry wrote:
>This works for us. I think this is exactly
>what the history tag was designed for.
>
> [button
> text="Continue shopping"
> src="navigation/continue_shopping.gif"
> hidetext=1
> form=basket
> ]
> [bounce href='[history-scan exclude="^/ord|^/multi/|^/process"
>default=index]']
> mv_nextpage=nothing
> [/button]
>
>>I would like to change the behavior of the Continue Shopping button on
>>the foundation cart component. Basically, I want the button to return
>>the user to whichever catalog screen they were on last, rather than just
>>redirecting them to the index page. To accomplish this, I've started by
>>storing a session variable cur_search_string which contains, oddly
>>enough, the search string that resulted in the current results page
>>(which is what my catagory pages are). This seems to be storing just
>>fine, but I'm having problems redirecting the [bounce] tag in the
>>continue_shopping button.
>>
>>Basically, I have changed [bounce page=index] to [bounce href="[area
>>interpolate=1 search="[data session cur_search_string]"]"], but bounce
>>(or area) seems to be choking when area itself has an embedded tag. It
>>works fine if area is a flat tag, but as soon as I embed another tag, I
>> get redirected to an error page saying it can't find the page "[area.
>>
>>Anyone have any ideas?
>>
>>Anthony W. Juckel
>>Interchange 4.8.2, Redhat 7.0, perl 5.6
>>
>>_______________________________________________
>>interchange-users mailing list
>>interchange-users@interchange.redhat.com
>>http://interchange.redhat.com/mailman/listinfo/interchange-users
>>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Thu Oct 18 12:00:00 2001
Subject: [ic] Continue Shopping button redirection
> Well, that does work like a charm, but I'm having a heck of a time
> trying to find any documentation on the [history-scan] tag. I even
> tried looking through all the usertag directories that I could find to
> try to find its definition, but I haven't come up with anything. Could
> you point me to any more thorough documentation on [history-scan]?
Doesn't it live in the catalog.cfg? At least it does in 4.6.x
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Thu Oct 18 12:11:01 2001
Subject: [ic] Running 4.6 and 4.8 concurrently
On Wed, 17 Oct 2001, Craig Warren wrote:
> I'm experimenting with running interchange 4.6.5 and 4.8.2 on the same
> machine. I've installed them into different directories, and have been as
> careful as I can in keeping files separate. However, whenever I try to
> access any page under cgi-bin/, I get the dreaded
>
> We're sorry, the Interchange server is unavailable...
Did you move any files after the installation? vlink has the pathname to
the socket file hardcoded in it, so you have to compile a new vlink if you
move your Interchange installation.
Jon
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 18 12:18:01 2001
Subject: [ic] CyberCash
At 09:10 AM 10/18/2001 -0400, you wrote:
>How accurate is this for minivend 4?
I am pretty sure that it will work, unmodified. Give it a try.
- Ed L.
>Mike Heins <mheins@redhat.com> writes:
>
> > 1. Obtain the CyberCash modules, prefereably version 3.2.0.4 though
> > 3.2.0.5 and above should work if you add "DebugFile /dev/null" in
> > interchange.cfg. Ask around on the list if you need older versions.
> >
> > 2. Install the modules, then find the directory where they are and
> > copy them to /path_to_interchange/lib. Include the following files:
> >
> > CCMckDirectLib3_2.pm CCMckLib3_2.pm MCKencrypt
> > CCMckErrno3_2.pm MCKdecrypt computeMD5hash
> >
> > Make sure the program files (non-.pm) are executable.
> >
> > 3. Edit CC*.pm to adjust the paths for MCKencrypt, MCKdecrypt, and
> > computeMD5hash.
> >
> > CCMckDirectLib3_2.pm:$MCKencrypt = "/path_to_interchange/lib/MCKencrypt";
> > CCMckDirectLib3_2.pm:$MCKdecrypt = "/path_to_interchange/lib/MCKdecrypt";
> >
> > CCMckLib3_2.pm:$computehash = "/path_to_interchange/lib/computeMD5hash";
> >
> > 4. Restart Interchange and make sure you get the message:
> >
> > CyberCash module found (Version 3.x)
> >
> > 5. Locate your merchant_conf file, and make sure you have the right
> > values for CYBERCASH_ID and MERCHANT_KEY (get from your control panel
> > at amps.cybercash.com).
> >
> > 6. Set the following in catalog.cfg:
> >
> > CyberCash No
> > Variable MV_PAYMENT_MODE mauthonly
> > Variable CYBER_CONFIGFILE /path/to/merchant_conf
> >
> > There are some other things to set if you are outside the US, you might
> > check some of this very outdated documentation (use this, not that, as
> > the authority):
> >
> >
> http://developer.akopia.com/minivend4/docindex/14.08.Using_CyberCash.html
> >
> > 7. Reconfig the catalog (or restart Interchange).
> >
> > 8. Make sure you have this at the top of your checkout page:
> >
> > [if session cybercash_error]
> > <BLOCKQUOTE>
> > CyberCash: [data session cybercash_error]
> > </BLOCKQUOTE>
> > [/if]
> >
> > 9. Test by keeping your account in test mode and looking for a successful
> > transaction. Put [dump] in a page and examine the returned
> cybercash_result,
> > or use this code:
> >
> > [calc]
> > $Tag->uneval( { ref => $Session->{cybercash_result } );
> > [/calc]
> >
> > Then test by going live and using the fake card 4111 1111 1111 1111; you
> > should get back "Declined: bad card".
> >
> > Finally test by ordering a cheap item with your real credit card (you can
> > always do a return later).
> >
> > 10. Really go live.
>
>--
> (__) 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@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Thu Oct 18 12:29:00 2001
Subject: [ic] Possible bug in Order.pm of IC Version 4.6.5
Quoting Joachim Leidinger (jojo@blackpoint.de):
> ------- snip --------
> package Vend::Order;
> require Exporter;
>
> use autouse 'Vend::Error' => qw/do_lockout/;
>
> $VERSION = substr(q$Revision: 1.20 $, 10);
> ------- snip --------
>
> Am I right?
>
Yes and no. You are right in that the fix is right -- you are wrong to
run such an old version, for:
> Mon Apr 23 14:38:57 2001 UTC (5 months, 3 weeks ago) by jason
> Branch: DEV_4_7_0
> Changes since 1.18.2.19: +4 -2 lines
> Diff to previous 1.18.2.19 to branchpoint 1.18
> Added an autouse entry to prevent undefined subroutine &Vend::Order::do_lockout
> error.
that change was made several months ago.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Few blame themselves until they have exhausted all other possibilities.
-- anonymous
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 18 12:35:01 2001
Subject: [ic] Handling charge, with ceiling
At 10:11 AM 10/18/2001 -0700, you wrote:
>Hi,
> I would like to implement a handling charge for Orders that are 100 $ or
> less,
>Now, Im not having problems adding a handling charge, but Im having difficulty
>with
>the ceiling of 100 $.and as always this is in compliment to shipping charge
>(as opposed to instead of),
> So if anyone knows any sophisticated, or just functional way of doing thus,
>please let me know,
>
>Thanks Guys,
>
>-=Korey. G=-
I have used mv_handling for something like this, and it does work, as long
as you don't mind the handling charge being itemized separately from the
shipping charge:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_43.html
...otherwise you can use the [assign] tag, possibly in conjunction with
mv_handling, to add the surcharge to th base shipping amount:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_8.html
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 18 14:21:00 2001
Subject: [ic] SSL errors mod-interchange/mod_ssl
SSL works fine until you go to the checkout page. secure server is the
exact same hostname as non secure, etc... I
saw a post about this
on the list but no answer I could find for it. I also found a post on
openssl-users about it. Here is the post from openssl-users about the
problem, I am getting the exact error they are describing. This is the
latest Redhat linux, IC 4.8.3 (from cvs), apache 1.3.19(rpm),
mod_interchange, and mod_ssl(rpm).
On Sun, Apr 30, 2000 at 08:01:30PM -0700, Jeff Magnusson wrote:
> I'm using Net::SSLeay for a non-blocking server and it sets up new
client
> connections fine, but when I write to the client (SSL_write) I get the
> following error:
>
> SSL_write 17655: 1 - error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad
> write retry
>
> Any help would be appreciated, I've looked at the source and I'm not
sure
> why I would be getting this.
When SSL_write is called again after SSL_ERROR_WANT_..., it
must get exactly the same buffer because parts of the buffer
contents may already have been encrypted and wait in interal
buffers while others may not yet have been looked at.
What's really important is that buffer *contents* stay the same,
but as a sanity check to avoid application bugs the OpenSSL
library checks whether the buffer *address* is not changed.
This check can be disabled by setting SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
for that SSL object, using SSL_set_mode (or SSL_CTX_set_mode
on the SSL_CTX before SSL_new is called).
I don't know about Net::SSLeay, but it would not surprise
me if the same string can be at a different memory location
when SSL_write is called again. If so, look if SSL_set_mode is
available; and you might want to ask the Net::SSLeay maintainers
to consider always setting SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
if the library default doesn't work for it.
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 18 14:42:00 2001
Subject: [ic] Possible bug in Order.pm of IC Version 4.6.5
Mike Heins wrote:
>
> Quoting Joachim Leidinger (jojo@blackpoint.de):
> > ------- snip --------
> > package Vend::Order;
> > require Exporter;
> >
> > use autouse 'Vend::Error' => qw/do_lockout/;
> >
> > $VERSION = substr(q$Revision: 1.20 $, 10);
> > ------- snip --------
> >
> > Am I right?
> >
>
> Yes and no. You are right in that the fix is right -- you are wrong to
> run such an old version, for:
>
> > Mon Apr 23 14:38:57 2001 UTC (5 months, 3 weeks ago) by jason
> > Branch: DEV_4_7_0
> > Changes since 1.18.2.19: +4 -2 lines
> > Diff to previous 1.18.2.19 to branchpoint 1.18
>
> > Added an autouse entry to prevent undefined subroutine &Vend::Order::do_lockout
> > error.
>
> that change was made several months ago.
:-))
Dear Mike,
thank you for the confirmation about the fix. With regards to updating
to the newest IC Version. Sometime it is cheaper to fix some IC server
as soon as possible for our company or some customer want to stay to the
current running IC server Version and don't want to update it. :-(
Maybe this is strange for you.
Thanks for you times!
jojo
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (www.bathbodybeyond.com)
Date: Thu Oct 18 14:44:01 2001
Subject: [ic] Help Needed Please
I am very new to the interchange arena, I am desperately trying to set up my
shopping cart, I have three problems that I can not figure out.
First, after order information is keyed in on the check out screen, it does
nothing, it reloads the check out form with the same information and the
order is not transmitted via email or to any of the databases.
Second with the databases that come with the foundations demo, how do I add
a field to that database.
Third, Can anyone lead me in a direction as to how the credit card number is
stored and how I can access it, if you dont have any real time credit card
services installed, for instance I use linkpoint
Any links or help would be greatly appreciated.
I am using interchange 4.8.
Tanya Rayford
Bath Body and More
http://www.bathbodybeyond.com
From: interchange-users at interchange.redhat.com (Jason Timm)
Date: Thu Oct 18 15:22:00 2001
Subject: [ic] Multiple catalogs with same product db
Hi all,
I have been looking through the archives and docs but haven't seen anything
on this. We currently have catalogs running independently, but are going to
have multiple catalogs that need to use the same product table (as well as
possibly some other tables). Is there any way for 2 catalogs to share some
common tables like this (some tables such as the customer table will need to
remain separate)?
We are running IC 4.8.2 on RH 7.1 using MySQL.
Any ideas?
Jason
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Thu Oct 18 15:33:00 2001
Subject: [ic] Help Needed Please
There is a number of us that are using are starting to use linkpoint. I have
successfully hacked (with the help of many others) a global sub that works.
First look through the archives to read what has been said. Also look for
information about global subs both in the archives and in the docs. I had to
buy the perl wrapper to make this work.
There has been some recent talk about a better way of doing this. Not sure.
Hope this gets you started,
Rick Eicher II
rick@texol.net
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
www.bathbodybeyond.com
Sent: Thursday, October 18, 2001 1:41 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] Help Needed Please
I am very new to the interchange arena, I am desperately trying to set up my
shopping cart, I have three problems that I can not figure out.
First, after order information is keyed in on the check out screen, it does
nothing, it reloads the check out form with the same information and the
order is not transmitted via email or to any of the databases.
Second with the databases that come with the foundations demo, how do I add
a field to that database.
Third, Can anyone lead me in a direction as to how the credit card number is
stored and how I can access it, if you dont have any real time credit card
services installed, for instance I use linkpoint
Any links or help would be greatly appreciated.
I am using interchange 4.8.
Tanya Rayford
Bath Body and More
http://www.bathbodybeyond.com
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Chad Wittrock)
Date: Thu Oct 18 15:46:01 2001
Subject: [ic] Database Table Definitions
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.COM
> [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Ed
> LaFrance
> Sent: Wednesday, October 17, 2001 1:23 PM
> To: interchange-users@interchange.redhat.COM
> Subject: Re: [ic] Database Table Definitions
>
>
> At 12:54 PM 10/17/2001 -0500, you wrote:
> >I am trying to find the database definitions. I have found many
> of the files
> >associated with the database, but I want to find the actual file
> that states
> >the column names, data type, indexes, etc. Can someone tell me
> where to find
> >these for each table. I have come across some for certain tables, for
> >example products
> >(/var/lib/interchange/mycatalog/dbconf/oracle/products.ora). But
> I have not
> >found a file like this for every table, for example 2ndDayAir.
> Do I need to
> >look somewhere else or is this all the definitions? I am attempting to
> >recreate the tables that were made with the default db in oracle
> so that I
> >can use oracle as my backend db.
> >
> >Running IC 4.6 on RH 7.1.
> >
> >Thanks in advance.
> >Chad
>
> Did you read this section of the docs?
> http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_13.html
>
This states the tables and column names, which is very helpful. But, I need
the files that specify the data types of each column, any indexes that were
made, and primary keys. I am sure I could probably make up my own, but I
already have this working with the default tables that were setup during
makecat for the default db. I would like to move this over to Oracle tables
so I need to set up the tables the same way, as I have data in the existing
tables. Is there a place that lists the data types, indexes, etc? Like I
said I found a few like:
/var/lib/interchange/mycatalog/dbconf/oracle/products.ora. But, there is not
one of these files for every table listed at this link you gave me. Can
someone explain/help me with this?
Chad
> - Ed L.
>
> ===============================================================
> New Media E.M.S. Software Solutions for Business
> 463 Main St., Suite D eCommerce | Consulting | Hosting
> Placerville, CA 95667 edl@newmediaems.com
> (530) 622-9421 http://www.newmediaems.com
> (866) 519-4680 Toll-Free (530) 622-9426 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 18 16:13:00 2001
Subject: [ic] Multiple catalogs with same product db
Jason Timm wrote:
>
> Hi all,
>
> I have been looking through the archives and docs but haven't seen anything
> on this. We currently have catalogs running independently, but are going to
> have multiple catalogs that need to use the same product table (as well as
> possibly some other tables). Is there any way for 2 catalogs to share some
> common tables like this (some tables such as the customer table will need to
> remain separate)?
>
> We are running IC 4.8.2 on RH 7.1 using MySQL.
>
> Any ideas?
Maybe this can helps you! Make a symlink!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Matthew T. Snyder)
Date: Thu Oct 18 16:15:53 2001
Subject: [ic] Database Table Definitions
<snip>
> This states the tables and column names, which is very helpful.
> But, I need
> the files that specify the data types of each column, any indexes
> that were
> made, and primary keys. I am sure I could probably make up my own, but I
> already have this working with the default tables that were setup during
> makecat for the default db. I would like to move this over to
> Oracle tables
> so I need to set up the tables the same way, as I have data in
> the existing
> tables. Is there a place that lists the data types, indexes, etc? Like I
> said I found a few like:
> /var/lib/interchange/mycatalog/dbconf/oracle/products.ora. But,
> there is not
> one of these files for every table listed at this link you gave me. Can
> someone explain/help me with this?
> Chad
Most of those files can be found under the CATROOT/dbconf directory. I'm
not familiar with oracle, so I'm not certain exactly how those files are set
up - I've never looked. However, patrick was right in his earlier post, as
far as I know... if it's a .dbm file extension, it doesn't show up in the
database (at least not under MySQL or PostgreSQL), although it might be
possible to change things so it does.
The following is a snippet of what I see within my CATROOT/dbconf/oracle
(and looks almost identical to products.mysql):
<snip>
Database products DEFAULT_TYPE VARCHAR2(128)
Database products KEY sku
Database products COLUMN_DEF "sku=VARCHAR2(64) PRIMARY KEY"
Database products COLUMN_DEF "description=VARCHAR2(128)"
Database products COLUMN_DEF "title=VARCHAR2(128) DEFAULT ''"
Database products INDEX title
Database products COLUMN_DEF "template_page=VARCHAR2(64)"
Database products COLUMN_DEF "comment=VARCHAR2(2000)"
Database products COLUMN_DEF "thumb=VARCHAR2(128)"
Database products COLUMN_DEF "image=VARCHAR2(64)"
Database products COLUMN_DEF "price=DECIMAL(12,2)"
Database products INDEX price
Database products COLUMN_DEF "category=VARCHAR2(64)"
Database products INDEX category
Database products INDEX prod_group
Database products COLUMN_DEF "nontaxable=VARCHAR2(3)"
Database products COLUMN_DEF "weight=VARCHAR2(12) DEFAULT '0'"
Database products COLUMN_DEF "size=VARCHAR2(96)"
Database products COLUMN_DEF "color=VARCHAR2(96)"
Database products COLUMN_DEF "gift_cert=VARCHAR2(3)"
Database products COLUMN_DEF "related=VARCHAR2(2000)"
Database products COLUMN_DEF "featured=VARCHAR2(32)"
Database products NUMERIC price
I think that you'll find a quick more or less on those files with a .ora
extension will answer most of those questions :)
From: interchange-users at interchange.redhat.com (www.bathbodybeyond.com)
Date: Thu Oct 18 16:43:01 2001
Subject: [ic] Help Needed Please
Thanks Rick,
I will start on your suggestions.
----- Original Message -----
From: "Rick Eicher II" <rick@texol.net>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 18, 2001 2:38 PM
Subject: RE: [ic] Help Needed Please
> There is a number of us that are using are starting to use linkpoint. I
have
> successfully hacked (with the help of many others) a global sub that
works.
> First look through the archives to read what has been said. Also look for
> information about global subs both in the archives and in the docs. I had
to
> buy the perl wrapper to make this work.
>
> There has been some recent talk about a better way of doing this. Not
sure.
>
> Hope this gets you started,
> Rick Eicher II
> rick@texol.net
>
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> www.bathbodybeyond.com
> Sent: Thursday, October 18, 2001 1:41 PM
> To: interchange-users@interchange.redhat.com
> Subject: [ic] Help Needed Please
>
>
> I am very new to the interchange arena, I am desperately trying to set up
my
> shopping cart, I have three problems that I can not figure out.
>
> First, after order information is keyed in on the check out screen, it
does
> nothing, it reloads the check out form with the same information and the
> order is not transmitted via email or to any of the databases.
>
> Second with the databases that come with the foundations demo, how do I
add
> a field to that database.
>
> Third, Can anyone lead me in a direction as to how the credit card number
is
> stored and how I can access it, if you dont have any real time credit card
> services installed, for instance I use linkpoint
>
> Any links or help would be greatly appreciated.
>
> I am using interchange 4.8.
>
> Tanya Rayford
> Bath Body and More
> http://www.bathbodybeyond.com
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at interchange.redhat.com (Chad Wittrock)
Date: Thu Oct 18 16:47:00 2001
Subject: [ic] Database Table Definitions
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.COM
> [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of
> Matthew T. Snyder
> Sent: Thursday, October 18, 2001 3:14 PM
> To: interchange-users@interchange.redhat.COM
> Subject: RE: [ic] Database Table Definitions
>
>
> <snip>
>
> > This states the tables and column names, which is very helpful.
> > But, I need
> > the files that specify the data types of each column, any indexes
> > that were
> > made, and primary keys. I am sure I could probably make up my own, but I
> > already have this working with the default tables that were setup during
> > makecat for the default db. I would like to move this over to
> > Oracle tables
> > so I need to set up the tables the same way, as I have data in
> > the existing
> > tables. Is there a place that lists the data types, indexes, etc? Like I
> > said I found a few like:
> > /var/lib/interchange/mycatalog/dbconf/oracle/products.ora. But,
> > there is not
> > one of these files for every table listed at this link you gave me. Can
> > someone explain/help me with this?
> > Chad
>
> Most of those files can be found under the CATROOT/dbconf directory. I'm
> not familiar with oracle, so I'm not certain exactly how those
> files are set
> up - I've never looked. However, patrick was right in his
> earlier post, as
> far as I know... if it's a .dbm file extension, it doesn't show up in the
> database (at least not under MySQL or PostgreSQL), although it might be
> possible to change things so it does.
>
> The following is a snippet of what I see within my CATROOT/dbconf/oracle
> (and looks almost identical to products.mysql):
>
> <snip>
> Database products DEFAULT_TYPE VARCHAR2(128)
> Database products KEY sku
> Database products COLUMN_DEF "sku=VARCHAR2(64) PRIMARY KEY"
> Database products COLUMN_DEF "description=VARCHAR2(128)"
> Database products COLUMN_DEF "title=VARCHAR2(128) DEFAULT ''"
> Database products INDEX title
> Database products COLUMN_DEF "template_page=VARCHAR2(64)"
> Database products COLUMN_DEF "comment=VARCHAR2(2000)"
> Database products COLUMN_DEF "thumb=VARCHAR2(128)"
> Database products COLUMN_DEF "image=VARCHAR2(64)"
> Database products COLUMN_DEF "price=DECIMAL(12,2)"
> Database products INDEX price
> Database products COLUMN_DEF "category=VARCHAR2(64)"
> Database products INDEX category
> Database products INDEX prod_group
> Database products COLUMN_DEF "nontaxable=VARCHAR2(3)"
> Database products COLUMN_DEF "weight=VARCHAR2(12) DEFAULT '0'"
> Database products COLUMN_DEF "size=VARCHAR2(96)"
> Database products COLUMN_DEF "color=VARCHAR2(96)"
> Database products COLUMN_DEF "gift_cert=VARCHAR2(3)"
> Database products COLUMN_DEF "related=VARCHAR2(2000)"
> Database products COLUMN_DEF "featured=VARCHAR2(32)"
> Database products NUMERIC price
>
> I think that you'll find a quick more or less on those files with a .ora
> extension will answer most of those questions :)
>
Thanks for everyones input. I will try this and see where it gets me.
Chad
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Thu Oct 18 16:53:01 2001
Subject: [ic] Help Needed Please
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
www.bathbodybeyond.com
Sent: Thursday, October 18, 2001 11:41 AM
To: interchange-users@interchange.redhat.com
Subject: [ic] Help Needed Please
I am very new to the interchange arena, I am desperately trying to set up my
shopping cart, I have three problems that I can not figure out.
First, after order information is keyed in on the check out screen, it does
nothing, it reloads the check out form with the same information and the
order is not transmitted via email or to any of the databases.
Check the routes in catalog.cfg
Second with the databases that come with the foundations demo, how do I add
a field to that database.
Download them via the admin UI add the column then upload that file to the
database
Third, Can anyone lead me in a direction as to how the credit card number is
stored and how I can access it, if you dont have any real time credit card
services installed, for instance I use linkpoint
credit card numbers are not stored on the system.
I found it very userful to use IC's default mechanism to encrypt the credit
card info using gpg. Info about it can be found at www.gnupg.org .There is a
windows version called Windoze gpg that will unencrypt those credit cards
for you on your windows machine.
GoodLuck
Any links or help would be greatly appreciated.
I am using interchange 4.8.
Tanya Rayford
Bath Body and More
http://www.bathbodybeyond.com
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Ben H)
Date: Thu Oct 18 16:55:00 2001
Subject: [ic] Help Needed Please
About adding a field to a database, look at the documentation for your
database, there should be some 'alter' or equivalent statement that will
allow you to modify your table's structure.
At 03:41 PM 10/18/2001 -0500, you wrote:
>Thanks Rick,
>
>I will start on your suggestions.
>----- Original Message -----
>From: "Rick Eicher II" <rick@texol.net>
>To: <interchange-users@interchange.redhat.com>
>Sent: Thursday, October 18, 2001 2:38 PM
>Subject: RE: [ic] Help Needed Please
>
>
> > There is a number of us that are using are starting to use linkpoint. I
>have
> > successfully hacked (with the help of many others) a global sub that
>works.
> > First look through the archives to read what has been said. Also look for
> > information about global subs both in the archives and in the docs. I had
>to
> > buy the perl wrapper to make this work.
> >
> > There has been some recent talk about a better way of doing this. Not
>sure.
> >
> > Hope this gets you started,
> > Rick Eicher II
> > rick@texol.net
> >
> > -----Original Message-----
> > From: interchange-users-admin@interchange.redhat.com
> > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > www.bathbodybeyond.com
> > Sent: Thursday, October 18, 2001 1:41 PM
> > To: interchange-users@interchange.redhat.com
> > Subject: [ic] Help Needed Please
> >
> >
> > I am very new to the interchange arena, I am desperately trying to set up
>my
> > shopping cart, I have three problems that I can not figure out.
> >
> > First, after order information is keyed in on the check out screen, it
>does
> > nothing, it reloads the check out form with the same information and the
> > order is not transmitted via email or to any of the databases.
> >
> > Second with the databases that come with the foundations demo, how do I
>add
> > a field to that database.
> >
> > Third, Can anyone lead me in a direction as to how the credit card number
>is
> > stored and how I can access it, if you dont have any real time credit card
> > services installed, for instance I use linkpoint
> >
> > Any links or help would be greatly appreciated.
> >
> > I am using interchange 4.8.
> >
> > Tanya Rayford
> > Bath Body and More
> > http://www.bathbodybeyond.com
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> >
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Thu Oct 18 16:58:00 2001
Subject: [ic] Database Table Definitions
Quoting Chad Wittrock (Chad.Wittrock@uni.edu):
>
> >these for each table. I have come across some for certain tables,
> >for example products
> >(/var/lib/interchange/mycatalog/dbconf/oracle/products.ora). But
> I have not found a file like this for every table, for example
> 2ndDayAir. Do I need to look somewhere else or is this all the
> definitions? I am attempting to recreate the tables that were made
> with the default db in oracle so that I can use oracle as my
> backend db.
>
Actually, this is one of the things about Interchange people
don't understand:
There is no ironclad definition. It is flexible.
I know it pains people that they aren't told exactly what to do in every
situation. But Interchange is flexible, not totally structured. There is
no *one and true* database definition.
We don't require that a certain field be a certain type except what you
see there.
I am afraid you will have to live with that.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
How far can you open your mind before your brains fall out?
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 18 18:11:01 2001
Subject: [ic] Server errors
Is this a known bug, and is it scheduled to be fixed? Just curious
because it basically renders the admin interface unusable after it is
triggered. Seems to be triggered when creating or editing a new
template. This happened more in 4.8.2, but just downloaded the current
stable branch 4.8.3 and it does the same thing.
Main error log:
63.228.109.101 - - [18/October/2001:15:07:06 -0700] chris
/cgi-bin/chris/admin/error.html Died in server spawn: Can't call method
"new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm
line 674.
>
63.228.109.101 - - [18/October/2001:15:07:07 -0700] chris
/cgi-bin/chris/admin/error.html Died in server spawn: Can't call method
"new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm
line 674.
>
63.228.109.101 - - [18/October/2001:15:07:19 -0700] chris
/cgi-bin/chris/process.html Died in server spawn: Can't call method
"new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm
line 674.
>
63.228.109.101 - - [18/October/2001:15:07:26 -0700] chris
/cgi-bin/chris/admin/merchandising.html Died in server spawn: Can't call
method "new" on an undefined value at
/usr/local/interchange/lib/Vend/Data.pm line 674.
>
63.228.109.101 - - [18/October/2001:15:07:29 -0700] chris
/cgi-bin/chris/admin/layout.html Died in server spawn: Can't call method
"new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm
line 674.
catalog error log:
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
field='label' key='products::url'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
field='label' key='products::sale_price'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
field='label' key='products::image_large'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
field='label' key='products::item_type'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
field='label' key='products::recur_billing'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
field='label' key='products::bill_cycle'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
field='label' key='products::recur_bill_amount'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
field='label' key='products::num_times'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:07:19 -0700]
chris /cgi-bin/chris/process.html Successful login by user 'chris'
63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:07:24 -0700]
chris /cgi-bin/chris/process.html Successful login by user 'chris'
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 18 18:18:00 2001
Subject: [ic] sql tag strangeness
on_match returns true even when a valid query returns an empty result...
Chris
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 18 18:23:01 2001
Subject: [ic] Multiple catalogs with same product db
On Thu, 18 Oct 2001, Jason Timm wrote:
JT>>I have been looking through the archives and docs but haven't seen anything
JT>>on this. We currently have catalogs running independently, but are going to
JT>>have multiple catalogs that need to use the same product table (as well as
JT>>possibly some other tables). Is there any way for 2 catalogs to share some
JT>>common tables like this (some tables such as the customer table will need to
JT>>remain separate)?
I would try symbolic links on the databases that you want to share.
Or, fully define the paths in the config files to use the ones in a
different store. I think that the symbolic links would have a better chance
of working, though.
YMMV
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 18, 2001 at 18:20 PM:
Any given program will expand to fill available memory.
----------------------------------------------------------------
This Linux System has been up 118 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 18 18:24:42 2001
Subject: [ic] sql tag strangeness
> on_match returns true even when a valid query returns an
> empty result...
>
> Chris
Add type=list list=1 to your [query ...] params.
HTH,
-Dan
From: interchange-users at interchange.redhat.com (Idoménée)
Date: Thu Oct 18 18:27:00 2001
Subject: [ic] Credit Card Payement
Help me, please !
My bank gives me the below perl test code to connect my catalog with their credit card control URL.
On my system, the binary sips_request is in the directory /bin
I have copied this code on a page to test, it generates the error :
Safe : open trapped by operation mask (eval 677) line 35
Where are the errors ?
Thank you
Daniel ROULLIERE
Millau FRANCE
[perl]
sub sips_payment_request {
my $path_bin = "/bin";
return'
<B>SHERLOCKS - Paiement Sécurisé sur Internet</B><br>
<H1>Test du plug-in</H1><br>';
# initialisation des parametres dynamiques de la transactions
# si un parametre n'est pas valorise, on l'initialise a NULL
my $merchant_id = "014295303911111";
my $amount = "12500";
my $currency_code = "250";
my $language = "fr";
my $return_context = "your_orderid";
my $receipt_complement = "NULL";
my $caddie = "NULL";
my $data = "NULL";
# load module sips_request
my $sips_parm = "$merchant_id $amount $currency_code $language $return_context $receipt_complement $caddie $data";
return'$sips_parm';
open(INFO,"$path_bin/sips_request $sips_parm|");
@lines = <INFO>;
close(INFO);
my $result_sips_request = $lines[0];
@result_sips_request_tab = split("!",$result_sips_request);
# recuperation des parametres
my $sips_return_code = $result_sips_request_tab[1];
my $sips_error_message = $result_sips_request_tab[2];
my $sips_html_message = $result_sips_request_tab[3];
# analyze return code
if ( ( $sips_return_code != 0 ) || ( $sips_return_code eq "" ) )
{
return'(<br><hr><br>)';
return'(<center><b><h3>)';
return '(Erreur appel request)';
return '(<br><br>)';
return '(Error message : $sips_error_message )';
return '(</h3></b></center>)';
return '(<br><hr><br>)';
return;
};
# Display cards logos and payement screen
return'(<center>)';
return'(<H3>Choisissez maintenant un type de paiement ci-dessous :</H3>)';
return'(</center>)';
return'(<br><hr><br>)';
return'($sips_html_message)';
return'(<br><br>)';
}
return;
[/perl]
[calc]sips_payment_request[/calc]
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 18 18:32:01 2001
Subject: [ic] Credit Card Payement
> Help me, please !
> My bank gives me the below perl test code to connect my
> catalog with their credit card control URL. On my system, the
> binary sips_request is in the directory /bin
>
> I have copied this code on a page to test, it generates the error :
>
> Safe : open trapped by operation mask (eval 677) line 35
[...]
Try following the model of existing payment method by creating a module.
-Dan
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 18 18:49:00 2001
Subject: [ic] sql tag strangeness
Nope already tried that one..
Chris
On Thu, 18 Oct 2001, Dan Browning wrote:
> > on_match returns true even when a valid query returns an
> > empty result...
> >
> > Chris
>
> Add type=list list=1 to your [query ...] params.
>
> HTH,
>
> -Dan
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Thu Oct 18 18:52:01 2001
Subject: [ic] Credit Card Payement
At 09:28 PM 10/18/01, you wrote:
>Help me, please !
>My bank gives me the below perl test code to connect my catalog with their
>credit card control URL.
>On my system, the binary sips_request is in the directory /bin
>
>I have copied this code on a page to test, it generates the error :
>
>Safe : open trapped by operation mask (eval 677) line 35
>
>Where are the errors ?
>
>Thank you
>
>Daniel ROULLIERE
>
>Millau FRANCE
>
>[perl]
>
>sub sips_payment_request {
>
>my $path_bin = "/bin";
>
>
>return'
><B>SHERLOCKS - Paiement Sécurisé sur Internet</B><br>
><H1>Test du plug-in</H1><br>';
>
>
>
>
># initialisation des parametres dynamiques de la transactions
># si un parametre n'est pas valorise, on l'initialise a NULL
>my $merchant_id = "014295303911111";
>my $amount = "12500";
>my $currency_code = "250";
>my $language = "fr";
>my $return_context = "your_orderid";
>my $receipt_complement = "NULL";
>my $caddie = "NULL";
>my $data = "NULL";
>
> # load module sips_request
>
>my $sips_parm = "$merchant_id $amount $currency_code $language
>$return_context $receipt_complement $caddie $data";
>return'$sips_parm';
>
>
>open(INFO,"$path_bin/sips_request $sips_parm|");
<snip>
Daniel,
Your perl block is attempting to open a file. It is being executed under
Safe.pm which prohibits this
potentially unsecure action.
One way to get around this is to use a global Usertag :
Definition:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icconfig_60.html
Specs:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_89.html
There are other ways, but not in embedded perl.
Kyle Cook
From: interchange-users at interchange.redhat.com (interch)
Date: Thu Oct 18 18:53:19 2001
Subject: [ic] Server errors
Just a followup on this. I got these errors when running in rpc mode,
switched to low traffic mode and they went away.
Chris
On Thu, 18 Oct 2001, interch wrote:
>
> Is this a known bug, and is it scheduled to be fixed? Just curious
> because it basically renders the admin interface unusable after it is
> triggered. Seems to be triggered when creating or editing a new
> template. This happened more in 4.8.2, but just downloaded the current
> stable branch 4.8.3 and it does the same thing.
>
>
> Main error log:
>
> 63.228.109.101 - - [18/October/2001:15:07:06 -0700] chris
> /cgi-bin/chris/admin/error.html Died in server spawn: Can't call method
> "new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm
> line 674.
> >
> 63.228.109.101 - - [18/October/2001:15:07:07 -0700] chris
> /cgi-bin/chris/admin/error.html Died in server spawn: Can't call method
> "new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm
> line 674.
> >
> 63.228.109.101 - - [18/October/2001:15:07:19 -0700] chris
> /cgi-bin/chris/process.html Died in server spawn: Can't call method
> "new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm
> line 674.
> >
> 63.228.109.101 - - [18/October/2001:15:07:26 -0700] chris
> /cgi-bin/chris/admin/merchandising.html Died in server spawn: Can't call
> method "new" on an undefined value at
> /usr/local/interchange/lib/Vend/Data.pm line 674.
> >
> 63.228.109.101 - - [18/October/2001:15:07:29 -0700] chris
> /cgi-bin/chris/admin/layout.html Died in server spawn: Can't call method
> "new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm
> line 674.
>
> catalog error log:
>
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
> chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
> field='label' key='products::url'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
> chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
> field='label' key='products::sale_price'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
> chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
> field='label' key='products::image_large'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
> chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
> field='label' key='products::item_type'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
> chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
> field='label' key='products::recur_billing'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
> chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
> field='label' key='products::bill_cycle'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
> chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
> field='label' key='products::recur_bill_amount'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:05:35 -0700]
> chris /cgi-bin/chris/admin/item.html Bad data selector='mv_metadata'
> field='label' key='products::num_times'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:07:19 -0700]
> chris /cgi-bin/chris/process.html Successful login by user 'chris'
> 63.228.109.101 4NwKbUeR:63.228.109.101 - [18/October/2001:15:07:24 -0700]
> chris /cgi-bin/chris/process.html Successful login by user 'chris'
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Korey Gozman)
Date: Thu Oct 18 19:00:01 2001
Subject: [ic] Handling charge, with ceiling
Hey,
I think I figured it out.
ok so ..
I had this
<INPUT TYPE=hidden NAME=mv_handling VALUE="12.00">
in my checkout.html,
and It kept telling me that nothing found for mode 12.00 so
I though why not set it to this
<INPUT TYPE=hidden NAME=mv_handling VALUE="handling">
and add this to shipping.asc
handling All Orders price 0 100 m {'adder' => "12.00",}
handling All Orders price 100 999999 m {'adder' => "0.00",}
Just the way its supposed to,.
Its amazing what opensource can do,.
Thanks Ed.
-Korey
Ed LaFrance wrote:
> At 10:11 AM 10/18/2001 -0700, you wrote:
> >Hi,
> > I would like to implement a handling charge for Orders that are 100 $ or
> > less,
> >Now, Im not having problems adding a handling charge, but Im having difficulty
> >with
> >the ceiling of 100 $.and as always this is in compliment to shipping charge
> >(as opposed to instead of),
> > So if anyone knows any sophisticated, or just functional way of doing thus,
> >please let me know,
> >
> >Thanks Guys,
> >
> >-=Korey. G=-
>
> I have used mv_handling for something like this, and it does work, as long
> as you don't mind the handling charge being itemized separately from the
> shipping charge:
> http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_43.html
>
> ...otherwise you can use the [assign] tag, possibly in conjunction with
> mv_handling, to add the surcharge to th base shipping amount:
> http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_8.html
>
> - Ed L.
>
> ===============================================================
> New Media E.M.S. Software Solutions for Business
> 463 Main St., Suite D eCommerce | Consulting | Hosting
> Placerville, CA 95667 edl@newmediaems.com
> (530) 622-9421 http://www.newmediaems.com
> (866) 519-4680 Toll-Free (530) 622-9426 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 18 19:11:00 2001
Subject: [ic] sql tag strangeness
> Nope already tried that one..
>
> Chris
>
> On Thu, 18 Oct 2001, Dan Browning wrote:
>
> > > on_match returns true even when a valid query returns an
> > > empty result...
> > >
> > > Chris
> >
> > Add type=list list=1 to your [query ...] params.
> >
> > HTH,
> >
> > -Dan
<interchange-users guidelines>
-- Contextual quoting is preferred, i.e.
Quoting user1 (<user1@somedomain.redhat.com>):
> Some limited text that will give context.
>
Your reply.
versus
Your reply, lazily put at the top.
Quoting user1 (<user1@somedomain.redhat.com>):
> The whole big blob of the previous posts, including
> signatures and all
In fact, the author of the program stops following a thread
the moment this lazy quoting method is used. He figures that
if you can't take half a minute of your time to save multiple
minutes of the readers time, the heck with ya.
</interchange-users guidelines>
That said, would you be so kind as to simplify your code to the smallest
set that exhibits the problem and then post it to the list?
-Dan
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 18 19:18:00 2001
Subject: [ic] Database Table Definitions
Mike,
I think what would be helpful in the documentation is to have a set
of books that describe how IC works and a separate book which explains
how the Foundation Store is set up as a reference implementation of
an IC site. Right now, the line between what is defined as part of
the IC core and what has been implemented in the Foundation Store is
quite fuzzy. Might make things much clearer.
Patrick
-----Original Message-----
From: Mike Heins [mailto:mheins@redhat.com]
Sent: Thursday, October 18, 2001 2:55 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Database Table Definitions
[snip]
Actually, this is one of the things about Interchange people
don't understand:
There is no ironclad definition. It is flexible.
I know it pains people that they aren't told exactly what to do in every
situation. But Interchange is flexible, not totally structured. There is
no *one and true* database definition.
We don't require that a certain field be a certain type except what you
see there.
I am afraid you will have to live with that.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
How far can you open your mind before your brains fall out?
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Fri Oct 19 01:34:00 2001
Subject: [ic] Updation of Database table
Hi
I have created a catalog which is linked to the postgres database and
everything is working fine. But I want to find out how and where the order
record is getting inserted in the table?. Also if I return the item the
shipment status is to be updated. How that updation is done?
Thanks
Madhavan.K
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Fri Oct 19 01:50:00 2001
Subject: [ic] Maintaining Session
Hi,
Can someone plz clearly state me about the two database files namely
transactions and Orderline. As far as the document specifies it says that
each and every item of an order are
stored in the orderline table whereas a summary of the order is stored in
the transactions table.
I.e., There lies a one to many relation between the transactions and
orderline wherein every parent
record in the transaction table there is one or many child records
available
in the orderline table.
I guess iam clear in my understanding. If not pls correct me.
Well, my question is, if this is the case then how multiple shipping
locations are taken care.
Coz the current structure of the orderline table doesn't seem to have
sufficient columns for the same. Moreover the demo avl (foundation catalog)
seem to accept ship
address for each and every item purchased, but at checkout it still asks
for a shipping
address.
Can someone plz do correct me if iam misunderstood ??
Thnx in advance.
Balaji
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Fri Oct 19 02:02:01 2001
Subject: [ic] Multiple catalogs with same product db
> possibly some other tables). Is there any way for 2 catalogs to
> share some
> common tables like this (some tables such as the customer table
> will need to
> remain separate)?
If you specify the db in the interchange.cfg, you'll get a global db that
works for all catalogs
Rene
From: interchange-users at interchange.redhat.com (anandha prassanna)
Date: Fri Oct 19 02:13:01 2001
Subject: [ic] Basic quetsions about Interchange
Hi everybody,
I'am a new enterant to interchange .
I've setup & configured everything.
Just started devolping things and customising things.
The info given in the tutorial and pdf's are not
sufficient
enough to know certain key points.
I fail to know
1. Where the order is getting loaded in to database.
I'am also not very accustomed to the tags.where
the control passes after the /etc/profiles.order
is checked for validation .
2. How to manually store some of the order into
the database and how to deviate from his own
standard
error messages.
It would be very useful if u guys can guide me on this
issues.
with Regards,
Prassanna.
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Fri Oct 19 02:29:00 2001
Subject: [ic] multiple shipping address
Hi,
Can someone plz clearly state me about the two database files namely
transactions and Orderline. As far as the document specifies it says that
each and every item of an order are
stored in the orderline table whereas a summary of the order is stored in
the transactions table.
I.e., There lies a one to many relation between the transactions and
orderline wherein every parent
record in the transaction table there is one or many child records
available
in the orderline table.
I guess iam clear in my understanding. If not pls correct me.
Well, my question is, if this is the case then how multiple shipping
locations are taken care.
Coz the current structure of the orderline table doesn't seem to have
sufficient columns for the same. Moreover the demo avl (foundation
catalog)
seem to accept ship
address for each and every item purchased, but at checkout it still asks
for a shipping
address.
Can someone plz do correct me if iam misunderstood ??
Thnx in advance.
Balaji
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Fri Oct 19 02:42:01 2001
Subject: [ic] Maintaining Session
At 09:25 AM 10/19/01, you wrote:
>Hi,
> Can someone plz clearly state me about the two database files namely
> transactions and Orderline. As far as the document specifies it says that
> each and every item of an order are
> stored in the orderline table whereas a summary of the order is stored in
> the transactions table.
>
> I.e., There lies a one to many relation between the transactions and
> orderline wherein every parent
> record in the transaction table there is one or many child records
>available
> in the orderline table.
>
> I guess iam clear in my understanding. If not pls correct me.
>
> Well, my question is, if this is the case then how multiple shipping
> locations are taken care.
> Coz the current structure of the orderline table doesn't seem to have
> sufficient columns for the same. Moreover the demo avl (foundation catalog)
>seem to accept ship
> address for each and every item purchased, but at checkout it still asks
>for a shipping
> address.
>
> Can someone plz do correct me if iam misunderstood ??
> Thnx in advance.
> Balaji
It's been a while since I've had the chance to use the actual database
structure
as is, constantly doing custom db schemes.
I know that at one time , multiple ship to addresses were saved in userdb for
logged in users.
Hope this helps.
Kyle
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Fri Oct 19 02:59:01 2001
Subject: [ic] Basic quetsions about Interchange
At 09:39 AM 10/19/01, you wrote:
>Hi everybody,
>
> I'am a new enterant to interchange .
> I've setup & configured everything.
> Just started devolping things and customising things.
> The info given in the tutorial and pdf's are not
>sufficient
> enough to know certain key points.
>
>
> I fail to know
>
> 1. Where the order is getting loaded in to database.
> I'am also not very accustomed to the tags.where
> the control passes after the /etc/profiles.order
> is checked for validation .
>
> 2. How to manually store some of the order into
> the database and how to deviate from his own
>standard
> error messages.
>
> It would be very useful if u guys can guide me on this
>issues.
>
>with Regards,
>Prassanna.
Prassanna,
Check catalog.cfg for a line like:
Route log report etc/log_transaction
Also look into the file etc/log_transactions
Look here for route options:
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icdatabase10%2e03
Good Luck,
Kyle
From: interchange-users at interchange.redhat.com (Joel)
Date: Fri Oct 19 03:09:00 2001
Subject: [ic] Where can i find the linkbar of the adminmenu ?
Hi !
Where can i find the linksbars of the adminmenu
i want change the link which is linking to entry.html but i cant find the
include file which creates the linkbars. Can someone help me ? IC Version is
4.8.2
mfg. Joel
From: interchange-users at interchange.redhat.com (anandha prassanna)
Date: Fri Oct 19 03:35:00 2001
Subject: [ic] Basic quetsions about Interchange
Hi Kyle ,
Thanx a lot for providing me this info .
Indeed it helped me a lot.
with Regards,
prassanna
----- Original Message -----
From: Kyle Cook <kyle@invisio.com>
To: <interchange-users@interchange.redhat.com>
Sent: Friday, October 19, 2001 1:56 AM
Subject: Re: [ic] Basic quetsions about Interchange
> At 09:39 AM 10/19/01, you wrote:
> >Hi everybody,
> >
> > I'am a new enterant to interchange .
> > I've setup & configured everything.
> > Just started devolping things and customising
things.
> > The info given in the tutorial and pdf's are not
> >sufficient
> > enough to know certain key points.
> >
> >
> > I fail to know
> >
> > 1. Where the order is getting loaded in to database.
> > I'am also not very accustomed to the tags.where
> > the control passes after the /etc/profiles.order
> > is checked for validation .
> >
> > 2. How to manually store some of the order into
> > the database and how to deviate from his own
> >standard
> > error messages.
> >
> > It would be very useful if u guys can guide me on
this
> >issues.
> >
> >with Regards,
> >Prassanna.
>
> Prassanna,
>
> Check catalog.cfg for a line like:
>
> Route log report etc/log_transaction
>
> Also look into the file etc/log_transactions
>
> Look here for route options:
>
>
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icdatabase10%2e0
3
>
> Good Luck,
>
> Kyle
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Fri Oct 19 03:54:01 2001
Subject: [ic] Where can i find the linkbar of the adminmenu ?
At 12:04 AM 10/19/01, you wrote:
>Hi !
>
>Where can i find the linksbars of the adminmenu
>
>i want change the link which is linking to entry.html but i cant find the
>include file which creates the linkbars. Can someone help me ? IC Version is
>4.8.2
>
>mfg. Joel
You can learn tons by simply looking over (searching, grep) through all of
the dirs/files
that were installed.
Look for a file called ...../bin/UI/icmenu.txt, looks like that is what
gives you your menu options.
Kyle Cook
From: interchange-users at interchange.redhat.com (Ton Verhagen)
Date: Fri Oct 19 04:06:00 2001
Subject: [ic] IRC weekly meetings
Dear All,
Unfortunately I haven't been able to attend the IRC weekly meetings for the
past two weeks.
Are the logs still posted to:
http://interchange.redhat.com/ic/irc/
or has this location been changed?
Couldn't find logs of IRC's on: October 9, 11, 16, and 18.
Thanks!
Best
Ton
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 19 04:10:01 2001
Subject: [ic] Updation of Database table
"fctmaillist" <fctmaillist@megasoft.com> writes:
> Hi
>
> I have created a catalog which is linked to the postgres database and
> everything is working fine. But I want to find out how and where the order
> record is getting inserted in the table?.
etc/log_transaction in the foundation demo catalog
>Also if I return the item the
> shipment status is to be updated. How that updation is done?
You can do I via the UI.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 19 04:13:01 2001
Subject: [ic] Server errors
interch <interch@web3.valley-internet.com> writes:
> Is this a known bug, and is it scheduled to be fixed? Just curious
> because it basically renders the admin interface unusable after it is
> triggered. Seems to be triggered when creating or editing a new
> template. This happened more in 4.8.2, but just downloaded the current
> stable branch 4.8.3 and it does the same thing.
It was reported often enough to let us believe that is indeed a bug
in 4.8.x. You can switch PreFork mode off to workaround.
What kind of installation do you use (RPM, Debian, Tar), what Perl
version is installed on your system and what database are you
using ?
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Joel)
Date: Fri Oct 19 04:19:00 2001
Subject: [ic] Where can i find the linkbar of the adminmenu ?
Am Freitag, 19. Oktober 2001 09:50 schrieben Sie:
> At 12:04 AM 10/19/01, you wrote:
>
> You can learn tons by simply looking over (searching, grep) through all of
> the dirs/files
> that were installed.
>
> Look for a file called ...../bin/UI/icmenu.txt, looks like that is what
> gives you your menu options.
>
>
> Kyle Cook
>
Thx,
sorry about the question but do you really know how many files that are ? A
lot, an i'm sorry that i#m not as fit enough handle some linuxcommands
because i'm new in this bussiness. And the main question is , why is there a
mailinglist then ?
I read a lot of Sourcefile but i searched in the admin dir because all files
of the admin Section were there, i don not really understand the directiory
buidup the interchangeteam uses ! Sometimes it is a little misteryous to me :)
Joel
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Fri Oct 19 04:50:00 2001
Subject: [ic] multiple shipping address
Hi kyle,
Its true that the shipping address details are maintained in the userdb
table in
a column named address_book, but i want to clarify how shipping address
details for orders made are maintained. Suppose i buy 3 items, i can ship
all the 3 items to three different shipping addresses.
There are no fields available as of now in the orderline table.
Do u have any idea of the same ?
Balaji
----- Original Message -----
From: fctmaillist <fctmaillist@megasoft.com>
To: <interchange-users@interchange.redhat.com>
Sent: Friday, October 19, 2001 12:03 PM
Subject: [ic] multiple shipping address
> Hi,
> Can someone plz clearly state me about the two database files namely
> transactions and Orderline. As far as the document specifies it says
that
> each and every item of an order are
> stored in the orderline table whereas a summary of the order is stored
in
> the transactions table.
>
> I.e., There lies a one to many relation between the transactions and
> orderline wherein every parent
> record in the transaction table there is one or many child records
> available
> in the orderline table.
>
> I guess iam clear in my understanding. If not pls correct me.
>
> Well, my question is, if this is the case then how multiple shipping
> locations are taken care.
> Coz the current structure of the orderline table doesn't seem to have
> sufficient columns for the same. Moreover the demo avl (foundation
> catalog)
> seem to accept ship
> address for each and every item purchased, but at checkout it still asks
> for a shipping
> address.
>
> Can someone plz do correct me if iam misunderstood ??
> Thnx in advance.
> Balaji
>
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Fri Oct 19 04:57:00 2001
Subject: [ic] Where can i find the linkbar of the adminmenu ?
At 01:15 AM 10/19/01, you wrote:
>Am Freitag, 19. Oktober 2001 09:50 schrieben Sie:
> > At 12:04 AM 10/19/01, you wrote:
>
> >
> > You can learn tons by simply looking over (searching, grep) through all of
> > the dirs/files
> > that were installed.
> >
> > Look for a file called ...../bin/UI/icmenu.txt, looks like that is what
> > gives you your menu options.
> >
> >
> > Kyle Cook
> >
>
>Thx,
>
>sorry about the question but do you really know how many files that are ? A
>lot, an i'm sorry that i#m not as fit enough handle some linuxcommands
>because i'm new in this bussiness. And the main question is , why is there a
>mailinglist then ?
>
>I read a lot of Sourcefile but i searched in the admin dir because all files
>of the admin Section were there, i don not really understand the directiory
>buidup the interchangeteam uses ! Sometimes it is a little misteryous to me :)
>
>Joel
Joel,
No criticism meant ;-)
Actually as far as all the files, because I use windows, I've actually
"unzipped"
the .gz file on to my widows machine, and then use a coldfusion to search
through all
files and directories for key words.
I started with MV 3.11 and still learn new things every day ;-)
Have a good one, I'm headed for bed............
Kyle
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Fri Oct 19 07:12:01 2001
Subject: [ic] Multiple Shipping Address
Hi,
Can someone plz clearly state me about the two database files namely
transactions and Orderline. As far as the document specifies it says that
each and every item of an order are
stored in the orderline table whereas a summary of the order is stored in
the transactions table.
I.e., There lies a one to many relation between the transactions and
orderline wherein every parent
record in the transaction table there is one or many child records
available
in the orderline table.
I guess iam clear in my understanding. If not pls correct me.
Well, my question is, if this is the case then how multiple shipping
locations are taken care.
Coz the current structure of the orderline table doesn't seem to have
sufficient columns for the same. Moreover the demo avl (foundation
catalog)
seem to accept ship
address for each and every item purchased, but at checkout it still asks
for a shipping
address.
Can someone plz do correct me if iam misunderstood ??
Thnx in advance.
Balaji
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Fri Oct 19 07:15:00 2001
Subject: [ic] Multiple Shipping Address
Hi kyle,
Its true that the shipping address details are maintained in the userdb
table in
a column named address_book, but i want to clarify how shipping address
details for orders made are maintained. Suppose i buy 3 items, i can ship
all the 3 items to three different shipping addresses.
There are no fields available as of now in the orderline table.
Do u have any idea of the same ?
Balaji
From: interchange-users at interchange.redhat.com (Circum)
Date: Fri Oct 19 10:45:00 2001
Subject: [ic] Credit Card Payement
Thank you Kile, I have created and UserTag and now the code is good (
after some modifications...) !
I'm HAPPY....
Daniel
Kyle Cook wrote:
> At 09:28 PM 10/18/01, you wrote:
>
>> Help me, please !
>> My bank gives me the below perl test code to connect my catalog with
>> their credit card control URL.
>> On my system, the binary sips_request is in the directory /bin
>>
>> I have copied this code on a page to test, it generates the error :
>>
>> Safe : open trapped by operation mask (eval 677) line 35
>>
>> Where are the errors ?
>>
>> Thank you
>>
>> Daniel ROULLIERE
>>
>> Millau FRANCE
>>
>> [perl]
>>
>> sub sips_payment_request {
>>
>> my $path_bin = "/bin";
>>
>>
>> return'
>> <B>SHERLOCKS - Paiement Sécurisé sur Internet</B><br>
>> <H1>Test du plug-in</H1><br>';
>>
>>
>>
>>
>> # initialisation des parametres dynamiques de la transactions
>> # si un parametre n'est pas valorise, on l'initialise a NULL
>> my $merchant_id = "014295303911111";
>> my $amount = "12500";
>> my $currency_code = "250";
>> my $language = "fr";
>> my $return_context = "your_orderid";
>> my $receipt_complement = "NULL";
>> my $caddie = "NULL";
>> my $data = "NULL";
>>
>> # load module sips_request
>>
>> my $sips_parm = "$merchant_id $amount $currency_code $language
>> $return_context $receipt_complement $caddie $data";
>> return'$sips_parm';
>>
>>
>> open(INFO,"$path_bin/sips_request $sips_parm|");
>
>
> <snip>
>
> Daniel,
>
> Your perl block is attempting to open a file. It is being executed
> under Safe.pm which prohibits this
> potentially unsecure action.
>
> One way to get around this is to use a global Usertag :
>
> Definition:
> http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icconfig_60.html
>
>
> Specs:
> http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_89.html
>
>
>
> There are other ways, but not in embedded perl.
>
> Kyle Cook
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Birgitt Funk)
Date: Fri Oct 19 11:20:01 2001
Subject: [ic] IRC weekly meeting
Ton wrote:
>Unfortunately I haven't been able to attend the IRC weekly meetings > for
>the past two weeks.
I missed the Oct 11th too, but thought (after not seeing a transcript
posted) that may be not enough people aside from the developers have showed
up ? I guess people might have a lot of other thoughts in their minds these
days. But it would be nice to hear what was going on.
Thanks
Birgitt
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From: interchange-users at interchange.redhat.com (interch)
Date: Fri Oct 19 12:33:00 2001
Subject: [ic] sql tag strangeness
> > On Thu, 18 Oct 2001, Dan Browning wrote:
> > >
> > > Add type=list list=1 to your [query ...] params.
> > >
> > > HTH,
> > >
> > > -Dan
>
> <interchange-users guidelines>
> -- Contextual quoting is preferred, i.e.
>
> Quoting user1 (<user1@somedomain.redhat.com>):
> > Some limited text that will give context.
> >
>
> Your reply.
>
> versus
>
> Your reply, lazily put at the top.
>
> Quoting user1 (<user1@somedomain.redhat.com>):
> > The whole big blob of the previous posts, including
> > signatures and all
>
> In fact, the author of the program stops following a thread
> the moment this lazy quoting method is used. He figures that
> if you can't take half a minute of your time to save multiple
> minutes of the readers time, the heck with ya.
> </interchange-users guidelines>
>
> That said, would you be so kind as to simplify your code to the smallest
> set that exhibits the problem and then post it to the list?
>
> -Dan
Ok last night I was digging around the cvs repository and found where
someone already discovered this bug, but now for the life of me I can't
remember where. Anyways, it's been noticed by the development team as
something to look into.
Chris
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Fri Oct 19 16:06:01 2001
Subject: [ic] change logo
How is the banner logo changed. Can it be done by the admin UI? I am useing
4.8.
Thank you for your time,
Richard Eicher II
From: interchange-users at interchange.redhat.com (Chad Wittrock)
Date: Fri Oct 19 16:20:01 2001
Subject: [ic] change logo
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.COM
> [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Rick
> Eicher II
> Sent: Friday, October 19, 2001 3:13 PM
> To: interchange-users@interchange.redhat.COM
> Subject: [ic] change logo
>
>
> How is the banner logo changed. Can it be done by the admin UI? I
> am useing
> 4.8.
>
Find out what the image you are trying to change is called and replace it
with the image file you want displayed, naming it the same thing.
Chad
> Thank you for your time,
> Richard Eicher II
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Fri Oct 19 17:10:01 2001
Subject: [ic] change logo
need to replace a gif with a jpeg.
i can upload the file but it is not copying it to the html directory where
apache is looking for it.
rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Chad
Wittrock
Sent: Friday, October 19, 2001 3:20 PM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] change logo
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.COM
> [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Rick
> Eicher II
> Sent: Friday, October 19, 2001 3:13 PM
> To: interchange-users@interchange.redhat.COM
> Subject: [ic] change logo
>
>
> How is the banner logo changed. Can it be done by the admin UI? I
> am useing
> 4.8.
>
Find out what the image you are trying to change is called and replace it
with the image file you want displayed, naming it the same thing.
Chad
> Thank you for your time,
> Richard Eicher II
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Matthew T. Snyder)
Date: Fri Oct 19 17:14:01 2001
Subject: [ic] change logo
> > How is the banner logo changed. Can it be done by the admin UI? I
> > am useing
> > 4.8.
> >
> > Thank you for your time,
> > Richard Eicher II
> Find out what the image you are trying to change is called and replace it
> with the image file you want displayed, naming it the same thing.
>
> Chad
Or you can change the template file - insert the name of the image you want
to use... just make certain it's in the same directory as the one you're
changing it from. The template sections (for the foundation demo) can be
found in CATROOT/templates/foundation/regions. The images for the demo are
usually stored in VENDROOT/images/foundation ... for example,. on my system,
/var/www/html/catalog/images/foundation - but others might be different.
(And of course, providing I'm getting the shorthand correct :))
Matt
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Fri Oct 19 17:16:11 2001
Subject: [ic] Status of SOAP in CVS stable 4.8.3
Hello list,
I have a question... What's the status of the IC SOAP API in the
current stable branch of IC? I have a project that has an existing admin area
written in php4. and a client of ours would like to use IC as basically a
credit card processor with an eye for revamping the rest of the site in IC
in the future. I've all ready set up IC to read the existing tables, and
would like to just have to write the SOAP calls in php, instead of having
to rewrite the few existing admin areas in IML. Is the API going to be
relatively stable? Or can I expect changes? Maybe the 4.9.x devel branch
would be more appropriate for what I'm looking to do.
Thanks in advance,
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Fri Oct 19 18:46:01 2001
Subject: [ic] Where can i find the linkbar of the adminmenu ?
On Fri, 19 Oct 2001, Joel wrote:
J>>sorry about the question but do you really know how many files that are ? A
J>>lot, an i'm sorry that i#m not as fit enough handle some linuxcommands
J>>because i'm new in this bussiness. And the main question is , why is there a
J>>mailinglist then ?
J>>
J>>I read a lot of Sourcefile but i searched in the admin dir because all files
J>>of the admin Section were there, i don not really understand the directiory
J>>buidup the interchangeteam uses ! Sometimes it is a little misteryous to me :)
Joel,
Unfortunately, IC is not simple to understand. If it were simple, it would
not be powerful. A scooter is easy to use and easy to learn. It's uses are
limited. Flying an airplane is difficult to do and difficult to learn. But,
it's far more powerful and far more useful.
IC is not a 'Plug 'n Play' program. IC takes work.
Look at it like a very big box of Lego parts. You can take all of the pieces
and make anything you want. Lego gives you a few ideas of things you can
make with the parts. Lego takes a lot of work and imagination. With enough
Lego parts you can make most anything you want! Including a department
store!
IC easily replicates each part as many times as you want. It has a
tremendous set of various parts for you to apply your imagination to and to
build what you want. But, you have to work at it. Just like you have to work
at a Lego project.
This mailing list is not going to hold your hand and build your store for
you. However, if you will contact Akopia in Reston, VA, they will build
your store for you - for a price. They are very competent, they are very
helpful. You might want to hire them to help you get off on the right foot.
The mailing list will supply you with answers to specific problems after
you have exhausted the various resources, like the message base for this
mailing list that goes back several years, various FAQ's that have been
written to help people get through specific hurdles.
Asking general questions here, especially questions that show that you have
not done any research, will get ignored or very short answers.
There are also several consultants on this mailing list that are quite
competent at Interchange. Interchange is free. So, paying a consultant to
help you get up and running still makes it a bargain.
Interchange is slicker than snot on a brass doorknob!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, October 19, 2001 at 18:25 PM:
You were destined to read this tagline at this moment.
----------------------------------------------------------------
This Linux System has been up 142 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (chad m. townsend)
Date: Fri Oct 19 18:53:01 2001
Subject: [ic] howdoi - add an item into the cart from behind the scenes
i want to place an item into the users cart but i do not want to take
them to the basket page. is it possible to click on a product and take
them directly to checkout.
thanks ...
./chad&
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Fri Oct 19 18:55:27 2001
Subject: [ic] Multiple Shipping Address
On Fri, 19 Oct 2001, fctmaillist wrote:
f>>Hi kyle,
f>> Its true that the shipping address details are maintained in the userdb
f>>table in
f>>a column named address_book, but i want to clarify how shipping address
f>>details for orders made are maintained. Suppose i buy 3 items, i can ship
f>>all the 3 items to three different shipping addresses.
f>>There are no fields available as of now in the orderline table.
You will get into a major nightmare trying to ship different parts of an
order to different addresses. It is better to make 3 different orders with a
different shipping address for each one.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, October 19, 2001 at 18:50 PM:
Courage atrophies from lack of use.
----------------------------------------------------------------
This Linux System has been up 142 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Fri Oct 19 20:12:01 2001
Subject: [ic] Status of SOAP in CVS stable 4.8.3
Quoting Brian Kosick (briank@nacs.net):
> Hello list,
> I have a question... What's the status of the IC SOAP API in the
> current stable branch of IC?
I am getting ready to leave on vacation for a while, so I thought
I would let you know that:
1. It works.
2. You must use SOAP::Lite 0.49 or lower, as they changed
their API in 0.51 and it breaks things for IC.
I recommend building some SOAP::Lite projects without IC before you
start using it as a server or client. I could see it requiring some
consulting help.
> I have a project that has an existing admin area
> written in php4. and a client of ours would like to use IC as basically a
> credit card processor with an eye for revamping the rest of the site in IC
> in the future. I've all ready set up IC to read the existing tables, and
> would like to just have to write the SOAP calls in php, instead of having
> to rewrite the few existing admin areas in IML. Is the API going to be
> relatively stable? Or can I expect changes? Maybe the 4.9.x devel branch
> would be more appropriate for what I'm looking to do.
We haven't touched SOAP in it yet, and have no immediate plans to.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
"Even if you're on the right track, you'll get run over if you just
sit there." -- Will Rogers
From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber)
Date: Fri Oct 19 20:17:00 2001
Subject: [ic] change logo
You can edit the files in the catalog/name/templates directory to make
changes.
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: interchange-users at interchange.redhat.com (Ma'rufin, Vidi)
Date: Fri Oct 19 22:53:01 2001
Subject: [ic] Order number TEST0001 ?
I just setting up the interchange 4.8, but when testing it, the order is
TEST0001, why is that? or how we can remove it..
Big thanks
From: interchange-users at interchange.redhat.com (Curt Hauge)
Date: Fri Oct 19 23:20:01 2001
Subject: [ic] Order number TEST0001 ?
Quoting Ma'rufin, Vidi
> I just setting up the interchange 4.8, but when testing it, the order is
> TEST0001, why is that? or how we can remove it..
Check the order.number file located in CATROOT/etc
Good luck!
Curt Hauge
From: interchange-users at interchange.redhat.com (Nick Richardson)
Date: Fri Oct 19 23:31:01 2001
Subject: [ic] PGP Key (Where do i put this?)
Hi,
I've been getting errors telling me that i couldn't encrypt CC #'s - So i
got a PGP key now... and i know that i put it in catalog.cfg, but my
question is where?
And how much do i put in... do i have to put the ---- BEGIN PGP...... with
it, or do i just need the "!&Y!JASHGASJas fuaSJDF" stuff?
Thanks in advance for any help!!
//Nick Richardson
//esoteric.web@gte.net
From: interchange-users at interchange.redhat.com (Jason Balicki)
Date: Sat Oct 20 00:05:00 2001
Subject: [ic] Needing getting started help -- options, docs, that sort of thing... :)
Ok, first of all I'm new here. :) I only recently installed
Interchange
(though I *briefly* looked at minivend a LONG time ago...) and I've
gotten
it installed, changed the css and the images and whatnot.
So far it seems to be a wonderful project (product? I never know what
to
say... :) But. (There's always a but, isn't there?) I need some help
with a few things.
Firstly, I've installed the computer sample data and there's an Athlon
system
there with some options. As a customer, when should I see the options?
From
what I understand, it comes up when you go to checkout, but on my setup
it
doesn't. I've gone all the way through a transaction, and never seen
them.
And if I'm right about only getting the options during the checkout, is
there
a way to see the options before getting there -- to appease window
shoppers?
I've searched the mailing list archives to the best of my ability and
only
saw one query similar to this one, and the only answer I got to it
wasn't
very helpful to this extreme Interchange novice. (BTW: I *am* one of
those
longtime-since-the-early-80's Unix people, I'm just new to this whole
Interchange thing... :)
Secondly, I've downloaded the docs and glanced through them. I've
printed the
pdf versions of most of them even. I've even READ some, if you can
believe it!
I have no doubt there's a lot of really good info in there, but I also
notice
that RH has some printed docs for sale. Are these docs different than
the
ones you can download? Are they oriented more towards an end user,
rather than
a developer? (I ask because after I get this set up, other less
technicaly
inclined individuals will be maintaining it. If I can give them a book
to
read and say RTFM it will make my life MUCH easier, once I figure it
out,
of course.)
Of course, any nudges, tips, tricks, general information, and unicorn
hunting tips are appreciated as well. If you're extremely helpful I'll
tell you about my midget fantasy. No, don't take that as a threat. And
it's not sexual. :)
I appreciate any help you folks can give this newbie, and I thank you in
advance. I'm a quick learner and if you help me now, you can force all
these newbie questions on me later. :)
Again, thanks,
--J(K)
Jason Balicki
Sr. Network Engineer
Alexander Systems, Inc.
From: interchange-users at interchange.redhat.com (Walid)
Date: Sat Oct 20 12:12:00 2001
Subject: [ic] Re: interchange Tutorial site
Hi All,
some time alomg ago, I came across a site that is supposed to be a tutorial,
and support site for Interchange, I am having difficulty to where it is right
now!
I did use the searh engines, and google but no avial?!
could any point me to the right site please!, an no it is not akopia/minivend
site! :)
TIA
Walid
=====
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
walid@melinux.com
http://www.MeLinux.com
"Learn whatever knowledge you wish to acquire, and act upon what you have learned."
____________________________________________________________
Nokia Game is on again.
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.
From: interchange-users at interchange.redhat.com (Walid)
Date: Sat Oct 20 12:17:00 2001
Subject: [ic] Re: Worldpay
Hi All,
Is there any sucess in integrating worldpay to intercahnge?
if any has done it! could you please email me
TIA
Walid
=====
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
walid@melinux.com
http://www.MeLinux.com
"Learn whatever knowledge you wish to acquire, and act upon what you have learned."
____________________________________________________________
Nokia Game is on again.
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.
From: interchange-users at interchange.redhat.com (Joe Moschak)
Date: Sat Oct 20 13:55:00 2001
Subject: [ic] Re: interchange Tutorial site
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/iccattut
Walid wrote:
> Hi All,
>some time alomg ago, I came across a site that is supposed to be a tutorial,
>and support site for Interchange, I am having difficulty to where it is right
>now!
>
>I did use the searh engines, and google but no avial?!
>
>could any point me to the right site please!, an no it is not akopia/minivend
>site! :)
>
>TIA
>
>Walid
>
>=====
>_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>
>walid@melinux.com
>http://www.MeLinux.com
>
>"Learn whatever knowledge you wish to acquire, and act upon what you have learned."
>
>____________________________________________________________
>Nokia Game is on again.
>Go to http://uk.yahoo.com/nokiagame/ and join the new
>all media adventure before November 3rd.
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at interchange.redhat.com (Fiber Connect)
Date: Sat Oct 20 19:38:01 2001
Subject: [ic] Multiple Shipping Addresses
Hi,
Can someone plz clearly state me about the two database files namely
transactions and Orderline. As far as the document specifies it says that
each and every item of an order are
stored in the orderline table whereas a summary of the order is stored in
the transactions table.
I.e., There lies a one to many relation between the transactions and
orderline wherein every parent
record in the transaction table there is one or many child records available
in the orderline table.
I guess iam clear in my understanding. If not pls correct me.
Well, my question is, if this is the case then how multiple shipping
locations are taken care.
Coz the current structure of the orderline table doesn't seem to have
sufficient columns for
the same. Moreover the demo avl (foundation catalog) seem to accept ship
address for each
and every item purchased, but at checkout it still asks for a shipping
address.
Can someone plz do correct me if iam misunderstood ??
Thnx in advance.
Balaji
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Sat Oct 20 19:45:49 2001
Subject: [ic] Maintaining Session
Hi kyle,
Its true that the shipping address details are maintained in the userdb
table in
a column named address_book, but i want to clarify how shipping address
details for orders made are maintained. Suppose i buy 3 items, i can ship
all the 3 items to three different shipping addresses.
There are no fields available as of now in the orderline table.
Do u have any idea of the same ?
Balaji
----- Original Message -----
From: Kyle Cook <kyle@invisio.com>
To: <interchange-users@interchange.redhat.com>
Sent: Friday, October 19, 2001 1:39 AM
Subject: Re: [ic] Maintaining Session
> At 09:25 AM 10/19/01, you wrote:
> >Hi,
> > Can someone plz clearly state me about the two database files namely
> > transactions and Orderline. As far as the document specifies it says
that
> > each and every item of an order are
> > stored in the orderline table whereas a summary of the order is stored
in
> > the transactions table.
> >
> > I.e., There lies a one to many relation between the transactions and
> > orderline wherein every parent
> > record in the transaction table there is one or many child records
> >available
> > in the orderline table.
> >
> > I guess iam clear in my understanding. If not pls correct me.
> >
> > Well, my question is, if this is the case then how multiple shipping
> > locations are taken care.
> > Coz the current structure of the orderline table doesn't seem to have
> > sufficient columns for the same. Moreover the demo avl (foundation
catalog)
> >seem to accept ship
> > address for each and every item purchased, but at checkout it still
asks
> >for a shipping
> > address.
> >
> > Can someone plz do correct me if iam misunderstood ??
> > Thnx in advance.
> > Balaji
>
> It's been a while since I've had the chance to use the actual database
> structure
> as is, constantly doing custom db schemes.
>
> I know that at one time , multiple ship to addresses were saved in userdb
for
> logged in users.
>
> Hope this helps.
> Kyle
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (interch)
Date: Sat Oct 20 19:54:01 2001
Subject: [ic] Server errors
> interch <interch@web3.valley-internet.com> writes:
>
> > Is this a known bug, and is it scheduled to be fixed? Just curious
> > because it basically renders the admin interface unusable after it is
> > triggered. Seems to be triggered when creating or editing a new
> > template. This happened more in 4.8.2, but just downloaded the current
> > stable branch 4.8.3 and it does the same thing.
On 19 Oct 2001, Stefan Hornburg (Racke) wrote:
>
> It was reported often enough to let us believe that is indeed a bug
> in 4.8.x. You can switch PreFork mode off to workaround.
>
> What kind of installation do you use (RPM, Debian, Tar), what Perl
> version is installed on your system and what database are you
> using ?
>
> Ciao
> Racke
Redhat 7.1, install from cvs stable (4.8.3) under a week ago. Perl 5.6.0,
default dbm setup (gdbm). Had the exact same problems when running
freebsd/4.8.2/perl5.6/dbm or mysql. Can confirm that turning pre forking
off does get rid of the problem.
Chris
>
> --
> Racke happily hacks Interchange and maintains Debian packages like Courier.
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (DK-Net, creators of internet solutions)
Date: Sun Oct 21 05:38:00 2001
Subject: [ic] (no subject)
DK-Net, creators of internet solutions
Telefoon : 0522 - 24 61 20
Fax : 0522 - 24 60 21
E-mail : info@dknet.nl
Website : www.dknet.nl
***************************** DISCLAIMER *****************************
De informatie in deze e-mail is uitsluitend bestemd voor de geadresseerde.
Indien u niet de geadresseerde bent, heeft u geen recht kennis te nemen van
deze e-mail, het te kopiëren of te verstrekken aan andere personen dan de
geadresseerde. DK-Net is niet verantwoordelijk en wijst iedere
aansprakelijkheid af voor en/of in verband met alle gevolgen en/of schade
van een juiste en volledige verzending en ontvangst van de inhoud en van
deze e-mail.
***************************************************************************
From: interchange-users at interchange.redhat.com (DK-Net, creators of internet solutions)
Date: Sun Oct 21 05:42:01 2001
Subject: [ic] 4 level navigationstructure
Hi,
I have 2 questions about the navigationstructure which can be build with the
tables Cat and Area.
Question 1:
For a large shop I want to build a navigationstructure bar with 4 levels,
for example:
Division Medical
Division Electronics
* Division Laboratory
- diagnostics
- software
* equipment
- analytical equipment
- standard equipment
* weighing/balances equipment
* Precision balances
* Portable balances
* Comparator balances
* Micro-balances
---- all products in the group Micro-balances ---
Is the above mentioned structure possible in Interchange? If so, how can I
achieve it with the tables Area, Cat and/or Product ?
Question 2:
In the navigationstucture of the Foundationstore you get a complete list of
groups and subgroups:
Ladders (groups)
Brushes (subgroups)
Ladders
Step Stools
Hand Tools
Brushes
Hammers
Hand Planes
Hand Saws
I have so many groups and subgroups that I only want to see the groups and
hyperlink them to the subgroups (so you will see a list of subgroups only
when you click on the group).
Can anybody answer my questions and explain me how to do this in InterChange
?
Luc Knaven
knaven@dknet.nl
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Sun Oct 21 11:52:00 2001
Subject: [ic] PGP Key (Where do i put this?)
If I am not mistaken you need to put the location of the PGP file not
the contents of the file.
> Hi,
>
> I've been getting errors telling me that i couldn't encrypt CC #'s -
So i
> got a PGP key now... and i know that i put it in catalog.cfg, but my
> question is where?
>
> And how much do i put in... do i have to put the ---- BEGIN PGP......
with
> it, or do i just need the "!&Y!JASHGASJas fuaSJDF" stuff?
>
> Thanks in advance for any help!!
>
> //Nick Richardson
> //esoteric.web@gte.net
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
--
Rick Eicher II
rick@texol.net
Texol.net - Surf the light.
From: interchange-users at interchange.redhat.com (Troy Davis)
Date: Sun Oct 21 11:59:01 2001
Subject: [ic] Newbie question
Hi everyone,
I've just installed Interchange 4.8 on my RedHat server, and of course,
I'm lost.
Where do I find a guide on setting up my store? There are lots of docs
on the interchange site, and most of them seem to be assuming that I
want to begin adding new functionality to the source right away, which
sounds a bit ambitious to me right now. I'd like to start using the
system for an online store, and I'm having difficulty seperating the
relevant tutuorials from the non-relevant. Can anyone point me in the
right direction?
I was hoping that this would "just work" after install, but it appears
that I can't add new items to the store at all. Not sure why. Every time
I click on the "Item Editor" link, I see the same info I entered before.
I hit "OK" and I'm returned to the Items page, no item there. How can I
check for errors in this process?
Are there lots of config files to edit before a new catalog install is
useable for real-world operations? The other possibility is that I've
botched the install. I don't think so, tables were created in MySQL, but
new items aren't added when I use the Item Editor as noted above. It's a
strange new world for me...
Looks like I've got tons of reading to do. Any pointers on where to
start would be much appreciated.
Thanks,
Troy
From: interchange-users at interchange.redhat.com (Jillian Carroll)
Date: Sun Oct 21 12:23:01 2001
Subject: [ic] Hosting Question
Folks,
I have a client who is hosting his Interchange site with a provider he is
entirely unhappy with. I want to inquire to see if any of you know of a
good host, preferably one that also hosts Coldfusion as his site takes
advantage of both technologies.
Can anybody point me in the right directions?
Jillian
From: interchange-users at interchange.redhat.com (Jason Kohles)
Date: Sun Oct 21 12:40:00 2001
Subject: [ic] PGP Key (Where do i put this?)
On Fri, Oct 19, 2001 at 08:28:48PM -0700, Nick Richardson wrote:
> Hi,
>
> I've been getting errors telling me that i couldn't encrypt CC #'s - So i
> got a PGP key now... and i know that i put it in catalog.cfg, but my
> question is where?
>
You don't put it in catalog.cfg, you use the pgp command to import it into
your pgp keyring. See the pgp man page for details.
> And how much do i put in... do i have to put the ---- BEGIN PGP...... with
> it, or do i just need the "!&Y!JASHGASJas fuaSJDF" stuff?
>
> Thanks in advance for any help!!
>
> //Nick Richardson
> //esoteric.web@gte.net
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
Red Hat Professional Consulting Jason Kohles
(703)786-8036 (cellular) jkohles@redhat.com
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Sun Oct 21 14:51:01 2001
Subject: [ic] howdoi - add an item into the cart from behind the scenes
"chad m. townsend" wrote:
>
> i want to place an item into the users cart but i do not want to take
> them to the basket page. is it possible to click on a product and take
> them directly to checkout.
Set the mv_nextpage to the checkout page instead of the basketpage. A
quick dirty test with
-------- snip ordertest.html -----
<HTML><HEAD>
<TITLE>order test from an external site</TITLE>
</HEAD><BODY>
<A
HREF="http://BPA.Leidinger.net/cgi-bin/fondation/ord/basket?mv_nextpage=ord/checkout&mv_order_item=os28004">Test
it... os28004</A>
</body> </html>
-------- snip ordertest.html -----
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Sun Oct 21 15:01:00 2001
Subject: [ic] howdoi - add an item into the cart from behind the scenes
Joachim Leidinger wrote:
>
> "chad m. townsend" wrote:
> >
> > i want to place an item into the users cart but i do not want to take
> > them to the basket page. is it possible to click on a product and take
> > them directly to checkout.
>
> Set the mv_nextpage to the checkout page instead of the basketpage. A
> quick dirty test with
>
> -------- snip ordertest.html -----
> <HTML><HEAD>
> <TITLE>order test from an external site</TITLE>
> </HEAD><BODY>
> <A
> HREF="http://BPA.Leidinger.net/cgi-bin/fondation/ord/basket?mv_nextpage=ord/checkout&mv_order_item=os28004">Test
> it... os28004</A>
> </body> </html>
> -------- snip ordertest.html -----
Ooops! BPA.Leidinger.net/cgi-bin/fondation... is availabel only lokal on
my testserver. Replace it with the real existing domain etc.!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Sun Oct 21 21:33:01 2001
Subject: [ic] Call to $Tag->query in perl causing error opening table
This perl code:
[perl tables=awt_section]
my $crumbTrailIDs = $CGI->{crumb};
my @crumbs = split ( ",", $crumbTrailIDs );
my $output = "";
my $subCrumb = "";
my $crumbCount = 0;
foreach $crumb ( @crumbs ) {
if ( $crumbCount++ > 0 ) { $subCrumb .= ","; }
$subCrumb .= "$crumb";
my $sql = "select name from awt_section where section_id = $crumb";
my $sectionInfo = $Tag->query ( { sql => $sql, } );
$output .= "<h3>$sql</h3>\n<h4>sub is $subCrumb</h4>\n";
}
return ( $output );
[/perl]
(specifically the call to $Tag->query) produces this error:
[21/October/2001:19:10:04 -0600] awt_dev /cgi-bin/awt_dev/shop_section Safe:
Can't call method "open_table" on an undefined value at
/apps/interchange/lib/Vend/Data.pm line 899.
I searched on the text: Can't call method open table
in the archives and nothing came up. Any comments on what I
am doing wrong? This code is a direct rip off of the code
on page 221 of the Interchange 4.8 Reference Guide for the
[query] tag. If I remove the call to $Tag->query I get the
the following debug output.
select name from awt_section where section_id = 0
sub is 0
select name from awt_section where section_id = 11
sub is 0,11
Patrick Bennett
http://www.ccgenesis.com
From: interchange-users at interchange.redhat.com (Jim Webster)
Date: Mon Oct 22 02:09:01 2001
Subject: [ic] Discounting Entire Orders
I have a client that would like to have a 10% discount on all sales over
$100.
This discount would be reflected on the entire order amount. Can someone
please advise the quickest way to achieve this?
The site in quesiton: www.saturdaycollectibles.com
Thx in advance!
Jim Webster
PowerGate Networks
Site Design & Hosting
661.254.1292
www.powergatenetworks.com
From: interchange-users at interchange.redhat.com (Joel)
Date: Mon Oct 22 02:38:01 2001
Subject: [ic] change logo
>Von: "Rick Eicher II" <rick@texol.net>
>
>How is the banner logo changed. Can it be done by the admin UI? I am useing
>4.8.
>
>Thank you for your time,
>Richard Eicher II
I changed the links in the file :
/usr/lib/interchange/lib/UI/vars/UI_STD_HEAD
mfg.
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 22 03:37:01 2001
Subject: [ic] Call to $Tag->query in perl causing error opening table
patrick.bennett@ccgenesis.com writes:
> This perl code:
>
> [perl tables=awt_section]
> my $crumbTrailIDs = $CGI->{crumb};
> my @crumbs = split ( ",", $crumbTrailIDs );
> my $output = "";
> my $subCrumb = "";
> my $crumbCount = 0;
> foreach $crumb ( @crumbs ) {
> if ( $crumbCount++ > 0 ) { $subCrumb .= ","; }
> $subCrumb .= "$crumb";
> my $sql = "select name from awt_section where section_id = $crumb";
> my $sectionInfo = $Tag->query ( { sql => $sql, } );
> $output .= "<h3>$sql</h3>\n<h4>sub is $subCrumb</h4>\n";
> }
> return ( $output );
> [/perl]
>
> (specifically the call to $Tag->query) produces this error:
>
> [21/October/2001:19:10:04 -0600] awt_dev /cgi-bin/awt_dev/shop_section Safe:
> Can't call method "open_table" on an undefined value at
> /apps/interchange/lib/Vend/Data.pm line 899.
You can call all database access functions in a direct manner,
e.g.:
$set=$Db{awt_section}->query($sql);
$set is a reference to an array of arrays.
Usually you're using sth. like this:
for(@$set) {
$out .= "NAME: $_->[0]<BR>";
}
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (anandha prassanna)
Date: Mon Oct 22 04:23:01 2001
Subject: [ic] Need to Know How to proceed
Hi ,
I want to proceed how to enter the order into the database. I've
setup a default catalog from catalog buildiung
tutorial .Thats fine . I've found order route which has been
specified in the catalog.cfg difficult to understand.
I mean i fail to understand the dependencies. For example i know
under the products dir one should have variables.txt
to know about all the parse variables. Apart from that i didn't get
the what the etc/log_transaction does except for
storing the order into the database. Can any one plz update me the
what r the dependencies exactly for the
below script.
#==========================================================================#
# This prevents a user from setting this value, you may want to unset
# this if you have user-selectable handling charges like insurance
FormIgnore mv_handling
#
#
# Along these lines further, for better integrity and less chance of a
# user screwing up your order routes:
# Note that __ORDER_ROUTES__ is empty by default, default Route "default"
# is used with cascades
FormIgnore mv_order_route
## This route places the order entry in the database. If you don't
## have an inventory table (or a userdb table for that matter) make
## sure you remove it from the list of "transactions" tables.
Route log <<EOF
empty 1
encrypt 0
increment 0
report etc/log_transaction
supplant 0
track logs/log
EOF
## This route places the order entry in the database when you are
## entering an order from the admin. See above.
Route log_entry <<EOF
empty 1
encrypt 0
report etc/log_entry
supplant 0
track logs/log
EOF
ifdef TRANSACTION_TABLES
Route log transactions '__TRANSACTION_TABLES__'
Route log_entry transactions '__TRANSACTION_TABLES__'
endif
## This route copies the user if they requested that. We don't
## care (much) if it fails, so error_ok is set and failure will
## not cause the order to fail
Route copy_user <<EOF
empty 1
error_ok 1
encrypt 0
increment 0
report etc/mail_receipt
supplant 0
track logs/log
EOF
ParseVariables Yes
## This route emails the order to you unless email is set to "",
## and failsafe-logs the order report a couple of places
Route main <<EOF
attach 0
credit_card 1
default 1
email '__ORDERS_TO__'
encrypt 0
errors_to '__ORDERS_TO__'
pgp_cc_key "__PGP_KEY__"
pgp_key "__PGP_KEY__"
receipt etc/receipt.html
report etc/report
supplant 1
individual_track orders
track logs/tracking.asc
EOF
# Order routes can be maintained in a database
# CHANGES TO THIS WILL OVERRIDE THE ROUTES ABOVE.
RouteDatabase route
# Default route is run if no routes set, this should be last Route
# always
Route default master 1
Route default cascade "log main copy_user"
Route default empty 1
Route default supplant 1
Route default email '__ORDERS_TO__'
OrderCounter etc/order.number
OrderLineLimit 200
OrderProfile etc/profiles.order etc/profiles.login etc/profiles.misc
#==========================================================================#
with regards,
prassanna
From: interchange-users at interchange.redhat.com (Joel)
Date: Mon Oct 22 05:41:01 2001
Subject: [ic] where can i change the path for the images in the item_edtor ?
Hi !
I seaching for the pathvariable for the image select box shown in the
edit_item Site.
mfg. Joel
From: interchange-users at interchange.redhat.com (Aaron Hazelton)
Date: Mon Oct 22 10:20:00 2001
Subject: [ic] In Desperate need of a NEW HOST
Hi everybody,
I have had some serious problems for the second time now. I was all ready
to go live with my site and now have to find a new host again. ONE THAT IS
GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I need a
virtual host for my account: fixturefactor.com, and running Interchange,
and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT. Im no
guru by any means, but I had a working catalog in 4.6 and my host was
talking about getting rid of Interchange because they were having so many
problems with it. (they didnt really know what they were doing with it,
just had it installed). At someones sincere suggestion, I switched to
Korksoft and thought they were going to be really good. I even paid for
them to set up my files (about $250) so that I could be back up quicker and
they said they would get the ssl set up, gpg, and get the config all
adjusted for the new catalog. Heres the story: I have never had, and still
dont have Email at all (about 3 weeks). They cant figure it out. then all
the order section of my site was all screwed up in the admin backend. after
many other problems, about 5 days ago, my site went down completely! I have
called and emailed repeatedly and got nothing, until last friday when i get
an email that says, and I quote, "We dont know what is going on with your
site." AND THATS IT! (thanks a lot!)
Needless to say, it is still down and I still have no other responses. Use
them at your own risk! So if you can help me with someone who REALLY CAN
host my Interchange catalog for me, please let me know.
many thanks, this is a great board!
Aaron Hazelton
aaronhaze@hotmail.com
From: interchange-users at interchange.redhat.com (Fiber Connect)
Date: Mon Oct 22 10:58:00 2001
Subject: [ic] Multiple Shipping Address
Hi,
Can someone plz clearly state me about the two database files namely
transactions and Orderline. As far as the document specifies it says that
each and every item of an order are
stored in the orderline table whereas a summary of the order is stored in
the transactions table.
I.e., There lies a one to many relation between the transactions and
orderline wherein every parent
record in the transaction table there is one or many child records
available
in the orderline table.
I guess iam clear in my understanding. If not pls correct me.
Well, my question is, if this is the case then how multiple shipping
locations are taken care.
Coz the current structure of the orderline table doesn't seem to have
sufficient columns for the same. Moreover the demo avl (foundation
catalog)
seem to accept ship
address for each and every item purchased, but at checkout it still asks
for a shipping
address.
Can someone plz do correct me if iam misunderstood ??
Thnx in advance.
Balaji
From: interchange-users at interchange.redhat.com (todd vibodha roseman)
Date: Mon Oct 22 11:00:01 2001
Subject: [ic] Requirements for virtual host?
Hi,
What are the requirements for installing/running Interchange on a virtual
host? I've got a few sites running on http://webaxxs.net and they have Perl
5.006 and only allow one cron job.
Is it relatively easy (or even possible) to make a non-root installation?
I'll have to install any Perl modules locally since I can't modify the
shared Perl installation. Is this a problem?
thank for any info,
---todd
From: interchange-users at interchange.redhat.com (Anton van de Plas)
Date: Mon Oct 22 11:01:24 2001
Subject: [ic] In Desperate need of a NEW HOST
Hi Aaron,
I had similar problems with Korksoft, cancelled my account after 3 days and
I am still waiting on my money from the money back guarantee.
Contact me directly for the hosting company we use now which is OK.
Anton Vandeplas
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Aaron Hazelton
Sent: Monday, October 22, 2001 10:17 AM
To: Interchange-Users
Subject: [ic] In Desperate need of a NEW HOST
Hi everybody,
I have had some serious problems for the second time now. I was all ready
to go live with my site and now have to find a new host again. ONE THAT IS
GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I need a
virtual host for my account: fixturefactor.com, and running Interchange,
and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT. Im no
guru by any means, but I had a working catalog in 4.6 and my host was
talking about getting rid of Interchange because they were having so many
problems with it. (they didnt really know what they were doing with it,
just had it installed). At someones sincere suggestion, I switched to
Korksoft and thought they were going to be really good. I even paid for
them to set up my files (about $250) so that I could be back up quicker and
they said they would get the ssl set up, gpg, and get the config all
adjusted for the new catalog. Heres the story: I have never had, and still
dont have Email at all (about 3 weeks). They cant figure it out. then all
the order section of my site was all screwed up in the admin backend. after
many other problems, about 5 days ago, my site went down completely! I have
called and emailed repeatedly and got nothing, until last friday when i get
an email that says, and I quote, "We dont know what is going on with your
site." AND THATS IT! (thanks a lot!)
Needless to say, it is still down and I still have no other responses. Use
them at your own risk! So if you can help me with someone who REALLY CAN
host my Interchange catalog for me, please let me know.
many thanks, this is a great board!
Aaron Hazelton
aaronhaze@hotmail.com
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Chad Wittrock)
Date: Mon Oct 22 11:28:01 2001
Subject: [ic] Search engine
Has anyone else experienced problems with the search engine at the mailing
list archive site?
http://interchange.redhat.com/cgi-bin/ic/mail_archive.html?id=LhgWQXVB
I cannot get any results. I even searched for 'interchange' and got nothing
back. I get no error, just that there is 'No match for <searchstring>'.
Is anyone working on fixing this?
Thanks
Chad
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
____
| | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu)
\__/ | \| _||_ University of Northern Iowa
From: interchange-users at interchange.redhat.com (Scott Carter)
Date: Mon Oct 22 11:44:01 2001
Subject: [ic] In Desperate need of a NEW HOST
Hi Aaron,
I will be hosting interchange sites in a couple of months... I know that
doesn't help you now, but I'm going as fast as I can. I want to make sure
that my sites are running correctly before I take on the challenge of
helping others. I am more impressed everyday with interchange and it's
possibilities.
Scott Carter
scott@webmktg.net
----- Original Message -----
From: "Anton van de Plas" <avdplas@addaction.com>
To: <interchange-users@interchange.redhat.com>
Sent: Monday, October 22, 2001 10:58 AM
Subject: RE: [ic] In Desperate need of a NEW HOST
> Hi Aaron,
>
> I had similar problems with Korksoft, cancelled my account after 3 days
and
> I am still waiting on my money from the money back guarantee.
>
> Contact me directly for the hosting company we use now which is OK.
>
> Anton Vandeplas
>
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> Aaron Hazelton
> Sent: Monday, October 22, 2001 10:17 AM
> To: Interchange-Users
> Subject: [ic] In Desperate need of a NEW HOST
>
>
> Hi everybody,
>
> I have had some serious problems for the second time now. I was all ready
> to go live with my site and now have to find a new host again. ONE THAT
IS
> GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I need
a
> virtual host for my account: fixturefactor.com, and running Interchange,
> and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT. Im no
> guru by any means, but I had a working catalog in 4.6 and my host was
> talking about getting rid of Interchange because they were having so many
> problems with it. (they didnt really know what they were doing with it,
> just had it installed). At someones sincere suggestion, I switched to
> Korksoft and thought they were going to be really good. I even paid for
> them to set up my files (about $250) so that I could be back up quicker
and
> they said they would get the ssl set up, gpg, and get the config all
> adjusted for the new catalog. Heres the story: I have never had, and
still
> dont have Email at all (about 3 weeks). They cant figure it out. then
all
> the order section of my site was all screwed up in the admin backend.
after
> many other problems, about 5 days ago, my site went down completely! I
have
> called and emailed repeatedly and got nothing, until last friday when i
get
> an email that says, and I quote, "We dont know what is going on with your
> site." AND THATS IT! (thanks a lot!)
>
> Needless to say, it is still down and I still have no other responses.
Use
> them at your own risk! So if you can help me with someone who REALLY CAN
> host my Interchange catalog for me, please let me know.
>
> many thanks, this is a great board!
>
> Aaron Hazelton
> aaronhaze@hotmail.com
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Mon Oct 22 12:06:01 2001
Subject: [ic] Search engine
On Mon, 22 Oct 2001, Chad Wittrock wrote:
> Has anyone else experienced problems with the search engine at the mailing
> list archive site?
> http://interchange.redhat.com/cgi-bin/ic/mail_archive.html?id=LhgWQXVB
>
> I cannot get any results. I even searched for 'interchange' and got nothing
> back. I get no error, just that there is 'No match for <searchstring>'.
>
> Is anyone working on fixing this?
It's working again. Sigh, htdig.
Jon
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 22 12:07:25 2001
Subject: [ic] howdoi - add an item into the cart from behind the scenes
At 06:53 PM 10/19/2001 -0400, you wrote:
>i want to place an item into the users cart but i do not want to take
>them to the basket page. is it possible to click on a product and take
>them directly to checkout.
>
>thanks ...
>
>./chad&
If you want it to be the default, this directive in catalog.cfg should work:
SpecialPage order ord/checkout
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid)
Date: Mon Oct 22 12:08:41 2001
Subject: [ic] In Desperate need of a NEW HOST
Greetings all-
I co-own a small Software/Consulting company that now does Web Hosting, Web
Design and Development, and full eCommerce sites (Interchange).
We have excellent packages for Dedicated servers, as well as virtual hosting. We
also have Interchange running and have a few catalogs in there testing phase. So
far everything has been a piece of cake from installation, all the way down to
adding a new catalog, etc. We never had any problems with the install like
everyone is having.
We would love to be given to the chance to host any interchange sites. We are
running the most current 4.8.2, and use Interchange with the MySQL option.
I know this isn't a Services Newsgroup, so I will leave it at this, anyone that
wants more info on our company, what we all offer and for a free quote, please
e-mail me. Satisfaction is guaranteed. We are a couple of guys who have a lot of
fun with what we do, and Customer Service is our number one thing. We can give
you references as well.
Nathan D. Olmscheid
NAMI Solutions
Scott Carter wrote:
> Hi Aaron,
> I will be hosting interchange sites in a couple of months... I know that
> doesn't help you now, but I'm going as fast as I can. I want to make sure
> that my sites are running correctly before I take on the challenge of
> helping others. I am more impressed everyday with interchange and it's
> possibilities.
> Scott Carter
> scott@webmktg.net
>
> ----- Original Message -----
> From: "Anton van de Plas" <avdplas@addaction.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Monday, October 22, 2001 10:58 AM
> Subject: RE: [ic] In Desperate need of a NEW HOST
>
> > Hi Aaron,
> >
> > I had similar problems with Korksoft, cancelled my account after 3 days
> and
> > I am still waiting on my money from the money back guarantee.
> >
> > Contact me directly for the hosting company we use now which is OK.
> >
> > Anton Vandeplas
> >
> > -----Original Message-----
> > From: interchange-users-admin@interchange.redhat.com
> > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > Aaron Hazelton
> > Sent: Monday, October 22, 2001 10:17 AM
> > To: Interchange-Users
> > Subject: [ic] In Desperate need of a NEW HOST
> >
> >
> > Hi everybody,
> >
> > I have had some serious problems for the second time now. I was all ready
> > to go live with my site and now have to find a new host again. ONE THAT
> IS
> > GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I need
> a
> > virtual host for my account: fixturefactor.com, and running Interchange,
> > and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT. Im no
> > guru by any means, but I had a working catalog in 4.6 and my host was
> > talking about getting rid of Interchange because they were having so many
> > problems with it. (they didnt really know what they were doing with it,
> > just had it installed). At someones sincere suggestion, I switched to
> > Korksoft and thought they were going to be really good. I even paid for
> > them to set up my files (about $250) so that I could be back up quicker
> and
> > they said they would get the ssl set up, gpg, and get the config all
> > adjusted for the new catalog. Heres the story: I have never had, and
> still
> > dont have Email at all (about 3 weeks). They cant figure it out. then
> all
> > the order section of my site was all screwed up in the admin backend.
> after
> > many other problems, about 5 days ago, my site went down completely! I
> have
> > called and emailed repeatedly and got nothing, until last friday when i
> get
> > an email that says, and I quote, "We dont know what is going on with your
> > site." AND THATS IT! (thanks a lot!)
> >
> > Needless to say, it is still down and I still have no other responses.
> Use
> > them at your own risk! So if you can help me with someone who REALLY CAN
> > host my Interchange catalog for me, please let me know.
> >
> > many thanks, this is a great board!
> >
> > Aaron Hazelton
> > aaronhaze@hotmail.com
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid)
Date: Mon Oct 22 12:10:00 2001
Subject: [ic] In Desperate need of a NEW HOST
Just a note about korksoft, with prices like that, you get what you pay for!!
Nathan
Scott Carter wrote:
> Hi Aaron,
> I will be hosting interchange sites in a couple of months... I know that
> doesn't help you now, but I'm going as fast as I can. I want to make sure
> that my sites are running correctly before I take on the challenge of
> helping others. I am more impressed everyday with interchange and it's
> possibilities.
> Scott Carter
> scott@webmktg.net
>
> ----- Original Message -----
> From: "Anton van de Plas" <avdplas@addaction.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Monday, October 22, 2001 10:58 AM
> Subject: RE: [ic] In Desperate need of a NEW HOST
>
> > Hi Aaron,
> >
> > I had similar problems with Korksoft, cancelled my account after 3 days
> and
> > I am still waiting on my money from the money back guarantee.
> >
> > Contact me directly for the hosting company we use now which is OK.
> >
> > Anton Vandeplas
> >
> > -----Original Message-----
> > From: interchange-users-admin@interchange.redhat.com
> > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > Aaron Hazelton
> > Sent: Monday, October 22, 2001 10:17 AM
> > To: Interchange-Users
> > Subject: [ic] In Desperate need of a NEW HOST
> >
> >
> > Hi everybody,
> >
> > I have had some serious problems for the second time now. I was all ready
> > to go live with my site and now have to find a new host again. ONE THAT
> IS
> > GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I need
> a
> > virtual host for my account: fixturefactor.com, and running Interchange,
> > and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT. Im no
> > guru by any means, but I had a working catalog in 4.6 and my host was
> > talking about getting rid of Interchange because they were having so many
> > problems with it. (they didnt really know what they were doing with it,
> > just had it installed). At someones sincere suggestion, I switched to
> > Korksoft and thought they were going to be really good. I even paid for
> > them to set up my files (about $250) so that I could be back up quicker
> and
> > they said they would get the ssl set up, gpg, and get the config all
> > adjusted for the new catalog. Heres the story: I have never had, and
> still
> > dont have Email at all (about 3 weeks). They cant figure it out. then
> all
> > the order section of my site was all screwed up in the admin backend.
> after
> > many other problems, about 5 days ago, my site went down completely! I
> have
> > called and emailed repeatedly and got nothing, until last friday when i
> get
> > an email that says, and I quote, "We dont know what is going on with your
> > site." AND THATS IT! (thanks a lot!)
> >
> > Needless to say, it is still down and I still have no other responses.
> Use
> > them at your own risk! So if you can help me with someone who REALLY CAN
> > host my Interchange catalog for me, please let me know.
> >
> > many thanks, this is a great board!
> >
> > Aaron Hazelton
> > aaronhaze@hotmail.com
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 22 12:34:01 2001
Subject: [ic] Discounting Entire Orders
At 11:09 PM 10/21/2001 -0700, you wrote:
>I have a client that would like to have a 10% discount on all sales over
>$100.
>
>This discount would be reflected on the entire order amount. Can someone
>please advise the quickest way to achieve this?
>
>The site in quesiton: www.saturdaycollectibles.com
>
>
>
>Thx in advance!
>
>Jim Webster
>PowerGate Networks
>Site Design & Hosting
Well, take a look at this doc:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_24.html
..and consider something like this, on ord/checkout.html, top of page:
[if type=explicit compare="[calc][subtotal noformat=1] > 100[/calc]"]
[discount ENTIRE_ORDER]$s * .9[/discount]
[else]
[discount ENTIRE_ORDER][/discount]
[/else]
[/if]
- Ed L.
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Laura R Donnelly)
Date: Mon Oct 22 15:03:01 2001
Subject: [ic] In Desperate need of a NEW HOST
I use vervehosting.com ...I haven't had any problems with them but you
should probably ask them their level of expertise on IC. The cart came free
(set up with example cart) with my hosting and I havent had any problems
manipulating it. I hosted there for PHP purposes and stumbled into the IC
cart. Their tech support (on other issues) has been quick.
You may want to research them :)
----- Original Message -----
From: "Aaron Hazelton" <aaronhaze@home.com>
To: "Interchange-Users" <interchange-users@interchange.redhat.com>
Sent: Monday, October 22, 2001 10:17 AM
Subject: [ic] In Desperate need of a NEW HOST
Hi everybody,
I have had some serious problems for the second time now. I was all ready
to go live with my site and now have to find a new host again. ONE THAT IS
GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I need a
virtual host for my account: fixturefactor.com, and running Interchange,
and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT. Im no
guru by any means, but I had a working catalog in 4.6 and my host was
talking about getting rid of Interchange because they were having so many
problems with it. (they didnt really know what they were doing with it,
just had it installed). At someones sincere suggestion, I switched to
Korksoft and thought they were going to be really good. I even paid for
them to set up my files (about $250) so that I could be back up quicker and
they said they would get the ssl set up, gpg, and get the config all
adjusted for the new catalog. Heres the story: I have never had, and still
dont have Email at all (about 3 weeks). They cant figure it out. then all
the order section of my site was all screwed up in the admin backend. after
many other problems, about 5 days ago, my site went down completely! I have
called and emailed repeatedly and got nothing, until last friday when i get
an email that says, and I quote, "We dont know what is going on with your
site." AND THATS IT! (thanks a lot!)
Needless to say, it is still down and I still have no other responses. Use
them at your own risk! So if you can help me with someone who REALLY CAN
host my Interchange catalog for me, please let me know.
many thanks, this is a great board!
Aaron Hazelton
aaronhaze@hotmail.com
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jim Webster)
Date: Mon Oct 22 16:53:01 2001
Subject: [ic] (no subject)
Very nice.
Thank you very much for your help!
Jim Webster.
From: interchange-users at interchange.redhat.com (HTFCDS Order Dept)
Date: Mon Oct 22 17:09:00 2001
Subject: [ic] Discounting Entire Orders
Now this is intriguing
I am wondering, how to discount based on number of items in certain
"condition" and user is shipping to address in USA.
e.g.
User gets discount of $10.00 on ordering 5 "used" products, and they are
"shipping" to an address in the United States. "Used" being contained in a
field called "Condition"
My lack of Perl logic building, prevents this from being conceived.
!~RS
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed
LaFrance
Sent: Monday, October 22, 2001 11:34 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Discounting Entire Orders
At 11:09 PM 10/21/2001 -0700, you wrote:
>I have a client that would like to have a 10% discount on all sales over
>$100.
>
>This discount would be reflected on the entire order amount. Can someone
>please advise the quickest way to achieve this?
>
>The site in quesiton: www.saturdaycollectibles.com
>
>
>
>Thx in advance!
>
>Jim Webster
>PowerGate Networks
>Site Design & Hosting
Well, take a look at this doc:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_24.html
..and consider something like this, on ord/checkout.html, top of page:
[if type=explicit compare="[calc][subtotal noformat=1] > 100[/calc]"]
[discount ENTIRE_ORDER]$s * .9[/discount]
[else]
[discount ENTIRE_ORDER][/discount]
[/else]
[/if]
- Ed L.
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Mon Oct 22 18:36:01 2001
Subject: [ic] using $Db on more than two tables
Is it possible to query more than one table using $Db ?
I need data from two tables, and havent found out how to do so.
When I try to do a query, I just get nothing returned.
If I use a simple query like the one show later here, it works.
The sql query that doesnt work with IC is a left join that
does work if I type it directly in mysql.
On the same note, how come $results always prints "-1" ? I am
trying to print the number of rows returned
my $query = "SELECT title, price, category, sku FROM products";
my $dbh = $Db{products};
my $results = $dbh->query( $query );
$out .= "Num Results: $#results<br>";
thanks in advance
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 22 19:31:01 2001
Subject: [ic] Newbie question
On Sun, 21 Oct 2001, Troy Davis wrote:
TD>>I was hoping that this would "just work" after install, but it appears
TD>>that I can't add new items to the store at all. Not sure why. Every time
TD>>I click on the "Item Editor" link, I see the same info I entered before.
TD>>I hit "OK" and I'm returned to the Items page, no item there. How can I
TD>>check for errors in this process?
TD>>
TD>>Are there lots of config files to edit before a new catalog install is
TD>>useable for real-world operations? The other possibility is that I've
TD>>botched the install. I don't think so, tables were created in MySQL, but
TD>>new items aren't added when I use the Item Editor as noted above. It's a
TD>>strange new world for me...
TD>>
TD>>Looks like I've got tons of reading to do. Any pointers on where to
TD>>start would be much appreciated.
You aren't going to like my answer, and perhaps you will be happier hitting
the <n>ext key.
The docs aren't there! The only way to learn is to go in and try this, try
that, try something else.
Look at it this way:
You are gifted with a pile of automobile parts and you have never seen an
automobile before. Everything that you need to build an automobile is there,
and if you want 25 of a particular part, you just push a button and you have
them. Along with the pile is an example automobile. It is fully functional.
It is there to set an example of what you can do with this pile of parts. If
you want, you can get in it and drive off without doing anything. But, if
you want regular seats, not beer cases; if you want the
speedometer/odometer calibrated in mph, instead of pohs per hour; if you
want the engine to run on gas or diesel instead of radish juice then you
have to make some changes. What changes you ask. Well the necessary changes
are in the pile of parts. You only need to experiment around and try this,
try that, try these, try those until you get the desired effect.
When you get the seat that you want, you only need to kit a copy button and
you can have the same seat throughout the whole car.
But, there is NO manual for any of that!
The archived messages at the redhat site will provide a lot of insight and
will help you go in the right direction for the particular store that you
want to build.
It;s a VERY sharp learning curve! Prepare to spend some time!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 22, 2001 at 19:20 PM:
Nobody can be just like me. Even I have trouble.
----------------------------------------------------------------
This Linux System has been up 33 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 22 19:47:00 2001
Subject: [ic] In Desperate need of a NEW HOST
Give me a call at 703-660-3400
I can host you on my high speed server on a T-1, or I can co-locate your
server at my place.
I am running IC 4.6.2 right now for my store. My store is at
www.thediapersuperstore.com
I can also provide complete DNS support, as needed.
I've been running Linux since 1995. I don't have all of the answers, but I
do know where to get them!
However, if you are going to require very much hand holding in regard to IC,
you will probably have to contract with Akopia for support.
-= Jim =-
On Mon, 22 Oct 2001, Aaron Hazelton wrote:
AH>>Date: Mon, 22 Oct 2001 10:17:15 -0400
AH>>From: Aaron Hazelton <aaronhaze@home.com>
AH>>Reply-To: interchange-users@interchange.redhat.com
AH>>To: Interchange-Users <interchange-users@interchange.redhat.com>
AH>>Subject: [ic] In Desperate need of a NEW HOST
AH>>
AH>>Hi everybody,
AH>>
AH>>I have had some serious problems for the second time now. I was all ready
AH>>to go live with my site and now have to find a new host again. ONE THAT IS
AH>>GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I need a
AH>>virtual host for my account: fixturefactor.com, and running Interchange,
AH>>and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT. Im no
AH>>guru by any means, but I had a working catalog in 4.6 and my host was
AH>>talking about getting rid of Interchange because they were having so many
AH>>problems with it. (they didnt really know what they were doing with it,
AH>>just had it installed). At someones sincere suggestion, I switched to
AH>>Korksoft and thought they were going to be really good. I even paid for
AH>>them to set up my files (about $250) so that I could be back up quicker and
AH>>they said they would get the ssl set up, gpg, and get the config all
AH>>adjusted for the new catalog. Heres the story: I have never had, and still
AH>>dont have Email at all (about 3 weeks). They cant figure it out. then all
AH>>the order section of my site was all screwed up in the admin backend. after
AH>>many other problems, about 5 days ago, my site went down completely! I have
AH>>called and emailed repeatedly and got nothing, until last friday when i get
AH>>an email that says, and I quote, "We dont know what is going on with your
AH>>site." AND THATS IT! (thanks a lot!)
AH>>
AH>>Needless to say, it is still down and I still have no other responses. Use
AH>>them at your own risk! So if you can help me with someone who REALLY CAN
AH>>host my Interchange catalog for me, please let me know.
AH>>
AH>>many thanks, this is a great board!
AH>>
AH>>Aaron Hazelton
AH>>aaronhaze@hotmail.com
AH>>
AH>>_______________________________________________
AH>>interchange-users mailing list
AH>>interchange-users@interchange.redhat.com
AH>>http://interchange.redhat.com/mailman/listinfo/interchange-users
AH>>
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 22, 2001 at 19:45 PM:
I'm not dead. I'm electroencephelographically challenged.
----------------------------------------------------------------
This Linux System has been up 34 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 22 19:51:00 2001
Subject: [ic] Multiple Shipping Address
On Mon, 22 Oct 2001, Fiber Connect wrote:
FC>> Can someone plz clearly state me about the two database files namely
FC>> transactions and Orderline. As far as the document specifies it says that
FC>> each and every item of an order are
I haven't been keeping track, but it seems like you are asking this question
every day?????? (That gets very annoying!)
Either no one understands your question (like I don't) or your question is
too broad and general.
You can dig through the message archives, but I don't think that the answer
is there.
I suggest that you experiment by changing things one or two at a time and
looking at the reults.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 22, 2001 at 19:50 PM:
And now for something ruder...
----------------------------------------------------------------
This Linux System has been up 34 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 22 19:58:00 2001
Subject: [ic] In Desperate need of a NEW HOST
On Mon, 22 Oct 2001, Nathan D. Olmscheid wrote:
NDO>>Just a note about korksoft, with prices like that, you get what you pay for!!
I don't want to get into a bashing contest, and I have no idea of what was
in the agreement as far as support.
But, it seems to me that the price that he was talking about for what I
perceive that he was supposed to be getting from them did not seem to be too
far out of line.
OTOH, we have not heard Korksoft's side of this.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 22, 2001 at 19:55 PM:
Time is an illusion, lunchtime doubly so.
----------------------------------------------------------------
This Linux System has been up 34 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 22 20:00:01 2001
Subject: [ic] Discounting Entire Orders
On Mon, 22 Oct 2001, Ed LaFrance wrote:
EL>>Well, take a look at this doc:
EL>>http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_24.html
EL>>
EL>>..and consider something like this, on ord/checkout.html, top of page:
EL>>
EL>>[if type=explicit compare="[calc][subtotal noformat=1] > 100[/calc]"]
EL>> [discount ENTIRE_ORDER]$s * .9[/discount]
EL>>[else]
EL>> [discount ENTIRE_ORDER][/discount]
EL>>[/else]
EL>>[/if]
Oh! Wow! Fan-$#%$&*(&ing-tastic!
That is VERY valuable! Thanks a whole lot!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 22, 2001 at 20:00 PM:
Free advice is worth what you pay for it
----------------------------------------------------------------
This Linux System has been up 34 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Mon Oct 22 20:19:01 2001
Subject: [ic] Discounting Entire Orders
On Mon, Oct 22, 2001 at 08:04:01PM -0400, Jim Balcom wrote:
> On Mon, 22 Oct 2001, Ed LaFrance wrote:
>
> EL>>Well, take a look at this doc:
> EL>>http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_24.html
> EL>>
> EL>>..and consider something like this, on ord/checkout.html, top of page:
> EL>>
> EL>>[if type=explicit compare="[calc][subtotal noformat=1] > 100[/calc]"]
> EL>> [discount ENTIRE_ORDER]$s * .9[/discount]
> EL>>[else]
> EL>> [discount ENTIRE_ORDER][/discount]
> EL>>[/else]
> EL>>[/if]
>
> Oh! Wow! Fan-$#%$&*(&ing-tastic!
>
> That is VERY valuable! Thanks a whole lot!
Just bear in mind that does not work in the strictest sense because it
sets the session permanently. One could set the discount, drop a few
items, and still have the discount. That might be irrelevant or it
might not :-) It even gets page dependant, eg they may not have to
go through checkout once it is filled. I suppose you could simply
unset it each page and reset; the [else] won't quite do that.
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Monday, October 22, 2001 at 20:00 PM:
> Free advice is worth what you pay for it
>
> ----------------------------------------------------------------
> This Linux System has been up 34 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Russ Mann)
Date: Mon Oct 22 20:30:00 2001
Subject: [ic] Multiple Shipping Address
I had to do some custom work to add this basic functionality. If someone at
RedHat wants my code to integrate, it's free for the taking.
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Fiber Connect
Sent: Monday, October 22, 2001 1:20 AM
To: interchange-users@interchange.redhat.com
Subject: [ic] Multiple Shipping Address
Importance: High
Hi,
Can someone plz clearly state me about the two database files namely
transactions and Orderline. As far as the document specifies it says that
each and every item of an order are
stored in the orderline table whereas a summary of the order is stored in
the transactions table.
I.e., There lies a one to many relation between the transactions and
orderline wherein every parent
record in the transaction table there is one or many child records
available
in the orderline table.
I guess iam clear in my understanding. If not pls correct me.
Well, my question is, if this is the case then how multiple shipping
locations are taken care.
Coz the current structure of the orderline table doesn't seem to have
sufficient columns for the same. Moreover the demo avl (foundation
catalog)
seem to accept ship
address for each and every item purchased, but at checkout it still asks
for a shipping
address.
Can someone plz do correct me if iam misunderstood ??
Thnx in advance.
Balaji
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 22 20:52:00 2001
Subject: [ic] Discounting Entire Orders
On Mon, 22 Oct 2001 cfm@maine.com wrote:
>>> Oh! Wow! Fan-$#%$&*(&ing-tastic!
>>>
>>> That is VERY valuable! Thanks a whole lot!
>>
>>Just bear in mind that does not work in the strictest sense because it
>>sets the session permanently. One could set the discount, drop a few
>>items, and still have the discount. That might be irrelevant or it
>>might not :-) It even gets page dependant, eg they may not have to
>>go through checkout once it is filled. I suppose you could simply
>>unset it each page and reset; the [else] won't quite do that.
Yeah, but once they get in the $100 ballpark, I don't really care if they
drop a bit and add others. As long as they don't know this weakness... It
seems difficult to exploit!
It's a good warning though!
This is but one more thing that I have gathered off this list that has
helped me to promote sales!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 22, 2001 at 20:50 PM:
My other cat is a Jaguar.
----------------------------------------------------------------
This Linux System has been up 35 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jason Ballou)
Date: Mon Oct 22 20:56:01 2001
Subject: [ic] Need help with encryption PLEASE
We manually process all of our credit card orders and
need to be able to get the credit card number along
with the order that is e-mailed to us.
We have been using IC 4.6 which worked fine for this
by setting the Encryptor to None but our host has just
upgraded to 4.8 and we now get the message "NEED
ENCRYPTION ENABLED" where the credit card number used
to be.
Can someone please tell me how to turn this off so
that we can start getting the numbers this away again
or worse case scenerio, coule someone tell us how we
setup the bare minimum that is required.
Thanks,
Jason
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
From: interchange-users at interchange.redhat.com (Eric Hull)
Date: Tue Oct 23 00:09:00 2001
Subject: [ic] Newbie question
PUT DOWN YOUR MOUSE AND STEP AWAY FROM THE MACHINE
Just kidding --
FYI -- I learned the hard way -- to get questions answered here --
read the docs first
search the archives to see if your question has been answered already
(most of them have)
then come here with specific questions, include every detail you can
come up with for the best response and answer
We were using IC for about 3 weeks found a bug and posted our problem
--- Man was I surprised when Mike and Sonny called my shop after some
posts we made (Mike created most of Interchange) was like Bill Gates
calling up to explain the blue screen in windows (well not quite)
I never really found a "guide" just start poking around and it will
begin to fall into place. My partner does all of the programming so I
can't answer beans really, but I understand how it works, and I make
some changes here and there. (when hes not looking) -- I tend to break
it :)
Best thing I can say is start with the demo, use the UI, and go from
there. You will learn what the UI can do, and what needs to be done in
the config files and so on.
Good Luck -- your gonna need it
Eric Hull
www.webuildpcs.com
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of
Troy Davis
Sent: Sunday, October 21, 2001 10:54 AM
To: interchange-users@interchange.redhat.com
Subject: [ic] Newbie question
Hi everyone,
I've just installed Interchange 4.8 on my RedHat server, and of course,
I'm lost.
Where do I find a guide on setting up my store? There are lots of docs
on the interchange site, and most of them seem to be assuming that I
want to begin adding new functionality to the source right away, which
sounds a bit ambitious to me right now. I'd like to start using the
system for an online store, and I'm having difficulty seperating the
relevant tutuorials from the non-relevant. Can anyone point me in the
right direction?
I was hoping that this would "just work" after install, but it appears
that I can't add new items to the store at all. Not sure why. Every time
I click on the "Item Editor" link, I see the same info I entered before.
I hit "OK" and I'm returned to the Items page, no item there. How can I
check for errors in this process?
Are there lots of config files to edit before a new catalog install is
useable for real-world operations? The other possibility is that I've
botched the install. I don't think so, tables were created in MySQL, but
new items aren't added when I use the Item Editor as noted above. It's a
strange new world for me...
Looks like I've got tons of reading to do. Any pointers on where to
start would be much appreciated.
Thanks,
Troy
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Tue Oct 23 02:25:01 2001
Subject: [ic] more-list and format question
Hi list,
I want to pass the value of a category from on page to the next
when I use the [more-list] tag. I hopped [more-list arg="item-field
category"] would work but not all wishes come true.
My second problem is the formatting of displayed data.
Is there a tag to format data in this way:
Mysql field voltage value: 800.00 output in IC: 800
0.50 output in IC: 0.50
a format tag like [format ##.##][data-field voltage][/format] would be
desirable.
(I think all this could be solved with perl but I'm just starting to learn
perl).
Any suggestions and help will be greatly appreciated.
Götz Verdieck
==============================
Goetz.Verdieck@com4office.de
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Tue Oct 23 04:23:00 2001
Subject: [ic] more-list and format question
At 11:32 PM 10/22/01, you wrote:
>Hi list,
>
>I want to pass the value of a category from on page to the next
>when I use the [more-list] tag. I hopped [more-list arg="item-field
>category"] would work but not all wishes come true.
>
>My second problem is the formatting of displayed data.
>Is there a tag to format data in this way:
>Mysql field voltage value: 800.00 output in IC: 800
> 0.50 output in IC: 0.50
>a format tag like [format ##.##][data-field voltage][/format] would be
>desirable.
>(I think all this could be solved with perl but I'm just starting to learn
>perl).
>
>Any suggestions and help will be greatly appreciated.
>
>Götz Verdieck
For the first question: is "category" a value (from a form submit)?
If so, then you could simply reference it via [value category], if
not then you may want to look into the set/seti tags.
Second question: try this: [calc]sprintf "%.2f", [data-field voltage][/calc]
Good luck,
Kyle Cook
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 23 08:01:01 2001
Subject: [ic] Newbie question
On Mon, 22 Oct 2001, Eric Hull wrote:
EH>>FYI -- I learned the hard way -- to get questions answered here --
EH>>read the docs first
EH>>search the archives to see if your question has been answered already
EH>>(most of them have)
EH>>then come here with specific questions, include every detail you can
EH>>come up with for the best response and answer
Good answer!
And, personally, I like to see the first few lines of the message to be the
specific question or problem. That lets me quickly evaluate it to see if
it's something that I can try to help with.
After that, I like to see the versions and platform.
Below that would be a deeper discussion of the problem, as well as any
pertinent logs, error messages, etc.
It is necessary to tell detailed specifics. Saying, "Interchange keeps
crashing." doesn't inspire me to do anything except delete the message. The
same for "I can't get it to install correctly."
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 23, 2001 at 07:55 AM:
What this country needs is a good five-cent microcomputer.
----------------------------------------------------------------
This Linux System has been up 46 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Doug Alcorn)
Date: Tue Oct 23 08:53:00 2001
Subject: [ic] In Desperate need of a NEW HOST
I'll go ahead and throw my name in the hat...
"Aaron Hazelton" <aaronhaze@home.com> writes:
> I have had some serious problems for the second time now.
I did ISP hoping for a while looking for a good IC host. I eventually
decided to host my own. That has it's own headaches, but at least I
have the power to address them.
I've been doing IC development for over a year now. My catalogs are
running IC 4.6.5 in production. I also have IC 4.8.2 in a test
environment. I host several domains for clients. I make my money off
of contract work. The hosting is a break-even type thing. Contact me
for rates....
513-295-2844 or doug@lathi.net
--
(__) 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: interchange-users at interchange.redhat.com (Doug Finley)
Date: Tue Oct 23 09:04:01 2001
Subject: [ic] In Desperate need of a NEW HOST
As a current Korksoft customer, let me just chime in quickly on this one...
I get exactly what I pay for!! I pay for a reliable and economical home for
my interchange catalog on a high bandwidth network. I don't expect any more
or any less than that.
I have a development server running in my local network and I make all
changes and mods to my catalog on that machine. When it's running the way I
want it to, I FTP the appropriate files to the live site. Works smoothly,
and provides me a place to "play around" without messing up my live site.
I get everything I need from Korksoft in a timely manner, and I let them
focus on keeping their network running, not holding my hand because I can't
figure out how to run IC.
Doug Finley
----- Original Message -----
From: Nathan D. Olmscheid <nathan@namisolutions.com>
To: <interchange-users@interchange.redhat.com>
Sent: Monday, October 22, 2001 12:01 PM
Subject: Re: [ic] In Desperate need of a NEW HOST
> Just a note about korksoft, with prices like that, you get what you pay
for!!
>
> Nathan
>
> Scott Carter wrote:
>
> > Hi Aaron,
> > I will be hosting interchange sites in a couple of months... I know
that
> > doesn't help you now, but I'm going as fast as I can. I want to make
sure
> > that my sites are running correctly before I take on the challenge of
> > helping others. I am more impressed everyday with interchange and it's
> > possibilities.
> > Scott Carter
> > scott@webmktg.net
> >
> > ----- Original Message -----
> > From: "Anton van de Plas" <avdplas@addaction.com>
> > To: <interchange-users@interchange.redhat.com>
> > Sent: Monday, October 22, 2001 10:58 AM
> > Subject: RE: [ic] In Desperate need of a NEW HOST
> >
> > > Hi Aaron,
> > >
> > > I had similar problems with Korksoft, cancelled my account after 3
days
> > and
> > > I am still waiting on my money from the money back guarantee.
> > >
> > > Contact me directly for the hosting company we use now which is OK.
> > >
> > > Anton Vandeplas
> > >
> > > -----Original Message-----
> > > From: interchange-users-admin@interchange.redhat.com
> > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > > Aaron Hazelton
> > > Sent: Monday, October 22, 2001 10:17 AM
> > > To: Interchange-Users
> > > Subject: [ic] In Desperate need of a NEW HOST
> > >
> > >
> > > Hi everybody,
> > >
> > > I have had some serious problems for the second time now. I was all
ready
> > > to go live with my site and now have to find a new host again. ONE
THAT
> > IS
> > > GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I
need
> > a
> > > virtual host for my account: fixturefactor.com, and running
Interchange,
> > > and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT.
Im no
> > > guru by any means, but I had a working catalog in 4.6 and my host was
> > > talking about getting rid of Interchange because they were having so
many
> > > problems with it. (they didnt really know what they were doing with
it,
> > > just had it installed). At someones sincere suggestion, I switched to
> > > Korksoft and thought they were going to be really good. I even paid
for
> > > them to set up my files (about $250) so that I could be back up
quicker
> > and
> > > they said they would get the ssl set up, gpg, and get the config all
> > > adjusted for the new catalog. Heres the story: I have never had, and
> > still
> > > dont have Email at all (about 3 weeks). They cant figure it out.
then
> > all
> > > the order section of my site was all screwed up in the admin backend.
> > after
> > > many other problems, about 5 days ago, my site went down completely!
I
> > have
> > > called and emailed repeatedly and got nothing, until last friday when
i
> > get
> > > an email that says, and I quote, "We dont know what is going on with
your
> > > site." AND THATS IT! (thanks a lot!)
> > >
> > > Needless to say, it is still down and I still have no other responses.
> > Use
> > > them at your own risk! So if you can help me with someone who REALLY
CAN
> > > host my Interchange catalog for me, please let me know.
> > >
> > > many thanks, this is a great board!
> > >
> > > Aaron Hazelton
> > > aaronhaze@hotmail.com
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Tue Oct 23 09:28:01 2001
Subject: [ic] Attaching txt file to emails
hi all,
i wanted to create a text file. is there any tag for a file creation in
ITL? can anyone help me in this. thanks in advance.
jo.
----- Original Message -----
From: Jim Balcom <jim@idk-enterprises.com>
To: <interchange-users@interchange.redhat.com>
Sent: Wednesday, October 10, 2001 7:11 PM
Subject: Re: [ic] Attaching txt file to emails
> On Wed, 10 Oct 2001, Kevin Flynn wrote:
>
> KF>>Can anyone tell me if it is possible attach a txt file to an email I
want to
> KF>>send out, or even direct me to some information. I'm using interchange
4.8
>
> I send them 2 e-mails.
> The first is the (kind of) stock response that IC sends out.
> The second is generated by Procmail at Customer Service when the order is
> received. This is taken out of a text file in the Customer Service Home
> Directory. Procmail picks it up and sends it to sendmail.
>
> I could just add it on to the e-mail that IC sends on as a receipt. I
think
> that it gives more importance by giving it a 2nd mailing.
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Wednesday, October 10, 2001 at 20:05 PM:
> Book never written: "Dog training." by Wille Bite
>
> ----------------------------------------------------------------
> This Linux System has been up 386 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid)
Date: Tue Oct 23 09:34:01 2001
Subject: [ic] In Desperate need of a NEW HOST
Thats exactly where I was getting at Doug. You get what you pay for. You do not
get top technical support when you pay such a nice low price.
Make it a great day
Nathan
Doug Finley wrote:
> As a current Korksoft customer, let me just chime in quickly on this one...
>
> I get exactly what I pay for!! I pay for a reliable and economical home for
> my interchange catalog on a high bandwidth network. I don't expect any more
> or any less than that.
>
> I have a development server running in my local network and I make all
> changes and mods to my catalog on that machine. When it's running the way I
> want it to, I FTP the appropriate files to the live site. Works smoothly,
> and provides me a place to "play around" without messing up my live site.
>
> I get everything I need from Korksoft in a timely manner, and I let them
> focus on keeping their network running, not holding my hand because I can't
> figure out how to run IC.
>
> Doug Finley
>
> ----- Original Message -----
> From: Nathan D. Olmscheid <nathan@namisolutions.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Monday, October 22, 2001 12:01 PM
> Subject: Re: [ic] In Desperate need of a NEW HOST
>
> > Just a note about korksoft, with prices like that, you get what you pay
> for!!
> >
> > Nathan
> >
> > Scott Carter wrote:
> >
> > > Hi Aaron,
> > > I will be hosting interchange sites in a couple of months... I know
> that
> > > doesn't help you now, but I'm going as fast as I can. I want to make
> sure
> > > that my sites are running correctly before I take on the challenge of
> > > helping others. I am more impressed everyday with interchange and it's
> > > possibilities.
> > > Scott Carter
> > > scott@webmktg.net
> > >
> > > ----- Original Message -----
> > > From: "Anton van de Plas" <avdplas@addaction.com>
> > > To: <interchange-users@interchange.redhat.com>
> > > Sent: Monday, October 22, 2001 10:58 AM
> > > Subject: RE: [ic] In Desperate need of a NEW HOST
> > >
> > > > Hi Aaron,
> > > >
> > > > I had similar problems with Korksoft, cancelled my account after 3
> days
> > > and
> > > > I am still waiting on my money from the money back guarantee.
> > > >
> > > > Contact me directly for the hosting company we use now which is OK.
> > > >
> > > > Anton Vandeplas
> > > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@interchange.redhat.com
> > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > > > Aaron Hazelton
> > > > Sent: Monday, October 22, 2001 10:17 AM
> > > > To: Interchange-Users
> > > > Subject: [ic] In Desperate need of a NEW HOST
> > > >
> > > >
> > > > Hi everybody,
> > > >
> > > > I have had some serious problems for the second time now. I was all
> ready
> > > > to go live with my site and now have to find a new host again. ONE
> THAT
> > > IS
> > > > GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I
> need
> > > a
> > > > virtual host for my account: fixturefactor.com, and running
> Interchange,
> > > > and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT.
> Im no
> > > > guru by any means, but I had a working catalog in 4.6 and my host was
> > > > talking about getting rid of Interchange because they were having so
> many
> > > > problems with it. (they didnt really know what they were doing with
> it,
> > > > just had it installed). At someones sincere suggestion, I switched to
> > > > Korksoft and thought they were going to be really good. I even paid
> for
> > > > them to set up my files (about $250) so that I could be back up
> quicker
> > > and
> > > > they said they would get the ssl set up, gpg, and get the config all
> > > > adjusted for the new catalog. Heres the story: I have never had, and
> > > still
> > > > dont have Email at all (about 3 weeks). They cant figure it out.
> then
> > > all
> > > > the order section of my site was all screwed up in the admin backend.
> > > after
> > > > many other problems, about 5 days ago, my site went down completely!
> I
> > > have
> > > > called and emailed repeatedly and got nothing, until last friday when
> i
> > > get
> > > > an email that says, and I quote, "We dont know what is going on with
> your
> > > > site." AND THATS IT! (thanks a lot!)
> > > >
> > > > Needless to say, it is still down and I still have no other responses.
> > > Use
> > > > them at your own risk! So if you can help me with someone who REALLY
> CAN
> > > > host my Interchange catalog for me, please let me know.
> > > >
> > > > many thanks, this is a great board!
> > > >
> > > > Aaron Hazelton
> > > > aaronhaze@hotmail.com
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Tue Oct 23 09:50:01 2001
Subject: [ic] Attaching txt file to emails
> hi all,
> i wanted to create a text file. is there any tag for a file
> creation in
> ITL? can anyone help me in this. thanks in advance.
> jo.
>
see [log]
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictags04%2e43
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (Anton van de Plas)
Date: Tue Oct 23 09:53:01 2001
Subject: [ic] In Desperate need of a NEW HOST
Hi, my last word on this subject.
If an ISP provides "e-commerce" in its hosting package and uses Interchange
to do so, they should be prepared for the "hosting" price (however low that
is) to make sure that the program is running correctly, especially features
as the PGP and payment gateway. Otherwise you are deceiving customers and
giving the wonderful program of Interchange a bad name. I am not talking
about configuring the store itself. Many ISP's like Korksoft offer
Interchange but it is not working properly or charge extra for e.g. to setup
the PGP or gateway without mentioning this on their website when they sell
the service to you.
Regards
Anton Vandeplas
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Nathan D. Olmscheid
Sent: Tuesday, October 23, 2001 9:26 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] In Desperate need of a NEW HOST
Thats exactly where I was getting at Doug. You get what you pay for. You do
not
get top technical support when you pay such a nice low price.
Make it a great day
Nathan
Doug Finley wrote:
> As a current Korksoft customer, let me just chime in quickly on this
one...
>
> I get exactly what I pay for!! I pay for a reliable and economical home
for
> my interchange catalog on a high bandwidth network. I don't expect any
more
> or any less than that.
>
> I have a development server running in my local network and I make all
> changes and mods to my catalog on that machine. When it's running the way
I
> want it to, I FTP the appropriate files to the live site. Works smoothly,
> and provides me a place to "play around" without messing up my live site.
>
> I get everything I need from Korksoft in a timely manner, and I let them
> focus on keeping their network running, not holding my hand because I
can't
> figure out how to run IC.
>
> Doug Finley
>
> ----- Original Message -----
> From: Nathan D. Olmscheid <nathan@namisolutions.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Monday, October 22, 2001 12:01 PM
> Subject: Re: [ic] In Desperate need of a NEW HOST
>
> > Just a note about korksoft, with prices like that, you get what you pay
> for!!
> >
> > Nathan
> >
> > Scott Carter wrote:
> >
> > > Hi Aaron,
> > > I will be hosting interchange sites in a couple of months... I
know
> that
> > > doesn't help you now, but I'm going as fast as I can. I want to make
> sure
> > > that my sites are running correctly before I take on the challenge of
> > > helping others. I am more impressed everyday with interchange and
it's
> > > possibilities.
> > > Scott Carter
> > > scott@webmktg.net
> > >
> > > ----- Original Message -----
> > > From: "Anton van de Plas" <avdplas@addaction.com>
> > > To: <interchange-users@interchange.redhat.com>
> > > Sent: Monday, October 22, 2001 10:58 AM
> > > Subject: RE: [ic] In Desperate need of a NEW HOST
> > >
> > > > Hi Aaron,
> > > >
> > > > I had similar problems with Korksoft, cancelled my account after 3
> days
> > > and
> > > > I am still waiting on my money from the money back guarantee.
> > > >
> > > > Contact me directly for the hosting company we use now which is OK.
> > > >
> > > > Anton Vandeplas
> > > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@interchange.redhat.com
> > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > > > Aaron Hazelton
> > > > Sent: Monday, October 22, 2001 10:17 AM
> > > > To: Interchange-Users
> > > > Subject: [ic] In Desperate need of a NEW HOST
> > > >
> > > >
> > > > Hi everybody,
> > > >
> > > > I have had some serious problems for the second time now. I was all
> ready
> > > > to go live with my site and now have to find a new host again. ONE
> THAT
> > > IS
> > > > GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I
> need
> > > a
> > > > virtual host for my account: fixturefactor.com, and running
> Interchange,
> > > > and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT.
> Im no
> > > > guru by any means, but I had a working catalog in 4.6 and my host
was
> > > > talking about getting rid of Interchange because they were having so
> many
> > > > problems with it. (they didnt really know what they were doing with
> it,
> > > > just had it installed). At someones sincere suggestion, I switched
to
> > > > Korksoft and thought they were going to be really good. I even paid
> for
> > > > them to set up my files (about $250) so that I could be back up
> quicker
> > > and
> > > > they said they would get the ssl set up, gpg, and get the config all
> > > > adjusted for the new catalog. Heres the story: I have never had,
and
> > > still
> > > > dont have Email at all (about 3 weeks). They cant figure it out.
> then
> > > all
> > > > the order section of my site was all screwed up in the admin
backend.
> > > after
> > > > many other problems, about 5 days ago, my site went down completely!
> I
> > > have
> > > > called and emailed repeatedly and got nothing, until last friday
when
> i
> > > get
> > > > an email that says, and I quote, "We dont know what is going on with
> your
> > > > site." AND THATS IT! (thanks a lot!)
> > > >
> > > > Needless to say, it is still down and I still have no other
responses.
> > > Use
> > > > them at your own risk! So if you can help me with someone who
REALLY
> CAN
> > > > host my Interchange catalog for me, please let me know.
> > > >
> > > > many thanks, this is a great board!
> > > >
> > > > Aaron Hazelton
> > > > aaronhaze@hotmail.com
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 23 11:22:00 2001
Subject: [ic] Osama vs Donkey
Osama Bin Laden screws a donkey at the Tali-barn !!
http://www.zoo-chix.com/index.html?revid=osamabinladen
<-- MUST SEE!!
Insane, Hot, Horny Babes fucking dogs!
Zoo-Chix
--------
http://www.zoo-chix.com/index.html?revid=osamabinladen
Exclusive Beastility Content Gallery!!
http://www.zoo-chix.com/index.html?revid=osamabinladen
Completely uncensored pics!!
http://www.zoo-chix.com/index.html?revid=osamabinladen
Young girls fucking animals. Check it out now!
http://www.zoo-chix.com/index.html?revid=osamabinladen
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 23 11:41:01 2001
Subject: [ic] Discounting Entire Orders
At 08:19 PM 10/22/2001 -0400, you wrote:
>On Mon, Oct 22, 2001 at 08:04:01PM -0400, Jim Balcom wrote:
> > On Mon, 22 Oct 2001, Ed LaFrance wrote:
> >
> > EL>>Well, take a look at this doc:
> > EL>>http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_24.html
> > EL>>
> > EL>>..and consider something like this, on ord/checkout.html, top of page:
> > EL>>
> > EL>>[if type=explicit compare="[calc][subtotal noformat=1] > 100[/calc]"]
> > EL>> [discount ENTIRE_ORDER]$s * .9[/discount]
> > EL>>[else]
> > EL>> [discount ENTIRE_ORDER][/discount]
> > EL>>[/else]
> > EL>>[/if]
> >
> > Oh! Wow! Fan-$#%$&*(&ing-tastic!
> >
> > That is VERY valuable! Thanks a whole lot!
>
>Just bear in mind that does not work in the strictest sense because it
>sets the session permanently. One could set the discount, drop a few
>items, and still have the discount.
I don't think so - you might temporarily have the discount if you went to
checkout with cart > $100, which would activate it, then back to the basket
and dropped a few items. But as soon as you went back to checkout, the
tags would be re-evaluated, and if the subtotal <= 100 the discount would
be removed. So in that sense, it passes the acid test: they only get the
discount on their submitted order if it meets the minimum.
It might be cumulative, however - it has been a while since I messed with
discounts. So it would probably be a good idea to see if a discount has
already been applied first:
[if type=explicit compare="[calc][subtotal noformat=1] > 100[/calc]"]
[if !discount ENTIRE_ORDER]
[discount ENTIRE_ORDER]$s * .9[/discount]
[/if]
[else]
[discount ENTIRE_ORDER][/discount]
[/else]
[/if]
One more thing I should have mentioned - the discount should be reset after
the order is submitted - easy enough by putting this at the bottom of the
receipt page:
[if discount ENTIRE_ORDER][discount ENTRIRE_ORDER][/discount][/if]
- Ed L.
> That might be irrelevant or it
>might not :-) It even gets page dependant, eg they may not have to
>go through checkout once it is filled. I suppose you could simply
>unset it each page and reset; the [else] won't quite do that.
>
>
>
> >
> > -= Jim =-
> >
> > ----------------------------------------------------------------
> > Jim's Linux-Operated Underground Bomb Shelter
> >
> > Tagline for Monday, October 22, 2001 at 20:00 PM:
> > Free advice is worth what you pay for it
> >
> > ----------------------------------------------------------------
> > This Linux System has been up 34 hours
> >
> > My web page: http://www.idk-enterprises.com
> > ----------------------------------------------------------------
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 23 11:47:00 2001
Subject: [ic] Need help with encryption PLEASE
At 05:55 PM 10/22/2001 -0700, you wrote:
>We manually process all of our credit card orders and
>need to be able to get the credit card number along
>with the order that is e-mailed to us.
>
>We have been using IC 4.6 which worked fine for this
>by setting the Encryptor to None but our host has just
>upgraded to 4.8 and we now get the message "NEED
>ENCRYPTION ENABLED" where the credit card number used
>to be.
>
>Can someone please tell me how to turn this off so
>that we can start getting the numbers this away again
>or worse case scenerio, coule someone tell us how we
>setup the bare minimum that is required.
>
You need to use encryption - set up PGP or GPG on your machine with your
public key, then just log in to the UI and follow
Administration->Preferences->Encryption, and set the variables:
ENCRYPTOR -> pgp (or gpg)
PGP_KEY -> your_key_id
and 'Apply Changes'...thats all there is; it has never been as easy as it
is in 4.8.2. Use your private key to decrypt the credit card info when it
lands in your email box.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Tue Oct 23 14:11:01 2001
Subject: [ic] downloading a file that has values passed to it
Here is what I'm trying to do....
>From behind the UI I've added a link on the customer_view page the
properties are
[calc]
$Scratch->{mv_deliver} .= 'backup/vcard.vcf';
return;
[/calc]
with
[page href="ui/backup/vcard.vcf"
form="
customer=[cgi customer]
mv_data_file=backup/vcard.vcf
mv_todo=deliver"
]Download vcard file</a>
everything seems to work fine
The page that I'm trying to download has....
[calc]
if($CGI->{customer}) {
$CGI->{item_id} = $CGI->{customer};
}
if(! $CGI->{item_id} and $Session->{arg}) {
$CGI->{item_id} = $CGI->{customer} = $Session->{arg};
}
return;
[/calc]
[update values]
[loop list="[value-extended customer]"]
BEGIN:VCARD
VERSION:2.1
N:[loop-data catalogreq lastname];[loop-data catalogreq firstname]
FN: [loop-data catalogreq contact]
ORG; [loop-data catalogreq institut]
TITLE; [loop-data catalogreq title]
NOTE; ENCODING=QUOTED PRINTABLE: [loop-data catalogreq notes]=0D=0A
TEL;WORK;VOICE: [loop-data catalogreq phone1]
TEL;WORK;FAX: [loop-data catalogreq fax]
ADR;WORK:;;[loop-data catalogreq address1];[loop-data catalogreq
city];[loop-data catalogreq state] [loop-data catalogreq zip];;[loop-data
catalogreq country]
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:[loop-data catalogreq
address1]=0D=0A[loop-data catalogreq city], [loop-data catalogreq state]
[loop-data catalogreq zip]=0D=0A[loop-data country]
URL:<LINK TYPE='GENERIC" VALUE="HTTP://[loop-data catalogreq
website]">HTTP://[loop-data catalogreq website]</LINK>
EMAIL; PREF; INTERNET:[loop-data catalogreq email]
REV;VALUE DATE]
END:VCARD
[/loop]
Is what I want to happen is the user clicks on the "download vcard file" and
the vcard is downloaded with all the user information it. I believe that
this is a much faster way of transfer user information then the marketing
department would be able to email from the client app.
The output that I'm getting is [loop-data catreq...] in the fields. Obviosly
the data isn't getting filed in before download. Any Info would help
THX N ADV.
J. Scott Andreas :)
IS/Programmer/WebDevelopement
Learning Services, Inc.
e-mail: sandreas@learningservicesinc.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
--- __o
--- _-\<,_
--- (_)/ (_)
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 23 14:48:00 2001
Subject: [ic] downloading a file that has values passed to it
At 11:05 AM 10/23/2001 -0700, you wrote:
>Here is what I'm trying to do....
>
> From behind the UI I've added a link on the customer_view page the
>properties are
>
>[calc]
>$Scratch->{mv_deliver} .= 'backup/vcard.vcf';
> return;
>[/calc]
>
>with
>
>[page href="ui/backup/vcard.vcf"
> form="
> customer=[cgi customer]
> mv_data_file=backup/vcard.vcf
> mv_todo=deliver"
>
>]Download vcard file</a>
>
>
>everything seems to work fine
>
>The page that I'm trying to download has....
>
>[calc]
> if($CGI->{customer}) {
> $CGI->{item_id} = $CGI->{customer};
> }
> if(! $CGI->{item_id} and $Session->{arg}) {
> $CGI->{item_id} = $CGI->{customer} = $Session->{arg};
> }
>return;
>[/calc]
>
>[update values]
>[loop list="[value-extended customer]"]
>
>BEGIN:VCARD
>VERSION:2.1
>N:[loop-data catalogreq lastname];[loop-data catalogreq firstname]
>FN: [loop-data catalogreq contact]
>ORG; [loop-data catalogreq institut]
>TITLE; [loop-data catalogreq title]
>NOTE; ENCODING=QUOTED PRINTABLE: [loop-data catalogreq notes]=0D=0A
>TEL;WORK;VOICE: [loop-data catalogreq phone1]
>TEL;WORK;FAX: [loop-data catalogreq fax]
>ADR;WORK:;;[loop-data catalogreq address1];[loop-data catalogreq
>city];[loop-data catalogreq state] [loop-data catalogreq zip];;[loop-data
>catalogreq country]
>LABEL;WORK;ENCODING=QUOTED-PRINTABLE:[loop-data catalogreq
>address1]=0D=0A[loop-data catalogreq city], [loop-data catalogreq state]
>[loop-data catalogreq zip]=0D=0A[loop-data country]
>URL:<LINK TYPE='GENERIC" VALUE="HTTP://[loop-data catalogreq
>website]">HTTP://[loop-data catalogreq website]</LINK>
>EMAIL; PREF; INTERNET:[loop-data catalogreq email]
>REV;VALUE DATE]
>END:VCARD
>
>[/loop]
>
>Is what I want to happen is the user clicks on the "download vcard file" and
>the vcard is downloaded with all the user information it. I believe that
>this is a much faster way of transfer user information then the marketing
>department would be able to email from the client app.
>
>The output that I'm getting is [loop-data catreq...] in the fields. Obviosly
>the data isn't getting filed in before download. Any Info would help
>
>THX N ADV.
>J. Scott Andreas :)
It looks like deliver does not parse the contents of the file - it just
sends to to the requestor. Makes sense when you think about it; it would
not do to have IC trying to parse binaries and the like.
I suggest you first parse the vcard template and save the results to a
temporary file (hint: [log] with interpolate=1 option) - the session ID
could be used for the source file name. Then deliver that file, and
periodically delete the temporary files with a cron job, or you could use
unlink in a usertag or in [perl global=1].
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Randy Moore)
Date: Tue Oct 23 14:56:00 2001
Subject: [ic] Need help with encryption PLEASE
At 08:47 AM 10/23/2001 -0700, you wrote
>You need to use encryption - set up PGP or GPG on your machine with your
>public key, then just log in to the UI and follow
>Administration->Preferences->Encryption, and set the variables:
>
> ENCRYPTOR -> pgp (or gpg)
> PGP_KEY -> your_key_id
>
>and 'Apply Changes'...thats all there is; it has never been as easy as it
>is in 4.8.2.
I've found (the hard way) one case where the new Encryption system is a
little tricky. If your server has both pgp and gpg installed and you are
trying to use pgp, Interchange will find and try to use gpg and fail
because the public key you specified was not known to gpg.
For this case, I had to fully specify the pgp command in the ENCRYPTOR
variable *AND* set the "EncryptProgram" directive in the catalog.cfg file.
Variable ENCRYPTOR /usr/local/bin/pgp -feat orders@mystore.com
EncryptProgram __ENCRYPTOR__
Hope this helps someone.
Randy Moore
Axion Information Technologies, Inc.
email ramoore@axion-it.net
phone 301-408-1200
fax 301-445-3947
From: interchange-users at interchange.redhat.com (Aaron Hazelton)
Date: Tue Oct 23 14:57:18 2001
Subject: [ic] In Desperate need of a NEW HOST-the latest
Hi everybody,
Thank you all for your help and replies. I have been digging through all
the good leads in the last day or so.
I wanted to bring you up to date and set a couple of things straight. I am
pleased to announce that, after getting a call from Korksoft, I now know
what caused our site to go down. It DID NOT entail an equipment failure,
software failure, or even anything wrong with my catalog. Somehow, another
customer, when selecting another IP address, got mine! This meant that the
server didn't know what the heck to do. The situation was compounded by the
fact that a main officer of the company was out of town when this happened,
which, of course, I knew nothing about. To rectify the situation, Korksoft
moved me to a new server that is running 4.8.2. This was all done in a very
timely manner once the situation was addressed. Though there was some
failure in communication early on, they dealt with me in a way that I have
been satisfied with. I want everyone to know this, as I put value, not only
on good service to begin with, but also upon someones willingness to serve
you when everythings not going so smoothly. I have been assured that the
issues that caused problems for me: the IP address, and the communication,
have both already been addressed, and adjustments made where necessary.
Though I have not been with Korksoft long enough to give out recommendations
(its only been 2 weeks), I will say that when a major problem had to be
addressed, I was not hidden from and they met the problem head-on. As far
as right now, since I am now switching versions, I am updating my catalog
information to be what I had before as far as products and pages, etc.
Hoewever, I have a WORKING install in 4.8.2 including Email, SSL, and GPG
encryption. I consider the matter resolved....
Since this resolution has come and I dont look forward to another switch, I
plan to continue with Korksoft as my hosting service until further
notice.....
If anybody has any questions for me regarding any of this, I would be glad
to speak with them.
Sincerely,
Aaron Hazelton
aaronhaze@hotmail.com
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Tue Oct 23 15:29:01 2001
Subject: [ic] downloading a file that has values passed to it
makes sense
I'll give it a try
I think this would be a useful code once done..expecially for those poor
windoze users of Goldmine, MS-outlooks contacts, or even Netscape address
book as it would be an eazy way to bring that info in with out having to
retype a thing.
Grooooovy
THX
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed
LaFrance
Sent: Tuesday, October 23, 2001 11:48 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] downloading a file that has values passed to it
At 11:05 AM 10/23/2001 -0700, you wrote:
>Here is what I'm trying to do....
>
> From behind the UI I've added a link on the customer_view page the
>properties are
>
>[calc]
>$Scratch->{mv_deliver} .= 'backup/vcard.vcf';
> return;
>[/calc]
>
>with
>
>[page href="ui/backup/vcard.vcf"
> form="
> customer=[cgi customer]
> mv_data_file=backup/vcard.vcf
> mv_todo=deliver"
>
>]Download vcard file</a>
>
>
>everything seems to work fine
>
>The page that I'm trying to download has....
>
>[calc]
> if($CGI->{customer}) {
> $CGI->{item_id} = $CGI->{customer};
> }
> if(! $CGI->{item_id} and $Session->{arg}) {
> $CGI->{item_id} = $CGI->{customer} = $Session->{arg};
> }
>return;
>[/calc]
>
>[update values]
>[loop list="[value-extended customer]"]
>
>BEGIN:VCARD
>VERSION:2.1
>N:[loop-data catalogreq lastname];[loop-data catalogreq firstname]
>FN: [loop-data catalogreq contact]
>ORG; [loop-data catalogreq institut]
>TITLE; [loop-data catalogreq title]
>NOTE; ENCODING=QUOTED PRINTABLE: [loop-data catalogreq notes]=0D=0A
>TEL;WORK;VOICE: [loop-data catalogreq phone1]
>TEL;WORK;FAX: [loop-data catalogreq fax]
>ADR;WORK:;;[loop-data catalogreq address1];[loop-data catalogreq
>city];[loop-data catalogreq state] [loop-data catalogreq zip];;[loop-data
>catalogreq country]
>LABEL;WORK;ENCODING=QUOTED-PRINTABLE:[loop-data catalogreq
>address1]=0D=0A[loop-data catalogreq city], [loop-data catalogreq state]
>[loop-data catalogreq zip]=0D=0A[loop-data country]
>URL:<LINK TYPE='GENERIC" VALUE="HTTP://[loop-data catalogreq
>website]">HTTP://[loop-data catalogreq website]</LINK>
>EMAIL; PREF; INTERNET:[loop-data catalogreq email]
>REV;VALUE DATE]
>END:VCARD
>
>[/loop]
>
>Is what I want to happen is the user clicks on the "download vcard file"
and
>the vcard is downloaded with all the user information it. I believe that
>this is a much faster way of transfer user information then the marketing
>department would be able to email from the client app.
>
>The output that I'm getting is [loop-data catreq...] in the fields.
Obviosly
>the data isn't getting filed in before download. Any Info would help
>
>THX N ADV.
>J. Scott Andreas :)
It looks like deliver does not parse the contents of the file - it just
sends to to the requestor. Makes sense when you think about it; it would
not do to have IC trying to parse binaries and the like.
I suggest you first parse the vcard template and save the results to a
temporary file (hint: [log] with interpolate=1 option) - the session ID
could be used for the source file name. Then deliver that file, and
periodically delete the temporary files with a cron job, or you could use
unlink in a usertag or in [perl global=1].
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jim Webster)
Date: Tue Oct 23 15:37:01 2001
Subject: [ic] Question
1st of.. THANKS to everyone who helps me, this board is awesome!
Question: How can I have orders sent to (2) email addresses?
example: orders@... and shipping@...
I tried using a semi-colon: orders@...com; shipping@...com. Similiar to
regular email format. Did not work.
Jim.
From: interchange-users at interchange.redhat.com (Jim Webster)
Date: Tue Oct 23 15:50:01 2001
Subject: [ic] NO MAKING FUN FOR THIS QUESTION!
God I feel like a moron, I know 80% of IC by now.
I've done it several times in that past and it just flat escapes my mind but
here it goes:
I'm using the Foundation Template on one of my sites. Where do I change the
image directory from interchange/en_US to cart/images?
It's been a long 24 hours to say the least...........................
Thx.
Jim.
From: interchange-users at interchange.redhat.com (Jason Kohles)
Date: Tue Oct 23 15:53:00 2001
Subject: [ic] Question
On Tue, Oct 23, 2001 at 12:38:34PM -0700, Jim Webster wrote:
> 1st of.. THANKS to everyone who helps me, this board is awesome!
>
> Question: How can I have orders sent to (2) email addresses?
> example: orders@... and shipping@...
> I tried using a semi-colon: orders@...com; shipping@...com. Similiar to
> regular email format. Did not work.
>
A semi-colon is microsoft exchange format, regular email format would be a
comma, which should work here...
--
Red Hat Professional Consulting Jason Kohles
(703)786-8036 (cellular) jkohles@redhat.com
From: interchange-users at interchange.redhat.com (Jeff Carnahan)
Date: Tue Oct 23 15:57:01 2001
Subject: [ic] Question (orders to two email addresses?)
} Question: How can I have orders sent to (2) email addresses?
}
} example: orders@... and shipping@...
}
} I tried using a semi-colon: orders@...com; shipping@...com. Similiar to
} regular email format. Did not work.
}
A comma will work. However, if you're changing this directly in catalog.cfg,
I've had to quote the e-mail addresses in the past as follows:
Variable ORDERS_TO "joe@smith.com, jane@smith.com"
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at interchange.redhat.com (Rene Hertell)
Date: Tue Oct 23 16:19:00 2001
Subject: [ic] downloading a file that has values passed to it
> Here is what I'm trying to do....
>
> >From behind the UI I've added a link on the customer_view page the
> properties are
>
> [calc]
> $Scratch->{mv_deliver} .= 'backup/vcard.vcf';
> return;
> [/calc]
>
> with
>
> [page href="ui/backup/vcard.vcf"
> form="
> customer=[cgi customer]
> mv_data_file=backup/vcard.vcf
> mv_todo=deliver"
>
> ]Download vcard file</a>
[snip]
Hi Andreas,
If I understood you correct, you want that the vcard should be downloaded.
This is what I think is the easiest way:
1) Create a vard.vcf.html page (with this wired extension) and place it in
pages/admin under your catalog page.
2) Add this line to the top of that file: [tag op=header
interpolate=1]Content-Type: text/plain[/tag]
3) create your vcard-layout there
4) make your link to that page mentioned in 1)
My link looks like this:
[set mv_add_dot_html]0[/set]
[page test/vcard.vcf]Get this vcard[/page]
[set mv_add_dot_html]1[/set]
That's it. You can try it yourself at
http://www.nettitarjous.net/index.cgi/test/vcard_test
René
From: interchange-users at interchange.redhat.com (Curt Hauge)
Date: Tue Oct 23 18:06:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
Hello Interchange gurus,
After making a *small* tip to the tip jar ;) I am making another attempt
(begging for help) to figure out the table-organize tag (per my original
request below).
Mike Heins responded below, and per Mikes reply, I have since tried using
interpolate=1 like this:
[table-organize
interpolate=1
cols=3
pretty=1
...etc
I am a little unclear as to what needs to be added to interchange.cfg. So I
changed interchange.cfg to:
UserTag table-organize Order cols ==> EOR
UserTag table_organize HasEndTag
UserTag table_organize Interpolate
I even added the whole table-organize routine to interchange.cfg without
luck. There are no errors in the error logs, but I still get no output
(other than 'top', 'left', and 'bottom' panels). This looks like it should
be a no-brainer! More info below.
I have read the docs on IC tag syntax. I understand I am using a container
tag and need interpolate=1 and an end tag. I have searched the archives for
table-organize and interpolate (and grepped for the same). I am using the
example from the table-organize usertag itself (though it did not mention
using interpolate). Details of my original request are below.
I hope someone can open my eyes! Thanks in advance!
Curt Hauge
Quoting Curt Hauge (chc@mninter.net):
> IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
>
> Hi everyone,
>
> I am trying to learn how to use the usertag table-organize within the
> tutorial. I wish to create multiple columns of products with many rows. I
> have copied /usr/lib/interchange/eg/usertag/table_organize to
> /usr/lib/interchange/usertag/table_organize. I have made the following
entry
> into interchange.cfg:
> (I think this could be the problem)
> UserTag table-organize Order cols ==> EOR
>
> and this is my test page:
>
> [include templates/regions/top]
> [include templates/regions/left]
> [table-organize
> cols=3
> pretty=1
> tr.0='bgcolor="#EEEEEE"'
> tr.1='bgcolor="#FFFFFF"'
> td.0='align=right'
> td.1='align=center'
> td.2='align=left'
> ]
> [loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td>
> [/loop]
> [/table-organize]
> [include templates/regions/bottom]
Quoting Mike Heins:
This is one of the cases where you want an interpolate=1 parameter, for
you don't want table-organize to operate on the source of the loop, but
the results of the loop.
From: interchange-users at interchange.redhat.com (Moe Pitman)
Date: Tue Oct 23 18:10:01 2001
Subject: [ic] Help with custom shipping
Help! I have been trying to write a custom shipping formula, wiht no
luck. Here's the info:
products database has an additional field called ship_charge, set to Yes/No
Shipping should be charged at a $3 flat rate per item for thos marked
yes, no shipping charge for those marked no.
How can I look up the ship_charge field from the shipping formula? I'm
stuck, and my boss is getting impatient.
################## In after.cfg:
UserTag bgcalc Order cart
UserTag bgcalc Routine <<EOR
sub{
my ($name) = @_;
my ($cart, $item, $yn);
if($name) {
$cart = $Vend::Session->{carts}{$name};
}
else {
$cart = $Vend::Items;
}
my $charge = 0;
foreach $item (0 .. $#$cart) {
$yn = $cart->[$item]{'ship_charge'};
if($yn =~ /Yes/i) {
$charge++;
}
}
return $charge;
}
EOR
################# In shipping.asc:
bgship Standard [bgship] 0 0 0
{'Price Divide' => "1",}
bgship Standard [bgship] 0 999999 f @@TOTAL@@ *
[var SHIP_FLAT_DOM_RATE] {'PriceDivide' => "1",}
#################
Obviously I'm off the mark somewhere, but an afternoon of head-pounding
hasn't shown me the light yet...
Thanks in advance,
--Moe Pitman
Lone Star Internet
From: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Tue Oct 23 18:28:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
>
> Mike Heins responded below, and per Mikes reply, I have since tried using
> interpolate=1 like this:
> [table-organize
> interpolate=1
> cols=3
> pretty=1
> ...etc
Firstly, what do you see in the page? If you see [table-organize] on the
page, interchange is not treating it as a valid usertag.
If you have a valid usertag file in the correct location, and restart ic,
you don't need a reference in the interchange.cfg as well.
Lets make sure ic is has the usertag compiled in before continuing... then
pls provide the complete code for the use of the tag and I'm sure we can get
this fixed.
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 23 18:37:01 2001
Subject: [ic] In Desperate need of a NEW HOST
On Tue, 23 Oct 2001, Anton van de Plas wrote:
AvdP>>If an ISP provides "e-commerce" in its hosting package and uses Interchange
AvdP>>to do so, they should be prepared for the "hosting" price (however low that
AvdP>>is) to make sure that the program is running correctly, especially features
AvdP>>as the PGP and payment gateway. Otherwise you are deceiving customers and
AvdP>>giving the wonderful program of Interchange a bad name. I am not talking
AvdP>>about configuring the store itself. Many ISP's like Korksoft offer
AvdP>>Interchange but it is not working properly or charge extra for e.g. to setup
AvdP>>the PGP or gateway without mentioning this on their website when they sell
AvdP>>the service to you.
If I am reading you right, it sounds like you are expecting the hoster to
provide a merchant account??? That is generally illegal and I was without a
merchant account for 3 years because I processed a charge card transaction
for a friend.
In my experience, most companies that are hosting web pages or providing
co-location services have a standard package, and anything outside of that
is an extra fee.
I host web pages at $15 per month. But if you want me to write the page, or
to correct your mistakes, you are going to have to pay me for my time.
I provide co-location services and will host your server. I'm renting you
physical space and a connection. If you need DNS service, then I need to be
paid to handle it. If you need help in making your server do something
(other than related to the connection) then you need to pay for my
consultation.
And, this is the way that everyone that I know is doing this.
When you are arranging for hosting or co-location, you need to make it clear
before you sign on as to what you are entitled to. If you are going to need
support on IC, or the IC Server, then you need to negotiate that into the
package. If you want them to take care of your domain name registration and
maintenance, then you need to negotiate that.
However, using someone elses SSL server; using someone elses Merchant
Account; using someone elses PGP setup is (in my mind) about like using
their toothbrush!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 23, 2001 at 18:25 PM:
Useless Invention: Waterproof toilet paper.
----------------------------------------------------------------
This Linux System has been up 56 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 23 18:51:01 2001
Subject: [ic] Help with custom shipping
At 05:15 PM 10/23/2001 -0500, you wrote:
>Help! I have been trying to write a custom shipping formula, wiht no
>luck. Here's the info:
>
>products database has an additional field called ship_charge, set to Yes/No
>
>Shipping should be charged at a $3 flat rate per item for thos marked yes,
>no shipping charge for those marked no.
>
>How can I look up the ship_charge field from the shipping formula? I'm
>stuck, and my boss is getting impatient.
>
>################## In after.cfg:
>
>UserTag bgcalc Order cart
>UserTag bgcalc Routine <<EOR
>sub{
> my ($name) = @_;
> my ($cart, $item, $yn);
> if($name) {
> $cart = $Vend::Session->{carts}{$name};
> }
> else {
> $cart = $Vend::Items;
> }
> my $charge = 0;
> foreach $item (0 .. $#$cart) {
> $yn = $cart->[$item]{'ship_charge'};
> if($yn =~ /Yes/i) {
> $charge++;
> }
> }
> return $charge;
>}
>EOR
>
>################# In shipping.asc:
>
>bgship Standard [bgship] 0 0 0
>{'Price Divide' => "1",}
>bgship Standard [bgship] 0 999999 f @@TOTAL@@ * [var
>SHIP_FLAT_DOM_RATE] {'PriceDivide' => "1",}
>
>#################
>
>Obviously I'm off the mark somewhere, but an afternoon of head-pounding
>hasn't shown me the light yet...
>
>Thanks in advance,
>
>--Moe Pitman
>Lone Star Internet
I don't think you need a usertag for this. If you make ship charge a 1/0
field (1 for items to be charged, 0 or blank for those that should not), a
shipmode like this in shipping.asc should work without any other steps
being needed ( -> represents a TAB), after a catalog reconfig:
myflat -> Standard Shipping -> ship_charge -> 0 -> 0 -> e No shipping charge
myflat -> Standard Shipping -> ship_charge -> 0 -> 999999 -> f @@TOTAL@@ *
[var SHIP_FLAT_DOM_RATE]
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Jason Jensen)
Date: Tue Oct 23 18:57:00 2001
Subject: [ic] In Desperate need of a NEW HOST
I know of a good hosting company that will TRY to resolve all IC problems
free of charge as long as it isn't clear cut your own fault. If you can't
get it working they will try to help you out. They are not IC professionals,
but they are helpful.
Jason Jensen
www.digitalomaha.net
----Original Message Follows----
From: Jim Balcom <jim@idk-enterprises.com>
Reply-To: interchange-users@interchange.redhat.com
To: <interchange-users@interchange.redhat.com>
Subject: RE: [ic] In Desperate need of a NEW HOST
Date: Tue, 23 Oct 2001 18:40:22 -0400 (EDT)
MIME-Version: 1.0
Received: from [12.47.124.142] by hotmail.com (3.2) with ESMTP id
MHotMailBD9F3C6B00A1400437120C2F7C8E09300; Tue, 23 Oct 2001 15:38:37 -0700
Received: from interchange.redhat.com (localhost.localdomain [127.0.0.1])by
interchange.redhat.com (8.11.6/8.11.6) with ESMTP id f9NMb8t08717;Tue, 23
Oct 2001 18:37:08 -0400
Received: from hub1.idk-enterprises.com (jim@[63.218.130.10])by
interchange.redhat.com (8.11.6/8.11.6) with ESMTP id f9NMa0t08674for
<interchange-users@interchange.redhat.com>; Tue, 23 Oct 2001 18:36:00 -0400
Received: from localhost (jim@localhost)by hub1.idk-enterprises.com
(8.11.4/8.11.4) with ESMTP id f9NMeM107740for
<interchange-users@interchange.redhat.com>; Tue, 23 Oct 2001 18:40:22 -0400
>From interchange-users-admin@interchange.redhat.com Tue, 23 Oct 2001
15:39:49 -0700
In-Reply-To: <DAEGILCIEGNIJHJOBLJFCEGIDBAA.avdplas@addaction.com>
Message-ID:
<Pine.LNX.4.33.0110231826330.227-100000@hub1.idk-enterprises.com>
Sender: interchange-users-admin@interchange.redhat.com
Errors-To: interchange-users-admin@interchange.redhat.com
X-BeenThere: interchange-users@interchange.redhat.com
X-Mailman-Version: 2.0.6
Precedence: bulk
List-Help:
<mailto:interchange-users-request@interchange.redhat.com?subject=help>
List-Post: <mailto:interchange-users@interchange.redhat.com>
List-Subscribe:
<http://interchange.redhat.com/mailman/listinfo/interchange-users>,<mailto:interchange-users-request@interchange.redhat.com?subject=subscribe>
List-Id: Interchange users discussion (high volume)
<interchange-users.interchange.redhat.com>
List-Unsubscribe:
<http://interchange.redhat.com/mailman/listinfo/interchange-users>,<mailto:interchange-users-request@interchange.redhat.com?subject=unsubscribe>
List-Archive: <http://interchange.redhat.com/pipermail/interchange-users/>
X-Original-Date: Tue, 23 Oct 2001 18:40:22 -0400 (EDT)
On Tue, 23 Oct 2001, Anton van de Plas wrote:
AvdP>>If an ISP provides "e-commerce" in its hosting package and uses
Interchange
AvdP>>to do so, they should be prepared for the "hosting" price (however low
that
AvdP>>is) to make sure that the program is running correctly, especially
features
AvdP>>as the PGP and payment gateway. Otherwise you are deceiving customers
and
AvdP>>giving the wonderful program of Interchange a bad name. I am not
talking
AvdP>>about configuring the store itself. Many ISP's like Korksoft offer
AvdP>>Interchange but it is not working properly or charge extra for e.g. to
setup
AvdP>>the PGP or gateway without mentioning this on their website when they
sell
AvdP>>the service to you.
If I am reading you right, it sounds like you are expecting the hoster to
provide a merchant account??? That is generally illegal and I was without a
merchant account for 3 years because I processed a charge card transaction
for a friend.
In my experience, most companies that are hosting web pages or providing
co-location services have a standard package, and anything outside of that
is an extra fee.
I host web pages at $15 per month. But if you want me to write the page, or
to correct your mistakes, you are going to have to pay me for my time.
I provide co-location services and will host your server. I'm renting you
physical space and a connection. If you need DNS service, then I need to be
paid to handle it. If you need help in making your server do something
(other than related to the connection) then you need to pay for my
consultation.
And, this is the way that everyone that I know is doing this.
When you are arranging for hosting or co-location, you need to make it clear
before you sign on as to what you are entitled to. If you are going to need
support on IC, or the IC Server, then you need to negotiate that into the
package. If you want them to take care of your domain name registration and
maintenance, then you need to negotiate that.
However, using someone elses SSL server; using someone elses Merchant
Account; using someone elses PGP setup is (in my mind) about like using
their toothbrush!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 23, 2001 at 18:25 PM:
Useless Invention: Waterproof toilet paper.
----------------------------------------------------------------
This Linux System has been up 56 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Tue Oct 23 18:59:01 2001
Subject: [ic] downloading a file that has values passed to it
Rene
It works
YOU Rock
IOU a beer :)
Many thanks
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rene
Hertell
Sent: Tuesday, October 23, 2001 1:20 PM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] downloading a file that has values passed to it
> Here is what I'm trying to do....
>
> >From behind the UI I've added a link on the customer_view page the
> properties are
>
> [calc]
> $Scratch->{mv_deliver} .= 'backup/vcard.vcf';
> return;
> [/calc]
>
> with
>
> [page href="ui/backup/vcard.vcf"
> form="
> customer=[cgi customer]
> mv_data_file=backup/vcard.vcf
> mv_todo=deliver"
>
> ]Download vcard file</a>
[snip]
Hi Andreas,
If I understood you correct, you want that the vcard should be downloaded.
This is what I think is the easiest way:
1) Create a vard.vcf.html page (with this wired extension) and place it in
pages/admin under your catalog page.
2) Add this line to the top of that file: [tag op=header
interpolate=1]Content-Type: text/plain[/tag]
3) create your vcard-layout there
4) make your link to that page mentioned in 1)
My link looks like this:
[set mv_add_dot_html]0[/set]
[page test/vcard.vcf]Get this vcard[/page]
[set mv_add_dot_html]1[/set]
That's it. You can try it yourself at
http://www.nettitarjous.net/index.cgi/test/vcard_test
René
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jim Webster)
Date: Tue Oct 23 19:13:00 2001
Subject: [ic] NO ITEM - credit card transaction
Yup its me again...
My client would like customers to be able to pay for ebay auctions on their
site.
As it is now... I have an "item" called ebaypayment. It acts as a gift
certificate, the customer enters their bid amount + shipping charge (they
received all this info in an email prior). The shipping is manually added
by the customer because each ebay item has different weights, etc. Weight
is set to "0" so shipping is not calculated.
The problem is, they are being taxed (if in CA) for the shipping which they
have added to the charge amount.
Currently this "item - ebaypayment" is: Taxable? NO
BUT, tax is STILL calculated. So I need one of the following:
#1. a fix for the current situation
#2. the ability to have customers enter TWO amounts (bid amount) and
(shipping) - tax will only be calculated on (bid amount).
#3. a simple way of processing a card without using an "item"
Thanks for any help...
Jim.
From: interchange-users at interchange.redhat.com (Kyle Cook)
Date: Tue Oct 23 19:19:00 2001
Subject: [ic] Help with custom shipping
At 03:15 PM 10/23/01, you wrote:
>Help! I have been trying to write a custom shipping formula, wiht no
>luck. Here's the info:
>
>products database has an additional field called ship_charge, set to Yes/No
>
>Shipping should be charged at a $3 flat rate per item for thos marked yes,
>no shipping charge for those marked no.
>
>How can I look up the ship_charge field from the shipping formula? I'm
>stuck, and my boss is getting impatient.
>
>################## In after.cfg:
>
>UserTag bgcalc Order cart
>UserTag bgcalc Routine <<EOR
>sub{
> my ($name) = @_;
> my ($cart, $item, $yn);
> if($name) {
> $cart = $Vend::Session->{carts}{$name};
> }
> else {
> $cart = $Vend::Items;
> }
> my $charge = 0;
> foreach $item (0 .. $#$cart) {
> $yn = $cart->[$item]{'ship_charge'};
> if($yn =~ /Yes/i) {
> $charge++;
> }
> }
> return $charge;
>}
>EOR
>
>################# In shipping.asc:
>
>bgship Standard [bgship] 0 0 0
>{'Price Divide' => "1",}
>bgship Standard [bgship] 0 999999 f @@TOTAL@@ * [var
>SHIP_FLAT_DOM_RATE] {'PriceDivide' => "1",}
>
>#################
>
>Obviously I'm off the mark somewhere, but an afternoon of head-pounding
>hasn't shown me the light yet...
>
>Thanks in advance,
>
>--Moe Pitman
>Lone Star Internet
2 things:
1. your usertag is defined as bgcalc, but in shipping.asc you refer to bgship.
2. Maybe this will help, not tested but should show how to get the field
data you need:
UserTag bgcalc Order cart
UserTag bgcalc Routine <<EOR
sub {
my ($name) = @_;
my $cart = ($name) ?
$Vend::Session->{carts}{$name} : $Vend::Items;
return 0 unless $cart; # and or log error...
my $charge = 0;
foreach my $item (@$cart) {
$yn = Vend::Interpolate::tag_data(
'products',
"ship_charge",
$item->{code},);
$charge++ if ($yn =~ /^y/i);
}
return $charge;
}
Good Luck,
Kyle Cook
From: interchange-users at interchange.redhat.com (Corey Gilmore)
Date: Tue Oct 23 19:55:00 2001
Subject: [ic] In Desperate need of a NEW HOST
On Tue, 23 Oct 2001, Jim Balcom wrote:
> If I am reading you right, it sounds like you are expecting the hoster to
> provide a merchant account??? That is generally illegal and I was without a
> merchant account for 3 years because I processed a charge card transaction
> for a friend.
It is illegal to provide one, or illegal to share one (mult. vendors on
one merchant acct)?
I know the latter is true, didn't know that you could not provide/resell
them as well.
From: interchange-users at interchange.redhat.com (Jason Balicki)
Date: Tue Oct 23 20:37:01 2001
Subject: [ic] Changing RPM install hostname...
Ok, I've looked all over and I'm going to continue to look, but I
can't seem to find where I can change the hostname that IC thinks
it is. For example, if I install the foundation store as
test.somedomain.com, get it the way I like it and then want to
take that same machine live by changing the hostname to
www.somedomain.com
(changing the DNS, of course) when I try to connect to IC on www I get
a message "unable to locate test.somedomain.com".
This is, of course, an RPM install of 4.8.2, running on RH 7.1. There
must be some config file that contains this, but I haven't found it --
I ran find on the whole /var/lib/interchange/ directory tree for the
installed
hostname and what I found wasn't it, apparently. I made changes in
whatever I could find and restarted IC, to no avail.
I have a sneaking feeling that it's contained in variable.gdbm, but I
don't
think that gets changed if I restart IC. (I've done an md5sum before
and
after a change to variable.txt and restart of IC, no change.) I'm
missing
something really dumb, I just know it.
Thanks in advance,
BTW: if anyone's keeping score, I figured out the options thing.
--Jason Balicki
Sr. Network Engineer
ASI Computers, Maryland Heights, MO
From: interchange-users at interchange.redhat.com (Jason Balicki)
Date: Tue Oct 23 21:29:00 2001
Subject: [ic] Changing RPM install hostname...
Jason Balicki wrote:
> [Snipped some stuff with me asking about changing the hostname in an RPM
install.]
Sometimes all it takes is to make an idiot out of yourself by mailing
a message to a lot of people.
I found it in the interchange-demo rpm. I'm putting it here so if
someone else needs to find it they can search in the archives:
You can change an RPM install hostname in interchange by doing something
like this:
perl -pi -e "s/$OLD_HOSTNAME/$NEW_HOSTNAME/g" \
/var/lib/interchange/foundation/catalog.cfg \
/var/lib/interchange/foundation/products/*.txt \
/var/lib/interchange/foundation/products/*.asc \
/var/lib/interchange/foundation/config/* \
/var/www/html/foundation/index.html
Yup, ripped right from the rpm, youbetcha.
I haven't tested this yet, but it should work. I think. Don't blame
me if it doesn't. :)
Somehow, I missed the *.asc files when I was trying to change them by
hand.
--Jason Balicki
Sr. Network Engineer
ASI Computers, Maryland Heights, MO
From: interchange-users at interchange.redhat.com (Curt Hauge)
Date: Tue Oct 23 22:56:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
This is a multi-part message in MIME format.
------=_NextPart_000_0004_01C15C0D.22D68960
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Thanks for your response, Jonathan! (kinda long) I'm going bald here...
Quoting Jonathan Clark:
> Firstly, what do you see in the page? If you see [table-organize] on the
> page, interchange is not treating it as a valid usertag.
This basic code:
[include templates/regions/top]
[include templates/regions/left]
[search-region]
<!-- this is where the table should be -->
<table>
[search-list]
[table-organize
interpolate=1
cols=3
pretty=1
tr.0='bgcolor="#EEEEEE"'
tr.1='bgcolor="#FFFFFF"'
td.0='align=right'
td.1='align=center'
td.2='align=left'
]
[loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> [/loop]
[/table-organize]
[/search-list]
</table>
[/search-region]
[include templates/regions/bottom]
Produces this (no ouput to page):
<html>
<head>
<title>The Interchange Test Catalog</title>
</head>
<body>
<div align=center>
<table width="80%" border cellpadding=15>
<tr><td colspan=2 align=center><h1>The Interchange Test
Catalog</h1></td></tr>
<tr>
<td align=center>(left)</td>
<td align=center>
<!-- this is where the table should be -->
<table>
</table>
</td>
</tr>
<tr><td colspan=2 align=center>(bottom)</td></tr>
</table>
</div>
</body>
</html>
This is basicly the example in the documentation, shown below. It does not
show the [table-organize] code or even <table> code, just blank space where
the table should be. It seems to parse the code, but outputs nothing. The
rest of the page output is fine.
> If you have a valid usertag file in the correct location, and restart ic,
> you don't need a reference in the interchange.cfg as well.
OK, I removed all table_organize references in interchange.cfg and I put the
usertag table_organize in /usr/lib/interchange/usertag, and restarted IC.
> Lets make sure ic is has the usertag compiled in before continuing... then
> pls provide the complete code for the use of the tag
Usage is below, I also attached the full tag routine:
UserTag table-organize Documentation <<EOD
=head2 table-organize
usage: [table-organize <options>]
[loop ....] <td> [loop-tags] </td> [/loop]
[/table-organize]
Takes an unorganized set of table cells and organizes them into
rows based on the number of columns; it will also break them into
separate tables.
If the number of cells are not on an even modulus of the number of columns,
then "filler" cells are pushed on.
Parameters:
=over 4
=item cols (or columns)
Number of columns. This argument defaults to 2 if not present.
=item rows
Optional number of rows. Implies "table" parameter.
=item table
If present, will cause a surrounding <TABLE > </TABLE> pair with the
attributes
specified in this option.
=item caption
Table <CAPTION> container text, if any. Can be an array.
=item td
Attributes for table cells. Can be an array.
=item tr
Attributes for table rows. Can be an array.
=item pretty
Adds newline and tab characters to provide some reasonable indenting.
=item filler
Contents to place in empty cells put on as filler. Defaults to C< >.
=item limit
Maximum number of cells to use. Truncates extra cells silently.
=back
The C<tr>, C<td>, and C<caption> attributes can be specified with indexes;
if they are, then they will alternate according to the modulus.
The C<td> option array size should probably always equal the number of
columns;
if it is bigger, then trailing elements are ignored. If it is smaller, no
attribute
is used.
For example, to produce a table that 1) alternates rows with background
colors C<#EEEEEE> and C<#FFFFFF>, and 2) aligns the columns RIGHT CENTER
LEFT, do:
[table-organize
cols=3
pretty=1
tr.0='bgcolor="#EEEEEE"'
tr.1='bgcolor="#FFFFFF"'
td.0='align=right'
td.1='align=center'
td.2='align=left'
]
[loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> [/loop]
[/table-organize]
which will produce:
<tr bgcolor="#EEEEEE">
<td align=right>1</td>
<td align=center>2</td>
<td align=left>3</td>
</tr>
<tr bgcolor="#FFFFFF">
<td align=right>1a</td>
<td align=center>2a</td>
<td align=left>3a</td>
</tr>
<tr bgcolor="#EEEEEE">
<td align=right>1b</td>
<td align=center> </td>
<td align=left> </td>
</tr>
See the source for more ideas on how to extend this tag.
EOD
------=_NextPart_000_0004_01C15C0D.22D68960
Content-Type: application/octet-stream;
name="table_organize"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="table_organize"
UserTag table-organize Documentation <<EOD
=3Dhead2 table-organize
usage: [table-organize <options>]
[loop ....] <td> [loop-tags] </td> [/loop]
[/table-organize]
Takes an unorganized set of table cells and organizes them into
rows based on the number of columns; it will also break them into
separate tables.
If the number of cells are not on an even modulus of the number of =
columns,
then "filler" cells are pushed on.
Parameters:
=3Dover 4
=3Ditem cols (or columns)
Number of columns. This argument defaults to 2 if not present.
=3Ditem rows
Optional number of rows. Implies "table" parameter.
=3Ditem table
If present, will cause a surrounding <TABLE > </TABLE> pair with the =
attributes
specified in this option.
=3Ditem caption
Table <CAPTION> container text, if any. Can be an array.
=3Ditem td
Attributes for table cells. Can be an array.
=3Ditem tr
Attributes for table rows. Can be an array.
=3Ditem pretty
Adds newline and tab characters to provide some reasonable indenting.
=3Ditem filler
Contents to place in empty cells put on as filler. Defaults to =
C< >.
=3Ditem limit
Maximum number of cells to use. Truncates extra cells silently.
=3Dback
The C<tr>, C<td>, and C<caption> attributes can be specified with =
indexes;
if they are, then they will alternate according to the modulus.
The C<td> option array size should probably always equal the number of =
columns;
if it is bigger, then trailing elements are ignored. If it is smaller, =
no attribute
is used.
For example, to produce a table that 1) alternates rows with background
colors C<#EEEEEE> and C<#FFFFFF>, and 2) aligns the columns RIGHT CENTER
LEFT, do:
[table-organize
cols=3D3
pretty=3D1
tr.0=3D'bgcolor=3D"#EEEEEE"'
tr.1=3D'bgcolor=3D"#FFFFFF"'
td.0=3D'align=3Dright'
td.1=3D'align=3Dcenter'
td.2=3D'align=3Dleft'
]
[loop list=3D"1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> =
[/loop]
[/table-organize]
which will produce:
<tr bgcolor=3D"#EEEEEE">
<td align=3Dright>1</td>
<td align=3Dcenter>2</td>
<td align=3Dleft>3</td>
</tr>
<tr bgcolor=3D"#FFFFFF">
<td align=3Dright>1a</td>
<td align=3Dcenter>2a</td>
<td align=3Dleft>3a</td>
</tr>
<tr bgcolor=3D"#EEEEEE">
<td align=3Dright>1b</td>
<td align=3Dcenter> </td>
<td align=3Dleft> </td>
</tr>
See the source for more ideas on how to extend this tag.
EOD
UserTag table-organize Order cols
UserTag table-organize attrAlias columns cols
UserTag table-organize Interpolate
UserTag table-organize addAttr
UserTag table-organize hasEndTag
UserTag table-organize Routine <<EOR
sub {
my ($cols, $opt, $body) =3D @_;
$cols =3D int($cols) || 2;
$body =3D~ s/(.*?)(<td)\b/$2/is;
my $out =3D $1;
$body =3D~ s:(</td>)(?!.*</td>)(.*):$1:is;
my $postamble =3D $2;
my @cells;
push @cells, $1 while $body =3D~ s:(<td\b.*?</td>)::is;
if(int($opt->{limit}) and $opt->{limit} < scalar(@cells) ) {
splice(@cells, $opt->{limit});
}
for(qw/ table/) {
$opt->{$_} =3D defined $opt->{$_} ? " $opt->{$_}" : '';
}
my @td;
if(! $opt->{td}) {
@td =3D '' x $cols;
}
elsif (ref $opt->{td} ) {
@td =3D @{$opt->{td}};
push @td, '' while scalar(@td) < $cols;
}
else {
@td =3D " $opt->{td}" x $cols;
}
my %attr;
for(qw/caption tr/) {
if( ! $opt->{$_} ) {
#do nothing
}
elsif (ref $opt->{$_}) {
$attr{$_} =3D $opt->{$_};
}
else {
$attr{$_} =3D [$opt->{$_}];
}
}
my $pretty =3D $opt->{pretty};
$opt->{td} =3D~ s/^(\S)/ $1/;
$opt->{tr} =3D~ s/^(\S)/ $1/;
my @rest;
my $rows;
my $rmod;
my $tmod =3D 0;
my $total_mod;
$opt->{filler} =3D ' ' if ! defined $opt->{filler};
if($rows =3D int($opt->{rows}) ) {
$total_mod =3D $rows * $cols;
@rest =3D splice(@cells, $total_mod)
if $total_mod < @cells;
$opt->{table} =3D ' ' if ! $opt->{table};
}
my $joiner =3D $pretty ? "\n\t\t" : "";
while(@cells) {
while (scalar(@cells) % $cols) {
push @cells, "<td>$opt->{filler}</td>";
}
#$out .=3D "<!-- starting table tmod=3D$tmod -->";
if($opt->{table}) {
$out .=3D "<table$opt->{table}>";
$out .=3D "\n" if $pretty;
if($opt->{caption}) {
my $idx =3D $tmod % scalar(@{$attr{caption}});
#$out .=3D "<!-- caption index $idx -->";
$out .=3D "\n" if $pretty;
$out .=3D "<CAPTION>" . $attr{caption}[$idx] . "</CAPTION>";
$out .=3D "\n" if $pretty;
}
}
$rmod =3D 0;
while(@cells) {
$out .=3D "\t" if $pretty;
$out .=3D "<tr";
if($opt->{tr}) {
my $idx =3D $rmod % scalar(@{$attr{tr}});
$out .=3D " " . $attr{tr}[$idx];
}
$out .=3D ">";
$out .=3D "\n\t\t" if $pretty;
my @op =3D splice (@cells, 0, $cols);
if($opt->{td}) {
for ( my $i =3D 0; $i < $cols; $i++) {
$op[$i] =3D~ s/(<td)/$1 $td[$i]/i;
}
}
$out .=3D join($joiner, @op);
$out .=3D "\n\t" if $pretty;
$out .=3D "</tr>";
$out .=3D "\n" if $pretty;
$rmod++;
}
if($opt->{table}) {
$out .=3D "</table>";
$out .=3D "\n" if $pretty;
}
if(@rest) {
my $num =3D $total_mod < scalar(@rest) ? $total_mod : scalar(@rest);
@cells =3D splice(@rest, 0, $num);
}
$tmod++;
}
return $out . $postamble;
}
EOR
------=_NextPart_000_0004_01C15C0D.22D68960--
From: interchange-users at interchange.redhat.com (anandha prassanna)
Date: Wed Oct 24 00:23:00 2001
Subject: [ic] Order Number Genaration
Hi All,
When u setup a default catalog
u don't set any rules or script
for generating the order number.
but the default order number
is getting reflected in the
CATROOT/etc/order.number
as TEST0001
Well if i do want to generate my own order
number what r the steps to be performed.
with Regards,
prassy ...
From: interchange-users at interchange.redhat.com (Moe Pitman)
Date: Wed Oct 24 01:01:01 2001
Subject: [ic] Help with custom shipping
Thanks, Kyle! You got me started on the right foot again. Your sample
was close to what I started with, but I wasn't quite there. And I spent
all day working away from it.
Here's what finally did the trick:
### In etc/after.cfg:
UserTag bgcalc Routine <<EOR
sub{
package Vend::Interpolate;
my $cart = $Vend::Items;
my ($yn, $qt);
my $charge = 0;
foreach my $item (@{$cart}) {
$yn = Vend::Interpolate::tag_data('products',
'ship_charge',
$item->{code},);
$qt = $item->{quantity};
$charge += $qt if($yn =~ /^y/i);
}
return $charge;
}
EOR
### In products/shipping.asc:
bgship Standard quantity 0 0 e Nothing to ship!
bgship Standard quantity 0 999999 f [bgcalc] *
[var SHIP_FLAT_DOM_RATE] {'PriceDivide' => "1",}
###
I am still unclear on why the "package Vend::Interpolate;" line is
necessary, but until I added that line (based on a message I dug out of
the archives,
http://interchange.redhat.com/archive/interchange-users/2000/msg09618.html
-- thanks, Joachim!) I was getting shipping rates of around
$400,000,000.00. Not what I was after, and I presume the result of
pulling random data from some undefined space...
If someone can elucidate, please feel free.
Thanks again,
--Moe Pitman
Lone Star Internet
Kyle Cook wrote:
> At 03:15 PM 10/23/01, you wrote:
>
>> Help! I have been trying to write a custom shipping formula, wiht no
>> luck. Here's the info:
>>
>> products database has an additional field called ship_charge, set to
>> Yes/No
>>
>> Shipping should be charged at a $3 flat rate per item for thos marked
>> yes, no shipping charge for those marked no.
>>
>> [snip!]
>
>
> 2 things:
>
> 1. your usertag is defined as bgcalc, but in shipping.asc you refer to
> bgship.
>
> 2. Maybe this will help, not tested but should show how to get the
> field data you need:
>
> UserTag bgcalc Order cart
> UserTag bgcalc Routine <<EOR
> sub {
> my ($name) = @_;
> my $cart = ($name) ?
> $Vend::Session->{carts}{$name} : $Vend::Items;
> return 0 unless $cart; # and or log error...
> my $charge = 0;
> foreach my $item (@$cart) {
> $yn = Vend::Interpolate::tag_data(
> 'products',
> "ship_charge",
> $item->{code},);
> $charge++ if ($yn =~ /^y/i);
> }
> return $charge;
> }
>
> Good Luck,
> Kyle Cook
>
>
>
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (anandha prassanna)
Date: Wed Oct 24 01:09:00 2001
Subject: [ic] Problem in updation of order
Hi all,
Setup a default catalog. fine it's been
working with out a backend.
Now integrated with a backend
database pgsql.
Successfully retrieved the product info
from database and displayed.
Now during checkout we've setup
a minimal info required as that of default catalog.
but there lies a problem in updating the
checkout information in the transaction and orderline
table
I've setup a route just like this
Route default master 1
Route default cascade "log"
Route default empty 1
Route default supplant 1
Route default email '__ORDERS_TO__'
where Route log is
Route log <<EOF
empty 1
encrypt 0
increment 0
report etc/log_transaction
supplant 0
track logs/log
EOF
Setup file in etc/log_transaction where it takes care of
updating the table transaction only now.
It would be better if I know what does [ increment 0 , supplant
0 ]
in the Route log mean . Can anyone plz let me know this ..
with regards,
prassy..........
From: interchange-users at interchange.redhat.com (Ma'rufin, Vidi)
Date: Wed Oct 24 01:44:01 2001
Subject: [ic] Order Number Genaration
I have same question two days agao and mr Curt Hauge helped me...
just change the order.number file to antyhing you want.. like PRASY00001 and
then they will generate PRASY00002 for next order...
hope it helps
-----Original Message-----
From: anandha prassanna [mailto:anandha.prassanna@megasoft.com]
Sent: Monday, September 24, 2001 9:49 PM
To: interchange-users@interchange.redhat.com
Cc: kyle@invisio.com
Subject: [ic] Order Number Genaration
Hi All,
When u setup a default catalog
u don't set any rules or script
for generating the order number.
but the default order number
is getting reflected in the
CATROOT/etc/order.number
as TEST0001
Well if i do want to generate my own order
number what r the steps to be performed.
with Regards,
prassy ...
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (anandha prassanna)
Date: Wed Oct 24 02:02:00 2001
Subject: [ic] Order Number Genaration
Hi Ma'rufin, Vidi ,
Exactly what u r sayinf is right.
But can i have scripts generating a randam order number
and henceforth the order number cannot be easily exploited
by the fraudulent customers.If so how to proceed.
with regards,
prassy..
----- Original Message -----
From: Ma'rufin, Vidi <vidi.nur@acnielsen.com>
To: <interchange-users@interchange.redhat.com>
Cc: <kyle@invisio.com>
Sent: Wednesday, October 24, 2001 12:14 AM
Subject: RE: [ic] Order Number Genaration
> I have same question two days agao and mr Curt Hauge helped me...
>
> just change the order.number file to antyhing you want.. like PRASY00001
and
> then they will generate PRASY00002 for next order...
>
> hope it helps
>
> -----Original Message-----
> From: anandha prassanna [mailto:anandha.prassanna@megasoft.com]
> Sent: Monday, September 24, 2001 9:49 PM
> To: interchange-users@interchange.redhat.com
> Cc: kyle@invisio.com
> Subject: [ic] Order Number Genaration
>
>
> Hi All,
> When u setup a default catalog
> u don't set any rules or script
> for generating the order number.
> but the default order number
> is getting reflected in the
> CATROOT/etc/order.number
> as TEST0001
>
> Well if i do want to generate my own order
> number what r the steps to be performed.
>
> with Regards,
> prassy ...
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Wed Oct 24 02:08:01 2001
Subject: [ic] Removing separate address feature from Foundation
is this feature configureable ? I would like to disable it from
the cart component, but not to remove it. Can this be done ?
I searched in variables.txt for a option to turn it off,
but found nothing.
any help appreciated.
thanks in advance
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Joachim Schubert)
Date: Wed Oct 24 03:22:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
Curt Hauge wrote:
> This basic code:
>
> [include templates/regions/top]
> [include templates/regions/left]
> [search-region]
^^^^^^^^^^^^^^^
> <!-- this is where the table should be -->
> <table>
> [search-list]
^^^^^^^^^^^^^
> [table-organize
> interpolate=1
> cols=3
> pretty=1
> tr.0='bgcolor="#EEEEEE"'
> tr.1='bgcolor="#FFFFFF"'
> td.0='align=right'
> td.1='align=center'
> td.2='align=left'
> ]
> [loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> [/loop]
> [/table-organize]
> [/search-list]
^^^^^^^^^^^^^
> </table>
> [/search-region]
^^^^^^^^^^^^^^^
> [include templates/regions/bottom]
>
Curt,
delete the [search-region] and [search-list] tags and you will be happy.
- Achim -
--
FreibergNet Systemhaus GbR Joachim Schubert
Systemhaus für Daten- und Netzwerktechnik phone +49 3731 781102
D-09599 Freiberg fax +49 3731 781377
Am St. Niclas Schacht 13 http://www.freibergnet.de
From: interchange-users at interchange.redhat.com (Øystein Thune)
Date: Wed Oct 24 04:49:01 2001
Subject: [ic] rounding off product prize
Anyone knows how to round off the product price up to the nearest integer.
Tried to (first attempt) set locale price_picture "##.###,00" in the
catalog.cfg but then ic couldn't calculate price with tax
Any suggestions or do I have to get my sysadmin to come up with a small
hack...?
Regards from Oystein
"soon finished with our first store"
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Wed Oct 24 06:04:01 2001
Subject: [ic] [perl] problem
Hi list
when I use the following code
nothing will be returned:
[set cat_wahl]LiYv[/set]
[scratch cat_wahl]
[perl]
$sql='select distinct q_leiter from products where
category='.$Scratch->{cat_wahl};
$set=$Db{products}->query($sql);
for(@$set) {
$out .= "NAME: $_->[0]<BR>";
}
$out .= "First value: $set->[0][0]<BR>";
return $out;
[/perl]
The strange think is when I change the row return $out; to return $sql;
I can see the correct string:
select distinct q_leiter from products where category=LiYv.
The next code gives me back what I want( but I need the category value to be
changed depending on the cat_wahl variable) :
[perl]
$sql='select distinct q_leiter from products where category="LiYv"';
$set=$Db{products}->query($sql);
for(@$set) {
$out .= "NAME: $_->[0]<BR>";
}
$out .= "First value: $set->[0][0]<BR>";
return $out;
[/perl]
Can someone help me ?
Goetz Verdieck
==============================
Goetz.Verdieck@com4office.de
From: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Wed Oct 24 06:24:01 2001
Subject: [ic] [perl] problem
> [set cat_wahl]LiYv[/set]
> [scratch cat_wahl]
> [perl]
> $sql='select distinct q_leiter from products where
> category='.$Scratch->{cat_wahl};
> $set=$Db{products}->query($sql);
>
> for(@$set) {
> $out .= "NAME: $_->[0]<BR>";
> }
> $out .= "First value: $set->[0][0]<BR>";
> return $out;
> [/perl]
>
> The strange think is when I change the row return $out; to return $sql;
> I can see the correct string:
> select distinct q_leiter from products where category=LiYv.
^ ^
This is not correct, should be:
select distinct q_leiter from products where category='LiYv'
strings must be quoted in SQL.
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (Kevin Walsh)
Date: Wed Oct 24 08:50:00 2001
Subject: [ic] Discounting Entire Orders
> > > Well, take a look at this doc:
> > > http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_24.html
> > >
> > > ..and consider something like this, on ord/checkout.html, top of page:
> > >
> > > [if type=explicit compare="[calc][subtotal noformat=1] > 100[/calc]"]
> > > [discount ENTIRE_ORDER]$s * .9[/discount]
> > > [else]
> > > [discount ENTIRE_ORDER][/discount]
> > > [/else]
> > > [/if]
> > >
> > Oh! Wow! Fan-$#%$&*(&ing-tastic!
> >
> That is VERY valuable! Thanks a whole lot! Just bear in mind that
> does not work in the strictest sense because it
> sets the session permanently. One could set the discount, drop a few
> items, and still have the discount. That might be irrelevant or it
> might not :-) It even gets page dependant, eg they may not have to
> go through checkout once it is filled. I suppose you could simply
> unset it each page and reset; the [else] won't quite do that.
>
Try something like the following code:
[discount ENTIRE_ORDER]
$s > 100 ? $s * 0.9 : $s;
[/discount]
That should set the discount as expected, and should save having to
use hundreds of tags to do it.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
From: interchange-users at interchange.redhat.com (Joel)
Date: Wed Oct 24 09:22:00 2001
Subject: [ic] Languagefile
Hi !
I destroyed my German languagefile, know i need a downloadadress , i uses the
.rpm Version of Interchange and do not now how i can extract one file out of
the .rpm , thats my Problem :( i looking for the file
/usr/lib/interchange/lib/UI/locales/de_DE.cfg .
I changed some things in the file and now the error.log says the following :
- - - [24/Oktober/2001:10:51:33 +0200] - - bad Locale setting in de_DE: {
....the whole file ......
> }
>
> In line 2297 of the configuration file 'lib/UI/locales/de_DE.cfg':
> Locale de_DE <<EOF
what happend ?
mfg. Joel
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 24 09:32:01 2001
Subject: [ic] RPM for Cobalt Cube
Hello,
I´m looking forward installing interchange on my cobalt qube 3. Did anybody got it in the past?
many thanks for help
thomas
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Wed Oct 24 11:36:01 2001
Subject: [ic] In Desperate need of a NEW HOST
try rackspace at of cource www.rackspace.com
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Anton van de Plas
Sent: Tuesday, October 23, 2001 6:50 AM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] In Desperate need of a NEW HOST
Hi, my last word on this subject.
If an ISP provides "e-commerce" in its hosting package and uses Interchange
to do so, they should be prepared for the "hosting" price (however low that
is) to make sure that the program is running correctly, especially features
as the PGP and payment gateway. Otherwise you are deceiving customers and
giving the wonderful program of Interchange a bad name. I am not talking
about configuring the store itself. Many ISP's like Korksoft offer
Interchange but it is not working properly or charge extra for e.g. to setup
the PGP or gateway without mentioning this on their website when they sell
the service to you.
Regards
Anton Vandeplas
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Nathan D. Olmscheid
Sent: Tuesday, October 23, 2001 9:26 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] In Desperate need of a NEW HOST
Thats exactly where I was getting at Doug. You get what you pay for. You do
not
get top technical support when you pay such a nice low price.
Make it a great day
Nathan
Doug Finley wrote:
> As a current Korksoft customer, let me just chime in quickly on this
one...
>
> I get exactly what I pay for!! I pay for a reliable and economical home
for
> my interchange catalog on a high bandwidth network. I don't expect any
more
> or any less than that.
>
> I have a development server running in my local network and I make all
> changes and mods to my catalog on that machine. When it's running the way
I
> want it to, I FTP the appropriate files to the live site. Works smoothly,
> and provides me a place to "play around" without messing up my live site.
>
> I get everything I need from Korksoft in a timely manner, and I let them
> focus on keeping their network running, not holding my hand because I
can't
> figure out how to run IC.
>
> Doug Finley
>
> ----- Original Message -----
> From: Nathan D. Olmscheid <nathan@namisolutions.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Monday, October 22, 2001 12:01 PM
> Subject: Re: [ic] In Desperate need of a NEW HOST
>
> > Just a note about korksoft, with prices like that, you get what you pay
> for!!
> >
> > Nathan
> >
> > Scott Carter wrote:
> >
> > > Hi Aaron,
> > > I will be hosting interchange sites in a couple of months... I
know
> that
> > > doesn't help you now, but I'm going as fast as I can. I want to make
> sure
> > > that my sites are running correctly before I take on the challenge of
> > > helping others. I am more impressed everyday with interchange and
it's
> > > possibilities.
> > > Scott Carter
> > > scott@webmktg.net
> > >
> > > ----- Original Message -----
> > > From: "Anton van de Plas" <avdplas@addaction.com>
> > > To: <interchange-users@interchange.redhat.com>
> > > Sent: Monday, October 22, 2001 10:58 AM
> > > Subject: RE: [ic] In Desperate need of a NEW HOST
> > >
> > > > Hi Aaron,
> > > >
> > > > I had similar problems with Korksoft, cancelled my account after 3
> days
> > > and
> > > > I am still waiting on my money from the money back guarantee.
> > > >
> > > > Contact me directly for the hosting company we use now which is OK.
> > > >
> > > > Anton Vandeplas
> > > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@interchange.redhat.com
> > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > > > Aaron Hazelton
> > > > Sent: Monday, October 22, 2001 10:17 AM
> > > > To: Interchange-Users
> > > > Subject: [ic] In Desperate need of a NEW HOST
> > > >
> > > >
> > > > Hi everybody,
> > > >
> > > > I have had some serious problems for the second time now. I was all
> ready
> > > > to go live with my site and now have to find a new host again. ONE
> THAT
> > > IS
> > > > GOOD AND DEPENDABLE! Can anyone offer me some suggestions again? I
> need
> > > a
> > > > virtual host for my account: fixturefactor.com, and running
> Interchange,
> > > > and a company that will SUPPORT IT, and knows HOW TO WORK WITH IT.
> Im no
> > > > guru by any means, but I had a working catalog in 4.6 and my host
was
> > > > talking about getting rid of Interchange because they were having so
> many
> > > > problems with it. (they didnt really know what they were doing with
> it,
> > > > just had it installed). At someones sincere suggestion, I switched
to
> > > > Korksoft and thought they were going to be really good. I even paid
> for
> > > > them to set up my files (about $250) so that I could be back up
> quicker
> > > and
> > > > they said they would get the ssl set up, gpg, and get the config all
> > > > adjusted for the new catalog. Heres the story: I have never had,
and
> > > still
> > > > dont have Email at all (about 3 weeks). They cant figure it out.
> then
> > > all
> > > > the order section of my site was all screwed up in the admin
backend.
> > > after
> > > > many other problems, about 5 days ago, my site went down completely!
> I
> > > have
> > > > called and emailed repeatedly and got nothing, until last friday
when
> i
> > > get
> > > > an email that says, and I quote, "We dont know what is going on with
> your
> > > > site." AND THATS IT! (thanks a lot!)
> > > >
> > > > Needless to say, it is still down and I still have no other
responses.
> > > Use
> > > > them at your own risk! So if you can help me with someone who
REALLY
> CAN
> > > > host my Interchange catalog for me, please let me know.
> > > >
> > > > many thanks, this is a great board!
> > > >
> > > > Aaron Hazelton
> > > > aaronhaze@hotmail.com
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 24 11:53:00 2001
Subject: [ic] rounding off product prize
At 10:56 AM 10/24/2001 +0200, you wrote:
>Anyone knows how to round off the product price up to the nearest integer.
>
>Tried to (first attempt) set locale price_picture "##.###,00" in the
>catalog.cfg but then ic couldn't calculate price with tax
>
>Any suggestions or do I have to get my sysadmin to come up with a small
>hack...?
>
>Regards from Oystein
What happens if you drop the ',00': price_picture "##.###"?
- Ed L.
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Wed Oct 24 11:56:00 2001
Subject: [ic] Undefined Catalog
I get the following in my error log:
216.111.193.94 - - [24/October/2001:11:42:58 -0400] -
/cgi-bin/basket/index.html CGI mapping error: Undefined catalog:
/cgi-bin/basket at /usr/lib/interchange/lib/Vend/Server.pm line 182.
I have search the archives and after finding some debugging info, I did a
tail -f error.log as I restarted interchange. I get the following:
- - - [24/October/2001:11:49:25 -0400] - - basket config error: Please
specify the MailOrderTo directive in the configuration file ''
>
- - - [24/October/2001:11:49:25 -0400] - - basket: config error. Skipping.
- - - [24/October/2001:11:49:25 -0400] - - START server (11503) (INET and
UNIX)
So I did a "less catalog.cfg" and found that the MailOrderTo is set as:
MailOrderTo __ORDERS_TO__
Ok so I did a "less variable.txt" in the products dir of
/var/lib/interchange/basket. (basket is name of catalog) And got:
ORDERS_TO rick@texol.net Order
First is this right? Second if not what should it be set to? If this is
right what else might be the problem?
I am running redhat 7.1 and Interchange interchange-4.8.2-1 (from rpm).
Thank you for your time,
Rick Eicher II
rick@texol.net
From: interchange-users at interchange.redhat.com (Randy Moore)
Date: Wed Oct 24 12:05:01 2001
Subject: [ic] Undefined Catalog
This is really a permissions problem. Your Interchange daemon does not
have access to your catalog files.
One common fix for this is to edit your servers /etc/group file and add
your interchange user to the group that owns your catalog files.
Additional suggests are available in the list archives.
At 11:01 AM 10/24/2001 -0500, you wrote:
>I get the following in my error log:
>
> 216.111.193.94 - - [24/October/2001:11:42:58 -0400] -
>/cgi-bin/basket/index.html CGI mapping error: Undefined catalog:
>/cgi-bin/basket at /usr/lib/interchange/lib/Vend/Server.pm line 182.
>
>I have search the archives and after finding some debugging info, I did a
>tail -f error.log as I restarted interchange. I get the following:
>
> - - - [24/October/2001:11:49:25 -0400] - - basket config error:
> Please
>specify the MailOrderTo directive in the configuration file ''
> >
> - - - [24/October/2001:11:49:25 -0400] - - basket: config error.
> Skipping.
> - - - [24/October/2001:11:49:25 -0400] - - START server (11503)
> (INET and
>UNIX)
>
>So I did a "less catalog.cfg" and found that the MailOrderTo is set as:
>
>
> MailOrderTo __ORDERS_TO__
>
>
>Ok so I did a "less variable.txt" in the products dir of
>/var/lib/interchange/basket. (basket is name of catalog) And got:
>
> ORDERS_TO rick@texol.net Order
>
>
>First is this right? Second if not what should it be set to? If this is
>right what else might be the problem?
>
>
>I am running redhat 7.1 and Interchange interchange-4.8.2-1 (from rpm).
>
>Thank you for your time,
>Rick Eicher II
>rick@texol.net
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.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: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Wed Oct 24 12:18:01 2001
Subject: [ic] Undefined Catalog
ok thanks.
rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Randy Moore
Sent: Wednesday, October 24, 2001 11:05 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Undefined Catalog
This is really a permissions problem. Your Interchange daemon does not
have access to your catalog files.
One common fix for this is to edit your servers /etc/group file and add
your interchange user to the group that owns your catalog files.
Additional suggests are available in the list archives.
At 11:01 AM 10/24/2001 -0500, you wrote:
>I get the following in my error log:
>
> 216.111.193.94 - - [24/October/2001:11:42:58 -0400] -
>/cgi-bin/basket/index.html CGI mapping error: Undefined catalog:
>/cgi-bin/basket at /usr/lib/interchange/lib/Vend/Server.pm line 182.
>
>I have search the archives and after finding some debugging info, I did a
>tail -f error.log as I restarted interchange. I get the following:
>
> - - - [24/October/2001:11:49:25 -0400] - - basket config error:
> Please
>specify the MailOrderTo directive in the configuration file ''
> >
> - - - [24/October/2001:11:49:25 -0400] - - basket: config error.
> Skipping.
> - - - [24/October/2001:11:49:25 -0400] - - START server (11503)
> (INET and
>UNIX)
>
>So I did a "less catalog.cfg" and found that the MailOrderTo is set as:
>
>
> MailOrderTo __ORDERS_TO__
>
>
>Ok so I did a "less variable.txt" in the products dir of
>/var/lib/interchange/basket. (basket is name of catalog) And got:
>
> ORDERS_TO rick@texol.net Order
>
>
>First is this right? Second if not what should it be set to? If this is
>right what else might be the problem?
>
>
>I am running redhat 7.1 and Interchange interchange-4.8.2-1 (from rpm).
>
>Thank you for your time,
>Rick Eicher II
>rick@texol.net
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
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@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 24 12:34:01 2001
Subject: [ic] Languagefile
Joel <interchange@joelh.de> writes:
> Hi !
>
> I destroyed my German languagefile, know i need a downloadadress , i uses the
> .rpm Version of Interchange and do not now how i can extract one file out of
> the .rpm , thats my Problem :( i looking for the file
> /usr/lib/interchange/lib/UI/locales/de_DE.cfg .
man rpm2cpio
man cpio
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Viktors Rotanovs)
Date: Wed Oct 24 13:22:01 2001
Subject: [ic] scratch + filter doesn't work?
Hello,
here's ITL code that shows the problem (or a feature?)
It's late<br>
[filter sql]It's late[/filter]<br>
[set late]It's late[/set]
[scratch filter=sql name=late]<br>
[filter sql][scratch late][/filter]<br>
It produces the following output:
It's late
It''s late
It's late
It's late
Is this how Interchange is supposed to filter data (especially in the last
case)?
It's 4.8.2 installed from RPMs on RedHat 7.1 with Perl 5.6.
Best Wishes,
Viktors Rotanovs
E-Commerce Since 1995
http://www.rotanovs.com/
From: interchange-users at interchange.redhat.com (David Berry)
Date: Wed Oct 24 15:15:00 2001
Subject: [ic] Dynamic Locales & moving menus
Hi All
I've spent close on 3 days trying to solve these problems with little success.
1) allowing the customer to select his/her locale of choice.
I can do it by manually placing by [setlocale en_US] at the top of the
templates, but can't find a way of doing it dynamically. The problem is I'm
new to both perl & IC ... changing variables is ok, but passing them, or
storing and retrieving them is proving problematic.
I'd like to use a few flags and let the customer click on them to choose.
I've tried <a href ...></a>, [bar-button][/bar-button, etc. but can't get the
values passed.
2) I've got over 50 items in my menu (too much to expect customers to read
through) so, I would like a way of showing just the area items, and when
selected, to expand to show the category items.
I suspect that I need to use javascript here (not too much of a problem) but
I'd rather not introduce another scripting language if it can be done with
perl or IC tags.
The first problem is so basic that your probably laughing by now, but believe
me, I'm at the crying stage.
Plz ... help!
dave
djberry@iname.com
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Wed Oct 24 16:13:01 2001
Subject: [ic] Dynamic Locales & moving menus
David Berry wrote:
>
> Hi All
>
> I've spent close on 3 days trying to solve these problems with little success.
>
> 1) allowing the customer to select his/her locale of choice.
>
> I can do it by manually placing by [setlocale en_US] at the top of the
> templates, but can't find a way of doing it dynamically. The problem is I'm
> new to both perl & IC ... changing variables is ok, but passing them, or
> storing and retrieving them is proving problematic.
> I'd like to use a few flags and let the customer click on them to choose.
> I've tried <a href ...></a>, [bar-button][/bar-button, etc. but can't get the
> values passed.
Do you mean something like
http://www.intos.de/cgi-bin/ieos/process/locale/eur_EUR/page/start.html
and
http://www.intos.de/cgi-bin/ieos/process/locale/de_DE/page/start.html
(see the price format in that pages)
?
> 2) I've got over 50 items in my menu (too much to expect customers to read
[snip]
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Todd L. Cawthron)
Date: Wed Oct 24 17:26:01 2001
Subject: [ic] Flypage, multiple product tables, and [item-field]
To begin with, I am using Interchange 4.8.2 with Sybase 11 on Red Hat Linux
7.
I am trying to build on-the-fly pages using multiple "product" tables and
multiple flypage templates. PageSelectField is set in catalog.cfg to the
name of the column (its the same column in all product tables) that contains
the name of the template to use. On my template pages, I have a number of
[item-field fieldname] tags.
In short, pages are not being displayed as expected (the page is displayed,
but only one [item-field...] value is output) when I have multiple tables
listed as ProductFiles, but they do display properly if only one table is
listed in the ProductFiles directive.
Here are the gory details...
SCENARIO ONE: One product table
My catalog.cfg looks like this:
ProductFiles product_view_web
PageSelectField web_template
When I enter a URL with a valid code in my browser, I get the correct page
with the correct template. The value of each arbitrary field (where a value
exists) is displayed as it should in place of the [item-field fieldname]
tags. Everything works as expected when I look at different product codes
or use a different template.
SCENARIO TWO: Multiple product tables
My catalog.cfg looks like this:
ProductFiles product_view_web content_view_web
PageSelectField web_template
When I enter a URL with a valid code in my browser, I get the correct page
with the correct template. This part works great no matter which table is
being accessed or which template is being used. However, only the first
[item-field fieldname] tag is displaying any data. None of the other
[item-field...] tags are resulting in any data from the database. I can
change the field that is being accessed in the first tag and can
successfully display any field in the database as long as it is the first
[item-field...] tag. The other [item-field...] tags in the template are
ignored completely (not entirely true, they are apparently interpolated to
some extent because they have been removed in the resulting HTML page).
This behavior is the same no matter which template is being used, which
table is being accessed, or which fields are set to be displayed.
If I remove either of the tables from the ProductFiles directive, everything
works great and all fields are displayed. It does not matter which
"product" table is specified as long as there is only one.
If I use [item-data db field] instead of [item-field field] then everything
works fine, even if multiple tables are listed as ProductFiles. The
downsides of this include the need to create a template for each product
table and that the name of the database gets mixed up in the design of the
page instead of being abstracted.
Has anybody run into this problem before and, more importantly, does anybody
have any suggestions to fix it?
Todd Cawthron
From: interchange-users at interchange.redhat.com (Curt Hauge)
Date: Wed Oct 24 17:36:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
Quoting Joachim Schubert
> Curt Hauge wrote:
>
> > This basic code:
> >
> > [include templates/regions/top]
> > [include templates/regions/left]
> > [search-region]
> ^^^^^^^^^^^^^^^
> > <!-- this is where the table should be -->
> > <table>
> > [search-list]
> ^^^^^^^^^^^^^
> > [table-organize
> > interpolate=1
> > cols=3
> > pretty=1
> > tr.0='bgcolor="#EEEEEE"'
> > tr.1='bgcolor="#FFFFFF"'
> > td.0='align=right'
> > td.1='align=center'
> > td.2='align=left'
> > ]
> > [loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> [/loop]
> > [/table-organize]
> > [/search-list]
> ^^^^^^^^^^^^^
> > </table>
> > [/search-region]
> ^^^^^^^^^^^^^^^
> > [include templates/regions/bottom]
> >
>
> Curt,
>
> delete the [search-region] and [search-list] tags and you will be happy.
I have tried that, and it produces a 500 Internal Server Error...No error
messages in cat, interchange, or apache error logs. I again just tried
copying the whole usertag into interchange.cfg just below
#### Now including individual usertag files
#include usertag/*
(table_organize routine)
and restarting - same 500 error. It seems the [table-organize] routine is
not being found or is not working (gosh I hate to say that when it is
probably some error on my part). I tried various things, with/wo
interpolate=1, etc. I have several cats live and running without problems,
so I am sure my install is OK. I have the file table_organize in
/usr/lib/interchange/usertag. Permissions and ownership are OK. Anyone have
any other ideas? This seems like it should be so simple. Is there another
way to display 'products' in multiple columns and rows?
Thanks again!
Curt
From: interchange-users at interchange.redhat.com (Fiber Connect)
Date: Wed Oct 24 17:51:01 2001
Subject: [ic] Different Shipping Addresses
Hi All,
Iam sorry for being so broad in my previous mail.
Actually i want to know how data is maintained in the two tables namely
Transactions and Orderline and relations it has :-
Assuming a consumer Mr.C buys two products namely
1. TV and
2 WASHING MACHINE .
Now both these products can be shipped to two different people. Lets say
TV shipped to Mr.X in California and
WASHING MACHINE shipped to Mr. Y at Virginia.
Now i want to know how and where each of these details shall be stored from
a DB Perspective.
I tried to create few sample orders and see the results but i couldn't find
any relavant info.
Entry in ORDERLINE is :
==================
code Order_number Sku Qty
Price
TEST01-1 TEST01 TV 1
500
TEST01-2 TEST01 WASHING M/c 1 500
Entry in TRANSACTION is :
====================
Code Order_number fname lname address
b_address
TEST01 TEST01
The problem that i face here is that at checkout page the shipping and
address details are required to be
entered alongwith the CREDIT CARD No. (Hope u ppl get which page i refer to)
It has been constrained as mandatory to give a shipping address at the
checkout page.
Now my cart contains 2 items to be shipped to 2 different people i cannot
specify any one person's address.
How does IC handle this ?
Moreover the transactions table holds fields namely ADDRESS and b_address
I dont know the purpose of the same ?
Can someone tell me how this can be tackled ?
Am i still not clear ?
Plz do specify iam willing to give more details.
Regards
Bv :-)
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 24 18:08:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
At 04:33 PM 10/24/2001 -0500, you wrote:
>Quoting Joachim Schubert
>
> > Curt Hauge wrote:
> >
> > > This basic code:
> > >
> > > [include templates/regions/top]
> > > [include templates/regions/left]
> > > [search-region]
> > ^^^^^^^^^^^^^^^
> > > <!-- this is where the table should be -->
> > > <table>
> > > [search-list]
> > ^^^^^^^^^^^^^
> > > [table-organize
> > > interpolate=1
> > > cols=3
> > > pretty=1
> > > tr.0='bgcolor="#EEEEEE"'
> > > tr.1='bgcolor="#FFFFFF"'
> > > td.0='align=right'
> > > td.1='align=center'
> > > td.2='align=left'
> > > ]
> > > [loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> [/loop]
> > > [/table-organize]
> > > [/search-list]
> > ^^^^^^^^^^^^^
> > > </table>
> > > [/search-region]
> > ^^^^^^^^^^^^^^^
> > > [include templates/regions/bottom]
> > >
> >
> > Curt,
> >
> > delete the [search-region] and [search-list] tags and you will be happy.
>
>I have tried that, and it produces a 500 Internal Server Error...No error
>messages in cat, interchange, or apache error logs. I again just tried
>copying the whole usertag into interchange.cfg just below
>
>#### Now including individual usertag files
>
>#include usertag/*
>
>(table_organize routine)
>
>and restarting - same 500 error. It seems the [table-organize] routine is
>not being found or is not working (gosh I hate to say that when it is
>probably some error on my part). I tried various things, with/wo
>interpolate=1, etc. I have several cats live and running without problems,
>so I am sure my install is OK. I have the file table_organize in
>/usr/lib/interchange/usertag. Permissions and ownership are OK. Anyone have
>any other ideas? This seems like it should be so simple. Is there another
>way to display 'products' in multiple columns and rows?
>
>Thanks again!
>
>Curt
I'm not sure where you have gone wrong here but I suggest you start from
scratch to find out. Assuming you are using the latest version of IC, the
table-organize tag appears to work fine - this small sample, mostly from
the POD in the tag itself, produces the expected output:
<html>
<head></head>
<body>
<table width=30%>
[table-organize
cols=3
pretty=1
tr.0='bgcolor="#EEEEEE"'
tr.1='bgcolor="#FFFFFF"'
td.0='align=right'
td.1='align=center'
td.2='align=left'
]
[loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> [/loop]
[/table-organize]
</table>
</body>
</html>
...if you past this into an otherwise empty test.html page in your
catalog's pages directory and pull it up in your browser you should see a
small table (I do). If not, something is amiss with your IC installation.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (joseph)
Date: Wed Oct 24 18:25:00 2001
Subject: [ic] admin passwd corruption
Hello, I have a system Running Interchange 4.8.2 RedHat 7.1 and power
was lost to it, unfortunately we had nol UPS. When it came back up the
username and passwd for admin did not work. The logs show before and
after a 2 hour time frame of the system going down that as soon as it
came back up the admin login failed. From what I understand - The
access.gdbm file contains this info and I've tried using the update
command in the bin of interchange but the dirtections for using it are
sparse. Basically, how can one put in admin accounts from the command
lie rather that the /admin.html page.
Any help is greatly appreciated.
Interchange is awesome. Thanks goes out to the Red Hat Interchange
Development team.
Joseph Maturus
World Executable
From: interchange-users at interchange.redhat.com (Daniel Roulliere)
Date: Wed Oct 24 18:39:01 2001
Subject: [ic] TAB in a shell script
Hi,
I have a little problem with a shell script which makes a record with
the datas of my payment organism.
I want fields separated by a TAB :
echo $catalog TAB $certificate TAB $authorisation TAB ..... >> $output
what is used for TAB ?
I try to put \t , '\t' , "\t" unsuccessfully !
Thanks
Daniel.
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 24 18:53:00 2001
Subject: [ic] using Usertag table-organize example displays nothing
At 03:08 PM 10/24/2001 -0700, you wrote:
>At 04:33 PM 10/24/2001 -0500, you wrote:
>>Quoting Joachim Schubert
>>
>> > Curt Hauge wrote:
>> >
>> > > This basic code:
>> > >
>> > > [include templates/regions/top]
>> > > [include templates/regions/left]
>> > > [search-region]
>> > ^^^^^^^^^^^^^^^
>> > > <!-- this is where the table should be -->
>> > > <table>
>> > > [search-list]
>> > ^^^^^^^^^^^^^
>> > > [table-organize
>> > > interpolate=1
>> > > cols=3
>> > > pretty=1
>> > > tr.0='bgcolor="#EEEEEE"'
>> > > tr.1='bgcolor="#FFFFFF"'
>> > > td.0='align=right'
>> > > td.1='align=center'
>> > > td.2='align=left'
>> > > ]
>> > > [loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> [/loop]
>> > > [/table-organize]
>> > > [/search-list]
>> > ^^^^^^^^^^^^^
>> > > </table>
>> > > [/search-region]
>> > ^^^^^^^^^^^^^^^
>> > > [include templates/regions/bottom]
>> > >
>> >
>> > Curt,
>> >
>> > delete the [search-region] and [search-list] tags and you will be happy.
>>
>>I have tried that, and it produces a 500 Internal Server Error...No error
>>messages in cat, interchange, or apache error logs. I again just tried
>>copying the whole usertag into interchange.cfg just below
>>
>>#### Now including individual usertag files
>>
>>#include usertag/*
>>
>>(table_organize routine)
>>
>>and restarting - same 500 error. It seems the [table-organize] routine is
>>not being found or is not working (gosh I hate to say that when it is
>>probably some error on my part). I tried various things, with/wo
>>interpolate=1, etc. I have several cats live and running without problems,
>>so I am sure my install is OK. I have the file table_organize in
>>/usr/lib/interchange/usertag. Permissions and ownership are OK. Anyone have
>>any other ideas? This seems like it should be so simple. Is there another
>>way to display 'products' in multiple columns and rows?
>>
>>Thanks again!
>>
>>Curt
>
>I'm not sure where you have gone wrong here but I suggest you start from
>scratch to find out. Assuming you are using the latest version of IC, the
>table-organize tag appears to work fine - this small sample, mostly from
>the POD in the tag itself, produces the expected output:
>
>[table-organize cols=3 pretty=1 tr.0='bgcolor="#EEEEEE"'
>tr.1='bgcolor="#FFFFFF"' td.0='align=right' td.1='align=center'
>td.2='align=left' ] [loop list="1 2 3 1a 2a 3a 1b"] [loop-code] [/loop]
>[/table-organize]
>...if you past this into an otherwise empty test.html page in your
>catalog's pages directory and pull it up in your browser you should see a
>small table (I do). If not, something is amiss with your IC installation.
>
>- Ed L.
Why was all the whitespace stripped out of my post?!? Let's see if it
happens again:
<html>
<head></head>
<body>
<table width=30%>
[table-organize
cols=3
pretty=1
tr.0='bgcolor="#EEEEEE"'
tr.1='bgcolor="#FFFFFF"'
td.0='align=right'
td.1='align=center'
td.2='align=left'
]
[loop list="1 2 3 1a 2a 3a 1b"] <td> [loop-code] </td> [/loop]
[/table-organize]
</table>
</body>
</html>
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 24 18:56:04 2001
Subject: [ic] Different Shipping Addresses
On Wed, Oct 24, 2001 at 10:57:25AM +0530, Fiber Connect wrote:
> Hi All,
> Iam sorry for being so broad in my previous mail.
> Actually i want to know how data is maintained in the two tables namely
> Transactions and Orderline and relations it has :-
> Assuming a consumer Mr.C buys two products namely
> 1. TV and
> 2 WASHING MACHINE .
>
> Now both these products can be shipped to two different people. Lets say
> TV shipped to Mr.X in California and
> WASHING MACHINE shipped to Mr. Y at Virginia.
...
> It has been constrained as mandatory to give a shipping address at the
> checkout page.
> Now my cart contains 2 items to be shipped to 2 different people i cannot
> specify any one person's address.
> How does IC handle this ?
>
> Moreover the transactions table holds fields namely ADDRESS and b_address
>
> I dont know the purpose of the same ?
>
> Can someone tell me how this can be tackled ?
>
There are any number of ways you could do that. You could use
multiple carts or even go as far as assigning the shipping address
as a product attribute in a single cart.
In any case, the store will almost certainly have to split the order up
to fulfill it and track it, so you might as well do that from
the get go. Make it really easy to generate a second order, eg,
order the tv then order the washing machine. You might still
set it up so one order can handle the payment for any number of
others; those would get marked prepaid by that order number.
What is the business logic behind this? Is this a typical order
or a rare exception, etc...?
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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 24 19:01:01 2001
Subject: [ic] TAB in a shell script
On Thu, Oct 25, 2001 at 12:40:39AM -0400, Daniel Roulliere wrote:
> Hi,
> I have a little problem with a shell script which makes a record with
> the datas of my payment organism.
> I want fields separated by a TAB :
>
> echo $catalog TAB $certificate TAB $authorisation TAB ..... >> $output
Quote it.
echo "$catalog TAB $certificate TAB $authorisation TAB ....." >> $output
See also:
printf "foo\tbar\tgletch" >> $output
>
> what is used for TAB ?
> I try to put \t , '\t' , "\t" unsuccessfully !
>
> Thanks
> Daniel.
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 24 19:32:00 2001
Subject: [ic] Different Shipping Addresses
On Wed, 24 Oct 2001, Fiber Connect wrote:
FC>> Iam sorry for being so broad in my previous mail.
FC>>Actually i want to know how data is maintained in the two tables namely
FC>>Transactions and Orderline and relations it has :-
FC>>Assuming a consumer Mr.C buys two products namely
FC>>1. TV and
FC>>2 WASHING MACHINE .
FC>>
FC>>Now both these products can be shipped to two different people. Lets say
FC>>TV shipped to Mr.X in California and
FC>>WASHING MACHINE shipped to Mr. Y at Virginia.
FC>>
FC>>The problem that i face here is that at checkout page the shipping and
FC>>address details are required to be
FC>>entered alongwith the CREDIT CARD No. (Hope u ppl get which page i refer to)
It seems to me that I have answered this before.....
The customer needs to make 2 separate orders when he wants stuff to go to 2
different places.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 24, 2001 at 19:30 PM:
He who don't like cats don't like pets smarter than they.
----------------------------------------------------------------
This Linux System has been up 81 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 24 19:40:01 2001
Subject: [ic] admin passwd corruption
On Wed, 24 Oct 2001, joseph wrote:
j>>Hello, I have a system Running Interchange 4.8.2 RedHat 7.1 and power
j>>was lost to it, unfortunately we had nol UPS. When it came back up the
j>>username and passwd for admin did not work. The logs show before and
j>>after a 2 hour time frame of the system going down that as soon as it
j>>came back up the admin login failed. From what I understand - The
j>>access.gdbm file contains this info and I've tried using the update
j>>command in the bin of interchange but the dirtections for using it are
j>>sparse. Basically, how can one put in admin accounts from the command
j>>lie rather that the /admin.html page.
Delete access.gdbm
Use a command line viewer to look at access.asc, or even better, to edit it.
It appears that you can have the second field blank (the password field) and
it will let you in.
Once access.gdbm is deleted, a new one will be generated from access.asc
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 24, 2001 at 19:35 PM:
God I want patience, and I WANT IT NOW!
----------------------------------------------------------------
This Linux System has been up 81 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 24 19:59:00 2001
Subject: [ic] Discounting Entire Orders
On Wed, 24 Oct 2001, Kevin Walsh wrote:
KW>>Try something like the following code:
KW>>
KW>> [discount ENTIRE_ORDER]
KW>> $s > 100 ? $s * 0.9 : $s;
KW>> [/discount]
KW>>
How can I pass this into etc/report so that when I process the order I know
how much discount they have been promised?
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 24, 2001 at 20:00 PM:
A friend: someone who likes you even after they know you.
----------------------------------------------------------------
This Linux System has been up 82 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Glenn McCalley)
Date: Wed Oct 24 21:01:00 2001
Subject: [ic] Install - Orders/Administration Not Functional
IC 4.8.2 (new install)
FreeBSD 4.0
Apache 1.3.12
Perl 5.6.0
System load is negligible
Hi all, installing IC for the first time (many Minivend stores previously).
Installed the "foundation" store and all went well. Store works, great!,
looks like this will be fun.
On the Admin side of things, the "Orders" button and the "Administration"
button both cause the ever-popular "Premature end of script headers" error.
Neither of the 2 IC error.log files (top level and catalog) have anything
illuminating, and the Apache error log says just the "Premature end...".
All other store and administrative functions seem OK - I've added items,
product categories, placed orders, etc., etc. Suggestions?
TIA!
Glenn.
From: interchange-users at interchange.redhat.com (Dmitry Maksimov)
Date: Thu Oct 25 01:19:00 2001
Subject: [ic] Install - Orders/Administration Not Functional
> IC 4.8.2 (new install)
> FreeBSD 4.0
> Apache 1.3.12
> Perl 5.6.0
> System load is negligible
>
> Hi all, installing IC for the first time (many Minivend stores
previously).
> Installed the "foundation" store and all went well. Store works,
great!,
> looks like this will be fun.
> On the Admin side of things, the "Orders" button and the
"Administration"
> button both cause the ever-popular "Premature end of script headers"
error.
> Neither of the 2 IC error.log files (top level and catalog) have
anything
> illuminating, and the Apache error log says just the "Premature
end...".
>
> All other store and administrative functions seem OK - I've added
items,
> product categories, placed orders, etc., etc. Suggestions?
>
> TIA!
> Glenn.
>
This is an extraction from MiniVend FAQ:
This usually means that your HTTP server ran out of resources during the
execution of the link program. It couldn't create more sockets, is
unable to create a process, or can't open any more files.
This happens especially in frames catalogs, when MiniVend/Interchange is
sending more than one page simultaneously. And even more especially on
FreeBSD and BSDI, which are distributed with the kernel parameters
SOMAXCONN and CHILD_MAX set to levels unsuitable for serving the web.
Regards,
Dmitry
From: interchange-users at interchange.redhat.com (Øystein Thune)
Date: Thu Oct 25 04:04:02 2001
Subject: [ic] rounding off product prize
There was no change. There are still two decimals after the . I really would
like the ,00 - ending. It's a norwegian thing :)
Oystein
(runnning IC 4.8.1)
onsdag 24. oktober 2001, 17:53, skrev du :
> At 10:56 AM 10/24/2001 +0200, you wrote:
> >Anyone knows how to round off the product price up to the nearest integer.
> >
> >Tried to (first attempt) set locale price_picture "##.###,00" in the
> >catalog.cfg but then ic couldn't calculate price with tax
> >
> >Any suggestions or do I have to get my sysadmin to come up with a small
> >hack...?
> >
> >Regards from Oystein
>
> What happens if you drop the ',00': price_picture "##.###"?
>
> - Ed L.
>
>
>
>
>
> New Media E.M.S. Software Solutions for Business
> 463 Main St., Suite D eCommerce | Consulting | Hosting
> Placerville, CA 95667 edl@newmediaems.com
> (530) 622-9421 http://www.newmediaems.com
> (866) 519-4680 Toll-Free (530) 622-9426 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jami)
Date: Thu Oct 25 04:17:01 2001
Subject: [ic] Automatically placing another item in cart when a specific product
We're needing to implement the same functionality for an auto parts
store. In which page do I place these snippets of code? Chris - which
have you found to work the best for 'core charges'? Thanks!
From: interchange-users at interchange.redhat.com (Joel)
Date: Thu Oct 25 04:47:01 2001
Subject: [ic] Problem with makecat and MySQL DB :(
Hi !
I can't create a SQL based Catalog with makecat :( There is a Problem to
create the DB , here is the whole dialog with makecat :
--------------------------------------------
[root@ntweb products]# /usr/lib/interchange/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.
Only the characters [-a-zA-Z0-9_] are allowed, and it is strongly suggested
that the catalog name be all lower case.
If you are doing the demo for the first time, you might use "foundation".
Catalog name? sql6
makecat -- Interchange catalog installation program.
*** We will be making a catalog named 'sql6'. ***
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.
######### 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? ntweb.solution-service.de
# The type of demo catalog to use. The standard one distributed is:
#
# foundation
#
# If you have defined your own custom template catalog,
# you can enter its name.
#
# If you are new to Interchange, use "foundation" to start with.
DemoType? weinshop
# 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? G
# 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 unless G mode was selected above.
#
InterchangeGroup? interch
# 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? interch@ntweb
# 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/sql6
# 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? /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? /cgi-bin/sql6
#
# 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? /sql6
# 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/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/html/sql6
# Where the image files should be copied. A directory path
# name, not a URL.
#
ImageDir? /var/www/html/sql6/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="/foundation/images/icon.gif">
# ^^^^^^^^^^^^^^^^^^
#
ImageUrl? /sql6/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/sql6
mkdir /var/www/html/sql6
mkdir /var/www/html/sql6/images
done.
Copying demo files..........................................found more to ask.
Your company name: ...............................SQL6
You can choose to pre-populate your Foundation template with some
data which might be illustrative. You can always delete it later
and replace it with your own.
The types are:
tools Construct Something, includes products, users, orders
reports Marketing reports, downloadable softgoods, products, users
none No data. Same as leaving blank.
Sample data type?: ...............................tools
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, Oracle, or DB2: ..1
You can select this to use MySQL in your test catalog. Careful!
This requires the ability to create a database named "test_foundation",
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_foundation
DBI DSN to use:
..................................dbi:mysql:test_foundation:localhost:3306
Username for MySQL (if any): .....................interch
Password for MySQL (if any): .....................interch
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 '' 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: ......................-u interch -p interch
You can select this to use PostgreSQL in your test catalog.
This requires the ability to create a database named "test_foundation",
and is highly dependent on your Perl and system configuration. Don't
be too surprised if this doesn't work.
Set to 1 if you want to use PostgreSQL: ..........
You can select this to use Oracle in your test catalog. This requires
that you know your Oracle DSN and that you've already created a user and
tablespace for Interchange. You should also have the environment variables
ORACLE_BASE, ORACLE_HOME, and ORACLE_SID set. Don't be too surprised if
this doesn't work.
Set to 1 if you want to use Oracle: ..............
You can select this to use DB2 in your test catalog. Careful!
This requires the ability to create a database named "intchg",
and is highly dependent on your Perl and DB2 configuration. Don't
be too surprised if this doesn't work.
Set to 1 if you want to use DB2: .................
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: .....interch
Administrative password: .........................pass
Set to 1 to display demo helper features in your store: ..
Found system commands to run.
Since you selected the MySQL option, you need to create a database named
"". In a default MySQL configuration, any user may create
and drop and modify test_* databases, but some administrators disable this.
run "mysqladmin -u -p create"? y
mysqladmin: Too few arguments to create
Command returned error code 1: Datei oder Verzeichnis nicht gefunden
done.
Moving link program to /var/www/cgi-bin/sql6................done.
Copying share/ files to /var/www/html.......................done.
HTML dir copy error: Datei oder Verzeichnis nicht gefunden
Trying to continue.
Moving HTML files to /var/www/html/sql6.....................done.
Image dir copy error: Datei oder Verzeichnis nicht gefunden
Trying to continue.
Moving image files to /var/www/html/sql6/images.............done.
Found additional system commands to run.
We need to make some directories to store sessions, logs, and such.
run "sh
/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/makedirs"? y
/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/makedirs:
/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/makedirs:
Datei oder Verzeichnis nicht gefunden
Command returned error code 127: Datei oder Verzeichnis nicht gefunden
You can install some sample data to start with in this catalog.
This script will install the sample (tools) you selected.
run "sh
/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/installsample"?
n
skipping 'sh
/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/installsample'
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://ntweb.solution-service.de/sql6
In any case, you should get direct access at:
http://ntweb.solution-service.de/cgi-bin/sql6
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@ntweb products]#
----------------------------------------------------------
What is the Problem ? Is there a misstake with
DBI DSN to
use:..................................dbi:mysql:test_foundation:localhost:3306
i do not understand why
Since you selected the MySQL option, you need to create a database named
"". In a default MySQL configuration, any user may create
and drop and modify test_* databases, but some administrators disable this.
run "mysqladmin -u -p create"? y
mysqladmin: Too few arguments to create
there are no arguments in the mysqladmin statement :(
MySQL is running on the standardport 3306 and i created the user interch
with all right .
Thanks for help's
Joel
From: interchange-users at interchange.redhat.com (Lars Oltmanns)
Date: Thu Oct 25 08:07:01 2001
Subject: [ic] Internal Server Error and more
Hi,
I am new to this list and new to Linux. I tried to install Interchange 4.8.2
on SuSE 7.3. Perl, CPAN-Modules, MySQL and Apache is already installed. MySQL
start option is set to "YES" in /etc/rc.config.
I followed the installing instructions and let Interchange configure most
itself. I do not remember any error messages during the installation.
The name of the catalogue is "katalogtest".
If I go to http://linux.local/katalogtest the dialogue with "Customer
Entrance" and "Admin Interface" will appear. Clicking on "Admin Interface"
results the following message:
---
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator,
root@linux.local 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.20 Server at linux.local Port 80
---
Then I tried the following commands in xTerm:
/etc/rc.d/init.d/interchange restart
Message: /etc/rc.d/init.d/interchange: /etc/rc.d/init.d/functions: Datei oder
Verzeichnis nicht gefunden
Then I tried
/usr/local/interchange/bin/restart
Message:
The Interchange server was not running
(/usr/local/interchange/etc/interchange.pid).
Low traffic settings.
Calling UI........UI is loaded...
Interchange .V4.8.2
Configuring catalog katalogtest...Using MySQL,
DSN=dbi:mysql:test_katalogtest...
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'country' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'gift_certs' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'userdb' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'options' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'affiliate' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'cat' failed: connect failed
(create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'pricing' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'state' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'area' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'merchandising' failed:
connect failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'orderline' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'inventory' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'order_returns' failed:
connect failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'transactions' failed:
connect failed (create) -- Unknown database 'test_katalogtest'
>
- - - [25/Oktober/2001:13:45:55 +0200] - - table 'products' failed: connect
failed (create) -- Unknown database 'test_katalogtest'
------------------------------------
What is the mistake I made? May anyone can help me to get the Interchange
Software running? I also never worked with MySQL or any other database,
Apache or Perl. So if I need to modify anything there I appreciate receiving
detailled information about this.
Hoping for any solutions.
Best regards,
Lars
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 25 08:27:00 2001
Subject: [ic] Internal Server Error and more
Lars Oltmanns wrote:
[SNIP]
> Then I tried
>
> /usr/local/interchange/bin/restart
>
> Message:
> The Interchange server was not running
> (/usr/local/interchange/etc/interchange.pid).
> Low traffic settings.
> Calling UI........UI is loaded...
> Interchange .V4.8.2
> Configuring catalog katalogtest...Using MySQL,
> DSN=dbi:mysql:test_katalogtest...
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'country' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
[SNIP]
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'products' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> ------------------------------------
>
> What is the mistake I made? May anyone can help me to get the Interchange
> Software running? I also never worked with MySQL or any other database,
That is the problem! Use MySQL after some experience and training
without IC only and first.
In the meantime, try bin/makecat once more again and set SQL support to
0 instead of 1. Use IC withot SQL at the first time.
That's my 2 pence!
> Apache or Perl. So if I need to modify anything there I appreciate receiving
> detailled information about this.
>
> Hoping for any solutions.
>
> Best regards,
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Thu Oct 25 08:31:01 2001
Subject: [ic] Internal Server Error and more
Lars Oltmanns <larolt@linux> writes:
> Hi,
>
> I am new to this list and new to Linux. I tried to install Interchange 4.8.2
> on SuSE 7.3. Perl, CPAN-Modules, MySQL and Apache is already installed. MySQL
> start option is set to "YES" in /etc/rc.config.
>
> I followed the installing instructions and let Interchange configure most
> itself. I do not remember any error messages during the installation.
>
> The name of the catalogue is "katalogtest".
>
> If I go to http://linux.local/katalogtest the dialogue with "Customer
> Entrance" and "Admin Interface" will appear. Clicking on "Admin Interface"
> results the following message:
[...]
>
> Then I tried
>
> /usr/local/interchange/bin/restart
>
> Message:
> The Interchange server was not running
> (/usr/local/interchange/etc/interchange.pid).
> Low traffic settings.
> Calling UI........UI is loaded...
> Interchange .V4.8.2
> Configuring catalog katalogtest...Using MySQL,
> DSN=dbi:mysql:test_katalogtest...
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'country' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
> >
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'gift_certs' failed: connect
Obviously, there is no MySQL database named test_katalogtest ...
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Administrator)
Date: Thu Oct 25 08:39:01 2001
Subject: [ic] Internal Server Error and more
Dear Mr. Oltmanns,
Besides from using a non routable domain name you are using a name that
belongs to Video Group Distributors Inc. (since 1996). Please seize and
desist using it or we will be forced to take legal actions.
Hopefully you are just unfamiliar with the use of domain names. I recommend
that you register your own domain, or use that of your ISP.
On Thursday 25 October 2001 08:07, you wrote:
> Hi,
>
> I am new to this list and new to Linux. I tried to install Interchange
> 4.8.2 on SuSE 7.3. Perl, CPAN-Modules, MySQL and Apache is already
> installed. MySQL start option is set to "YES" in /etc/rc.config.
>
> I followed the installing instructions and let Interchange configure most
> itself. I do not remember any error messages during the installation.
>
> The name of the catalogue is "katalogtest".
>
> If I go to http://linux.local/katalogtest the dialogue with "Customer
> Entrance" and "Admin Interface" will appear. Clicking on "Admin Interface"
> results the following message:
>
> ---
> Internal Server Error
> The server encountered an internal error or
> misconfiguration and was unable to complete
> your request.
> Please contact the server administrator,
> root@linux.local 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.20 Server at linux.local Port 80
> ---
>
> Then I tried the following commands in xTerm:
>
> /etc/rc.d/init.d/interchange restart
>
> Message: /etc/rc.d/init.d/interchange: /etc/rc.d/init.d/functions: Datei
> oder Verzeichnis nicht gefunden
>
>
> Then I tried
>
> /usr/local/interchange/bin/restart
>
> Message:
> The Interchange server was not running
> (/usr/local/interchange/etc/interchange.pid).
> Low traffic settings.
> Calling UI........UI is loaded...
> Interchange .V4.8.2
> Configuring catalog katalogtest...Using MySQL,
> DSN=dbi:mysql:test_katalogtest...
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'country' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'gift_certs' failed:
> connect failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'userdb' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'options' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'affiliate' failed:
> connect failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'cat' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'pricing' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'state' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'area' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'merchandising' failed:
> connect failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'orderline' failed:
> connect failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'inventory' failed:
> connect failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'order_returns' failed:
> connect failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'transactions' failed:
> connect failed (create) -- Unknown database 'test_katalogtest'
>
> - - - [25/Oktober/2001:13:45:55 +0200] - - table 'products' failed: connect
> failed (create) -- Unknown database 'test_katalogtest'
>
> ------------------------------------
>
> What is the mistake I made? May anyone can help me to get the Interchange
> Software running? I also never worked with MySQL or any other database,
> Apache or Perl. So if I need to modify anything there I appreciate
> receiving detailled information about this.
>
> Hoping for any solutions.
>
> Best regards,
>
> Lars
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
System Administrator
Video Group Distributors, Inc.
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 25 08:48:01 2001
Subject: [ic] Internal Server Error and more
Hi
Looks to me like it's an internal domain.
The word is cease.
You should make threats off list in future
Have a nice day now
Steve
> -----Original Message-----
> From: Administrator [mailto:admin@videogroup.com]
> Sent: Thursday, October 25, 2001 2:43 PM
> To: interchange-users@interchange.redhat.com
> Subject: Re: [ic] Internal Server Error and more
>
>
> Dear Mr. Oltmanns,
>
> Besides from using a non routable domain name you are using a
> name that
> belongs to Video Group Distributors Inc. (since 1996). Please
> seize and
> desist using it or we will be forced to take legal actions.
>
> Hopefully you are just unfamiliar with the use of domain
> names. I recommend
> that you register your own domain, or use that of your ISP.
>
>
> On Thursday 25 October 2001 08:07, you wrote:
> > Hi,
> >
> > I am new to this list and new to Linux. I tried to install
> Interchange
> > 4.8.2 on SuSE 7.3. Perl, CPAN-Modules, MySQL and Apache is already
> > installed. MySQL start option is set to "YES" in /etc/rc.config.
> >
> > I followed the installing instructions and let Interchange
> configure most
> > itself. I do not remember any error messages during the
> installation.
> >
> > The name of the catalogue is "katalogtest".
> >
> > If I go to http://linux.local/katalogtest the dialogue with
> "Customer
> > Entrance" and "Admin Interface" will appear. Clicking on
> "Admin Interface"
> > results the following message:
> >
> > ---
> > Internal Server Error
> > The server encountered an internal error or
> > misconfiguration and was unable to complete
> > your request.
> > Please contact the server administrator,
> > root@linux.local 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.20 Server at linux.local Port 80
> > ---
> >
> > Then I tried the following commands in xTerm:
> >
> > /etc/rc.d/init.d/interchange restart
> >
> > Message: /etc/rc.d/init.d/interchange:
> /etc/rc.d/init.d/functions: Datei
> > oder Verzeichnis nicht gefunden
> >
> >
> > Then I tried
> >
> > /usr/local/interchange/bin/restart
> >
> > Message:
> > The Interchange server was not running
> > (/usr/local/interchange/etc/interchange.pid).
> > Low traffic settings.
> > Calling UI........UI is loaded...
> > Interchange .V4.8.2
> > Configuring catalog katalogtest...Using MySQL,
> > DSN=dbi:mysql:test_katalogtest...
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'country'
> failed: connect
> > failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table
> 'gift_certs' failed:
> > connect failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'userdb'
> failed: connect
> > failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'options'
> failed: connect
> > failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'affiliate' failed:
> > connect failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'cat'
> failed: connect
> > failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'pricing'
> failed: connect
> > failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'state'
> failed: connect
> > failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'area'
> failed: connect
> > failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table
> 'merchandising' failed:
> > connect failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'orderline' failed:
> > connect failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'inventory' failed:
> > connect failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table
> 'order_returns' failed:
> > connect failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table
> 'transactions' failed:
> > connect failed (create) -- Unknown database 'test_katalogtest'
> >
> > - - - [25/Oktober/2001:13:45:55 +0200] - - table 'products'
> failed: connect
> > failed (create) -- Unknown database 'test_katalogtest'
> >
> > ------------------------------------
> >
> > What is the mistake I made? May anyone can help me to get
> the Interchange
> > Software running? I also never worked with MySQL or any
> other database,
> > Apache or Perl. So if I need to modify anything there I appreciate
> > receiving detailled information about this.
> >
> > Hoping for any solutions.
> >
> > Best regards,
> >
> > Lars
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> --
>
> System Administrator
> Video Group Distributors, Inc.
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Glenn McCalley)
Date: Thu Oct 25 09:06:00 2001
Subject: [ic] Install - Orders/Administration Not Functional
Hi, thanks,
Yes I saw that, we had to deal with that for Minivend 3.x on FreeBSD 2.x.
But... CHILD_MAX went away as a kernel option along about FreeBSD
3.something. This is 4.x. In any event 'sysctl kern.maxprocperuid' returns
1043 max processes per user, and this particular machine ran a hugely active
Minivend 3 store earlier this year without indident.
Now, /var/log/messages does show Perl exiting with a dump and signal 11 when
the problem occurs, maybe IC doesn't like 5.6.0?
Still looking, and thanks!
Glenn.
----- Original Message -----
From: Dmitry Maksimov <d_maksimov@mtu-net.ru>
To: <interchange-users@interchange.redhat.com>
Sent: Wednesday, October 24, 2001 10:21 PM
Subject: Re: [ic] Install - Orders/Administration Not Functional
>
> > IC 4.8.2 (new install)
> > FreeBSD 4.0
> > Apache 1.3.12
> > Perl 5.6.0
> > System load is negligible
> >
> > Hi all, installing IC for the first time (many Minivend stores
> previously).
> > Installed the "foundation" store and all went well. Store works,
> great!,
> > looks like this will be fun.
> > On the Admin side of things, the "Orders" button and the
> "Administration"
> > button both cause the ever-popular "Premature end of script headers"
> error.
> > Neither of the 2 IC error.log files (top level and catalog) have
> anything
> > illuminating, and the Apache error log says just the "Premature
> end...".
> >
> > All other store and administrative functions seem OK - I've added
> items,
> > product categories, placed orders, etc., etc. Suggestions?
> >
> > TIA!
> > Glenn.
> >
>
> This is an extraction from MiniVend FAQ:
>
> This usually means that your HTTP server ran out of resources during the
> execution of the link program. It couldn't create more sockets, is
> unable to create a process, or can't open any more files.
>
> This happens especially in frames catalogs, when MiniVend/Interchange is
> sending more than one page simultaneously. And even more especially on
> FreeBSD and BSDI, which are distributed with the kernel parameters
> SOMAXCONN and CHILD_MAX set to levels unsuitable for serving the web.
>
> Regards,
> Dmitry
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 25 09:34:01 2001
Subject: [ic] Install - Orders/Administration Not Functional
Glenn McCalley wrote:
>
> Hi, thanks,
>
> Yes I saw that, we had to deal with that for Minivend 3.x on FreeBSD 2.x.
> But... CHILD_MAX went away as a kernel option along about FreeBSD
> 3.something. This is 4.x. In any event 'sysctl kern.maxprocperuid' returns
> 1043 max processes per user, and this particular machine ran a hugely active
> Minivend 3 store earlier this year without indident.
>
> Now, /var/log/messages does show Perl exiting with a dump and signal 11 when
> the problem occurs, maybe IC doesn't like 5.6.0?
>
> Still looking, and thanks!
> Glenn.
Hmmm...with a fresh IC 4.8.2? Without any modification by you?
At the first time with FreeBSD 4.3, IC crash at the start up. After
editing bin/interchange to
--------- snip ----------
# Here we prepare enter the daemon mode.
# Set the $0 to something not having 'perl' (won't
# work on Solaris and IRIX among possibly others)
if(defined $Global::Variable->{MV_DOLLAR_ZERO}) {
# $0 = $Global::Variable->{MV_DOLLAR_ZERO};
# $0 = "interchange --> $Global::VendRoot"
# if length($0) < 2;
}
else {
# $0 = 'interchange';
}
# We won't have much output on any of this, but if we get some
# we want it immediately
--------- snip ----------
It works well! Did that helps you?
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Glenn McCalley)
Date: Thu Oct 25 10:23:01 2001
Subject: [ic] Install - Orders/Administration Not Functional
Thanks, but that had no effect. Yes, it's a clean 4.8.2 - no mods to the
code. There is nothing else running on this box, no other web sites, just
IC with two catalogs (stock "foundation" and another which is stock
foundation with 2 products added). Both exhibit the same behavior, IC
starts clean, the stores work, just the "orders" and "merchandising" (yes
its merchandising, not administration, sorry) still give Internal Server
Error. Just those functions, everything else is great.
Thanks!
Glenn.
----- Original Message -----
From: Joachim Leidinger <jojo@blackpoint.de>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 25, 2001 6:33 AM
Subject: Re: [ic] Install - Orders/Administration Not Functional
> Glenn McCalley wrote:
> >
> > Hi, thanks,
> >
> > Yes I saw that, we had to deal with that for Minivend 3.x on FreeBSD
2.x.
> > But... CHILD_MAX went away as a kernel option along about FreeBSD
> > 3.something. This is 4.x. In any event 'sysctl kern.maxprocperuid'
returns
> > 1043 max processes per user, and this particular machine ran a hugely
active
> > Minivend 3 store earlier this year without indident.
> >
> > Now, /var/log/messages does show Perl exiting with a dump and signal 11
when
> > the problem occurs, maybe IC doesn't like 5.6.0?
> >
> > Still looking, and thanks!
> > Glenn.
>
> Hmmm...with a fresh IC 4.8.2? Without any modification by you?
> At the first time with FreeBSD 4.3, IC crash at the start up. After
> editing bin/interchange to
>
> --------- snip ----------
> # Here we prepare enter the daemon mode.
>
> # Set the $0 to something not having 'perl' (won't
> # work on Solaris and IRIX among possibly others)
> if(defined $Global::Variable->{MV_DOLLAR_ZERO}) {
> # $0 = $Global::Variable->{MV_DOLLAR_ZERO};
> # $0 = "interchange --> $Global::VendRoot"
> # if length($0) < 2;
> }
> else {
> # $0 = 'interchange';
> }
>
> # We won't have much output on any of this, but if we get some
> # we want it immediately
> --------- snip ----------
>
> It works well! Did that helps you?
>
> Joachim
>
> --
> Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
> [Hans-Joachim.leidinger@bpanet.de]
> Black Point Arts Internet Solutions GmbH
> http://www.bpanet.de
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 25 10:53:00 2001
Subject: [ic] Internal Server Error and more
> Dear Mr. Oltmanns,
>
> Besides from using a non routable domain name you are using a
> name that
> belongs to Video Group Distributors Inc. (since 1996). Please
> seize and
> desist using it or we will be forced to take legal actions.
>
> Hopefully you are just unfamiliar with the use of domain
> names. I recommend
> that you register your own domain, or use that of your ISP.
Dear Mr. Administrator,
Besides from using a non intelligent blathering, you are using a pithy
threat that belongs to SueHappy Inc. (since lawyers first walked the
earth). Please sieze (cardiac arrest would be fine) and desist using it
or we will be forced to take beagle actions (fear the trained attack
beagle).
Hopefully you are just unfamiliar with the use of domain names. I
recommend that you unregister all of your own domains, since you have
publicly proven yourself incapable of understanding their function.
From: interchange-users at interchange.redhat.com (Your Name)
Date: Thu Oct 25 11:11:00 2001
Subject: [ic] Integration with worldpay
Hi
I have Interchange 4.8 which is hosted through blackfoot.co.uk.I wish
to integrate my new site with my existing credit card authorization
company Worldpay Unfortunately the wizard I have set up on my catalogue
does not list Worldpay.Please could you tell me how to get started with
the integration process as I haven't got a clue.
Thanks Louise
From: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Thu Oct 25 11:13:52 2001
Subject: [ic] Internal Server Error and more
> Besides from using a non routable domain name you are using a name that
> belongs to Video Group Distributors Inc. (since 1996). Please seize and
> desist using it or we will be forced to take legal actions.
I would say that the use of [larolt@linux] was not a domain name that
belongs to anyone. As far as I am aware the top level domain linux. is
invalid.
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (Kevin Walsh)
Date: Thu Oct 25 11:46:00 2001
Subject: [ic] Discounting Entire Orders
> > Try something like the following code:
> >
> > [discount ENTIRE_ORDER]
> > $s > 100 ? $s * 0.9 : $s;
> > [/discount]
> >
> How can I pass this into etc/report so that when I process the
> order I know how much discount they have been promised?
>
Let's see if I understand - Are you asking how to show the fact
that a 10% discount has been given? The original question called
for all orders with a value over 100.00 to be given a 10% discount.
If this is to be made variable, then perhaps you could work out the
10% and save it into a scratch value with something like the following:
[seti discount_pct] query db and set 10 (for 10% discount) [/seti]
[seti discount_amount] query db and set 100 (for > $100) [/seti]
[discount ENTIRE_ORDER]
my $pct = (100 - ($::Scratch->{'discount_pct'} || 0)) / 100;
my $amt = $::Scratch->{'discount_amount'} or return $s;
$s > $amt ? $s * $pct : $s;
[/discount]
Then you have the discount set to the rules you want, and have scratch
values set to those rules. Your report page can show those scratch
values to explain the discount applied.
The rules could be set on a per-user basis, depending upon the code you
use to set the scratch values.
All untested - just have a play with it and see what you get.
If I misunderstood your question, then please ask it again.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
From: interchange-users at interchange.redhat.com (Joe Moschak)
Date: Thu Oct 25 12:21:01 2001
Subject: [ic] Problem with makecat and MySQL DB :(
I haven't closely scrutinized your whole script and the problem could be
anywhere. But one thing that struck me was that the second node -
"solution-service" - of your domain name has 16 characters. I had
problems once using a domain with 19 characters in the second node and
the problem seemed to go away when I used a domain name with 7 character
in that second node. I was using a different template than "foundation"
when I ran into this.
Joel wrote:
>Hi !
>
>I can't create a SQL based Catalog with makecat :( There is a Problem to
>create the DB , here is the whole dialog with makecat :
>
>--------------------------------------------
>[root@ntweb products]# /usr/lib/interchange/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.
>
>Only the characters [-a-zA-Z0-9_] are allowed, and it is strongly suggested
>that the catalog name be all lower case.
>
>If you are doing the demo for the first time, you might use "foundation".
>
>Catalog name? sql6
>makecat -- Interchange catalog installation program.
>
>*** We will be making a catalog named 'sql6'. ***
>
>
>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.
>
>######### 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? ntweb.solution-service.de
>
># The type of demo catalog to use. The standard one distributed is:
>#
># foundation
>#
># If you have defined your own custom template catalog,
># you can enter its name.
>#
># If you are new to Interchange, use "foundation" to start with.
>
>
>DemoType? weinshop
>
># 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? G
>
># 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 unless G mode was selected above.
>#
>
>
>InterchangeGroup? interch
>
># 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? interch@ntweb
>
># 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/sql6
>
># 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? /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? /cgi-bin/sql6
>
>#
># 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? /sql6
>
># 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/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/html/sql6
>
># Where the image files should be copied. A directory path
># name, not a URL.
>#
>
>
>ImageDir? /var/www/html/sql6/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="/foundation/images/icon.gif">
># ^^^^^^^^^^^^^^^^^^
>#
>
>
>ImageUrl? /sql6/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/sql6
>mkdir /var/www/html/sql6
>mkdir /var/www/html/sql6/images
>done.
>Copying demo files..........................................found more to ask.
>
>Your company name: ...............................SQL6
>
>You can choose to pre-populate your Foundation template with some
>data which might be illustrative. You can always delete it later
>and replace it with your own.
>
>The types are:
>
> tools Construct Something, includes products, users, orders
> reports Marketing reports, downloadable softgoods, products, users
> none No data. Same as leaving blank.
>
>Sample data type?: ...............................tools
>
>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, Oracle, or DB2: ..1
>
>You can select this to use MySQL in your test catalog. Careful!
>This requires the ability to create a database named "test_foundation",
>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_foundation
>DBI DSN to use:
>..................................dbi:mysql:test_foundation:localhost:3306
>Username for MySQL (if any): .....................interch
>Password for MySQL (if any): .....................interch
>
>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 '' 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: ......................-u interch -p interch
>
>You can select this to use PostgreSQL in your test catalog.
>This requires the ability to create a database named "test_foundation",
>and is highly dependent on your Perl and system configuration. Don't
>be too surprised if this doesn't work.
>
>Set to 1 if you want to use PostgreSQL: ..........
>
>You can select this to use Oracle in your test catalog. This requires
>that you know your Oracle DSN and that you've already created a user and
>tablespace for Interchange. You should also have the environment variables
>ORACLE_BASE, ORACLE_HOME, and ORACLE_SID set. Don't be too surprised if
>this doesn't work.
>
>Set to 1 if you want to use Oracle: ..............
>
>You can select this to use DB2 in your test catalog. Careful!
>This requires the ability to create a database named "intchg",
>and is highly dependent on your Perl and DB2 configuration. Don't
>be too surprised if this doesn't work.
>
>Set to 1 if you want to use DB2: .................
>
>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: .....interch
>Administrative password: .........................pass
>Set to 1 to display demo helper features in your store: ..
>
>Found system commands to run.
>
>Since you selected the MySQL option, you need to create a database named
>"". In a default MySQL configuration, any user may create
>and drop and modify test_* databases, but some administrators disable this.
>
>run "mysqladmin -u -p create"? y
>mysqladmin: Too few arguments to create
>
>Command returned error code 1: Datei oder Verzeichnis nicht gefunden
>
>done.
>Moving link program to /var/www/cgi-bin/sql6................done.
>Copying share/ files to /var/www/html.......................done.
>
>HTML dir copy error: Datei oder Verzeichnis nicht gefunden
>Trying to continue.
>Moving HTML files to /var/www/html/sql6.....................done.
>
>Image dir copy error: Datei oder Verzeichnis nicht gefunden
>Trying to continue.
>Moving image files to /var/www/html/sql6/images.............done.
>
>Found additional system commands to run.
>
>We need to make some directories to store sessions, logs, and such.
>
>run "sh
>/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/makedirs"? y
>/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/makedirs:
>/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/makedirs:
>Datei oder Verzeichnis nicht gefunden
>
>Command returned error code 127: Datei oder Verzeichnis nicht gefunden
>You can install some sample data to start with in this catalog.
>This script will install the sample (tools) you selected.
>
>run "sh
>/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/installsample"?
>n
>
>skipping 'sh
>/var/tmp/interchange-4.8.2/var/lib/interchange/foundation/config/installsample'
>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://ntweb.solution-service.de/sql6
>
>In any case, you should get direct access at:
>
> http://ntweb.solution-service.de/cgi-bin/sql6
>
>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@ntweb products]#
>----------------------------------------------------------
>
>What is the Problem ? Is there a misstake with
>DBI DSN to
>use:..................................dbi:mysql:test_foundation:localhost:3306
>
>i do not understand why
>Since you selected the MySQL option, you need to create a database named
>"". In a default MySQL configuration, any user may create
>and drop and modify test_* databases, but some administrators disable this.
>
>run "mysqladmin -u -p create"? y
>mysqladmin: Too few arguments to create
>
>there are no arguments in the mysqladmin statement :(
>
>MySQL is running on the standardport 3306 and i created the user interch
>with all right .
>
>Thanks for help's
>
>Joel
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at interchange.redhat.com (Scott Carter)
Date: Thu Oct 25 13:05:01 2001
Subject: [ic] Upgraded from 4.8.1 to 4.8.2
I upgraded from 4.8.1 to 4.8.1 using rpm -F. Now nothing works.... then
upgraded the modules using "perl -MCPAN -e 'install Bundle::Interchange' ...
still nothing.
When I restart the server, it finds the database from postgresql and says
ok... but nothing...
what next??
Scott Carter
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Thu Oct 25 13:09:01 2001
Subject: [ic] rounding off product prize
At 10:11 AM 10/25/2001 +0200, you wrote:
>There was no change. There are still two decimals after the . I really would
>like the ,00 - ending. It's a norwegian thing :)
Please reply in context (at the bottom of the message, just below the text
you are replying to).
It must be out of the question for some reason, but I have to ask - is
their any reason why you wouldn't just enter the prices in the products
table as integers? Also, are you trying to round shipping, salestax/vat
and grand totals as well?
- Ed L.
>Oystein
>(runnning IC 4.8.1)
>
>onsdag 24. oktober 2001, 17:53, skrev du :
> > At 10:56 AM 10/24/2001 +0200, you wrote:
> > >Anyone knows how to round off the product price up to the nearest integer.
> > >
> > >Tried to (first attempt) set locale price_picture "##.###,00" in the
> > >catalog.cfg but then ic couldn't calculate price with tax
> > >
> > >Any suggestions or do I have to get my sysadmin to come up with a small
> > >hack...?
> > >
> > >Regards from Oystein
> >
> > What happens if you drop the ',00': price_picture "##.###"?
> >
> > - Ed L.
> >
> >
> >
> >
> >
> > New Media E.M.S. Software Solutions for Business
> > 463 Main St., Suite D eCommerce | Consulting | Hosting
> > Placerville, CA 95667 edl@newmediaems.com
> > (530) 622-9421 http://www.newmediaems.com
> > (866) 519-4680 Toll-Free (530) 622-9426 Fax
> > ===============================================================
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (David Berry)
Date: Thu Oct 25 13:13:01 2001
Subject: Subject: Re: [ic] Dynamic Locales & moving menus
Thanks Joachim
Brilliant ... it works perfectly, I was looking at the problem the wrong way.
dave
From: interchange-users at interchange.redhat.com (Peter Jakl)
Date: Thu Oct 25 14:14:01 2001
Subject: [ic] Solving problems
I just want to pass on some advice when tracking down problems. I find
the documentation to be rather confusing at times, so here's a tip that
may help you all.
Interchange has the ability to create a detailed debug log that can help
track down problems. To enable it, do the following:
1. edit interchange.cfg and remove the '#' where Variable DEBUG 1 is
defined.
2. edit the source module that affects the feature you are looking at or
all of them for that matter. Most of the work is done by .pm modules in
the lib/Vend subdirectory of where interchange is installed
(/usr/lib/interchange in my case). There are many lines that begin
#::logDebug(...)
Use your editor to remove the '#' comment character and resave the
modules. (you can do it in vi using ":%s/^#::log/::log/" (no quotes).
3. restart interchange
As you run your tests, messages will be collected in "/tmp/icdebug" that
will be very helpful.
When you are done don't forget to reverse the process.
I hope this isn't too basic for this list. I am new to Interchange and
found this to solve a few of my problems.
Peter
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Thu Oct 25 14:33:01 2001
Subject: [ic] Upgraded from 4.8.1 to 4.8.2
look at etc/interchange.cfg it might have replaced the original...the
original should have been backed up. It it has swap them or better yet copy
the data that reflects the catalogs and copy it to interchange.cfg
good luck
Scotta
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Scott Carter
Sent: Thursday, October 25, 2001 10:13 AM
To: interchange-users@interchange.redhat.com
Subject: [ic] Upgraded from 4.8.1 to 4.8.2
I upgraded from 4.8.1 to 4.8.1 using rpm -F. Now nothing works.... then
upgraded the modules using "perl -MCPAN -e 'install Bundle::Interchange' ...
still nothing.
When I restart the server, it finds the database from postgresql and says
ok... but nothing...
what next??
Scott Carter
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Scott Carter)
Date: Thu Oct 25 15:27:00 2001
Subject: [ic] Upgraded from 4.8.1 to 4.8.2
nope... it is the same... when i attempt to go farther than the entrances
page, it takes forever and then comes up with the interchange server is
unavailable page...
Scott Carter
----- Original Message -----
From: "Andreas, Scott" <sandreas@learningservicesinc.com>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 25, 2001 2:28 PM
Subject: RE: [ic] Upgraded from 4.8.1 to 4.8.2
> look at etc/interchange.cfg it might have replaced the original...the
> original should have been backed up. It it has swap them or better yet
copy
> the data that reflects the catalogs and copy it to interchange.cfg
>
> good luck
>
> Scotta
>
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> Scott Carter
> Sent: Thursday, October 25, 2001 10:13 AM
> To: interchange-users@interchange.redhat.com
> Subject: [ic] Upgraded from 4.8.1 to 4.8.2
>
>
> I upgraded from 4.8.1 to 4.8.1 using rpm -F. Now nothing works.... then
> upgraded the modules using "perl -MCPAN -e 'install Bundle::Interchange'
...
> still nothing.
> When I restart the server, it finds the database from postgresql and says
> ok... but nothing...
> what next??
> Scott Carter
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Scott Carter)
Date: Thu Oct 25 15:44:01 2001
Subject: [ic] Upgraded from 4.8.1 to 4.8.2
If I were to uninstall interchange, and then reinstall it. Would I be able
to just recopy the interchange.cfg file and all would go back to the old
install...???
Scott Carter
----- Original Message -----
From: "Scott Carter" <scott@webmktg.net>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 25, 2001 3:34 PM
Subject: Re: [ic] Upgraded from 4.8.1 to 4.8.2
> nope... it is the same... when i attempt to go farther than the entrances
> page, it takes forever and then comes up with the interchange server is
> unavailable page...
> Scott Carter
>
> ----- Original Message -----
> From: "Andreas, Scott" <sandreas@learningservicesinc.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Thursday, October 25, 2001 2:28 PM
> Subject: RE: [ic] Upgraded from 4.8.1 to 4.8.2
>
>
> > look at etc/interchange.cfg it might have replaced the original...the
> > original should have been backed up. It it has swap them or better yet
> copy
> > the data that reflects the catalogs and copy it to interchange.cfg
> >
> > good luck
> >
> > Scotta
> >
> > -----Original Message-----
> > From: interchange-users-admin@interchange.redhat.com
> > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > Scott Carter
> > Sent: Thursday, October 25, 2001 10:13 AM
> > To: interchange-users@interchange.redhat.com
> > Subject: [ic] Upgraded from 4.8.1 to 4.8.2
> >
> >
> > I upgraded from 4.8.1 to 4.8.1 using rpm -F. Now nothing works....
then
> > upgraded the modules using "perl -MCPAN -e 'install Bundle::Interchange'
> ...
> > still nothing.
> > When I restart the server, it finds the database from postgresql and
says
> > ok... but nothing...
> > what next??
> > Scott Carter
> >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Thu Oct 25 16:20:00 2001
Subject: [ic] Upgraded from 4.8.1 to 4.8.2
perhaps...but I would double check your permissions...If this is the only
catalog running on your system then change all permissions to 0755 and use
interch
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Scott Carter
Sent: Thursday, October 25, 2001 12:52 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Upgraded from 4.8.1 to 4.8.2
If I were to uninstall interchange, and then reinstall it. Would I be able
to just recopy the interchange.cfg file and all would go back to the old
install...???
Scott Carter
----- Original Message -----
From: "Scott Carter" <scott@webmktg.net>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 25, 2001 3:34 PM
Subject: Re: [ic] Upgraded from 4.8.1 to 4.8.2
> nope... it is the same... when i attempt to go farther than the entrances
> page, it takes forever and then comes up with the interchange server is
> unavailable page...
> Scott Carter
>
> ----- Original Message -----
> From: "Andreas, Scott" <sandreas@learningservicesinc.com>
> To: <interchange-users@interchange.redhat.com>
> Sent: Thursday, October 25, 2001 2:28 PM
> Subject: RE: [ic] Upgraded from 4.8.1 to 4.8.2
>
>
> > look at etc/interchange.cfg it might have replaced the original...the
> > original should have been backed up. It it has swap them or better yet
> copy
> > the data that reflects the catalogs and copy it to interchange.cfg
> >
> > good luck
> >
> > Scotta
> >
> > -----Original Message-----
> > From: interchange-users-admin@interchange.redhat.com
> > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > Scott Carter
> > Sent: Thursday, October 25, 2001 10:13 AM
> > To: interchange-users@interchange.redhat.com
> > Subject: [ic] Upgraded from 4.8.1 to 4.8.2
> >
> >
> > I upgraded from 4.8.1 to 4.8.1 using rpm -F. Now nothing works....
then
> > upgraded the modules using "perl -MCPAN -e 'install Bundle::Interchange'
> ...
> > still nothing.
> > When I restart the server, it finds the database from postgresql and
says
> > ok... but nothing...
> > what next??
> > Scott Carter
> >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Curt Hauge)
Date: Thu Oct 25 16:29:01 2001
Subject: [ic] using Usertag table-organize example displays nothing
Quoting Ed LaFrance
> Assuming you are using the latest version of IC, the
> table-organize tag appears to work fine - this small sample, mostly from
> the POD in the tag itself, produces the expected output:
Ed, thank you very much. U da man! That's all I needed to know that it
worked for someone. I upgraded my RPM (scared and reluctantly) from 4.6.5 to
4.8.2 and table-organize works just fine! My catalogs work great, just have
to fix the admin UI stuff.
Thanks to everyone who offered assistance! And Jonathan, sorry I did not
mean you were (kinda long) in your response, but I meant my response was
going to be (kinda long). Didn't proof-read very well.
A very happy Interchanger,
Curt Hauge
From: interchange-users at interchange.redhat.com (Gavin Harper)
Date: Thu Oct 25 16:33:01 2001
Subject: [ic] NonTaxableField not working?
Can anyone tell me why my NonTaxableField is still being taxed?
Using IC 4.8.2 and in the catalog.cfg I have:
NonTaxableField nontaxable
I am using SalesTax multi does this have anything to do with it?
Thanks for your help in advance!
Gavin
From: interchange-users at interchange.redhat.com (Elissa H.G. Burda)
Date: Thu Oct 25 16:41:01 2001
Subject: [ic] template problem
We are trying to change the template page for our products. We were able to
change the main template, but that is it. We are not given the option
anywhere else. When we try to use the wizard to set up the products, it is
unable to find the file location to download the products from this
location. Any suggestions?
Thanks,
Elissa
Everything Earth
PO Box 25362
Portland OR 97298
Ph: 503-641-3029
Toll Free: 866-36-EARTH
Fax: 503-643-3308
eearth@everythingearth.com
www.everythingearth.com
Bringing businesses and customers together to make a difference...
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Peter
Jakl
Sent: Thursday, October 25, 2001 11:13 AM
To: interchange-users@interchange.redhat.com
Subject: [ic] Solving problems
I just want to pass on some advice when tracking down problems. I find
the documentation to be rather confusing at times, so here's a tip that
may help you all.
Interchange has the ability to create a detailed debug log that can help
track down problems. To enable it, do the following:
1. edit interchange.cfg and remove the '#' where Variable DEBUG 1 is
defined.
2. edit the source module that affects the feature you are looking at or
all of them for that matter. Most of the work is done by .pm modules in
the lib/Vend subdirectory of where interchange is installed
(/usr/lib/interchange in my case). There are many lines that begin
#::logDebug(...)
Use your editor to remove the '#' comment character and resave the
modules. (you can do it in vi using ":%s/^#::log/::log/" (no quotes).
3. restart interchange
As you run your tests, messages will be collected in "/tmp/icdebug" that
will be very helpful.
When you are done don't forget to reverse the process.
I hope this isn't too basic for this list. I am new to Interchange and
found this to solve a few of my problems.
Peter
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Thu Oct 25 17:11:00 2001
Subject: [ic] IC 4.8.2 / RH 7.2 / Perl-Digest-MD5-2.13-1
OS Version: RH 7.2 :-)
IC Version: 4.8.2
Brief Description of Problem: perl-Digest-MD5-2.13-1 not being recognized by
IC
*****
Error Description:
On the admin login, it alerts us saying that the MD5 perl module is not
installed.
What We Have Done:
We have verified that it the package is installed through the rpm -qa | grep
MD5 commmand which returns:
perl-Digest-MD5-2.13-1
Any ideas are appreciated. Besides this, everything is working perfectly.
Thanks.
--
Fred Pope
Satcom Resources
970-748-3094
fred@satcomresources.com
http://www.satcomresources.com
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Thu Oct 25 17:22:00 2001
Subject: [ic] IC 4.8.2 / RH 7.2 / Perl-Digest-MD5-2.13-1
> OS Version: RH 7.2 :-)
> IC Version: 4.8.2
> Brief Description of Problem: perl-Digest-MD5-2.13-1 not
> being recognized by IC
> *****
> Error Description:
> On the admin login, it alerts us saying that the MD5 perl
> module is not installed.
>
> What We Have Done:
> We have verified that it the package is installed through the
> rpm -qa | grep MD5 commmand which returns:
>
> perl-Digest-MD5-2.13-1
>
> Any ideas are appreciated. Besides this, everything is
> working perfectly.
>
> Thanks.
> --
> Fred Pope
It never hurts to download the module from cpan and compile it yourself
(perl Makefile.PL; make; make test; make install)
Good luck,
-Dan
From: interchange-users at interchange.redhat.com (Scott Carter)
Date: Thu Oct 25 17:26:01 2001
Subject: [ic] Upgraded from 4.8.1 to 4.8.2
Okay... got all up and running again except for one catalog. This is the
error:
Could not tie to '/var/lib/interchange/funfoods/products/route.gdbm'.
Permission denied at /usr/lib/interchange/lib/Vend/Table/GDBM.pm line 115,
<CONFIG> line 158
Scott Carter
----- Original Message -----
From: "Scott Carter" <scott@webmktg.net>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 25, 2001 3:51 PM
Subject: Re: [ic] Upgraded from 4.8.1 to 4.8.2
> If I were to uninstall interchange, and then reinstall it. Would I be
able
> to just recopy the interchange.cfg file and all would go back to the old
> install...???
> Scott Carter
>
> ----- Original Message -----
> From: "Scott Carter" <scott@webmktg.net>
> To: <interchange-users@interchange.redhat.com>
> Sent: Thursday, October 25, 2001 3:34 PM
> Subject: Re: [ic] Upgraded from 4.8.1 to 4.8.2
>
>
> > nope... it is the same... when i attempt to go farther than the
entrances
> > page, it takes forever and then comes up with the interchange server is
> > unavailable page...
> > Scott Carter
> >
> > ----- Original Message -----
> > From: "Andreas, Scott" <sandreas@learningservicesinc.com>
> > To: <interchange-users@interchange.redhat.com>
> > Sent: Thursday, October 25, 2001 2:28 PM
> > Subject: RE: [ic] Upgraded from 4.8.1 to 4.8.2
> >
> >
> > > look at etc/interchange.cfg it might have replaced the original...the
> > > original should have been backed up. It it has swap them or better yet
> > copy
> > > the data that reflects the catalogs and copy it to interchange.cfg
> > >
> > > good luck
> > >
> > > Scotta
> > >
> > > -----Original Message-----
> > > From: interchange-users-admin@interchange.redhat.com
> > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > > Scott Carter
> > > Sent: Thursday, October 25, 2001 10:13 AM
> > > To: interchange-users@interchange.redhat.com
> > > Subject: [ic] Upgraded from 4.8.1 to 4.8.2
> > >
> > >
> > > I upgraded from 4.8.1 to 4.8.1 using rpm -F. Now nothing works....
> then
> > > upgraded the modules using "perl -MCPAN -e 'install
Bundle::Interchange'
> > ...
> > > still nothing.
> > > When I restart the server, it finds the database from postgresql and
> says
> > > ok... but nothing...
> > > what next??
> > > Scott Carter
> > >
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jason Kohles)
Date: Thu Oct 25 17:29:01 2001
Subject: [ic] IC 4.8.2 / RH 7.2 / Perl-Digest-MD5-2.13-1
On Thu, Oct 25, 2001 at 03:13:12PM -0600, Fred Pope wrote:
> OS Version: RH 7.2 :-)
> IC Version: 4.8.2
> Brief Description of Problem: perl-Digest-MD5-2.13-1 not being recognized by
> IC
Try running 'perl -MDigest::MD5 -e1' and see if you get an error message,
if not, make sure the version of perl you are running is the same one that
interchange is being started with...
> *****
> Error Description:
> On the admin login, it alerts us saying that the MD5 perl module is not
> installed.
>
> What We Have Done:
> We have verified that it the package is installed through the rpm -qa | grep
> MD5 commmand which returns:
>
> perl-Digest-MD5-2.13-1
>
> Any ideas are appreciated. Besides this, everything is working perfectly.
>
> Thanks.
> --
> Fred Pope
> Satcom Resources
> 970-748-3094
> fred@satcomresources.com
> http://www.satcomresources.com
>
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
Red Hat Professional Consulting Jason Kohles
(703)786-8036 (cellular) jkohles@redhat.com
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Thu Oct 25 17:35:01 2001
Subject: [ic] Maybe offtopic? Missing directory for apache log files
Hi List,
I noticed a strange behavior with on of my MV/IC costumer. He has
removed the directory, which is needed for the apache log files.
Apache can't started, if one of some directory is missing for the log
files and all MV/IC catalogs are not available for the internet world.
Are there any directives in httpd.conf, which will apache allow to
create the missing directory, if this is missing?
Any solutions, hints or helps?
I will be very glad about any tips and helps of you!
Thank you!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Thu Oct 25 17:53:01 2001
Subject: [ic] IC 4.8.2 / RH 7.2 / Perl-Digest-MD5-2.13-1
>Try running 'perl -MDigest::MD5 -e1' and see if you get an error message,
>if not, make sure the version of perl you are running is the same one that
>interchange is being started with...
I do not get an error when I run 'perl -MDigest::MD5 -e1' .
Where should I confirm the version of PERL that I am running is the same one
that Interchange is being started with? If perl was not installed correctly,
then IC would not beable to connect to the DB to generate the catalog? In
addition, I would be getting other error on this admin login page like the
SafeHole Module not being installed. Any other ideas?
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 25 18:10:01 2001
Subject: [ic] Discounting Entire Orders
On Thu, 25 Oct 2001, Kevin Walsh wrote:
KW>>Let's see if I understand - Are you asking how to show the fact
KW>>that a 10% discount has been given? The original question called
KW>>for all orders with a value over 100.00 to be given a 10% discount.
Yep. The original question was not mine and was different.
I will quite often have a 'Happy Hour' and have a storewide discount of 10%,
or an 'Inventory Stock Reduction Sale' and discount everything 15%, etc,
etc.
KW>>
KW>>If this is to be made variable, then perhaps you could work out the
KW>>10% and save it into a scratch value with something like the following:
KW>>
KW>> [seti discount_pct] query db and set 10 (for 10% discount) [/seti]
KW>> [seti discount_amount] query db and set 100 (for > $100) [/seti]
KW>>
KW>> [discount ENTIRE_ORDER]
KW>> my $pct = (100 - ($::Scratch->{'discount_pct'} || 0)) / 100;
KW>> my $amt = $::Scratch->{'discount_amount'} or return $s;
KW>> $s > $amt ? $s * $pct : $s;
KW>> [/discount]
KW>>
KW>>Then you have the discount set to the rules you want, and have scratch
KW>>values set to those rules. Your report page can show those scratch
KW>>values to explain the discount applied.
Yep, and then when I am processing the order, I can see what the customer
has been promised, and tell the POS software to apply the discounts.
KW>>All untested - just have a play with it and see what you get.
That gets me started - Thanks!
KW>>If I misunderstood your question, then please ask it again.
You understood it just fine! Thanks!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 25, 2001 at 18:05 PM:
The best substitute for experience is being sixteen.
----------------------------------------------------------------
This Linux System has been up 104 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Thu Oct 25 18:39:01 2001
Subject: [ic] Maybe offtopic? Missing directory for apache log files
> I noticed a strange behavior with on of my MV/IC costumer. He has
> removed the directory, which is needed for the apache log files.
> Apache can't started, if one of some directory is missing for the log
> files and all MV/IC catalogs are not available for the internet world.
> Are there any directives in httpd.conf, which will apache allow to
> create the missing directory, if this is missing?
> Any solutions, hints or helps?
Just make sure the user does not have permission to delete it. Make the logs
directory owned by root with permissions 755
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 25 19:23:01 2001
Subject: [ic] IC 4.8.2 / RH 7.2 / Perl-Digest-MD5-2.13-1
On Thu, Oct 25, 2001 at 03:55:19PM -0600, Fred Pope wrote:
> >Try running 'perl -MDigest::MD5 -e1' and see if you get an error message,
> >if not, make sure the version of perl you are running is the same one that
> >interchange is being started with...
>
> I do not get an error when I run 'perl -MDigest::MD5 -e1' .
>
@INC might not be the same for you on the command line as for the catalog.
There are all sorts of reasons. In our case, for example, userland is not
even on the same machine as the catalogs so /usr/bin/perl is often different.
Or on a debian box, sometimes one needs (I don't know about IC)
libmd5-perl - backwards-compatible wrapper for Digest::MD5
YMMV. Best to talk to the sysadmins running the box.
> Where should I confirm the version of PERL that I am running is the same one
> that Interchange is being started with? If perl was not installed correctly,
> then IC would not beable to connect to the DB to generate the catalog? In
> addition, I would be getting other error on this admin login page like the
> SafeHole Module not being installed. Any other ideas?
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Thu Oct 25 19:26:01 2001
Subject: [ic] Upgraded from 4.8.1 to 4.8.2
On Thu, Oct 25, 2001 at 05:34:13PM -0400, Scott Carter wrote:
> Okay... got all up and running again except for one catalog. This is the
> error:
> Could not tie to '/var/lib/interchange/funfoods/products/route.gdbm'.
> Permission denied at /usr/lib/interchange/lib/Vend/Table/GDBM.pm line 115,
> <CONFIG> line 158
> Scott Carter
Well, does it exist? Are the permissions right? Move it away and see if
ic rebuilds it (I don't use gdbm tables so DO back it up to protect yourself
from my ignorance.)
>
> ----- Original Message -----
> From: "Scott Carter" <scott@webmktg.net>
> To: <interchange-users@interchange.redhat.com>
> Sent: Thursday, October 25, 2001 3:51 PM
> Subject: Re: [ic] Upgraded from 4.8.1 to 4.8.2
>
>
> > If I were to uninstall interchange, and then reinstall it. Would I be
> able
> > to just recopy the interchange.cfg file and all would go back to the old
> > install...???
> > Scott Carter
> >
> > ----- Original Message -----
> > From: "Scott Carter" <scott@webmktg.net>
> > To: <interchange-users@interchange.redhat.com>
> > Sent: Thursday, October 25, 2001 3:34 PM
> > Subject: Re: [ic] Upgraded from 4.8.1 to 4.8.2
> >
> >
> > > nope... it is the same... when i attempt to go farther than the
> entrances
> > > page, it takes forever and then comes up with the interchange server is
> > > unavailable page...
> > > Scott Carter
> > >
> > > ----- Original Message -----
> > > From: "Andreas, Scott" <sandreas@learningservicesinc.com>
> > > To: <interchange-users@interchange.redhat.com>
> > > Sent: Thursday, October 25, 2001 2:28 PM
> > > Subject: RE: [ic] Upgraded from 4.8.1 to 4.8.2
> > >
> > >
> > > > look at etc/interchange.cfg it might have replaced the original...the
> > > > original should have been backed up. It it has swap them or better yet
> > > copy
> > > > the data that reflects the catalogs and copy it to interchange.cfg
> > > >
> > > > good luck
> > > >
> > > > Scotta
> > > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@interchange.redhat.com
> > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
> > > > Scott Carter
> > > > Sent: Thursday, October 25, 2001 10:13 AM
> > > > To: interchange-users@interchange.redhat.com
> > > > Subject: [ic] Upgraded from 4.8.1 to 4.8.2
> > > >
> > > >
> > > > I upgraded from 4.8.1 to 4.8.1 using rpm -F. Now nothing works....
> > then
> > > > upgraded the modules using "perl -MCPAN -e 'install
> Bundle::Interchange'
> > > ...
> > > > still nothing.
> > > > When I restart the server, it finds the database from postgresql and
> > says
> > > > ok... but nothing...
> > > > what next??
> > > > Scott Carter
> > > >
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Alexis Bellido)
Date: Thu Oct 25 20:09:01 2001
Subject: [ic] Interchange manuals and docs
Hi, i have downloaded some guides in pdf format from Red Hat's web, but it
seems as they are just for certain tasks.
Where can i download complete documentation for Interchange?, or i just have
to buy the printed docs the Red Hat sells?, if it's so this is not so "open"
source as should be right?.
Regards!.
Alexis Bellido M.
www.ventanazul.com - Web Design/ Hosting / eCommerce
alexis@ventanazul.com
ICQ: 95509561 | MSN Messenger: alexisbellido@hotmail.com
Tel: 4368700 - 9856982
From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber)
Date: Thu Oct 25 20:43:01 2001
Subject: [ic] How to use perl with out root access...
I hope this can help someone else.
You can use this below as you want.
Thanks again for all the help.
To begin the perl modules on the site were to old and I needed newer
version. To start I created a local .cpan directory. To do this you
create a local .cpan. But you need to be able to make and install perl.
To do this I created a perl-local or cpan-local file and created a
directory local with a bin, lib, share, info, and man. You have to have
the basic three bin, lib, and man.
-----------------------------Cut Here perl-local---------------------
PREFIX=/home/user_directory/local \
INSTALLPRIVLIB=/home/user_directory/local/lib/perl5 \
INSTALLSCRIPT=/home/user_directory/local/bin \
INSTALLSITELIB=/home/user_directory/local/lib/perl5/site_perl \
INSTALLBIN=/home/user_directory/local/bin \
INSTALLMAN1DIR=/home/user_directory/local/lib/perl5/man \
INSTALLMAN3DIR=/home/user_directory/local/lib/perl5/man/man3
-----------------------------Cut Here--------------------------------
What I did was use this as my perl make command.
perl Makefile.PL `cat ~/perl-local`
The key is you have to have write access to the directory where you have
your files.
This now allows you to make and install the perl files. But you still
have to deal with the system perl files. Perl 5 has an enviroment
variable to solve this.
I add this to my .profile. I use the korn shell.
PERL5LIB=/home/user_directory/local/lib/perl5:/home/user_diretory/local/lib/perl5/site_perl:
export PERL5LIB
Now I could run perl with the correct modules.
The next problem was getting apache to be able to run the correct perl
files.
So I had these two lines added to the vhost.conf file.
Set Env PERL5LIB /home/boyd/local/lib/perl5:/home/boyd/local/lib/perl5/site_perl:
PassEnv PERL5LIB
You may need a PATH or LD_LIBRARY_PATH that you can do the same way.
Now to get perl to run I had to add these two things.
from
#!/usr/bin/perl -wT to
use lib '.'; # for suid installations
#!/usr/bin/perl -wT -I/home/user_directory/local/lib/perl5
use lib '.'; # for suid installations
use lib '/home/user_directory/local/lib/perl5/site_perl';
At this point everything was working. I hope this helps some one else.
Good Luck,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
Office 801-250-0795 FAX 801-250-7975
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Thu Oct 25 21:36:01 2001
Subject: [ic] Interchange manuals and docs
On Thu, 25 Oct 2001, Alexis Bellido wrote:
AB>>Hi, i have downloaded some guides in pdf format from Red Hat's web, but it
AB>>seems as they are just for certain tasks.
AB>>
AB>>Where can i download complete documentation for Interchange?, or i just have
AB>>to buy the printed docs the Red Hat sells?, if it's so this is not so "open"
AB>>source as should be right?.
You are still using the Bill Gates mentality. He tells you what to do and how
to do it. When you wipe your butt, be sure to use your right hand and 4
pieces of toilet paper and go from back to front.
Interchange uses the Linus Torvalds mentality. Linus is from the
Scandanavian area and he was apparently raised on Lego blocks, also from
Scandanavia. Here are a ton of Lego blocks. Use your imagination and make
something. Everything that you need is right here. Make whatever your heart
desires.
Or, if you really feel a need to wipe your butt, here is some toilet paper,
some paper towels, some news paper, some wet wipes, a wash cloth, and you
may find something else in this pile that you want to use to wipe your butt.
Or, maybe you would rather use a stream of hot water to wash it with, or
warm water, or cold water, or maybe just forget it and have racing stripes
in your underwear. It's free-form!
There is NO documentation.
There are instructions on how to use the toilet paper. There are
instructions on how to use the wash cloth, as well as the paper towel, as
well as the stream of water, etc. But, there are no instructions on the
integrated procedure of wiping your butt. Bill Gates has done an excellent
job of that, as well as various procedures to insure that you do it exactly
according to his protocol. That's why he is a multi-billionaire and Linus is
a starving college student.
Interchange is a do-it-yourself kit. An example has been provided to give
you an idea of one of a thousand ways to wipe your butt. But, how you end up
actually doing it is totally up to you and your imagination.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 25, 2001 at 21:20 PM:
"Instant gratification takes too long." - Carrie Fisher
----------------------------------------------------------------
This Linux System has been up 107 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (John Beima)
Date: Thu Oct 25 22:03:00 2001
Subject: [ic] Interchange manuals and docs
Gee and I was flaimed for less than this!!! I just tell people to RTFM before
bothering all of us with questions... No matter how funny I found this, it was
rude...
Quoting Jim Balcom <jim@idk-enterprises.com>:
> On Thu, 25 Oct 2001, Alexis Bellido wrote:
>
> AB>>Hi, i have downloaded some guides in pdf format from Red Hat's web,
> but it
> AB>>seems as they are just for certain tasks.
> AB>>
> AB>>Where can i download complete documentation for Interchange?, or i
> just have
> AB>>to buy the printed docs the Red Hat sells?, if it's so this is not
> so "open"
> AB>>source as should be right?.
>
> You are still using the Bill Gates mentality. He tells you what to do
> and how
> to do it. When you wipe your butt, be sure to use your right hand and 4
> pieces of toilet paper and go from back to front.
>
> Interchange uses the Linus Torvalds mentality. Linus is from the
> Scandanavian area and he was apparently raised on Lego blocks, also from
> Scandanavia. Here are a ton of Lego blocks. Use your imagination and
> make
> something. Everything that you need is right here. Make whatever your
> heart
> desires.
>
> Or, if you really feel a need to wipe your butt, here is some toilet
> paper,
> some paper towels, some news paper, some wet wipes, a wash cloth, and
> you
> may find something else in this pile that you want to use to wipe your
> butt.
> Or, maybe you would rather use a stream of hot water to wash it with, or
> warm water, or cold water, or maybe just forget it and have racing
> stripes
> in your underwear. It's free-form!
>
> There is NO documentation.
>
> There are instructions on how to use the toilet paper. There are
> instructions on how to use the wash cloth, as well as the paper towel,
> as
> well as the stream of water, etc. But, there are no instructions on the
> integrated procedure of wiping your butt. Bill Gates has done an
> excellent
> job of that, as well as various procedures to insure that you do it
> exactly
> according to his protocol. That's why he is a multi-billionaire and
> Linus is
> a starving college student.
>
> Interchange is a do-it-yourself kit. An example has been provided to
> give
> you an idea of one of a thousand ways to wipe your butt. But, how you
> end up
> actually doing it is totally up to you and your imagination.
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Thursday, October 25, 2001 at 21:20 PM:
> "Instant gratification takes too long." - Carrie Fisher
>
> ----------------------------------------------------------------
> This Linux System has been up 107 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at interchange.redhat.com (MediaServices Support)
Date: Thu Oct 25 22:09:01 2001
Subject: [ic] Interchange manuals and docs
Question: Does Bill wipe his own butt?
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim
Balcom
Sent: Thursday, October 25, 2001 8:40 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Interchange manuals and docs
On Thu, 25 Oct 2001, Alexis Bellido wrote:
AB>>Hi, i have downloaded some guides in pdf format from Red Hat's web, but
it
AB>>seems as they are just for certain tasks.
AB>>
AB>>Where can i download complete documentation for Interchange?, or i just
have
AB>>to buy the printed docs the Red Hat sells?, if it's so this is not so
"open"
AB>>source as should be right?.
You are still using the Bill Gates mentality. He tells you what to do and
how
to do it. When you wipe your butt, be sure to use your right hand and 4
pieces of toilet paper and go from back to front.
Interchange uses the Linus Torvalds mentality. Linus is from the
Scandanavian area and he was apparently raised on Lego blocks, also from
Scandanavia. Here are a ton of Lego blocks. Use your imagination and make
something. Everything that you need is right here. Make whatever your heart
desires.
Or, if you really feel a need to wipe your butt, here is some toilet paper,
some paper towels, some news paper, some wet wipes, a wash cloth, and you
may find something else in this pile that you want to use to wipe your butt.
Or, maybe you would rather use a stream of hot water to wash it with, or
warm water, or cold water, or maybe just forget it and have racing stripes
in your underwear. It's free-form!
There is NO documentation.
There are instructions on how to use the toilet paper. There are
instructions on how to use the wash cloth, as well as the paper towel, as
well as the stream of water, etc. But, there are no instructions on the
integrated procedure of wiping your butt. Bill Gates has done an excellent
job of that, as well as various procedures to insure that you do it exactly
according to his protocol. That's why he is a multi-billionaire and Linus is
a starving college student.
Interchange is a do-it-yourself kit. An example has been provided to give
you an idea of one of a thousand ways to wipe your butt. But, how you end up
actually doing it is totally up to you and your imagination.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, October 25, 2001 at 21:20 PM:
"Instant gratification takes too long." - Carrie Fisher
----------------------------------------------------------------
This Linux System has been up 107 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Thu Oct 25 23:04:01 2001
Subject: [ic] IC 4.8.2 / RH 7.2 / Perl-Digest-MD5-2.13-1
Thanks for all your help. Problem fixed.
From: interchange-users at interchange.redhat.com (Jason Timm)
Date: Thu Oct 25 23:53:00 2001
Subject: [ic] Tax rates and confusion
Hi,
In the Admin Panel, under the "Tax" heading, three states are listed, with
tax rate percentages. I want to wipe out these states and percentages, so
tried to delete them with the red "X". Next, I tried clearing the boxes,
and clicked apply changes. It appeared that the database was being updated
and gave me a "success" message. However, whenever I return to the Tax
screen, nothing has changed. I tried using the update button, but that
doesn't work either. I am logged into the Admin Panel as the site
administrator (as created my makecat).
I am using IC 4.8.2 / RH 7.1
My states.txt file does not reflect any sales tax for the 3 mysterious
states referenced above (I edited the table through the Admin Panel table
editor instead of the Tax editor). Even though the file seems correct by
inspection after the editing, a trial run through the store nets a tax
charge when the order is from one of the 3 aforementioned states. I have
restarted the Interchange server. I have tried percussive maintenance.
(not really). Any ideas? Where does that Tax editor function get its data?
Thanks,
Perplexed IC user
From: interchange-users at interchange.redhat.com (Øystein Thune)
Date: Fri Oct 26 03:31:01 2001
Subject: [ic] rounding off product prize
torsdag 25. oktober 2001, 19:09, skrev du :
> At 10:11 AM 10/25/2001 +0200, you wrote:
> >There was no change. There are still two decimals after the . I really
> > would like the ,00 - ending. It's a norwegian thing :)
>
> Please reply in context (at the bottom of the message, just below the text
> you are replying to).
>
> It must be out of the question for some reason, but I have to ask - is
> their any reason why you wouldn't just enter the prices in the products
> table as integers? Also, are you trying to round shipping, salestax/vat
> and grand totals as well?
>
> - Ed L.
We enter the product price as integers, like 3136 so price exclusive salestax
looks good. But when IC calculates the salestax/vat (in norway it's 24%) the
product price inclusive salestax is 3888.64. My wish is to round that off
to 3889,- or 3889,00. (also grand totals).
Oystein
>
> >Oystein
> >(runnning IC 4.8.1)
> >
> >onsdag 24. oktober 2001, 17:53, skrev du :
> > > At 10:56 AM 10/24/2001 +0200, you wrote:
> > > >Anyone knows how to round off the product price up to the nearest
> > > > integer.
> > > >
> > > >Tried to (first attempt) set locale price_picture "##.###,00" in the
> > > >catalog.cfg but then ic couldn't calculate price with tax
> > > >
> > > >Any suggestions or do I have to get my sysadmin to come up with a
> > > > small hack...?
> > > >
> > > >Regards from Oystein
> > >
> > > What happens if you drop the ',00': price_picture "##.###"?
> > >
> > > - Ed L.
> > >
> > >
> > >
> > >
> > >
> > > New Media E.M.S. Software Solutions for Business
> > > 463 Main St., Suite D eCommerce | Consulting | Hosting
> > > Placerville, CA 95667 edl@newmediaems.com
> > > (530) 622-9421 http://www.newmediaems.com
> > > (866) 519-4680 Toll-Free (530) 622-9426 Fax
> > > ===============================================================
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@interchange.redhat.com
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> ===============================================================
> New Media E.M.S. Software Solutions for Business
> 463 Main St., Suite D eCommerce | Consulting | Hosting
> Placerville, CA 95667 edl@newmediaems.com
> (530) 622-9421 http://www.newmediaems.com
> (866) 519-4680 Toll-Free (530) 622-9426 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Fri Oct 26 03:39:00 2001
Subject: [ic] Interchange manuals and docs
Hi
The doc set that Red Hat sell is the same set that is available for
download.
Steve
> -----Original Message-----
> From: Alexis Bellido [mailto:intranet@dnet.com.pe]
> Sent: Friday, October 26, 2001 2:08 AM
> To: interchange-users@interchange.redhat.com
> Subject: [ic] Interchange manuals and docs
>
>
> Hi, i have downloaded some guides in pdf format from Red
> Hat's web, but it
> seems as they are just for certain tasks.
>
> Where can i download complete documentation for Interchange?,
> or i just have
> to buy the printed docs the Red Hat sells?, if it's so this
> is not so "open"
> source as should be right?.
>
> Regards!.
>
> Alexis Bellido M.
> www.ventanazul.com - Web Design/ Hosting / eCommerce
> alexis@ventanazul.com
>
> ICQ: 95509561 | MSN Messenger: alexisbellido@hotmail.com
> Tel: 4368700 - 9856982
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Fri Oct 26 03:45:01 2001
Subject: [ic] Maybe offtopic? Missing directory for apache log files
Jonathan Clark wrote:
>
> > I noticed a strange behavior with on of my MV/IC costumer. He has
> > removed the directory, which is needed for the apache log files.
> > Apache can't started, if one of some directory is missing for the log
> > files and all MV/IC catalogs are not available for the internet world.
> > Are there any directives in httpd.conf, which will apache allow to
> > create the missing directory, if this is missing?
> > Any solutions, hints or helps?
>
> Just make sure the user does not have permission to delete it. Make the logs
> directory owned by root with permissions 755
Jonathan,
thank you for your help. The user is not able to removed the logs
directory. I've
drwxr-xr-x 2 root jojo 512 Oct 26 09:30 logs
and
drwxr-xr-x 2 root jojo 512 Oct 26 09:30 .
drwxr-xr-x 7 jojo jojo 512 Oct 26 09:35 ..
-rw-r--r-- 1 root jojo 2421 Oct 26 09:30 apache_access_log
One more and last question! How is the setting of the logs directory to
make sure, user is able to delete the content of the directory, but not
able to delete the directory itself? Or should I make the log files
owned by user, after apache have created all the log files?
Thanks!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (Alex Brecher)
Date: Fri Oct 26 03:59:01 2001
Subject: [ic] IC Installation, development and Mgmt.
We are a medium sized hosting company looking to offer IC to our users.
We're looking for an individual who is very experienced in IC installation
and who has experience implementing IC for virtual hosting accounts. This
same person should also be available to manage and offer support for the IC
installation on a regular basis.
It would also be helpful if this individual has experience in designing and
coding IC web sites as well since many of our clients would need customized
IC installations.
If you are interested in working with us please respond this email as soon
as possible with your "resume." Your "resume" should be compiled of your
contact information, the history you have with Interchange and Minivend,
completed IC projects, rates, etc. etc.
Best Regards,
Alex Brecher
Visit us at http://www.Successfulhosting.com
We'll make your web site a success!
*****PLEASE DO NOT DELETE ANY PART OF THIS MESSAGE WHEN REPLYING*****
From: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Fri Oct 26 04:53:01 2001
Subject: [ic] Maybe offtopic? Missing directory for apache log files
> One more and last question! How is the setting of the logs directory to
> make sure, user is able to delete the content of the directory, but not
> able to delete the directory itself? Or should I make the log files
> owned by user, after apache have created all the log files?
I would make the log files owned by root, with the user (or world) having
access to read. Anything else would become a pain from the point of view of
log rotation.
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (marco ghezzi)
Date: Fri Oct 26 05:05:01 2001
Subject: [ic] rounding decimals and euro
Hi all,
i'm in the process of setting up a interchange store.
the default currency is italian lire but i'm obviously implementing EURO.
i have locale setting working and the two currencies appearing nicely
but the rounding of the EURO generated by PriceDivide is not correct.
eg
Lit 36.000 -> Euro 18.60
instead of
Lit 36.000 -> Euro 18.59
here are my LOCALE SETTINGS
Locale eur_EUR PriceDivide 1936,27
Locale eur_EUR p_cs_precedes 0
Locale eur_EUR currency_symbol "<IMG src="euro.gif" border="0"
align="bottom">"
Locale eur_EUR p_sep_by_space 2
Locale eur_EUR mon_decimal_point ,
Locale eur_EUR mon_thousands_sep .
Locale eur_EUR frac_digits 2
#
Locale it_IT mon_thousands_sep .
Locale it_IT currency_symbol L.
Locale it_IT frac_digits 0
Locale it_IT p_cs_precedes 1
how can I fix the rounding?
thanx for any suggestion
marco
--
---------------------
Metafora.it
---------------------
Opensource is just
a matter of time(tm)
---------------------
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Fri Oct 26 05:49:01 2001
Subject: [ic] Maybe offtopic? Missing directory for apache log files
Jonathan Clark wrote:
>
> > One more and last question! How is the setting of the logs directory to
> > make sure, user is able to delete the content of the directory, but not
> > able to delete the directory itself? Or should I make the log files
> > owned by user, after apache have created all the log files?
>
> I would make the log files owned by root, with the user (or world) having
> access to read. Anything else would become a pain from the point of view of
> log rotation.
Thank you for the point!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (joachim.richter)
Date: Fri Oct 26 09:01:00 2001
Subject: [ic] Traffic Statistics - RESET ?
Hello List,
how does one reset the Traffic Statistic ?
Which file is to delete ?
thanx
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: interchange-users at interchange.redhat.com (Jonathan Clark)
Date: Fri Oct 26 09:17:00 2001
Subject: [ic] Traffic Statistics - RESET ?
>
> how does one reset the Traffic Statistic ?
>
> Which file is to delete ?
Have a look in the admin ui, Preferences > Directories and Paths >
UI_TRAFFIC_STATS
This is the stats file, <catroot>/logs/usertrack.
(from 4.6.x)
Jonathan
Webmaint.
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 26 09:21:01 2001
Subject: [ic] Traffic Statistics - RESET ?
"joachim.richter" <joachim.richter@usvideocenter.de> writes:
> Hello List,
>
> how does one reset the Traffic Statistic ?
>
> Which file is to delete ?
logs/usertrack
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Scott Trunkhill)
Date: Fri Oct 26 09:31:01 2001
Subject: [ic] will deliver.html work with 4.6.5?
Does anybody know if the downloadable delivery code that appears in
the foundation catalog in deliver.html will work with 4.6.5?
We are wanting to do a site where people will buy files that they
downloadour servers but don't want to have to upgrade to 4.8 yet.
--
Scott Trunkhill 725 Broad St
Product Research Specialist Augusta, GA 30901
Morris Communications (706) 823-3203
trunk@morris.com
http://morris.com
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Fri Oct 26 11:35:01 2001
Subject: [ic] (no subject)
I get a 500 Internal Server Error. The interchange log shows the following:
216.111.193.94 8Uy5223D:216.111.193.94 - [26/October/2001:11:33:16 -0400]
foundation /cgi-bin/foundation/admin/index.html Runtime error: ichelp import
failed: sdbm store returned -1, errno 22, key "kshipping.main" at
/usr/local/interchange/lib/Vend/Table/Common.pm line 384, <IN> line 4.
>
The Common.pm file in question shows this code starting at line 377:
sub stuff_row {
my ($s, @fields) = @_;
my $key = $fields[$s->[$KEY_INDEX]];
$fields[$s->[$KEY_INDEX]] = $key = $s->autonumber()
if ! $key;
$s->filter(\@fields, $s->[$COLUMN_INDEX], $s->[$CONFIG]{FILTER_TO})
if $s->[$CONFIG]{FILTER_TO};
$s->[$TIE_HASH]{"k$key"} = join("\t", map(stuff($_), @fields));
return $key;
}
Have come up with little answers in the archieves on this.
This is the first time I have done a tar install. This is on a redhat 7.1,
interchange-4.8.2.
I am just trying to get the foundation store up and running as a demo site.
Any Ideas?
Thanks,
Rick Eicher II
Permain Basin Online
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 26 11:51:01 2001
Subject: [ic] (no subject)
"Rick Eicher II" <rick@texol.net> writes:
> I get a 500 Internal Server Error. The interchange log shows the following:
>
> 216.111.193.94 8Uy5223D:216.111.193.94 - [26/October/2001:11:33:16 -0400]
> foundation /cgi-bin/foundation/admin/index.html Runtime error: ichelp import
> failed: sdbm store returned -1, errno 22, key "kshipping.main" at
> /usr/local/interchange/lib/Vend/Table/Common.pm line 384, <IN> line 4.
Why do you using sdbm, you should try GDBM.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Fri Oct 26 11:57:01 2001
Subject: [ic] (no subject)
I have no idea. Just did a install. I assumed that the tar install use the
GDBM like the rpm install does. I did not change that.
Better question is how to fix it?
thanks,
Rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Stefan Hornburg (Racke)
Sent: Friday, October 26, 2001 10:48 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] (no subject)
"Rick Eicher II" <rick@texol.net> writes:
> I get a 500 Internal Server Error. The interchange log shows the
following:
>
> 216.111.193.94 8Uy5223D:216.111.193.94 - [26/October/2001:11:33:16 -0400]
> foundation /cgi-bin/foundation/admin/index.html Runtime error: ichelp
import
> failed: sdbm store returned -1, errno 22, key "kshipping.main" at
> /usr/local/interchange/lib/Vend/Table/Common.pm line 384, <IN> line 4.
Why do you using sdbm, you should try GDBM.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Fri Oct 26 12:12:00 2001
Subject: [ic] Interchange manuals and docs
At 09:05 PM 10/25/2001 -0500, you wrote:
>Question: Does Bill wipe his own butt?
Yes, with one-hundred dollar bills. ;-)
- Ed L.
>-----Original Message-----
>From: interchange-users-admin@interchange.redhat.com
>[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim
>Balcom
>Sent: Thursday, October 25, 2001 8:40 PM
>To: interchange-users@interchange.redhat.com
>Subject: Re: [ic] Interchange manuals and docs
>
>
>On Thu, 25 Oct 2001, Alexis Bellido wrote:
>
>AB>>Hi, i have downloaded some guides in pdf format from Red Hat's web, but
>it
>AB>>seems as they are just for certain tasks.
>AB>>
>AB>>Where can i download complete documentation for Interchange?, or i just
>have
>AB>>to buy the printed docs the Red Hat sells?, if it's so this is not so
>"open"
>AB>>source as should be right?.
>
>You are still using the Bill Gates mentality. He tells you what to do and
>how
>to do it. When you wipe your butt, be sure to use your right hand and 4
>pieces of toilet paper and go from back to front.
>
>Interchange uses the Linus Torvalds mentality. Linus is from the
>Scandanavian area and he was apparently raised on Lego blocks, also from
>Scandanavia. Here are a ton of Lego blocks. Use your imagination and make
>something. Everything that you need is right here. Make whatever your heart
>desires.
>
>Or, if you really feel a need to wipe your butt, here is some toilet paper,
>some paper towels, some news paper, some wet wipes, a wash cloth, and you
>may find something else in this pile that you want to use to wipe your butt.
>Or, maybe you would rather use a stream of hot water to wash it with, or
>warm water, or cold water, or maybe just forget it and have racing stripes
>in your underwear. It's free-form!
>
>There is NO documentation.
>
>There are instructions on how to use the toilet paper. There are
>instructions on how to use the wash cloth, as well as the paper towel, as
>well as the stream of water, etc. But, there are no instructions on the
>integrated procedure of wiping your butt. Bill Gates has done an excellent
>job of that, as well as various procedures to insure that you do it exactly
>according to his protocol. That's why he is a multi-billionaire and Linus is
>a starving college student.
>
>Interchange is a do-it-yourself kit. An example has been provided to give
>you an idea of one of a thousand ways to wipe your butt. But, how you end up
>actually doing it is totally up to you and your imagination.
>
>-= Jim =-
>
>----------------------------------------------------------------
>Jim's Linux-Operated Underground Bomb Shelter
>
>Tagline for Thursday, October 25, 2001 at 21:20 PM:
>"Instant gratification takes too long." - Carrie Fisher
>
>----------------------------------------------------------------
>This Linux System has been up 107 hours
>
>My web page: http://www.idk-enterprises.com
>----------------------------------------------------------------
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Fri Oct 26 12:16:01 2001
Subject: [ic] Interchange manuals and docs
I would say that the documentation is about 90% complete, especially those
related to databases, templates, tag reference and configuration. You should
download all the documentation.
I would say that documentation relating to the UI is at best sparce but
should/will be more complete as time goes on.
If you have problems you can always submit to the search through the
mail-list for problems that others may have had and solutions to those
problems. As always this is always best done before posting your question to
the list.
Good Luck
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Alexis Bellido
Sent: Thursday, October 25, 2001 5:08 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] Interchange manuals and docs
Hi, i have downloaded some guides in pdf format from Red Hat's web, but it
seems as they are just for certain tasks.
Where can i download complete documentation for Interchange?, or i just have
to buy the printed docs the Red Hat sells?, if it's so this is not so "open"
source as should be right?.
Regards!.
Alexis Bellido M.
www.ventanazul.com - Web Design/ Hosting / eCommerce
alexis@ventanazul.com
ICQ: 95509561 | MSN Messenger: alexisbellido@hotmail.com
Tel: 4368700 - 9856982
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 26 12:19:00 2001
Subject: [ic] (no subject)
"Rick Eicher II" <rick@texol.net> writes:
> I have no idea. Just did a install. I assumed that the tar install use the
> GDBM like the rpm install does. I did not change that.
>
> Better question is how to fix it?
I suggest to search the ML archives for "sdbm".
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Fri Oct 26 12:21:17 2001
Subject: [ic] (no subject)
On Fri, 26 Oct 2001, Rick Eicher II wrote:
> I get a 500 Internal Server Error. The interchange log shows the following:
>
> 216.111.193.94 8Uy5223D:216.111.193.94 - [26/October/2001:11:33:16 -0400]
> foundation /cgi-bin/foundation/admin/index.html Runtime error: ichelp import
> failed: sdbm store returned -1, errno 22, key "kshipping.main" at
> /usr/local/interchange/lib/Vend/Table/Common.pm line 384, <IN> line 4.
If you just want to try things out quickly, the easiest thing to do is to
remove all lines from ichelp.txt except the first line, then restart. SDBM
can't handle the long fields used in ichelp. At the moment it won't matter
if you delete all the help data, because by default in ui.cfg UI_HELP_URL
is set to use help.interchange.redhat.com instead of your local machine so
you will get the advantage of the latest UI help even before you upgrade.
Jon
From: interchange-users at interchange.redhat.com (Yahoo)
Date: Fri Oct 26 12:24:00 2001
Subject: [ic] Interchange manuals and docs
this is one the reasons why some make it out the lab (the machine world),
and some just sneak out...
human interaction skills are harder to learn than ..........JAVA !!!
----- Original Message -----
From: "John Beima" <jbeima@palb.com>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, October 25, 2001 9:02 PM
Subject: Re: [ic] Interchange manuals and docs
> Gee and I was flaimed for less than this!!! I just tell people to RTFM
before
> bothering all of us with questions... No matter how funny I found this, it
was
> rude...
>
>
> Quoting Jim Balcom <jim@idk-enterprises.com>:
>
> > On Thu, 25 Oct 2001, Alexis Bellido wrote:
> >
> > AB>>Hi, i have downloaded some guides in pdf format from Red Hat's web,
> > but it
> > AB>>seems as they are just for certain tasks.
> > AB>>
> > AB>>Where can i download complete documentation for Interchange?, or i
> > just have
> > AB>>to buy the printed docs the Red Hat sells?, if it's so this is not
> > so "open"
> > AB>>source as should be right?.
> >
> > You are still using the Bill Gates mentality. He tells you what to do
> > and how
> > to do it. When you wipe your butt, be sure to use your right hand and 4
> > pieces of toilet paper and go from back to front.
> >
> > Interchange uses the Linus Torvalds mentality. Linus is from the
> > Scandanavian area and he was apparently raised on Lego blocks, also from
> > Scandanavia. Here are a ton of Lego blocks. Use your imagination and
> > make
> > something. Everything that you need is right here. Make whatever your
> > heart
> > desires.
> >
> > Or, if you really feel a need to wipe your butt, here is some toilet
> > paper,
> > some paper towels, some news paper, some wet wipes, a wash cloth, and
> > you
> > may find something else in this pile that you want to use to wipe your
> > butt.
> > Or, maybe you would rather use a stream of hot water to wash it with, or
> > warm water, or cold water, or maybe just forget it and have racing
> > stripes
> > in your underwear. It's free-form!
> >
> > There is NO documentation.
> >
> > There are instructions on how to use the toilet paper. There are
> > instructions on how to use the wash cloth, as well as the paper towel,
> > as
> > well as the stream of water, etc. But, there are no instructions on the
> > integrated procedure of wiping your butt. Bill Gates has done an
> > excellent
> > job of that, as well as various procedures to insure that you do it
> > exactly
> > according to his protocol. That's why he is a multi-billionaire and
> > Linus is
> > a starving college student.
> >
> > Interchange is a do-it-yourself kit. An example has been provided to
> > give
> > you an idea of one of a thousand ways to wipe your butt. But, how you
> > end up
> > actually doing it is totally up to you and your imagination.
> >
> > -= Jim =-
> >
> > ----------------------------------------------------------------
> > Jim's Linux-Operated Underground Bomb Shelter
> >
> > Tagline for Thursday, October 25, 2001 at 21:20 PM:
> > "Instant gratification takes too long." - Carrie Fisher
> >
> > ----------------------------------------------------------------
> > This Linux System has been up 107 hours
> >
> > My web page: http://www.idk-enterprises.com
> > ----------------------------------------------------------------
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.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
>
> Affordable 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@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Fri Oct 26 12:36:00 2001
Subject: [ic] rounding off product prize
At 09:39 AM 10/26/2001 +0200, you wrote:
>torsdag 25. oktober 2001, 19:09, skrev du :
> > At 10:11 AM 10/25/2001 +0200, you wrote:
> > >There was no change. There are still two decimals after the . I really
> > > would like the ,00 - ending. It's a norwegian thing :)
> >
> > Please reply in context (at the bottom of the message, just below the text
> > you are replying to).
> >
> > It must be out of the question for some reason, but I have to ask - is
> > their any reason why you wouldn't just enter the prices in the products
> > table as integers? Also, are you trying to round shipping, salestax/vat
> > and grand totals as well?
> >
> > - Ed L.
>
>We enter the product price as integers, like 3136 so price exclusive salestax
>looks good. But when IC calculates the salestax/vat (in norway it's 24%) the
>product price inclusive salestax is 3888.64. My wish is to round that off
>to 3889,- or 3889,00. (also grand totals).
>
>Oystein
Well, there are probably a few ways to do this. The first thing that comes
to mind is to try something like this (on checkout.html) - the numbers will
be rounded up to the next integer:
[assign clear=1]
[assign shipping="[calc]int [shipping noformat=1] + 1[/calc]"]
[assign salestax="[calc]int [salestax noformat=1] + 1[/calc]"]
...etc. You could also do it within a [perl] block using $Tag->assign() but
you may find you have to preopen many tables related to shipping and
salestax, so the gains in execution speed may be marginal.
- Ed L.
> >
> > >Oystein
> > >(runnning IC 4.8.1)
> > >
> > >onsdag 24. oktober 2001, 17:53, skrev du :
> > > > At 10:56 AM 10/24/2001 +0200, you wrote:
> > > > >Anyone knows how to round off the product price up to the nearest
> > > > > integer.
> > > > >
> > > > >Tried to (first attempt) set locale price_picture "##.###,00" in the
> > > > >catalog.cfg but then ic couldn't calculate price with tax
> > > > >
> > > > >Any suggestions or do I have to get my sysadmin to come up with a
> > > > > small hack...?
> > > > >
> > > > >Regards from Oystein
> > > >
> > > > What happens if you drop the ',00': price_picture "##.###"?
> > > >
> > > > - Ed L.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > New Media E.M.S. Software Solutions for Business
> > > > 463 Main St., Suite D eCommerce | Consulting | Hosting
> > > > Placerville, CA 95667 edl@newmediaems.com
> > > > (530) 622-9421 http://www.newmediaems.com
> > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax
> > > > ===============================================================
> > > >
> > > > _______________________________________________
> > > > interchange-users mailing list
> > > > interchange-users@interchange.redhat.com
> > > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> > >
> > >_______________________________________________
> > >interchange-users mailing list
> > >interchange-users@interchange.redhat.com
> > >http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> > ===============================================================
> > New Media E.M.S. Software Solutions for Business
> > 463 Main St., Suite D eCommerce | Consulting | Hosting
> > Placerville, CA 95667 edl@newmediaems.com
> > (530) 622-9421 http://www.newmediaems.com
> > (866) 519-4680 Toll-Free (530) 622-9426 Fax
> > ===============================================================
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Curt Hauge)
Date: Fri Oct 26 12:38:46 2001
Subject: [ic] Upgrade from 4.6.5 to 4.8.2 breaks complex category search
IC 4.8.2-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
Hi list,
I just upgraded to 4.8.2 and its a beautiful thing! I use complex searches
within the design area of admin. This search worked great until I upgraded:
fi=products/st=text/se=Hammers/ml=15/tf=description/sf=category/co=yes
It produces this page error and the same in error log:
Sorry, no matches for
Errors:
Search strings must be at least 1 characters. You had no search string
specified.
Can someone recommend an equivalent search expression, without using
carriage returns like:
fi=products
st=text
se=Hammers
ml=15
tf=description
sf=category
co=yes
Mike Heins originally told me to use the / to eliminate the use of carriage
returns, but this does not work with 4.8.2. I can 'create' a working
expression in the design area, but it uses carriage returns, and when
exporting/importing the table it gets messed up.
Simple expressions work (Category=Hammers), so it must be something in the
complex search expression. I have searched google for 'complex search
interchange' and reviewed the docs on complex searches without an answer.
Thanks a bunch!
Curt Hauge
From: interchange-users at interchange.redhat.com (interch)
Date: Fri Oct 26 12:57:01 2001
Subject: [ic] Order profile question
With version 4.8.2 and up what decides what page is shown next on
success? On the html page I have mv_nextpage set but do not have &success
set in the profile. The problem I am having is that the system sends you
randomly to either the value of mv_nextpage, OR to etc/receipt.html which
is the &success value set in a different profile. I am also a little
confused over the difference between mv_todo and mv_doit, are those two
variables the same?
Thanks,
Chris
From: interchange-users at interchange.redhat.com (interch)
Date: Fri Oct 26 13:35:01 2001
Subject: [ic] Order profile question
Sorry I should have clarified a bit I think, I am referring to pages that
all use profiles.
Chris
On Fri, 26 Oct 2001, interch wrote:
>
> With version 4.8.2 and up what decides what page is shown next on
> success? On the html page I have mv_nextpage set but do not have &success
> set in the profile. The problem I am having is that the system sends you
> randomly to either the value of mv_nextpage, OR to etc/receipt.html which
> is the &success value set in a different profile. I am also a little
> confused over the difference between mv_todo and mv_doit, are those two
> variables the same?
>
> Thanks,
>
> Chris
>
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (interch)
Date: Fri Oct 26 14:37:01 2001
Subject: [ic] Deleting carts
Where in the stock foundation catalog are the cart contents deleted after
an order is placed?
Chris
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Fri Oct 26 14:46:01 2001
Subject: [ic] (no subject)Internatal Server error 500
Here is my out put on restart:
bash-2.04$ ./restart
Killing Interchange server 29677 with TERM.
Low traffic settings.
Calling UI......UI is loaded...
Interchange V4.8.2
Configuring catalog foundation...Using default DBM database...done.
Interchange server started in INET and UNIX mode(s) (process id 29693)
So I assume that I am useing DBM. Is the correct.
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Stefan Hornburg (Racke)
Sent: Friday, October 26, 2001 11:15 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] (no subject)
"Rick Eicher II" <rick@texol.net> writes:
> I have no idea. Just did a install. I assumed that the tar install use the
> GDBM like the rpm install does. I did not change that.
>
> Better question is how to fix it?
I suggest to search the ML archives for "sdbm".
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Alexis Bellido)
Date: Fri Oct 26 14:49:01 2001
Subject: [ic] Integrating payment
Hi, i know this is maybe an easy question, but i want just a guide of where
to look:
I want to integrate interchange shops with my payment provider system, who
tells me that they need credit card info, customer and products info sent
from my shop to their system.
Which modules, files or pages in interchange do i have to modify in order to
customize my payment processing needs?.
Thank you.
Best regards!.
Alexis Bellido M.
www.ventanazul.com - Web Design/ Hosting / eCommerce
alexis@ventanazul.com
ICQ: 95509561 | MSN Messenger: alexisbellido@hotmail.com
Tel: 4368700 - 9856982
From: interchange-users at interchange.redhat.com (Alexis Bellido)
Date: Fri Oct 26 14:51:23 2001
Subject: [ic] About Interchange documentation
Hi everybody, thanks for the replies about Interchange documentation, just
wanna be sure if i had everything to start my testings.
One note to Jim: There is no need to treat me like a baby new to Linux and
open source, i know what Bill Gates has done with millions and millions of
minds all over the world and i am surely not one his blind followers.
Well, gotta go to get some ms manuals to wipe my butt! :)
See you later.
Alexis Bellido M.
www.ventanazul.com Web Design/ Hosting / eCommerce
alexis@ventanazul.com
ICQ: 95509561 | MSN Messenger: alexisbellido@hotmail.com
Tel: 4368700 - 9856982
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Fri Oct 26 14:59:01 2001
Subject: [ic] Integrating payment
which company? Some are alread supported. If it is not supported you will
have to write in support.
Rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Alexis Bellido
Sent: Friday, October 26, 2001 1:47 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] Integrating payment
Hi, i know this is maybe an easy question, but i want just a guide of where
to look:
I want to integrate interchange shops with my payment provider system, who
tells me that they need credit card info, customer and products info sent
from my shop to their system.
Which modules, files or pages in interchange do i have to modify in order to
customize my payment processing needs?.
Thank you.
Best regards!.
Alexis Bellido M.
www.ventanazul.com - Web Design/ Hosting / eCommerce
alexis@ventanazul.com
ICQ: 95509561 | MSN Messenger: alexisbellido@hotmail.com
Tel: 4368700 - 9856982
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 26 15:14:00 2001
Subject: [ic] (no subject)Internatal Server error 500
"Rick Eicher II" <rick@texol.net> writes:
> Here is my out put on restart:
>
> bash-2.04$ ./restart
> Killing Interchange server 29677 with TERM.
> Low traffic settings.
> Calling UI......UI is loaded...
> Interchange V4.8.2
> Configuring catalog foundation...Using default DBM database...done.
> Interchange server started in INET and UNIX mode(s) (process id 29693)
>
> So I assume that I am useing DBM. Is the correct.
GDBM/SDBM are both DBM databases AFAIK.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Fri Oct 26 15:18:00 2001
Subject: [ic] form validation problems..
I am creating a custom form to gets some input from
the customers. Its on a page of its own.
What I want to do is:
- have customers fill the form
- all fields are required
- do some minimal validation of the data
- if the form is correctly filled
- insert data in the DB
- redirect the user to a specific page
- if its incorrect
- display error messages of wrong fields
- stay in the same form page
I have a form with:
<INPUT TYPE=hidden NAME=mv_todo VALUE=return>
<INPUT TYPE=hidden NAME=mv_form_profile VALUE=Check_form>
then, within a [set] block I defined "Check_form" like so:
[set Check_form]
&success=index
&fail=@@MV_PAGE@@
test_field=required
test_other=required
&fatal=1
test_last=required
[/set]
Still, I can get it to work. I would like to use perl if possible to
do the form validation and to insert the data into the DB.
Any help is appreciated.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Fri Oct 26 15:21:13 2001
Subject: [ic] Order profile question
interch <interch@web3.valley-internet.com> writes:
> With version 4.8.2 and up what decides what page is shown next on
> success? On the html page I have mv_nextpage set but do not have &success
> set in the profile. The problem I am having is that the system sends you
> randomly to either the value of mv_nextpage, OR to etc/receipt.html which
> is the &success value set in a different profile. I am also a little
> confused over the difference between mv_todo and mv_doit, are those two
> variables the same?
It seems that &success is somewhat persistent, what isn't the right
behaviour IMHO.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (interch)
Date: Fri Oct 26 15:38:01 2001
Subject: [ic] table-editor question
Is there any way to make the table-editor tag NOT try to authenticate a
user before adding an entry to the database? I would like to use the tag
for a publically accessable form that adds an entry to a table, but can't
figure out how to do so. Error log shows attempted update without
permission.
Chris
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Fri Oct 26 15:44:01 2001
Subject: [ic] (no subject)Internatal Server error 500
This is so strange. This worked when I did a rpm install. then did a tar
install now I get all these errors.
rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Stefan Hornburg (Racke)
Sent: Friday, October 26, 2001 2:11 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] (no subject)Internatal Server error 500
"Rick Eicher II" <rick@texol.net> writes:
> Here is my out put on restart:
>
> bash-2.04$ ./restart
> Killing Interchange server 29677 with TERM.
> Low traffic settings.
> Calling UI......UI is loaded...
> Interchange V4.8.2
> Configuring catalog foundation...Using default DBM database...done.
> Interchange server started in INET and UNIX mode(s) (process id 29693)
>
> So I assume that I am useing DBM. Is the correct.
GDBM/SDBM are both DBM databases AFAIK.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Frederic Steinfels)
Date: Fri Oct 26 15:52:01 2001
Subject: [ic] error in lib/vend/table/dbi.pm?
Hi everybody
I have just spent two hours finding out why my SQL Query "SHOW COLUMNS
FROM pricing" failed. I hope this fix will be implemented in the next
release.
In Interchange 4.8.1 dbi.pm line 1498 there is written
$update = 1 if $query !~ /^\s*select\s+/i;
In order to get those show and explain things to work, you whould write
$update = 1 if $query !~ /^\s*(select|show|explain)\s+/i;
or are there any security issues?
PS: When I first looked into interchange 4 months ago, I thought I could
never get my new site running. I had no perl nor sql knowledge. I have
done a lot of changes to the pricing and ordering stuff. I made a little
scripting language that allows me to set the options of a product to
certain values depending on other options (eliminate incompatible
options), user default option, supplied parameters in the price and
order tags, global default options (autoselect options if the user had
no chance to select them yet). I made my own search/result page and
routines, my own (faster) bar_link code that does not need going to the
admin ui / autopolulate anymore, lots of product tables calculated in
perl and my own shipping routine. I still have the impression that I
could have done the things I did in a more elegant way. If Interchange
was really well documented (more tutorials, samples, howtos), it would
take at least 5000 pages...
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Fri Oct 26 15:56:01 2001
Subject: [ic] Deleting carts
At 11:38 AM 10/26/2001 -0700, you wrote:
>Where in the stock foundation catalog are the cart contents deleted after
>an order is placed?
>
>Chris
Within the core code (VENDROOT/lib/Vend/Order.pm, I believe). You can
control this in your checkout profile with &final (&final=yes submits the
order and clears the cart contents; &final=no or the absence of &final will
cause the cart contents to remain).
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Fri Oct 26 16:21:01 2001
Subject: [ic] (no subject)Internatal Server error 500
Did a new install from rpm instead of tar. And it works now.
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick
Eicher II
Sent: Friday, October 26, 2001 2:51 PM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] (no subject)Internatal Server error 500
This is so strange. This worked when I did a rpm install. then did a tar
install now I get all these errors.
rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Stefan Hornburg (Racke)
Sent: Friday, October 26, 2001 2:11 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] (no subject)Internatal Server error 500
"Rick Eicher II" <rick@texol.net> writes:
> Here is my out put on restart:
>
> bash-2.04$ ./restart
> Killing Interchange server 29677 with TERM.
> Low traffic settings.
> Calling UI......UI is loaded...
> Interchange V4.8.2
> Configuring catalog foundation...Using default DBM database...done.
> Interchange server started in INET and UNIX mode(s) (process id 29693)
>
> So I assume that I am useing DBM. Is the correct.
GDBM/SDBM are both DBM databases AFAIK.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Fri Oct 26 16:31:01 2001
Subject: [ic] Integrating payment
We are using Verisign Payflow Pro. It is fairly seamless, already supported,
and works like you would expect it should.
Search the archives for verisign or signio
--
Fred Pope
Satcom Resources
970-748-3094
fred@satcomresources.com
http://www.satcomresources.com
From: interchange-users at interchange.redhat.com (Glenn McCalley)
Date: Fri Oct 26 16:35:01 2001
Subject: [ic] Install still (and more) Internal server error...
IC 8.4.2, FreeBSD 4.0, Perl 5.6.1
New install, no mods to IC
OK, haven't found out yet why the Orders and Merchandising buttons produce
Internal Server Error, each time, every time; and now clicking the "Promo"
column (either y or n) in the items table produces Internal Server Error.
Any (all) item(s), all the time. Completely repeatable. This happens in
the Foundation demo store, as well as a second store added after install
(based on foundation, though). Other web sites on the server are OK.
A perl.core file is produced in the catalog directory when the error occurs.
Web server log shows nothing except "Premature end of script headers" --
which is likely Perl giving an error message? That would be consistent with
the core file, anyone know if the "CGI::Carp fatalsToBrowser" and be added
to the code in hopes of getting something useful at the point the error
occurs? It's appaent my Perl's not happy with something.
Any suggestions appreciated muchly,
Glenn.
From: interchange-users at interchange.redhat.com (John Clayton)
Date: Fri Oct 26 16:38:01 2001
Subject: [ic] Product html files
Hello we are using IC 4.8.2, have it installed, have it working and are
trying to modify the Foundation catalog. Everything is fine except for the
dynamically produced pages. For example for each product item we add to the
catalog it produces a new html page based on that item's SKU (00029.html)
for item with SKU of 00029. Does anybody know where these are being made or
stored so that we can change the style of the page (logo, links and
background)? I am assuming that it has to do with one of the *.pm files, if
so which one? Can this be done?
Thank you
John
From: interchange-users at interchange.redhat.com (Joachim Leidinger)
Date: Fri Oct 26 17:01:00 2001
Subject: [ic] Install still (and more) Internal server error...
Glenn McCalley wrote:
> IC 8.4.2, FreeBSD 4.0, Perl 5.6.1
> New install, no mods to IC
>
> OK, haven't found out yet why the Orders and Merchandising buttons produce
> Internal Server Error, each time, every time; and now clicking the "Promo"
> column (either y or n) in the items table produces Internal Server Error.
[DEL]
> Any suggestions appreciated muchly,
I'm a FreeBSD 4.3, Perl 5.005_03 built for i386-freebsd and IC 8.4.2
user and an old german boy with a bad mental capability of the english
language. I've not gotten enough information, why you have trouble with
IC running under FreeBSD.
Can you give me a step-by-step process, how to reproduct such kind of
failure with IC under FreeBSD?
Did you ever change something in interchange.cfg?
Joachim
PS:
I'm to be on holiday tomorrow at Nov/27 for a one week and I will read
you email.
I use IC since the former same online shopping system "MiniVend Version
3.10" (3 or 4 year ago) and FreeBSD 3.11!
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Fri Oct 26 17:19:01 2001
Subject: [ic] Product html files
Actually you edit pages/flypage.html. That's the template for all the
product pages.
-----Original Message-----
From: John Clayton [mailto:john@everythingearth.com]
Sent: Friday, October 26, 2001 2:39 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] Product html files
Hello we are using IC 4.8.2, have it installed, have it working and are
trying to modify the Foundation catalog. Everything is fine except for the
dynamically produced pages. For example for each product item we add to the
catalog it produces a new html page based on that item's SKU (00029.html)
for item with SKU of 00029. Does anybody know where these are being made or
stored so that we can change the style of the page (logo, links and
background)? I am assuming that it has to do with one of the *.pm files, if
so which one? Can this be done?
Thank you
John
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Moe Pitman)
Date: Fri Oct 26 17:21:35 2001
Subject: [ic] Product html files
Hi John,
Modify CATROOT/pages/flypage.html
--Moe Pitman
John Clayton wrote:
>Hello we are using IC 4.8.2, have it installed, have it working and are
>trying to modify the Foundation catalog. Everything is fine except for the
>dynamically produced pages. For example for each product item we add to the
>catalog it produces a new html page based on that item's SKU (00029.html)
>for item with SKU of 00029. Does anybody know where these are being made or
>stored so that we can change the style of the page (logo, links and
>background)? I am assuming that it has to do with one of the *.pm files, if
>so which one? Can this be done?
>
>Thank you
>
>John
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (John Clayton)
Date: Fri Oct 26 17:28:01 2001
Subject: [ic] Product html files
Thank you very much.
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
patrick.bennett@ccgenesis.com
Sent: Friday, October 26, 2001 2:19 PM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] Product html files
Actually you edit pages/flypage.html. That's the template for all the
product pages.
-----Original Message-----
From: John Clayton [mailto:john@everythingearth.com]
Sent: Friday, October 26, 2001 2:39 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] Product html files
Hello we are using IC 4.8.2, have it installed, have it working and are
trying to modify the Foundation catalog. Everything is fine except for the
dynamically produced pages. For example for each product item we add to the
catalog it produces a new html page based on that item's SKU (00029.html)
for item with SKU of 00029. Does anybody know where these are being made or
stored so that we can change the style of the page (logo, links and
background)? I am assuming that it has to do with one of the *.pm files, if
so which one? Can this be done?
Thank you
John
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Fri Oct 26 17:50:00 2001
Subject: [ic] Product html files
At 01:39 PM 10/26/2001 -0700, you wrote:
>Hello we are using IC 4.8.2, have it installed, have it working and are
>trying to modify the Foundation catalog. Everything is fine except for the
>dynamically produced pages. For example for each product item we add to the
>catalog it produces a new html page based on that item's SKU (00029.html)
>for item with SKU of 00029. Does anybody know where these are being made or
>stored so that we can change the style of the page (logo, links and
>background)? I am assuming that it has to do with one of the *.pm files, if
>so which one? Can this be done?
Those are 'virtual' pages, created on-the-fly using the template page
called 'flypage.html'. Static html pages for each product are only
generated if you do a static build from within the UI. FWIW, you can make
a template page for any item (i.e. 00029.html) and put it in the catalog's
pages directory, and IC will use that instead of flypage, giving you some
ability to customize the look and feel on an item-by-item basis. Probably
better is to use PageSelectField to choose from a series of templates based
on a property of the product... or perhaps to store display attributes in a
database keyed by item sku, category or some other relation and use those
to set page properties on the fly...
There are many choices.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (John Clayton)
Date: Fri Oct 26 18:00:00 2001
Subject: [ic] Product html files
Thank you much
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed
LaFrance
Sent: Friday, October 26, 2001 2:50 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Product html files
At 01:39 PM 10/26/2001 -0700, you wrote:
>Hello we are using IC 4.8.2, have it installed, have it working and are
>trying to modify the Foundation catalog. Everything is fine except for the
>dynamically produced pages. For example for each product item we add to
the
>catalog it produces a new html page based on that item's SKU (00029.html)
>for item with SKU of 00029. Does anybody know where these are being made
or
>stored so that we can change the style of the page (logo, links and
>background)? I am assuming that it has to do with one of the *.pm files,
if
>so which one? Can this be done?
Those are 'virtual' pages, created on-the-fly using the template page
called 'flypage.html'. Static html pages for each product are only
generated if you do a static build from within the UI. FWIW, you can make
a template page for any item (i.e. 00029.html) and put it in the catalog's
pages directory, and IC will use that instead of flypage, giving you some
ability to customize the look and feel on an item-by-item basis. Probably
better is to use PageSelectField to choose from a series of templates based
on a property of the product... or perhaps to store display attributes in a
database keyed by item sku, category or some other relation and use those
to set page properties on the fly...
There are many choices.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Fri Oct 26 18:47:01 2001
Subject: [ic] About Interchange documentation
On Fri, 26 Oct 2001, Alexis Bellido wrote:
AB>>One note to Jim: There is no need to treat me like a baby new to Linux and
AB>>open source, i know what Bill Gates has done with millions and millions of
AB>>minds all over the world and i am surely not one his blind followers.
I'm sorry if you found it offensive.
Apparently, my main concept was missed. And, that concept being that with
Interchange you have a pile of building blocks and an unlimited supply of
each style block. With that pile you can make anything you want. There is
documentation for each item in the pile of blocks, but not for what you
choose to do with them, nor for the examples that someone else has built.
I see quite a few Gates followers come through here asking questions similar
to yours. I made the assumption (mistakenly apparently) that was also your
background.
I'm sorry if my attempt at humor clouded the basic intention of my writing.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, October 26, 2001 at 18:40 PM:
Overload--core meltdown sequence initiated.
----------------------------------------------------------------
This Linux System has been up 8 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Fri Oct 26 18:51:01 2001
Subject: [ic] form validation problems..
On 26 Oct 2001, Eduardo Dominguez wrote:
ED>>I am creating a custom form to gets some input from
ED>>the customers. Its on a page of its own.
ED>>
ED>>What I want to do is:
ED>> - have customers fill the form
ED>> - all fields are required
ED>> - do some minimal validation of the data
ED>> - if the form is correctly filled
ED>> - insert data in the DB
ED>> - redirect the user to a specific page
ED>> - if its incorrect
ED>> - display error messages of wrong fields
ED>> - stay in the same form page
ED>>
ED>>
ED>>I have a form with:
ED>>
ED>> <INPUT TYPE=hidden NAME=mv_todo VALUE=return>
ED>> <INPUT TYPE=hidden NAME=mv_form_profile VALUE=Check_form>
Take a look at checkout.html. It has a lot of fields that are required, and
once the information is gathered it is inserted in the database. You may
need to add fields to the database to get it to work.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, October 26, 2001 at 18:50 PM:
Exploding piglets!!! My god, it's raining bacon!
----------------------------------------------------------------
This Linux System has been up 8 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jason Balicki)
Date: Fri Oct 26 19:16:01 2001
Subject: [ic] Product html files
John Clayton wrote:
>
> Hello we are using IC 4.8.2, have it installed, have it working and are
> trying to modify the Foundation catalog. Everything is fine except for the
> dynamically produced pages. For example for each product item we add to the
> catalog it produces a new html page based on that item's SKU (00029.html)
> for item with SKU of 00029. Does anybody know where these are being made or
> stored so that we can change the style of the page (logo, links and
> background)? I am assuming that it has to do with one of the *.pm files, if
> so which one? Can this be done?
John, I'm just starting to work on Interchange myself, and it seems like
you're where I was about a week ago, so I just wanted to give you a few
pointers I wish I had then...
First, as others have pointed out, the pages are generated dynamicaly
and are not stored, per se. You can edit the flypage.html to change
some things, but I think what you were asking was how to change the
look and feel.
If you haven't yet, get the tutorial and follow the steps, it'll give
you a good background on what's going on in ic. The docs available
*are* good, they just don't hold your hand, that's what your fellow
users are supposed to be for. :) Get them now and they'll make sense
to you later.
Anyway, foundation is a fully functional store, as I'm sure you're
aware,
but it's just one implimentation of many, many ways you can do things.
IC has a tag language that's damn comprehensive, almost a programming
language, IMO. (It's got loops and if-then's and all that. :)
Here's what I've figured out so far about the foundation store:
The "look and feel" of the site is defined in a few places, some of
it is in /var/lib/interchange/foundation/templates/foundation/theme.cfg
(I'm assuming an RPM installation, these files may be in different
places if you've done a source install.) In theme.cfg you can change
things like color of the menu bar, side bar, links, etc. (The css, if
you know what that is -- I don't know how much HTML and whatnot you
know, sorry if I'm seeming rudimentary.)
Ok, now, foundation has a few templates that define the top, left, right
and bottom of every page you see. Each dynamic page can either be
a left only, left-right, and noleft with corresponding templates in
/var/lib/interchange/foundation/templates/foundation/regions/. In there
you'll see the files:
LEFTONLY_TOP, LEFTRIGHT_TOP, NOLEFT_TOP, LEFTONLY_BOTTOM,
LEFTRIGHT_BOTTOM,
and NOLEFT_BOTTOM.
These are pretty much self explanitory, but if you edit these then
you'll
see the corresponding changes on the dynamic pages that contain them.
The easy thing to do is change them and see what happens. It's good to
know some HTML, but you'll see some ic tags in there too. Leave them
alone for now until you understand that tag language. You can tell an
IC tag because they are surrounded by '[' and ']'. Oh yeah, MAKE
BACKUPS
of every file you edit. Preferebly BEFORE you edit it. :)
In /var/lib/interchange/foundation/pages are the, well, pages. You
can make changes to the pages themselves here. You'll see a lot of
things
like "__SOMEVAR__" -- those are defined in a file called variables.txt
in /var/lib/interchange/foundation/products/. Don't change
variables.txt
by hand unless you really, really need to. The admin UI is pretty good,
though it does have some quirks. It can seem overwhelming, but you'll
get the hang of it. If you screw it up (I did) you can uninstall the
RPM and reinstall to your hearts content and try again. (You may have
to clean up /var/lib/interchange/foundation after you uninstall the
RPM though. Make sure you back up things you want to keep to some
other directory, then copy them back after you've reinstalled.)
That should get you going on the customization of foundation, and it
really is good enough for a basic store. You may want to make a new
catalog for testing purposes so you can try building one from scratch,
that's what I'm doing at this point -- my boss wants a live store by
Nov. 7th, so I'm just going to use a modified foundation and take
time to customize a catalog to switch to later.
I hope I helped, good luck... I may ask *you* some questions later on
when you know more. :)
Also, if anyone else on the list notices something I've got wrong,
PLEASE
tell me. As I said, I'm new too...
--Jason Balicki
Sr. Network Engineer
ASI Computers, Maryland Heights, MO
From: interchange-users at interchange.redhat.com (John Clayton)
Date: Fri Oct 26 20:49:01 2001
Subject: [ic] Product html files
It's good to know I am not alone, thanks.
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Jason Balicki
Sent: Friday, October 26, 2001 4:14 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Product html files
John Clayton wrote:
>
> Hello we are using IC 4.8.2, have it installed, have it working and are
> trying to modify the Foundation catalog. Everything is fine except for
the
> dynamically produced pages. For example for each product item we add to
the
> catalog it produces a new html page based on that item's SKU (00029.html)
> for item with SKU of 00029. Does anybody know where these are being made
or
> stored so that we can change the style of the page (logo, links and
> background)? I am assuming that it has to do with one of the *.pm files,
if
> so which one? Can this be done?
John, I'm just starting to work on Interchange myself, and it seems like
you're where I was about a week ago, so I just wanted to give you a few
pointers I wish I had then...
First, as others have pointed out, the pages are generated dynamicaly
and are not stored, per se. You can edit the flypage.html to change
some things, but I think what you were asking was how to change the
look and feel.
If you haven't yet, get the tutorial and follow the steps, it'll give
you a good background on what's going on in ic. The docs available
*are* good, they just don't hold your hand, that's what your fellow
users are supposed to be for. :) Get them now and they'll make sense
to you later.
Anyway, foundation is a fully functional store, as I'm sure you're
aware,
but it's just one implimentation of many, many ways you can do things.
IC has a tag language that's damn comprehensive, almost a programming
language, IMO. (It's got loops and if-then's and all that. :)
Here's what I've figured out so far about the foundation store:
The "look and feel" of the site is defined in a few places, some of
it is in /var/lib/interchange/foundation/templates/foundation/theme.cfg
(I'm assuming an RPM installation, these files may be in different
places if you've done a source install.) In theme.cfg you can change
things like color of the menu bar, side bar, links, etc. (The css, if
you know what that is -- I don't know how much HTML and whatnot you
know, sorry if I'm seeming rudimentary.)
Ok, now, foundation has a few templates that define the top, left, right
and bottom of every page you see. Each dynamic page can either be
a left only, left-right, and noleft with corresponding templates in
/var/lib/interchange/foundation/templates/foundation/regions/. In there
you'll see the files:
LEFTONLY_TOP, LEFTRIGHT_TOP, NOLEFT_TOP, LEFTONLY_BOTTOM,
LEFTRIGHT_BOTTOM,
and NOLEFT_BOTTOM.
These are pretty much self explanitory, but if you edit these then
you'll
see the corresponding changes on the dynamic pages that contain them.
The easy thing to do is change them and see what happens. It's good to
know some HTML, but you'll see some ic tags in there too. Leave them
alone for now until you understand that tag language. You can tell an
IC tag because they are surrounded by '[' and ']'. Oh yeah, MAKE
BACKUPS
of every file you edit. Preferebly BEFORE you edit it. :)
In /var/lib/interchange/foundation/pages are the, well, pages. You
can make changes to the pages themselves here. You'll see a lot of
things
like "__SOMEVAR__" -- those are defined in a file called variables.txt
in /var/lib/interchange/foundation/products/. Don't change
variables.txt
by hand unless you really, really need to. The admin UI is pretty good,
though it does have some quirks. It can seem overwhelming, but you'll
get the hang of it. If you screw it up (I did) you can uninstall the
RPM and reinstall to your hearts content and try again. (You may have
to clean up /var/lib/interchange/foundation after you uninstall the
RPM though. Make sure you back up things you want to keep to some
other directory, then copy them back after you've reinstalled.)
That should get you going on the customization of foundation, and it
really is good enough for a basic store. You may want to make a new
catalog for testing purposes so you can try building one from scratch,
that's what I'm doing at this point -- my boss wants a live store by
Nov. 7th, so I'm just going to use a modified foundation and take
time to customize a catalog to switch to later.
I hope I helped, good luck... I may ask *you* some questions later on
when you know more. :)
Also, if anyone else on the list notices something I've got wrong,
PLEASE
tell me. As I said, I'm new too...
--Jason Balicki
Sr. Network Engineer
ASI Computers, Maryland Heights, MO
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Kevin Walsh)
Date: Fri Oct 26 21:50:01 2001
Subject: [ic] Flypage, multiple product tables, and [item-field]
> When I enter a URL with a valid code in my browser, I get the correct page
> with the correct template. This part works great no matter which table is
> being accessed or which template is being used. However, only the first
> [item-field fieldname] tag is displaying any data. None of the other
> [item-field...] tags are resulting in any data from the database. I can
> change the field that is being accessed in the first tag and can
> successfully display any field in the database as long as it is the first
> [item-field...] tag. The other [item-field...] tags in the template are
> ignored completely (not entirely true, they are apparently interpolated to
> some extent because they have been removed in the resulting HTML page).
> This behavior is the same no matter which template is being used, which
> table is being accessed, or which fields are set to be displayed.
>
> If I remove either of the tables from the ProductFiles directive, everything
> works great and all fields are displayed. It does not matter which
> "product" table is specified as long as there is only one.
>
> If I use [item-data db field] instead of [item-field field] then everything
> works fine, even if multiple tables are listed as ProductFiles. The
> downsides of this include the need to create a template for each product
> table and that the name of the database gets mixed up in the design of the
> page instead of being abstracted.
> The problem appears to be in Interpolate.pm
>
The fly_page() sub correctly works out the table to use and stores
the name in the $base variable. This variable would have to be
passed to the labeled_list() sub, on to the iterate_array_list() sub
and, in turn, to the various subs that control the [PREFIX-field],
[PREFIX-description] and [PREFIX-price] tags etc.
Until this is done, you will have to make do with your workaround,
and use the [PREFIX-data] tag. As you only have two tables, the
duplication will not be as bad as it first appears, and could be
consolidated back at a later date.
I would suggest raising this as an issue on the bugzilla system,
where due attention will be given.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
From: interchange-users at interchange.redhat.com (Kevin Walsh)
Date: Fri Oct 26 22:23:01 2001
Subject: [ic] Interchange manuals and docs
> > > Hi, i have downloaded some guides in pdf format from Red Hat's web, but
it
> > > seems as they are just for certain tasks.
> > >
> > > Where can i download complete documentation for Interchange?, or i just
have
> > > to buy the printed docs the Red Hat sells?, if it's so this is not so
"open"
> > > source as should be right?.
> > >
> > You are still using the Bill Gates mentality. He tells you what to do and
how
> > to do it. When you wipe your butt, be sure to use your right hand and 4
> > pieces of toilet paper and go from back to front.
> >
> Question: Does Bill wipe his own butt?
>
The flames were a little uncalled for, I think.
We all have to start somewhere.
In answer to the original question: I expect that you found your
PDFs at http://interchange.redhat.com/cgi-bin/ic/dev-4.8/index.html.
If not then take a look there. If these are the ones you have,
then you will find the "Tags Reference" the most useful, closely
followed by the "Database" and "Configuration" guides.
The "Catalog Building Tutorial" gives a good grounding in what
Interchange does and how to use it to build your project.
Other than the docs, playing with the included "Foundation" demo
is probably the best way to get to grips with the system, until
you are confident enough to tackle building your own system from
scratch. I have found that a lot of the people I speak to are
using modified "Foundation" and "Construct" demos as the basis for
their own sites.
In answer to the Bill Gates question: I would think that, given the
amount of money Bill earns every day, taking time out to get up and
walk to the toilet would result in a considerable loss of earnings.
With that in mind, he probably avoids the entire butt-wiping issue by
having himself wired up to a nutrient-drip-delivery machine and a
catheter when he turns up for work each morning.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
From: interchange-users at interchange.redhat.com (utomo)
Date: Sat Oct 27 06:04:01 2001
Subject: [ic] Interchange manuals and docs
Hello all,
I hope Red Hat can consider to offer Download version of documentation
(if it is not same between downloaded version and printed version),
which is cheaper than printed version. Because there is no print cost
and shipping and handling cost, and easy to update it. This will help
user from outside US because they did not need to pay expensive shipping
cost, also this will help Redhat to make money eventough it is just
small, but maybe they can use it to produce more complete docs.
And please delete some message when you reply, because sometimes the
reply is just small but the rest of the message is not deleted.
Thanks,
Utomo
> Message: 23
> From: "Alexis Bellido" <intranet@dnet.com.pe>
> To: <interchange-users@interchange.redhat.com>
> Date: Thu, 25 Oct 2001 19:08:04 -0500
> Subject: [ic] Interchange manuals and docs
> Reply-To: interchange-users@interchange.redhat.com
>
> Hi, i have downloaded some guides in pdf format from Red
> Hat's web, but it seems as they are just for certain tasks.
>
> Where can i download complete documentation for Interchange?,
> or i just have to buy the printed docs the Red Hat sells?, if
> it's so this is not so "open" source as should be right?.
>
> Regards!.
>
> Alexis Bellido M.
> www.ventanazul.com - Web Design/ Hosting / eCommerce
> alexis@ventanazul.com
>
> ICQ: 95509561 | MSN Messenger: alexisbellido@hotmail.com
> Tel: 4368700 - 9856982
>
>
From: interchange-users at interchange.redhat.com (Kevin Walsh)
Date: Sat Oct 27 12:07:00 2001
Subject: [ic] Deleting carts
> > Where in the stock foundation catalog are the cart contents deleted after
> > an order is placed?
> >
> Within the core code (VENDROOT/lib/Vend/Order.pm, I believe). You can
> control this in your checkout profile with &final (&final=yes submits the
> order and clears the cart contents; &final=no or the absence of &final will
> cause the cart contents to remain).
>
The profile part is correct.
The actual code that removes the cart contents, if you want to
see it, is in the bin/interchange perl script. Look at the
%form_action hash, where you will find the 'submit' key and its
associated sub. The cart is cleared at the end of that sub with
the following code:
# Remove the items
@$Vend::Items = ();
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Sat Oct 27 20:58:01 2001
Subject: [ic] options
We modified our options admin page so that we can accomadate ICs built in
pricing variance functionality in a really slick way.
This allows us, selling high end electronics equipment with massive
configuration option alternatives (400 for one product), to speed our data
entry rapidly. By adding a field that accesses the price field in the
database options table, we are able to establish multiple options with
prices and have IC automatically calculate the the price.
All we did is modify the code for the page that admins the simple options in
the UI. But its really handy. I can show someone exaclty how we did it if
they want, but its really pretty straightforward...you just need to go into
that form, and add the input and reference the query field for the value,
then you update the query up above to include the new variable in the update
statement. Essentially all you are doing is adding to that form the
funcionality to reference one additonal field...price, and you do that in
all appropriate places.
The mod will take you about a half hour, and is realy great, and it makes
the options work beautifully. It is probably not for those who are new to
interchnage, but those who understand the guts of it, this is relatively
easy.
Best..
FP
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Sat Oct 27 21:07:00 2001
Subject: [ic] options
> We modified our options admin page so that we can accomadate
> ICs built in pricing variance functionality in a really slick way.
>
> This allows us, selling high end electronics equipment with
> massive configuration option alternatives (400 for one
> product), to speed our data entry rapidly. By adding a field
> that accesses the price field in the database options table,
> we are able to establish multiple options with prices and
> have IC automatically calculate the the price.
>
> All we did is modify the code for the page that admins the
> simple options in the UI. But its really handy. I can show
> someone exaclty how we did it if they want, but its really
> pretty straightforward...you just need to go into that form,
> and add the input and reference the query field for the
> value, then you update the query up above to include the new
> variable in the update statement. Essentially all you are
> doing is adding to that form the funcionality to reference
> one additonal field...price, and you do that in all
> appropriate places.
>
> The mod will take you about a half hour, and is realy great,
> and it makes the options work beautifully. It is probably not
> for those who are new to interchnage, but those who
> understand the guts of it, this is relatively easy.
>
> Best..
> FP
I'm sure we'd all appreciate a quick HOWTO posted to the list if you
were so inclined. Thanks,
-Dan
From: interchange-users at interchange.redhat.com (Alex Brecher)
Date: Sun Oct 28 05:38:01 2001
Subject: [ic] IC Installation and development
We are a medium sized hosting company looking to offer IC to our users.
We're looking for an individual who is very experienced in IC installation
and who has experience implementing IC for virtual hosting accounts. This
same person should also be available to manage and offer support for the IC
installation on a regular basis.
It would also be helpful if this individual has experience in designing and
coding IC web sites as well since many of our clients would need customized
IC installations.
If you are interested in working with us please respond this email as soon
as possible with your "resume." Your "resume" should be compiled of your
contact information, the history you have with Interchange and Minivend,
completed IC projects, rates, etc. etc.
Best Regards,
Alex Brecher
Visit us at http://www.Successfulhosting.com
We'll make your web site a success!
*****PLEASE DO NOT DELETE ANY PART OF THIS MESSAGE WHEN REPLYING*****
From: interchange-users at interchange.redhat.com (DK-Net, creators of internet solutions)
Date: Sun Oct 28 08:09:01 2001
Subject: [ic] (no subject)
DK-Net, creators of internet solutions
Telefoon : 0522 - 24 61 20
Fax : 0522 - 24 60 21
E-mail : info@dknet.nl
Website : www.dknet.nl
***************************** DISCLAIMER *****************************
De informatie in deze e-mail is uitsluitend bestemd voor de geadresseerde.
Indien u niet de geadresseerde bent, heeft u geen recht kennis te nemen van
deze e-mail, het te kopiëren of te verstrekken aan andere personen dan de
geadresseerde. DK-Net is niet verantwoordelijk en wijst iedere
aansprakelijkheid af voor en/of in verband met alle gevolgen en/of schade
van een juiste en volledige verzending en ontvangst van de inhoud en van
deze e-mail.
***************************************************************************
From: interchange-users at interchange.redhat.com (chaim klar)
Date: Sun Oct 28 10:19:00 2001
Subject: [ic] Tax Handling
Hi:
I would like to know if there is a way to set in interchange that it should
also charge tax for the handling charge.
Thank you in advance
Chaim Klar
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Sun Oct 28 14:48:04 2001
Subject: [ic] error in lib/vend/table/dbi.pm?
Frederic Steinfels <fredo@dvdupgrades.ch> writes:
> Hi everybody
>
> I have just spent two hours finding out why my SQL Query "SHOW COLUMNS
> FROM pricing" failed. I hope this fix will be implemented in the next
> release.
>
> In Interchange 4.8.1 dbi.pm line 1498 there is written
>
> $update = 1 if $query !~ /^\s*select\s+/i;
>
> In order to get those show and explain things to work, you whould write
>
> $update = 1 if $query !~ /^\s*(select|show|explain)\s+/i;
>
> or are there any security issues?
I suppose no one thought of these statements resp. a meaningful use
of these statements within IC. You're supposed to know your database
structure beforehand.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Sun Oct 28 14:52:00 2001
Subject: [ic] table-editor question
interch <interch@web3.valley-internet.com> writes:
> Is there any way to make the table-editor tag NOT try to authenticate a
> user before adding an entry to the database? I would like to use the tag
> for a publically accessable form that adds an entry to a table, but can't
> figure out how to do so. Error log shows attempted update without
> permission.
Permission means in this case there is no corresponding setting
in $Scratch->{mv_data_enable}. AFAIR there is an option for the
table editor, probably auto_secure=1 to produce this scratch
variable.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Sun Oct 28 15:54:00 2001
Subject: [ic] form validation problems..
Eduardo Dominguez <edmz@yahoo.com> writes:
> I am creating a custom form to gets some input from
> the customers. Its on a page of its own.
>
> What I want to do is:
> - have customers fill the form
> - all fields are required
> - do some minimal validation of the data
> - if the form is correctly filled
> - insert data in the DB
> - redirect the user to a specific page
> - if its incorrect
> - display error messages of wrong fields
> - stay in the same form page
There are various ways to do this. You can use the
insert-data-into-db from IC together with its form
validation feature.
mv_todo=set
...various mv_data settings...
mv_form_profile=Check_form
> [set Check_form]
> &success=index
> &fail=@@MV_PAGE@@
> test_field=required
> test_other=required
> &fatal=1
> test_last=required
> [/set]
Looks fine.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (interch)
Date: Sun Oct 28 16:02:01 2001
Subject: [ic] disappearing tables in admin interface
We are running IC 4.8.2 and for some reason the table listing in the
administration interface just disappeared. This is strange since the
catalog is still working, but it isn't acknowledging that there are any
database tables. Has this happened to anyone else, or does someone know
how to fix it? Im using mysql as our database also.
Also... Does anyone know what the limit is for the number of items in the
cart? We have about 50,000 but want to add more, but it seems to be
eating up a lot of memory.
Thanks alot...
-Steve Boyle
From: interchange-users at interchange.redhat.com (Anton van de Plas)
Date: Sun Oct 28 16:15:00 2001
Subject: [ic] disappearing tables in admin interface
Steve,
We had the same problem. Fixed it by going to the access area in Admin and
set the permissions for the user manually, so not as super user. This
brought back the tables and also the page editor functions that had
disappeared.
Anton
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
interch
Sent: Sunday, October 28, 2001 4:01 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] disappearing tables in admin interface
We are running IC 4.8.2 and for some reason the table listing in the
administration interface just disappeared. This is strange since the
catalog is still working, but it isn't acknowledging that there are any
database tables. Has this happened to anyone else, or does someone know
how to fix it? Im using mysql as our database also.
Also... Does anyone know what the limit is for the number of items in the
cart? We have about 50,000 but want to add more, but it seems to be
eating up a lot of memory.
Thanks alot...
-Steve Boyle
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (hubie17)
Date: Sun Oct 28 18:01:01 2001
Subject: [ic] Help
Hello,
I am interested in hiring someone to fix a few things on my website? Please
email me back if you are interested in making some money. The list of
things which need to be fix are: 1. I need the credit card numbers to come
with my email notification. 2. I need the color of the shopping cart page to
match that of my page. 3. I need to have my logo come up. 4. I need the
buy now .gifs to appear on every page. 5. I need the recalculate button to
appear on the checkout page, along with the credit card .gifs. 6. I need to
have the correct flat fees apply when people order form other countries. 7.
I need to be told how to have items show up in two categories. These are
all the things I need fixed, it looks like a lot but it will only probably
take like 30 mins - 1 hr. I don’t know the programming enough to fix this
stuff. Please let me know how I can get this stuff fixed and fast.
Thank you
Jason
From: interchange-users at interchange.redhat.com (Jonas Hoffmann)
Date: Mon Oct 29 04:08:01 2001
Subject: [ic] problems with the [if] Statement
Hi !
I have problems with the if Statement.
I have some products in the products.txt with some empty fields like this :
sku description price image category display beschreibung
einheit saeure restzucker alkohol jahrgang auszeichnung lage
36 Rondo Tafelwein trocken 0,75 Ltr. 11.00 Rotwein
Now i want to let some fields empty in my flypage if there are no values in
the products table, here is what i try but it doesnt work :(
[if item-restzucker eq ""]
<td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
[/if]
i tried some others also but it doesnt work :(
mfg. Jonas
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 29 04:23:01 2001
Subject: [ic] problems with the [if] Statement
Jonas Hoffmann <ruby@joelh.de> writes:
> Hi !
>
> I have problems with the if Statement.
>
> I have some products in the products.txt with some empty fields like this :
> sku description price image category display beschreibung
> einheit saeure restzucker alkohol jahrgang auszeichnung lage
> 36 Rondo Tafelwein trocken 0,75 Ltr. 11.00 Rotwein
>
> Now i want to let some fields empty in my flypage if there are no values in
> the products table, here is what i try but it doesnt work :(
>
>
> [if item-restzucker eq ""]
> <td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
> [/if]
Try:
[if-item-field restzucker]
<td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
[/if-item-field]
which is very well documented.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Jonas Hoffmann)
Date: Mon Oct 29 05:22:02 2001
Subject: [ic] problems with the [if] Statement
Am Montag, 29. Oktober 2001 09:23 schrieben Sie:
> Jonas Hoffmann <ruby@joelh.de> writes:
> > Hi !
> >
> > I have problems with the if Statement.
> >
> > I have some products in the products.txt with some empty fields like this
> > : sku description price image category display
> > beschreibung einheit saeure restzucker alkohol jahrgang
> > auszeichnung lage 36 Rondo Tafelwein trocken 0,75 Ltr.
> > 11.00 Rotwein
> >
> > Now i want to let some fields empty in my flypage if there are no values
> > in the products table, here is what i try but it doesnt work :(
> >
> >
> > [if item-restzucker eq ""]
> > <td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
> > [/if]
>
> Try:
> [if-item-field restzucker]
> <td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
> [/if-item-field]
>
> which is very well documented.
>
> Ciao
> Racke
But this does not work.
[if-item-field restzucker] is not accepted and [if item-field restzucker] is
accepted by the interchange Server but it does not work
[/if-item-field] is not accepted by the Interchange Server.
Is an empty field like "" or is it like a NULL in a DB field ? And how can i
test NULL in a if Statement ?
i know the documentation but there is nothing to find about item's.
Perhaps its my bad english bu i must say that the docs and manuals are not
really good for my taste. It could be because my i'm not good in PERL but i
think interchange is for people without PERLknowlege.
From: interchange-users at interchange.redhat.com (root)
Date: Mon Oct 29 05:40:02 2001
Subject: [ic] problems with the [if] Statement
Am Montag, 29. Oktober 2001 09:23 schrieben Sie:
> Try:
> [if-item-field restzucker]
> <td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
> [/if-item-field]
>
> which is very well documented.
>
> Ciao
> Racke
Upps,
i'am sorry i had a Space after restzucker and that was the problem, sorry.
mfg. Jonas
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 29 05:52:00 2001
Subject: [ic] problems with the [if] Statement
Jonas Hoffmann <ruby@joelh.de> writes:
> Am Montag, 29. Oktober 2001 09:23 schrieben Sie:
> > Jonas Hoffmann <ruby@joelh.de> writes:
> > > Hi !
> > >
> > > I have problems with the if Statement.
> > >
> > > I have some products in the products.txt with some empty fields like this
> > > : sku description price image category display
> > > beschreibung einheit saeure restzucker alkohol jahrgang
> > > auszeichnung lage 36 Rondo Tafelwein trocken 0,75 Ltr.
> > > 11.00 Rotwein
> > >
> > > Now i want to let some fields empty in my flypage if there are no values
> > > in the products table, here is what i try but it doesnt work :(
> > >
> > >
> > > [if item-restzucker eq ""]
> > > <td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
> > > [/if]
> >
> > Try:
> > [if-item-field restzucker]
> > <td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
> > [/if-item-field]
> >
> > which is very well documented.
> >
> > Ciao
> > Racke
>
> But this does not work.
>
> [if-item-field restzucker] is not accepted and [if item-field restzucker] is
> accepted by the interchange Server but it does not work
>
> [/if-item-field] is not accepted by the Interchange Server.
My example is certainly correct, you probably have other problems
in your setup/page.
>
> Is an empty field like "" or is it like a NULL in a DB field ? And how can i
> test NULL in a if Statement ?
An empty field and NULL is like "".
>
> i know the documentation but there is nothing to find about item's.
There is a section about item lists.
> Perhaps its my bad english bu i must say that the docs and manuals are not
> really good for my taste. It could be because my i'm not good in PERL but i
> think interchange is for people without PERLknowlege.
Yes and no. You can use IC without Perl knowledge, but it helps
a lot.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Mon Oct 29 10:36:01 2001
Subject: [ic] options
HOW TO
Find the form that controls the simple options page in the admin. Using your
favorite editor, open up the file template called item_option_simple. We
used vi to edit the file.
Add a form input field to that form that references the price wherever you
see fit. I did it after the textarea entry. The Code that I added reads as
follows:
<tr>
<td> Price: <input type="text" name="opt_price_[scratch mod_code]"
size="50" value="[filter entities][sql-param price][/filter]"></td>
</tr>
This will add it to the edit templates.
Then you are going to modify the query up above that inserts the data.
First you need to define the variable for the query so add this line:
my $price = $CGI->{"opt_price_$key"};
This line goes right under the three others that are defining name, value
and label.
Then a ways further down, in the SQL set statements add:
$odb->set_field($key,'price',$price);
Finally towards the very bottom you need to add this line for the add new
option dialog below the textarea and aboe the input button.
Price:<Input type="text" name="opt_price_" size"30"><br>
Now say you have a product that is a car. The car is avaliable in three
colors, Red Blue and Green which add to the price 50,100&150 respectively.
In the text areas you might enter the following values:
Name: CLR
Label: Color
Values: R=Red
B=Blue
G=Green
Price: R=50,B=100,G=150
Now when you select these options, it will automatically configure the price
when you add the item to the basket. Our next task is too add some
javascript that will automatically calculate the price as the user select
the options.
If you would like to see an example of how this works on the output, you can
go to our page at http://www.satcomresources.com and search for dst300, and
then click on the DST300 Ku-Band Satellite Terminal and you will see how you
can configure the unit, and the price is automatically calculated.
Interchange fully supports this, but it was just not built into the admin
yet.
Good Luck.
--
Fred Pope
Satcom Resources
970-748-3094
fred@satcomresources.com
http://www.satcomresources.com
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Mon Oct 29 11:39:01 2001
Subject: [ic] Random? Items not appearing
Hello again all,
One of our IC (4.8.2 RH7.1, Perl 5.6.1) sites appears to be
"forgetting" about a few item in the database. Everything shows up fine in
the admin UI, you can search for/modify/delete/clone the items in the
UI. But the front end doesn't display them. You can do a search for the
or other unique text/entries the item may have and it will always come up with:
Sorry, I didn't find any matches for ARRAY(0x837df18).
With no error.log entry.
I've checked the txt structure. Deleted the gdbm/recreated it. I even
tried deleting the entry, and then recreating it with the same sku #. The
behavior is still the same. This got me to thinking that there might be an
old entry fragment or something. I checked all the db/txt files and
couldn't find any reference to any of the faulty sku's. They only appear
in the products table. At this point I'm almost thinking that it is some
strange quirk in GDBM, and am about ready to try migrating it to pgsql to
see if that corrects the problem. There are only 3/>500 items that exhibit
this behavior, and before I do that, I wanted to see if anyone on the list
has experienced anything similar to this.
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Todd L. Cawthron)
Date: Mon Oct 29 11:42:08 2001
Subject: [ic] Flypage, multiple product tables, and [item-field]
> > When I enter a URL with a valid code in my browser, I get the correct
page
> > with the correct template. This part works great no matter which table
is
> > being accessed or which template is being used. However, only the first
> > [item-field fieldname] tag is displaying any data. None of the other
> > [item-field...] tags are resulting in any data from the database. I can
> > change the field that is being accessed in the first tag and can
> > successfully display any field in the database as long as it is the
first
> > [item-field...] tag. The other [item-field...] tags in the template are
> > ignored completely (not entirely true, they are apparently interpolated
to
> > some extent because they have been removed in the resulting HTML page).
> > This behavior is the same no matter which template is being used, which
> > table is being accessed, or which fields are set to be displayed.
> >
> > If I remove either of the tables from the ProductFiles directive,
everything
> > works great and all fields are displayed. It does not matter which
> > "product" table is specified as long as there is only one.
> >
> > If I use [item-data db field] instead of [item-field field] then
everything
> > works fine, even if multiple tables are listed as ProductFiles. The
> > downsides of this include the need to create a template for each product
> > table and that the name of the database gets mixed up in the design of
the
> > page instead of being abstracted.
> > The problem appears to be in Interpolate.pm
> >
> The fly_page() sub correctly works out the table to use and stores
> the name in the $base variable. This variable would have to be
> passed to the labeled_list() sub, on to the iterate_array_list() sub
> and, in turn, to the various subs that control the [PREFIX-field],
> [PREFIX-description] and [PREFIX-price] tags etc.
>
> Until this is done, you will have to make do with your workaround,
> and use the [PREFIX-data] tag. As you only have two tables, the
> duplication will not be as bad as it first appears, and could be
> consolidated back at a later date.
>
> I would suggest raising this as an issue on the bugzilla system,
> where due attention will be given.
>
After I posted this message to the list, I did some more investigating and
then raised the issue on bugzilla.
When I turned on the debugging features in Interchange, I noticed a lot of
database error messages during flypage generation. The first error that was
returned (which resulted from querying the DescriptionField) started a chain
reaction that tripped up the rest of the flypage process on the database
side. I added a line of code to DBI.pm on my system that fixed this
problem. However, I can't guarantee at this point that my "fix" didn't
break something else!
If you are interested in the details, query bug #342 on bugzilla.
Todd L. Cawthron
todd@lunsfordgroup.com
From: interchange-users at interchange.redhat.com (Brian Kosick)
Date: Mon Oct 29 12:01:02 2001
Subject: [ic] perl sql query more than 1 inner join?
Hello again,
I realize that sql lookups through the [query] tag is limited to 1
join. My question is if you drop to a [perl] tag, and use the
$db->query($sql) syntax can you use more than one join? I have a simple
query that I'm working on that I can't seem to get to work in IC but works
from the psql prompt.
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 29 12:13:00 2001
Subject: [ic] Flypage, multiple product tables, and [item-field]
"Todd L. Cawthron" <todd@lunsfordgroup.com> writes:
[...]
>
> After I posted this message to the list, I did some more investigating and
> then raised the issue on bugzilla.
>
> When I turned on the debugging features in Interchange, I noticed a lot of
> database error messages during flypage generation. The first error that was
> returned (which resulted from querying the DescriptionField) started a chain
> reaction that tripped up the rest of the flypage process on the database
> side. I added a line of code to DBI.pm on my system that fixed this
> problem. However, I can't guarantee at this point that my "fix" didn't
> break something else!
>From DBI:
The finish method does not affect the transaction
status of the session. It has nothing to do with
transactions. It's mostly an internal 'housekeeping'
method that is rarely needed. There's no need to call
finish if you're about to destroy or re-execute the
statement handle. See also the disconnect entry
elsewhere in this document and the the Active entry
elsewhere in this documentattribute.
So, I suppose this is a bug in the Sybase stuff.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Henry Hartley)
Date: Mon Oct 29 12:17:00 2001
Subject: [ic] Shipping Method Popup
Using the Foundation Demo store, if you attempt to buy something and
proceed to check out, you are asked for shipping information. If you
do not create an account (or log in with an existing account), the
Shipping Method popup list is not populated with any choices. If you
fill out the form completely and submit it ("Place Order"), processing
is completed but no shipping charges are included (since you didn't
select a shipping method). It seems that what happens is that when
the system tries to build the Shipping Method popup without knowing
the shipping location, it cannot since the system doesn't know what
methods or costs are available.
Since many people (like me) seem to take the Foundation store and
modify it for actual use, it seems like something should be done. I
don't really know Interchange well enough to know what the best path
would be.
One option that occurs to me is to move the Shipping Method and
Billing information to another, subsequent page so that by the time
you get there, a shipping location will be known and the shipping
method popup can be populated correctly. Is that the "right" thing to
do (i.e. will it work as expected)? Are there other "better" methods
of dealing with this? Are people putting Shipping Method on the same
page where Shipping Address is gathered but where the Shipping Methods
are being generated? What am I missing?
--
Henry Hartley
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Mon Oct 29 12:19:13 2001
Subject: [ic] perl sql query more than 1 inner join?
Brian Kosick <briank@nacs.net> writes:
> Hello again,
> I realize that sql lookups through the [query] tag is limited to 1
> join. My question is if you drop to a [perl] tag, and use the
> $db->query($sql) syntax can you use more than one join? I have a simple
> query that I'm working on that I can't seem to get to work in IC but works
> from the psql prompt.
$db->query($sql) should grok any valid SELECT statements.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Jon Jensen)
Date: Mon Oct 29 12:21:22 2001
Subject: [ic] perl sql query more than 1 inner join?
On Mon, 29 Oct 2001, Brian Kosick wrote:
> I realize that sql lookups through the [query] tag is limited to 1
> join. My question is if you drop to a [perl] tag, and use the
> $db->query($sql) syntax can you use more than one join? I have a simple
> query that I'm working on that I can't seem to get to work in IC but works
> from the psql prompt.
Off the top of my head, you should be able to put however complex SQL you
want in [query sql="..."]. In any case, you definitely can in [perl] with
$db->query("...").
Jon
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 29 12:23:36 2001
Subject: [ic] Random? Items not appearing
At 11:32 AM 10/29/2001 -0500, you wrote:
>Hello again all,
> One of our IC (4.8.2 RH7.1, Perl 5.6.1) sites appears to be
> "forgetting" about a few item in the database. Everything shows up fine
> in the admin UI, you can search for/modify/delete/clone the items in the
> UI. But the front end doesn't display them. You can do a search for the
> or other unique text/entries the item may have and it will always come up with:
>
>Sorry, I didn't find any matches for ARRAY(0x837df18).
>
>With no error.log entry.
>
>I've checked the txt structure. Deleted the gdbm/recreated it. I even
>tried deleting the entry, and then recreating it with the same sku #. The
>behavior is still the same. This got me to thinking that there might be
>an old entry fragment or something. I checked all the db/txt files and
>couldn't find any reference to any of the faulty sku's. They only appear
>in the products table. At this point I'm almost thinking that it is some
>strange quirk in GDBM, and am about ready to try migrating it to pgsql to
>see if that corrects the problem. There are only 3/>500 items that
>exhibit this behavior, and before I do that, I wanted to see if anyone on
>the list has experienced anything similar to this.
The UI is in fact build of 100% IC: IML, Usertags and a module or two - and
it queries and acts on the same data as the front end. Search terms can be
different, however; the search which returns the item list in the UI is
less restrictive than the one that filters category links or keyword
searches in the store, for example.
There is a good chance that something about the "missing" items excludes
them from the front-end searches: perhaps illegal characters in the sku,
errors in the category field, inactive field set to true, etc. I know it
seems oversimplified but I would look at these things first before
suspecting code issues.
- Ed L.
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Fred Eisenhauer)
Date: Mon Oct 29 12:26:02 2001
Subject: [ic] Authorize.Net Authorize?
I'm new to this, so bear with me.
Regarding Authorize.Net support in Interchange:
Does it support authorizing transactions when order is placed, then
settlement later?
(stock needs to be manually checked while transaction is pending)
Are there GUI's for managing these transactions, or does everything have to
be built?
I didn't see anything in the on-line demo where payments are actually
submitted.
TIA,
Ike
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 29 12:28:15 2001
Subject: [ic] Deleting carts
At 05:04 PM 10/27/2001 +0100, you wrote:
> > > Where in the stock foundation catalog are the cart contents deleted after
> > > an order is placed?
> > >
> > Within the core code (VENDROOT/lib/Vend/Order.pm, I believe). You can
> > control this in your checkout profile with &final (&final=yes submits the
> > order and clears the cart contents; &final=no or the absence of &final will
> > cause the cart contents to remain).
> >
>The profile part is correct.
>
>The actual code that removes the cart contents, if you want to
>see it, is in the bin/interchange perl script. Look at the
>%form_action hash, where you will find the 'submit' key and its
>associated sub. The cart is cleared at the end of that sub with
>the following code:
>
> # Remove the items
> @$Vend::Items = ();
>
Kevin - you're quite right, thanks for this. Seems like there is quite a
bit of similar-reading and/or interwoven code in Order.pm vs. the
interchange script; unraveling it makes my head hurt sometimes!
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Mon Oct 29 13:21:00 2001
Subject: [ic] Authorize.Net Authorize?
At 11:18 AM 10/29/2001 -0600, you wrote:
>I'm new to this, so bear with me.
>Regarding Authorize.Net support in Interchange:
>Does it support authorizing transactions when order is placed, then
>settlement later?
>(stock needs to be manually checked while transaction is pending)
>Are there GUI's for managing these transactions, or does everything have to
>be built?
>
>I didn't see anything in the on-line demo where payments are actually
>submitted.
>
>TIA,
>
>Ike
I've done a similar thing with Verisign Payflow. You should be able to
specify the transaction type as a pre-auth in the Order Route for
Authorize.net (assuming you are using 4.8.2); then add field(s) to the
transaction table and the import code in etc/log_transaction to save the
transaction id and any other needed code as returned by Authorize.net
(these should be available as session variables, not sure of their names,
but check the docs on Order Routes). You should be able to settle the
transaction later with those codes - but yes, at this point you will have
to write the code yourself if you want it to happen automatically when you
ship an order via the UI.
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Mon Oct 29 13:49:01 2001
Subject: [ic] Shipping Method Popup
>
> Using the Foundation Demo store, if you attempt to buy something and
> proceed to check out, you are asked for shipping information. If you
> do not create an account (or log in with an existing account), the
> Shipping Method popup list is not populated with any choices. If you
> fill out the form completely and submit it ("Place Order"), processing
> is completed but no shipping charges are included (since you didn't
> select a shipping method). It seems that what happens is that when
> the system tries to build the Shipping Method popup without knowing
> the shipping location, it cannot since the system doesn't know what
> methods or costs are available.
>
> Since many people (like me) seem to take the Foundation store and
> modify it for actual use, it seems like something should be done. I
> don't really know Interchange well enough to know what the best path
> would be.
>
> One option that occurs to me is to move the Shipping Method and
> Billing information to another, subsequent page so that by the time
> you get there, a shipping location will be known and the shipping
> method popup can be populated correctly. Is that the "right" thing to
> do (i.e. will it work as expected)? Are there other "better" methods
> of dealing with this? Are people putting Shipping Method on the same
> page where Shipping Address is gathered but where the Shipping Methods
> are being generated? What am I missing?
Hi,
I had the same problem. The loop over the shipping methodes has a bug.
But you can solve it, when you insert the following code to the
checkout.html:
<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>
I hope this helps.
Yours sincerely,
Goetz Verdieck
E-Mail Goetz.Verdieck@com4office.de
Internet http://www.com4office.de
From: interchange-users at interchange.redhat.com (www.bathbodybeyond.com)
Date: Mon Oct 29 13:53:00 2001
Subject: [ic] Options not flowing through
I am using Interchange 4.8 and I have simple options like "fragrance choice"
and then a list of fragrances,
my problem is that the fragrance choice that is chosen is not being passed
to the database not to the order
acknowledge email that is sent to me, no matter what fragrance is chosen, it
comes through blank, any one
have a clue as to what is happening here.
Tanya
Bath Body and More
http://www.bathbodybeyond.com
From: interchange-users at interchange.redhat.com (Henry Hartley)
Date: Mon Oct 29 14:48:00 2001
Subject: [ic] Shipping Method Popup
>> -----Original Message-----
>> From: Götz Verdieck [mailto:goetz.verdieck@com4office.de]
>> Sent: Monday, October 29, 2001 1:48 PM
>>
>> I had the same problem. The loop over the shipping methodes
>> has a bug. But you can solve it, when you insert the
>> following code to the checkout.html:
>>
>> <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>
>>
>> I hope this helps.
Indeed. Thanks much.
--
Henry Hartley
From: interchange-users at interchange.redhat.com (interch)
Date: Mon Oct 29 15:27:01 2001
Subject: [ic] options
what i understand from reading this, is that this is how we add the
pricing options into the admin interface. But how does one add the
options directly to the flypage as you did in your store? That is so much
better since i dont like the fact that you have to be in your cart to
select the options now.
thanks.
-sphen
On Monday, October 29, 2001, at 10:37 AM, Fred Pope wrote:
> HOW TO
>
> Find the form that controls the simple options page in the admin. Using
> your
> favorite editor, open up the file template called item_option_simple. We
> used vi to edit the file.
>
> Add a form input field to that form that references the price wherever you
> see fit. I did it after the textarea entry. The Code that I added reads as
> follows:
> <tr>
> <td> Price: <input type="text" name="opt_price_[scratch mod_code]"
> size="50" value="[filter entities][sql-param price][/filter]"></td>
> </tr>
>
> This will add it to the edit templates.
>
> Then you are going to modify the query up above that inserts the data.
>
> First you need to define the variable for the query so add this line:
>
> my $price = $CGI->{"opt_price_$key"};
>
> This line goes right under the three others that are defining name, value
> and label.
>
> Then a ways further down, in the SQL set statements add:
>
> $odb->set_field($key,'price',$price);
>
> Finally towards the very bottom you need to add this line for the add new
> option dialog below the textarea and aboe the input button.
> Price:<Input type="text" name="opt_price_" size"30"><br>
>
> Now say you have a product that is a car. The car is avaliable in three
> colors, Red Blue and Green which add to the price 50,100&150 respectively.
>
> In the text areas you might enter the following values:
>
> Name: CLR
> Label: Color
> Values: R=Red
> B=Blue
> G=Green
> Price: R=50,B=100,G=150
>
> Now when you select these options, it will automatically configure the
> price
> when you add the item to the basket. Our next task is too add some
> javascript that will automatically calculate the price as the user select
> the options.
>
> If you would like to see an example of how this works on the output, you
> can
> go to our page at http://www.satcomresources.com and search for dst300,
> and
> then click on the DST300 Ku-Band Satellite Terminal and you will see how
> you
> can configure the unit, and the price is automatically calculated.
> Interchange fully supports this, but it was just not built into the admin
> yet.
>
> Good Luck.
> --
> Fred Pope
> Satcom Resources
> 970-748-3094
> fred@satcomresources.com
> http://www.satcomresources.com
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Mon Oct 29 15:52:00 2001
Subject: [ic] options
You do not need to make any modifications to the flypage. That is already
built into the code.
BTW....this was done on IC 4.8.2/RH 7.2
From: interchange-users at interchange.redhat.com (www.bathbodybeyond.com)
Date: Mon Oct 29 16:49:00 2001
Subject: [ic] Shipping Method Popup
Where exactly would this be placed withing the checkout.html?
----- Original Message -----
From: "Götz Verdieck" <goetz.verdieck@com4office.de>
To: <interchange-users@interchange.redhat.com>
Sent: Monday, October 29, 2001 12:48 PM
Subject: Re: [ic] Shipping Method Popup
> >
> > Using the Foundation Demo store, if you attempt to buy something and
> > proceed to check out, you are asked for shipping information. If you
> > do not create an account (or log in with an existing account), the
> > Shipping Method popup list is not populated with any choices. If you
> > fill out the form completely and submit it ("Place Order"), processing
> > is completed but no shipping charges are included (since you didn't
> > select a shipping method). It seems that what happens is that when
> > the system tries to build the Shipping Method popup without knowing
> > the shipping location, it cannot since the system doesn't know what
> > methods or costs are available.
> >
> > Since many people (like me) seem to take the Foundation store and
> > modify it for actual use, it seems like something should be done. I
> > don't really know Interchange well enough to know what the best path
> > would be.
> >
> > One option that occurs to me is to move the Shipping Method and
> > Billing information to another, subsequent page so that by the time
> > you get there, a shipping location will be known and the shipping
> > method popup can be populated correctly. Is that the "right" thing to
> > do (i.e. will it work as expected)? Are there other "better" methods
> > of dealing with this? Are people putting Shipping Method on the same
> > page where Shipping Address is gathered but where the Shipping Methods
> > are being generated? What am I missing?
>
> Hi,
>
> I had the same problem. The loop over the shipping methodes has a bug.
> But you can solve it, when you insert the following code to the
> checkout.html:
>
>
> <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>
>
> I hope this helps.
>
>
> Yours sincerely,
>
>
> Goetz Verdieck
>
> E-Mail Goetz.Verdieck@com4office.de
> Internet http://www.com4office.de
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Mon Oct 29 17:15:01 2001
Subject: [ic] Shipping Method Popup
> Where exactly would this be placed withing the checkout.html?
> ----- Original Message -----
Hi,
search this part:
<SELECT NAME=mv_shipmode>
[shipping
label=1
mode=|[data table=country key='[default country US]'
col=shipmodes]|
]
</SELECT>
Best regards
Goetz Verdieck
==============================
Goetz.Verdieck@com4office.de
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 29 17:58:01 2001
Subject: [ic] Shipping Method Popup
On Mon, 29 Oct 2001, Henry Hartley wrote:
HH>>Using the Foundation Demo store, if you attempt to buy something and
HH>>proceed to check out, you are asked for shipping information. If you
HH>>do not create an account (or log in with an existing account), the
HH>>Shipping Method popup list is not populated with any choices. If you
HH>>fill out the form completely and submit it ("Place Order"), processing
HH>>is completed but no shipping charges are included (since you didn't
HH>>select a shipping method). It seems that what happens is that when
HH>>the system tries to build the Shipping Method popup without knowing
HH>>the shipping location, it cannot since the system doesn't know what
HH>>methods or costs are available.
HH>>
HH>>Since many people (like me) seem to take the Foundation store and
HH>>modify it for actual use, it seems like something should be done. I
HH>>don't really know Interchange well enough to know what the best path
HH>>would be.
I can't speak to Foundation since I haven't changed over yet. I am still on
Construct.
I am able to set a default shipping method, and the default country is set
as USA, which helps narrow things down.
I was running into some disgruntled users that were complaining about the
lack of shipping costs. This was due to the fact that the system didn't
know what zip code the order was going to. Once they put in a zip code, then
the shipping cost was calculated.
I ended this problem by forcing them to log in, or to set up an account
before the check out page displays. They would have to give me all of that
information as an anonymous user before I could ship anyways, and there is
nothing asked for in setting up the account that wasn't already being asked.
So, now, when the checkout page finally displays, the system already knows
their zip code, it has their default country and it has their preferred
shipping method, either by default or because they have entered in a choice.
Shipping costs are now displayed for them and the complaints went away.
The method of forcing them to log in was posted to this list probably about
2 months ago.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 29, 2001 at 17:50 PM:
ERROR: ERROR: ERROR: ERROR: ERROR: {SMACK} C:\>
----------------------------------------------------------------
This Linux System has been up 80 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Todd L. Cawthron)
Date: Mon Oct 29 18:01:01 2001
Subject: [ic] Flypage, multiple product tables, and [item-field]
> "Todd L. Cawthron" <todd@lunsfordgroup.com> writes:
>
>
> [...]
>
> >
> > After I posted this message to the list, I did some more investigating
and
> > then raised the issue on bugzilla.
> >
> > When I turned on the debugging features in Interchange, I noticed a lot
of
> > database error messages during flypage generation. The first error that
was
> > returned (which resulted from querying the DescriptionField) started a
chain
> > reaction that tripped up the rest of the flypage process on the database
> > side. I added a line of code to DBI.pm on my system that fixed this
> > problem. However, I can't guarantee at this point that my "fix" didn't
> > break something else!
>
> From DBI:
>
> The finish method does not affect the transaction
> status of the session. It has nothing to do with
> transactions. It's mostly an internal 'housekeeping'
> method that is rarely needed. There's no need to call
> finish if you're about to destroy or re-execute the
> statement handle. See also the disconnect entry
> elsewhere in this document and the the Active entry
> elsewhere in this documentattribute.
>
> So, I suppose this is a bug in the Sybase stuff.
>
> Ciao
> Racke
>
You're right, this may be a Sybase or a DBD::Sybase bug; particularly
because it doesn't look like anybody else has run into this problem. But, I
add this bit of information for the sake of argument...
This is what caught my attention originally, also from DBI:
'finish'
Indicates that no more data will be fetched from this statement
handle before it is
either executed again or destroyed...
When all the data has been fetched from a 'SELECT' statement,
the driver should automat
ically call 'finish' for you. So you should not normally need
to call it explicitly...
The 'finish' method should have been called 'cancel_select'.
Given this context, the way I interpret the section of the documentation
that you quoted is:
There's no need to call finish if you're about to destroy
(because 'finish' is called implicitly before the statement handle is
destroyed, from DBI::DBD)
or re-execute the statement handle.
(because 'finish' was already called after all rows in the result set had
been fetched)
In this case, however, not all data has been fetched from the 'SELECT'
statement, so the driver did not automatically call 'finish'. Instead, it
had to be called explicitly before the statement handle could be
re-executed.
Todd L. Cawthron
todd@lunsfordgroup.com
From: interchange-users at interchange.redhat.com (Nolan & Lori Hostetler)
Date: Mon Oct 29 19:27:01 2001
Subject: [ic] Shipping Question - Referencing Rate and Zone Files?
Hi everyone,
This is my first Interchange store. It's just about ready to roll, but I'm
hung up on Shipping. The store will use the following shipping options:
Priority Mail, Air Parcel Post, USPS Flat Rate
Starting with Priority Mail, here's what I did:
Using the "Ground.csv" file as a model, I created "PriorityMail.csv" with
all of the current priority mail rates for each postal zone. Then, I
created "972.csv" as the postal zone file (which matches the zip code to the
zone). Next, I went into the Admin. area of the UI, and in Shipping,
created a "USPSPM Priority Mail" method. Calculation is done by weight.
So, now that this is all set up, how do I enable Priority Mail to take the
receiver's zip code and refer to these weight and zone files for the correct
shipping amount?
Thank you! --Lori
From: interchange-users at interchange.redhat.com (utomo)
Date: Mon Oct 29 19:54:01 2001
Subject: [ic] Mv to Ic
Hello,
Is there any plan to change all "Mv" to "Ic" ?
because for future I think it is better to use Ic. I understand there
will be compatibility problem.
Thanks,
Utomo
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Mon Oct 29 20:05:00 2001
Subject: [ic] Shipping Question - Referencing Rate and Zone Files?
Quoting Nolan & Lori Hostetler (noloho5@home.com):
> Hi everyone,
>
> This is my first Interchange store. It's just about ready to roll, but I'm
> hung up on Shipping. The store will use the following shipping options:
> Priority Mail, Air Parcel Post, USPS Flat Rate
>
> Starting with Priority Mail, here's what I did:
>
> Using the "Ground.csv" file as a model, I created "PriorityMail.csv" with
> all of the current priority mail rates for each postal zone. Then, I
> created "972.csv" as the postal zone file (which matches the zip code to the
> zone). Next, I went into the Admin. area of the UI, and in Shipping,
> created a "USPSPM Priority Mail" method. Calculation is done by weight.
>
> So, now that this is all set up, how do I enable Priority Mail to take the
> receiver's zip code and refer to these weight and zone files for the correct
> shipping amount?
You need to create a database entry for your PriorityMail.csv file (look
at dbconf/*/Ground.dbm for an example.)
At that point, if you added the USPSPM method (guessed, you don't
mention its code, only its label) it should work upon reconfig,
presuming you selected "UPS Internal" as the type and set up the
originating zip correctly.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Mon Oct 29 20:56:00 2001
Subject: [ic] Shipping Question - Referencing Rate and Zone Files?
On Mon, 29 Oct 2001, Nolan & Lori Hostetler wrote:
NLH>>This is my first Interchange store. It's just about ready to roll, but I'm
NLH>>hung up on Shipping. The store will use the following shipping options:
NLH>>Priority Mail, Air Parcel Post, USPS Flat Rate
USPS Flat Rate???
NLH>>Using the "Ground.csv" file as a model, I created "PriorityMail.csv" with
NLH>>all of the current priority mail rates for each postal zone. Then, I
NLH>>created "972.csv" as the postal zone file (which matches the zip code to the
NLH>>zone). Next, I went into the Admin. area of the UI, and in Shipping,
NLH>>created a "USPSPM Priority Mail" method. Calculation is done by weight.
NLH>>
NLH>>So, now that this is all set up, how do I enable Priority Mail to take the
NLH>>receiver's zip code and refer to these weight and zone files for the correct
NLH>>shipping amount?
NLH>>
In shipping.asc:
uspspm Priority Mail weight 0 0 e Nothing to ship!
uspspm Priority Mail weight 0 150 u PriorityMail [value
name=zip filter=digits default=22306] {}
uspspm Priority Mail weight 150 999999 e @@TOTAL@@ lbs too
heavy for Priority Mail {}
(Those are long lines that are tab-delimited)
You need a PriorityMail.csv with a rate chart.
You need to tell your data base manager about this data base (as in
dbconf/default_db/PriorityMail.dbm)
In the country file you need to put this mode in as an option for your
country.txt file (presumably the USA from your message) Mine is:
US US fdxg uspspm fdxa fdxb United States
(tab delimited)
Feel free to ask me specific questions.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, October 29, 2001 at 20:45 PM:
Ultimate office automation: networked Coke machines.
----------------------------------------------------------------
This Linux System has been up 83 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Alexis Bellido)
Date: Mon Oct 29 23:09:00 2001
Subject: [ic] Integrating payment to IC
Hi, i will be using a payment proccessor at Lima Peru where my company is
based, i wish i could use Signio or any other well known payment proccessor
but for companies not established in the US is a little harder to do that
because we need to incorporate in USA, get a bank account too and things get
complicated there.
So, this is why i ask where to make the changes in order to get the info
needed for my Peruvian payment company sent to them, proccessed and then
back to my IC shop.
I don't want a step by step procedure, just a hint on where to look at.
Thanks!.
Alexis Bellido M.
www.ventanazul.com - Web Design/ Hosting / eCommerce
Email me: alexis@ventanazul.com
ICQ: 95509561 | MSN Messenger: alexisbellido
Tel: 4368700 - 9856982
Message: 14
From: "Rick Eicher II" <rick@texol.net>
To: <interchange-users@interchange.redhat.com>
Subject: RE: [ic] Integrating payment
Date: Fri, 26 Oct 2001 14:06:36 -0500
Reply-To: interchange-users@interchange.redhat.com
which company? Some are alread supported. If it is not supported you will
have to write in support.
Rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Alexis Bellido
Sent: Friday, October 26, 2001 1:47 PM
To: interchange-users@interchange.redhat.com
Subject: [ic] Integrating payment
Hi, i know this is maybe an easy question, but i want just a guide of where
to look:
I want to integrate interchange shops with my payment provider system, who
tells me that they need credit card info, customer and products info sent
from my shop to their system.
Which modules, files or pages in interchange do i have to modify in order to
customize my payment processing needs?.
Thank you.
Best regards!.
Alexis Bellido M.
www.ventanazul.com - Web Design/ Hosting / eCommerce
alexis@ventanazul.com
From: interchange-users at interchange.redhat.com (Alexis Bellido)
Date: Mon Oct 29 23:11:44 2001
Subject: [ic] About documentation for IC
Hi, thank you everybody for your suggestions about how to get the best from
the IC docs, i am following the Foundation Tutorial and took a look at the
others pdf and i'm learning by doing as it supposed to be.
Hey Jim no problem man :) i undertand perfectly your point and thank you for
telling me so directly the things, i am a believer that in order to get
things done we need to be direct and express just what we think, i am know
in the task of learning more and hope soon i will be able to help others on
the IC community.
Best regards to everybody!.
Alexis Bellido M.
www.ventanazul.com - Web Design/ Hosting / eCommerce
Email me: alexis@ventanazul.com
ICQ: 95509561 | MSN Messenger: alexisbellido
Tel: 4368700 - 9856982
From: interchange-users at interchange.redhat.com (David Totten)
Date: Tue Oct 30 05:21:01 2001
Subject: [ic] Integrating payment to IC
On Mon, 2001-10-29 at 23:08, Alexis Bellido wrote:
[snip]
> I don't want a step by step procedure, just a hint on where to look
at.
Well, I think someone may have mentioned this, but the modules that
handle payment gateway speaking are located in
$INTERCHANGE_ROOT/lib/Payment/
Where $INTERCHANGE_ROOT is where you installed interchange to. Don't
confuse this with $CATALOG_ROOT. Basically, if you are in about the ame
tree as the interchange and make cat binaries, you are close. Just go
into the lib directory instead of the bin directory.
Look at those modules each one works a little differently, so hopefully
you can find one that best fits the way your bank does it.
Dave Totten
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Tue Oct 30 06:09:01 2001
Subject: [ic] Payment Processor integration
hi all,
i'm trying to integrate ic with a separate online payment processor.
we've got some perl modules and a demo perl script. since these are thrid
party modules we have put those modules in a separate directory as
/opt/paygateway/perl. We tried to create a global subroutine in
interchange.cfg as follows :
GlobalSub <<EOR
sub test {
use lib '/opt/paygateway/perl';
use SecureHttp;
use TransactionResponse;
use constants;
use AdditionalField;
use TransactionRequest;
use TransactionClient;
use CreditCardResponse;
use CountryCodes;
use CreditCardRequest;
my $tranclient = new TransactionClient;
my $ccreq = new CreditCardRequest;
return 1;
}
EOR
catalog/testsub.html Safe: Can't locate object method "new" via package
"TransactionClient" at (eval 6) line 13.
>
>
> test();
>
>
If it is not integrated with IC, the same code works fine.
Please help us to solve this problem.
joy.
From: interchange-users at interchange.redhat.com (Pann McCuaig)
Date: Tue Oct 30 06:16:01 2001
Subject: [ic] Integrating payment to IC
On Tue, Oct 30, 2001 at 05:20, David Totten wrote:
> On Mon, 2001-10-29 at 23:08, Alexis Bellido wrote:
>
> [snip]
>
> > I don't want a step by step procedure, just a hint on where to look
> at.
>
> Well, I think someone may have mentioned this, but the modules that
> handle payment gateway speaking are located in
> $INTERCHANGE_ROOT/lib/Payment/
Close. Better is
$INTERCHANGE_ROOT/lib/Vend/Payment/
Luck,
Pann
--
geek by nature, Linux by choice L I N U X .~.
The Choice /V\
http://www.ourmanpann.com/linux/ of a GNU /( )\
Generation ^^-^^
From: interchange-users at interchange.redhat.com (marco ghezzi)
Date: Tue Oct 30 06:19:09 2001
Subject: [ic] Italian Payment Gateway
Hi,
as anyone recently succeded in implementing the credit card GW to Banca Sella.
it seems i'm stuck with the informations found on the archives.
any hint or suggestion much appreciated
marco
--
-------------------------------
opensource is just a matter of time
HOPS LIBRI - internet, opensource
viale montenero 44
20135 milano
http://www.hopslibri.com
From: interchange-users at interchange.redhat.com (fctmaillist)
Date: Tue Oct 30 06:40:01 2001
Subject: [ic] Payment Processor integration
hi all,
i'm sending this mail again since i missed some details.
i'm trying to integrate ic with a separate online payment processor.
we've got some perl modules and a demo perl script. since these are thrid
party modules we have put those modules in a separate directory as
/opt/paygateway/perl. We tried to create a global subroutine in
interchange.cfg as follows :
GlobalSub <<EOR
sub test {
use lib '/opt/paygateway/perl';
use SecureHttp;
use TransactionResponse;
use constants;
use AdditionalField;
use TransactionRequest;
use TransactionClient;
use CreditCardResponse;
use CountryCodes;
use CreditCardRequest;
my $tranclient = new TransactionClient;
my $ccreq = new CreditCardRequest;
return 1;
}
EOR
We tried to call this subroutine using the following code :
<html>
hello!
[perl subs=1 interpolate=1]
test();
[/perl]
goodbye!
</html>
The error.log says the following error :
catalog/testsub.html Safe: Can't locate object method "new" via package
"TransactionClient" at (eval 6) line 13.
>
>
> test();
>
>
If it is not integrated with IC, the same code works fine.
Please help us to solve this problem.
joy.
From: interchange-users at interchange.redhat.com (David Totten)
Date: Tue Oct 30 07:11:01 2001
Subject: [ic] Integrating payment to IC
On Tue, Oct 30, 2001 at 06:14:08AM -0500, Pann McCuaig wrote:
> On Tue, Oct 30, 2001 at 05:20, David Totten wrote:
> > On Mon, 2001-10-29 at 23:08, Alexis Bellido wrote:
> >
> > [snip]
> >
> > > I don't want a step by step procedure, just a hint on where to look
> > at.
> >
> > Well, I think someone may have mentioned this, but the modules that
> > handle payment gateway speaking are located in
> > $INTERCHANGE_ROOT/lib/Payment/
>
> Close. Better is
>
> $INTERCHANGE_ROOT/lib/Vend/Payment/
hehe.. oops! that is what I get for not checking. Oh well
Dave Totten
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Tue Oct 30 08:51:01 2001
Subject: [ic] Payment Processor integration
On Tue, Oct 30, 2001 at 05:14:42PM -0600, fctmaillist wrote:
> hi all,
> i'm sending this mail again since i missed some details.
This should be a FAQ. Is it? :-)
Look back in mailing list archives maybe two weeks for discussion.
'use' and Safe do not play well together.
>
> i'm trying to integrate ic with a separate online payment processor.
> we've got some perl modules and a demo perl script. since these are thrid
> party modules we have put those modules in a separate directory as
> /opt/paygateway/perl. We tried to create a global subroutine in
> interchange.cfg as follows :
>
> GlobalSub <<EOR
> sub test {
>
> use lib '/opt/paygateway/perl';
> use SecureHttp;
> use TransactionResponse;
> use constants;
> use AdditionalField;
> use TransactionRequest;
> use TransactionClient;
> use CreditCardResponse;
> use CountryCodes;
> use CreditCardRequest;
>
> my $tranclient = new TransactionClient;
> my $ccreq = new CreditCardRequest;
>
> return 1;
> }
> EOR
>
> We tried to call this subroutine using the following code :
> <html>
> hello!
> [perl subs=1 interpolate=1]
> test();
> [/perl]
> goodbye!
> </html>
>
> The error.log says the following error :
>
> catalog/testsub.html Safe: Can't locate object method "new" via package
> "TransactionClient" at (eval 6) line 13.
> >
> >
> > test();
> >
> >
>
> If it is not integrated with IC, the same code works fine.
>
> Please help us to solve this problem.
> joy.
>
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Raymond Kirby)
Date: Tue Oct 30 09:20:01 2001
Subject: [ic] (State) Table Breaks
RedHat - 6.1
Interchange 4.8.1
Oracle 8.1.7
I am running 4 catalogs an a RedHat server
on one of the the catalogs the State table seams
to quit working and that includes in the store front
and also in the Admin. in the drop down boxes I get
either a bunch of question mark where states should
be or I get a drop down list of blanks. It doesn't matter
If I am in Netscape, Mozillia, ei, Linux or windows.
I have gotten it to work by droping the State table in
Oracle and removing all state.txt.* files then do a
Interchange -restart and let the table get rebuilt. But
this only works for a single use. You can either place an
order or update your company information. after you access
it. It stops working again. Please does anyone have any Ideas.
BTW nothing in the error logs..
Thanks
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Tue Oct 30 09:23:00 2001
Subject: [ic] selected tag
Hi,
I think with my problem I'm back to the roots, but I can not solve it!
Every time the first entry (AK) will be shown up in the option list, even if
I select AL !
<SELECT NAME="state" onChange="this.form.submit()">
<OPTION VALUE="AK" [selected state AK]>AK
<OPTION VALUE="AL" [selected state AL]>AL
</SELECT>
What am I doing wrong ?
I looked in the mail archive, but it seems that everybody uses the
selected tag with no problem.
I'm working on a mac. Is this a part of the problem ?
Thank you in advance
Goetz Verdieck
==============================
Goetz.Verdieck@com4office.de
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Tue Oct 30 09:43:00 2001
Subject: [ic] selected tag
Götz Verdieck <goetz.verdieck@com4office.de> writes:
> Hi,
> I think with my problem I'm back to the roots, but I can not solve it!
>
>
> Every time the first entry (AK) will be shown up in the option list, even if
> I select AL !
>
> <SELECT NAME="state" onChange="this.form.submit()">
> <OPTION VALUE="AK" [selected state AK]>AK
> <OPTION VALUE="AL" [selected state AL]>AL
> </SELECT>
> What am I doing wrong ?
> I looked in the mail archive, but it seems that everybody uses the
> selected tag with no problem.
> I'm working on a mac. Is this a part of the problem ?
Should work. What shows the HTML code. What is your form action ?
BTW: You can leave out the value.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Ton Verhagen)
Date: Tue Oct 30 09:54:00 2001
Subject: [ic] About to release Spell Checker for IC
Dear All,
I'm about to release the alfa version of a Spell Checker feature that can
be used with IC projects.
Currently only tested on (shame on me) IE5+ and Opera 5.10 on NT4.0 SP6
Many other browser not supported yet.
Before I release the first alfa I would like to add support for other
(major) browsers as well.
Due to time constraints, (I'm currently in the last phase of my MBA study,
to be completed in about 6 weeks from now) I would like to invite one of
you to assist in the implementation of the multi browser support.
So I warmly welcome any JavaScript guru, who's well versed in cross-browser
techniques.
Please have a look at:
http://213.206.74.91/cgi-bin/tools3/ic-spell.html
Your comments/suggestions are highly appreciated.
Best
Ton
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Tue Oct 30 10:03:01 2001
Subject: [ic] e-mail error
Hello all,
I am haveing a problem getting the order emailed. I get the following in the
catalog error_log:
216.111.193.94 GuEjuRby:216.111.193.94 - [29/October/2001:09:35:33 -0400]
foundation /cgi-bin/foundation/proces s.html ERRORS on ORDER TEST0005:
Error sending mail to rick@texol.net:
Can't call method "mail" on an undefined value at
/usr/lib/interchange/lib/Vend/Util.pm line 1988.
So I looked at the code starting at line 1977:
my $from = $::Variable->{MV_MAILFROM}
|| $Global::Variable->{MV_MAILFROM}
|| $Vend::Cfg->{MailOrderTo};
for(@extra_headers) {
s/\s*$/\n/;
next unless /^From:\s*(\S.+)$/mi;
$from = $1;
}
my $mime = '';
$mime = Vend::Interpolate::mime('header', {}, '') if
$use_mime;
$smtp->mail($from)or last SMTP;
So my guess is that the $from is not set right. So it follows that
MV_MAILFROM or MailOrderTo is wrong. I have MailOrderTo set to
"rick@texol.net". I have no idea where or how to check or change
MV_MAILFROM.
I have come up with no matches from the archives.
Any one have any ideas?
Thank you for your time,
Rick Eicher II
www.texol.net
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Tue Oct 30 10:21:01 2001
Subject: [ic] selected tag
> Götz Verdieck <goetz.verdieck@com4office.de> writes:
>
>> Hi,
>> I think with my problem I'm back to the roots, but I can not solve it!
>>
>>
>> Every time the first entry (AK) will be shown up in the option list, even if
>> I select AL !
>>
>> <SELECT NAME="state" onChange="this.form.submit()">
>> <OPTION VALUE="AK" [selected state AK]>AK
>> <OPTION VALUE="AL" [selected state AL]>AL
>> </SELECT>
>> What am I doing wrong ?
>> I looked in the mail archive, but it seems that everybody uses the
>> selected tag with no problem.
>> I'm working on a mac. Is this a part of the problem ?
>
> Should work. What shows the HTML code. What is your form action ?
> BTW: You can leave out the value.
>
> Ciao
> Racke
Hi,
The first time I had this problem with the checkout.html coming with the
foundation store.
<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]
[if variable COD_ACCEPTED]
<option [selected payment_method postal] value="cod">C.O.D.
[/if]
</SELECT>
The html is:
<SELECT NAME="payment_method" onChange="this.form.submit()">
<option value=check>Online Check
<option value=cod>C.O.D.
Am I the only one with this problem ?
Thank you in advance
Goetz Verdieck
==============================
Goetz.Verdieck@com4office.de
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Tue Oct 30 10:29:00 2001
Subject: [ic] e-mail error
"Rick Eicher II" <rick@texol.net> writes:
> Hello all,
>
> I am haveing a problem getting the order emailed. I get the following in the
> catalog error_log:
>
> 216.111.193.94 GuEjuRby:216.111.193.94 - [29/October/2001:09:35:33 -0400]
> foundation /cgi-bin/foundation/proces s.html ERRORS on ORDER TEST0005:
> Error sending mail to rick@texol.net:
> Can't call method "mail" on an undefined value at
> /usr/lib/interchange/lib/Vend/Util.pm line 1988.
>
> So I looked at the code starting at line 1977:
>
> my $from = $::Variable->{MV_MAILFROM}
> || $Global::Variable->{MV_MAILFROM}
> || $Vend::Cfg->{MailOrderTo};
>
> for(@extra_headers) {
> s/\s*$/\n/;
> next unless /^From:\s*(\S.+)$/mi;
> $from = $1;
> }
> my $mime = '';
> $mime = Vend::Interpolate::mime('header', {}, '') if
> $use_mime;
> $smtp->mail($from)or last SMTP;
>
>
> So my guess is that the $from is not set right. So it follows that
> MV_MAILFROM or MailOrderTo is wrong. I have MailOrderTo set to
> "rick@texol.net". I have no idea where or how to check or change
> MV_MAILFROM.
Have you restarted IC/reconfigured the catalog ?
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Tue Oct 30 10:32:01 2001
Subject: [ic] e-mail error
After doing some more investagating, I believe that it is trying to use
Net::SMTP instead of my local sendmail. I have sendmail working. (Can send
email to the MAILORDERTO email address).
In the Config.pm my SendMailProgram is as follows:
['SendMailProgram',
'executable'[$Global::SendMailLocation,'/usr/sbin/sendmail','/usr/lib/sendma
il','Net::SMTP',]
I have the /usr/sbin/sendmail and the /usr/lib/sendmail.
What can I do to make it use sendmail and not Net::SMTP?
Thank you for your time,
Rick Eicher II
www.texol.net
],
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick
Eicher II
Sent: Tuesday, October 30, 2001 9:11 AM
To: interchange
Subject: [ic] e-mail error
Hello all,
I am haveing a problem getting the order emailed. I get the following in the
catalog error_log:
216.111.193.94 GuEjuRby:216.111.193.94 - [29/October/2001:09:35:33 -0400]
foundation /cgi-bin/foundation/proces s.html ERRORS on ORDER TEST0005:
Error sending mail to rick@texol.net:
Can't call method "mail" on an undefined value at
/usr/lib/interchange/lib/Vend/Util.pm line 1988.
So I looked at the code starting at line 1977:
my $from = $::Variable->{MV_MAILFROM}
|| $Global::Variable->{MV_MAILFROM}
|| $Vend::Cfg->{MailOrderTo};
for(@extra_headers) {
s/\s*$/\n/;
next unless /^From:\s*(\S.+)$/mi;
$from = $1;
}
my $mime = '';
$mime = Vend::Interpolate::mime('header', {}, '') if
$use_mime;
$smtp->mail($from)or last SMTP;
So my guess is that the $from is not set right. So it follows that
MV_MAILFROM or MailOrderTo is wrong. I have MailOrderTo set to
"rick@texol.net". I have no idea where or how to check or change
MV_MAILFROM.
I have come up with no matches from the archives.
Any one have any ideas?
Thank you for your time,
Rick Eicher II
www.texol.net
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Henry Hartley)
Date: Tue Oct 30 10:35:00 2001
Subject: [ic] Shipping Method Popup
>> On Mon, 29 Oct 2001, Jim Balcom wrote:
>>
>> I am able to set a default shipping method, and the default
>> country is set as USA, which helps narrow things down.
>>
>> I was running into some disgruntled users that were
>> complaining about the lack of shipping costs. This was due
>> to the fact that the system didn't know what zip code the
>> order was going to. Once they put in a zip code, then
>> the shipping cost was calculated.
>>
>> I ended this problem by forcing them to log in, or to set
>> up an account before the check out page displays. They
>> would have to give me all of that information as an
>> anonymous user before I could ship anyways, and there is
>> nothing asked for in setting up the account that wasn't
>> already being asked.
>>
>> So, now, when the checkout page finally displays, the
>> system already knows their zip code, it has their default
>> country and it has their preferred shipping method, either
>> by default or because they have entered in a choice.
>> Shipping costs are now displayed for them and the
>> complaints went away.
Yeah, that's the other option I considered. I may end up
there anyway. I wonder, since so many people seem to use
the demo store almost as-is or at any rate as a starting
point, should this sort of change be incorporated into it?
It would certainly be a boon to those of us just getting
into the system.
Who does that?
>> The method of forcing them to log in was posted to this
>> list probably about 2 months ago.
Sorry, I missed it. I must not have searched on the
right phrase.
--
Henry Hartley
From: interchange-users at interchange.redhat.com (David Totten)
Date: Tue Oct 30 10:41:00 2001
Subject: [ic] About to release Spell Checker for IC
On Tue, Oct 30, 2001 at 03:55:41PM +0100, Ton Verhagen wrote:
> Dear All,
>
> I'm about to release the alfa version of a Spell Checker feature that can
> be used with IC projects.
>
> Currently only tested on (shame on me) IE5+ and Opera 5.10 on NT4.0 SP6
> Many other browser not supported yet.
>
> Before I release the first alfa I would like to add support for other
> (major) browsers as well.
> Due to time constraints, (I'm currently in the last phase of my MBA study,
> to be completed in about 6 weeks from now) I would like to invite one of
> you to assist in the implementation of the multi browser support.
> So I warmly welcome any JavaScript guru, who's well versed in cross-browser
> techniques.
>
> Please have a look at:
>
> http://213.206.74.91/cgi-bin/tools3/ic-spell.html
I must say that this is the coolest thing I have seen in a long time!
I wish I knew javascript better so that I could help though. Keep up
the excellent work Ton!
Dave Totten
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Tue Oct 30 10:43:50 2001
Subject: [ic] selected tag
Hi,
sorry for my last e-mail, I saw the mistake clicking the send button !!!
The first time I had this problem with the checkout.html coming with the
foundation store.
<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]
[if variable COD_ACCEPTED]
<option [selected payment_method postal] value="cod">C.O.D.
^^^^^^^^
cod is correct !
[/if]
</SELECT>
The mistake is in the original checkout.html.
Hope this helps other IC users.
Goetz Verdieck
==============================
Goetz.Verdieck@com4office.de
From: interchange-users at interchange.redhat.com (Jeff D. Anderson)
Date: Tue Oct 30 10:57:01 2001
Subject: [ic] CommonAdjust and ordering items
Good morning (or afternoon) all.
This has been a great resource to date and I appreciate the help I have
recieved so far. Kudos to those that manage the list and for those that
make it so great by responding to the variety of questions that are
posted. Here is another question for everyone.
I am using CommonAdjust with a product that can be customized. What I
have created is a pricing table (database) with a "Normal" and "Custom"
price (custom price to be added to te Normal price).
The following is what Pricing table looks like
sku Normal Custom
1 24 8
2 30 8
etc...
The following is being used in the catalog config file:
PriceField nonexistant_field
CommonAdjust pricing:Normal, ==printing:pricing
I can add items to the cart with no problem at all, and the [item-price]
tag shows me the price under the Normal column of the pricing table. I
can also use the
[price code=[item-code] printing=Custom] to get the customized price for
the item.
My question is this; how do I get the [item-price] to recognize that the
item should be priced as a Custom item (and add the Custom column from
the pricing table to the Normal column)?
The reason I ask this is because I need to add items to the cart from
outside of hte interchange system, via a regular URL link. I currently
have it working for regular items, but I'm not sure how to format the
link for the custom item.
Thanks for any help that you may be able to provide. I appreciate it.
Jeff Anderson
Literati Information Technology
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Tue Oct 30 11:03:00 2001
Subject: [ic] e-mail error
I have it working now. It was an Id10t error. Needed to restart interchange.
Thanks,
rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Stefan Hornburg (Racke)
Sent: Tuesday, October 30, 2001 8:29 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] e-mail error
"Rick Eicher II" <rick@texol.net> writes:
> Hello all,
>
> I am haveing a problem getting the order emailed. I get the following in
the
> catalog error_log:
>
> 216.111.193.94 GuEjuRby:216.111.193.94 - [29/October/2001:09:35:33 -0400]
> foundation /cgi-bin/foundation/proces s.html ERRORS on ORDER TEST0005:
> Error sending mail to rick@texol.net:
> Can't call method "mail" on an undefined value at
> /usr/lib/interchange/lib/Vend/Util.pm line 1988.
>
> So I looked at the code starting at line 1977:
>
> my $from = $::Variable->{MV_MAILFROM}
> || $Global::Variable->{MV_MAILFROM}
> || $Vend::Cfg->{MailOrderTo};
>
> for(@extra_headers) {
> s/\s*$/\n/;
> next unless /^From:\s*(\S.+)$/mi;
> $from = $1;
> }
> my $mime = '';
> $mime = Vend::Interpolate::mime('header', {}, '') if
> $use_mime;
> $smtp->mail($from)or last SMTP;
>
>
> So my guess is that the $from is not set right. So it follows that
> MV_MAILFROM or MailOrderTo is wrong. I have MailOrderTo set to
> "rick@texol.net". I have no idea where or how to check or change
> MV_MAILFROM.
Have you restarted IC/reconfigured the catalog ?
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Tue Oct 30 11:43:00 2001
Subject: [ic] offers wanted
Hey,
Im in search of a possible freelance programmer to do our IC e-commerce
integration with some content management.
I hope Im not offending anyone by asking here.
We have IC running on our server connected to the Internet and set up no
problems. It can be tested at: http://hlgroup.dk/hlg/
What we need is to have IC integrated with our graphical design
(http://catpipe.net/test/) and to have a small expansion: news and content
management of non-product pages.
Please, anyone interested in bidding in this task is welcome.
Terms:
Delivery date of project no later than 1/12 2001
1 test feedback loop is required
You work in our CVS server
You can see our design at: http://catpipe.net/test/
You are paid in Euro.
You only provide the programming/adaption. We provide the content etc.
There are no changes to the existing IC flow of checkout etc. - it should
all be there, though there will be changes in default settings such as
Euroland rather than US/Canada and other minor details.
We are doing FreeBSD and Internet infrastructure. Unfortunately we do not
have the time to take care of our IC plans, so we need to outsource it -
since we have had a lot of new customers lately who wants FreeBSD in
Scandinavia (and thats very nice...).
If you are so kind as to give you proposal at email: lind@catpipe.net
Thanks in advance,
--
med venlig hilsen / Best Regards
Bernino Lind +45 7021 0050
catpipe Systems ApS - www.catpipe.net
Best done FreeBSD solutions
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 30 11:46:01 2001
Subject: [ic] selected tag
At 02:42 PM 10/30/2001 +0100, you wrote:
>Götz Verdieck <goetz.verdieck@com4office.de> writes:
>
> > Hi,
> > I think with my problem I'm back to the roots, but I can not solve it!
> >
> >
> > Every time the first entry (AK) will be shown up in the option list,
> even if
> > I select AL !
> >
> > <SELECT NAME="state" onChange="this.form.submit()">
> > <OPTION VALUE="AK" [selected state AK]>AK
> > <OPTION VALUE="AL" [selected state AL]>AL
> > </SELECT>
> > What am I doing wrong ?
> > I looked in the mail archive, but it seems that everybody uses the
> > selected tag with no problem.
> > I'm working on a mac. Is this a part of the problem ?
>
>Should work. What shows the HTML code. What is your form action ?
>BTW: You can leave out the value.
>
>Ciao
> Racke
It sounds like the value of state is not being set on form submission. Put
[value state] in a visible spot on the page, then change the state
selection - does the value of [value state] match your choice when the page
reloads?
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Tue Oct 30 11:49:00 2001
Subject: [ic] About to release Spell Checker for IC
At 03:55 PM 10/30/2001 +0100, you wrote:
>Dear All,
>
>I'm about to release the alfa version of a Spell Checker feature that can
>be used with IC
^^^^
alpha
...maybe you should have tested it on this message ;-)
>projects.
>
>Currently only tested on (shame on me) IE5+ and Opera 5.10 on NT4.0 SP6
>Many other browser not supported yet.
>
>Before I release the first alfa I would like to add support for other
>(major) browsers as well.
>Due to time constraints, (I'm currently in the last phase of my MBA study,
>to be completed in about 6 weeks from now) I would like to invite one of
>you to assist in the implementation of the multi browser support.
>So I warmly welcome any JavaScript guru, who's well versed in
>cross-browser techniques.
>
>Please have a look at:
>
>http://213.206.74.91/cgi-bin/tools3/ic-spell.html
>
>Your comments/suggestions are highly appreciated.
>
>
>
>Best
> Ton
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Jason Kohles)
Date: Tue Oct 30 12:15:00 2001
Subject: [ic] About to release Spell Checker for IC
On Tue, Oct 30, 2001 at 08:48:12AM -0800, Ed LaFrance wrote:
> At 03:55 PM 10/30/2001 +0100, you wrote:
> >Dear All,
> >
> >I'm about to release the alfa version of a Spell Checker feature that can
> >be used with IC
> ^^^^
> alpha
>
> ...maybe you should have tested it on this message ;-)
>
That's the problem with spell-checkers =)
alfa
\Al"fa\or Alfa grass \Al"fa grass"\,
n. A plant (Macrochloa tenacissima) of North Africa;
also, its fiber, used in paper making.
--
Red Hat Professional Consulting Jason Kohles
(703)786-8036 (cellular) jkohles@redhat.com
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Tue Oct 30 12:42:00 2001
Subject: [ic] (State) Table Breaks
> RedHat - 6.1
> Interchange 4.8.1
> Oracle 8.1.7
>
> I am running 4 catalogs an a RedHat server
> on one of the the catalogs the State table seams
> to quit working and that includes in the store front
> and also in the Admin. in the drop down boxes I get
> either a bunch of question mark where states should
> be or I get a drop down list of blanks. It doesn't matter
> If I am in Netscape, Mozillia, ei, Linux or windows.
> I have gotten it to work by droping the State table in
> Oracle and removing all state.txt.* files then do a
> Interchange -restart and let the table get rebuilt. But
> this only works for a single use. You can either place an
> order or update your company information. after you access
> it. It stops working again. Please does anyone have any
> Ideas. BTW nothing in the error logs..
>
> Thanks
I thought state was a GDBM not SQL table? Also, RH 6.1 is pretty old,
try building a new perl. Good luck,
Dan Browning
Kavod Technologies
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Tue Oct 30 13:25:01 2001
Subject: [ic] Mv to Ic
> Hello,
>
> Is there any plan to change all "Mv" to "Ic" ?
> because for future I think it is better to use Ic. I
> understand there will be compatibility problem.
>
>
> Thanks,
>
>
> Utomo
Argh! How could you have possibly decoded our secret messages and
discovered our secret plan to change all "MV" (MicrowaVes) to "Ic"
(Ice)??? Just when we were about to carry out our sinister plot, you
found us out!!! We would have finally stopped TV dinners forever, but
thanks to you, we will have to go back to Interchange programming for a
living! Argh!
(Stay tuned next week on the same "Ranger Day" and the same "Ranger
Time" for a new eposode of "Utomo Verses Lex Luther")
;-)
Dan Browning
From: interchange-users at interchange.redhat.com (Jake Thompson)
Date: Tue Oct 30 13:59:00 2001
Subject: [ic] Pricing Setup Question
Hi All,
IC 4.8.2
I have a product that is 1 for $6 and I would like to price 3 for $15
What is the correct way of doing this in interchange?
Thanks,
Jake T.
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Tue Oct 30 14:17:01 2001
Subject: [ic] options
does anyone know if its possible to have other products as options ?
I have dozens of items that need the same options, updating the options
for every item would be a PITA.
Has anyone done this ?
any help is appreciated
thanks in advance
On Mon, 2001-10-29 at 09:37, Fred Pope wrote:
> HOW TO
>
> Find the form that controls the simple options page in the admin. Using your
> favorite editor, open up the file template called item_option_simple. We
> used vi to edit the file.
>
> Add a form input field to that form that references the price wherever you
> see fit. I did it after the textarea entry. The Code that I added reads as
> follows:
> <tr>
> <td> Price: <input type="text" name="opt_price_[scratch mod_code]"
> size="50" value="[filter entities][sql-param price][/filter]"></td>
> </tr>
>
> This will add it to the edit templates.
>
> Then you are going to modify the query up above that inserts the data.
>
> First you need to define the variable for the query so add this line:
>
> my $price = $CGI->{"opt_price_$key"};
>
> This line goes right under the three others that are defining name, value
> and label.
>
> Then a ways further down, in the SQL set statements add:
>
> $odb->set_field($key,'price',$price);
>
> Finally towards the very bottom you need to add this line for the add new
> option dialog below the textarea and aboe the input button.
> Price:<Input type="text" name="opt_price_" size"30"><br>
>
> Now say you have a product that is a car. The car is avaliable in three
> colors, Red Blue and Green which add to the price 50,100&150 respectively.
>
> In the text areas you might enter the following values:
>
> Name: CLR
> Label: Color
> Values: R=Red
> B=Blue
> G=Green
> Price: R=50,B=100,G=150
>
> Now when you select these options, it will automatically configure the price
> when you add the item to the basket. Our next task is too add some
> javascript that will automatically calculate the price as the user select
> the options.
>
> If you would like to see an example of how this works on the output, you can
> go to our page at http://www.satcomresources.com and search for dst300, and
> then click on the DST300 Ku-Band Satellite Terminal and you will see how you
> can configure the unit, and the price is automatically calculated.
> Interchange fully supports this, but it was just not built into the admin
> yet.
>
> Good Luck.
> --
> Fred Pope
> Satcom Resources
> 970-748-3094
> fred@satcomresources.com
> http://www.satcomresources.com
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Raymond Kirby)
Date: Tue Oct 30 14:22:01 2001
Subject: [ic] (State) Table Breaks
State is an SQL Table
and I all ready upgraded Perl to 5.6.1
Need RedHat 6.1 to keep Oracle Stable
But Thanks
>
>
> I thought state was a GDBM not SQL table? Also, RH 6.1 is pretty old,
> try building a new perl. Good luck,
>
> Dan Browning
> Kavod Technologies
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Tue Oct 30 14:34:00 2001
Subject: [ic] options
Create the option set for one product.
Clone Options.
From: interchange-users at interchange.redhat.com (Dan Browning)
Date: Tue Oct 30 14:50:00 2001
Subject: [ic] (State) Table Breaks
> State is an SQL Table
> and I all ready upgraded Perl to 5.6.1
> Need RedHat 6.1 to keep Oracle Stable
> But Thanks
Right. What I meant was that state is *normally* a GDBM database. Have
you tried it that way?
Dan Browning
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Tue Oct 30 14:53:01 2001
Subject: [ic] options
Thanks for answering.
I didnt know clone did that. :)
Anyway, what I want to do is assign a real product as an option, for
example, a keyboard to a PC. When I change the price of the
keyboard, it updates the the price of the "keyboard" option for the PC
and also the price of the keyboard itself (when viewed as an individual
item).
I dont want to have to change two prices, the one for
the option, and the one for the item.
I hope I am making myself clear.
Thanks again
On Tue, 2001-10-30 at 13:36, Fred Pope wrote:
> Create the option set for one product.
>
> Clone Options.
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Fred Pope)
Date: Tue Oct 30 15:58:00 2001
Subject: [ic] options
I am not sure how you would do this the way that you are talking about and
it would certainly be helpful. If you dig into the code a bit, it should not
be that hard to make IC do this.
From: interchange-users at interchange.redhat.com (Andreas, Scott)
Date: Tue Oct 30 17:11:01 2001
Subject: [ic] Construct to use options mechanism
what is needed to enable the construct demo to use the options mechanism.
I've created the options table with the required tables.
under catalog.cfg I've added
CommonAdjust pricing:price_group,q5,q10: ;:wholesale ;$, ==:options
the error output is...
>/cgi-bin/catalog/admin/item_option.html bad field o_modular in record
update, value=o_modular
>/cgi-bin/catalog/admin/item_option.html bad field o_master in record
update, value=o_master
>/cgi-bin/catalog/admin/item_option.html bad field o_enable in record
update, value=o_enable
>/cgi-bin/catalog/admin/item_option.html bad field o_matrix in record
update, value=o_matrix
>/cgi-bin/catalog/admin/item_option.html Safe: There is no column named
'o_modular' at >/usr/local/interchange/lib/Vend/Table/Common.pm line 232.
>
>
> $id = $CGI->{item_id};
>
> my $db = $Db{$CGI->{mv_data_table}}
> or die "No options db?";
>
> $CGI->{ui_data_fields} = 'code products:description o_enable
o_matrix o_modular';
> if($db->record_exists($id) and $db->field($id, 'o_modular')) {
> $CGI->{ui_data_fields} .= ' sku o_master';
> $CGI->{ui_options_modular} = 1;
> }
> return;
>
>
the foundataion demo works perfectly
& I've double checked the db all the colomn are there.
J. Scott Andreas :)
IS/Programmer/WebDevelopement
Learning Services, Inc.
e-mail: sandreas@learningservicesinc.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
|
|__earning
__
(__
__)ervices
|
|ncorporated
--- __o
--- _-\<,_
--- (_)/ (_)
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 30 18:08:01 2001
Subject: [ic] About documentation for IC
On Mon, 29 Oct 2001, Alexis Bellido wrote:
AB>>Hey Jim no problem man :) i undertand perfectly your point and thank you for
AB>>telling me so directly the things, i am a believer that in order to get
AB>>things done we need to be direct and express just what we think, i am know
AB>>in the task of learning more and hope soon i will be able to help others on
AB>>the IC community.
>From what I am seeing on this list, for most of us, we dig in and learn a
little here and there, we try some things out on our own store, we
experiment a bit here and there and find out what works and what doesn't. We
gain inspirations from postings to this list that give us a stepping stone
toward our own improvements. And, in return, when we see someone that has
been trying hard and finally asks a question, and knows what he is asking
and how to ask it, and it's something that we have stumbled through and have
found a way to do it that works for us, we pay back by telling them what we
did. It becomes a 2-way street.
We all started at the bottom and are trying hard to work our way up the
mountain.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 30, 2001 at 18:05 PM:
Oxymoron: Virtual Reality.
----------------------------------------------------------------
This Linux System has been up 104 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 30 18:12:03 2001
Subject: [ic] Integrating payment to IC
On 30 Oct 2001, David Totten wrote:
DT>>> I don't want a step by step procedure, just a hint on where to look
DT>>at.
DT>>
DT>>Well, I think someone may have mentioned this, but the modules that
DT>>handle payment gateway speaking are located in
DT>>$INTERCHANGE_ROOT/lib/Payment/
DT>>
DT>>Look at those modules each one works a little differently, so hopefully
DT>>you can find one that best fits the way your bank does it.
Dave,
Is there a FAQ for this? Or, can one be written?
This seems to be a common thread to a LOT of messages lately - like there
are a myriad of people trying to set up card processing and are getting very
frustrated and pissed off!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 30, 2001 at 18:10 PM:
Gargle twice daily - see if your neck leaks.
----------------------------------------------------------------
This Linux System has been up 104 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Douglas Manning)
Date: Tue Oct 30 18:24:01 2001
Subject: [ic] Shipping Method Popup
At 10:33 AM 10/30/2001 -0500, you wrote:
> >> On Mon, 29 Oct 2001, Jim Balcom wrote:
> >>
> >> I am able to set a default shipping method, and the default
> >> country is set as USA, which helps narrow things down.
> >>
> >> I was running into some disgruntled users that were
> >> complaining about the lack of shipping costs. This was due
> >> to the fact that the system didn't know what zip code the
> >> order was going to. Once they put in a zip code, then
> >> the shipping cost was calculated.
> >>
> >> I ended this problem by forcing them to log in, or to set
> >> up an account before the check out page displays. They
> >> would have to give me all of that information as an
> >> anonymous user before I could ship anyways, and there is
> >> nothing asked for in setting up the account that wasn't
> >> already being asked.
> >>
> >> So, now, when the checkout page finally displays, the
> >> system already knows their zip code, it has their default
> >> country and it has their preferred shipping method, either
> >> by default or because they have entered in a choice.
> >> Shipping costs are now displayed for them and the
> >> complaints went away.
>
>Yeah, that's the other option I considered. I may end up
>there anyway. I wonder, since so many people seem to use
>the demo store almost as-is or at any rate as a starting
>point, should this sort of change be incorporated into it?
>It would certainly be a boon to those of us just getting
>into the system.
>
>Who does that?
>
>
> >> The method of forcing them to log in was posted to this
> >> list probably about 2 months ago.
>
>Sorry, I missed it. I must not have searched on the
>right phrase.
try editing your data table to make sure you have the following
[ups-query zip='[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]'
mode=......
My original just had
[ups-query mode=....
This will give you a default zip if you have the system variable for
default zip
I myself am having trouble getting the FREE shipping working based on the
amount that they spend.
Here is what my free lines look like
FREE Free Shipping! [subtotal noformat=1] 0 0 e
0.00 {'ui_ship_type' => "_subtotal",'ups' => "0",'PriceDivide' =>
"1",}
FREE Free Shipping! [subtotal noformat=1] 750 9999999
0.00 {'PriceDivide' => "1",}
any help there would be appriciated.
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Tue Oct 30 18:39:01 2001
Subject: [ic] options
supposedly modular options does this...
I search the code and found this on Interpolate.pm:
elsif($record->{o_modular}) {
#::logDebug("modular options");
}
which means, if your option is modular, do nothing...
what bothers me is that this by reading the docs and by
using the UI Admin one would think that they work....
but they dont.
On Tue, 2001-10-30 at 15:00, Fred Pope wrote:
> I am not sure how you would do this the way that you are talking about and
> it would certainly be helpful. If you dig into the code a bit, it should not
> be that hard to make IC do this.
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 30 19:35:01 2001
Subject: [ic] selected tag
On Tue, 30 Oct 2001, Götz Verdieck wrote:
GV>>Every time the first entry (AK) will be shown up in the option list, even if
GV>>I select AL !
GV>>
GV>><SELECT NAME="state" onChange="this.form.submit()">
GV>> <OPTION VALUE="AK" [selected state AK]>AK
GV>> <OPTION VALUE="AL" [selected state AL]>AL
GV>> </SELECT>
GV>>What am I doing wrong ?
GV>>I looked in the mail archive, but it seems that everybody uses the
GV>>selected tag with no problem.
You have 2 states selected. Try getting rid of that entry in the first line
and report back :-)
GV>>I'm working on a mac. Is this a part of the problem ?
(Biting my sarcastic tongue) It shouldn't be.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 30, 2001 at 19:35 PM:
#1 BORG Hit Parade: We all sleep in a single subroutine
----------------------------------------------------------------
This Linux System has been up 105 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Tue Oct 30 20:40:01 2001
Subject: [ic] Shipping Method Popup
On Tue, 30 Oct 2001, Douglas Manning wrote:
DM>>I myself am having trouble getting the FREE shipping working based on the
DM>>amount that they spend.
DM>>
DM>>Here is what my free lines look like
DM>>
DM>>FREE Free Shipping! [subtotal noformat=1] 0 0 e
DM>>0.00 {'ui_ship_type' => "_subtotal",'ups' => "0",'PriceDivide' =>
DM>>"1",}
DM>>FREE Free Shipping! [subtotal noformat=1] 750 9999999
DM>>0.00 {'PriceDivide' => "1",}
This one is easy (for me).
I have told them that if they spend more than $80 in products, and if they
select Ground as their shipping mode that they will get free shipping. With
this set up, if they select any other shipping mode they will have to pay
for shipping no matter how much they spend.
In shipping.asc:
fdxg Ground [subtotal noformat=1] 80 999999 e Free Shipping
{'ui_ship_type' => "_subtotal",'ups' => "0",}
That's all on one line, and it is tab-delimited.
This is the very first line in the shipping.asc file for ground shipping.
Trying to do this in the UI did not work for me. I used a command line
editor to put this in.
(Just for reference, here is my second line for Ground in shipping.asc:
fdxg Ground weight 0 0 e Nothing to ship!
{'ui_ship_type' => "weight",'table' => "Ground",'zone' => "220",'ups'
=> "1",'at_least' => "5.50",'adder' => "(\@\@TOTAL\@\@ * .25 ) +
0.00",'geo' => "zip",}
This is working like a champ for me!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, October 30, 2001 at 20:35 PM:
I'm the person your mother warned you about.
----------------------------------------------------------------
This Linux System has been up 106 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at interchange.redhat.com (interch)
Date: Tue Oct 30 23:57:00 2001
Subject: [ic] interchange crashing?
weve been experiencing a couple strange things with our installation of
interchange. It seems to be working well most of the time (its been up
for the most part for a month now getting 6-8k hits). But just this
evening i noticed that one of the interchange processes was using 80-90%
of the cpu.. and 86 MB memory. Looking at the interchange error.log i
found a bunch of lines like this (hundreds):
205.232.129.9 - - [29/October/2001:10:23:16 -0600] auto /cgi-
bin/auto/brands/menu/carcareaccessories.html Died in server spawn: Can't
call method "new" on an undefined value at /usr/local/interchange/lib/Vend/
Data.pm line 674.
216.97.217.186 - - [29/October/2001:10:23:38 -0600] auto /cgi-
bin/auto/index.html Died in server spawn: Can't call method "new" on an
undefined value at /usr/local/interchange/lib/Vend/Data.pm line 674.
and in the catalogs specific error.log the last few entries were something
like this:
205.188.200.48 eiZdeF8z:nobody - [30/October/2001:18:26:01 -0600] auto
/cgi-bin/auto/scan/MM=fb37d15dd936c522106bce33cf3bd273:20:39:20 search
error: Object saved wrong in
/home/interch/catalogs/auto/tmp/e/eiZdeF8z.fb37d15dd936c522106bce33cf3bd273
for search ID eiZdeF8z.fb37d15dd936c522106bce33cf3bd273.
205.188.200.48 eiZdeF8z:nobody - [30/October/2001:18:34:32 -0600] auto
/cgi-bin/auto/scan/MM=fb37d15dd936c522106bce33cf3bd273:20:39:20 search
error: Object saved wrong in
/home/interch/catalogs/auto/tmp/e/eiZdeF8z.fb37d15dd936c522106bce33cf3bd273
for search ID eiZdeF8z.fb37d15dd936c522106bce33cf3bd273.
and i also noticed that off and on, some days it will have hundreds of
entries in the same log with lines like this:
198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
/cgi-bin/auto/index.html Non-existent price option table options
198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
/cgi-bin/auto/index.html Non-existent price option table options
198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
/cgi-bin/auto/index.html Non-existent price option table options
198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
/cgi-bin/auto/index.html Non-existent price option table options
205.232.129.9 qVrxfUBy:nobody - [29/October/2001:10:24:15 -0600] auto
/cgi-bin/auto/process.html Non-existent price option table options
205.232.129.9 qVrxfUBy:nobody - [29/October/2001:10:24:15 -0600] auto
/cgi-bin/auto/process.html Non-existent price option table options
205.232.129.9 qVrxfUBy:nobody - [29/October/2001:10:24:15 -0600] auto
/cgi-bin/auto/process.html Non-existent price option table options
205.232.129.9 qVrxfUBy:nobody - [29/October/2001:10:24:15 -0600] auto
/cgi-bin/auto/process.html Non-existent price option table options
but for some reason none of those happened today, but we were loaded with
them yesterday. I dont know if this makes sense to anyone or if anyone
has any bright ideas, but it would be much appreciated if i could tap all
of your knowledge.
-sphen
From: interchange-users at interchange.redhat.com (John Beima)
Date: Wed Oct 31 00:20:01 2001
Subject: [ic] interchange crashing?
We see this as well...
In our catalog error file we also get:
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:32 -0600] biochem
/cgi-bin/biochem/admin/flex_select Unknown filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:32 -0600] biochem
/cgi-bin/biochem/admin/flex_select Unknown filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:32 -0600] biochem
/cgi-bin/biochem/admin/flex_select Unknown filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:32 -0600] biochem
/cgi-bin/biochem/admin/flex_select Unknown filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:32 -0600] biochem
/cgi-bin/biochem/admin/flex_select Unknown filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:46 -0600] biochem
/cgi-bin/biochem/scan/MM=35d7b174c47beb72c83f18333e75c1f7:100:112:50 Unknown
filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:46 -0600] biochem
/cgi-bin/biochem/scan/MM=35d7b174c47beb72c83f18333e75c1f7:100:112:50 Unknown
filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:46 -0600] biochem
/cgi-bin/biochem/scan/MM=35d7b174c47beb72c83f18333e75c1f7:100:112:50 Unknown
filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:46 -0600] biochem
/cgi-bin/biochem/scan/MM=35d7b174c47beb72c83f18333e75c1f7:100:112:50 Unknown
filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:46 -0600] biochem
/cgi-bin/biochem/scan/MM=35d7b174c47beb72c83f18333e75c1f7:100:112:50 Unknown
filter
reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:46 -0600] biochem
/cgi-bin/biochem/scan/MM=35d7b174c47beb72c83f18333e75c1f7:100:112:50 Unknown
filter
This catalog will stop working as well from time to time... With no errors in
the catalog or Interchange error or icdebug files... There is also nothing in
the Apache logs...
However the other 20 catalogs run on fine....
John
Quoting interch <interch@nawabenterprises.com>:
> weve been experiencing a couple strange things with our installation of
> interchange. It seems to be working well most of the time (its been up
> for the most part for a month now getting 6-8k hits). But just this
> evening i noticed that one of the interchange processes was using 80-90%
>
> of the cpu.. and 86 MB memory. Looking at the interchange error.log i
> found a bunch of lines like this (hundreds):
>
> 205.232.129.9 - - [29/October/2001:10:23:16 -0600] auto /cgi-
> bin/auto/brands/menu/carcareaccessories.html Died in server spawn: Can't
>
> call method "new" on an undefined value at
> /usr/local/interchange/lib/Vend/
> Data.pm line 674.
> 216.97.217.186 - - [29/October/2001:10:23:38 -0600] auto /cgi-
> bin/auto/index.html Died in server spawn: Can't call method "new" on an
> undefined value at /usr/local/interchange/lib/Vend/Data.pm line 674.
>
> and in the catalogs specific error.log the last few entries were
> something
> like this:
>
> 205.188.200.48 eiZdeF8z:nobody - [30/October/2001:18:26:01 -0600] auto
> /cgi-bin/auto/scan/MM=fb37d15dd936c522106bce33cf3bd273:20:39:20 search
> error: Object saved wrong in
> /home/interch/catalogs/auto/tmp/e/eiZdeF8z.fb37d15dd936c522106bce33cf3bd273
>
> for search ID eiZdeF8z.fb37d15dd936c522106bce33cf3bd273.
> 205.188.200.48 eiZdeF8z:nobody - [30/October/2001:18:34:32 -0600] auto
> /cgi-bin/auto/scan/MM=fb37d15dd936c522106bce33cf3bd273:20:39:20 search
> error: Object saved wrong in
> /home/interch/catalogs/auto/tmp/e/eiZdeF8z.fb37d15dd936c522106bce33cf3bd273
>
> for search ID eiZdeF8z.fb37d15dd936c522106bce33cf3bd273.
>
> and i also noticed that off and on, some days it will have hundreds of
> entries in the same log with lines like this:
>
> 198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
> /cgi-bin/auto/index.html Non-existent price option table options
> 198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
> /cgi-bin/auto/index.html Non-existent price option table options
> 198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
> /cgi-bin/auto/index.html Non-existent price option table options
> 198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
> /cgi-bin/auto/index.html Non-existent price option table options
> 205.232.129.9 qVrxfUBy:nobody - [29/October/2001:10:24:15 -0600] auto
> /cgi-bin/auto/process.html Non-existent price option table options
> 205.232.129.9 qVrxfUBy:nobody - [29/October/2001:10:24:15 -0600] auto
> /cgi-bin/auto/process.html Non-existent price option table options
> 205.232.129.9 qVrxfUBy:nobody - [29/October/2001:10:24:15 -0600] auto
> /cgi-bin/auto/process.html Non-existent price option table options
> 205.232.129.9 qVrxfUBy:nobody - [29/October/2001:10:24:15 -0600] auto
> /cgi-bin/auto/process.html Non-existent price option table options
>
> but for some reason none of those happened today, but we were loaded
> with
> them yesterday. I dont know if this makes sense to anyone or if anyone
> has any bright ideas, but it would be much appreciated if i could tap
> all
> of your knowledge.
>
> -sphen
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.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
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 31 02:39:01 2001
Subject: [ic] interchange crashing?
John Beima <jbeima@palb.com> writes:
> We see this as well...
>
> In our catalog error file we also get:
>
> reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:32 -0600] biochem
> /cgi-bin/biochem/admin/flex_select Unknown filter
> reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:32 -0600] biochem
> /cgi-bin/biochem/admin/flex_select Unknown filter
> reality.palb.com xsHhTBp3:palb.com - [28/October/2001:23:04:32 -0600] biochem
> /cgi-bin/biochem/admin/flex_select Unknown filter
This is probably a (harmless) bug fixed in the CVS already.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 31 02:46:01 2001
Subject: [ic] interchange crashing?
interch <interch@nawabenterprises.com> writes:
> weve been experiencing a couple strange things with our installation of
> interchange. It seems to be working well most of the time (its been up
> for the most part for a month now getting 6-8k hits). But just this
> evening i noticed that one of the interchange processes was using 80-90%
> of the cpu.. and 86 MB memory. Looking at the interchange error.log i
> found a bunch of lines like this (hundreds):
>
> 205.232.129.9 - - [29/October/2001:10:23:16 -0600] auto /cgi-
> bin/auto/brands/menu/carcareaccessories.html Died in server spawn: Can't
> call method "new" on an undefined value at /usr/local/interchange/lib/Vend/
> Data.pm line 674.
> 216.97.217.186 - - [29/October/2001:10:23:38 -0600] auto /cgi-
> bin/auto/index.html Died in server spawn: Can't call method "new" on an
> undefined value at /usr/local/interchange/lib/Vend/Data.pm line 674.
This can be a catalog error or a known, but rather mysterious bug in
Interchange with PreFork enabled.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Wed Oct 31 03:15:01 2001
Subject: [ic] selected tag
> At 02:42 PM 10/30/2001 +0100, you wrote:
>> Götz Verdieck <goetz.verdieck@com4office.de> writes:
>>
>>> Hi,
>>> I think with my problem I'm back to the roots, but I can not solve it!
>>>
>>>
>>> Every time the first entry (AK) will be shown up in the option list,
>> even if
>>> I select AL !
>>>
>>> <SELECT NAME="state" onChange="this.form.submit()">
>>> <OPTION VALUE="AK" [selected state AK]>AK
>>> <OPTION VALUE="AL" [selected state AL]>AL
>>> </SELECT>
>>> What am I doing wrong ?
>>> I looked in the mail archive, but it seems that everybody uses the
>>> selected tag with no problem.
>>> I'm working on a mac. Is this a part of the problem ?
>>
>> Should work. What shows the HTML code. What is your form action ?
>> BTW: You can leave out the value.
>>
>> Ciao
>> Racke
>
> It sounds like the value of state is not being set on form submission. Put
> [value state] in a visible spot on the page, then change the state
> selection - does the value of [value state] match your choice when the page
> reloads?
>
> - Ed L.
Hi,
that was exactly the point, thanks !
Best regards
Goetz Verdieck
==============================
Goetz.Verdieck@com4office.de
From: interchange-users at interchange.redhat.com (Götz Verdieck)
Date: Wed Oct 31 03:23:01 2001
Subject: [ic] selected tag
> On Tue, 30 Oct 2001, Götz Verdieck wrote:
>
> GV>>Every time the first entry (AK) will be shown up in the option list, even
> if
> GV>>I select AL !
> GV>>
> GV>><SELECT NAME="state" onChange="this.form.submit()">
> GV>> <OPTION VALUE="AK" [selected state AK]>AK
> GV>> <OPTION VALUE="AL" [selected state AL]>AL
> GV>> </SELECT>
> GV>>What am I doing wrong ?
> GV>>I looked in the mail archive, but it seems that everybody uses the
> GV>>selected tag with no problem.
>
> You have 2 states selected. Try getting rid of that entry in the first line
> and report back :-)
>
> GV>>I'm working on a mac. Is this a part of the problem ?
>
> (Biting my sarcastic tongue) It shouldn't be.
>
> -= Jim =-
>
Sometimes when you are in trouble you even blame the one you love - and I
love my Mac Powerbook :)
I see a bright future for the combination of a Mac and IC with the new Mac
OS X 10.1.
Best regards
Goetz Verdieck
==============================
Goetz.Verdieck@com4office.de
From: interchange-users at interchange.redhat.com (David Totten)
Date: Wed Oct 31 05:45:01 2001
Subject: [ic] Integrating payment to IC
On Tue, 2001-10-30 at 18:15, Jim Balcom wrote:
> On 30 Oct 2001, David Totten wrote:
>
> DT>>> I don't want a step by step procedure, just a hint on where to look
> DT>>at.
> DT>>
> DT>>Well, I think someone may have mentioned this, but the modules that
> DT>>handle payment gateway speaking are located in
> DT>>$INTERCHANGE_ROOT/lib/Payment/
> DT>>
> DT>>Look at those modules each one works a little differently, so hopefully
> DT>>you can find one that best fits the way your bank does it.
>
> Dave,
>
> Is there a FAQ for this? Or, can one be written?
>
> This seems to be a common thread to a LOT of messages lately - like there
> are a myriad of people trying to set up card processing and are getting very
> frustrated and pissed off!
I don't know of one that does this exactly. Perhaps this is something
that could be added to that list. What we really need is the
http://interchange.redhat.com/cgi-bin/ic/faq page back online, and
submissions to it. That page seems the best solution, but I suppose it
could be hosted elswhere as well. Then all of these "faqs" could be
compiled and easily accessible.
Dave Totten
--
___________________________________________________________________
GnuPG uid: 0x887B864C
Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C
For more information about GnuPG, visit http://www.gnupg.org
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 31 07:39:00 2001
Subject: [ic] Foundation - auto prod_group and category fine tune.
I am trying to make sense of the /templates/components/category_vertical
file in the Foundation demo 4.8.2
I believe this file is responsible for auto-creating the default Foundation
category link list on the left side.
The problem I am having is with a category that has the same name as another
category in a different prod_group.
Similar thread in the archives i.e.
Cat - Food
Dog - Food
Clicking on Food brings up the same list of items in either case.
I know that this functionality can be easily added with a typical IC search
query using a coordinated search but the code in this component that
automatically pulls in the categories and groups from the products file and
creates the links is a little beyond me. How do I get the code below to
create category links that will only return items exclusive to a category
within a prod_group. Something to do with [cat-exec bar_link] ?
<!-- BEGIN COMPONENT [control component category_vertical] -->
[timed-build auto=1 if="[control timed 0]" minutes="[control timed 0]"]
[set found_cat][/set]
[loop
prefix=box
search="
fi=area
st=db
tf=sort
ac=0
ac=0
co=yes
sf=sel
op=eq
se=[control set_selector left]
sf=which_page
op=rm
se=[control page_class all|@@MV_PAGE@@]
"]
<tr>
<td valign="top" class="categorybar">
<b>[box-exec bar_link]area[/box-exec]</b>
</td>
</tr>
<tr>
<td valign="top" class="categorybar">
[set found_cat]1[/set]
[loop prefix=cat
search="
fi=cat
st=db
tf=sort
tf=name
rf=code,name
sf=sel
se=[box-code]
"
]
[cat-exec bar_link]cat[/cat-exec]<BR>
[/loop]
</td>
</tr>
[/loop]
[if !scratch found_cat]
<tr>
<td class="categorybar">
[loop
search="
ra=yes
tf=description
"
]
[page [loop-code]][loop-field description][/page]<BR>
[/loop]
</td>
</tr>
[/if]
[/timed-build]
</table>
<br>
</td></tr>
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 31 08:44:00 2001
Subject: [ic] interchange crashing?
On Tue, Oct 30, 2001 at 11:55:44PM -0500, interch wrote:
You are quoting a number of errors below. Beware of assuming that one
goes with the other.
In my experience, most errors writing/reading to tmp and session
data files are related to perl upgrades (Data modules or versions).
Usually blowing away the sessions and temp files and restarting
will clear that up (or give you a fatal error).
Unless they are in the same session, it's even less likely that they
are related. (Though I'd never say impossible)
Just add some logging to the code and track it backwards.
>
> and in the catalogs specific error.log the last few entries were something
> like this:
>
> 205.188.200.48 eiZdeF8z:nobody - [30/October/2001:18:26:01 -0600] auto
> /cgi-bin/auto/scan/MM=fb37d15dd936c522106bce33cf3bd273:20:39:20 search
> error: Object saved wrong in
> /home/interch/catalogs/auto/tmp/e/eiZdeF8z.fb37d15dd936c522106bce33cf3bd273
> for search ID eiZdeF8z.fb37d15dd936c522106bce33cf3bd273.
> 205.188.200.48 eiZdeF8z:nobody - [30/October/2001:18:34:32 -0600] auto
> /cgi-bin/auto/scan/MM=fb37d15dd936c522106bce33cf3bd273:20:39:20 search
> error: Object saved wrong in
> /home/interch/catalogs/auto/tmp/e/eiZdeF8z.fb37d15dd936c522106bce33cf3bd273
> for search ID eiZdeF8z.fb37d15dd936c522106bce33cf3bd273.
>
> and i also noticed that off and on, some days it will have hundreds of
> entries in the same log with lines like this:
>
> 198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
> /cgi-bin/auto/index.html Non-existent price option table options
> 198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto
--
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/site management, online commerce, internet integration, Debian linux
From: interchange-users at interchange.redhat.com (Raymond Kirby)
Date: Wed Oct 31 08:56:01 2001
Subject: [ic] (State) Table Breaks
That worked
Thanks
Sure would like to know why it would go stupid in the first place.
Ray
> > State is an SQL Table
> > and I all ready upgraded Perl to 5.6.1
> > Need RedHat 6.1 to keep Oracle Stable
> > But Thanks
>
> Right. What I meant was that state is *normally* a GDBM database. Have
> you tried it that way?
>
> Dan Browning
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 31 09:03:01 2001
Subject: [ic] Foundation - auto prod_group and category fine tune.
Quoting music@labyrinth.net.au (music@labyrinth.net.au):
> I am trying to make sense of the /templates/components/category_vertical
> file in the Foundation demo 4.8.2
> I believe this file is responsible for auto-creating the default Foundation
> category link list on the left side.
>
> The problem I am having is with a category that has the same name as another
> category in a different prod_group.
>
> Similar thread in the archives i.e.
>
> Cat - Food
> Dog - Food
>
> Clicking on Food brings up the same list of items in either case.
>
> I know that this functionality can be easily added with a typical IC search
> query using a coordinated search but the code in this component that
> automatically pulls in the categories and groups from the products file and
> creates the links is a little beyond me. How do I get the code below to
> create category links that will only return items exclusive to a category
> within a prod_group. Something to do with [cat-exec bar_link] ?
By default, the link type is "simple", which is a simple search.
You can put "prod_group=X, category=Y" in the "selector" field of
the cat table and get that to happen.
In fact, I think the 4.9 devel CVS has a pages/admin/layout_auto.html
file which does that for you automatically. That may even work
in 4.8.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Software axiom: Lack of speed kills.
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Wed Oct 31 10:36:00 2001
Subject: [ic] Encrypted Email
I am having difficulty getting the email encrypted.
Quoting a reply From: Ed LaFrance <edl@newmediaems.com>:
"You need to use encryption - set up PGP or GPG on your machine with your
public key, then just log in to the UI and follow
Administration->Preferences->Encryption, and set the variables:
ENCRYPTOR -> pgp (or gpg)
PGP_KEY -> your_key_id
and 'Apply Changes'...thats all there is; it has never been as easy as it
is in 4.8.2. Use your private key to decrypt the credit card info when
it
lands in your email box.
- Ed L."
So I have:
ENCRYPTOR -> gpg
PGP_key -> interch@localhost
I can issue the following as interch:
bash-2.04$ gpg --list-keys
gpg: Warning: using insecure memory!
/var/lib/interchange/.gnupg/pubring.gpg
---------------------------------------
pub 1024D/DFFA302C 2001-10-31 foundation (foundation) <rick@texol.net>
sub 1024g/65D6035E 2001-10-31
I read a email in the archives that said to uncomment the debug lines in
order.pm so I did and here is what I get (/tmp/icdebug) when I place an
order:
Vend::Order:debug: called pgp_encrypt key= cmd=
Vend::Order:debug: after pgp_encrypt key=interch@localhost
cmd=gpg --batch --always-trust -e -
a -r 'interch@localhost'
Here is what I get in the error.log file for the catalog:
216.111.193.94 y7QhYeUp:216.111.193.94 - [31/October/2001:10:22:57 -0500]
foundation /cgi-
bin/foundation/process.html PGP failed with status 131072:
216.111.193.94 y7QhYeUp:216.111.193.94 - [31/October/2001:10:22:57 -0500]
foundation /cgi-
bin/foundation/process.html Successful login by user 'U00017'
I am running redhat 7.1 and interchange 4.8.2 (rpm).
After reading emails for the last three days I have come up with nothing.
Any help would be greatly appreciated!
Thanks,
Rick Eicher II
www.pbol.net
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Wed Oct 31 10:49:00 2001
Subject: [ic] Encrypted Email
If I run the command that it seams to be trying I get:
bash-2.04$ gpg --batch --always-trust -e -a -r interch
gpg: Warning: using insecure memory!
gpg: interch: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
But I believe I alread created a public key?
Thanks,
Rick Eicher II
www.pbol.net
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick
Eicher II
Sent: Wednesday, October 31, 2001 9:44 AM
To: interchange
Subject: [ic] Encrypted Email
I am having difficulty getting the email encrypted.
Quoting a reply From: Ed LaFrance <edl@newmediaems.com>:
"You need to use encryption - set up PGP or GPG on your machine with your
public key, then just log in to the UI and follow
Administration->Preferences->Encryption, and set the variables:
ENCRYPTOR -> pgp (or gpg)
PGP_KEY -> your_key_id
and 'Apply Changes'...thats all there is; it has never been as easy as it
is in 4.8.2. Use your private key to decrypt the credit card info when
it
lands in your email box.
- Ed L."
So I have:
ENCRYPTOR -> gpg
PGP_key -> interch@localhost
I can issue the following as interch:
bash-2.04$ gpg --list-keys
gpg: Warning: using insecure memory!
/var/lib/interchange/.gnupg/pubring.gpg
---------------------------------------
pub 1024D/DFFA302C 2001-10-31 foundation (foundation) <rick@texol.net>
sub 1024g/65D6035E 2001-10-31
I read a email in the archives that said to uncomment the debug lines in
order.pm so I did and here is what I get (/tmp/icdebug) when I place an
order:
Vend::Order:debug: called pgp_encrypt key= cmd=
Vend::Order:debug: after pgp_encrypt key=interch@localhost
cmd=gpg --batch --always-trust -e -
a -r 'interch@localhost'
Here is what I get in the error.log file for the catalog:
216.111.193.94 y7QhYeUp:216.111.193.94 - [31/October/2001:10:22:57 -0500]
foundation /cgi-
bin/foundation/process.html PGP failed with status 131072:
216.111.193.94 y7QhYeUp:216.111.193.94 - [31/October/2001:10:22:57 -0500]
foundation /cgi-
bin/foundation/process.html Successful login by user 'U00017'
I am running redhat 7.1 and interchange 4.8.2 (rpm).
After reading emails for the last three days I have come up with nothing.
Any help would be greatly appreciated!
Thanks,
Rick Eicher II
www.pbol.net
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Tobias Henle)
Date: Wed Oct 31 10:55:00 2001
Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles
Hello List,
I have implemented the access to the German-Post Paymentgateway, but I
have a problem now, where to put the call to the Tag so that i can stop
the order process if something went wrong!
I tried to do it within the profiles.order file but this don't seem to
work becorse i need to know if there was any error before.
Dose anybody has an idea about this or can anybody tell me where to get
some more documentation about the order.profile files.
mit freundlichen Grüßen
-Tobias Henle
_ _ _
__ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __
\ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \
\_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_|
--
________E-Mail________________________URL____________________________
mailto:t.henle@thiesen.com http://www.thiesen.com
_____________________________________________________________________
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 31 11:01:00 2001
Subject: [ic] Encrypted Email
"Rick Eicher II" <rick@texol.net> writes:
[...]
>
> So I have:
>
> ENCRYPTOR -> gpg
> PGP_key -> interch@localhost
>
> I can issue the following as interch:
>
> bash-2.04$ gpg --list-keys
> gpg: Warning: using insecure memory!
> /var/lib/interchange/.gnupg/pubring.gpg
> ---------------------------------------
> pub 1024D/DFFA302C 2001-10-31 foundation (foundation) <rick@texol.net>
> sub 1024g/65D6035E 2001-10-31
Why didn't you use
PGP_key -> rick@texol.net
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Eduardo Dominguez)
Date: Wed Oct 31 11:07:00 2001
Subject: [ic] Encrypted Email
check your catroot/tmp directory for pgp*err files and check what the
error is...
also, "su - interch" and try the command to see if it works
try setting PGPGDATA to the directory where the .gnupg dir
is located..
hope this helps
On Wed, 2001-10-31 at 09:56, Rick Eicher II wrote:
> If I run the command that it seams to be trying I get:
>
> bash-2.04$ gpg --batch --always-trust -e -a -r interch
> gpg: Warning: using insecure memory!
> gpg: interch: skipped: public key not found
> gpg: [stdin]: encryption failed: public key not found
>
> But I believe I alread created a public key?
>
> Thanks,
> Rick Eicher II
> www.pbol.net
>
>
>
> -----Original Message-----
> From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick
> Eicher II
> Sent: Wednesday, October 31, 2001 9:44 AM
> To: interchange
> Subject: [ic] Encrypted Email
>
>
> I am having difficulty getting the email encrypted.
>
> Quoting a reply From: Ed LaFrance <edl@newmediaems.com>:
>
> "You need to use encryption - set up PGP or GPG on your machine with your
> public key, then just log in to the UI and follow
> Administration->Preferences->Encryption, and set the variables:
>
> ENCRYPTOR -> pgp (or gpg)
> PGP_KEY -> your_key_id
>
> and 'Apply Changes'...thats all there is; it has never been as easy as it
> is in 4.8.2. Use your private key to decrypt the credit card info when
> it
> lands in your email box.
>
> - Ed L."
>
> So I have:
>
> ENCRYPTOR -> gpg
> PGP_key -> interch@localhost
>
> I can issue the following as interch:
>
> bash-2.04$ gpg --list-keys
> gpg: Warning: using insecure memory!
> /var/lib/interchange/.gnupg/pubring.gpg
> ---------------------------------------
> pub 1024D/DFFA302C 2001-10-31 foundation (foundation) <rick@texol.net>
> sub 1024g/65D6035E 2001-10-31
>
> I read a email in the archives that said to uncomment the debug lines in
> order.pm so I did and here is what I get (/tmp/icdebug) when I place an
> order:
>
> Vend::Order:debug: called pgp_encrypt key= cmd=
> Vend::Order:debug: after pgp_encrypt key=interch@localhost
> cmd=gpg --batch --always-trust -e -
> a -r 'interch@localhost'
>
> Here is what I get in the error.log file for the catalog:
>
> 216.111.193.94 y7QhYeUp:216.111.193.94 - [31/October/2001:10:22:57 -0500]
> foundation /cgi-
> bin/foundation/process.html PGP failed with status 131072:
> 216.111.193.94 y7QhYeUp:216.111.193.94 - [31/October/2001:10:22:57 -0500]
> foundation /cgi-
> bin/foundation/process.html Successful login by user 'U00017'
>
> I am running redhat 7.1 and interchange 4.8.2 (rpm).
>
> After reading emails for the last three days I have come up with nothing.
> Any help would be greatly appreciated!
>
> Thanks,
> Rick Eicher II
> www.pbol.net
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke)
Date: Wed Oct 31 11:13:00 2001
Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles
Tobias Henle <t.henle@thiesen.com> writes:
> Hello List,
>
> I have implemented the access to the German-Post Paymentgateway, but I
> have a problem now, where to put the call to the Tag so that i can stop
> the order process if something went wrong!
IMHO you need to provide more information about your implementation.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
From: interchange-users at interchange.redhat.com (Sheamus Nulty)
Date: Wed Oct 31 11:18:27 2001
Subject: [ic] Locale and Dealer Profile
Hi Folks,
I'm trying to get the dealer profile working in conjunction with Locale in
4.8.2. Basically, I've three currencies on my site that work fine. I now
want to use these currencies in conjunction with wholesale prices. I've
tried the following
Locale en_UK Profile dealer CommonAdjust
"pricing:price_group,wu2,wu5,wu10,wu25,wu100 :wholesale_uk, ;:ukprice, ;$,
==:options"
Locale eur_EUR Profile dealer CommonAdjust
"pricing:price_group,we2,we5,we10,we25,we100 :wholesale_euro, ;:europrice,
;$, ==:options"
but it doesn't work.
The only way I can get it to work is if I setup a different dealer profiles
for each currency i.e.
Profile dealer_en_UK CommonAdjust
"pricing:price_group,wu2,wu5,wu10,wu25,wu100 :wholesale_uk, ;:ukprice, ;$,
==:options"
Profile dealer_eur_EUR CommonAdjust
"pricing:price_group,we2,we5,we10,we25,we100 :wholesale_euro, ;:europrice,
;$, ==:options"
Is there any way to get the first option working. If not how do I have the
Locale currency change to sterling with the dealer_en_UK user logs in and
the same for the euro dealer.
Regards and thanks
Sheamus
From: interchange-users at interchange.redhat.com (Ed LaFrance)
Date: Wed Oct 31 11:40:00 2001
Subject: [ic] Encrypted Email
At 09:56 AM 10/31/2001 -0600, you wrote:
>If I run the command that it seams to be trying I get:
>
> bash-2.04$ gpg --batch --always-trust -e -a -r interch
> gpg: Warning: using insecure memory!
> gpg: interch: skipped: public key not found
> gpg: [stdin]: encryption failed: public key not found
>
>But I believe I alread created a public key?
[snip]
>I can issue the following as interch:
>
> bash-2.04$ gpg --list-keys
> gpg: Warning: using insecure memory!
> /var/lib/interchange/.gnupg/pubring.gpg
> ---------------------------------------
> pub 1024D/DFFA302C 2001-10-31 foundation (foundation) <rick@texol.net>
> sub 1024g/65D6035E 2001-10-31
>
In fact, your key id is foundation, not interch.
- Ed L.
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Wed Oct 31 11:52:00 2001
Subject: [ic] Encrypted Email
Thanks just found that.
rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed
LaFrance
Sent: Wednesday, October 31, 2001 10:40 AM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] Encrypted Email
At 09:56 AM 10/31/2001 -0600, you wrote:
>If I run the command that it seams to be trying I get:
>
> bash-2.04$ gpg --batch --always-trust -e -a -r interch
> gpg: Warning: using insecure memory!
> gpg: interch: skipped: public key not found
> gpg: [stdin]: encryption failed: public key not found
>
>But I believe I alread created a public key?
[snip]
>I can issue the following as interch:
>
> bash-2.04$ gpg --list-keys
> gpg: Warning: using insecure memory!
> /var/lib/interchange/.gnupg/pubring.gpg
> ---------------------------------------
> pub 1024D/DFFA302C 2001-10-31 foundation (foundation) <rick@texol.net>
> sub 1024g/65D6035E 2001-10-31
>
In fact, your key id is foundation, not interch.
- Ed L.
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (Rick Eicher II)
Date: Wed Oct 31 11:57:01 2001
Subject: [ic] Encrypted Email
Have it working now. With ENCRYPTOR -> gpg and PGP_key -> foundation ( name
of the key under the interch user)
Thanks,
rick
-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Stefan Hornburg (Racke)
Sent: Wednesday, October 31, 2001 9:24 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Encrypted Email
"Rick Eicher II" <rick@texol.net> writes:
[...]
>
> So I have:
>
> ENCRYPTOR -> gpg
> PGP_key -> interch@localhost
>
> I can issue the following as interch:
>
> bash-2.04$ gpg --list-keys
> gpg: Warning: using insecure memory!
> /var/lib/interchange/.gnupg/pubring.gpg
> ---------------------------------------
> pub 1024D/DFFA302C 2001-10-31 foundation (foundation) <rick@texol.net>
> sub 1024g/65D6035E 2001-10-31
Why didn't you use
PGP_key -> rick@texol.net
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 31 12:09:28 2001
Subject: [ic] Foundation - auto prod_group and category fine tune.
From: "Mike Heins" <mheins@redhat.com>
> Quoting music@labyrinth.net.au (music@labyrinth.net.au):
> > I am trying to make sense of the /templates/components/category_vertical
> > file in the Foundation demo 4.8.2
> > I believe this file is responsible for auto-creating the default
Foundation
> > category link list on the left side.
> >
> > The problem I am having is with a category that has the same name as
another
> > category in a different prod_group.
> >
> > Similar thread in the archives i.e.
> >
> > Cat - Food
> > Dog - Food
> >
> > Clicking on Food brings up the same list of items in either case.
> >
> > I know that this functionality can be easily added with a typical IC
search
> > query using a coordinated search but the code in this component that
> > automatically pulls in the categories and groups from the products file
and
> > creates the links is a little beyond me. How do I get the code below to
> > create category links that will only return items exclusive to a
category
> > within a prod_group. Something to do with [cat-exec bar_link] ?
>
> By default, the link type is "simple", which is a simple search.
> You can put "prod_group=X, category=Y" in the "selector" field of
> the cat table and get that to happen.
>
> In fact, I think the 4.9 devel CVS has a pages/admin/layout_auto.html
> file which does that for you automatically. That may even work
> in 4.8.
Thanks! It certainly does work as far as creating the different search
queries for each link.
Unfortunately, as is also the case with the 4.8.2 version, it does not auto
generate a complete category list if the products.txt file has a duplicate
category name within a prod_group:
prod_group category
Dog food
Dog collar
Cat food
Cat flea powder
The layout_auto.html routine will only create a leftside list as follows:
Dog
food
collar
Cat
flea powder
The second 'food' category doesn't appear on the list.
I tried adding the missing duplicate category using the Design: Site Layout
page in the UI and then changing the 'field=column pairs' to include the
correct group:
category=food
prod_group=Cat (as in pussy)
but this changed the Dog food link to Cat food also.
I guess the next step is to clone a category using the table editor for
against the cat file. Can this simply be done by hand using vi or are there
other dependencies that necessitate the need to use the UI? Perhaps a clone
category facility would be good and, perhaps a numeric display along side
category names in the layout editor would make this task not so daunting!
;-)
I guess the answer for a very automated product file upload/cat listing is
to use all unique category names.
Cheers!
Simon B
From: interchange-users at interchange.redhat.com (Maureen Miniter)
Date: Wed Oct 31 12:37:01 2001
Subject: [ic] Interchange - Shipping
I am new to using Interchange, and I just have a question regarding shipping
in Interchange. When you get to the checkout screen it says: "Note: Nothing
to ship!" Also where it says "Shipping method" there are no options in the
drop down menu. Any help on these problems would be greatly appreciated!
Thanx!!
-Maureen Miniter
The Internet Place, Inc.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 31 12:45:00 2001
Subject: [ic] Locale and Dealer Profile
Quoting Sheamus Nulty (snulty@celticlinks.com):
> Hi Folks,
>
> I'm trying to get the dealer profile working in conjunction with Locale in
> 4.8.2. Basically, I've three currencies on my site that work fine. I now
> want to use these currencies in conjunction with wholesale prices. I've
> tried the following
>
> Locale en_UK Profile dealer CommonAdjust
> "pricing:price_group,wu2,wu5,wu10,wu25,wu100 :wholesale_uk, ;:ukprice, ;$,
> ==:options"
> Locale eur_EUR Profile dealer CommonAdjust
> "pricing:price_group,we2,we5,we10,we25,we100 :wholesale_euro, ;:europrice,
> ;$, ==:options"
>
> but it doesn't work.
No, because Profile is not one of the directives which can change with
locale change.
>
> The only way I can get it to work is if I setup a different dealer profiles
> for each currency i.e.
>
> Profile dealer_en_UK CommonAdjust
> "pricing:price_group,wu2,wu5,wu10,wu25,wu100 :wholesale_uk, ;:ukprice, ;$,
> ==:options"
> Profile dealer_eur_EUR CommonAdjust
> "pricing:price_group,we2,we5,we10,we25,we100 :wholesale_euro, ;:europrice,
> ;$, ==:options"
>
> Is there any way to get the first option working. If not how do I have the
> Locale currency change to sterling with the dealer_en_UK user logs in and
> the same for the euro dealer.
Send them to process/locale/[something]/page/login_success when they login.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Software axiom: Lack of speed kills.
From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid)
Date: Wed Oct 31 12:57:01 2001
Subject: [ic] Interchange - Shipping
Did you add something to the shopping cart before you went to checkout??
Maureen Miniter wrote:
> I am new to using Interchange, and I just have a question regarding
> shipping in Interchange. When you get to the checkout screen it says:
> "Note: Nothing to ship!" Also where it says "Shipping method" there
> are no options in the drop down menu. Any help on these problems would
> be greatly appreciated! Thanx!!
>
> -Maureen Miniter
> The Internet Place, Inc.
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
From: interchange-users at interchange.redhat.com (FixtureFactor.com)
Date: Wed Oct 31 13:18:00 2001
Subject: [ic] add item in admin order
Hi all,
I was just wondering, since Im still trying to add items to my catalog, is
there a way to place an order in the admin section if that item is not in
the catalog yet? So that you could add that item as you place the order or
just be able to put in a desc. and price just for that order.
Any info is appreciated.
Thanks,
Aaron Hazelton
Sincerely,
Aaron Hazelton
FixtureFactor.com V.P.
828.631.3477
We welcome your feedback! Please take 2 minutes and click here:
http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 31 13:37:01 2001
Subject: [ic] Foundation - auto prod_group and category fine tune.
--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Quoting music@labyrinth.net.au (music@labyrinth.net.au):
> Quoting mike:
> > By default, the link type is "simple", which is a simple search.
> > You can put "prod_group=X, category=Y" in the "selector" field of
> > the cat table and get that to happen.
> >
> > In fact, I think the 4.9 devel CVS has a pages/admin/layout_auto.html
> > file which does that for you automatically. That may even work
> > in 4.8.
>
> Thanks! It certainly does work as far as creating the different search
> queries for each link.
>
> Unfortunately, as is also the case with the 4.8.2 version, it does not auto
> generate a complete category list if the products.txt file has a duplicate
> category name within a prod_group:
>
> prod_group category
> Dog food
> Dog collar
> Cat food
> Cat flea powder
>
Thanks for pointing that out. I was not updating the %cat_done differently
based on the "narrow" cat_type.
I have attached an (untested) version of that page that might do it
automatically.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
--zYM0uCDKw75PZbzx
Content-Type: text/html; charset=us-ascii
Content-Disposition: attachment; filename="layout_auto.html"
[set page_title]Layout auto-populate[/set]
[set ui_class]Design[/set]
[set page_banner]Layout Editor: Organize your site into categories[/set]
[set page_perm]layout=e[/set]
[set help_name]layout.edit[/set]
[set icon_name]icon_pages.gif[/set]
[tmp meta_header]
[include include/table_populator]
<SCRIPT LANGUAGE=JavaScript>
function change_ta (ta_field, selector) {
if(selector == 'complex') {
ta_field.rows = 20;
ta_field.disabled = false;
}
else {
ta_field.rows = 1;
ta_field.disabled = true;
}
return;
}
</SCRIPT>
[/tmp]
[seti ui_body_extra][/seti]
@_UI_STD_HEAD_@
<!-- ----- BEGIN REAL STUFF ----- -->
<form action="[area __UI_BASE__/layout]" method=GET>
<input type=hidden name=mv_action value=back>
<table border=0 __UI_T_PROPERTIES__>
<tr>
<td colspan=2 bgcolor=__UI_C_TOPBLOCKBAR__><img src="bg.gif" width=__UI_MAIN_WIDTH__ height=1></td>
</tr>
<tr bgcolor="__UI_C_INTBLOCK__">
<td width=25%>
1. Choose a table as the source:
</td>
<td>
[if !value area_table]
[value name=area_table set=products hide=1]
[value name=area_column set=prod_group hide=1]
[value name=cat_column set=category hide=1]
[/if]
<select name="area_table"
onChange="
populateTable(
this.form.area_table.options,
this.form.area_column.options,
this.form.area_table.options[this.form.area_table.selectedIndex].value
);
populateTable(
this.form.area_table.options,
this.form.cat_column.options,
this.form.area_table.options[this.form.area_table.selectedIndex].value
);
"
size=1>
[loop list="[list-databases]" option=area_table]
<OPTION VALUE="[loop-code]">[loop-code]</OPTION>
[/loop]
</select>
</td>
</tr>
<tr>
<td>
2. Choose a column to populate areas:
</td>
<td>
<select name="area_column">
<option value=""> -- none --
[loop list="[db-columns table='[value area_table]']" option=area_column]
<option>[loop-code]
[/loop]
</select>
</td>
</tr>
<tr>
<td>
3. Choose a column to populate categories:
</td>
<td>
<select name="cat_column">
<option value=""> -- none --
[loop list="[db-columns table='[value area_table]']" option=cat_column]
<option>[loop-code]
[/loop]
</select>
</td>
</tr>
<tr>
<td>
4. Choose a search type:
</td>
<td>
<select name="cat_type" onChange="change_ta(this.form.search_code,this.form.cat_type.value)">
<option value="narrow"> Narrow search (area and category match)
<option value="simple"> Simple search (only category matches)
<option value="complex"> Complex search (template substitution on below)
</select>
</td>
</tr>
<tr>
<td valign=top>
5. Complex search code:
</td>
<td>
NOTE: Not active unless complex search selected above.<br>
<textarea rows=1 cols=50 name=search_code disabled=true>
fi=products
st=db
co=yes
sf=prod_group
se=~PROD_GROUP~
op=eq
sf=category
se=~CATEGORY~
op=eq
sf=inactive
se=1
op=ne
rf=sku
va=banner_text=~BANNER_TEXT~
</textarea>
</td>
</tr>
<tr bgcolor="__UI_C_INTBLOCK__">
<td>
6. Select the page class:
</td>
<td>
<INPUT NAME=which_page VALUE=all>
</td>
</tr>
<tr bgcolor="__UI_C_INTBLOCK__">
<td>
7. Select the page area:
</td>
<td>
<INPUT NAME=sel VALUE=left>
</td>
</tr>
<tr bgcolor="__UI_C_INTBLOCK__">
<td>
8. Decide whether to remove previous settings:
</td>
<td>
<SELECT NAME=nuke><OPTION VALUE=0>No <OPTION VALUE=1>Yes</SELECT>
</td>
</tr>
<tr>
<td>
9. Click this button to populate:
</td>
<td>
[button text="Populate"]
[flag type=write table="area"]
[flag type=write table="cat"]
[seti ui_failure]
[perl tables="area cat [cgi area_table]"]
my $go_page = $CGI->{mv_nextpage};
$CGI->{mv_nextpage} = '@@MV_PAGE@@';
my $ptab = $CGI->{area_table}
or return "no area source table";
my $pdb = $Db{$ptab}
or return "area source table bad";
my $adb = $Db{area}
or return "no area table";
my $cdb = $Db{cat}
or return "no cat table";
my $acol = $CGI->{area_column};
my $ccol = $CGI->{cat_column};
if(! $acol and ! $ccol ) {
return "no column to populate either";
}
my $selector = '';
my $selcode = '';
my %area_defaults = (
name => undef,
which_page => $CGI->{which_page} || 'all',
sort => '05',
sel => $CGI->{sel} || 'left',
display_type => 'name',
);
my %catmap;
my $narrow;
my $lt;
my $search_code;
if($CGI->{cat_type} eq 'simple') {
$lt = 'simple';
$selector = 'category=~CATEGORY~';
$search_code = '';
}
elsif($CGI->{cat_type} eq 'narrow') {
$narrow = 1;
$lt = 'simple';
$selector = <<EOF;
category=~CATEGORY~
prod_group=~PROD_GROUP~
EOF
$search_code = '';
}
else {
$lt = 'complex';
$selector = '';
$search_code = $CGI->{search_code};
}
my %cat_defaults = (
link_type => $lt,
selector => $selector,
search => $search_code,
sort => '05',
display_type => 'name'
);
if($CGI->{nuke}) {
$adb->query('delete from area');
$cdb->query('delete from cat');
}
if($acol) {
$adb->config('AUTO_NUMBER', '1000') if ! $adb->config('_Auto_number');
return "area column $acol doesn't exist"
unless $pdb->column_exists($acol);
my $ary = $pdb->query("select distinct $acol from $ptab order by $acol")
or return "area column query failed";
for(@$ary) {
my ($area) = (@$_);
my $key = $adb->set_row('');
return "no autonumbering available" if ! $key;
$catmap{$area} = $key;
for(keys %area_defaults) {
$adb->set_field($key, $_, $area_defaults{$_} || $area);
}
}
}
my %catdone;
if($ccol) {
$cdb->config('AUTO_NUMBER', '1000') if ! $cdb->config('_Auto_number');
return "cat column $ccol doesn't exist"
unless $pdb->column_exists($ccol);
my ($ary, $fh) = $pdb->query(
"select $acol, $ccol from $ptab order by $ccol",
)
or return "cat column query failed";
foreach my $row (@$ary) {
my $area = $row->[$fh->{$acol}];
my $cat = $row->[$fh->{$ccol}];
my $donetag = $narrow ? "$area:$cat" : $cat;
next if $catdone{$donetag}++;
my $key = $cdb->set_row('');
return "no cat autonumbering available" if ! $key;
my %defaults = %cat_defaults;
$defaults{name} = $cat;
$defaults{sel} = $catmap{$area};
$defaults{search} =~ s/~ (\w+) ~/$row->[$fh->{lc $1}]/gx;
$defaults{selector} =~ s/~ (\w+) ~/$row->[$fh->{lc $1}]/gx;
for(keys %defaults) {
Log("setting col=$_ key=$key = $defaults{$_}");
$cdb->set_field($key, $_, $defaults{$_});
}
}
}
$CGI->{mv_nextpage} = $go_page;
my $out = $Tag->uneval( { ref => \%catmap } );
$out =~ s/,/,\n/g;
#return '<XMP>' . $Tag->uneval( { ref => \%catmap } ) . "</XMP";
return;
[/perl]
[/seti]
[/button]
<BR>
</td>
</tr>
<tr>
<td colspan=2 bgcolor=__UI_C_TOPBLOCKBAR__><img src="bg.gif" width=__UI_MAIN_WIDTH__ height=1></td>
</tr>
</table>
</form>
<!-- ----- END REAL STUFF ----- -->
@_UI_STD_FOOTER_@
<!-- page: @@MV_PAGE@@ -->
--zYM0uCDKw75PZbzx--
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 31 14:07:01 2001
Subject: [ic] Searching on more than one table
I would like to come up with a way to search two
tables using one search string. I have the products
table and the article table, both of which should
be searched from one search box. Is there an
easy way to do this?
Then I want to have a page which looks like:
Your search returned 5 products and 2 articles
Products
Product 1
Product 2
...
Product 5
Articles
Article 1
Article 2
Thanks in advance.
Patrick
From: interchange-users at interchange.redhat.com (Bernino Lind)
Date: Wed Oct 31 15:06:00 2001
Subject: [ic] Making a new component
Hello all,
In order to understand how something works one must disassemble and
reassemble it.
So thats just what Im doing right now with Interchange.
I have first of all done it with the links between templates, pages and
components - which ofcourse means learning some of the IC datastructure, icl
language, embedded Perl (neat!) and much much more.
Now I want to do a new component, called news, which gets its data from:
sql="
SELECT sku,timed_promotion,start_date,finish_date
FROM
[either]__UI_MERCH_TABLE__[or]merchandising[/either]
WHERE featured = '[control news_type news]'
"][/query]
Where it must be said, that what I want is that I want to have the
possibility to create a story in the admin UI Items section, and click
Promotion and then tell the system that this is "News".
In this way I could get a content management system using the existing IC
infrastructure having news (stories) in the places I like them to be.
What I have done so far is to:
1. Create a component called news which is basically a copy of the existing
foundation component called promo:
[comment]
ui_component: news
ui_component_type: content, vertical
ui_component_group: news
ui_component_label: News
2. Do some changes in news component to refer to news_ instead of promo_
3. Add a promotion type called News=>news in the admin UI
4. Add a news code News=news in the news component
5. Edit via admin UI a page, and tell one component setting that it should
now be a "News"
6. Just to make sure: restart interchange
And it works (a sign of luck, good understanding or powers beyond).
Now is my question: will such personal messing around introduce any kind of
instability in interchange ?
Have anyone ever done something similar, and what are your experiences ?
--
med venlig hilsen / Best Regards
Bernino Lind +45 7021 0050
catpipe Systems ApS - www.catpipe.net
Best done FreeBSD solutions
From: interchange-users at interchange.redhat.com (Javier Martin)
Date: Wed Oct 31 16:12:00 2001
Subject: [ic] BUG in &charge= when passing options (IC 4.8.2)
Hello,
I would like to share my experience with &charge and what I think it's a bug
in a specific part of its implementation.
THE SCENARIO:
We use &charge=... in our profile and we want to specify options, for
example 'transaction=mauthonly' to say that we don't want to capture, only
authorize. The line for this would be:
&charge=[var MV_PAYMENT_MODE] transaction=mauthonly
If we do so, as a result we see that all options are IGNORED, ie. no matter
what parameters are passed they don't arrive to the payment module (say
AuthorizeNet.pm).
The problem seems to be in the file lib/Vend/Orders.pm:
>>>>>>>>>>>>>>>>>>>>>
sub _charge {
my ($ref, $params, $message) = @_;
my $result;
my $opt;
if ($params =~ /^custom\s+/) {
$opt = {};
}
else {
$params =~ s/(\w+)\s*(.*)/$1/s;
$opt = get_option_hash($2);
>>>>>>>>>>>>>>>>>>>>>
Here $params receives all the parameters passed to &charge (authorizenet
transaction=mauthonly). This piece of code splits that in two
($1=authorizenet, $2=transaction=mauthonly), and then $2 is converted to a
hash ref through get_option_hash. The problem is that get_option_hash makes
some regex checkings at first, and all $2 gets DESTROYED before it's
actually used.
The way to solve this is:
- Use routes to specify payment options.
- Use the tag version [charge] but care! if you use it in the profile, you
will charge even before the credit card is checked, as all tags are parsed
before the profile execution starts.
or...
- Patch the interchange code to pass a copy of $2, instead of $2 itself:
>>>>>>>>>>>>>>>>>>>>>
else {
$params =~ s/(\w+)\s*(.*)/$1/s;
my $options = $2;
$opt = get_option_hash($options);
>>>>>>>>>>>>>>>>>>>>>
The last has worked for me.
Javier
From: interchange-users at interchange.redhat.com (Mike Heins)
Date: Wed Oct 31 17:26:01 2001
Subject: [ic] BUG in &charge= when passing options (IC 4.8.2)
Quoting Javier Martin (martin@trymedia.com):
> Hello,
>
> I would like to share my experience with &charge and what I think it's a bug
> in a specific part of its implementation.
>
> THE SCENARIO:
>
> We use &charge=... in our profile and we want to specify options, for
> example 'transaction=mauthonly' to say that we don't want to capture, only
> authorize. The line for this would be:
>
> &charge=[var MV_PAYMENT_MODE] transaction=mauthonly
>
> If we do so, as a result we see that all options are IGNORED, ie. no matter
> what parameters are passed they don't arrive to the payment module (say
> AuthorizeNet.pm).
> - Patch the interchange code to pass a copy of $2, instead of $2 itself:
>
>
> >>>>>>>>>>>>>>>>>>>>>
> else {
> $params =~ s/(\w+)\s*(.*)/$1/s;
> my $options = $2;
> $opt = get_option_hash($options);
> >>>>>>>>>>>>>>>>>>>>>
>
> The last has worked for me.
Or do what I did, fix get_option_hash so it doesn't use the stupid
$_[0] method of manipulating arguments. It was a very false economy.
You should be able to pass $2 with no fear.
Thank you very much for your investigation and fix. It saved me a lot
of time. The change (to Util.pm) is in CVS, both stable and devel.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <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: interchange-users at interchange.redhat.com (John Clayton)
Date: Wed Oct 31 17:52:00 2001
Subject: [ic] options
I followed this how-to below and it works fine. The
options load up on the product's html page with the
correct values. But when an item is selected in the
drop down menu the option selected does not follow
through to the cart. Does any body know why this is
happening? Do I have to change something on the
flypage?
John
> On Mon, 2001-10-29 at 09:37, Fred Pope wrote:
> > HOW TO
> >
> > Find the form that controls the simple options
> page in the admin. Using your
> > favorite editor, open up the file template called
> item_option_simple. We
> > used vi to edit the file.
> >
> > Add a form input field to that form that
> references the price wherever you
> > see fit. I did it after the textarea entry. The
> Code that I added reads as
> > follows:
> > <tr>
> > <td> Price: <input type="text"
> name="opt_price_[scratch mod_code]"
> > size="50" value="[filter entities][sql-param
> price][/filter]"></td>
> > </tr>
> >
> > This will add it to the edit templates.
> >
> > Then you are going to modify the query up above
> that inserts the data.
> >
> > First you need to define the variable for the
> query so add this line:
> >
> > my $price = $CGI->{"opt_price_$key"};
> >
> > This line goes right under the three others that
> are defining name, value
> > and label.
> >
> > Then a ways further down, in the SQL set
> statements add:
> >
> > $odb->set_field($key,'price',$price);
> >
> > Finally towards the very bottom you need to add
> this line for the add new
> > option dialog below the textarea and aboe the
> input button.
> > Price:<Input type="text" name="opt_price_"
> size"30"><br>
> >
> > Now say you have a product that is a car. The car
> is avaliable in three
> > colors, Red Blue and Green which add to the price
> 50,100&150 respectively.
> >
> > In the text areas you might enter the following
> values:
> >
> > Name: CLR
> > Label: Color
> > Values: R=Red
> > B=Blue
> > G=Green
> > Price: R=50,B=100,G=150
> >
> > Now when you select these options, it will
> automatically configure the price
> > when you add the item to the basket. Our next task
> is too add some
> > javascript that will automatically calculate the
> price as the user select
> > the options.
> >
> > If you would like to see an example of how this
> works on the output, you can
> > go to our page at http://www.satcomresources.com
> and search for dst300, and
> > then click on the DST300 Ku-Band Satellite
> Terminal and you will see how you
> > can configure the unit, and the price is
> automatically calculated.
> > Interchange fully supports this, but it was just
> not built into the admin
> > yet.
> >
> > Good Luck.
> > --
> > Fred Pope
> > Satcom Resources
> > 970-748-3094
> > fred@satcomresources.com
> > http://www.satcomresources.com
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> >
>
http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
>
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
>
http://interchange.redhat.com/mailman/listinfo/interchange-users
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
From: interchange-users at interchange.redhat.com (Michael Hall)
Date: Wed Oct 31 18:07:00 2001
Subject: [ic] Order receipts
Finally had an opprtunity to use options, got them set up, selection and
pricing seem to work but in the customers email receipt I see this:
Quan Item No. Description Price Extension
---- ----------- ------------------------------- -------------- ----------------
1 CUS-80-PRM- Rock Island T-Shirt SIZE-->XL $13.30 $13.30
T-SHIRT COLOR-->mochabrown
<input type=hidden
name="mv_item_option"
value="color">Mocha
Brown<BR><input type=hidden
name="mv_item_option"
value="size">Extra Large
SUBTOTAL $13.30
SALES TAX $0.90
SHIPPING $0.00
ORDER TOTAL $14.20
Thinking it was something in my set up I also checked the stock demo
foundation store and get the same type thing:
Quan Item No. Description Price Extension
---- ----------- ------------------------------- -------------- ----------------
1 os28011 Spackling Knife $14.99 $14.99
<input type=hidden
name="mv_item_option"
value="blade">Steel
blade<BR><input type=hidden
name="mv_item_option"
value="handle">Wood handle
SUBTOTAL $14.99
SALES TAX $1.01
SHIPPING $6.15
ORDER TOTAL $22.15
Configuration problem, bug?
Also in the emailed order I see this, should the sku be printed twice?
Quan Item No. Description Price Extension
---- ----------- -------------------------------- ------------- ---------------
1 CUS-80-PRM- Rock Island T-Shirt $13.30 $13.30
T-SHIRT
CUS-80-PRM- color: Mocha Brown, size:
T-SHIRT Extra Large
SUBTOTAL $13.30
SALES TAX $0.90
SHIPPING $0.00
ORDER TOTAL $14.20
--
Be careful of whose feet you step today, for they may be attached to
the ass you must kiss tomorrow.
Mike Hall,
Unix Admin - Rock Island Communications <mikeh@rockisland.com>
System Admin - riverside.org <mhall@riverside.org>
From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com)
Date: Wed Oct 31 18:10:00 2001
Subject: [ic] Foundation - auto prod_group and category fine tune.
> Quoting music@labyrinth.net.au (music@labyrinth.net.au):
> > Quoting mike:
> > > By default, the link type is "simple", which is a simple search.
> > > You can put "prod_group=X, category=Y" in the "selector" field of
> > > the cat table and get that to happen.
> > >
> > > In fact, I think the 4.9 devel CVS has a pages/admin/layout_auto.html
> > > file which does that for you automatically. That may even work
> > > in 4.8.
> >
> > Thanks! It certainly does work as far as creating the different search
> > queries for each link.
> >
> > Unfortunately, as is also the case with the 4.8.2 version, it does not
auto
> > generate a complete category list if the products.txt file has a
duplicate
> > category name within a prod_group:
> >
> > prod_group category
> > Dog food
> > Dog collar
> > Cat food
> > Cat flea powder
> >
>
> Thanks for pointing that out. I was not updating the %cat_done differently
> based on the "narrow" cat_type.
>
> I have attached an (untested) version of that page that might do it
> automatically.
Mike, you are an absolute legend. It works very nicely in 4.8.2
For anyone following this, dump the layout_auto.html (attached to Mike's
previous post) into the pages/admin directory of any catalog to try it out.
Then, whenever you need to rebuild the areas and category lists by pulling
in the list of 'prod_group' and 'category' items from your products.txt
file, click on 'Design' and 'auto populate'. You should never have problems
with duplicate categories in different areas again!
To test further I deleted many categories from the 'cat' table and then used
auto populate to re-create them with specific search criteria and it works
wonderfully.
Simon B
From: interchange-users at interchange.redhat.com (Jim Balcom)
Date: Wed Oct 31 18:31:01 2001
Subject: [ic] Interchange - Shipping
On Wed, 31 Oct 2001, Maureen Miniter wrote:
MM>>I am new to using Interchange, and I just have a question regarding shipping
MM>>in Interchange. When you get to the checkout screen it says: "Note: Nothing
MM>>to ship!"
Did you put anything in the cart?
If you are charging for shipping based on weight, did you assign a weight to
each item?
MM>>Also where it says "Shipping method" there are no options in the
MM>>drop down menu.
In country.txt make sure that you have some shipping options in place for
your country.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, October 31, 2001 at 18:30 PM:
I'm not paranoid! Which of my enemies told you this?
----------------------------------------------------------------
This Linux System has been up 128 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------