From: interchange-users at lists.akopia.com (Matt Flaherty)
Date: Fri Jun 1 06:18:01 2001
Subject: [ic] Re: example of bad web programming
> This isn't exactly on topic, but was so funny I had to put up a link
> somewhere. :)
>
>
https://online.bankone.com/bank/bolLogin.asp?bolErrorMsgStr=This+is+Stupid+I
+Think
>
> This is a legitimate web site. It is actually bankone.com. The
> foible is that they allow an arbitrary text message to be put in the
> url. I don't think there's any real way to exploit this, per se.
> However, it just stinks to me as bad design.
>
> As an asside, I wonder if there's a way to force a buffer overflow
> with this?
> --
> (__) 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.
For kicks, try this URL (you'll have to copy and paste it in)
https://online.bankone.com/bank/bolLogin.asp?bolErrorMsgStr=<img%20src="http
://developer.akopia.com/ic/images/foundation/logo.gif">
If you're going to do something like this, you should at least encode the
special characters. The area of the page in which the image displays is
inside of a form tag, so you might imagine inserting an arbitrary form field
to compromise security somehow. Buffer overflow seems unlikely, though.
-Matt
From: interchange-users at lists.akopia.com (Viktors Rotanovs)
Date: Fri Jun 1 07:32:01 2001
Subject: [ic] 4.7.3 and transactions
Hi,
does 4.7.3 require transaction support in the database?
Best Wishes,
Viktors Rotanovs
Phone +371 7377-472, fax +1 760-418-8128
viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Fri Jun 1 07:47:01 2001
Subject: [ic] 4.7.3 and transactions
"Viktors Rotanovs" <Viktors@Rotanovs.com> writes:
> Hi,
>
> does 4.7.3 require transaction support in the database?
>From WHATSNEW:
Database
--------
* Transactions now fully supported. Can open a transaction-capable
database in transactions mode [flag type=transactions table="table"]
and it will commit all changes not done in transaction mode and reopen
under transaction constraints. [flag type=commit table=table] commits,
[flag type=rollback table=table] rolls back.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Viktors Rotanovs)
Date: Fri Jun 1 08:09:00 2001
Subject: [ic] 4.7.3 and transactions
Thanks, finally found the problem:
in etc/log_transaction there is
[flag type=transaction table="[loop-code]"]
which does not work if you've installed MySQL without
transaction support (with ISAM tables).
Best Wishes,
Viktors Rotanovs
Phone +371 7377-472, fax +1 760-418-8128
viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs
----- Original Message -----
From: "Stefan Hornburg (Racke)" <racke@linuxia.de>
To: <interchange-users@developer.akopia.com>
Sent: Friday, June 01, 2001 2:39 PM
Subject: Re: [ic] 4.7.3 and transactions
> "Viktors Rotanovs" <Viktors@Rotanovs.com> writes:
>
> > Hi,
> >
> > does 4.7.3 require transaction support in the database?
>
> From WHATSNEW:
>
> Database
> --------
> * Transactions now fully supported. Can open a transaction-capable
> database in transactions mode [flag type=transactions table="table"]
> and it will commit all changes not done in transaction mode and reopen
> under transaction constraints. [flag type=commit table=table] commits,
> [flag type=rollback table=table] rolls back.
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 1 08:44:00 2001
Subject: [ic] [perl] tag question
On Thu, May 31, 2001 at 03:36:12PM -0700, interch wrote:
>
> I need to be able to use the [perl][/perl] tag but I need to be able to
> tell it what database it is going to access via a variable and not a
> hardcoded value. [perl tables="[value dbname]"] doesn't seem to
> work. Any easy ways to do this?
>
It's probably just that the values not being updated before your
perl is parsed, I've used both [perl tables="[scratch tables]"] and
[perl tables="[cgi tables]"] and they work fine.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 1 08:51:01 2001
Subject: [ic] E-mail for customer with returns
On Thu, May 31, 2001 at 10:33:47PM -0400, Anton van de Plas wrote:
>
> Hi,
>
> I seem to have a hard time finding the place where I can edit the text of
> the e-mail that the customer receives as confirmation of a return he or she
> just did. The return address mentioned is the one below and as you can
> imaging, it is not the right one;
>
That message is in pages/process_return.html, however the address is not
hard-coded, you need to fix the values for the ADDRESS and CITY variables
in the variable database (Administration -> Knar). There are several pages
that use the address variable, so fixing the variable will solve the problem
better than changing the page will.
>
> Hello and thank you for your interest in COMPANY products.
>
> We have received your return request and have issued you an RMA number.
>
> Please use the information below to process your return:
>
> Shipping Address:
>
> COMPANY
> 11480 Sunset Hills Road
> Suite 200 East
> Reston, VA 20190
>
>
> Return Info:
>
> RMA Number: 3
> Date Issued: 20010531 22:31:34
>
> Order Number: 000014
> Item Quantity: 2
> Credit Amount: $130.00
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 1 09:05:00 2001
Subject: [ic] HELP@@!!@ How do I get off this mailing list?????
On Fri, Jun 01, 2001 at 10:31:38AM -0400, joe wrote:
> Please help as soon as pos. Thank you Joe
>
Visit the link at the bottom of every mailing list message.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Michael Patton)
Date: Fri Jun 1 11:54:00 2001
Subject: [ic] limiting the number of items you can sell
Is there a way to limit the number of items a catalog can hold ?
I'm using mysql
thx.
"While you're pointing fingers, someone is accusing you" - Bob Marley
Michael Patton, Web Developer
www.mycity.com, map@mycity.com
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Fri Jun 1 11:58:01 2001
Subject: [ic] Hidden fields mapping
At 08:11 PM 05/31/2001 -0400, you wrote:
>Thanks Ed for replying to my posts...
>
>I'll explain to you what is my problem:
>
>We have been accepted at www.worldpay.com for the "Select" service.
>
>Their setup is not really what I anticipated. Basically they host the CC and
>billing info and place cookies on clients site so that they dont have to
>re-enter their info again.
>
>Now, if you want, they can trigger a CGI on your site so that you actually
>know if the transaction was succesfull.
>
>So at first you send a POST containing a few hidden fields (i.e.: instId,
>cartId, amount, and other custom fields if you want) like this:
>
>(this is the GET method its just for illustration purpose)
>https://select.worldpay.com/wcc/purchase?instId=xxx&cartId=xxxx&amount=xxxx&
>currency=xxx
>
>Then, you are presented with a page containing billing info (*****if you
>passed it*****) and input fields for CC info.
>
>Problem #1
>To pass the billing info, I need to map the values to the names they need.
>Not the fields i have in my db. This is tricky as I can't change the names
>of the db and the info does not really exist yet (its being entered).
>
>Problem #2
>I need a callback that will get the status sent back by WorldPay to know if
>the orders are valid. And from there I'm completely lost...I dont even know
>where to start. I could pass the session Id and cartId and they would send a
>post on one of my pages parsed by interchange and i could even set a
>password from their admin section to make sure the response comes from them.
>
>I hope someone can at least give me some tips as very few people are able to
>help me right now.
>
J.P. -
This is a much better explanation, I think the basic principals of what you
need are clear now.
It sounds like the process cannot be fully automated; in other words, the
use must explicitly enter their credit card info on the Worldpay page and
click submit?
The absolute simplest thing I can think of would be a self-submitting
intermediate form, which comes immediately after the checkout page. You
would remove '&final=yes' from the checkout_profile in etc/profiles.order,
and add &set=mv_successpage = the_form_page (substitute the name you give
to the form page for 'the_form_page' - I would recommend putting it in the
special_pages directory). Obviously you would also remove the credit card
form fields from the checkout page and all the related checks from the
checkout_profile since Worldpay would be handling that aspect of the
transaction. Always reconfig (Apply Changes) after editing profiles.order.
On the_form_page you would have something like:
<html>
<head></head>
<body onLoad="worldpay.submit()">
<form name=worldpay action="https://insert.correct.domain.here/path.."
method=post>
<input type=hidden name=worldpay_name value="[value name]">
<input type=hidden name=worldpay_addr value="[value addr]">
...
</form>
</body>
</html>
The form is submitted automatically as soon as the page loads; the user
does not see anything unless you put a message on the page like "Please
wait, connecting to Worldpay...".
I imagine you can send a return URL for successful (and failed) payment
transactions. For success, I would suggest adding an new profile to
profiles.order:
__NAME__ worldpay_ok
&final=yes
__END__
Then you can send a return url on the_form_page like this (assuming here
that they call it 'success_url');:
<input type=hidden name=success_url
value="http://__SERVER_NAME____CGI_URL__/process?id=[data session
id]&mv_todo=submit&mv_order_profile=workdpay_ok">
This will submit the order and show the receipt page upon return from
successful payment.
Again, this is an easy way, if not the best or most secure. But beyond
this you are looking at writing a Perl chunk to handle it, in which case
you could use one of the many internet-related Perl libraries to facilitate
things.
Good Luck!
- 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 lists.akopia.com (John Beima)
Date: Fri Jun 1 13:06:00 2001
Subject: [ic] 4.7.3 and transactions
Did you by chance find the fix for this one?
I just found a problem with it posting the order to the transaction table, but
not the orderlines to the orderlines table and it complaining on the browser
about rollback???
What I hit this one at 3 in the morning I just went to bed and I havn't looked
at it yet today...
John
Quoting Viktors Rotanovs <Viktors@Rotanovs.com>:
> Thanks, finally found the problem:
> in etc/log_transaction there is
> [flag type=transaction table="[loop-code]"]
> which does not work if you've installed MySQL without
> transaction support (with ISAM tables).
>
> Best Wishes,
> Viktors Rotanovs
> Phone +371 7377-472, fax +1 760-418-8128
> viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs
>
> ----- Original Message -----
> From: "Stefan Hornburg (Racke)" <racke@linuxia.de>
> To: <interchange-users@developer.akopia.com>
> Sent: Friday, June 01, 2001 2:39 PM
> Subject: Re: [ic] 4.7.3 and transactions
>
>
> > "Viktors Rotanovs" <Viktors@Rotanovs.com> writes:
> >
> > > Hi,
> > >
> > > does 4.7.3 require transaction support in the database?
> >
> > From WHATSNEW:
> >
> > Database
> > --------
> > * Transactions now fully supported. Can open a transaction-capable
> > database in transactions mode [flag type=transactions table="table"]
> > and it will commit all changes not done in transaction mode and
> reopen
> > under transaction constraints. [flag type=commit table=table]
> commits,
> > [flag type=rollback table=table] rolls back.
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Viktors Rotanovs)
Date: Fri Jun 1 13:39:00 2001
Subject: [ic] 4.7.3 and transactions
Yep, I've changed log to log_entry in ORDER_ROUTES variable and
commented out flag type=transaction in etc/log_entry.
But the best way is to upgrade to some database which supports
transactions, MySQL Max or PostgreSQL (I prefer PostgreSQL because
it's transaction commands are well-tested).
Interchange supports Oracle too, but I haven't tested this
capability yet.
Best Wishes,
Viktors Rotanovs
Phone +371 7377-472, fax +1 760-418-8128
viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs
----- Original Message -----
From: "John Beima" <jbeima@palb.com>
To: <interchange-users@developer.akopia.com>
Sent: Friday, June 01, 2001 8:07 PM
Subject: Re: [ic] 4.7.3 and transactions
> Did you by chance find the fix for this one?
>
> I just found a problem with it posting the order to the transaction table,
but
> not the orderlines to the orderlines table and it complaining on the
browser
> about rollback???
>
> What I hit this one at 3 in the morning I just went to bed and I havn't
looked
> at it yet today...
>
> John
>
>
> Quoting Viktors Rotanovs <Viktors@Rotanovs.com>:
>
> > Thanks, finally found the problem:
> > in etc/log_transaction there is
> > [flag type=transaction table="[loop-code]"]
> > which does not work if you've installed MySQL without
> > transaction support (with ISAM tables).
> >
> > Best Wishes,
> > Viktors Rotanovs
> > Phone +371 7377-472, fax +1 760-418-8128
> > viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs
> >
> > ----- Original Message -----
> > From: "Stefan Hornburg (Racke)" <racke@linuxia.de>
> > To: <interchange-users@developer.akopia.com>
> > Sent: Friday, June 01, 2001 2:39 PM
> > Subject: Re: [ic] 4.7.3 and transactions
> >
> >
> > > "Viktors Rotanovs" <Viktors@Rotanovs.com> writes:
> > >
> > > > Hi,
> > > >
> > > > does 4.7.3 require transaction support in the database?
> > >
> > > From WHATSNEW:
> > >
> > > Database
> > > --------
> > > * Transactions now fully supported. Can open a transaction-capable
> > > database in transactions mode [flag type=transactions table="table"]
> > > and it will commit all changes not done in transaction mode and
> > reopen
> > > under transaction constraints. [flag type=commit table=table]
> > commits,
> > > [flag type=rollback table=table] rolls back.
> > >
> > > Ciao
> > > Racke
> > >
> > > --
> > > Master of Swiss Web 2001: http://www.zweifel.ch/
> > >
> > > 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@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (interch)
Date: Fri Jun 1 14:01:00 2001
Subject: [ic] [perl] tag question
No the values are there right before the perl start tag, and inside the
perl routine also since I can do 'return qq{$Scratch->{dbname}};' and it
returns the value fine.
This is 4.7.2 btw so it might behave differently then 4.6.5.
I've also tried using $Tag->tag({op=>'touch', arg=>'dbname'}); in the
perl code before it tries accessing the database with no luck.
Chris
On Fri, 1 Jun 2001, Jason Kohles wrote:
> On Thu, May 31, 2001 at 03:36:12PM -0700, interch wrote:
> >
> > I need to be able to use the [perl][/perl] tag but I need to be able to
> > tell it what database it is going to access via a variable and not a
> > hardcoded value. [perl tables="[value dbname]"] doesn't seem to
> > work. Any easy ways to do this?
> >
> It's probably just that the values not being updated before your
> perl is parsed, I've used both [perl tables="[scratch tables]"] and
> [perl tables="[cgi tables]"] and they work fine.
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Fri Jun 1 14:29:00 2001
Subject: [ic] What access permissions are required to upload images
All,
Can someone point me to any detailed documentation about the access table,
and what values are used in it? Or can anyone help with the error below?
I'm trying to create an administrative login that can add/edit products,
orders, and customer records without giving the user superuser access. I've
been able to accomplish that with the exception of having the merchandising
table still appear and not being able to upload images. I'm running
interchange 4.6.
On the images front, my current error is "The following error occurred: Not
authorized to upload file images/items/[image name if present, or blank if
not currently assigned]. Please correct and try again. Maybe you need to
log in?"
This is farther than a couple of days ago since I noticed a post in the
archives that you needed to enter in a wildcard in the files column of the
access table. Before that, I was receiving an "Error: Sorry, no permission
for page files". So I think I'm on the right track, but I'm just not at the
crest.
Additionally, if anyone has any insight on how to allow someone access to
the items table without giving them access to merchandising I would also
appreciate it. It seems that in the UI has the two tables linked.
Thanks,
Randy
From: interchange-users at lists.akopia.com (John Beima)
Date: Fri Jun 1 14:32:00 2001
Subject: [ic] 4.7.3 and transactions
Thanks I'll give it a try!
Quoting Viktors Rotanovs <Viktors@Rotanovs.com>:
> Yep, I've changed log to log_entry in ORDER_ROUTES variable and
> commented out flag type=transaction in etc/log_entry.
> But the best way is to upgrade to some database which supports
> transactions, MySQL Max or PostgreSQL (I prefer PostgreSQL because
> it's transaction commands are well-tested).
> Interchange supports Oracle too, but I haven't tested this
> capability yet.
>
> Best Wishes,
> Viktors Rotanovs
> Phone +371 7377-472, fax +1 760-418-8128
> viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs
>
> ----- Original Message -----
> From: "John Beima" <jbeima@palb.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Friday, June 01, 2001 8:07 PM
> Subject: Re: [ic] 4.7.3 and transactions
>
>
> > Did you by chance find the fix for this one?
> >
> > I just found a problem with it posting the order to the transaction
> table,
> but
> > not the orderlines to the orderlines table and it complaining on the
> browser
> > about rollback???
> >
> > What I hit this one at 3 in the morning I just went to bed and I
> havn't
> looked
> > at it yet today...
> >
> > John
> >
> >
> > Quoting Viktors Rotanovs <Viktors@Rotanovs.com>:
> >
> > > Thanks, finally found the problem:
> > > in etc/log_transaction there is
> > > [flag type=transaction table="[loop-code]"]
> > > which does not work if you've installed MySQL without
> > > transaction support (with ISAM tables).
> > >
> > > Best Wishes,
> > > Viktors Rotanovs
> > > Phone +371 7377-472, fax +1 760-418-8128
> > > viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs
> > >
> > > ----- Original Message -----
> > > From: "Stefan Hornburg (Racke)" <racke@linuxia.de>
> > > To: <interchange-users@developer.akopia.com>
> > > Sent: Friday, June 01, 2001 2:39 PM
> > > Subject: Re: [ic] 4.7.3 and transactions
> > >
> > >
> > > > "Viktors Rotanovs" <Viktors@Rotanovs.com> writes:
> > > >
> > > > > Hi,
> > > > >
> > > > > does 4.7.3 require transaction support in the database?
> > > >
> > > > From WHATSNEW:
> > > >
> > > > Database
> > > > --------
> > > > * Transactions now fully supported. Can open a transaction-capable
> > > > database in transactions mode [flag type=transactions
> table="table"]
> > > > and it will commit all changes not done in transaction mode and
> > > reopen
> > > > under transaction constraints. [flag type=commit table=table]
> > > commits,
> > > > [flag type=rollback table=table] rolls back.
> > > >
> > > > Ciao
> > > > Racke
> > > >
> > > > --
> > > > Master of Swiss Web 2001: http://www.zweifel.ch/
> > > >
> > > > 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@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> > John Beima
> > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> >
> > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> >
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Larry Caragay)
Date: Fri Jun 1 15:03:01 2001
Subject: [ic] What is a good book to buy??
Is there anyone out there that could recommend a good book on mysq for
beginners???
Thanks in advance.
Larry@compwebtech.com
From: interchange-users at lists.akopia.com (John Beima)
Date: Fri Jun 1 15:09:00 2001
Subject: [ic] What is a good book to buy??
I found the O'Reilly book very helpfull... But it also assumes you have database
experence...
Quoting Larry Caragay <larry@compwebtech.com>:
> Is there anyone out there that could recommend a good book on mysq for
> beginners???
>
> Thanks in advance.
>
> Larry@compwebtech.com
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Michael Soflin)
Date: Fri Jun 1 15:24:01 2001
Subject: [ic] Newbie question....
I am getting a RH 7 server running with Interchange 4.6 and the built in
database engine. How do I get products in a group to display in
description order? I'm not sure what order they are displaying in (not
SKU, not description).
Thanks
From: interchange-users at lists.akopia.com (Allen Armstrong)
Date: Fri Jun 1 15:34:01 2001
Subject: [ic] What is a good book to buy??
MySql by New Riders is a good book ISBN 0-7357-0921-1
I picked up mine from http://www.halfpricecomputerbooks.com/.
On the back the price is $49.99 USA
Good luck,
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On
> Behalf Of Larry
> Caragay
> Sent: June 1, 2001 12:03 PM
> To: interchange-users@developer.akopia.com
> Subject: [ic] What is a good book to buy??
>
>
> Is there anyone out there that could recommend a good book on mysq for
> beginners???
>
> Thanks in advance.
>
> Larry@compwebtech.com
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (IC-Admin)
Date: Fri Jun 1 15:40:00 2001
Subject: [ic] What is a good book to buy??
On Fri, 1 Jun 2001, Larry Caragay wrote:
> Is there anyone out there that could recommend a good book on mysq for
> beginners???
http://www.mysql.com/portal/books/html/book-1-1.html
http://www.slashdot.org/books/00/04/04/133213.shtml
http://www.mysql.com/documentation/pauls-mysql-book-errata.html
http://www.slashdot.org/books/99/08/23/1324219.shtml
I like the Paul DuBois book better than the O'Reilly book.
Otherwise, last time I looked, I really like the documentation of MySQL
itself.
BF
From: interchange-users at lists.akopia.com (Vlad S.)
Date: Fri Jun 1 15:43:01 2001
Subject: [ic] matrix editor
hello -
whatever happened to the matrix editor in v4.6? has it been phased out?...
regards,
Vlad
From: interchange-users at lists.akopia.com (Javier Martin)
Date: Fri Jun 1 15:53:01 2001
Subject: [ic] a couple of questions
Hi,
Newbie questions:
- Is there any way of letting the payment routine (authorizenet, cybercash,
...) know the mv_cyber_mode besides passing this value as an <INPUT
type=hidden>? I don't like people knowing this from the HTML source. If you
have some "test_mode" implemented, they could save the page locally and
re-submit it with the mv_cyber_mode changed to fool the server.
- What are the difference among the following:
$CGI->{$key}
$CGI::values{$key}
$Values->{$key}
Thanks!!
Javier
From: interchange-users at lists.akopia.com (A C)
Date: Fri Jun 1 16:11:00 2001
Subject: [ic] Getting Environment Variables Through ITL
Hello,
I am currently implementing an Interchange store, currently my URL says:
http://store.mystore.com/mystore.cgi/stuff.html
and I want to find a way to grab stuff.html out of the location bar but
can't find a method in the Interchange documentation to get the environment
variables.
Thanks a lot,
Andy
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Fri Jun 1 16:20:01 2001
Subject: [ic] Recalculating Cart in 4.7.2 resets prices to $0
Hi I am using Interchange 4.7.2. Adding items to my cart is not a problem.
However, when I recalculate, or go to checkout, all the prices reset to
$0.00 (all the items are still there).
Anyone have any ideas what the problem might be?
Thanks!
Tim
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Fri Jun 1 16:41:00 2001
Subject: [ic] Getting Environment Variables Through ITL
At 08:12 PM 06/01/2001 +0000, you wrote:
>Hello,
>
>I am currently implementing an Interchange store, currently my URL says:
>
>http://store.mystore.com/mystore.cgi/stuff.html
>
>and I want to find a way to grab stuff.html out of the location bar but
>can't find a method in the Interchange documentation to get the
>environment variables.
>
I wrote a usertag called [env] to get this and other environment variables
that don't get in to IC's session data. I posted it to the list a while
ago. It seems that the usertag library at developer.akopia.com has gone
away, so I guess you won't find it there...
So here it is again:
# Interchange UserTag env - see documentation for more information
#
# Copyright 2001 by Ed LaFrance <edl@newmediaems.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA.
#
#
# SUMMARY: Provides read only access to the http environment
# variables; individually by name, or the full
# list.
#
# USEAGE: to see a the full list as a table:
# [env]
#
# to return one the value of one variable:
# [env VARNAME]
# [env arg="VARNAME"]
#
# NOTES: Works when configured in either catalog.cfg
# or interchange.cfg. Thanks to Mike Heins and
# the programming team at RH/Akopia for the
# numerous examples in the demos and UI - I
# don't think I could come up with stuff like
# this without it.
Usertag env Order arg
Usertag env PosNumber 1
Usertag env Routine <<EOR
sub {
my $arg = shift;
my $env = ::http()->{env};
my $out;
if (! $arg) {
$out = "<table cellpadding=2 cellspacing=1 border=1>\n";
foreach ((keys %$env)) {
$out .= "<tr><td><b>$_\ <\/b><\/td><td>";
$out .= "$env->{$_}\ <\/td>\n<\/tr><tr>\n";
}
$out .= "<\/table>\n";
}
else {
$out = $env->{$arg};
}
return $out;
}
EOR
===============================================================
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 lists.akopia.com (Chris Bair)
Date: Fri Jun 1 17:31:01 2001
Subject: [ic] Problems With Lay Out Editor
I've run into a major problem with the layout editor. Unlike the
"demo" catalogs on akopia's servers, my layout editor has actual
buttons rather than the nice "plus" and such images. Tat doesn't
bother me, what does bother me is that I cannot use the buttons!
Every time I try one I get something like: "Undefined Catalog blah
blah..." I tried doing a fresh installation and it's still a no-go,
I even tried installing 4.7.2 and it still has the same problem. What
am I missing here? Is it some CPAN module that's messed up or what?
--
---
Sincerely,
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 lists.akopia.com (Ron Phipps)
Date: Fri Jun 1 18:17:00 2001
Subject: [ic] Getting Environment Variables Through ITL
>Hello,
>
>I am currently implementing an Interchange store, currently my URL says:
>
>http://store.mystore.com/mystore.cgi/stuff.html
>
>and I want to find a way to grab stuff.html out of the location bar but
>can't find a method in the Interchange documentation to get the environment
>variables.
AC,
Do you want just the name of the page you are on? If so you can do it with
an IC var: @@MV_PAGE@@
This will return the page relative to /cgi-bin/yourstore.cgi/
Good luck!
-Ron
From: interchange-users at lists.akopia.com (John Beima)
Date: Fri Jun 1 19:19:00 2001
Subject: [ic] Recalculating Cart in 4.7.2 resets prices to $0
My guess would be you are running your SSL through a different server...
IE www.yourdomain.com and secure.yourdomain.com
You need to add to the catalog.cfg file
CookieDomain .yourdomain.com
This will resolve it...
John Beima
Quoting Tim Mirecki <tim@q5.ca>:
> Hi I am using Interchange 4.7.2. Adding items to my cart is not a
> problem.
> However, when I recalculate, or go to checkout, all the prices reset to
> $0.00 (all the items are still there).
>
> Anyone have any ideas what the problem might be?
>
> Thanks!
>
> Tim
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Fri Jun 1 23:47:00 2001
Subject: [ic] MySQL with IC
No, that is it. A one line error message.
--Ralph
Ed LaFrance wrote:
>
> At 07:22 AM 05/30/2001 -0400, you wrote:
> >Is there something I have to change manually in the catalog.cfg to
> >enable IC to work with MySQL?
> >
> >I build the catalog fine with makecat.
> >Choose MySQL as the database option.
> >Everything builds perfectly.
> >
> >But when I restart IC, i get an error message stating:
> >"catalogname: error in configuration, skipping.
>
> Post the whole error message, It seems likely it was more than just that
> one line.
>
> - Ed L.
>
> >MySQL works fine on my system and I can build catalogs using the
> >internal IC database ok.
> >
> >I have to be missing something pretty simple.
> >
> >Can anybody give me some clue what it might be?
> >
> >Thanks, Ralph.
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (jfeingold )
Date: Sat Jun 2 00:09:01 2001
Subject: [ic] MySQL with IC
You have a problem with your data. SQL is not as forgiving as the
Interchange database. One slight error and MySQL will not take.
Try using MySQL with just one line of perfect data and it will work
(the demo data for example). I've experienced the problem many,
many time. I've found the Interchange custom db is nearly as fast,
so why use it? If you clean up your data, it will work
fine.jason@machinerunner.com
---------- Original Message ----------------------------------
From: Ralph Alberti <ralphalberti@worldnet.att.net>
Reply-To: interchange-users@developer.akopia.com
Date: Fri, 01 Jun 2001 23:48:18 -0400
>No, that is it. A one line error message.
>
> --Ralph
>
>
>Ed LaFrance wrote:
>>
>> At 07:22 AM 05/30/2001 -0400, you wrote:
>> >Is there something I have to change manually in the
catalog.cfg to
>> >enable IC to work with MySQL?
>> >
>> >I build the catalog fine with makecat.
>> >Choose MySQL as the database option.
>> >Everything builds perfectly.
>> >
>> >But when I restart IC, i get an error message stating:
>> >"catalogname: error in configuration, skipping.
>>
>> Post the whole error message, It seems likely it was more than
just that
>> one line.
>>
>> - Ed L.
>>
>> >MySQL works fine on my system and I can build catalogs using
the
>> >internal IC database ok.
>> >
>> >I have to be missing something pretty simple.
>> >
>> >Can anybody give me some clue what it might be?
>> >
>> >Thanks, Ralph.
>> >_______________________________________________
>> >Interchange-users mailing list
>> >Interchange-users@lists.akopia.com
>> >http://lists.akopia.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@lists.akopia.com
>> http://lists.akopia.com/mailman/listinfo/interchange-users
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Ron Phipps)
Date: Sat Jun 2 00:35:00 2001
Subject: [ic] Country Codes
Tonight I received an email from a customer saying that their country code
was not 'XS' (They are from Serbia-Montenegro) and Yugoslavia was in fact
their country. The reports all show the country code as 'XS' and I can see
that 'XS' is what is mapped in the country.txt file. My question, is there
a global way to show [value country] to be the actual country instead of the
code or do I need to use a [data] tag with the [value country] as a
parameter to display the correct value? Thanks!
-Ron
From: interchange-users at lists.akopia.com (frank watts)
Date: Sat Jun 2 06:48:01 2001
Subject: [ic] Question about backup
I'm just starting to use Interchange. I've looked
through some of the documentation and also the mailing
list archive and can't seem to find the answer to a
question. I realize that it's such a simple issue
that it must have been answered before, but I can't
seem to find it.
Is there a simple way to back up the entire database
and all related files. I tried using ftp to download
a copy of everything to my hard drive but it fails to
copy several of the files.
thanks,
frank
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Sat Jun 2 15:02:00 2001
Subject: [ic] Image inputs cant submit =/
Hello everyone,
I was wondering if anyone know how to make image type input form fields
work as submit buttons. I had bad experiences with those and I see on the
mailing list that people have had problems with them too? Is there a way to
make them work? Does anyone know if its an HTML/IC limitation? Would
modifying the code make it work? Any thoughts where?
J.-P. Parent
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Sat Jun 2 18:10:00 2001
Subject: Re[2]: [ic] Change image for button form
Hi Ed !
Thursday, May 31, 2001, 12:50:29 PM, you wrote:
Thanks, thanks, thanks !!! :-))
Thatīs work very well !!!!
Sds,
::: Samir G. Barak :::::::::::::::::::::::::
EL> At 11:47 PM 05/30/2001 -0300, you wrote:
>>In file "cart" (in ../templates/components)
>>I need change the button "Check Out" for
>>a button form.
>>Like: <input type="submit" value="Check Out">
>>Someone can tell me how I do for change this ?
EL> It would be something like this:
EL> <input type=submit name=mv_click value="Check Out">
EL> [set Check Out]
EL> mv_todo=return
EL> mv_nextpage=ord/checkout
EL> [/set]
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Sat Jun 2 18:22:01 2001
Subject: [ic] Modification in file CART = input field
Hi !
In file "cart" (in ../templates/components)
I need change the input field "[quantity-name]"
for a list/menu (dropdown menu).
I do it in the others pages, for example, in
"results.html" page:
<input type=hidden name="mv_oi[item-increment]" value="">
<select name="mv_order_quantity">
<option value="" selected>-= click here =-</option>
<option value="2">Payment Bimonthly</option>
<option value="3">Payment Quarterly</option>
</select>
But in this file ("cart") I am not really getting
to do.
The original source is:
<INPUT TYPE=text NAME="[quantity-name]" VALUE="[item-quantity]" SIZE=3>
I already tried to change for:
<input type=hidden name="[quantity-name]" value="[item-quantity]">
<select name="[item-quantity]">
<option value="2">Payment Bimonthly</option>
<option value="3">Payment Quarterly</option>
</select>
But that didn't work.
Someone can help me, one more time, please ?
Thanks
Samir G. Barak
From: interchange-users at lists.akopia.com (kerryb)
Date: Sat Jun 2 20:15:00 2001
Subject: [ic] Interchange 4.6 Admin question
I am relative new to interchange. I have set up version 4.6?
(the one with construct demo) I have been through the demo
"tutorial" set up, and with a little help from FAQ list, I
have it working. My question is where is the admin entrance
for construct? I do not have access to admin on my system
version, like is available on the interchange site. I have
spent a few weeks trying to alter the tutorial site manually
to do what I need to no avail, and would like to explore the
admin feature on construct to determine if I can make the
alteration I need for my site.
I have read the manual from top to bottom more than once.
--------------------------------------------------------------------------------
reply to: visit:
kerryb@basicq.com http://www.blalock1.com
http://www.basicq.com
--------------------------------------------------------------------------------
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Sat Jun 2 21:17:01 2001
Subject: [ic] update orders
Hi,
I would like to now if it is possible to update a certain order after it has
been processed.
I found something with the import tag, but it doesn't work.
From: interchange-users at lists.akopia.com (jfeingold )
Date: Sun Jun 3 02:39:00 2001
Subject: [ic] Interchange 4.6 Admin question
http://www.yourdomain.com/cgi-bin/construct/admin/login.html
replace yourdomain with yourdomain and construct with the name of
the catalog you selected.jason@machinerunner.com
---------- Original Message ----------------------------------
From: kerryb <kerryb@basicq.com>
Reply-To: interchange-users@developer.akopia.com
Date: Sat, 2 Jun 2001 20:22:54 -0400 (EDT)
>I am relative new to interchange. I have set up version 4.6?
>(the one with construct demo) I have been through the demo
>"tutorial" set up, and with a little help from FAQ list, I
>have it working. My question is where is the admin entrance
>for construct? I do not have access to admin on my system
>version, like is available on the interchange site. I have
>spent a few weeks trying to alter the tutorial site manually
>to do what I need to no avail, and would like to explore the
>admin feature on construct to determine if I can make the
>alteration I need for my site.
>I have read the manual from top to bottom more than once.
>
>------------------------------------------------------------------
--------------
>reply to: visit:
>kerryb@basicq.com
http://www.blalock1.com
>
http://www.basicq.com
>------------------------------------------------------------------
--------------
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Sun Jun 3 03:55:00 2001
Subject: [ic] Interchange 4.6 Admin question
you will also note in your interchange.cfg a lines like this
# Set to 1 to include UI
#
#
#Variable UI 1
>http://www.yourdomain.com/cgi-bin/construct/admin/login.html
>replace yourdomain with yourdomain and construct with the name of
>the catalog you selected.jason@machinerunner.com
>
>
>---------- Original Message ----------------------------------
>From: kerryb <kerryb@basicq.com>
>Reply-To: interchange-users@developer.akopia.com
>Date: Sat, 2 Jun 2001 20:22:54 -0400 (EDT)
>
>>I am relative new to interchange. I have set up version 4.6?
>>(the one with construct demo) I have been through the demo
>>"tutorial" set up, and with a little help from FAQ list, I
>>have it working. My question is where is the admin entrance
>>for construct? I do not have access to admin on my system
>>version, like is available on the interchange site. I have
>>spent a few weeks trying to alter the tutorial site manually
>>to do what I need to no avail, and would like to explore the
>>admin feature on construct to determine if I can make the
>>alteration I need for my site.
>>I have read the manual from top to bottom more than once.
>>
>>------------------------------------------------------------------
>--------------
>>reply to: visit:
>>kerryb@basicq.com
> http://www.blalock1.com
>>
> http://www.basicq.com
>>------------------------------------------------------------------
>--------------
>>
>>_______________________________________________
>>Interchange-users mailing list
>>Interchange-users@lists.akopia.com
>>http://lists.akopia.com/mailman/listinfo/interchange-users
>>
>
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Vlad S.)
Date: Sun Jun 3 10:14:00 2001
Subject: [ic] Interchange 4.6 Admin question
usually, it will be under
http://myserver.com/cgi-bin/mystore.cgi/admin/index
^^^^^^^^^^^^^^
replace the server and cgi URL of course :)
your default username and password are the ones you specified during the
catalog installation, and you will be able to change them later.
regards
Vlad
----- Original Message -----
From: "kerryb" <kerryb@basicq.com>
To: <interchange-users@developer.akopia.com>
Sent: Saturday, June 02, 2001 7:22 PM
Subject: [ic] Interchange 4.6 Admin question
> I am relative new to interchange. I have set up version 4.6?
> (the one with construct demo) I have been through the demo
> "tutorial" set up, and with a little help from FAQ list, I
> have it working. My question is where is the admin entrance
> for construct? I do not have access to admin on my system
> version, like is available on the interchange site. I have
> spent a few weeks trying to alter the tutorial site manually
> to do what I need to no avail, and would like to explore the
> admin feature on construct to determine if I can make the
> alteration I need for my site.
> I have read the manual from top to bottom more than once.
>
> --------------------------------------------------------------------------
------
> reply to: visit:
> kerryb@basicq.com http://www.blalock1.com
> http://www.basicq.com
> --------------------------------------------------------------------------
------
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Sun Jun 3 11:16:00 2001
Subject: [ic] a couple of questions
Quoting Javier Martin (martin@trymedia.com):
> Hi,
>
> Newbie questions:
>
> - Is there any way of letting the payment routine (authorizenet, cybercash,
> ...) know the mv_cyber_mode besides passing this value as an <INPUT
> type=hidden>? I don't like people knowing this from the HTML source. If you
> have some "test_mode" implemented, they could save the page locally and
> re-submit it with the mv_cyber_mode changed to fool the server.
>
> - What are the difference among the following:
>
> $CGI->{$key}
> $CGI::values{$key}
> $Values->{$key}
>
Actually, you can control this right in the checkout profile with
Variable MV_PAYMENT_MODE. The $Values->{cyber_mode} really doesn't
have any effect anymore unless you use the old, old, Cybercash stuff.
It is formally replaced in 4.7.x -- mv_cyber_mode has zero effect.
--
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 lists.akopia.com (Tim Watts)
Date: Sun Jun 3 12:41:00 2001
Subject: [ic] Auto Restart when IC server is down
I'd like to modify the code (ic 4.7.6) in the cgi link file so that if the
ic server is down it will restart automatically rather than just presenting
a message. It goes down at least once a week when my provider does backup or
something. I tried opening it in my text editor but was just scrambled. Any
way to easily modify this without a C compiler on my local machine (Mac OS
8.6) Can it be done through telnet with unix commands? If so please advise,
thanks. (I'm OK on basic stuff but not a unix wizard)
Tim Watts
www.Romans1013.net
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Sun Jun 3 13:21:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
I've installed Interchange on via RPM. The demo catalog "construct" works
fine. When I create my own catalog via makecat, when I go to the Admin or
Customer I get this: Undefined catalog: /cgi-bin/xxxx
Does any have any ideas?
Thanks.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (kerryb)
Date: Sun Jun 3 13:23:00 2001
Subject: [ic] Re: Interchange 4.6 Admin question
On Sat, 2 Jun 2001, kerryb wrote:
OK, maybey I do not have setup properly. The
admin/login.html is located at-
/usr/lib/interchange/lib/UI/pages/admin/login.html My
cgi-bin directory has the link programs construct &
tutorial, but no directories. These are both owned by user
interch. I set up version 4.6.3.rpm on red hat 6.0.
Should a link be made in construct link?
> I am relative new to interchange. I have set up version 4.6?
> (the one with construct demo) I have been through the demo
> "tutorial" set up, and with a little help from FAQ list, I
> have it working. My question is where is the admin entrance
> for construct? I do not have access to admin on my system
> version, like is available on the interchange site. I have
> spent a few weeks trying to alter the tutorial site manually
> to do what I need to no avail, and would like to explore the
> admin feature on construct to determine if I can make the
> alteration I need for my site.
> I have read the manual from top to bottom more than once.
>
> --------------------------------------------------------------------------------
> reply to: visit:
> kerryb@basicq.com http://www.blalock1.com
> http://www.basicq.com
> --------------------------------------------------------------------------------
>
>
--------------------------------------------------------------------------------
reply to: visit:
kerryb@basicq.com http://www.blalock1.com
http://www.basicq.com
--------------------------------------------------------------------------------
From: interchange-users at lists.akopia.com (sda sda)
Date: Sun Jun 3 13:28:01 2001
Subject: [ic] slow mysql search
I am using mysql and the database has 60,000 rows.
Search on an indexed text field usually takes less
than 3 seconds.
But, occastionally, it takes over 25 seconds.
I do not see memory swap on
my machine when this slow search occurs.
Does anyone know what could possibly cause this
occasional slow search?
thanks in advance,
steve
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Corey Gilmore)
Date: Sun Jun 3 13:30:01 2001
Subject: [ic] Auto Restart when IC server is down
You might want to do it at a service level?
Either
while true; do /path/to/interchange; done
or use the tools at
http://cr.yp.to/daemontools.html
The link file is compiled (written C i think) so you would need to fix it
at the source level and recompile. Prob better to just make a crontab
entry and check every 5 minutes to see if ic is running.
man crontab
man 5 crontab
.cfg
On Sun, 3 Jun 2001, Tim Watts wrote:
> I'd like to modify the code (ic 4.7.6) in the cgi link file so that if the
> ic server is down it will restart automatically rather than just presenting
> a message. It goes down at least once a week when my provider does backup or
> something. I tried opening it in my text editor but was just scrambled. Any
> way to easily modify this without a C compiler on my local machine (Mac OS
> 8.6) Can it be done through telnet with unix commands? If so please advise,
> thanks. (I'm OK on basic stuff but not a unix wizard)
>
> Tim Watts
> www.Romans1013.net
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Sun Jun 3 13:35:01 2001
Subject: [ic] Question about backup
I have cron-job that makes a zipped archive with the relevant dirs. Then I have
a ftp-client that downloads that file 10 mins later...
This workes fine for me :)
Rene
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of frank
> watts
> Sent: 02 June 2001 13:49
> To: interchange-users@developer.akopia.com
> Subject: [ic] Question about backup
>
>
> I'm just starting to use Interchange. I've looked
> through some of the documentation and also the mailing
> list archive and can't seem to find the answer to a
> question. I realize that it's such a simple issue
> that it must have been answered before, but I can't
> seem to find it.
>
> Is there a simple way to back up the entire database
> and all related files. I tried using ftp to download
> a copy of everything to my hard drive but it fails to
> copy several of the files.
>
> thanks,
> frank
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (jfeingold )
Date: Sun Jun 3 14:02:00 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
check the logs and processes to see if interchange is actually
started. my guess is that its not running. starting it from the
etc/rc.d usually works for me. jason@machinerunner.com
---------- Original Message ----------------------------------
From: "Phil Morden" <nedrom@hotmail.com>
Reply-To: interchange-users@developer.akopia.com
Date: Sun, 03 Jun 2001 17:10:23
>I've installed Interchange on via RPM. The demo
catalog "construct" works
>fine. When I create my own catalog via makecat, when I go to the
Admin or
>Customer I get this: Undefined catalog: /cgi-bin/xxxx
>
>Does any have any ideas?
>
>Thanks.
>__________________________________________________________________
_______
>Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sun Jun 3 15:27:00 2001
Subject: [ic] Strange problem
Hi,
I am currently testing my Interchange 4.7.2 install, and I seem to run
into a strange problem. When I check the pre-installed orders (those that
come with the demo) in the admin UI, I can see all the data, but when I
check my own test orders in both the customer as well as the admin UI, I
do not see the goods ordered by the customer (all other info is present,
except for shipping costs, bu that is not yet properly set up). It seems
that this data is not stored in orderline.txt. Is there perhaps a format
for ordernumber (all orders that are formatted like 00001 are viewable,
but all products in orders formatted like TEST0001 are not viewable).
Please help!
I am running the standard Database (flat text)
Does anyone know what is going wrong, and perhaps can think of a solution
to this problem
Thanx
Guy Soudant
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Sun Jun 3 16:07:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Interchange is running..check it. The demo catalog "construct" works fine.
----Original Message Follows----
From: "jfeingold " <jfeingold@machinerunner.com>
Reply-To: interchange-users@developer.akopia.com
To: <interchange-users@developer.akopia.com>
Subject: Re: [ic] Undefined catalog: /cgi-bin/xxxxx
Date: Sun, 3 Jun 2001 13:59:38 -0400
MIME-Version: 1.0
Received: from [204.242.142.202] by hotmail.com (3.2) with ESMTP id
MHotMailBCE3C7AF00374004388FCCF28ECA05170; Sun Jun 03 11:06:42 2001
Received: from developer.akopia.com (localhost.localdomain [127.0.0.1])by
developer.akopia.com (8.11.0/8.11.0) with ESMTP id f53I3AI24097;Sun, 3 Jun
2001 14:03:10 -0400
Received: from mail.machinerunner.com (mail12.hispeedhosting.com
[64.27.65.31])by developer.akopia.com (8.11.0/8.11.0) with ESMTP id
f53I1rI24075for <interchange-users@developer.akopia.com>; Sun, 3 Jun 2001
14:01:53 -0400
>From interchange-users-admin@developer.akopia.com Sun Jun 03 11:07:23 2001
Message-Id: <200106031359.AA323879056@mail.machinerunner.com>
X-Sender: <jfeingold@mail.machinerunner.com>
X-Mailer: <IMail v6.05>
Sender: interchange-users-admin@developer.akopia.com
Errors-To: interchange-users-admin@developer.akopia.com
X-BeenThere: interchange-users@lists.akopia.com
X-Mailman-Version: 2.0.5
Precedence: bulk
X-Reply-To: <jfeingold@machinerunner.com>
List-Help: <mailto:interchange-users-request@lists.akopia.com?subject=help>
List-Post: <mailto:interchange-users@lists.akopia.com>
List-Subscribe:
<http://lists.akopia.com/mailman/listinfo/interchange-users>,<mailto:interchange-users-request@lists.akopia.com?subject=subscribe>
List-Id: Interchange Users (high volume)
<interchange-users.lists.akopia.com>
List-Unsubscribe:
<http://lists.akopia.com/mailman/listinfo/interchange-users>,<mailto:interchange-users-request@lists.akopia.com?subject=unsubscribe>
List-Archive: <http://lists.akopia.com/pipermail/interchange-users/>
X-Original-Date: Sun, 3 Jun 2001 13:59:38 -0400
check the logs and processes to see if interchange is actually
started. my guess is that its not running. starting it from the
etc/rc.d usually works for me. jason@machinerunner.com
---------- Original Message ----------------------------------
From: "Phil Morden" <nedrom@hotmail.com>
Reply-To: interchange-users@developer.akopia.com
Date: Sun, 03 Jun 2001 17:10:23
>I've installed Interchange on via RPM. The demo
catalog "construct" works
>fine. When I create my own catalog via makecat, when I go to the
Admin or
>Customer I get this: Undefined catalog: /cgi-bin/xxxx
>
>Does any have any ideas?
>
>Thanks.
>__________________________________________________________________
_______
>Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Sun Jun 3 16:20:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
In the error log I get
Interchange: ^Gxxxx: error in configuration. Skipping.
Not to descriptive. I just followed the "makecat" questions, nothing was
out of the ordinary. I have just a standard RH 7 system.
check the logs and processes to see if interchange is actually
started. my guess is that its not running. starting it from the
etc/rc.d usually works for me. jason@machinerunner.com
---------- Original Message ----------------------------------
From: "Phil Morden" <nedrom@hotmail.com>
Reply-To: interchange-users@developer.akopia.com
Date: Sun, 03 Jun 2001 17:10:23
>I've installed Interchange on via RPM. The demo
catalog "construct" works
>fine. When I create my own catalog via makecat, when I go to the
Admin or
>Customer I get this: Undefined catalog: /cgi-bin/xxxx
>
>Does any have any ideas?
>
>Thanks.
>__________________________________________________________________
_______
>Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Sun Jun 3 16:30:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Can you post a copy of your catalog.cfg? We might be able to track the
problem down from there....
Matt
On 03 Jun 2001 20:21:48 +0000, Phil Morden wrote:
> In the error log I get
>
> Interchange: ^Gxxxx: error in configuration. Skipping.
>
>
> Not to descriptive. I just followed the "makecat" questions, nothing was
> out of the ordinary. I have just a standard RH 7 system.
>
>
> check the logs and processes to see if interchange is actually
> started. my guess is that its not running. starting it from the
> etc/rc.d usually works for me. jason@machinerunner.com
>
>
> ---------- Original Message ----------------------------------
> From: "Phil Morden" <nedrom@hotmail.com>
> Reply-To: interchange-users@developer.akopia.com
> Date: Sun, 03 Jun 2001 17:10:23
>
> >I've installed Interchange on via RPM. The demo
> catalog "construct" works
> >fine. When I create my own catalog via makecat, when I go to the
> Admin or
> >Customer I get this: Undefined catalog: /cgi-bin/xxxx
> >
> >Does any have any ideas?
> >
> >Thanks.
> >__________________________________________________________________
> _______
> >Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sun Jun 3 16:33:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Hi,
If you're running IC with MySQL, make sure that you're running the
correct version of both the database engine as well as the drivers, and
that nothing conflicts with the DBD modules (this happens now and then).
I have had this error, even though the Install did not report anything
strange (even creating the Db went OK), but eventually the DBD module was
not the correct version, and it could not be upgraded since a newer
version would conflict with another application.
Regards
Guy Soudant
> ---------- Original Message ----------------------------------
> From: "Phil Morden" <nedrom@hotmail.com>
> Reply-To: interchange-users@developer.akopia.com
> Date: Sun, 03 Jun 2001 17:10:23
>
> >I've installed Interchange on via RPM. The demo
> catalog "construct" works
> >fine. When I create my own catalog via makecat, when I go to the
> Admin or
> >Customer I get this: Undefined catalog: /cgi-bin/xxxx
> >
> >Does any have any ideas?
> >
> >Thanks.
> >__________________________________________________________________
> _______
> >Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________________________________
> __
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (John Beima)
Date: Sun Jun 3 16:42:01 2001
Subject: [ic] 4.7.x SSL domain problem...
G'Day Folks,
I have a little one some of you folks might find chalanging...
With 4.0x and 4.6.x crossing domains for SSL seemed to work fine, via posting
forms...
However with 4.7.x you loose your session entirely...
Just a little background...
Catalog URL: www.store.com
SSL URL: secure.isp.com
Since the domains are changing, when you enter the secure pages Interchange is
issuing a new session number, as opposed to parsing it from the URL. It basicly
is looking it up in the stored cookie instead of the cgi url... Which of course
when you are at the new domain you can't read cookies out on by the old domain.
I have tried:
#01:
CookieDomain .store.com
#2:
CookieDomain .store.com .isp.com
#3:
CookieDomain .store.com
CookieDomain .isp.com
#4:
Cookies No
All in the after.cfg file... None of the above works...
Any ideas???
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 lists.akopia.com (John Beima)
Date: Sun Jun 3 16:45:00 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
This is a simple one... The name of the catalog in your interchange.cfg file,
does NOT make the name that the makecat program called the vlink script. When
yoru web server tries to launch the vlink script the Interchange server simply
says there is no catalog by that name...
Either edit your Catalog definition in the interchange.cfg file or rename your
vlink script to the name it is looking for...
John Beima
Quoting Phil Morden <nedrom@hotmail.com>:
> In the error log I get
>
> Interchange: ^Gxxxx: error in configuration. Skipping.
>
>
> Not to descriptive. I just followed the "makecat" questions, nothing
> was
> out of the ordinary. I have just a standard RH 7 system.
>
>
> check the logs and processes to see if interchange is actually
> started. my guess is that its not running. starting it from the
> etc/rc.d usually works for me. jason@machinerunner.com
>
>
> ---------- Original Message ----------------------------------
> From: "Phil Morden" <nedrom@hotmail.com>
> Reply-To: interchange-users@developer.akopia.com
> Date: Sun, 03 Jun 2001 17:10:23
>
> >I've installed Interchange on via RPM. The demo
> catalog "construct" works
> >fine. When I create my own catalog via makecat, when I go to the
> Admin or
> >Customer I get this: Undefined catalog: /cgi-bin/xxxx
> >
> >Does any have any ideas?
> >
> >Thanks.
> >__________________________________________________________________
> _______
> >Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (John Beima)
Date: Sun Jun 3 16:53:01 2001
Subject: [ic] Strange problem
G'Day Guy,
A few days ago, someone posted a message to the group with a possible fix for
this... It was aimed at MySQL users however, but it solved just that, and could
work in this case...
By the way Interchange doesn't write to the .txt files.. It stores all it new
data in the .gdbm files... You have to do an export on the file to update the
.txt files...
John
Quoting Guy Soudant <soudant@home.nl>:
> Hi,
>
> I am currently testing my Interchange 4.7.2 install, and I seem to run
> into a strange problem. When I check the pre-installed orders (those
> that
> come with the demo) in the admin UI, I can see all the data, but when I
> check my own test orders in both the customer as well as the admin UI, I
>
> do not see the goods ordered by the customer (all other info is present,
>
> except for shipping costs, bu that is not yet properly set up). It seems
>
> that this data is not stored in orderline.txt. Is there perhaps a format
>
> for ordernumber (all orders that are formatted like 00001 are viewable,
> but all products in orders formatted like TEST0001 are not viewable).
> Please help!
>
> I am running the standard Database (flat text)
>
> Does anyone know what is going wrong, and perhaps can think of a
> solution
> to this problem
>
> Thanx
>
> Guy Soudant
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Sun Jun 3 16:55:00 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
This is a multi-part message in MIME format.
------=_NextPart_000_6790_4f72_7480
Content-Type: text/plain; format=flowed
Here is a copy of the catalog.cfg file
Can you post a copy of your catalog.cfg? We might be able to track the
problem down from there....
Matt
On 03 Jun 2001 20:21:48 +0000, Phil Morden wrote:
> In the error log I get
>
> Interchange: ^Gxxxx: error in configuration. Skipping.
>
>
> Not to descriptive. I just followed the "makecat" questions, nothing was
> out of the ordinary. I have just a standard RH 7 system.
>
>
> check the logs and processes to see if interchange is actually
> started. my guess is that its not running. starting it from the
> etc/rc.d usually works for me. jason@machinerunner.com
>
>
> ---------- Original Message ----------------------------------
> From: "Phil Morden" <nedrom@hotmail.com>
> Reply-To: interchange-users@developer.akopia.com
> Date: Sun, 03 Jun 2001 17:10:23
>
> >I've installed Interchange on via RPM. The demo
> catalog "construct" works
> >fine. When I create my own catalog via makecat, when I go to the
> Admin or
> >Customer I get this: Undefined catalog: /cgi-bin/xxxx
> >
> >Does any have any ideas?
> >
> >Thanks.
> >__________________________________________________________________
> _______
> >Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
------=_NextPart_000_6790_4f72_7480
Content-Type: application/octet-stream; name="catalog.cfg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="catalog.cfg"
IyBTZXQgdGhlIHNpdGV3aWRlIGluZm9ybWF0aW9uLiBUaGUgaW5pdGlhbCBz
ZXR0aW5ncwojIGluIHRoZSAidmFyaWFibGUiIHRhYmxlIGFyZSBzaG93biBi
ZWxvdzsgc3Vic2VxdWVudAojIGNoYW5nZXMgYXJlIG9ubHkgaW4gdGhlIGRh
dGFiYXNlLCBub3QgYmVsb3cuCgpWYXJpYWJsZURhdGFiYXNlIHZhcmlhYmxl
CgojIyMgVGhlc2UgcmVmbGVjdCB0aGUgaW5pdGlhbCBzZXR0aW5ncyBzZXQg
YWJvdmU7CiMjIyBpZiB5b3UgdW5jb21tZW50IHRoZW0gdGhleSB3aWxsIG92
ZXJyaWRlIGl0LgojCiNWYXJpYWJsZSAgICBTRVJWRVJfTkFNRSAgICAgbmVk
cm9tLmR5bmRucy5vcmcKI1ZhcmlhYmxlICAgIENHSV9VUkwgICAgICAgICAv
Y2dpLWJpbi9pY2VzdG9yZQojVmFyaWFibGUgICAgU0VDVVJFX1NFUlZFUiAg
IGh0dHA6Ly9uZWRyb20uZHluZG5zLm9yZwojVmFyaWFibGUgICAgT1JERVJT
X1RPICAgICAgIG5lZHJvbQojVmFyaWFibGUgICAgSU1BR0VfRElSICAgICAg
IC9pY2VzdG9yZS9pbWFnZXMKI1ZhcmlhYmxlICAgIERPQ1JPT1QgICAgICAg
ICAvdmFyL3d3dy9odG1sCiNWYXJpYWJsZSAgICBTQU1QTEVIVE1MICAgICAg
L3Zhci93d3cvaHRtbC9pY2VzdG9yZQojVmFyaWFibGUgICAgU0FNUExFVVJM
ICAgICAgIGh0dHA6Ly9uZWRyb20uZHluZG5zLm9yZy9pY2VzdG9yZQojCiNW
YXJpYWJsZSAgICBDT01QQU5ZICAgICAgICAgSWNlLUxpbnV4LmNvbQojVmFy
aWFibGUgICAgRU5DUllQVE9SICAgICAgIG5vbmUKIwojVmFyaWFibGUgICAg
U09NRVNRTCAgICAgICAgIDEKI1ZhcmlhYmxlICAgIE1ZU1FMICAgICAgICAg
ICAxCiNWYXJpYWJsZSAgICBQR1NRTCAgICAgICAgICAgCiNWYXJpYWJsZSAg
ICBPUkFDTEUgICAgICAgICAgCiNWYXJpYWJsZSAgICBTUUxEU04gICAgICAg
ICAgZGJpOm15c3FsOnRlc3RfaWNlc3RvcmUKI1ZhcmlhYmxlICAgIFNRTERC
ICAgICAgICAgICB0ZXN0X2ljZXN0b3JlCiNWYXJpYWJsZSAgICBTUUxVU0VS
CQkJaW50ZXJjaCAgICAgICAgIAojVmFyaWFibGUgICAgU1FMUEFTUyAgICAg
ICAgIGludGVyY2gKCiMjIEVORCBTSVRFIENPTkZJR1VSQVRJT04KClBhcnNl
VmFyaWFibGVzICBZZXMKCiMjIyMjIyMjIwojIyMjIyMjIyMgU2V0IHRoZSBj
YXRhbG9nIFVSTFMsIHVzaW5nIHRoZSBWYXJpYWJsZSBzZXR0aW5ncyBhYm92
ZS4KIyMjIyMjIyMjCiMjCiMjIFRoZSBVUkxzIHdoaWNoIGFyZSB3cml0dGVu
IHRvIGNhbGwgdGhlIENHSSBsaW5rIHNjcmlwdC4KIyMgClZlbmRVUkwgICAg
ICAgICAgICAgICAgIGh0dHA6Ly9fX1NFUlZFUl9OQU1FX19fX0NHSV9VUkxf
XwpTZWN1cmVVUkwgICAgICAgICAgICAgICBfX1NFQ1VSRV9TRVJWRVJfX19f
Q0dJX1VSTF9fCgojIyBTZXQgdGhlIGltYWdlIHBhdGggZm9yIHJlbGF0aXZl
IGltYWdlcwpJbWFnZURpciAgICAgICAgICAgICAgICBfX0lNQUdFX0RJUl9f
LwpJbWFnZURpckludGVybmFsICAgICAgICBodHRwOi8vX19TRVJWRVJfTkFN
RV9fX19JTUFHRV9ESVJfXy8KCiMjCiMjIyMjIyMjIwojIyMjIyMjIyMgCiMj
IyMjIyMjIwoKIyMjIyMjIyMjCiMjIyMjIyMjIyBTb21lIHVzZXIgc2Vzc2lv
biByZWxhdGVkIHNldHRpbmdzLi4uCiMjIyMjIyMjIwojCiMKCiMjIFdoZXRo
ZXIgdG8gZW5jcnlwdCBwYXNzd29yZHMgaW4gVXNlckRCCiMjIFdlIHVzdWFs
bHkgZG9uJ3QgZm9yIHVzZXJzLCBzbyB3ZSBjYW4gbWFpbCB0aGVtIHRoZWly
IHBhc3N3b3JkCiMjIFdlIERPIGluIGFkbWluLCB0aGF0IGlzIHNldCBpbiBj
YXRhbG9nX2FmdGVyLmNmZwpVc2VyREIgICAgZGVmYXVsdCAgICBjcnlwdCAg
ICAgICAgIDAKCiMjIENoYW5nZSBhIGZpZWxkIHRvIHNvbWV0aGluZyB0aGF0
IGRvZXNuJ3QgY29uZmxpY3QgaW4gTXlTUUwKVXNlckRCICAgIGRlZmF1bHQg
ICAgdGltZV9maWVsZCAgICBtb2RfdGltZQoKIyMgRG9uJ3Qgd2FudCBwZW9w
bGUgc2V0dGluZyB0aGVpciBjcmVkaXQgbGltaXQgb3IgZGVhbGVyIHN0YXR1
cyBkaXJlY3RseQpVc2VyREIgICAgZGVmYXVsdCAgICBzY3JhdGNoICAgICAg
ICJkZWFsZXIgY3JlZGl0X2xpbWl0IgoKIyMjIG1pbmltYWwgbG9naW4gc3R1
ZmYgZm9yIGFmZmlsaWF0ZQpVc2VyREIgICAgYWZmaWxpYXRlICB1c2VyX2Zp
ZWxkICAgIGFmZmlsaWF0ZQpVc2VyREIgICAgYWZmaWxpYXRlICBkYXRhYmFz
ZSAgICAgIGFmZmlsaWF0ZQpVc2VyREIgICAgYWZmaWxpYXRlICB0aW1lX2Zp
ZWxkICAgIG5vbmUKVXNlckRCICAgIGFmZmlsaWF0ZSAgY3J5cHQgICAgICAg
ICAwCgojIyBTZXQgc29tZSBpbml0aWFsIHZhbHVlcwpTY3JhdGNoRGVmYXVs
dCAgIG12X2FkZF9kb3RfaHRtbCAgIDEKU2NyYXRjaERlZmF1bHQgICBtdl9u
b19zZXNzaW9uX2lkICAxClNjcmF0Y2hEZWZhdWx0ICAgbXZfbm9fY291bnQg
ICAgICAgMQpTY3JhdGNoRGVmYXVsdCAgIG9yZGVyX3N0eWxlICAgICAgIDEK
VmFsdWVzRGVmYXVsdCAgICBtdl9zaGlwbW9kZSAgICAgICB1cHNnClZhbHVl
c0RlZmF1bHQgICAgc2hvd19iYXNrZXQgICAgICAgMQojCiMKIyMjIyMjIyMj
CiMjIyMjIyMjIwojIyMjIyMjIyMKCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKIyMj
IyMjIyMgICBUaGVzZSBkZWZpbmUgdGhlIHZhcmlhYmxlcyBmb3IgdGVtcGxh
dGluZyAgICAjIyMjIyMjIwojIyMjIyMjIyAgIFlvdSBzZWUgdGhlbSBpbiBw
YWdlcyB3aXRoIF9fTEVGVFJJR0hUX1RPUF9fICMjIyMjIyMjCiMjIyMjIyMj
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIyMjIyMjIyMKIyMjIyMjIyMgICBGaWxlcyBhcmUgYWN0dWFsbHkgaW4g
dGVtcGxhdGVzL3JlZ2lvbnMgZGlyICAjIyMjIyMjIwojIyMjIyMjIyAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICMj
IyMjIyMjCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKCiMjIERlZmluZSBzb21lIGNv
bG9ycwojIwpWYXJpYWJsZSAgIEhFQURFUkJHICAgIEJHQ09MT1I9IiM2Njk5
OTkiClZhcmlhYmxlICAgSEVBREVSVEVYVCAgI0ZGRkZGRgpWYXJpYWJsZSAg
IFRJVExFQkcgICAgIEJHQ09MT1I9IiM2Njk5OTkiClZhcmlhYmxlICAgVElU
TEVURVhUICAgI0ZGRkZGRgoKIyMgUHV0IGluIG1lbW9yeSB3aXRoIGhpZ2gg
dHJhZmZpYyBzZXR0aW5ncwojIyBCZXR0ZXIgcGVyZm9ybWFuY2UgdGhpcyB3
YXkKIyMgVFJBRkZJQyBpcyBkZWZpbmVkIGluIGludGVyY2hhbmdlLmNmZwoj
IwojIyBWYXJpYWJsZXMgdXNlZCBpbiB0aGVzZSBmaWxlcyBtdXN0IGhhdmUg
YmVlbiBwcmV2aW91c2x5IGRlZmluZWQKCiNpZmRlZiBAVFJBRkZJQyA9fiAv
aGlnaC9pClBhcnNlVmFyaWFibGVzICBZZXMKQ29uZmlnRGlyIHRlbXBsYXRl
cy9yZWdpb25zClZhcmlhYmxlICAgICAgTk9MRUZUX1RPUCAgICAgICA8Tk9M
RUZUX1RPUApWYXJpYWJsZSAgICAgIE5PTEVGVF9CT1RUT00gICAgPE5PTEVG
VF9CT1RUT00KVmFyaWFibGUgICAgICBMRUZUUklHSFRfVE9QICAgIDxMRUZU
UklHSFRfVE9QClZhcmlhYmxlICAgICAgTEVGVFJJR0hUX0JPVFRPTSA8TEVG
VFJJR0hUX0JPVFRPTQpWYXJpYWJsZSAgICAgIExFRlRPTkxZX1RPUCAgICAg
PExFRlRPTkxZX1RPUApWYXJpYWJsZSAgICAgIExFRlRPTkxZX0JPVFRPTSAg
PExFRlRPTkxZX0JPVFRPTQpWYXJpYWJsZSAgICAgIFNFTF9MRUZUX1RPUCAg
ICAgPFNFTF9MRUZUX1RPUApWYXJpYWJsZSAgICAgIFNFTF9MRUZUX0JPVFRP
TSAgPFNFTF9MRUZUX0JPVFRPTQpWYXJpYWJsZSAgICAgIFNFTF9BTExfVE9Q
ICAgICAgPFNFTF9BTExfVE9QClZhcmlhYmxlICAgICAgU0VMX0FMTF9CT1RU
T00gICA8U0VMX0FMTF9CT1RUT00KQ29uZmlnRGlyIGNvbmZpZwojZW5kaWYK
CiMjIFVzZSBbaW5jbHVkZSAuLi5dIHdpdGggbG93IHRyYWZmaWMgc2V0dGlu
Z3MsIGZpbGUgcmVhZCBldmVyeSB0aW1lCiMjIHRlbXBsYXRlIGNoYW5nZXMg
c2hvdyB1cCBpbW1lZGlhdGVseSB0aGlzIHdheQojIyBUUkFGRklDIGlzIGRl
ZmluZWQgaW4gaW50ZXJjaGFuZ2UuY2ZnCiMjCgojaWZkZWYgQFRSQUZGSUMg
PX4gL2xvdy9pClZhcmlhYmxlICAgICAgTk9MRUZUX1RPUCAgICAgICBbaW5j
bHVkZSB0ZW1wbGF0ZXMvcmVnaW9ucy9OT0xFRlRfVE9QXQpWYXJpYWJsZSAg
ICAgIE5PTEVGVF9CT1RUT00gICAgW2luY2x1ZGUgdGVtcGxhdGVzL3JlZ2lv
bnMvTk9MRUZUX0JPVFRPTV0KVmFyaWFibGUgICAgICBMRUZUUklHSFRfVE9Q
ICAgIFtpbmNsdWRlIHRlbXBsYXRlcy9yZWdpb25zL0xFRlRSSUdIVF9UT1Bd
ClZhcmlhYmxlICAgICAgTEVGVFJJR0hUX0JPVFRPTSBbaW5jbHVkZSB0ZW1w
bGF0ZXMvcmVnaW9ucy9MRUZUUklHSFRfQk9UVE9NXQpWYXJpYWJsZSAgICAg
IExFRlRPTkxZX1RPUCAgICAgW2luY2x1ZGUgdGVtcGxhdGVzL3JlZ2lvbnMv
TEVGVE9OTFlfVE9QXQpWYXJpYWJsZSAgICAgIExFRlRPTkxZX0JPVFRPTSAg
W2luY2x1ZGUgdGVtcGxhdGVzL3JlZ2lvbnMvTEVGVE9OTFlfQk9UVE9NXQpW
YXJpYWJsZSAgICAgIFNFTF9MRUZUX1RPUCAgICAgW2luY2x1ZGUgdGVtcGxh
dGVzL3JlZ2lvbnMvU0VMX0xFRlRfVE9QXQpWYXJpYWJsZSAgICAgIFNFTF9M
RUZUX0JPVFRPTSAgW2luY2x1ZGUgdGVtcGxhdGVzL3JlZ2lvbnMvU0VMX0xF
RlRfQk9UVE9NXQpWYXJpYWJsZSAgICAgIFNFTF9BTExfVE9QICAgICAgW2lu
Y2x1ZGUgdGVtcGxhdGVzL3JlZ2lvbnMvU0VMX0FMTF9UT1BdClZhcmlhYmxl
ICAgICAgU0VMX0FMTF9CT1RUT00gICBbaW5jbHVkZSB0ZW1wbGF0ZXMvcmVn
aW9ucy9TRUxfQUxMX0JPVFRPTV0KI2VuZGlmCgojCiMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMKIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIwoKUGFyc2VWYXJpYWJsZXMgIFll
cwoKIyBTZXRzIEludGVyY2hhbmdlIHRvIG5vdCBwYXJzZSA8Qk9EWSBNVj0i
Ym9keSAxIj4gYW5kIG90aGVyIHRhZ3Mgd2l0aGluCiMgSFRNTCB0YWdzLCB1
c2UgW3ByYWdtYSBub19odG1sX3BhcnNlIDBdIHRvIGVuYWJsZSBvbiBhIHBh
Z2UKUHJhZ21hICAgICAgICAgIG5vX2h0bWxfcGFyc2UKCk1haWxPcmRlclRv
ICAgICAgICAgICAgIF9fT1JERVJTX1RPX18KCgojIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjCiMjIyMjIyMjICAgREFUQUJBU0UgU0VUVVAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIyMjIyMjIyMKIyMjIyMjIyMgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjIyMjIyMjIwoj
IyMjIyMjIyAgIFdoZW4geW91IGRlZmluZWQgeW91ciBjYXRhbG9nLCB5b3Ug
c3BlY2lmaWVkICMjIyMjIyMjCiMjIyMjIyMjICAgYSBkYXRhYmFzZSB0eXBl
LiBUaGlzIHJlZ2lvbiB1c2VzICNpbmNsdWRlICAgIyMjIyMjIyMKIyMjIyMj
IyMgICB0byBpbmNsdWRlIHRoZSBkYXRhYmFzZSBkZWZpbml0aW9ucyBiYXNl
ZCAgICAjIyMjIyMjIwojIyMjIyMjIyAgIG9uIHRoYXQgY2hvaWNlLiAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICMjIyMjIyMjCiMjIyMjIyMjICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IyMjIyMjIyMKIyMjIyMjIyMgICBTZWUgdGhlIGRpcmVjdG9yaWVzIGluIGRi
Y29uZi8gZm9yIHRoZSAgICAgICAjIyMjIyMjIwojIyMjIyMjIyAgIGRpZmZl
cmVudCB0eXBlcy4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICMjIyMj
IyMjCiMjIyMjIyMjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIyMjIyMjIyMKIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIwoj
IwojIwoKI2lmbmRlZiBTUUxEU04KVmFyaWFibGUgICAgU1FMRFNOICAgICAg
ICAgIGRiaTpteXNxbDp0ZXN0X2ljZXN0b3JlCiNlbmRpZgoKIyMjIyMKIyMj
IyMgTXlTUUwKIyMjIyMKI2lmZGVmIE1ZU1FMCgpNZXNzYWdlIFVzaW5nIE15
U1FMLCBEU049X19TUUxEU05fXy4KCiMgVGVsbCB0aGUgZGVmYXVsdCBEQk0g
d2UgYXJlIHVzaW5nIHNvbWV0aGluZyBlbHNlLi4uClZhcmlhYmxlICBTT01F
X0RBVEFCQVNFICAxCgojIFVuY29tbWVudCBpZiBuZWVkZWQKI1ZhcmlhYmxl
ICBTUUxVU0VSICBmb28KI1ZhcmlhYmxlICBTUUxQQVNTICBiYXIKCiMgVGhl
IHRhYmxlIGRlZnMgYXJlIGluIHNlcGFyYXRlIGZpbGVzIGluIHRoZSBkYmNv
bmYvbXlzcWwgZGlyZWN0b3J5LAojIHRoZSBvbmVzIGtlcHQgaW4gREJNIGFy
ZSBpbiBUQUJMRU5BTUUuZGJtIGZpbGVzLgoKI2luY2x1ZGUgZGJjb25mL215
c3FsLyoKCiNlbmRpZgoKIyMjIyMKIyMjIyMgUG9zdGdyZVNRTAojIyMjIwoj
aWZkZWYgUEdTUUwKCk1lc3NhZ2UgVXNpbmcgUG9zdGdyZVNRTCwgRFNOPV9f
U1FMRFNOX18uCgojIFRlbGwgdGhlIGRlZmF1bHQgREJNIHdlIGFyZSB1c2lu
ZyBzb21ldGhpbmcgZWxzZS4uLgpWYXJpYWJsZSAgU09NRV9EQVRBQkFTRSAg
MQoKIyBVbmNvbW1lbnQgYW5kIGVkaXQgaWYgbmVlZGVkCiNWYXJpYWJsZSAg
U1FMVVNFUiAgZm9vCiNWYXJpYWJsZSAgU1FMUEFTUyAgYmFyCgojIFRoZSB0
YWJsZSBkZWZzIGFyZSBpbiBzZXBhcmF0ZSBmaWxlcyBpbiB0aGUgZGJjb25m
L3Bnc3FsIGRpcmVjdG9yeSwKIyB0aGUgb25lcyBrZXB0IGluIERCTSBhcmUg
aW4gVEFCTEVOQU1FLmRibSBmaWxlcy4KCiNpbmNsdWRlIGRiY29uZi9wZ3Nx
bC8qCgojZW5kaWYKCiMjIyMjCiMjIyMjIE9yYWNsZQojIyMjIwojaWZkZWYg
T1JBQ0xFCgpNZXNzYWdlIFVzaW5nIE9yYWNsZSwgRFNOPV9fU1FMRFNOX18u
CgojIFRlbGwgdGhlIGRlZmF1bHQgREJNIHdlIGFyZSB1c2luZyBzb21ldGhp
bmcgZWxzZS4uLgpWYXJpYWJsZSAgU09NRV9EQVRBQkFTRSAgMQoKIyBPcmFj
bGUgY29uc2lkZXJzICdzZXNzaW9uJywgJ3NpemUnLCBhbmQgJ2NvbW1lbnQn
IHRvIGJlIHJlc2VydmVkCiMgd29yZHMuIFNpbmNlIHdlIHVzZSB0aG9zZSBh
cyBjb2x1bW4gbmFtZXMsIGF0dGFjaCB0aGlzIGFyYml0cmFyeQojIHN0cmlu
ZyB0byB0aGUgZW5kIG9mIGVhY2ggd29yZCB0byBtYWtlIGl0IGFjY2VwdGFi
bGUgdG8gT3JhY2xlLgojIE5vdGUgdGhhdCB0aGlzIG11c3QgYmUgZGVmaW5l
ZCBiZWZvcmUgdGhlICNpbmNsdWRlIGJlbG93LgpWYXJpYWJsZSAgRklFTERN
VU5HRSAgCgojIFVuY29tbWVudCBhbmQgZWRpdCBpZiBuZWVkZWQKI1Zhcmlh
YmxlICBTUUxVU0VSICBmb28KI1ZhcmlhYmxlICBTUUxQQVNTICBiYXIKCiMg
VGhlIHRhYmxlIGRlZnMgYXJlIGluIHNlcGFyYXRlIGZpbGVzIGluIHRoZSBk
YmNvbmYvb3JhY2xlIGRpcmVjdG9yeSwKIyB0aGUgb25lcyBrZXB0IGluIERC
TSBhcmUgaW4gVEFCTEVOQU1FLmRibSBmaWxlcy4KCiNpbmNsdWRlIGRiY29u
Zi9vcmFjbGUvKgoKI2VuZGlmCgojIyMjIwojIyMjIyBEZWZhdWx0IERCTSBp
ZiBub3RoaW5nIGVsc2UgZGVmaW5lZAojIyMjIwojaWZuZGVmIFNPTUVfREFU
QUJBU0UKCiMgVGhlIHRhYmxlIGRlZnMgYXJlIGluIHNlcGFyYXRlIGZpbGVz
IGluIHRoZSBkYmNvbmYvZGJtIGRpcmVjdG9yeS4KCk1lc3NhZ2UgVXNpbmcg
ZGVmYXVsdCBEQk0gZGF0YWJhc2UuCiNpbmNsdWRlIGRiY29uZi9kZWZhdWx0
X2RiLyoKCiNlbmRpZgoKUHJvZHVjdEZpbGVzICAgcHJvZHVjdHMKCiMjCiMj
CiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMKIyMjIyMjIyMgICAgICAgICAgICAgICAg
ZW5kIGRhdGFiYXNlIHNldHVwICAgICAgICAgICAgICAgIyMjIyMjIwojIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjCgpBbHdheXNTZWN1cmUgICAgICAgICBvcmQvY2hl
Y2tvdXQgbXVsdGkvY2hlY2tvdXQKQXNjaWlUcmFjayAgICAgICAgICAgbG9n
cy90cmFja2luZy5hc2MKCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKIyMjIyMjIyMg
ICAgICAgICAgICAgICAgICAgUHJpY2luZyBzZXR1cCAgICAgICAgICAgICAg
ICAgIyMjIyMjIwojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCiMjIyMjIyMjICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICMj
IyMjIyMKIyMjIyMjIyMgIEluIHRoZSBjb25zdHJ1Y3QgZGVtbywgaWYgdGhl
IHVzZXIgaXMgbG9nZ2VkICAgIyMjIyMjIwojIyMjIyMjIyAgaW4gYW5kIGlz
IG1hcmtlZCBhcyBhICJkZWFsZXIiICgxIGluIHRoZSAgICAgICAjIyMjIyMj
CiMjIyMjIyMjICBkZWFsZXIgZmllbGQgaW4gdGhlIHVzZXJkYiBkYXRhYmFz
ZSkgdGhlbiAgICAgICMjIyMjIyMKIyMjIyMjIyMgIHRoZXkgYXJlIGdpdmVu
IHF1YW50aXR5IGRpc2NvdW50cyBiYXNlZCBvbiAgICAgIyMjIyMjIwojIyMj
IyMjIyAgcHJpY2UgZ3JvdXBzLiAoQWxsIHByb2R1Y3RzIGV4Y2VwdCBnaWZ0
X2NlcnQgICAjIyMjIyMjCiMjIyMjIyMjICBhcmUgaW4gcHJpY2UgZ3JvdXAg
MSBhcyBkaXN0cmlidXRlZC4pIElmICAgICAgICMjIyMjIyMKIyMjIyMjIyMg
IHRoZSBxdWFudGl0eSBpcyAxLCB0aGVuIHByaWNpbmcgY29tZXMgZnJvbSAg
ICAgIyMjIyMjIwojIyMjIyMjIyAgdGhlICJ3aG9sZXNhbGUiIGZpZWxkIGlu
IHRoZSBwcm9kdWN0cyAgICAgICAgICAjIyMjIyMjCiMjIyMjIyMjICBkYXRh
YmFzZS4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICMj
IyMjIyMKIyMjIyMjIyMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIyMjIyMjIwojIyMjIyMjIyAgSWYgdGhlIHVz
ZXIgaXMgbm90IGEgZGVhbGVyIChvciBub3QgbG9nZ2VkIGluKSAjIyMjIyMj
CiMjIyMjIyMjICB0aGVuIHByaWNpbmcganVzdCBjb21lcyBmcm9tICJwcmlj
ZSIuICAgICAgICAgICMjIyMjIyMKIyMjIyMjIyMgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIyMjIyMjIwojIyMj
IyMjIyAgVGhlcmUgaXMgYW4gQXV0b2xvYWQgcm91dGluZSB0aGF0IGRldGVy
bWluZXMgICAjIyMjIyMjCiMjIyMjIyMjICB0aGUgZGVhbGVyIHN0YXR1cyBh
bmQgY2hhbmdlcyB0aGUgUHJpY2VGaWVsZCAgICMjIyMjIyMKIyMjIyMjIyMg
IGRlZmluaXRpb24gaWYgdGhleSBhcmUuICAgICAgICAgICAgICAgICAgICAg
ICAgIyMjIyMjIwojIyMjIyMjIyAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAjIyMjIyMjCiMjIyMjIyMjICBUaGUg
ImdpZnRfY2VydCIgQXV0b01vZGlmaWVyIGFsbG93cyBzcGVjaWFsICAgICMj
IyMjIyMKIyMjIyMjIyMgIHJlY2VpcHQsIGJhc2tldCwgYW5kIGNoZWNrb3V0
IGRpc3BsYXkgaGFuZGxpbmcgIyMjIyMjIwojIyMjIyMjIyAgZm9yIGl0ZW1z
IGRlZmluZWQgYXMgYSBnaWZ0X2NlcnQuICAgICAgICAgICAgICAjIyMjIyMj
CiMjIyMjIyMjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICMjIyMjIyMKClByaWNlRmllbGQgICAgIHByaWNlCgpD
b21tb25BZGp1c3QgICBwcmljaW5nOnByaWNlX2dyb3VwLHE1LHExMDogOzp3
aG9sZXNhbGUgOyQKQXV0b01vZGlmaWVyICAgcHJpY2luZzpwcmljZV9ncm91
cApBdXRvTW9kaWZpZXIgICBwcm9kdWN0czpnaWZ0X2NlcnQKClVzZXJEQiAg
ICAgICAgIGRlZmF1bHQgICAgc2NyYXRjaCAgICBkZWFsZXIKCkF1dG9sb2Fk
IDw8RU9SCltwZXJsXQogICAgaWYoJFNjcmF0Y2gtPntkZWFsZXJ9KSB7CiAg
ICAgICAgICAgICRDb25maWctPntQcmljZUZpZWxkfSA9ICdub19wcmljZSc7
CiAgICB9ClsvcGVybF0KRU9SCgojIyMjIyMjIyAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjIyMjIyMjCiMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMKCiMjIFNldCB0aGlzIHRvIE5vIGlmIHlvdSBkb24n
dCB3YW50IGF1dG8tbG9naW4gY2FwYWJpbGl0eSBmb3IgdXNlcnMKQ29va2ll
TG9naW4gIFllcwoKIyBUaGlzIHNldHMgdXAgdGhlIG5ldyBwYXltZW50IGNo
YXJnZSBtb2RlIGluIEludGVyY2hhbmdlIDQKIyBZb3Ugc2V0IGl0IHRvICJj
dXN0b20gbmFtZSIsIHdoZXJlIG5hbWUgaXMgdGhlIG5hbWUgb2YgYSBHbG9i
YWxTdWIKIyB0aGF0IHBlcmZvcm1zIHRoZSBjaGFyZ2Ugb3BlcmF0aW9uLiBJ
ZiBpdCBpcyBub3QgImN1c3RvbSIsIHRoZW4KIyBpdCB3aWxsIHVzZSB0aGUg
Q3liZXJDYXNoIHJvdXRpbmVzLgojCiMgIm1pbml2ZW5kX3Rlc3QiIGlzIHNw
ZWNpYWwsIGFuZCB0aGUgZGVtbyBvcmRlciBwcm9maWxlCiMgd29ya3Mgd2l0
aCB0aGUgZGVtbyBvcmRlciBmb3JtIHRvIHRlc3QKIwojVmFyaWFibGUgIE1W
X1BBWU1FTlRfTU9ERSAgIG1pbml2ZW5kX3Rlc3QKCiMgVW5jb21tZW50IHRv
IHVzZSBjcmVkaXRDYXJkQXV0byBpZiB5b3Ugd2FudCwgbm93IGhhbmRsZWQg
YmV0dGVyIGluCiMgb3JkZXIgcHJvZmlsZXMgd2l0aCAiJmNyZWRpdF9jYXJk
PXN0YW5kYXJkIi4KI0NyZWRpdENhcmRBdXRvICAgICAgWWVzCgojIFRoZXNl
IGFyZSB1c3VhbGx5IGFsbCB5b3UgbmVlZCBmb3IgQ3liZXJDYXNoIDMKIyBV
bmNvbW1lbnQgYW5kIGVkaXQgdG8gc3VpdDsgbWFrZSBzdXJlIHlvdSByZW1v
dmUgQ3JlZGl0Q2FyZEF1dG8gc29tZWhvdwojCiNWYXJpYWJsZSAgICAgICAg
IENZQkVSX0NPTkZJR0ZJTEUgICAgL2hvbWUveW91L3lvdXJpZDc1L21jay1j
Z2kvbWVyY2hhbnRfY29uZgojVmFyaWFibGUgICAgICAgICBDWUJFUl9WRVJT
SU9OICAgICAgIDMuMgojVmFyaWFibGUgICAgICAgICBDWUJFUl9NT0RFICAg
ICAgICAgIG1hdXRob25seQoKI2lmZGVmIENZQkVSX01PREUKVmFyaWFibGUg
ICAgICAgICBNVl9QQVlNRU5UX01PREUgICAgIG1hdXRob25seQpDcmVkaXRD
YXJkQXV0byAgIE5vCiNlbmRpZgoKRW5jcnlwdFByb2dyYW0gICBfX0VOQ1JZ
UFRPUl9fCgojIFVuY29tbWVudCBvbmx5IGlmIHlvdSBoYXZlIHRoZXNlIGxv
Y2FsZXMgb24geW91ciBzeXN0ZW0KI0xvY2FsZSAgICAgICAgICBkZV9ERQoj
TG9jYWxlICAgICAgICAgIGRlX0RFIExDX0NUWVBFIGRlX0RFCiNMb2NhbGUg
ICAgICAgICAgZnJfRlIKI0xvY2FsZSAgICAgICAgICBlbl9VUwoKTG9jYWxl
ICAgICAgICAgIGVuX1VTIExDX0NUWVBFIEMKTG9jYWxlRGF0YWJhc2UgIGxv
Y2FsZQoKT25mbHkgICAgICAgICAgIG9uZmx5Ck9yZGVyQ291bnRlciAgICBl
dGMvb3JkZXIubnVtYmVyCk9yZGVyTGluZUxpbWl0ICAyNQpPcmRlclByb2Zp
bGUgICAgZXRjL3Byb2ZpbGVzLm9yZGVyIGV0Yy9wcm9maWxlcy5sb2dpbiBl
dGMvcHJvZmlsZXMubWlzYwoKIyBUaGlzIG1ha2VzIENvbW1vbkFkanVzdCBl
ZmZlY3RpdmUsIHNpbmNlIG5vX3ByaWNlIGRvZXNuJ3QgZXhpc3QKUmVhZFBl
cm1pc3Npb24gIGdyb3VwClJvYm90TGltaXQgICAgICAgNTAKCiMgSGVyZSB3
ZSBvdmVycmlkZSBJbnRlcmNoYW5nZSdzIG5vcm1hbCBvcmRlciByb3V0aW5l
CkFjdGlvbk1hcCAgb3JkZXIgICA8PEVPUgpzdWIgewoJI0xvZygnaW4gb3Jk
ZXIgYWN0aW9uJyk7CglpZigkQ0dJLT57bXZfbmV4dHBhZ2V9IG5lICdvcmRl
cicpIHsKCQkjIERvIG5vdGhpbmcKCX0KCWVsc2lmKCRWYWx1ZXMtPntub19i
YXNrZXR9KSB7CgkJJENHSS0+e212X25leHRwYWdlfSA9ICdvcmQvbm9iYXNr
ZXQnOwoJfQoJZWxzZSB7CgkJJENHSS0+e212X25leHRwYWdlfSA9ICdvcmQv
YmFza2V0JzsKCX0KCSRDR0ktPnttdl9vcmRlcl9pdGVtfSA9ICRDR0ktPntt
dl9hcmd9CgkJaWYgISAkQ0dJLT57bXZfb3JkZXJfaXRlbX07CgkkVGFnLT51
cGRhdGUoJ3ZhbHVlcycpOwoJcmV0dXJuIDE7Cn0KRU9SCgpBY3Rpb25NYXAg
IGRlbGl2ZXIgICA8PEVPUgpzdWIgewoJbXkgJGRlbGl2ZXJhYmxlID0gc2hp
ZnQ7CgkkU2NyYXRjaC0+e2RlbGl2ZXJhYmxlfSA9ICRDR0ktPnttdl9hcmd9
OwoJJENHSS0+e212X25leHRwYWdlfSA9ICdkZWxpdmVyJzsKCXJldHVybiAx
Owp9CkVPUgoKQWN0aW9uTWFwICBnZXRfcGFzc3dvcmQgICA8PEVPUgpzdWIg
ewoJJENvbmZpZy0+e05vU2VhcmNofSA9ICcnOwoJJENHSS0+e212X25leHRw
YWdlfSA9ICRDR0ktPnttdl9zZWFyY2hfcGFnZX0gPSAnYWN0aW9uL2dldF9w
YXNzd29yZCc7CgkkQ0dJLT57bXZfdG9kb30gPSAnc2VhcmNoJzsKCSRUYWct
PnVwZGF0ZSgncHJvY2VzcycpOwoJcmV0dXJuOwp9CkVPUgoKUGFyc2VWYXJp
YWJsZXMgWWVzClJvdXRlIGxvZyAgICAgICAgIGF0dGFjaCAgICAgICAgICAw
ClJvdXRlIGxvZyAgICAgICAgIGN5YmVybW9kZSAgICAgICAiIgpSb3V0ZSBs
b2cgICAgICAgICBlbXB0eSAgICAgICAgICAgMQpSb3V0ZSBsb2cgICAgICAg
ICBlbmNyeXB0ICAgICAgICAgMApSb3V0ZSBsb2cgICAgICAgICBpbmNyZW1l
bnQgICAgICAgMApSb3V0ZSBsb2cgICAgICAgICByZXBvcnQgICAgICAgICAg
ZXRjL2xvZ190cmFuc2FjdGlvbgpSb3V0ZSBsb2cgICAgICAgICBzdXBwbGFu
dCAgICAgICAgMApSb3V0ZSBsb2cgICAgICAgICB0cmFjayAgICAgICAgICAg
bG9ncy9sb2cKClJvdXRlIGxvZ19lbnRyeSAgIGF0dGFjaCAgICAgICAgICAw
ClJvdXRlIGxvZ19lbnRyeSAgIGN5YmVybW9kZSAgICAgICAiIgpSb3V0ZSBs
b2dfZW50cnkgICBlbXB0eSAgICAgICAgICAgMQpSb3V0ZSBsb2dfZW50cnkg
ICBlbmNyeXB0ICAgICAgICAgMApSb3V0ZSBsb2dfZW50cnkgICBpbmNyZW1l
bnQgICAgICAgMApSb3V0ZSBsb2dfZW50cnkgICByZXBvcnQgICAgICAgICAg
ZXRjL2xvZ19lbnRyeQpSb3V0ZSBsb2dfZW50cnkgICBzdXBwbGFudCAgICAg
ICAgMApSb3V0ZSBsb2dfZW50cnkgICB0cmFjayAgICAgICAgICAgbG9ncy9s
b2cKClJvdXRlIGNvcHlfdXNlciAgIGF0dGFjaCAgICAgICAgICAwClJvdXRl
IGNvcHlfdXNlciAgIGN5YmVybW9kZSAgICAgICAiIgpSb3V0ZSBjb3B5X3Vz
ZXIgICBlbXB0eSAgICAgICAgICAgMQpSb3V0ZSBjb3B5X3VzZXIgICBlbmNy
eXB0ICAgICAgICAgMApSb3V0ZSBjb3B5X3VzZXIgICBpbmNyZW1lbnQgICAg
ICAgMApSb3V0ZSBjb3B5X3VzZXIgICByZXBvcnQgICAgICAgICAgZXRjL21h
aWxfcmVjZWlwdApSb3V0ZSBjb3B5X3VzZXIgICBzdXBwbGFudCAgICAgICAg
MApSb3V0ZSBjb3B5X3VzZXIgICB0cmFjayAgICAgICAgICAgbG9ncy9sb2cK
CiMgTWFpbiByb3V0ZSBtdXN0IGJlIGxhc3QgdG8gbWFrZSBkZWZhdWx0ClJv
dXRlIG1haW4gICAgICAgIGF0dGFjaCAgICAgICAgICAgMApSb3V0ZSBtYWlu
ICAgICAgICBjcmVkaXRfY2FyZCAgICAgIDAKUm91dGUgbWFpbiAgICAgICAg
Y3liZXJtb2RlICAgICAgICAiIgpSb3V0ZSBtYWluICAgICAgICBkZWZhdWx0
ICAgICAgICAgIDEKUm91dGUgbWFpbiAgICAgICAgZW1haWwgICAgICAgICAg
ICAnX19PUkRFUlNfVE9fXycKUm91dGUgbWFpbiAgICAgICAgZW5jcnlwdCAg
ICAgICAgICAwClJvdXRlIG1haW4gICAgICAgIGVuY3J5cHRfcHJvZ3JhbSAg
J19fRU5DUllQVE9SX18nClJvdXRlIG1haW4gICAgICAgIGVycm9yc190byAg
ICAgICAgJ19fT1JERVJTX1RPX18nClJvdXRlIG1haW4gICAgICAgIGluY3Jl
bWVudCAgICAgICAgMApSb3V0ZSBtYWluICAgICAgICBwZ3BfY2Nfa2V5ICAg
ICAgICIiClJvdXRlIG1haW4gICAgICAgIHBncF9rZXkgICAgICAgICAgIiIK
Um91dGUgbWFpbiAgICAgICAgcmVjZWlwdCAgICAgICAgICBldGMvcmVjZWlw
dC5odG1sClJvdXRlIG1haW4gICAgICAgIHJlcG9ydCAgICAgICAgICAgZXRj
L3JlcG9ydApSb3V0ZSBtYWluICAgICAgICBzdXBwbGFudCAgICAgICAgIDEK
Um91dGUgbWFpbiAgICAgICAgaW5kaXZpZHVhbF90cmFjayBvcmRlcnMKUm91
dGUgbWFpbiAgICAgICAgdHJhY2sgICAgICAgICAgICBsb2dzL3RyYWNraW5n
LmFzYwoKIyBPcmRlciByb3V0ZXMgY2FuIGJlIG1haW50YWluZWQgaW4gYSBk
YXRhYmFzZSwgZW1wdHkgaW4gZGVtbwojIENIQU5HRVMgVE8gVEhJUyBXSUxM
IE9WRVJSSURFIFRIRSBST1VURVMgQUJPVkUKUm91dGVEYXRhYmFzZSAgICBy
b3V0ZQoKU2FsZXNUYXggICAgICAgICBfX1RBWEZJRUxEX18KRnJhY3Rpb25h
bEl0ZW1zICBZZXMKU2VwYXJhdGVJdGVtcyAgICBZZXMKClNwZWNpYWxQYWdl
ICAgICAgICAgIGNhdGFsb2cgICAgICAgIGluZGV4ClNwZWNpYWxQYWdlICAg
ICAgICAgIHJlcG9ydCAgICAgICAgIC4uL2V0Yy9yZXBvcnQKU3BlY2lhbFBh
Z2UgICAgICAgICAgcmVjZWlwdCAgICAgICAgLi4vZXRjL3JlY2VpcHQKCk5v
Q2FjaGUgICAgICAgICAgICAgIGFkbWluIGNvbmZpZyBtdWx0aSBvcmQgcXVl
cnkgcmVjb25maWcgc3BlY2lhbAoKU3RhdGljICAgICAgICBfX0NBVEFMT0df
U1RBVElDX18KU3RhdGljTG9nZ2VkICBfX0xPR0dFRF9TVEFUSUNfXwpTdGF0
aWNBbGwgICAgIFllcwpTdGF0aWNEQk0gICAgIHN0YXRpYwpTdGF0aWNEZXB0
aCAgIDIKU3RhdGljRGlyICAgICBfX1NBTVBMRUhUTUxfXy9wYWdlcwpTdGF0
aWNGbHkgICAgIFllcwpTdGF0aWNQYXRoICAgIF9fU0FNUExFVVJMX18vcGFn
ZXMKVGF4U2hpcHBpbmcgICBfX1RBWFNISVBQSU5HX18KCiNpZmRlZiBVSV9U
UkFGRklDX1NUQVRTClRyYWNrRmlsZSBfX1VJX1RSQUZGSUNfU1RBVFNfXwoj
ZW5kaWYKClVwc1pvbmVGaWxlICAgcHJvZHVjdHMvNDUwLmNzdgpVc2VNb2Rp
ZmllciAgIHNpemUgY29sb3IKCkhpc3RvcnkgMTAKVXNlclRhZyBoaXN0b3J5
LXNjYW4gT3JkZXIgZmluZCBleGNsdWRlIGRlZmF1bHQKVXNlclRhZyBoaXN0
b3J5LXNjYW4gYWRkQXR0cgpVc2VyVGFnIGhpc3Rvcnktc2NhbiBSb3V0aW5l
IDw8RU9SCm15ICV2YXJfZXhjbHVkZSA9ICggcXcvCgltdl9jcmVkaXRfY2Fy
ZF9udW1iZXIgMQoJbXZfcGMgICAgICAgICAgICAgICAgIDEKCW12X3Nlc3Np
b25faWQgICAgICAgICAxCi8pOwpzdWIgewoJbXkgKCRmaW5kLCAkZXhjbHVk
ZSwgJGRlZmF1bHQpID0gQF87CglteSAkcmVmID0gJFZlbmQ6OlNlc3Npb24t
PntIaXN0b3J5fQoJCW9yIHJldHVybiAkVGFnLT5hcmVhKCRkZWZhdWx0IHx8
ICRDb25maWctPntTcGVjaWFsUGFnZX17Y2F0YWxvZ30pOwoJbXkgKCRoaXN0
LCAkaHJlZiwgJGNnaSk7CgkkZXhjbHVkZSA9IHFyLyRleGNsdWRlLyBpZiAk
ZXhjbHVkZTsKCWZvcihteSAkaSA9ICQjJHJlZjsgJGkgPj0gMDsgJGktLSkg
ewoJCSNMb2coImNoZWNraW5nICRyZWYtPlskaV1bMF0gZm9yICRleGNsdWRl
Iik7CgkJaWYgKCRleGNsdWRlIGFuZCAkcmVmLT5bJGldWzBdID1+ICRleGNs
dWRlKSB7CgkJCW5leHQ7CgkJfQoJCWlmKCRmaW5kKSB7CgkJCW5leHQgdW5s
ZXNzICRyZWYtPlskaV1bMF0gPX4gLyRmaW5kLzsKCQl9CgkJKCRocmVmLCAk
Y2dpKSA9IEB7JHJlZi0+WyRpXX07CgkJbGFzdDsKCX0KCXJldHVybiAkVGFn
LT5hcmVhKCRkZWZhdWx0IHx8ICRDb25maWctPntTcGVjaWFsUGFnZX17Y2F0
YWxvZ30pCgkJaWYgISAkaHJlZjsKCW15ICRmb3JtID0gJyc7Cglmb3IoZ3Jl
cCAhJHZhcl9leGNsdWRleyRffSwga2V5cyAlJGNnaSkgewoJCSRmb3JtIC49
ICJcbiRfPSI7CgkJJGZvcm0gLj0gam9pbigiXG4kXz0iLCBzcGxpdCAvXDAv
LCAkY2dpLT57JF99KTsKCX0KCXJldHVybiAkVGFnLT5hcmVhKCB7IGhyZWYg
PT4gJGhyZWYsIGZvcm0gPT4gJGZvcm19ICk7Cn0KRU9SCgpXcml0ZVBlcm1p
c3Npb24gZ3JvdXAKCiMgSGVyZSB5b3UgY2FuIHNldCB1cCBmYXRhbCBlcnJv
cnMgaWYgYSBuZWNlc3Nhcnkgc3ViIG9yIHVzZXJ0YWcKIyBkb2Vzbid0IGV4
aXN0LCB1bmNvbW1lbnQgb25lIG9mIG5leHQgbGluZXMgdG8gdGVzdAojCiNS
ZXF1aXJlIGdsb2JhbHN1YiAgIG5ldmFpcmJlCiNSZXF1aXJlIHVzZXJ0YWcg
ICBuZXZhaXJiZQoKUmVxdWlyZSB1c2VydGFnICAgZW1haWwKUmVxdWlyZSB1
c2VydGFnICAgZW1haWxfcmF3ClJlcXVpcmUgdXNlcnRhZyAgIHZhcgpSZXF1
aXJlIHVzZXJ0YWcgICBsb2MKUmVxdWlyZSB1c2VydGFnICAgc3VtbWFyeQpS
ZXF1aXJlIHVzZXJ0YWcgICBidXR0b24K
------=_NextPart_000_6790_4f72_7480--
From: interchange-users at lists.akopia.com (John Beima)
Date: Sun Jun 3 16:56:49 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Ummm did you restart the server after running makecat, and did you let makecat
add the new catalogs to the interchange.cfg file???
Quoting Phil Morden <nedrom@hotmail.com>:
> I've installed Interchange on via RPM. The demo catalog "construct"
> works
> fine. When I create my own catalog via makecat, when I go to the Admin
> or
> Customer I get this: Undefined catalog: /cgi-bin/xxxx
>
> Does any have any ideas?
>
> Thanks.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
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 lists.akopia.com (John Beima)
Date: Sun Jun 3 16:59:00 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
No... When Interchange is not running you get a server not available or busy
error, not an underfined catalog error... You need to bone up on the errors...
Quoting jfeingold <jfeingold@machinerunner.com>:
> check the logs and processes to see if interchange is actually
> started. my guess is that its not running. starting it from the
> etc/rc.d usually works for me. jason@machinerunner.com
>
>
> ---------- Original Message ----------------------------------
> From: "Phil Morden" <nedrom@hotmail.com>
> Reply-To: interchange-users@developer.akopia.com
> Date: Sun, 03 Jun 2001 17:10:23
>
> >I've installed Interchange on via RPM. The demo
> catalog "construct" works
> >fine. When I create my own catalog via makecat, when I go to the
> Admin or
> >Customer I get this: Undefined catalog: /cgi-bin/xxxx
> >
> >Does any have any ideas?
> >
> >Thanks.
> >__________________________________________________________________
> _______
> >Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Sun Jun 3 17:05:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Did all of that. Restarted and the catalog is listed in the interchange.cfg
file
Ummm did you restart the server after running makecat, and did you let
makecat
add the new catalogs to the interchange.cfg file???
Quoting Phil Morden <nedrom@hotmail.com>:
> I've installed Interchange on via RPM. The demo catalog "construct"
> works
> fine. When I create my own catalog via makecat, when I go to the Admin
> or
> Customer I get this: Undefined catalog: /cgi-bin/xxxx
>
> Does any have any ideas?
>
> Thanks.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Sun Jun 3 17:11:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Iam trying to run with MySQL. Which packages should I check for version
#'s.
Hi,
If you're running IC with MySQL, make sure that you're running the
correct version of both the database engine as well as the drivers, and
that nothing conflicts with the DBD modules (this happens now and then).
I have had this error, even though the Install did not report anything
strange (even creating the Db went OK), but eventually the DBD module was
not the correct version, and it could not be upgraded since a newer
version would conflict with another application.
Regards
Guy Soudant
> ---------- Original Message ----------------------------------
> From: "Phil Morden" <nedrom@hotmail.com>
> Reply-To: interchange-users@developer.akopia.com
> Date: Sun, 03 Jun 2001 17:10:23
>
> >I've installed Interchange on via RPM. The demo
> catalog "construct" works
> >fine. When I create my own catalog via makecat, when I go to the
> Admin or
> >Customer I get this: Undefined catalog: /cgi-bin/xxxx
> >
> >Does any have any ideas?
> >
> >Thanks.
> >__________________________________________________________________
> _______
> >Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________________________________
> __
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (John Beima)
Date: Sun Jun 3 17:13:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Then it is simply the name of the vlink script and the name of the catalog in
the interchange.cfg file don't match... That is the ONLY cause of this error...
Quoting Phil Morden <nedrom@hotmail.com>:
>
>
>
> Did all of that. Restarted and the catalog is listed in the
> interchange.cfg
> file
>
>
> Ummm did you restart the server after running makecat, and did you let
> makecat
> add the new catalogs to the interchange.cfg file???
>
>
> Quoting Phil Morden <nedrom@hotmail.com>:
>
> > I've installed Interchange on via RPM. The demo catalog "construct"
> > works
> > fine. When I create my own catalog via makecat, when I go to the
> Admin
> > or
> > Customer I get this: Undefined catalog: /cgi-bin/xxxx
> >
> > Does any have any ideas?
> >
> > Thanks.
> >
> _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (John Beima)
Date: Sun Jun 3 17:15:01 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Also I am assuming that the catalog is actually loading when Interchange starts
up... As long as it is actually loading the catalog, then it is the name of the
vlink script...
Quoting Phil Morden <nedrom@hotmail.com>:
>
>
>
> Did all of that. Restarted and the catalog is listed in the
> interchange.cfg
> file
>
>
> Ummm did you restart the server after running makecat, and did you let
> makecat
> add the new catalogs to the interchange.cfg file???
>
>
> Quoting Phil Morden <nedrom@hotmail.com>:
>
> > I've installed Interchange on via RPM. The demo catalog "construct"
> > works
> > fine. When I create my own catalog via makecat, when I go to the
> Admin
> > or
> > Customer I get this: Undefined catalog: /cgi-bin/xxxx
> >
> > Does any have any ideas?
> >
> > Thanks.
> >
> _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Sun Jun 3 17:16:53 2001
Subject: [ic] 4.7.x SSL domain problem...
On Sun, Jun 03, 2001 at 02:43:17PM -0600, John Beima wrote:
> G'Day Folks,
>
> I have a little one some of you folks might find chalanging...
>
> With 4.0x and 4.6.x crossing domains for SSL seemed to work fine, via posting
> forms...
>
> However with 4.7.x you loose your session entirely...
>
> Just a little background...
>
> Catalog URL: www.store.com
> SSL URL: secure.isp.com
>
> Since the domains are changing, when you enter the secure pages Interchange is
> issuing a new session number, as opposed to parsing it from the URL. It basicly
> is looking it up in the stored cookie instead of the cgi url... Which of course
> when you are at the new domain you can't read cookies out on by the old domain.
>
> I have tried:
>
> #01:
>
> CookieDomain .store.com
>
> #2:
>
> CookieDomain .store.com .isp.com
>
> #3:
>
> CookieDomain .store.com
> CookieDomain .isp.com
>
> #4:
>
> Cookies No
>
> All in the after.cfg file... None of the above works...
>
> Any ideas???
You should not be able to use cookies cross domain. Put the
sessionID in your form. Or just buy a cert for your domain.
>
>
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (John Beima)
Date: Sun Jun 3 17:20:00 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
Hold on a second, give this error, you may have other problems... I just quickly
scanned your catalog.cfg file and don't see anything wong...
You may wish to quickly check permissions... Make sure the Interchange user can
access the catalog directory and has the proper read/write permissions... It may
just not be able to read and write to the catalog directory giving you that
config error...
Quoting Phil Morden <nedrom@hotmail.com>:
> Here is a copy of the catalog.cfg file
>
> Can you post a copy of your catalog.cfg? We might be able to track the
> problem down from there....
>
> Matt
> On 03 Jun 2001 20:21:48 +0000, Phil Morden wrote:
> > In the error log I get
> >
> > Interchange: ^Gxxxx: error in configuration. Skipping.
> >
> >
> > Not to descriptive. I just followed the "makecat" questions, nothing
> was
> > out of the ordinary. I have just a standard RH 7 system.
> >
> >
> > check the logs and processes to see if interchange is actually
> > started. my guess is that its not running. starting it from the
> > etc/rc.d usually works for me. jason@machinerunner.com
> >
> >
> > ---------- Original Message ----------------------------------
> > From: "Phil Morden" <nedrom@hotmail.com>
> > Reply-To: interchange-users@developer.akopia.com
> > Date: Sun, 03 Jun 2001 17:10:23
> >
> > >I've installed Interchange on via RPM. The demo
> > catalog "construct" works
> > >fine. When I create my own catalog via makecat, when I go to the
> > Admin or
> > >Customer I get this: Undefined catalog: /cgi-bin/xxxx
> > >
> > >Does any have any ideas?
> > >
> > >Thanks.
> > >__________________________________________________________________
> > _______
> > >Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com.
> > >
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
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 lists.akopia.com (John Beima)
Date: Sun Jun 3 17:27:00 2001
Subject: [ic] 4.7.x SSL domain problem...
Yes I know... The problem is the 4.7.x has the correct session numbers in the
urls, but the recieving page is ignoring them.
The basket and checkpages in the new version no longer have the forms in them,
they seem to be using paste in components... I have yet to find the code fix
these or I would just fix them...
I like the new foundation store front. Yes it still needs to be tailored, but it
is a nice starting point... I am hoping I wont have to re-write a checkout
system that wont allow more than one domain...
> You should not be able to use cookies cross domain. Put the
> sessionID in your form. Or just buy a cert for your domain.
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
>
> Christopher F. Miller, Publisher
> cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME
> 04039
> 1.207.657.5078
> http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian
> linux
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
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 lists.akopia.com (Thore Karlsen)
Date: Sun Jun 3 17:44:00 2001
Subject: [ic] Cookie expires prematurely
I've set CookieLogin to yes and SaveExpire to 30 days, but the cookie still
expires after somewhat over an hour or two. I set mv_cookie_password to yes,
and the user does get logged in automatically if he doesn't wait too long.
Any reason why the cookie shouldn't last the 30 days I tell it to last?
--
Be seeing you.
From: interchange-users at lists.akopia.com (John Beima)
Date: Sun Jun 3 17:48:00 2001
Subject: [ic] 4.7.x SSL domain problem...
Actually you want to know an even funnier one Chris...
If you are logged in, it will rember all yoru suer information... So the
checkout basket is all filled out for you... It just looses your basket
content...
John
Quoting John Beima <jbeima@palb.com>:
> Yes I know... The problem is the 4.7.x has the correct session numbers
> in the
> urls, but the recieving page is ignoring them.
>
> The basket and checkpages in the new version no longer have the forms in
> them,
> they seem to be using paste in components... I have yet to find the code
> fix
> these or I would just fix them...
>
> I like the new foundation store front. Yes it still needs to be
> tailored, but it
> is a nice starting point... I am hoping I wont have to re-write a
> checkout
> system that wont allow more than one domain...
>
>
> > You should not be able to use cookies cross domain. Put the
> > sessionID in your form. Or just buy a cert for your domain.
>
>
>
> > > 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@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > --
> >
> > Christopher F. Miller, Publisher
> > cfm@maine.com
> > MaineStreet Communications, Inc 208 Portland Road, Gray, ME
> > 04039
> > 1.207.657.5078
> > http://www.maine.com/
> > Content management, electronic commerce, internet integration, Debian
> > linux
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Sun Jun 3 17:52:00 2001
Subject: [ic] Undefined catalog: /cgi-bin/xxxxx
The owner of the catalog directory is "interch" and has RW to it. The
permissions to my catalog looks the same as the "construct" catalog, which
works.
Hold on a second, give this error, you may have other problems... I just
quickly
scanned your catalog.cfg file and don't see anything wong...
You may wish to quickly check permissions... Make sure the Interchange user
can
access the catalog directory and has the proper read/write permissions... It
may
just not be able to read and write to the catalog directory giving you that
config error...
Quoting Phil Morden <nedrom@hotmail.com>:
> Here is a copy of the catalog.cfg file
>
> Can you post a copy of your catalog.cfg? We might be able to track the
> problem down from there....
>
> Matt
> On 03 Jun 2001 20:21:48 +0000, Phil Morden wrote:
> > In the error log I get
> >
> > Interchange: ^Gxxxx: error in configuration. Skipping.
> >
> >
> > Not to descriptive. I just followed the "makecat" questions, nothing
> was
> > out of the ordinary. I have just a standard RH 7 system.
> >
> >
> > check the logs and processes to see if interchange is actually
> > started. my guess is that its not running. starting it from the
> > etc/rc.d usually works for me. jason@machinerunner.com
> >
> >
> > ---------- Original Message ----------------------------------
> > From: "Phil Morden" <nedrom@hotmail.com>
> > Reply-To: interchange-users@developer.akopia.com
> > Date: Sun, 03 Jun 2001 17:10:23
> >
> > >I've installed Interchange on via RPM. The demo
> > catalog "construct" works
> > >fine. When I create my own catalog via makecat, when I go to the
> > Admin or
> > >Customer I get this: Undefined catalog: /cgi-bin/xxxx
> > >
> > >Does any have any ideas?
> > >
> > >Thanks.
> > >__________________________________________________________________
> > _______
> > >Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com.
> > >
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Carlc Internet Services)
Date: Sun Jun 3 23:13:00 2001
Subject: [ic] 4.04a pricing (multi dimensions) question.
Were still using good ol 4.04a version of Interchange/Minivend. We've hit a
new and interesting problem. We have a customer who wants to sell products
based on sizes in 2 dimension (Width/Length). So, a SKU number would have
2 adjusts to it (A Width and a Length). But the fun part is the amount it
grows is not a linear (example add $1 per foot in any direction) function.
Anyone have a idea or suggestion as to how to handle this? Is it possible
in 4.04a to call a separate database for pricing that can be searched
on using a Width/Length call? Ideally, I would have the SKU number with
a price of $0.00 then go to database "sku-number" and look up the price
from there. Any examples on how to set this up would be great/amazing.
Thanks in advance,
Carl Couric
http://www.carlc.com/
From: interchange-users at lists.akopia.com (Nigel Titley <nigel.titley>)
Date: Mon Jun 4 06:38:01 2001
Subject: [ic] WorldPay Integration
Stephane Audit wrote:
> Hi there list.
>
> I was wondering if anyone ever integrated WorldPay (http://www.worldpay.com)
> services into interchange.
I'm in the process of trying to do this. It looks like it should be possible
without too much trouble. Unfortunately I'm flat on my back at the moment and
can't find room on the sofa for the laptop, the Worldpay manual and the
half-dozen Interchange manuals at the same time.
>
>
> There are also a few questions I'd appreciate if someone could answer:
>
> Background:
>
> WorldPay requires the checkout page to send a POST request containing a few
> variables (and optionnaly some information). Then it will use the specified
> callback (cgi script I suppose) and send back the user variables and the
> transaction confirmation/refusal.
>
> First is it possible to communicate with interchange to accept the
> transaction after a succesfull credit card verification. I know the usual
> way is a build-in function but this is not a server that one communicates
> with. They actually host the credit card input and results pages.
>
> Also, if there's a way, where should I look?
>
> Finally, by doing that am I saying goodbye to interchanges order processing
> (admin UI)?
>
I think all of this should be possible. Perhaps we can pool ideas and then make
our findings available.
>
> Thank you very much.
>
> Jean-Pierre Parent
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Steven Morrison)
Date: Mon Jun 4 08:07:01 2001
Subject: [ic] Is this a known issue/bug? Problems removing items from cart.
Hello group,
I am having some problems with my templates. It seems I cannot remove items
from my cart if there is more than one item there. If I attempt to remove
an item except for the first one (quantity0) it does not do so. If I
attempt to remove the first item, I am left with two errors, one right after
the other:
64.X.XXX.XXX ktcKC7Ka:64.X.XXX.XXX - [04/June/2001:11:54:53 +0000] cartname
/cgi-bin/tlink/process.html Difficulty interacting with browser: Variable ''
not passed from form
>
64.X.XXX.XXX ktcKC7Ka:64.X.XXX.XXX - [04/June/2001:11:54:54 +0000] cartname
/cgi-bin/tlink/process.html Difficulty interacting with browser: quantities
Here is what I am posting to IC:
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
<INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_checkout VALUE="ord/checkout">
<INPUT TYPE=hidden NAME=mv_orderpage VALUE=index>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket>
..and the remove item checkbox...
<INPUT TYPE=checkbox NAME="[quantity-name]"
onClick="this.form.action='[process-target]',
this.form.submit()"
VALUE=0>
I even tried making a dummy page with nothing but:
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
<INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_checkout VALUE="ord/checkout">
<INPUT TYPE=hidden NAME=mv_orderpage VALUE=index>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket>
<INPUT TYPE=hidden NAME="quantity0" VALUE=0>
<input type="submit" name="Work Damn You" value="OK">
</FORM>
...with exactly the same results, with every [quantity-name].
However, if I remove ALL items using this snippet of code, it works.
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
<INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_checkout VALUE="ord/checkout">
<INPUT TYPE=hidden NAME=mv_orderpage VALUE=index>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket>
[item-list]
<input type=hidden name="[quantity-name]" value=0>
[/item-list]
</FORM>
I am adding the items initially to the cart with:
<A HREF="[area form="
mv_order_item=[loop-code]
mv_order_quantity=4
mv_todo=refresh"]">Add to cart</a>
It will remove all items with no problem. Please give me a hand, I've been
banging my head against a wall for a while now. A scan of the mailing list
archives shows many others with similar issues, but no clear resolution. I'm
using Interchange 4.6.1, and can duplicate this across any browser.
Thanks folks!
From: interchange-users at lists.akopia.com (Murray Gibbins)
Date: Mon Jun 4 09:13:00 2001
Subject: [ic] Is this a known issue/bug? Problems removing items from cart.
Steven Morrison wrote:
>
> Hello group,
>
> I am having some problems with my templates. It seems I cannot remove items
> from my cart if there is more than one item there. If I attempt to remove
> an item except for the first one (quantity0) it does not do so. If I
> attempt to remove the first item, I am left with two errors, one right after
> the other:
>
ok relax I have done a lot of stuff manipulating the Cart while constructing
malls. Here is a complete example of code that among other things remove item
from the cart.
[perl]
# ok lets get the carts we are going to run over
my $carts = $CGI->{'carts'};
my @carts;
if($carts =~ /_/g){
@carts = split("_",$carts);
}
else{
push @carts,$carts;
}
foreach my $cart (@carts){
if(! exists $Carts->{$cart}){
next;
}
#log
#$Tag->log({file=>"/tmp/kil.log"}, "Cart = ".$cart);
my @remove_numbers ;
# the numbers that are attached to the
# cart name.
# it is likely that the numbers will be
# letters so we don't get confused
# with the quanities.
# These numbers will relate to the
# 'mv_ip' numbers
# i.e. cameronsquare.a_qw_s
#
my $numbers = $CGI->{$cart.".numbers"};
my @numbers = split("_",$numbers);
$numbers-- ;
foreach my $num (0 .. $numbers){
# defines the quanitiy of
# product.
my $quan_name = $cart.".quantity".$num;
my $quantity = $CGI->{$quan_name};
#$Tag->log({file=>"/tmp/kil.log"}, "$quan_name = ".$quantity);
#if(!$quantity){
#$Tag->log({file=>"/tmp/kil.log"}, "Oh, zerio quantity");
#}
if(($quantity) && (exists $Carts->{$cart})){
#$Tag->log({file=>"/tmp/kil.log"}, "Cart ref =
".$Carts->{$cart}[$num]);
$Carts->{$cart}[$num]{'quantity'} = $quantity;
#$Tag->log({file=>"/tmp/kil.log"}, "Cart ref2 =
".$Carts->{$cart}[$num]);
#next;
}
if(!$quantity){
# add this number to the list
# we will remve it later
push @remove_numbers,$num;
}
}
# now lets remove some of the products
foreach my $rm (@remove_numbers){
splice @{$Carts->{$cart}},$rm,1;
$CGI->{$cart.".numbers"} -= 1;
}
my $item_num = @{$Carts->{$cart}} ;
# if the cart has no items them remove the cart
if(! $item_num){
delete $Carts->{$cart};
# now we have to adjust the cart-loop and cart-dash scratch variables
my @new_carts;
foreach my $cart_loop (split(/\s/,$Scratch->{"cart-loop"})){
if($cart_loop ne $cart){
push @new_carts,$cart_loop;
}
}
my ($new_string,$dash_carts) ;
if (scalar(@new_carts) > 1){
$new_string = join(" ",@new_carts);
$dash_carts = join("_",@new_carts);
}
else{
$new_string = shift @new_carts ;
$dash_carts = $new_string ;
}
$Tag->set("cart-loop", $new_string);
$Tag->set("cart-dash", $dash_carts);
# now deal with mv_muzz_routes
my @new_routes;
foreach my $cart_loop (split(/\s/,$Scratch->{"mv_muzz_routes"})){
if($cart_loop ne $cart){
push @new_routes,$cart_loop;
}
}
$Tag->set("mv_muzz_routes", join(" ",@new_routes));
}
#$Tag->log({file=>"/tmp/kil.log"}, "Cart items = ".$item_num);
}
# ok now we have loop throught all the carts
# we want to ajust the values of mv_ip
# in each of the carts. The reason being.
# in removing the products from the arts that have
# a zero quantity we may have upset the
# ordering of the cart information.
foreach my $cart (@carts){
if(! exists $Carts->{$cart}){
next;
}
my $count = 0;
foreach $prod (@{$Carts->{$cart}}){
$prod{mv_ip} = $count ;
$count++ ;
}
}
return ;
[/perl]
it has worked for me from 4.0.4 to 4.6.1
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interchange-users at lists.akopia.com (Dan McFarland)
Date: Mon Jun 4 10:07:00 2001
Subject: [ic] SSL Errors
When a user goes to the secure pages, the images appear as broken links.
What can I do to correct this?
Thanks!
Dan
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Mon Jun 4 10:22:01 2001
Subject: [ic] How do I do authorize.net setup for 4.6.5
I been using interchange in a development environment for about 6 months and am finally
ready to put it into production use. I've read thru the docs some but
can't seem to find a simple outline of how to setup payment by CC thru
authorize.net. I have my account with them now open but need a little
direction.
Any help from anyone with experience with this would be appreciated.
Thanks,
Robert
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Mon Jun 4 11:05:00 2001
Subject: [ic] How do I do authorize.net setup for 4.6.5
I've setup the authorizenet module as described in the docs. This is
what I added:
include globalsub/authorizenet --> to interchange.cfg
and the Variables for Authorize.net to the catalog.cfg file.
But this is what I get back when restarting the interchange server:
unknown directive 'include'
in line 1 of the configuration file 'interchange.cfg'
globalsub/authorizenet
Please help as I'm new to this part of interchange and am under a
deadline.
Thanks,
Robert
On 04 Jun 2001 09:50:43 -0500, Robert Trembath wrote:
>
> I been using interchange in a development environment for about 6 months and am finally
> ready to put it into production use. I've read thru the docs some but
> can't seem to find a simple outline of how to setup payment by CC thru
> authorize.net. I have my account with them now open but need a little
> direction.
>
> Any help from anyone with experience with this would be appreciated.
>
> Thanks,
> Robert
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Mon Jun 4 11:52:00 2001
Subject: [ic] Country Codes
At 09:42 PM 06/01/2001 -0700, you wrote:
>Tonight I received an email from a customer saying that their country code
>was not 'XS' (They are from Serbia-Montenegro) and Yugoslavia was in fact
>their country. The reports all show the country code as 'XS' and I can see
>that 'XS' is what is mapped in the country.txt file. My question, is there
>a global way to show [value country] to be the actual country instead of the
>code or do I need to use a [data] tag with the [value country] as a
>parameter to display the correct value? Thanks!
>
>-Ron
>
To display the proper name of the country, you'll need to use:
[data base=country field=name key="[value country]"]
- 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 lists.akopia.com (Ed LaFrance)
Date: Mon Jun 4 11:59:00 2001
Subject: [ic] Image inputs cant submit =/
At 03:03 PM 06/02/2001 -0400, you wrote:
>Hello everyone,
>
>I was wondering if anyone know how to make image type input form fields
>work as submit buttons. I had bad experiences with those and I see on the
>mailing list that people have had problems with them too? Is there a way to
>make them work? Does anyone know if its an HTML/IC limitation? Would
>modifying the code make it work? Any thoughts where?
>
Unfortunately, to do some of the things that IC needs to do with
multi-action forms like basket and checkout, Javascript has to be used to
squeeze some functionality into the rather crippled image input. The
usertag [button...] which is distributed with IC makes this a little easier
- it is used on the basket pages of the construct and foundation demos.
- 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 lists.akopia.com (Ed LaFrance)
Date: Mon Jun 4 12:06:00 2001
Subject: [ic] Modification in file CART = input field
At 07:24 PM 06/02/2001 -0300, you wrote:
>Hi !
>
>In file "cart" (in ../templates/components)
>I need change the input field "[quantity-name]"
>for a list/menu (dropdown menu).
>
[snip]
>I already tried to change for:
>
><input type=hidden name="[quantity-name]" value="[item-quantity]">
><select name="[item-quantity]">
><option value="2">Payment Bimonthly</option>
><option value="3">Payment Quarterly</option>
></select>
>
>But that didn't work.
>
>Someone can help me, one more time, please ?
>
Your select widget is set up improperly, and the hidden input is
redundant. You need something like:
<select name="[quantity-name]">
<option value="1" [calc]return 'SELECTED' if [item-quantity] = 1;
return;[/calc]> Payment Monthly
<option value="2" [calc]return 'SELECTED' if [item-quantity] = 2;
return;[/calc]> Payment Bimonthly
<option value="3" [calc]return 'SELECTED' if [item-quantity] = 3;
return;[/calc]> Payment Quarterly
</select>
- 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 lists.akopia.com (Ed LaFrance)
Date: Mon Jun 4 12:13:00 2001
Subject: [ic] Auto Restart when IC server is down
At 12:45 PM 06/03/2001 -0400, you wrote:
>I'd like to modify the code (ic 4.7.6) in the cgi link file so that if the
>ic server is down it will restart automatically rather than just presenting
>a message. It goes down at least once a week when my provider does backup or
>something. I tried opening it in my text editor but was just scrambled. Any
>way to easily modify this without a C compiler on my local machine (Mac OS
>8.6) Can it be done through telnet with unix commands? If so please advise,
>thanks. (I'm OK on basic stuff but not a unix wizard)
>
You can write a little shell script like this,
#!/bin/sh
var=`ps ux | grep interchange | grep -v -c grep`
if [ $var -eq 0 ]; then
/command/to/start/interchange -options
fi
...and then call it every 5 minutes with a crontab:
1,5,10,15,20,25,30,35,40,45,50,55 * * * * /dir/./myscript >>cron.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 lists.akopia.com (Jason Kohles)
Date: Mon Jun 4 12:15:00 2001
Subject: [ic] How do I do authorize.net setup for 4.6.5
On Mon, Jun 04, 2001 at 10:33:57AM -0500, Robert Trembath wrote:
> I've setup the authorizenet module as described in the docs. This is
> what I added:
>
> include globalsub/authorizenet --> to interchange.cfg
> But this is what I get back when restarting the interchange server:
>
> unknown directive 'include'
The # in #include is not a comment, you need to leave it there.
#include globalsub/authorizenet
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (josh)
Date: Mon Jun 4 12:32:01 2001
Subject: [ic] Error log
I tried printing to STDERR, STDOUT and using ::log, ::logError, ::logDebug
and looked for the output in /usr/lib/interchange/error.log,
/var/lib/interchange/MyCatName/error.log, /tmp/icdebug AND
/var/log/interchange/error.log
I have this in interchange.cfg...
#Uncomment to log to debug file /tmp/icdebug
Variable DEBUG 1
#ifdef @DEBUG
Message Sending debug to /tmp/icdebug.
DebugFile /tmp/icdebug
GlobalSub sub test_global_sub { return 'Test of global subroutine OK.' }
Variable TEST_VARIABLE Test of global variable OK.
#endif
and I am getting nothing I can see anywhere, not on the consoles,
not after a server reboot, interchange reboot, anything.
The only thing in /tmp/icdebug is line after line like this...
Start DEBUG at Mon Jun 4 11:44:44 2001
Thank you all,
-Josh Narins
From: interchange-users at lists.akopia.com (John Beima)
Date: Mon Jun 4 12:51:01 2001
Subject: [ic] SSL Errors
This has an easy little work around...
Change your IMAGE_DIR variable from /images to /site/images then make a syn link
from your SSL server to the base HTML directory called site... Then make a
sub-directory in your base html directory called site. Then go into the site
sub-directory and make a sym link tothe images directory from there...
Wa La...
Quoting Dan McFarland <dan@mailturtle.com>:
> When a user goes to the secure pages, the images appear as broken links.
> What can I do to correct this?
>
> Thanks!
>
> Dan
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Matt Flaherty)
Date: Mon Jun 4 12:57:01 2001
Subject: [ic] How to use 'if' to compare item-field inside an item-list?
Hi list,
Can anyone help me. I'm confused about the 'if' tag. I want to modify the
receipt.html page to allow for provisioning of subscription services,
something different to soft downloads. I tried it like below, but the listed
item doesn't pass my test. I looked at the documentation on the 'if' tag,
and it doesn't list item-field as a type, but then I can't seem to figure
out what would be the right type in this case (value doesn't work). All the
examples I've seen only seem to test that a value is not empty, which is not
what I want here. The tag [item-field dl_type] does return the correct
value, by the way. Please, I'm wracking my brain to pieces!
------------------------------^snip------------------------------
[item-list]
[if-item-field download]
[if !value fax_order]
[if item-field dl_type =~ /^serv/i]
[comment]This is a provisioned service[/comment]
This is a provisioned service.
[elsif item-field dl_type =~ /^soft/i]
[comment]This is a soft goods download[/comment]
This is a soft goods download.
[set download_present]1[/set]
[userdb
function=set_file_acl
mode="expire 7 days"
location="[either][item-field
dl_location][or][item-code][/either
]"
]
[/elsif]
[else]
[comment]Unknown type[/comment]
Unknown type: [item-field dl_type]
[/else]
[/if]
[/if]
[/if-item-field]
[/item-list]
------------------------------^snip------------------------------
Thanks
-Matt
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Mon Jun 4 13:35:00 2001
Subject: [ic] =?ISO-8859-1?B?T3B0aW9ucyBmb3IgYSBwcm9kdWN0IGRvbrR0IHdvcms=?=
Hi !
I'm again with more doubts. :)
Of this time it's in relationship the options
for a product.
I have a product that costs X, and I need to
include more two options.
Like:
Its normal price is 25.00, but if the buyer
increases, for example, the red color, its
price increases 4.00.
If the buyer increases the blue color, its
price it increases 5.00.
I tried to do that through the section
Options (in the edition of the product).
There has four options:
1) No Options
2) Simple Options
3) Matrix Options
4) Modular Options
The option that I thought the correct is
Matrix.
In ADD VARIANT, I added the options (blue and red color)
and I gave a different price.
But when that appears in the description of the product,
the values don't work: that difference is not added
(increase).
Someone can help me, please ?
Thanks !
::: Samir G. Barak :::::::::::::::::::::::::
From: interchange-users at lists.akopia.com (John Beima)
Date: Mon Jun 4 14:00:01 2001
Subject: [ic] Options for a pro=?ISO-8859-1?Q?duct_don=B4t_work?=
If you go to the FTP site and download version 4.04a and untar it, the
documentaion in it has an excelent section on product pricing and discounts...
What you are trying to do is totally explained in there...
However I couldn't find it in the new docs... Sorry...
John
Quoting "Samir G. Barak" <samir@tecnohost.com.br>:
>
> Hi !
>
> I'm again with more doubts. :)
> Of this time it's in relationship the options
> for a product.
> I have a product that costs X, and I need to
> include more two options.
>
> Like:
>
> Its normal price is 25.00, but if the buyer
> increases, for example, the red color, its
> price increases 4.00.
> If the buyer increases the blue color, its
> price it increases 5.00.
>
> I tried to do that through the section
> Options (in the edition of the product).
>
> There has four options:
>
> 1) No Options
> 2) Simple Options
> 3) Matrix Options
> 4) Modular Options
>
> The option that I thought the correct is
> Matrix.
>
> In ADD VARIANT, I added the options (blue and red color)
> and I gave a different price.
> But when that appears in the description of the product,
> the values don't work: that difference is not added
> (increase).
>
> Someone can help me, please ?
>
> Thanks !
>
> ::: Samir G. Barak :::::::::::::::::::::::::
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Mon Jun 4 14:05:00 2001
Subject: [ic] How to use 'if' to compare item-field inside an item-list?
On Mon, Jun 04, 2001 at 06:01:47PM +0100, Matt Flaherty wrote:
> Hi list,
>
> Can anyone help me. I'm confused about the 'if' tag. I want to modify the
> receipt.html page to allow for provisioning of subscription services,
> something different to soft downloads. I tried it like below, but the listed
> item doesn't pass my test. I looked at the documentation on the 'if' tag,
> and it doesn't list item-field as a type, but then I can't seem to figure
> out what would be the right type in this case (value doesn't work). All the
> examples I've seen only seem to test that a value is not empty, which is not
> what I want here. The tag [item-field dl_type] does return the correct
> value, by the way. Please, I'm wracking my brain to pieces!
>
Use [if-item-field dl_type] instead of [if item-field dl_type], that extra
dash is important.
> ------------------------------^snip------------------------------
> [item-list]
> [if-item-field download]
> [if !value fax_order]
> [if item-field dl_type =~ /^serv/i]
> [comment]This is a provisioned service[/comment]
> This is a provisioned service.
> [elsif item-field dl_type =~ /^soft/i]
> [comment]This is a soft goods download[/comment]
> This is a soft goods download.
> [set download_present]1[/set]
> [userdb
> function=set_file_acl
> mode="expire 7 days"
> location="[either][item-field
> dl_location][or][item-code][/either
> ]"
> ]
> [/elsif]
> [else]
> [comment]Unknown type[/comment]
> Unknown type: [item-field dl_type]
> [/else]
> [/if]
> [/if]
> [/if-item-field]
> [/item-list]
> ------------------------------^snip------------------------------
>
> Thanks
> -Matt
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Mon Jun 4 14:13:01 2001
Subject: [ic] Error log
On Mon, Jun 04, 2001 at 05:40:15PM +0000, josh wrote:
> I tried printing to STDERR, STDOUT and using ::log, ::logError, ::logDebug
> and looked for the output in /usr/lib/interchange/error.log,
> /var/lib/interchange/MyCatName/error.log, /tmp/icdebug AND
> /var/log/interchange/error.log
>
If you used logDebug and still didn't see anything, my first guess would
be that the code you are logging from is not getting called, prehaps it
is inside an [if] that is preventing it from being accessed?
> I have this in interchange.cfg...
> #Uncomment to log to debug file /tmp/icdebug
> Variable DEBUG 1
> #ifdef @DEBUG
> Message Sending debug to /tmp/icdebug.
> DebugFile /tmp/icdebug
> GlobalSub sub test_global_sub { return 'Test of global subroutine OK.' }
> Variable TEST_VARIABLE Test of global variable OK.
> #endif
>
>
> and I am getting nothing I can see anywhere, not on the consoles,
> not after a server reboot, interchange reboot, anything.
>
> The only thing in /tmp/icdebug is line after line like this...
>
> Start DEBUG at Mon Jun 4 11:44:44 2001
>
> Thank you all,
>
> -Josh Narins
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Richard Eicher II)
Date: Mon Jun 4 15:05:00 2001
Subject: [ic] no images
Hello all,
After installing on redhat 7.1, no images show up
on the construct demo site. There are no images
in the site or the back end admin area, just the
little boxes. I have changed the image dir
variable to everything I can think of and have
got nothing in return. Anyone have an idea even
if it is a bad one?
Thank you for your time,
Richard Eicher II
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Thomas N. Stefanidis)
Date: Mon Jun 4 15:49:01 2001
Subject: [ic] Any ISP that can host Interchane?
Hello,
Does anyone knows any ISPs (preferably in Europe,but USA will be ok)
that can host interchange?
I have a small shop i want to tranfer to another provider.
Thank you.
Thomas
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Mon Jun 4 15:51:01 2001
Subject: [ic] no images
Check to make sure there is a symlink called images in the
/var/lib/interchange/<your catalog> directory pointing to the images
directory at:
/var/www/html/<your catalog>/images
That should fix the problem.
Hope it helps,
Robert
On 04 Jun 2001 12:07:06 -0700, Richard Eicher II wrote:
> Hello all,
>
> After installing on redhat 7.1, no images show up
> on the construct demo site. There are no images
> in the site or the back end admin area, just the
> little boxes. I have changed the image dir
> variable to everything I can think of and have
> got nothing in return. Anyone have an idea even
> if it is a bad one?
>
> Thank you for your time,
> Richard Eicher II
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Mon Jun 4 15:53:00 2001
Subject: [ic] no images
Find the images directory on your server to see where it was installed. It
needs to be in public_html space or your browser can't display the images.
Also, make sure you have a symbolic link of the public_html images directory
in your user/catalogs/construct directory or they will not be linked to the
pages.
on 6/4/01 3:07 PM, Richard Eicher II at winward1@yahoo.com wrote:
> Hello all,
>
> After installing on redhat 7.1, no images show up
> on the construct demo site. There are no images
> in the site or the back end admin area, just the
> little boxes. I have changed the image dir
> variable to everything I can think of and have
> got nothing in return. Anyone have an idea even
> if it is a bad one?
>
> Thank you for your time,
> Richard Eicher II
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Mon Jun 4 15:57:00 2001
Subject: [ic] How do I do authorize.net setup for 4.6.5
Thanks Jason! That fixed the error, but how do I know its working with
authorize.net when the account is in test mode. I do know that I could
no longer use the test account 4111 1111 1111 1111 that I used to use.
It returns a invalid CC number error. I tried one of my own cards and it
went thru with no errors and generated a receipt, but it doen't show any
trace of a submittal at authorize.net.
Any input would be helpful.
Robert
On 04 Jun 2001 12:04:48 -0400, Jason Kohles wrote:
> On Mon, Jun 04, 2001 at 10:33:57AM -0500, Robert Trembath wrote:
> > I've setup the authorizenet module as described in the docs. This is
> > what I added:
> >
> > include globalsub/authorizenet --> to interchange.cfg
> > But this is what I get back when restarting the interchange server:
> >
> > unknown directive 'include'
>
> The # in #include is not a comment, you need to leave it there.
>
> #include globalsub/authorizenet
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Matthew Schumacher)
Date: Mon Jun 4 17:06:00 2001
Subject: [ic] Any ISP that can host Interchane?
I do interchange hosting and am in the progress of setting up a athalon 750
w/ perl5/ mysql/ 128mb ram / 10 gig drive bla bla bla and I think I can
arrange hosting of this nature for 25 a month. This is something new my
hosting company is exploring since we have a client now using interchange
for their shop. There will be multiple catalogs hosted on this server so if
you are interested let me know
Thanks
Matt
www.newvisionwebconcepts.com
641 592 1335
----- Original Message -----
From: "Thomas N. Stefanidis" <thomas@prometheas.gr>
To: "Interchange Mailing List" <interchange-users@developer.akopia.com>
Sent: Monday, June 04, 2001 2:50 PM
Subject: [ic] Any ISP that can host Interchane?
> Hello,
> Does anyone knows any ISPs (preferably in Europe,but USA will be ok)
> that can host interchange?
> I have a small shop i want to tranfer to another provider.
>
> Thank you.
>
> Thomas
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Richard Eicher II)
Date: Mon Jun 4 17:47:01 2001
Subject: [ic] no images
Saddly there is. But I still get nothing.
Rick Eicher II
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Dan B)
Date: Mon Jun 4 18:20:01 2001
Subject: [ic] slow mysql search
At 10:29 AM 6/3/2001 -0700, you wrote:
>I am using mysql and the database has 60,000 rows.
>Search on an indexed text field usually takes less
>than 3 seconds.
>But, occastionally, it takes over 25 seconds.
>
>I do not see memory swap on
>my machine when this slow search occurs.
>
>Does anyone know what could possibly cause this
>occasional slow search?
>
>thanks in advance,
>steve
This is better answered on one of Mysql's great lists. If you were so
inclined to post your schema, someone might be inclined to answer (probably
not me, sorry).
Otherwise, it could be a million reasons: the indexed row is a variable
length longer than the bytes in an index. Therefore a query that goes past
that byte length without finding the exact matching index will have to
examine every record instead of just finding the index. (i.e. WHERE lname
= "Supercalafragalistic" on a table where the index is only "......." bytes
long).
HTH,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (John Beima)
Date: Mon Jun 4 19:56:01 2001
Subject: [ic] Seperate SSL Server Problems...
This message is in MIME format.
---MOQ9916990724f008a827900bd9e60f47a50c3dda4d2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
G'Day Folks,
For those of you, who like us, use a dedicated SSL server for several site, need
to read on...
Basicly the problem at hand in when going back and forth between the two servers
Interchange can not access the cookie stored for the other, so the user data is
maintained, but the shopping cart contents is lost...
Here is the fix...
In your catalog.cfg file uncomment or add the following line:
AlwaysSecure order ord/checkout ord/basket login change_password process
Comment out or delete the following line:
AlwaysSecure ord/checkout login change_password
The second line you are deleting shoudl be located about 3 lines above the first
line you are keeping, if you have a stock catalog.cfg file from the foundation
template 4.7.3 or greater...
Next replace the results.html file in the pages directory with the one I have
included... Then everything will work just fine...
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
---MOQ9916990724f008a827900bd9e60f47a50c3dda4d2
Content-Type: text/html; name="results.html"; name="results.html"; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="results.html"
[comment]
ui_template: Yes
ui_template_name: leftright
[/comment]
[control reset=1]
[control-set]
[component]search_box_small[/component]
[/control-set]
[control-set]
[component]category_vertical[/component]
[/control-set]
[control-set]
[component][/component]
[/control-set]
[control-set]
[component][/component]
[/control-set]
[control-set]
[component]cross_horizontal[/component]
[size]2[/size]
[cols]2[/cols]
[banner]Also see...[/banner]
[/control-set]
[control-set]
[component]random[/component]
[size]3[/size]
[cols]1[/cols]
[banner]Specials[/banner]
[/control-set]
[control reset=1]
[set members_only]0[/set]
[set page_banner] [/set]
[set page_title]__COMPANY__ -- Search results[/set]
@_LEFTRIGHT_TOP_@
<!-- BEGIN CONTENT -->
<br>
[if scratch did_order]
[include file="templates/components/cart_display"]
[/if]
[set did_order][/set]
[search-region]
[set munge_quantity]
[calc]
$Scratch->{did_order} = 1;
@q = split /\0/, $CGI->{mv_order_quantity};
for (@q) {
next unless length $_;
$_ = "=$_";
}
@parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI};
# If we have parms, means an individual buy. If we don't
# we want to strip empty items
unless (@parms) {
@i = split "\0", $CGI->{mv_order_item};
for(my $i = 0; $i < @i; $i++) {
next if length($q[$i]);
$i[$i] = '';
}
@i = grep length($_), @i;
@q = grep length($_), @q;
$CGI_array->{mv_order_quantity} = \@q;
$CGI->{mv_order_quantity} = join "\0", @q;
$CGI_array->{mv_order_item} = \@i;
$CGI->{mv_order_item} = join "\0", @i;
return;
}
my $item = $parms[0];
$item =~ /(\d+)/ or return;
my $idx = $1;
$idx--;
$CGI->{mv_order_item} = $CGI->{$item};
$CGI->{mv_order_quantity} = "$q[$idx]";
return;
[/calc]
[bounce href="[history-scan exclude=nothing]"]
[/set]
[tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp]
[on-match]
[/on-match]
<table width="90%" border="0" cellspacing="0" cellpadding="3">
<tr class="contentbar2">
<td><b> Product</b></td>
<td align="center"><b>SKU</b></td>
<td align="center"><b>Stock</b></td>
<td align="center"><b>Price</b></td>
<td align="center"><b>Qty</b></td>
<td align="center"><b>Buy</b></td>
</tr>
<tr>
<td colspan="6"> </td>
</tr>
[search-list]
[item-change 1][condition][item-field category][/condition]
<tr class="contentbar1">
<td colspan="6"> [either][value banner_text][or][item-field category][/either]</td>
</tr>
[/item-change 1]
<tr valign="middle">
<td>
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME="mv_todo" VALUE="refresh">
<INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]">
<a href="[area [item-code]]">[item-description]</a>
</td>
<td align="center">[item-code]</td>
<td align="center">
[item-calc]
my $q = q{[item-data inventory quantity]};
if($q > 0) {
return <<EOF;
<font __FFACE__ size="1" color="#008000"><b>Y</b></font>
EOF
}
else {
return <<EOF;
<a href="[area stock-alert [item-code]]"><b>N</b></a>
EOF
}
[/item-calc]
</td>
<td align="center">[item-price]</td>
<td align="center"><input type=text name=mv_order_quantity size=2 value="1"></td>
<td align="center"><input type=image src="__THEME_IMG_DIR__buynow.gif" onClick="this.form.submit()"></td>
</tr>
</FORM>
[/search-list]
</table>
[no-match]
<BR><BR>
<BLOCKQUOTE>
Sorry, no matches for <B>[calc]
my $joiner = ' AND ';
$joiner = ' OR ' if
defined $Search->{''}->{mv_orsearch}[0]
and $Search->{''}->{mv_orsearch}[0];
my @str = grep /\D/, @{$Values->{mv_searchspec}};
return join $joiner, @str;
[/calc]
[if value mv_search_error]
<P>
<B>
Errors:
<BR>
[value-extended name=mv_search_error joiner="<BR>"]
</B>
[/if]
<BR><BR>
</BLOCKQUOTE>
[/no-match]
<BR CLEAR=LEFT>
[more-list]
<BLOCKQUOTE>
Matches [matches] of [match-count] found.
<BR>[more]<BR>
</BLOCKQUOTE>
[/more-list]
[/search-region]
<br>
<!-- END CONTENT -->
@_LEFTRIGHT_BOTTOM_@
---MOQ9916990724f008a827900bd9e60f47a50c3dda4d2--
From: interchange-users at lists.akopia.com (Andreas Lindenblatt)
Date: Mon Jun 4 20:05:01 2001
Subject: [ic] simple search question :)
Hi all,
I'm stalling at a really simple thing at the moment and simply can't
figure out what the heck I'm doing wrong (tearing the rest of my hair
and banging my head on the keyboard by now :( ).
IC V4.6.3 is running on a Mandrake7.2 using MySQL, the construct-demo is
doing fine, so I assume the setup in itself is correct.
I try to do a simple loop search ;-).
The page is called with a variable 'typ', its value is correct, and
'dummy' is also set to the correct value (tested by [scratch dummy] ).
What I want to get is data from all rows in 'products' containing the
'dummy' in the field 'subcategory_typ'.
The loop-search works ... uhm, sometimes. Most of the time - but not
always.
Its looks like it is depending on the value of 'dummy' which can contain
a lot of spaces ',' '(' '/' and similiar stuff (eg. '3er-Reihe, Typ
3B,3C,3/CG (E36)').
The code works always for eg.:
3er-Reihe,346L/C/R, (E46)
6er-Reihe,Typ 6CS/1
never works (returns nothing) for:
3er-Reihe, Typ 3B,3C,3/CG (E36)
5er-Reihe , Typ 5/D (E39)
and always gives more results than expected for eg.:
Audi 80
(results contain also 'Audi 80/90 Typ 81/85')
I assumed that by giving 'op=eq' and 'su=no' I asked to get only data
which fits exactly what I queried.
A direct query of the MySQL on a prompt returns only the desired rows,
so there don't seem to be trailing spaces or something unusual in the
database. I already played with giving ' and " in different flavors, but
this had not the desired effect.
--- cut ---
[tmp dummy][data table=cat column=name key="[value typ]"][/tmp]
<table cellpadding=5>
<tr>
<th>[scratch dummy]</th>
<th>Description</th>
<th>Price</th>
</tr>
[loop search="st=db/op=eq/su=no/sf=subcategory_typ/se=[scratch
dummy]"]
<tr>
<td>[loop-code] [loop-field subcategory_typ]</td>
<td>[loop-field description]</td>
<td align=right>[loop-field price]</td>
</tr>
[/loop]
</table>
--- cut ---
It can't be much of an issue, it's clearly a every-day task for IC :).
Hopefully I only misinterpreted the usage of op and su, as changing the
values (stripping spaces an other chars) in subcategory_typ is not
possible.
--
----
BYE Andreas
------
[http://www.solution.de | Solution The Computer People ]
[fax:+49-621-7140721 | Mannheim/Germany ]
[------ -----]
[The best way to predict the future is to invent it - Alan Kay ]
From: interchange-users at lists.akopia.com (John Beima)
Date: Mon Jun 4 20:17:01 2001
Subject: [ic] simple search question :)
G'Day Andreas,
Try this instead....
[loop search="
st=sql
fi=products
sf=subcategory_typ
se='[scratch dummy]'
tf=0
rf=0
ml=250
"]
Insert Your Code Here.
[/loop]
Just a note the tf= paramter tells Interchange what field you want your results
sorted by. Zero means the product codes, any other column, just give it the
column name.
John Beima
[loop search="st=db/op=eq/su=no/sf=subcategory_typ/se=[scratch
>
Quoting Andreas Lindenblatt <azrael@solution.de>:
> Hi all,
>
> I'm stalling at a really simple thing at the moment and simply can't
> figure out what the heck I'm doing wrong (tearing the rest of my hair
> and banging my head on the keyboard by now :( ).
>
> IC V4.6.3 is running on a Mandrake7.2 using MySQL, the construct-demo is
> doing fine, so I assume the setup in itself is correct.
>
> I try to do a simple loop search ;-).
>
> The page is called with a variable 'typ', its value is correct, and
> 'dummy' is also set to the correct value (tested by [scratch dummy] ).
> What I want to get is data from all rows in 'products' containing the
> 'dummy' in the field 'subcategory_typ'.
>
> The loop-search works ... uhm, sometimes. Most of the time - but not
> always.
> Its looks like it is depending on the value of 'dummy' which can contain
> a lot of spaces ',' '(' '/' and similiar stuff (eg. '3er-Reihe, Typ
> 3B,3C,3/CG (E36)').
>
> The code works always for eg.:
> 3er-Reihe,346L/C/R, (E46)
> 6er-Reihe,Typ 6CS/1
>
> never works (returns nothing) for:
> 3er-Reihe, Typ 3B,3C,3/CG (E36)
> 5er-Reihe , Typ 5/D (E39)
>
> and always gives more results than expected for eg.:
> Audi 80
> (results contain also 'Audi 80/90 Typ 81/85')
>
> I assumed that by giving 'op=eq' and 'su=no' I asked to get only data
> which fits exactly what I queried.
> A direct query of the MySQL on a prompt returns only the desired rows,
> so there don't seem to be trailing spaces or something unusual in the
> database. I already played with giving ' and " in different flavors, but
> this had not the desired effect.
>
> --- cut ---
> [tmp dummy][data table=cat column=name key="[value typ]"][/tmp]
> <table cellpadding=5>
> <tr>
> <th>[scratch dummy]</th>
> <th>Description</th>
> <th>Price</th>
> </tr>
> [loop search="st=db/op=eq/su=no/sf=subcategory_typ/se=[scratch
> dummy]"]
> <tr>
> <td>[loop-code] [loop-field subcategory_typ]</td>
> <td>[loop-field description]</td>
> <td align=right>[loop-field price]</td>
> </tr>
> [/loop]
> </table>
> --- cut ---
>
> It can't be much of an issue, it's clearly a every-day task for IC :).
> Hopefully I only misinterpreted the usage of op and su, as changing the
> values (stripping spaces an other chars) in subcategory_typ is not
> possible.
>
> --
> ----
> BYE Andreas
> ------
> [http://www.solution.de | Solution - The Computer People ]
> [fax:+49-621-7140721 | Mannheim/Germany ]
> [------ -----]
> [The best way to predict the future is to invent it - Alan Kay ]
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Andreas Lindenblatt)
Date: Mon Jun 4 20:58:01 2001
Subject: [ic] simple search question :)
Hi John,
(thanks for the prompt reply :)).
(BTW, did I mention already that I'm impressed by the things possible
with IC and even more impressed that it's an OpenSource-Projekt :)?)
> Try this instead....
>
> [loop search="
> st=sql
> fi=products
> sf=subcategory_typ
> se='[scratch dummy]'
> tf=0
> rf=0
> ml=250
> "]
It did - Nope. No go - gives me the same results as the original:
> > [loop search="st=db/op=eq/su=no/sf=subcategory_typ/se=[scratch
> > dummy]"]
(ok, it's different in the number of results I get ;-)).
--
----
BYE Andreas
[http://www.solution.de | Solution - The Computer People ]
[fax:+49-621-7140721 | Mannheim/Germany ]
[------ -----]
[The best way to predict the future is to invent it - Alan Kay ]
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Mon Jun 4 21:22:01 2001
Subject: [ic] Products Options Again !!!
Hi all !
I still today wrote to ask about the options of a product.
I already got to solve. But now I still have worse a problem.
I will try to explain. I got to attribute to my product SHOE,
the red color that costs 5.00 and the blue color that it
costs 10.00.
If a buyer buys my SHOE that costs 20.00, and he chooses the
blue color, he will pay the total of 30.00.
This this correct one. But if he buys 2 SHOES with the blue
color, he will pay 60.00. This also this certain.
But I need to know if exists some way it's had of doing different:
the buyer to buy the 2 SHOES, and only to pay 1 color.
So: 40.00 of the 2 SHOES, and 10.00 of the blue color
(and not 20.00, of the color blue + blue).
Someone can help me, please ?
Thanks!
::: Samir G. Barak :::::::::::::::::::::::::
From: interchange-users at lists.akopia.com (utomo)
Date: Mon Jun 4 21:39:01 2001
Subject: [ic] Bugs ?
Hello,
I am new in here.
- I think there is a bugs at the Feature wish list, so I cannot find the
real feature wish list.
http://developer.akopia.com/cgi-bin/ic/docfly?mv_session_id=M7DkrAuD&mv_pc=2
&mv_arg=wishlist0
- When I see the Bug list, I found there are 50 Bugs. I am surprised with so
many of the bugs, it can reduce the popularity of the Interchange. Hope this
problem can be reduced/eliminated.
Other things is:
- I hope Interchange can provide Interchange for Win, Not only *nix. I
believe still Many Win server around the world. So if Interchange available
for Win, the name of the Interchange is real (Not Limited Interchange), and
will be able to grab more target than before.
- Also if possible please just provide one package for all, not like now we
have RPM for Red Hat Linux 7; an RPM for Red Hat Linux 6 and Linux Mandrake;
and Debian GNU/Linux packages.
- If we review the discussion at mailing list, it is look like the docs is
not enough, because still many question/problems. I hope there is better
docs, so people with lower knowledge can set/configure Interchange (say it 4
from 10 scale knowledge of perl)
- One/two more payment provider is needed, just in case there is problem
with existing provider. And please choose the biggest/popular one (and
please negotiate the cost/ don't keep at Thousands $). I think this also can
help the Interchange user/popularity of Interchange
Viva Interchange
Best Regards,
Utomo
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Mon Jun 4 21:51:00 2001
Subject: [ic] Products Options Again !!!
On Mon, Jun 04, 2001 at 10:25:43PM -0300, Samir G. Barak wrote:
>
>
> Hi all !
>
> I still today wrote to ask about the options of a product.
> I already got to solve. But now I still have worse a problem.
> I will try to explain. I got to attribute to my product SHOE,
> the red color that costs 5.00 and the blue color that it
> costs 10.00.
> If a buyer buys my SHOE that costs 20.00, and he chooses the
> blue color, he will pay the total of 30.00.
> This this correct one. But if he buys 2 SHOES with the blue
> color, he will pay 60.00. This also this certain.
> But I need to know if exists some way it's had of doing different:
> the buyer to buy the 2 SHOES, and only to pay 1 color.
> So: 40.00 of the 2 SHOES, and 10.00 of the blue color
> (and not 20.00, of the color blue + blue).
search the docs for SeparateItems. Better
yet, use separate product codes.
>
> Someone can help me, please ?
>
> Thanks!
>
> ::: Samir G. Barak :::::::::::::::::::::::::
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (John Beima)
Date: Mon Jun 4 22:09:00 2001
Subject: [ic] simple search question :)
Which results are missing? Can you give data and search examples...
Your search has a flaw when the scracth dummy variable has spaces in it.
You are also telling it to seach the txt file and not the MysQL file. The
"op=eq" isn't needed do to the fact that there is only one search criteria...
The su parameter isn't normally needed...
One question..Does dummy have one patter you are looking for? Or does dummy
contain several words that you want tp search for seperatelt???
John
Quoting Andreas Lindenblatt <azrael@solution.de>:
> Hi John,
>
> (thanks for the prompt reply :)).
> (BTW, did I mention already that I'm impressed by the things possible
> with IC and even more impressed that it's an OpenSource-Projekt :)?)
>
>
> > Try this instead....
> >
> > [loop search="
> > st=sql
> > fi=products
> > sf=subcategory_typ
> > se='[scratch dummy]'
> > tf=0
> > rf=0
> > ml=250
> > "]
>
> It did - Nope. No go - gives me the same results as the original:
>
> > > [loop search="st=db/op=eq/su=no/sf=subcategory_typ/se=[scratch
> > > dummy]"]
>
> (ok, it's different in the number of results I get ;-)).
>
>
>
>
> --
> ----
> BYE Andreas
> [http://www.solution.de | Solution - The Computer People ]
> [fax:+49-621-7140721 | Mannheim/Germany ]
> [------ -----]
> [The best way to predict the future is to invent it - Alan Kay ]
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (John Beima)
Date: Mon Jun 4 22:09:47 2001
Subject: [ic] Bugs ?
Not another one....
Quoting utomo <utomo@flashmail.com>:
> Hello,
>
> I am new in here.
> - I think there is a bugs at the Feature wish list, so I cannot find the
> real feature wish list.
> http://developer.akopia.com/cgi-bin/ic/docfly?mv_session_id=M7DkrAuD&mv_pc=2
> &mv_arg=wishlist0
>
> - When I see the Bug list, I found there are 50 Bugs. I am surprised
> with so
> many of the bugs, it can reduce the popularity of the Interchange. Hope
> this
> problem can be reduced/eliminated.
>
> Other things is:
> - I hope Interchange can provide Interchange for Win, Not only *nix. I
> believe still Many Win server around the world. So if Interchange
> available
> for Win, the name of the Interchange is real (Not Limited Interchange),
> and
> will be able to grab more target than before.
> - Also if possible please just provide one package for all, not like now
> we
> have RPM for Red Hat Linux 7; an RPM for Red Hat Linux 6 and Linux
> Mandrake;
> and Debian GNU/Linux packages.
> - If we review the discussion at mailing list, it is look like the docs
> is
> not enough, because still many question/problems. I hope there is better
> docs, so people with lower knowledge can set/configure Interchange (say
> it 4
> from 10 scale knowledge of perl)
> - One/two more payment provider is needed, just in case there is problem
> with existing provider. And please choose the biggest/popular one (and
> please negotiate the cost/ don't keep at Thousands $). I think this also
> can
> help the Interchange user/popularity of Interchange
>
> Viva Interchange
>
> Best Regards,
>
> Utomo
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Thomas J.M. Burton)
Date: Mon Jun 4 22:21:00 2001
Subject: [ic] PLEASE HELP - Checkout Profile
I'm trying to set up a multi-page checkout in Interchange 4.6.5 and I'm having no
luck. The goal is to have the first page (checkout.html) contain the shipping address
fields and a Next Step button. The second page (checkout2.html) would have the order
total (including shipping), payment info, etc.
I've been able to set up the profile for the first page so that it's checking for the
required fields, but the problem occurs when I click the Next Step button. Instead of
going to the checkout2 page, it submits the order! I've been going around and around
on this one for hours and it's driving me nuts.
Here's what I've got for my code:
In etc/profiles.order
__NAME__ precheck
&fatal = yes
&set=mv_failpage ord/checkout
&set=mv_successpage ord/checkout2
fname=required
lname=required
address1=required
city=required
country=required
[if value country =~ /^(US|CA)$/i]
zip=postcode "[value zip]" is not a valid US/Canada postal code.
[/if]
&final = no
__END__
__NAME__ checkout_profile
This profile is the same as in the construct demo with the exception of
the fields specified in precheck above.
In ord/checkout.html
<FORM ACTION="[process secure=1]" METHOD="POST" name=precheckout>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
[if type=explicit compare="[error all=1 show_var=1 keep=1]"]
<P>
<font __FFACE__ size="2"><b>There were errors in your last submission.</b>
<br>
They are shown in <FONT COLOR=__CONTRAST__>__CONTRAST__</FONT>below.</FONT>
<P>
[/if]
<INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_orderpage VALUE=ord/checkout>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/checkout>
<INPUT TYPE=hidden NAME=mv_order_profile VALUE=precheck>
<INPUT TYPE=hidden NAME=mv_order_route
VALUE="[either]__ORDER_ROUTES__[or]log main copy_user[/either]">
<INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database">
[set Save_database]
[userdb save]
[/set]
<input type=SUBMIT value="Next Step" name="mv_click">
[seti clear_errors][error all=1 hide=1 comment="Clear errors"][/seti]
[set Next Step]
mv_todo=submit
[/set]
Any help on this would be greatly appreciated. Please don't just refer me to the 1999
post documenting how to set up Multi-step Checkouts. I've been through that and still
had trouble. What would help most is pointing out specifically what I'm
missing/overlooking. Thanks!
-TJMB
From: interchange-users at lists.akopia.com (Andreas Lindenblatt)
Date: Mon Jun 4 22:59:00 2001
Subject: [ic] simple search question :)
John Beima wrote:
>
> Which results are missing? Can you give data and search examples...
Exactly like before:
> > The code works always for eg.:
> > 3er-Reihe,346L/C/R, (E46)
> > 6er-Reihe,Typ 6CS/1
> >
> > never works (returns nothing) for:
> > 3er-Reihe, Typ 3B,3C,3/CG (E36)
> > 5er-Reihe , Typ 5/D (E39)
> >
> > and always gives more results than expected for eg.:
> > Audi 80
> > (results contain also 'Audi 80/90 Typ 81/85')
The only difference was due to the ml=250, which was more than the
default I set somewhere.
> Your search has a flaw when the scracth dummy variable has spaces in it.
What do you mean by 'flaw'?
I'm searching for a complete string (eg. "3er-Reihe,346L/C/R, (E46)") in
a database field which definitely contains this string. I want only
match if everything I search for is exactly the way I query it. So I
have to have the spaces in it, don't I? Shall I escape them?
>
> You are also telling it to seach the txt file and not the MysQL file. The
Hmmm... I understand that you have a lot more experience with IC than I
have - but if this would be the case my search could never give me any
result as I never touched the txt-file and IMHO there's no way it could
even contain the fields I'm looking for.
> "op=eq" isn't needed do to the fact that there is only one search criteria...
> The su parameter isn't normally needed...
ok.
> One question..Does dummy have one patter you are looking for? Or does dummy
> contain several words that you want tp search for seperatelt???
Dummy contains one pattern. It's exactly the pattern I want to match in
the field subcategory_typ.
--
----
BYE Andreas
[http://www.solution.de | Solution - The Computer People ]
[fax:+49-621-7140721 | Mannheim/Germany ]
[------ -----]
[The best way to predict the future is to invent it - Alan Kay ]
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Tue Jun 5 01:41:01 2001
Subject: [ic] Strange problem
Sorry, but I can't seem to find the post you referred to. Could you please
repost, or tell me what is wrong.
Thanx
Guy Soudant
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of John
Beima
Sent: zondag 3 juni 2001 22:55
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Strange problem
G'Day Guy,
A few days ago, someone posted a message to the group with a possible fix
for
this... It was aimed at MySQL users however, but it solved just that, and
could
work in this case...
By the way Interchange doesn't write to the .txt files.. It stores all it
new
data in the .gdbm files... You have to do an export on the file to update
the
.txt files...
John
Quoting Guy Soudant <soudant@home.nl>:
> Hi,
>
> I am currently testing my Interchange 4.7.2 install, and I seem to run
> into a strange problem. When I check the pre-installed orders (those
> that
> come with the demo) in the admin UI, I can see all the data, but when I
> check my own test orders in both the customer as well as the admin UI, I
>
> do not see the goods ordered by the customer (all other info is present,
>
> except for shipping costs, bu that is not yet properly set up). It seems
>
> that this data is not stored in orderline.txt. Is there perhaps a format
>
> for ordernumber (all orders that are formatted like 00001 are viewable,
> but all products in orders formatted like TEST0001 are not viewable).
> Please help!
>
> I am running the standard Database (flat text)
>
> Does anyone know what is going wrong, and perhaps can think of a
> solution
> to this problem
>
> Thanx
>
> Guy Soudant
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (John Beima)
Date: Tue Jun 5 02:03:00 2001
Subject: [ic] simple search question :)
Quoting Andreas Lindenblatt <azrael@solution.de>:
> John Beima wrote:
> >
> > Which results are missing? Can you give data and search examples...
>
> Exactly like before:
>
> > > The code works always for eg.:
> > > 3er-Reihe,346L/C/R, (E46)
> > > 6er-Reihe,Typ 6CS/1
Okay given this works...
> > > never works (returns nothing) for:
> > > 3er-Reihe, Typ 3B,3C,3/CG (E36)
> > > 5er-Reihe , Typ 5/D (E39)
Have you verified that these values are actually in the scratch variable?
> > > and always gives more results than expected for eg.:
> > > Audi 80
> > > (results contain also 'Audi 80/90 Typ 81/85')
You are correct. It will find ALL cases of Audi 80, even if it is part pf a
larger sentence... This is why I take it you were trying to use the su
parameter... My understanding of the su parameter is it is for substring matches
in words, not sentences.. So se=Au would find Audi or Aunt... Not the first 2
words of a sentence...
> The only difference was due to the ml=250, which was more than the
> default I set somewhere.
If it is not defined it will default to 10...
> > Your search has a flaw when the scracth dummy variable has spaces in
> it.
> What do you mean by 'flaw'?
> I'm searching for a complete string (eg. "3er-Reihe,346L/C/R, (E46)") in
> a database field which definitely contains this string. I want only
> match if everything I search for is exactly the way I query it. So I
> have to have the spaces in it, don't I? Shall I escape them?
Escaping them would possibly help... The way you are formatting the loop command
is just not the best way to do it.
> > You are also telling it to seach the txt file and not the MysQL file.
> The
> Hmmm... I understand that you have a lot more experience with IC than I
> have - but if this would be the case my search could never give me any
> result as I never touched the txt-file and IMHO there's no way it could
> even contain the fields I'm looking for.
Well I am not going to dibate this point with you. Your parameter is WRONG. Your
search only works sometimes. Part of that is the way you have written you loop
command. It is not the best way to do it.
> > "op=eq" isn't needed do to the fact that there is only one search
> criteria...
> > The su parameter isn't normally needed...
> ok.
You can try adding the op=eq back to my original code... It may or may not help.
But run my code the way I typed it and not the way you format it.
> > One question..Does dummy have one patter you are looking for? Or does
> dummy
> > contain several words that you want tp search for seperatelt???
> Dummy contains one pattern. It's exactly the pattern I want to match in
> the field subcategory_typ.
DO you run the results through a [more] tag or not? If not and it is just one
big list, do you search and then durring the display list just don't display the
items that arn't a perfect match with a simple if statement.
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 lists.akopia.com (Tim Watts)
Date: Tue Jun 5 03:37:01 2001
Subject: [ic] Asterisk(*), and selected item needed in select menu
I am presently setting up a store in which the owner uses an asterisk(*) to
identify special order options in the options select pulldowns, specifically
musical keys for harmonicas. [ic] uses (*) to identify the selected item in
a comma sep list. Is there an easy way to escape this, or should I just talk
my client into using some other identifier.
The list looks like this: field name is key
,A,Bb*,C,F#
ideally the output would be:
<SELECT Name="mv_order_key">
<OPTION Value=""> ##<-- blank is intentional
<OPTION Value="A">A
<OPTION Value="Bb*">Bb*
<OPTION Value="C">C
<OPTION Value="F#">F#
</SELECT>
but Bb becomes the selected, or it gets totally confused if there are more
than one of the keys with (*) Is there an easy way to escape this?
I'd also like to make the select_widget available for the buyer to make
choice in the item display, and the customers choice to be the selected
value when the select_widget appears in the cart and/or checkout, rather
than just having the select_widget appear in checkout only.
Thanks in advance for any specific code.
Tim Watts
president
Romans1013.net
Internet Hosting
Loaded with features:
FREE shopping cart!
UNLIMITED email!
No Monthly Fees - Just One Low Payment, One Time per Year!
Visit our web site for details:
www.Romans1013.net
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Tue Jun 5 03:40:00 2001
Subject: Re[2]: [ic] Modification in file CART = input field
Hi Ed !
Monday, June 04, 2001, 1:09:23 PM, you wrote:
EL> At 07:24 PM 06/02/2001 -0300, you wrote:
EL> <select name="[quantity-name]">
EL> <option value="1" [calc]return 'SELECTED' if [item-quantity] = 1;
return;[/calc]>> Payment Monthly
EL> <option value="2" [calc]return 'SELECTED' if [item-quantity] = 2;
return;[/calc]>> Payment Bimonthly
EL> <option value="3" [calc]return 'SELECTED' if [item-quantity] = 3;
return;[/calc]>> Payment Quarterly
EL> </select>
EL> - Ed L.
It's work very well ! Thanks for your help !
But exists a little problem ...
In results, the drop down menu above, always display
the first option "Payment Monthly".
But the values are displayed ok.
Some idea ? :)
Thank you very much !
::: Samir G. Barak :::::::::::::::::::::::::
From: interchange-users at lists.akopia.com (Matt Flaherty)
Date: Tue Jun 5 05:36:01 2001
Subject: [ic] How to use 'if' to compare item-field inside an item-list?
> > Can anyone help me. I'm confused about the 'if' tag. I want to modify
the
> > receipt.html page to allow for provisioning of subscription services,
> > something different to soft downloads. I tried it like below, but the
listed
> > item doesn't pass my test. I looked at the documentation on the 'if'
tag,
> > and it doesn't list item-field as a type, but then I can't seem to
figure
> > out what would be the right type in this case (value doesn't work). All
the
> > examples I've seen only seem to test that a value is not empty, which is
not
> > what I want here. The tag [item-field dl_type] does return the correct
> > value, by the way. Please, I'm wracking my brain to pieces!
> >
> Use [if-item-field dl_type] instead of [if item-field dl_type], that extra
> dash is important.
Thanks Jason. Unfortunately, I tried that and it didn't work. The docs say
the [if-item-field] is a simple test of whether or not the field is empty.
No ability to place a condition. Also, there is no elsif contruct. Here's my
take: we're in a loop, there must be a reference to the current item in
order for things like the [if-item-field] to work. How can I test a field
value with a condition? I shouldn't need to use [if data table::field::key]
because we have a reference to the item, and this code is not even aware of
the table it is in (one of the specified product tables). I will if that's
what it takes, but I think it's a bit weak. I can echo the value with
[item-field dl_type], so I ought to be able to do a compare on it. Or maybe
I should use a scratch variable... [set somevar][item_field dl_type][/set]
[if scratch somevar =~ /pattern/]...?
> > ------------------------------^snip------------------------------
> > [item-list]
> > [if-item-field download]
> > [if !value fax_order]
> > [if item-field dl_type =~ /^serv/i]
> > [comment]This is a provisioned service[/comment]
> > This is a provisioned service.
> > [elsif item-field dl_type =~ /^soft/i]
> > [comment]This is a soft goods download[/comment]
> > This is a soft goods download.
> > [set download_present]1[/set]
> > [userdb
> > function=set_file_acl
> > mode="expire 7 days"
> > location="[either][item-field
> > dl_location][or][item-code][/either
> > ]"
> > ]
> > [/elsif]
> > [else]
> > [comment]Unknown type[/comment]
> > Unknown type: [item-field dl_type]
> > [/else]
> > [/if]
> > [/if]
> > [/if-item-field]
> > [/item-list]
> > ------------------------------^snip------------------------------
> >
> > Thanks
> > -Matt
From: interchange-users at lists.akopia.com (Andreas Lindenblatt)
Date: Tue Jun 5 05:38:00 2001
Subject: [ic] simple search question :)
Hi John,
> > > > never works (returns nothing) for:
> > > > 3er-Reihe, Typ 3B,3C,3/CG (E36)
> > > > 5er-Reihe , Typ 5/D (E39)
>
> Have you verified that these values are actually in the scratch variable?
Yes. They are in the scratch variable.
> You are correct. It will find ALL cases of Audi 80, even if it is part pf a
> larger sentence... This is why I take it you were trying to use the su
> parameter... My understanding of the su parameter is it is for substring matches
> in words, not sentences.. So se=Au would find Audi or Aunt... Not the first 2
> words of a sentence...
Which tag could I use to match a whole 'sentence'?
> > have to have the spaces in it, don't I? Shall I escape them?
>
> Escaping them would possibly help... The way you are formatting the loop command
> is just not the best way to do it.
ok, I'm trying this next.
> Well I am not going to dibate this point with you. Your parameter is WRONG. Your
> search only works sometimes. Part of that is the way you have written you loop
> command. It is not the best way to do it.
I'm eager to learn - and I know I'm doing something wrong :). What would
be a better way to write the loop command?
> You can try adding the op=eq back to my original code... It may or may not help.
> But run my code the way I typed it and not the way you format it.
Yep, I tried the op=eq already, it doesn't change the result.
See, I don't insist on using 'my code', obviously it doesn't do what I
want it to do - I already use your code, it 'feels' better :).
> DO you run the results through a [more] tag or not? If not and it is just one
> big list, do you search and then durring the display list just don't display the
> items that arn't a perfect match with a simple if statement.
This (filtering with if) would indeed solve part of the problem.
But it doesn't solve the issue of getting no result at all - or answer
the question why I do get a result with '3er-Reihe,346L/C/R, (E46)' and
none with '5er-Reihe , Typ 5/D (E39)' while both values are definitely
in the MySQL-Table.
--
----
BYE Andreas
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 5 05:41:00 2001
Subject: [ic] Yahoo! Auto Response
Thanks for e-mailing. Unfortunately, I will be away from my computer as I am moving. Will respond to pertinent e-mails upon completion of moving.
Thanks,
Mark
--------------------
Original Message:
>From interchange-users-admin@developer.akopia.com Tue Jun 05 09:43:16 2001
Return-Path: <interchange-users-admin@developer.akopia.com>
X-Track: 1: 40
Received: from 204.242.142.202 (EHLO developer.akopia.com) (204.242.142.202)
by mta314.mail.yahoo.com with SMTP; 05 Jun 2001 02:43:16 -0700 (PDT)
Received: from developer.akopia.com (localhost.localdomain [127.0.0.1])
by developer.akopia.com (8.11.0/8.11.0) with ESMTP id f559dNI08621;
Tue, 5 Jun 2001 05:39:23 -0400
Date: Tue, 5 Jun 2001 05:39:23 -0400
Message-Id: <200106050939.f559dNI08621@developer.akopia.com>
From: interchange-users-request@developer.akopia.com
Subject: Interchange-users digest, Vol 1 #564 - 10 msgs
X-Mailer: Mailman v2.0.5
MIME-version: 1.0
Content-type: text/plain
To: interchange-users@developer.akopia.com
Sender: interchange-users-admin@developer.akopia.com
Errors-To: interchange-users-admin@developer.akopia.com
X-BeenThere: interchange-users@lists.akopia.com
X-Mailman-Version: 2.0.5
Precedence: bulk
Reply-To: i
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Tue Jun 5 08:37:01 2001
Subject: [ic] How to use 'if' to compare item-field inside an item-list?
On Tue, Jun 05, 2001 at 10:40:48AM +0100, Matt Flaherty wrote:
> > Use [if-item-field dl_type] instead of [if item-field dl_type], that extra
> > dash is important.
>
> Thanks Jason. Unfortunately, I tried that and it didn't work. The docs say
> the [if-item-field] is a simple test of whether or not the field is empty.
Ahh, I see, I misunderstood, using a scratch var or [data] would be options,
you could also use the 'explicit' form:
[if explicit]
[condition]
'[item-field dl_type]' =~ /^serv/;
[/condition]
This is a service.
[/if]
If it were me I would probably take the easy way out and do it with calc...
[seti dl_type][calc]
my $dl_type = '[item-field dl_type]';
if($dl_type =~ /^serv/) {
return 'service';
} elsif($dl_type =~ /^soft/) {
return 'soft';
} else {
return 'unknown';
}
[/calc][/seti]
Then you could check what it was with
[if scratch type eq 'service']
[comment]This is a provisioned service[/comment]
This is a provisioned service.
[elsif scratch type eq 'soft']
[comment]This is a soft goods download[/comment]
[set download_present]1[/set]
[userdb
function=set_file_acl
mode="expire 7 days"
location="[either][item-field dl_location][or][item-code][/either]
[/elsif]
[else]
[comment]Unknown type[/comment]
Unknown type: [scratch dl_type]
[/else]
[/if]
>
> > > ------------------------------^snip------------------------------
> > > [item-list]
> > > [if-item-field download]
> > > [if !value fax_order]
> > > [if item-field dl_type =~ /^serv/i]
> > > [comment]This is a provisioned service[/comment]
> > > This is a provisioned service.
> > > [elsif item-field dl_type =~ /^soft/i]
> > > [comment]This is a soft goods download[/comment]
> > > This is a soft goods download.
> > > [set download_present]1[/set]
> > > [userdb
> > > function=set_file_acl
> > > mode="expire 7 days"
> > > location="[either][item-field
> > > dl_location][or][item-code][/either
> > > ]"
> > > ]
> > > [/elsif]
> > > [else]
> > > [comment]Unknown type[/comment]
> > > Unknown type: [item-field dl_type]
> > > [/else]
> > > [/if]
> > > [/if]
> > > [/if-item-field]
> > > [/item-list]
> > > ------------------------------^snip------------------------------
> > >
> > > Thanks
> > > -Matt
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (derek pietro)
Date: Tue Jun 5 08:39:00 2001
Subject: [ic] General Performance and scaling info sought
Can anyone point me to any info on the scalability of interchange.
I am interested in seeing performance info. ie: "I have interchange on
sun blahh blahh and I take xxxxx hits per day, etc..."
I am interested in this as I am trying to convince a customer to ditch
an expensive system that just doesnt work, but need some general (not
yet found) performance info.
Any pointers to "large" store web sites in use would be a plus too.
Thanks!
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Tue Jun 5 08:53:00 2001
Subject: [ic] Bugs ?
On Tue, Jun 05, 2001 at 08:43:15AM +0700, utomo wrote:
> Hello,
>
> I am new in here.
> - I think there is a bugs at the Feature wish list, so I cannot find the
> real feature wish list.
> http://developer.akopia.com/cgi-bin/ic/docfly?mv_session_id=M7DkrAuD&mv_pc=2
> &mv_arg=wishlist0
>
The developer site is being updated and apparently the wishlist has
been removed for now.
> - When I see the Bug list, I found there are 50 Bugs. I am surprised with so
> many of the bugs, it can reduce the popularity of the Interchange. Hope this
> problem can be reduced/eliminated.
>
And nearly all of those bugs are in the development version, which is to be
expected from software that isn't finished yet. I don't think anyone wants
us to get the bug list down to 0, since the only way to do that would be to
stop adding new features to Interchange and just give you version 4.6 for
the rest of your life.
> Other things is:
> - I hope Interchange can provide Interchange for Win, Not only *nix. I
> believe still Many Win server around the world. So if Interchange available
> for Win, the name of the Interchange is real (Not Limited Interchange), and
> will be able to grab more target than before.
Red Hat is primarily a linux company, and so the software they create is for
the most part linux software (you don't see Microsoft releasing versions of
their software for linux do you?) The great thing about open source is that
if you want a windows version, nobody is stopping you from porting it.
> - Also if possible please just provide one package for all, not like now we
> have RPM for Red Hat Linux 7; an RPM for Red Hat Linux 6 and Linux Mandrake;
> and Debian GNU/Linux packages.
Hate to disappoint you, but this is fundamentally impossible. If you are using
Red Hat Linux, you need RPMs, if you are using Debian you need Debian packages,
the alternative to doing it this way is to distribute only the .tar.gz file and
make everyone compile and install it themselves, if you would prefer that, the
.tar.gz is available for you.
> - If we review the discussion at mailing list, it is look like the docs is
> not enough, because still many question/problems. I hope there is better
> docs, so people with lower knowledge can set/configure Interchange (say it 4
> from 10 scale knowledge of perl)
If you review the mailing list you will also see that there is a lot of work
going into improving the documentation, in fact we have a full time technical
writer doing nothing but documentation. Docs don't appear overnight, they
take work.
> - One/two more payment provider is needed, just in case there is problem
> with existing provider. And please choose the biggest/popular one (and
> please negotiate the cost/ don't keep at Thousands $). I think this also can
> help the Interchange user/popularity of Interchange
>
Interchange supports several payment providers, and 4.8 will support even
more since the payment processing has been completely rewritten. The cost
of the provider is between you and your processor, we don't have anything
to do with what they charge you.
(These are just my personal opinions, I don't speak officially for Red Hat)
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Tom Costandine)
Date: Tue Jun 5 09:46:01 2001
Subject: [ic] Re: interchange admin interface not working
FYI, the problem for this was that I removed the:
# Set to 1 to include UI
Variable UI 1
from interchange.cfg! Adding it back makes it work.
Tom
Tom Costandine wrote:
> I managed to break the Interchange admin interface, when I go to:
>
> http://optimacy.com/cgi-bin/construct/admin/index
>
> It gives the error: Sorry, the page (admin/index) was not
> found
>
> It used to work, the only thing I can remember touching is trying to get
> areas working, but this was with another project that I created from
> scratch from the tutorial. Has anybody encountered this problem
> before? the error.log under interchange reports nothing, and the
> error.log under /var/lib/interchange/construct shows nothing as well.
>
> Thanks,
>
> Tom
From: interchange-users at lists.akopia.com (Kevin Flynn)
Date: Tue Jun 5 09:48:01 2001
Subject: [ic] Search across multiple tables
is it possible to perform a search across multiple tables in a database.
i.e. Search through orders based on customer details or items bought.
Customer details are in transactions table and products purchased in
orderline table.
From: interchange-users at lists.akopia.com (Mathieu Lagarde)
Date: Tue Jun 5 09:51:01 2001
Subject: [ic] General Performance and scaling info sought
At 08:47 01-06-05 -0400, you wrote:
>Can anyone point me to any info on the scalability of interchange.
>I am interested in seeing performance info. ie: "I have interchange on
>sun blahh blahh and I take xxxxx hits per day, etc..."
>I am interested in this as I am trying to convince a customer to ditch
>an expensive system that just doesnt work, but need some general (not
>yet found) performance info.
>Any pointers to "large" store web sites in use would be a plus too.
>Thanks!
We Install it on one of our cobalt to make our test. Never use a cobalt
and Interchange for a live store it's so slow the customer a the time to
fall a sleep before he will be able to buy something. We plan to install
on one of the new ibm netserver we just order last week.
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Tom Costandine)
Date: Tue Jun 5 09:52:00 2001
Subject: [ic] Advanced product configuration
Interchange users,
I am looking for a way to have all product configuration options
available from the shopping cart (For example, I want to have size,
length, color, accessories for a product configurable once it is
selected in the shopping cart) Before I start hacking on the shopping
cart, is there an easy way to do this (possibly through meta fields)?
Thanks,
Tom
From: interchange-users at lists.akopia.com (Andreas Lindenblatt)
Date: Tue Jun 5 10:21:01 2001
Subject: [ic] simple search question :)
Hi All,
thanks for your various answers, they helped a lot in getting closer to
understand how IC works.
I couldn't solve the problem with my search, so I worked a way around it
by changing the string-values to the corrosponding cat-table-numbers
(and getting the names out of the cat-table when needed).
Works like a charm now - but I still like to know how to search for a
complete string containing several words and charakters ;-).
--
----
BYE Andreas
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 5 10:22:00 2001
Subject: [ic] General Performance and scaling info sought
Quoting Mathieu Lagarde (mathieu.lagarde@nstepcom.com):
> At 08:47 01-06-05 -0400, you wrote:
> >Can anyone point me to any info on the scalability of interchange.
> >I am interested in seeing performance info. ie: "I have interchange on
> >sun blahh blahh and I take xxxxx hits per day, etc..."
> >I am interested in this as I am trying to convince a customer to ditch
> >an expensive system that just doesnt work, but need some general (not
> >yet found) performance info.
> >Any pointers to "large" store web sites in use would be a plus too.
> >Thanks!
>
> We Install it on one of our cobalt to make our test. Never use a cobalt
> and Interchange for a live store it's so slow the customer a the time to
> fall a sleep before he will be able to buy something.
This is typical of a machine with not enough memory. If it is real slow,
sounds like 32MB. 64MB might also be slow if other things were taking
a lot of memory. 128M will usually give decent response assuming that
there is no other huge memory-using program on the system.
> We plan to install on one of the new ibm netserver we just order last week.
The latest version of Interchange, 4.7.x, in pre-forking mode, was able to
handle a florist shop on Mother's day with a parsed-page hit rate peaking
at about 500 per minute (this doesn't count images or other hits, which
rate was peaking at about 6000 per minute). This was on a single 700Mhz
Intel box with 1GB of memory.
The new pre-forking mode gives near-mod_perl performance, and can handle
very large sites. Obviously some attention must be paid to performance, i.e.
using [timed-build ...] to obviate repetitive category-building queries,
as we still cannot repeal the laws of physics.
In any case, I am now confident in saying that Interchange can handle
as large a site as most people can envision. That takes into account that
you can place a catalog on multiple machines, of course.
--
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 lists.akopia.com (Ben Mirecki)
Date: Tue Jun 5 10:27:01 2001
Subject: [ic] Using getUPS
Hi,
Has anyone successfully implemented the Business::UPS module with
Interchange? I have the Perl module installed, but I'm getting an error
message when Interchange starts.
Here is my UserTag code that calls Business::UPS::getUPS for real-time
shipping:
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;
$country = undef if $country eq 'US';
my ($shipping, $zone, $error) = Business::UPS::getUPS( $mode,
$origin, $zip, $weight, $country);
if($error) {
$Vend::Session->{ship_message} .= " $mode: $error";
return 0;
}
return $shipping;
}
EOR
I'm getting an error saying...
UserTag 'ups_query' subroutine failed safe check: require trapped by
operation mask at (eval 326) line 5, <CONFIG> chunk 359.
In line 359 of the configuration file 'catalog.cfg':
UserTag ups-query Routine <<EOR
Any suggestions?
Ben
From: interchange-users at lists.akopia.com (Corey Gilmore)
Date: Tue Jun 5 10:31:01 2001
Subject: [ic] Apache Config Question
Whats the best way to setup apache w/interchange, so that my root dir is
actually my IC CGI?
What I want is http://my.server.com/ to correspond to the IC cgi.
I want to avoid having URL's like
http://my.server.com/some.cgi/index.html
and
http://my.server.com/some.cgi/anotherpage.html
Can it be done? The main problem I've found is that I can't set
DocumentRoot to /path/to/interchange.cgi since its not a folder. And then
there are other issues associated with that, because its a file not a dir,
etc.
thanks,
.cfg
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Tue Jun 5 11:00:01 2001
Subject: [ic] Using getUPS
On Tue, Jun 05, 2001 at 10:32:57AM -0400, Ben Mirecki wrote:
> Has anyone successfully implemented the Business::UPS module with
> Interchange? I have the Perl module installed, but I'm getting an error
> message when Interchange starts.
>
> UserTag 'ups_query' subroutine failed safe check: require trapped by
> operation mask at (eval 326) line 5, <CONFIG> chunk 359.
> In line 359 of the configuration file 'catalog.cfg':
> UserTag ups-query Routine <<EOR
>
> Any suggestions?
>
You need to either load this from interchange.cfg instead of a specific
catalog, or get rid of the BEGIN block and put 'Require module Business::UPS'
in your interchange.cfg, or set an AllowGlobal entry in your interchange.cfg
that allows global access from the catalog (this is the least recommended
option). The problem you are having is that catalog-specific usertags
are run under the Safe module, which will not allow you to call 'require'.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Mathieu Lagarde)
Date: Tue Jun 5 11:10:01 2001
Subject: [ic] Apache Config Question
At 09:33 01-06-05 -0400, you wrote:
>Whats the best way to setup apache w/interchange, so that my root dir is
>actually my IC CGI?
>
>What I want is http://my.server.com/ to correspond to the IC cgi.
>
>I want to avoid having URL's like
>http://my.server.com/some.cgi/index.html
>and
>http://my.server.com/some.cgi/anotherpage.html
>
>Can it be done? The main problem I've found is that I can't set
>DocumentRoot to /path/to/interchange.cgi since its not a folder. And then
>there are other issues associated with that, because its a file not a dir,
>etc.
The best way will be to make a redirection from your main page
www.server.com/index.html to your server.com/some.cgi/.
From: interchange-users at lists.akopia.com (Jonathan Clark)
Date: Tue Jun 5 11:18:00 2001
Subject: [ic] Apache Config Question
>
> Whats the best way to setup apache w/interchange, so that my root dir is
> actually my IC CGI?
>
> What I want is http://my.server.com/ to correspond to the IC cgi.
>
have you looked in the mailing list archive?
http://developer2.akopia.com/archive/interchange-users/2000/msg06723.html
Jonathan
Webmaint.
From: interchange-users at lists.akopia.com (David Bordas)
Date: Tue Jun 5 11:40:00 2001
Subject: [ic] Newbie question : Porting a catalog
Hi all,
Here's my simple question, if i install and make a catalog on a test
serveur, can i easily port the catalog to a different server ( with the same
version of IC of course ) ?
And if yes how can i do that ?
only copy directory with subs and chown and chgrep ?
Other one, should i try to build my catalogs with the latest officiel akopia
: 4.6.5
or use a 4.7.x ?
Thanks
David BORDAS
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Tue Jun 5 11:47:01 2001
Subject: [ic] PLEASE HELP - Checkout Profile
At 07:22 PM 06/04/2001 -0700, you wrote:
>I'm trying to set up a multi-page checkout in Interchange 4.6.5 and I'm
>having no
>luck. The goal is to have the first page (checkout.html) contain the
>shipping address
>fields and a Next Step button. The second page (checkout2.html) would have
>the order
>total (including shipping), payment info, etc.
>
>I've been able to set up the profile for the first page so that it's
>checking for the
>required fields, but the problem occurs when I click the Next Step button.
>Instead of
>going to the checkout2 page, it submits the order! I've been going around
>and around
>on this one for hours and it's driving me nuts.
>
>Here's what I've got for my code:
>
>In etc/profiles.order
> __NAME__ precheck
> &fatal = yes
> &set=mv_failpage ord/checkout
> &set=mv_successpage ord/checkout2
> fname=required
> lname=required
> address1=required
> city=required
> country=required
> [if value country =~ /^(US|CA)$/i]
> zip=postcode "[value zip]" is not a valid US/Canada postal code.
> [/if]
> &final = no
> __END__
Omit &final=no and move the first three lines to the bottom of the
profile. Reconfig, start a new session and try again.
Good Luck!
- Ed L.
> __NAME__ checkout_profile
> This profile is the same as in the construct demo with the exception of
> the fields specified in precheck above.
>
>
>In ord/checkout.html
> <FORM ACTION="[process secure=1]" METHOD="POST" name=precheckout>
> <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
>
> [if type=explicit compare="[error all=1 show_var=1 keep=1]"]
> <P>
> <font __FFACE__ size="2"><b>There were errors in your last
> submission.</b>
> <br>
> They are shown in <FONT
> COLOR=__CONTRAST__>__CONTRAST__</FONT>below.</FONT>
> <P>
> [/if]
>
> <INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
> <INPUT TYPE=hidden NAME=mv_orderpage VALUE=ord/checkout>
> <INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/checkout>
> <INPUT TYPE=hidden NAME=mv_order_profile VALUE=precheck>
> <INPUT TYPE=hidden NAME=mv_order_route
> VALUE="[either]__ORDER_ROUTES__[or]log main copy_user[/either]">
> <INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database">
>
> [set Save_database]
> [userdb save]
> [/set]
>
>
>
> <input type=SUBMIT value="Next Step" name="mv_click">
>
> [seti clear_errors][error all=1 hide=1 comment="Clear errors"][/seti]
>
> [set Next Step]
> mv_todo=submit
> [/set]
>
>
>Any help on this would be greatly appreciated. Please don't just refer me
>to the 1999
>post documenting how to set up Multi-step Checkouts. I've been through
>that and still
>had trouble. What would help most is pointing out specifically what I'm
>missing/overlooking. Thanks!
>
>-TJMB
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Ed LaFrance)
Date: Tue Jun 5 11:55:00 2001
Subject: [ic] Asterisk(*), and selected item needed in select menu
At 03:41 AM 06/05/2001 -0400, you wrote:
>I am presently setting up a store in which the owner uses an asterisk(*) to
>identify special order options in the options select pulldowns, specifically
>musical keys for harmonicas. [ic] uses (*) to identify the selected item in
>a comma sep list. Is there an easy way to escape this, or should I just talk
>my client into using some other identifier.
>
>The list looks like this: field name is key
>
>,A,Bb*,C,F#
>
>ideally the output would be:
>
><SELECT Name="mv_order_key">
> <OPTION Value=""> ##<-- blank is intentional
> <OPTION Value="A">A
> <OPTION Value="Bb*">Bb*
> <OPTION Value="C">C
> <OPTION Value="F#">F#
></SELECT>
>
>but Bb becomes the selected, or it gets totally confused if there are more
>than one of the keys with (*) Is there an easy way to escape this?
>
>I'd also like to make the select_widget available for the buyer to make
>choice in the item display, and the customers choice to be the selected
>value when the select_widget appears in the cart and/or checkout, rather
>than just having the select_widget appear in checkout only.
>
>Thanks in advance for any specific code.
>
Try using the HTML entity for asterisk: *
- 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 lists.akopia.com (Ed LaFrance)
Date: Tue Jun 5 12:06:01 2001
Subject: [ic] How to use 'if' to compare item-field inside an
At 10:40 AM 06/05/2001 +0100, you wrote:
> > > Can anyone help me. I'm confused about the 'if' tag. I want to modify
>the
> > > receipt.html page to allow for provisioning of subscription services,
> > > something different to soft downloads. I tried it like below, but the
>listed
> > > item doesn't pass my test. I looked at the documentation on the 'if'
>tag,
> > > and it doesn't list item-field as a type, but then I can't seem to
>figure
> > > out what would be the right type in this case (value doesn't work). All
>the
> > > examples I've seen only seem to test that a value is not empty, which is
>not
> > > what I want here. The tag [item-field dl_type] does return the correct
> > > value, by the way. Please, I'm wracking my brain to pieces!
> > >
> > Use [if-item-field dl_type] instead of [if item-field dl_type], that extra
> > dash is important.
>
>Thanks Jason. Unfortunately, I tried that and it didn't work. The docs say
>the [if-item-field] is a simple test of whether or not the field is empty.
>No ability to place a condition. Also, there is no elsif contruct. Here's my
>take: we're in a loop, there must be a reference to the current item in
>order for things like the [if-item-field] to work. How can I test a field
>value with a condition? I shouldn't need to use [if data table::field::key]
>because we have a reference to the item, and this code is not even aware of
>the table it is in (one of the specified product tables). I will if that's
>what it takes, but I think it's a bit weak. I can echo the value with
>[item-field dl_type], so I ought to be able to do a compare on it. Or maybe
>I should use a scratch variable... [set somevar][item_field dl_type][/set]
>[if scratch somevar =~ /pattern/]...?
Exacerbating this whole issue somewhat is the unpleasant fact that IC [if's
and [if-prefix's are not exactly rockets in terms of performance. I have
learned that hard way many times, that if a series of tests needs to
performed repeatedly in a list of results, you will gain much better
performance with a [calc] or [perl] block, or better yet, a usertag. It is
easy for these things to balloon into thousands of conditional evaluations
in one screenful of search results or cart contents, and if you don't do
the work to break free of the [if family, you are really going to feel the
drag.
- Ed L.
> > > ------------------------------^snip------------------------------
> > > [item-list]
> > > [if-item-field download]
> > > [if !value fax_order]
> > > [if item-field dl_type =~ /^serv/i]
> > > [comment]This is a provisioned service[/comment]
> > > This is a provisioned service.
> > > [elsif item-field dl_type =~ /^soft/i]
> > > [comment]This is a soft goods download[/comment]
> > > This is a soft goods download.
> > > [set download_present]1[/set]
> > > [userdb
> > > function=set_file_acl
> > > mode="expire 7 days"
> > > location="[either][item-field
> > > dl_location][or][item-code][/either
> > > ]"
> > > ]
> > > [/elsif]
> > > [else]
> > > [comment]Unknown type[/comment]
> > > Unknown type: [item-field dl_type]
> > > [/else]
> > > [/if]
> > > [/if]
> > > [/if-item-field]
> > > [/item-list]
> > > ------------------------------^snip------------------------------
> > >
> > > Thanks
> > > -Matt
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Ed LaFrance)
Date: Tue Jun 5 12:08:01 2001
Subject: [ic] Search across multiple tables
At 02:49 PM 06/05/2001 +0100, you wrote:
>is it possible to perform a search across multiple tables in a database.
>
>i.e. Search through orders based on customer details or items bought.
>Customer details are in transactions table and products purchased in
>orderline table.
mv_search_field (sf) does take a table:field syntax, so it is possible to
qualify search results with data in multiple tables. It tends to work best
with coordinated searches.
- Ed L.
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Administrator)
Date: Tue Jun 5 12:25:00 2001
Subject: [ic] NEED HELP ON WHOLESALE (Dealer And Distributor)
looking for info on how to set up different pricing dealer and
distributor pring i was told you need to setup wholesale if you have
experiance with this please email me or call norbi@fuelsafe.com or
800.433.6524 ext: 226
Thank You
From: interchange-users at lists.akopia.com (Mike Holmes)
Date: Tue Jun 5 12:50:00 2001
Subject: [ic] File Upload not working
Dear List,
I'm trying to get the file uploade feature to work...
The docs explain to put the following code on one page:
<FORM ACTION="[process-target] METHOD=POST ENCTYPE="multipart/form-data">
<INPUT TYPE=hidden NAME=mv_todo VALUE=return>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=test>
<INPUT TYPE=file NAME=newfile>
<INPUT TYPE=submit VALUE="Go!">
and the following on another:
<PRE>
Uploaded file name: [value-extended name=newfile]
Is newfile a file? [value-extended name=newfile yes=Yes no=No
test=isfile]
Write the file. [value-extended name=newfile outfile=junk.upload]
Write again with
indication: [value-extended name=newfile
outfile=junk.upload
yes="Written."]
no=FAILED]
And the file contents:
[value-extended name=newfile file_contents=1]
</PRE>
but this isn't working. I'm getting the following error in the browser and
catalog error_log:
process.html Difficulty interacting with browser: No action passed for
processing.
Any tips?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
From: interchange-users at lists.akopia.com (Richard Eicher II)
Date: Tue Jun 5 13:00:00 2001
Subject: [ic] Need help
I have installed Interchange from rpm and from
source. But no matter what I do I get know images
for construct at all. Even in the admin side all
I get is boxes. How do I trouble shoot this. Need
this to work.
Rick Eicher II
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Salvador Caballe)
Date: Tue Jun 5 13:06:01 2001
Subject: [ic] New Newbie List proposal
Hello !
I wrote this message to suggest a new list about interchange,
but for newbie users.
The level in this list is too high for some people.
best regards
Salvador Caballe
From: interchange-users at lists.akopia.com (Thomas J.M. Burton)
Date: Tue Jun 5 13:27:00 2001
Subject: [ic] PLEASE HELP - Checkout Profile
Thanks for the help, Ed. It's still not working though.
I tried the changes you suggested and it made no difference.
If anyone has any other suggestions, I'd really appreciate it. If you need to take a
look at the site, go to http://new.cascademedia.net
Thanks in advance...
-TJMB
From: interchange-users at lists.akopia.com (Mat Jones - booksellersolutions.com)
Date: Tue Jun 5 13:49:01 2001
Subject: [ic] File Upload not working
try adding a " after [process-target]
<FORM ACTION="[process-target]" METHOD=POST ENCTYPE="multipart/form-data">
----- Original Message -----
From: "Mike Holmes" <mikeofholmes@hotmail.com>
To: <interchange-users@developer.akopia.com>
Sent: Tuesday, June 05, 2001 9:52 AM
Subject: [ic] File Upload not working
> Dear List,
>
> I'm trying to get the file uploade feature to work...
> The docs explain to put the following code on one page:
>
> <FORM ACTION="[process-target] METHOD=POST ENCTYPE="multipart/form-data">
> <INPUT TYPE=hidden NAME=mv_todo VALUE=return>
> <INPUT TYPE=hidden NAME=mv_nextpage VALUE=test>
> <INPUT TYPE=file NAME=newfile>
> <INPUT TYPE=submit VALUE="Go!">
>
> and the following on another:
>
> <PRE>
> Uploaded file name: [value-extended name=newfile]
> Is newfile a file? [value-extended name=newfile yes=Yes no=No
> test=isfile]
>
> Write the file. [value-extended name=newfile outfile=junk.upload]
> Write again with
> indication: [value-extended name=newfile
> outfile=junk.upload
> yes="Written."]
> no=FAILED]
>
> And the file contents:
> [value-extended name=newfile file_contents=1]
> </PRE>
>
> but this isn't working. I'm getting the following error in the browser
and
> catalog error_log:
>
> process.html Difficulty interacting with browser: No action passed for
> processing.
>
> Any tips?
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Dan McFarland)
Date: Tue Jun 5 13:57:00 2001
Subject: [ic] SSL Errors
Sorry...
but in english now? :)
I have an NT brain and am still learing Linux. What you just said made
sense, but I am not sure how to do it all.
Dan
----- Original Message -----
From: John Beima <jbeima@palb.com>
To: <interchange-users@developer.akopia.com>
Sent: Monday, June 04, 2001 11:52 AM
Subject: Re: [ic] SSL Errors
> This has an easy little work around...
>
> Change your IMAGE_DIR variable from /images to /site/images then make a
syn link
> from your SSL server to the base HTML directory called site... Then make a
> sub-directory in your base html directory called site. Then go into the
site
> sub-directory and make a sym link tothe images directory from there...
>
> Wa La...
>
>
> Quoting Dan McFarland <dan@mailturtle.com>:
>
> > When a user goes to the secure pages, the images appear as broken links.
> > What can I do to correct this?
> >
> > Thanks!
> >
> > Dan
> >
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Steven Behnke)
Date: Tue Jun 5 14:35:01 2001
Subject: [ic] Same product, different prices?
Is there a way that I can have 1 product that comes in 3 different formats
for 3 different prices. For instance, video tapes that come in PAL, NTSC,
and one other format need to have different prices in my database. Thanks
for any suggestions.
-Steven
techsupport@imediaconsultants.com
From: interchange-users at lists.akopia.com (Michael Patton)
Date: Tue Jun 5 14:52:00 2001
Subject: [ic] New Newbie List proposal
But then I wouldn't be able to soak up all this knowledge :)
On Tue, 5 Jun 2001, Salvador Caballe wrote:
> Hello !
>
> I wrote this message to suggest a new list about interchange,
> but for newbie users.
>
> The level in this list is too high for some people.
>
> best regards
> Salvador Caballe
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
"While you're pointing fingers, someone is accusing you" - Bob Marley
Michael Patton, Web Developer
www.mycity.com, map@mycity.com
From: interchange-users at lists.akopia.com (Ron Phipps)
Date: Tue Jun 5 15:09:01 2001
Subject: [ic] Same product, different prices?
> Is there a way that I can have 1 product that comes in 3 different formats
> for 3 different prices. For instance, video tapes that come in PAL, NTSC,
> and one other format need to have different prices in my database. Thanks
> for any suggestions.
>
Sure, you need to make a field in your products database, like 'format'.
Then lookup in the docs how to use a product modifier. This will show you
not only how to generate the drop downs for the format but also how to
change the pricing, you'll have a base cost and then if they pick a
different format it will change the price. Good luck.
-Ron
From: interchange-users at lists.akopia.com (Caleb Crome)
Date: Tue Jun 5 15:27:00 2001
Subject: [ic] Same product, different prices?
Steven Behnke wrote:
> Is there a way that I can have 1 product that comes in 3 different formats
> for 3 different prices. For instance, video tapes that come in PAL, NTSC,
> and one other format need to have different prices in my database. Thanks
> for any suggestions.
I am terribly new to interchange, so correct me if I'm being an ignoramus,
but this seems exactly analogous to the Small, Medium, Large stuff for
T-shirts. Look at the 'simple' demo store, which is on ftp.akopia.com.
This shows examples of different pricing for different versions of the same
thing.
-Caleb
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Tue Jun 5 15:28:00 2001
Subject: [ic] Targetting a different frame with [accessories]
Anybody know how to set a target frame with the accessories tag that
generates links?
I want to specify a different frame as the target. Here is an example of
what I have now:
[accessories table=name column=col_name type=links key=sku]
Producing:
<a href="complicatedpagename.html">$10.99</a>
How do I add the 'target=frame' attribute to that HTML tag using
accessories? Is it possible?
Thanks in advance,
Tim
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Tue Jun 5 15:54:01 2001
Subject: [ic] Targetting a different frame with [accessories]
On Tue, Jun 05, 2001 at 03:38:50PM -0400, Tim Mirecki wrote:
> Anybody know how to set a target frame with the accessories tag that
> generates links?
>
If you just want to add a target, you can do it with the 'extra' parameter:
[accessories table=name column=col type=links key=sku extra="target=frame"]
If you really want to get complex there is even a 'template' parameter you can
use to specify how the HTML should be generated.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Steve & Patti Getzinger)
Date: Tue Jun 5 16:04:01 2001
Subject: [ic] Apache Config Question
Also follow the thread. The result from the below stated message is
broken images. The next message in the thread lists how to fix that
problem.
Steve
Jonathan Clark wrote:
>
> >
> > Whats the best way to setup apache w/interchange, so that my root dir is
> > actually my IC CGI?
> >
> > What I want is http://my.server.com/ to correspond to the IC cgi.
> >
>
> have you looked in the mailing list archive?
>
> http://developer2.akopia.com/archive/interchange-users/2000/msg06723.html
>
> Jonathan
> Webmaint.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (John Beima)
Date: Tue Jun 5 16:21:01 2001
Subject: [ic] SSL Errors
Basicly Dan, you have three variables....
__SERVER_NAME__
__SECURE_SERVER__
__IMAGE_DIR__
An image loaded off of the regular server is done by:
<IMG SRC="http://__SERVER_NAME____IMAGE_DIR__/image.gif">
An image loaded off of the SSL server is done by:
<IMG SRC="__SECURE_SERVER____IMAGE_DIR__/image.gif">
Given __IMAGE_DIR__ = /images...
Unless the two servers root directories are the same the /images will look at
two different places in two different directories...
So what we do is on the main server we add one level... Instead of it being
/images off of the document root we change it to one level deaper to
/site/images off of the main server....
Now on the SSL we add a /site link back to the /site/images directory in the
main server, effectly linking the two servers image directoies togeither..
This way either a www.domain.com/site/images or ssl.domain2.com/site/images wind
up in the same directory on the hard drive...
The reason we don't just link the /images togeither is most likely you want your
SSL server to have it's own private /images directory, so to avoid confusion we
move the other one, one level deaper in the tree...
I hope that helps...
John
Quoting Dan McFarland <dan@mailturtle.com>:
> Sorry...
>
> but in english now? :)
>
> I have an NT brain and am still learing Linux. What you just said made
> sense, but I am not sure how to do it all.
>
> Dan
>
>
> ----- Original Message -----
> From: John Beima <jbeima@palb.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Monday, June 04, 2001 11:52 AM
> Subject: Re: [ic] SSL Errors
>
>
> > This has an easy little work around...
> >
> > Change your IMAGE_DIR variable from /images to /site/images then make
> a
> syn link
> > from your SSL server to the base HTML directory called site... Then
> make a
> > sub-directory in your base html directory called site. Then go into
> the
> site
> > sub-directory and make a sym link tothe images directory from there...
> >
> > Wa La...
> >
> >
> > Quoting Dan McFarland <dan@mailturtle.com>:
> >
> > > When a user goes to the secure pages, the images appear as broken
> links.
> > > What can I do to correct this?
> > >
> > > Thanks!
> > >
> > > Dan
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> > John Beima
> > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> >
> > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> >
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (John Beima)
Date: Tue Jun 5 16:23:01 2001
Subject: [ic] Apache Config Question
Using that solution will also cause many seach engines to reject your
submission... Most search engines will NOT accept sites that are re-diretected
or re-written...
Quoting Steve & Patti Getzinger <steveandpatti@wubs.org>:
> Also follow the thread. The result from the below stated message is
> broken images. The next message in the thread lists how to fix that
> problem.
>
> Steve
>
>
> Jonathan Clark wrote:
> >
> > >
> > > Whats the best way to setup apache w/interchange, so that my root
> dir is
> > > actually my IC CGI?
> > >
> > > What I want is http://my.server.com/ to correspond to the IC cgi.
> > >
> >
> > have you looked in the mailing list archive?
> >
> >
> http://developer2.akopia.com/archive/interchange-users/2000/msg06723.html
> >
> > Jonathan
> > Webmaint.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Vagel)
Date: Tue Jun 5 16:24:00 2001
Subject: [ic] Decimal calculation problem
This is a multi-part message in MIME format.
------=_NextPart_000_0034_01C0EDEC.9E084220
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello everyone,
I'm using Interchange V4.6.1on Linux 7.0 with MySQL-3.23.28 and Perl =
5.6.0-9.
I just try to perform some simple calculations using decimals like for =
example:
[calc]100*1.5[/calc] which gives me 100 in state of 150!
Of course the system multiplies only 100 * 1 leaving the number after =
the decimal.
Same if i'm doint [calc]100*6.5[/calc] this gives me 600 instead of 650.
Has anyone any idea on what i'm doint wrong?
Thanks in advance
Cheers
Vagel
------=_NextPart_000_0034_01C0EDEC.9E084220
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello everyone,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm using Interchange V4.6.1on Linux =
7.0=20
with MySQL-3.23.28 and Perl 5.6.0-9.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I just try to perform some simple =
calculations=20
using decimals like for example:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>[calc]100*1.5[/calc] which gives me 100 =
in state of=20
150!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Of course the system multiplies only =
100 * 1=20
leaving the number after the decimal.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Same if i'm doint [calc]100*6.5[/calc] =
this gives=20
me 600 instead of 650.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Has anyone any idea on what i'm doint=20
wrong?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Cheers</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Vagel</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0034_01C0EDEC.9E084220--
From: interchange-users at lists.akopia.com (Kaare Rasmussen)
Date: Tue Jun 5 16:41:01 2001
Subject: [ic] Menu problem
Trying to duplicate the admin menu, I copy icmenu.txt to fmmenu.txt with this
content:
code mgroup msort next_line indicator exclude_on depends_on page form name
super inactive special help_name img_dn img_up img_sel img_icon url
0001 Top 01 Contact contact freemoney/customerList Contact View and
manage contact information, customers, addresses icon_customer.gif
0002 Top 02 Product product freemoney/articleList Products View and
manage product information icon_people.gif
0003 Top 03 Sales Order order freemoney/soList Orders Manage orders,
invoices icon_item.gif
0004 Top 04 General Ledger ledger freemoney/batchList Ledger Create,
edit journal entries and account information icon_pages.gif
0005 Top 05 Admin admin freemoney/owner Admin Maintain system and owner
information icon_design.gif
0010 Admin 01 admin/genconfig Info
0011 Contact 01 freemoney/customerList Customer
0012 Contact 02 freemoney/nogetandet Noget
I add a line in the catalog.cfg:
Database fmmenu fmmenu.txt gdbm
So I can see the Top level menu.
But the next level will not show!
This piece of code:
[loop
prefix=sm
search="[scratch fm_menu_sparams]"
safe_data=1
]
Returns no lines. I can't see the difference from icmenu
fm_menu_sparams is initialized thus:
my $sparams = <<EOF;
fi=@_FM_MENU_TABLE_@
st=text
rf=*
co=yes
tf=msort
sf=mgroup
se=$fm_tag
op=rm
And in ui.cfg: Variable FM_MENU_TABLE fmmenu
--
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@webline.dk
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Tue Jun 5 16:42:00 2001
Subject: [ic] Decimal calculation problem
On Tue, Jun 05, 2001 at 06:23:28PM +0200, Vagel wrote:
> Hello everyone,
>
> I'm using Interchange V4.6.1on Linux 7.0 with MySQL-3.23.28 and Perl 5.6.0-9.
> I just try to perform some simple calculations using decimals like for example:
>
> [calc]100*1.5[/calc] which gives me 100 in state of 150!
>
This appears to be fixed in 4.7, as I can't reproduce it there. Whatever the
cause is you can probably fix it by making the calc a bit more specific, try
something like this:
[calc]return(100*1.5);[/calc]
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Tue Jun 5 16:46:00 2001
Subject: [ic] Apache Config Question
On Tue, Jun 05, 2001 at 02:25:32PM -0600, John Beima wrote:
> Using that solution will also cause many seach engines to reject your
> submission... Most search engines will NOT accept sites that are re-diretected
> or re-written...
>
Sorry, but this is not true, unless you explicitly tell it to do redirects,
Apache rewrites are internal, there is no way for a search engine to tell
that the url was rewritten.
>
> Quoting Steve & Patti Getzinger <steveandpatti@wubs.org>:
>
> > Also follow the thread. The result from the below stated message is
> > broken images. The next message in the thread lists how to fix that
> > problem.
> >
> > Steve
> >
> >
> > Jonathan Clark wrote:
> > >
> > > >
> > > > Whats the best way to setup apache w/interchange, so that my root
> > dir is
> > > > actually my IC CGI?
> > > >
> > > > What I want is http://my.server.com/ to correspond to the IC cgi.
> > > >
> > >
> > > have you looked in the mailing list archive?
> > >
> > >
> > http://developer2.akopia.com/archive/interchange-users/2000/msg06723.html
> > >
> > > Jonathan
> > > Webmaint.
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Tue Jun 5 16:48:00 2001
Subject: [ic] Dead Payment Options appears again !
Hi all !
In page "account.html" exists a option about
the payment method.
The original source is:
[display type=select table=userdb
column=fax_order key="[data session username]"]
The doubt is:
Why when a user will create a new account (for
the first time), this options displays 3
methods: Credit Card, Fax or Mail, COD and
Purchase Order ?
Note: I disable all the methods above. The
unique method that I maintain is Purchase Order.
In this case, why to appear all the others
methods, that I was disable ?
Thanks !
Sds,
::: Samir G. Barak :::::::::::::::::::::::::
From: interchange-users at lists.akopia.com (Vlad S.)
Date: Tue Jun 5 17:11:01 2001
Subject: [ic] Decimal calculation problem
4.6.5 does not seem to have that problem either...
----- Original Message -----
From: "Jason Kohles" <jkohles@redhat.com>
To: <interchange-users@developer.akopia.com>
Sent: Tuesday, June 05, 2001 3:33 PM
Subject: Re: [ic] Decimal calculation problem
> On Tue, Jun 05, 2001 at 06:23:28PM +0200, Vagel wrote:
> > Hello everyone,
> >
> > I'm using Interchange V4.6.1on Linux 7.0 with MySQL-3.23.28 and Perl
5.6.0-9.
> > I just try to perform some simple calculations using decimals like for
example:
> >
> > [calc]100*1.5[/calc] which gives me 100 in state of 150!
> >
> This appears to be fixed in 4.7, as I can't reproduce it there. Whatever
the
> cause is you can probably fix it by making the calc a bit more specific,
try
> something like this:
>
> [calc]return(100*1.5);[/calc]
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Orphon Soul, Inc.)
Date: Tue Jun 5 17:50:00 2001
Subject: [ic] Authorize.net set up
I have an acct with interserver.net that uses this shopping cart.
Now how do I get it "attached" to my authorize.net acct? I want it
to do "real time" processing. Thank you :)
Angela
--
ORPHON SOUL, Inc.
61 East 8th Street, #380
New York, NY 10003
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 5 18:11:01 2001
Subject: [ic] Dead Payment Options appears again !
Quoting Samir G. Barak (samir@tecnohost.com.br):
>
> Hi all !
>
> In page "account.html" exists a option about
> the payment method.
>
> The original source is:
>
> [display type=select table=userdb
> column=fax_order key="[data session username]"]
>
>
> The doubt is:
>
> Why when a user will create a new account (for
> the first time), this options displays 3
> methods: Credit Card, Fax or Mail, COD and
> Purchase Order ?
>
> Note: I disable all the methods above. The
> unique method that I maintain is Purchase Order.
>
> In this case, why to appear all the others
> methods, that I was disable ?
>
The payment enable method in the UI that I *think* you are referring
to doesn't reach to the new_account page. It only affects the checkout
page.
It would take editing the userdb metadata entry for the fax_order
form, which controls this. Or you can just eliminate the box since
the user has no choice.
--
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 lists.akopia.com (Dan B)
Date: Tue Jun 5 18:49:00 2001
Subject: [ic] Newbie question : Porting a catalog
At 05:42 PM 6/5/2001 +0200, you wrote:
>Here's my simple question, if i install and make a catalog on a test
>serveur, can i easily port the catalog to a different server ( with the same
>version of IC of course ) ?
Yes.
>And if yes how can i do that ?
>only copy directory with subs and chown and chgrep ?
That's mostly it. Usually modify the catalog.cfg a little (database &
hostname changes, etc.), add 1 line to the interchange.cfg, and 'cp -a' a
cgi-bin/storename file and that's it. It's quite easy.
BTW, chown $USERNAME.$GROUPNAME works too -- saves the extra chgrp command.
>Other one, should i try to build my catalogs with the latest officiel akopia
>: 4.6.5
>or use a 4.7.x ?
Good question. If you are building a catalog from the ground up, start
with 4.7 (the daemon itself is as stable as a rock). But if you plan on
starting with the template provided, then 4.7.x might be a little riskier
than 4.6 (bugs in the 4.7 catalog are still being fixed, but maybe most of
the big ones are gone by now). If you plan on working on it for 1-2 months
before release, then 4.7.x is a safe bet.
IMHO, of course.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Tue Jun 5 18:56:00 2001
Subject: [ic] NEED HELP ON WHOLESALE (Dealer And Distributor)
Re: [ic] NEED HELP ON EYESIGHT (Nearsighted and Farsighted)
HELP! I can't see very well and I have to write with CAPS LOCK on. I'm
sorry if it is considered rude and inconsiderate to scream, but I'm hard of
hearing too!
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
PS. Humor impaired need not reply
From: interchange-users at lists.akopia.com (Dan B)
Date: Tue Jun 5 19:02:00 2001
Subject: [ic] Need help
At 10:01 AM 6/5/2001 -0700, you wrote:
>I have installed Interchange from rpm and from
>source.
I don't see how your Central Air System (or, "Interchange" as you call it)
has any bearing on the rest of your email.
>But no matter what I do I get know images
>for construct at all.
I have a lot of sympathy for you. I know how hard it is to get to know the
images for construct. I have been talking to them for almost a year now
and they never seem to open up to me. I've even asked them about their
personal lives and they still do not reply.
Keep trying, one day the images will come out of their shell and you can
get to know them.
>Even in the admin side all
>I get is boxes.
Your condition isn't abnormal. Freud has hypothesized that the "all I get
is boxes" syndrome stems from the rejection that you felt as a child from
your mother, resulting in a "boxed-in" feeling.
>How do I trouble shoot this. Need
>this to work.
Good psychotherapists or psychiatrists are hard to find, I know. But ask
friends and family for good references.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
PS. Sorry, my last attempt at humor for the day.
From: interchange-users at lists.akopia.com (Dan B)
Date: Tue Jun 5 19:08:00 2001
Subject: [ic] Apache Config Question
At 04:36 PM 6/5/2001 -0400, you wrote:
>On Tue, Jun 05, 2001 at 02:25:32PM -0600, John Beima wrote:
> > Using that solution will also cause many seach engines to reject your
> > submission... Most search engines will NOT accept sites that are
> re-diretected
> > or re-written...
> >
>Sorry, but this is not true, unless you explicitly tell it to do redirects,
>Apache rewrites are internal, there is no way for a search engine to tell
>that the url was rewritten.
True. Another solution is to generate a static home page periodically in
your root dir. This has the added side benefit of increasing the speed of
loading your home page (regular Apache tuning, etc.). But of course,
disallows interchange fun for your home page.
HTH,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 5 20:02:01 2001
Subject: [ic] Apache Config Question
On Tue, Jun 05, 2001 at 04:08:57PM -0700, Dan B wrote:
> At 04:36 PM 6/5/2001 -0400, you wrote:
> >On Tue, Jun 05, 2001 at 02:25:32PM -0600, John Beima wrote:
> > > Using that solution will also cause many seach engines to reject your
> > > submission... Most search engines will NOT accept sites that are
> > re-diretected
> > > or re-written...
> > >
yes and no. Some of the older search engines don't like it but
the newer ones, including google, work just fine.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Australian NetLink)
Date: Tue Jun 5 20:36:00 2001
Subject: [ic] Is minivend site down?
Hi,
I have tried for two days to get into minivend site but no luck.
Is there any problem with the server?
Kathy from
Australian Netlink
-------------------------------------
A u s t r a l i a n N e t L i n k
Phone: (03) 9690 0660
Fax: (03) 9690 0668
Email: web@netlink.com.au
Website: www.netlink.com.au
-------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Tue Jun 5 20:42:00 2001
Subject: [ic] Products Options Again !!!
On Mon, 4 Jun 2001, Samir G. Barak wrote:
SGB>>I still today wrote to ask about the options of a product.
SGB>>I already got to solve. But now I still have worse a problem.
SGB>>I will try to explain. I got to attribute to my product SHOE,
SGB>>the red color that costs 5.00 and the blue color that it
SGB>>costs 10.00.
SGB>>If a buyer buys my SHOE that costs 20.00, and he chooses the
SGB>>blue color, he will pay the total of 30.00.
SGB>>This this correct one. But if he buys 2 SHOES with the blue
SGB>>color, he will pay 60.00. This also this certain.
SGB>>But I need to know if exists some way it's had of doing different:
SGB>>the buyer to buy the 2 SHOES, and only to pay 1 color.
SGB>>So: 40.00 of the 2 SHOES, and 10.00 of the blue color
SGB>>(and not 20.00, of the color blue + blue).
The quick way out (in my mind) is to use a different SKU and a different
catalog entry for red and blue, and any other colors you have.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 05, 2001 at 20:40 PM:
I is knot dain bramaged!
----------------------------------------------------------------
This Linux System has been up 359 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Tue Jun 5 20:47:00 2001
Subject: [ic] Asterisk(*), and selected item needed in select menu
On Tue, 5 Jun 2001, Tim Watts wrote:
TW>>I am presently setting up a store in which the owner uses an asterisk(*) to
TW>>identify special order options in the options select pulldowns, specifically
TW>>musical keys for harmonicas. [ic] uses (*) to identify the selected item in
TW>>a comma sep list. Is there an easy way to escape this, or should I just talk
TW>>my client into using some other identifier.
I recommend that you figure out some other character. The asterisk (*)
has some heavy meanings through out most operating systems. It's too
easy for it to be interpreted as a wild card and thus to screw up what
you are trying to do.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 05, 2001 at 20:45 PM:
CODING: AN addictive Drug.
----------------------------------------------------------------
This Linux System has been up 359 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Tue Jun 5 20:57:00 2001
Subject: [ic] Need help
On Tue, 5 Jun 2001, Richard Eicher II wrote:
REI>>I have installed Interchange from rpm and from
REI>>source. But no matter what I do I get know images
REI>>for construct at all. Even in the admin side all
REI>>I get is boxes. How do I trouble shoot this. Need
REI>>this to work.
I ran in to the same problem when I first installed construct.
It's easy to troubleshoot. The images directory is in the wrong place.
You need to either move it, or link it to where the store software
wants to find it.
I had it fixed in a matter of moments by creating a link.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 05, 2001 at 20:55 PM:
Set laser printers to "stun".
----------------------------------------------------------------
This Linux System has been up 359 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Tue Jun 5 21:02:01 2001
Subject: [ic] Same product, different prices?
On Tue, 5 Jun 2001, Steven Behnke wrote:
SB>>Is there a way that I can have 1 product that comes in 3 different formats
SB>>for 3 different prices. For instance, video tapes that come in PAL, NTSC,
SB>>and one other format need to have different prices in my database. Thanks
SB>>for any suggestions.
The cleanest way is to have separate SKUs for each one. That way, when
you are processing the order there is no doubt in your mind about what
the customer thought that he was ordering.
Originally I tried to have a few SKU's and lots of options for each
one. It's simpler for everyone to understand when you assign each item
a separate SKU. 10,000 SKU's are the same price as 100 :-)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 05, 2001 at 21:00 PM:
Useless Invention: Muffler Bearings.
----------------------------------------------------------------
This Linux System has been up 359 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (utomo)
Date: Tue Jun 5 21:55:00 2001
Subject: [ic] Bugs ?
Hi,
Date: Tue, 5 Jun 2001 08:44:06 -0400
From: Jason Kohles <jkohles@redhat.com>
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Bugs ?
Reply-To: interchange-users@lists.akopia.com
On Tue, Jun 05, 2001 at 08:43:15AM +0700, utomo wrote:
>The developer site is being updated and apparently the wishlist has
>been removed for now.
Thanks for your info. better to take it for a moment.
>And nearly all of those bugs are in the development version, which is to be
>expected from software that isn't finished yet. I don't think anyone wants
>us to get the bug list down to 0, since the only way to do that would be to
>stop adding new features to Interchange and just give you version 4.6 for
>the rest of your life.
I understand now. Better to separate it from bugs of last stable version,
and bugs which belong to development version. If not this will make people
confuse.
>> Other things is:
>> - I hope Interchange can provide Interchange for Win, Not only *nix. I
>> believe still Many Win server around the world. So if Interchange
available
>> for Win, the name of the Interchange is real (Not Limited Interchange),
and
>> will be able to grab more target than before.
>Red Hat is primarily a linux company, and so the software they create is
for
>the most part linux software (you don't see Microsoft releasing versions of
>their software for linux do you?) The great thing about open source is
that
>if you want a windows version, nobody is stopping you from porting it.
This is one of the big different, between Microsoft and other company. Other
company make decission just by what they think (not what user think), by
proud or what they think at current time, but Microsoft is doing by what
customer/user think, and business strategy for long run.
I think many people still remember when Microsoft Include the Java VM in the
IE ( they will not include it anymore in IE 6/Win XP), and when they new
with Win 3.11 (still using DOS), and now they try to minimizing/eliminating
DOS, when they new with Internet they follow other people standard, but when
they dominating the browser they try to make a rules/standard. and many
other things. (But this is not same with I suggest you to do a same strategy
as Microsoft).
- This is little bit different, Red Hat Interchange is Red Hat products, why
you releasing version for Suse, Mandrake, etc ?
my 2 cents please consider again this.
>> - Also if possible please just provide one package for all, not like now
we
>> have RPM for Red Hat Linux 7; an RPM for Red Hat Linux 6 and Linux
Mandrake;
>> and Debian GNU/Linux packages.
>Hate to disappoint you, but this is fundamentally impossible. If you are
using
>Red Hat Linux, you need RPMs, if you are using Debian you need Debian
packages,
>the alternative to doing it this way is to distribute only the .tar.gz file
and
>make everyone compile and install it themselves, if you would prefer that,
the
>.tar.gz is available for you.
This is also one of the problem of the Linux Vs Microsoft.
All Linux companies/guys did not working together with good strategy to
Improve Linux, but they work in their own strategy.
If people must have many version for each software, this will become a
problem (even only small problem).
After so long time, just not so ling time ago Linux realize this.
- Now the important things for Linux: Driver , Development tools, and
Training. Installation and GUI is almost OK.
> If you review the mailing list you will also see that there is a lot of
work
> going into improving the documentation, in fact we have a full time
technical
> writer doing nothing but documentation. Docs don't appear overnight, they
> take work.
Thanks. and Please add more Q&A/FAQ. any estimation schedule ?
> Interchange supports several payment providers, and 4.8 will support even
> more since the payment processing has been completely rewritten. The cost
> of the provider is between you and your processor, we don't have anything
> to do with what they charge you.
Thanks
I talking the cost Red Hat asking/charge to that company (processor), if you
asking too high: not so much company will interest. I think we must do a Win
Win solution, if the provider is new/not popular you can charge more, but if
the provider is popular, maybe you can negotiate the cost, because they will
add your selling point.
(These are just my personal opinions, I don't speak officially for Red Hat)
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
(These are just my personal opinions, I don't speak officially for Red Hat,
Microsoft or any other company :) )
Best Regards,
Utomo
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Tue Jun 5 22:36:00 2001
Subject: [ic] Bugs ?
On 06 Jun 2001 08:59:06 +0700, utomo wrote:
> Hi,
>
> Date: Tue, 5 Jun 2001 08:44:06 -0400
> From: Jason Kohles <jkohles@redhat.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Bugs ?
> Reply-To: interchange-users@lists.akopia.com
>
> On Tue, Jun 05, 2001 at 08:43:15AM +0700, utomo wrote:
> >The developer site is being updated and apparently the wishlist has
> >been removed for now.
>
> Thanks for your info. better to take it for a moment.
>
> >And nearly all of those bugs are in the development version, which is to be
> >expected from software that isn't finished yet. I don't think anyone wants
> >us to get the bug list down to 0, since the only way to do that would be to
> >stop adding new features to Interchange and just give you version 4.6 for
> >the rest of your life.
>
> I understand now. Better to separate it from bugs of last stable version,
> and bugs which belong to development version. If not this will make people
> confuse.
>
> >> Other things is:
> >> - I hope Interchange can provide Interchange for Win, Not only *nix. I
> >> believe still Many Win server around the world. So if Interchange
> available
> >> for Win, the name of the Interchange is real (Not Limited Interchange),
> and
> >> will be able to grab more target than before.
>
> >Red Hat is primarily a linux company, and so the software they create is
> for
> >the most part linux software (you don't see Microsoft releasing versions of
> >their software for linux do you?) The great thing about open source is
> that
> >if you want a windows version, nobody is stopping you from porting it.
>
> This is one of the big different, between Microsoft and other company. Other
> company make decission just by what they think (not what user think), by
> proud or what they think at current time, but Microsoft is doing by what
> customer/user think, and business strategy for long run.
> I think many people still remember when Microsoft Include the Java VM in the
> IE ( they will not include it anymore in IE 6/Win XP), and when they new
> with Win 3.11 (still using DOS), and now they try to minimizing/eliminating
> DOS, when they new with Internet they follow other people standard, but when
> they dominating the browser they try to make a rules/standard. and many
> other things. (But this is not same with I suggest you to do a same strategy
> as Microsoft).
> - This is little bit different, Red Hat Interchange is Red Hat products, why
> you releasing version for Suse, Mandrake, etc ?
> my 2 cents please consider again this.
>
Microsoft does not make decisions based on the consumer's needs/wants. If you
look at their track record, every decision made is about the bottom line. Take the
proposed changes in the licensing on the next round of products. To re-install
you will have to call Microsoft to get a new #. Talk about a pain in the *ss. Try having
to do a complete format/install and having to wait on hold for 30 mins while folks are
needing their system up and going. As far as their adherence to W3C's HTML standards goes,
it's one of the worst out. Again, MS is far less interested in 'playing ball' with others
than it is making them buy their brand of the ball.
I am not speaking for the folks at Red Hat but IMHO, the reason behind releasing Interchange
for the various flavors of linux is quite simple: It's all linux.
>
> >> - Also if possible please just provide one package for all, not like now
> we
> >> have RPM for Red Hat Linux 7; an RPM for Red Hat Linux 6 and Linux
> Mandrake;
> >> and Debian GNU/Linux packages.
>
> >Hate to disappoint you, but this is fundamentally impossible. If you are
> using
> >Red Hat Linux, you need RPMs, if you are using Debian you need Debian
> packages,
> >the alternative to doing it this way is to distribute only the .tar.gz file
> and
> >make everyone compile and install it themselves, if you would prefer that,
> the
> >.tar.gz is available for you.
>
> This is also one of the problem of the Linux Vs Microsoft.
> All Linux companies/guys did not working together with good strategy to
> Improve Linux, but they work in their own strategy.
> If people must have many version for each software, this will become a
> problem (even only small problem).
> After so long time, just not so ling time ago Linux realize this.
> - Now the important things for Linux: Driver , Development tools, and
> Training. Installation and GUI is almost OK.
>
This is the area that is truly holding linux back. A lack of a set of
standards that as been agreed upon and adhered to by software
developers. Things are much better now that even a year or two ago, but
still far from good. Keep in mind, it's much easier to define standards
when one company (Microsoft) dominates the market.
>
> > If you review the mailing list you will also see that there is a lot of
> work
> > going into improving the documentation, in fact we have a full time
> technical
> > writer doing nothing but documentation. Docs don't appear overnight, they
> > take work.
>
> Thanks. and Please add more Q&A/FAQ. any estimation schedule ?
>
> > Interchange supports several payment providers, and 4.8 will support even
> > more since the payment processing has been completely rewritten. The cost
> > of the provider is between you and your processor, we don't have anything
> > to do with what they charge you.
>
> Thanks
> I talking the cost Red Hat asking/charge to that company (processor), if you
> asking too high: not so much company will interest. I think we must do a Win
> Win solution, if the provider is new/not popular you can charge more, but if
> the provider is popular, maybe you can negotiate the cost, because they will
> add your selling point.
>
Red Hat does not provide credit card processing services (CCVS not
withstanding). Maybe partnerships with some of the companies could
benefit the further development of Interchange, but then you get into a
whole new can of worms. How would they charge for such? There have
been several modules written by folks that have no affiliation with Red
Hat or Interchange. If RH started profiting directly from the work that
these folks have put into this, some noses might get bent out of shape.
This goes back to the conundrum that is Open Source software. How to
make money from free software.
These are my opinions after a day of developing with interchange. They
may or may not make any sense, or even have a basis in reality. I just
had to put my .02 worth in on this.
Matt
> (These are just my personal opinions, I don't speak officially for Red Hat)
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
>
> (These are just my personal opinions, I don't speak officially for Red Hat,
> Microsoft or any other company :) )
>
> Best Regards,
>
>
> Utomo
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Tue Jun 5 23:26:00 2001
Subject: [ic] Category select box not working in 4.6.5
The category select box in the items submenu of Interchange 4.6.5
doesn't seem to be working. In the default configuration if you attempt
to edit an item (with no metaview) there isn't even an entry listed for
the category. You can actually see this in the Demo 2 store at
demo.akopia.com.
It does seem to be working in the Demo 3 store but I'm not sure I'm
comfortable with using a prerelease version of the code in a production
environment (especially not to just fix one problem).
Has anyone else encountered this problem and is there a solution to it?
I searched the archives but I was unable to find anything that seemed
appropriate or that worked.
I'm guessing it might just be a configuration issue in the meta display
for the category widget *but* I can't find a combination that will give
me a select box. I can get a textbox with the correct name in there but
even that isn't following the meta values.
Any clue would be appreciated.
From: interchange-users at lists.akopia.com (Vagel)
Date: Wed Jun 6 01:41:00 2001
Subject: [ic] Decimal calculation problem
Thank you for the answer Jason and Vlad.
Unfortunatelly, I tried [calc]return(100*1.5);[/calc] but this still gave me
100...
Finally I worked it out by doing [calc]return(100*15/10);[/calc] which of
course is not a real solution but just sufficient untill to be ready to try
an upgrade to version 4.6.5 or 4.7 - not that simple having on line shops
;-)
Thanks again and have a nice day
Vagel
>Date: Tue, 5 Jun 2001 16:33:20 -0400
>From: Jason Kohles <jkohles@redhat.com>
>To: interchange-users@developer.akopia.com
>Subject: Re: [ic] Decimal calculation problem
>Reply-To: interchange-users@lists.akopia.com
>On Tue, Jun 05, 2001 at 06:23:28PM +0200, Vagel wrote:
> Hello everyone,
>
> I'm using Interchange V4.6.1on Linux 7.0 with MySQL-3.23.28 and Perl
5.6.0-9.
> I just try to perform some simple calculations using decimals like for
example:
>
> [calc]100*1.5[/calc] which gives me 100 in state of 150!
>
>This appears to be fixed in 4.7, as I can't reproduce it there. Whatever
the
>cause is you can probably fix it by making the calc a bit more specific,
try
>something like this:
>[calc]return(100*1.5);[/calc]
>--
>Red Hat E-Business Solutions Jason Kohles
>11480 Sunset Hills Road Senior System Architect
>Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (John Beima)
Date: Wed Jun 6 02:21:01 2001
Subject: [ic] NEED HELP ON WHOLESALE (Dealer And Distributor)
G'Day Dan,
I just wanted to thank you for the laugh! I needed that good chuckle while I am
sitting here working...
John
Quoting Dan B <db@cyclonehq.dnsalias.net>:
>
> Re: [ic] NEED HELP ON EYESIGHT (Nearsighted and Farsighted)
>
> HELP! I can't see very well and I have to write with CAPS LOCK on. I'm
>
> sorry if it is considered rude and inconsiderate to scream, but I'm hard
> of
> hearing too!
>
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
> PS. Humor impaired need not reply
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (David Bordas)
Date: Wed Jun 6 02:27:00 2001
Subject: [ic] Newbie question : Porting a catalog
Ok thanks for that,
My Akopia web store is planned to be opened in september, so i think i ll
try 4.7 but i need a catalog to begin, i'm quite a newbie in IC at the
moment.
Regards
David BORDAS
----- Original Message -----
From: "Dan B" <db@cyclonehq.dnsalias.net>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 06, 2001 12:50 AM
Subject: Re: [ic] Newbie question : Porting a catalog
> At 05:42 PM 6/5/2001 +0200, you wrote:
> >Here's my simple question, if i install and make a catalog on a test
> >serveur, can i easily port the catalog to a different server ( with the
same
> >version of IC of course ) ?
>
> Yes.
>
> >And if yes how can i do that ?
> >only copy directory with subs and chown and chgrep ?
>
> That's mostly it. Usually modify the catalog.cfg a little (database &
> hostname changes, etc.), add 1 line to the interchange.cfg, and 'cp -a' a
> cgi-bin/storename file and that's it. It's quite easy.
>
> BTW, chown $USERNAME.$GROUPNAME works too -- saves the extra chgrp
command.
>
> >Other one, should i try to build my catalogs with the latest officiel
akopia
> >: 4.6.5
> >or use a 4.7.x ?
>
> Good question. If you are building a catalog from the ground up, start
> with 4.7 (the daemon itself is as stable as a rock). But if you plan on
> starting with the template provided, then 4.7.x might be a little riskier
> than 4.6 (bugs in the 4.7 catalog are still being fixed, but maybe most of
> the big ones are gone by now). If you plan on working on it for 1-2
months
> before release, then 4.7.x is a safe bet.
>
> IMHO, of course.
>
> Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (utomo)
Date: Wed Jun 6 06:18:01 2001
Subject: [ic] Bugs ?
> Subject: Re: [ic] Bugs ?
> From: Matthew Schick <matt@brightredproductions.com>
> To: interchange-users@developer.akopia.com
> Date: 05 Jun 2001 21:40:40 -0500
> Reply-To: interchange-users@lists.akopia.com
> >
>
> Microsoft does not make decisions based on the consumer's
> needs/wants. If you
> look at their track record, every decision made is about the
> bottom line. Take the
> proposed changes in the licensing on the next round of products.
> To re-install
> you will have to call Microsoft to get a new #. Talk about a
> pain in the *ss. Try having
> to do a complete format/install and having to wait on hold for 30
> mins while folks are
> needing their system up and going. As far as their adherence to
> W3C's HTML standards goes,
> it's one of the worst out. Again, MS is far less interested in
> 'playing ball' with others
> than it is making them buy their brand of the ball.
>
Yes, Now Microsoft did not so much consider about what consumers need.
because now they try to controling us. This is different with Old Microsoft
which trying to follow what user want. What user want mainly is Easy of use
(installation and Operation) > and windows fullfill this enough, and next
one is standard, when they did not have so many user yet (real user, not
just people want to try) they follow existing standard, and trying to
improve it, and step by step they controlling that standard.
I know this is not the right place to post this, but just for your info
In my country people can "get" CD of sofware from Microsoft (Win 95,97, 98,
98SE, me, 2000 and Linux, etc) less than $2. But still many people using Win
98, instead of Win me or 2000 or Linux.
Some of the reason is easy of use (compare to Linux, especially
installation), Stable (compare to Win me (but I know that Linux more
stable), Many course, books, resources about Win 98 (instead of 2000 or
Linux, and because people use it for long time, they feel addicted, or lazy
to learn about new things (Linux).
I hope I will use Red Hat 8 soon (which much easier and better than RH 7.1,
but not so heavy as SUSE 8)
> I am not speaking for the folks at Red Hat but IMHO, the reason
> behind releasing Interchange
> for the various flavors of linux is quite simple: It's all linux.
>
> This is the area that is truly holding linux back. A lack of a set of
> standards that as been agreed upon and adhered to by software
> developers. Things are much better now that even a year or two ago, but
> still far from good. Keep in mind, it's much easier to define standards
> when one company (Microsoft) dominates the market.
>
My point is because even in same RH, we must have package for RH 6, RH 7 ,
or maybe 8 :(
> >
> >
>
> Red Hat does not provide credit card processing services (CCVS not
> withstanding). Maybe partnerships with some of the companies could
> benefit the further development of Interchange, but then you get into a
> whole new can of worms. How would they charge for such? There have
> been several modules written by folks that have no affiliation with Red
> Hat or Interchange. If RH started profiting directly from the work that
> these folks have put into this, some noses might get bent out of shape.
> This goes back to the conundrum that is Open Source software. How to
> make money from free software.
>
Many way to make money from free software. Look what RH/other Linux company
offer it to companies. you will know.
> These are my opinions after a day of developing with interchange. They
> may or may not make any sense, or even have a basis in reality. I just
> had to put my .02 worth in on this.
>
> Matt
>
>
Best Regards,
Utomo
From: interchange-users at lists.akopia.com (Brett Hooker)
Date: Wed Jun 6 08:43:01 2001
Subject: [ic] Can't locate object method "dup"
This is a multi-part message in MIME format.
--------------5EB9A869F80B5460457942C2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
http://developer2.akopia.com/archive/interchange-users/2001/msg03098.html
Was there a resolution to this?
I have exactly the same error on check out, and have the same error in
my error.log.
Thanks,
Brett
--------------5EB9A869F80B5460457942C2
Content-Type: text/html; charset=us-ascii;
name="msg03098.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="msg03098.html"
Content-Base: "http://developer2.akopia.com/archive/i
nterchange-users/2001/msg03098.html"
Content-Location: "http://developer2.akopia.com/archive/i
nterchange-users/2001/msg03098.html"
<!-- MHonArc v2.4.7 -->
<!--X-Subject: [ic] Can't locate object method "dup" -->
<!--X-From-R13: "Tenax Qevfbshyy" <spevfbshyyvNnpfvap-aw.pbz> -->
<!--X-Date: Fri, 30 Mar 2001 09:32:13 -0500 -->
<!--X-Message-Id: 004201c0b926$282e9090$0700a8c0@acsincnj.com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>[ic] Can't locate object method "dup"</TITLE>
<LINK REV="made" HREF="mailto:fcrisofulli@acsinc-nj.com">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<TABLE><TR><TD>
<A HREF="http://developer.akopia.com/cgi-bin/ic"><IMG SRC="/ic/images/navigation/logo.gif" ALT="Akopia" BORDER="0"></A>
</TD><TD>
<A HREF="http://www.akopia.com/"><IMG SRC="/ic/images/ads/akopia.gif" ALT="Akopia Services"></A>
</TD></TR></TABLE>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<hr>
[<a href="msg03097.html">Date Prev</a>][<a href="msg03099.html">Date Next</a>][<a href="msg03092.html">Thread Prev</a>][<a href="msg03099.html">Thread Next</a>][<a href="index.html#03098">Interchange by date
</a>][<a href="thrd63.html#03098">Interchange by thread
</a>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>[ic] Can't locate object method "dup"</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: <<A HREF="mailto:interchange-users@lists.akopia.com">interchange-users@lists.akopia.com</A>></li>
<li><em>Subject</em>: [ic] Can't locate object method "dup"</li>
<li><em>From</em>: "Frank Crisofull" <<A HREF="mailto:fcrisofulli@acsinc-nj.com">fcrisofulli@acsinc-nj.com</A>></li>
<li><em>Date</em>: Fri, 30 Mar 2001 09:31:46 -0500</li>
<li><em>List-Id</em>: Interchange Users (high volume) <interchange-users.lists.akopia.com></li>
<li><em>Reply-To</em>: <A HREF="mailto:interchange-users@lists.akopia.com">interchange-users@lists.akopia.com</A></li>
<li><em>Sender</em>: <A HREF="mailto:interchange-users-admin@lists.akopia.com">interchange-users-admin@lists.akopia.com</A></li>
</ul>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<hr>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Hi
I just purchased the interchange system. I have not made any changes to it.
I'm trying the checkout feature and any time I check out with at least 1
item in my basket i get the error below. Can any one tell me what is the
cause of this error is it bad software,install ...?.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, webmaster@acomputeredge.net 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.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.
----------------------------------------------------------------------------
----
Apache/1.3.17 Server at www.acomputeredge.net Port 80
This what was logged in the interchange error Log after the above error is
displayed.
151.198.146.77 o2ZrqR9v:151.198.146.77 - [30/March/2001:08:53:58 -0500]
acomp /~acomp/cgi-bin/cart.cgi/ord/checkout.html Runtime error:
Can't locate object method "dup" via package "SQL::Parser" at
/usr/local/cpanel/3rdparty/interchange/lib/SQL/Statement.pm line 379.
Thanks
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
<A HREF="http://lists.akopia.com/mailman/listinfo/interchange-users">http://lists.akopia.com/mailman/listinfo/interchange-users</A>
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg03097.html">Re: [ic] One store with many admins</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg03099.html">[ic] Images</a></strong>
</li>
<li>Prev by thread:
<strong><a href="msg03092.html">[ic] Please Unsubscribe.</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg03099.html">[ic] Images</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="index.html#03098"><strong>Date</strong></a></li>
<li><a href="thrd63.html#03098"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<form method="post" action="/cgi-bin/htsearch">
<font size=-1>
Search for: <input type="text" size="20" name="words" value="">
Match: <select name=method>
<option value=and>All
<option value=or>Any
</select>
Format: <select name=format>
<option value=builtin-long>Long
<option value=builtin-short>Short
</select>
Sort by: <select name=sort>
<option value=score>Score
<option value=time>Time
<option value=title>Title
<option value=revscore>Reverse Score
<option value=revtime>Reverse Time
<option value=revtitle>Reverse Title
</select>
<input type="submit" value="Search">
</font>
<input type=hidden name=config value=htdig>
<input type=hidden name=restrict value="">
<input type=hidden name=exclude value="">
</form>
<!--X-User-Footer-End-->
</body>
</html>
--------------5EB9A869F80B5460457942C2--
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Wed Jun 6 09:48:00 2001
Subject: [ic] Decimal calculation problem
Quoting Vagel (vagel@telaxion.com):
> Thank you for the answer Jason and Vlad.
>
> Unfortunatelly, I tried [calc]return(100*1.5);[/calc] but this still gave me
> 100...
> Finally I worked it out by doing [calc]return(100*15/10);[/calc] which of
> course is not a real solution but just sufficient untill to be ready to try
> an upgrade to version 4.6.5 or 4.7 - not that simple having on line shops
> ;-)
>
I am guessing your problem has to do with the locale; try
[calc] 100 * 1,5 [/calc] and see if that works like you would normally
expect. Normally, Interchange should ignore locale in that situation, but
I don't pretend to understand all aspects of locales and how they can apply
in all situations. It is possible we are within the scope of a "use locale"
in some situations.
--
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 lists.akopia.com (Jason Kohles)
Date: Wed Jun 6 09:51:01 2001
Subject: [ic] Can't locate object method "dup"
On Wed, Jun 06, 2001 at 10:43:58PM +1000, Brett Hooker wrote:
> http://developer2.akopia.com/archive/interchange-users/2001/msg03098.html
>
> Was there a resolution to this?
>
> I have exactly the same error on check out, and have the same error in
> my error.log.
>
I don't know that there was a resolution, but this probably indicates you
need to reinstall the SQL::Statement module, the dup function is implemented
in XS (compiled C linked to a perl module) and if there were a problem with
the compiled library it could cause this problem.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Wed Jun 6 10:10:01 2001
Subject: [ic] Can't locate object method "dup"
I got a similar error which says:
Runtime error: Can't call method "op" without a package or object reference
at /usr/local/interchange/lib/Vend/Scan.pm line 671
So it falls in internal server error,and the method "op" is called in a page
to create a link bar.
In another catalog it works, and i copy it from the demo of interchange, but
there it doesn't work Why?
bye stefano
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di Jason
Kohles
Inviato: mercoledė 6 giugno 2001 15.42
A: interchange-users@developer.akopia.com
Oggetto: Re: [ic] Can't locate object method "dup"
On Wed, Jun 06, 2001 at 10:43:58PM +1000, Brett Hooker wrote:
> http://developer2.akopia.com/archive/interchange-users/2001/msg03098.html
>
> Was there a resolution to this?
>
> I have exactly the same error on check out, and have the same error in
> my error.log.
>
I don't know that there was a resolution, but this probably indicates you
need to reinstall the SQL::Statement module, the dup function is implemented
in XS (compiled C linked to a perl module) and if there were a problem with
the compiled library it could cause this problem.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Wed Jun 6 10:13:01 2001
Subject: [ic] Bugs ?
On Wed, Jun 06, 2001 at 08:59:06AM +0700, utomo wrote:
>
> >And nearly all of those bugs are in the development version, which is to be
> >expected from software that isn't finished yet. I don't think anyone wants
> >us to get the bug list down to 0, since the only way to do that would be to
> >stop adding new features to Interchange and just give you version 4.6 for
> >the rest of your life.
>
> I understand now. Better to separate it from bugs of last stable version,
> and bugs which belong to development version. If not this will make people
> confuse.
>
Separating them will also confuse people who may not know what version they
are reporting errors for and put it into the wrong area, as it is now if you
look at a bug report it tells you which version is affected. Also, if you
separate them you may end up with a lot of duplication, if someone posts a
bug in the version 4.7 area, it may be that the bug is also in 4.6.
> This is one of the big different, between Microsoft and other company. Other
> company make decission just by what they think (not what user think), by
> proud or what they think at current time, but Microsoft is doing by what
> customer/user think, and business strategy for long run.
I would say that Microsoft is doing what they think will maintain their
monopoly, not what their customers want.
> I think many people still remember when Microsoft Include the Java VM in the
> IE ( they will not include it anymore in IE 6/Win XP), and when they new
> with Win 3.11 (still using DOS), and now they try to minimizing/eliminating
> DOS, when they new with Internet they follow other people standard, but when
> they dominating the browser they try to make a rules/standard. and many
> other things. (But this is not same with I suggest you to do a same strategy
> as Microsoft).
Microsoft is leaving Java out of IE for one simple reason, when they attempted
to make their own version of Java that did not work with other versions, Sun
sued them. Microsoft has a long history of taking existing standards and
trying to extend them so they only work with windows.
> - This is little bit different, Red Hat Interchange is Red Hat products, why
> you releasing version for Suse, Mandrake, etc ?
> my 2 cents please consider again this.
>
Suse and Mandrake both use (I believe) the rpm format, which means the rpms
made for Red Hat Linux work just fine on Suse and Mandrake, some other packages
(such as the Debian packages) are made by Interchange users, not by Red Hat,
if you want to make a windows package, you are welcome to do so, thats the
nature of free software.
>
> >> - Also if possible please just provide one package for all, not like now
> we
> >> have RPM for Red Hat Linux 7; an RPM for Red Hat Linux 6 and Linux
> Mandrake;
> >> and Debian GNU/Linux packages.
>
> >Hate to disappoint you, but this is fundamentally impossible. If you are
> using
> >Red Hat Linux, you need RPMs, if you are using Debian you need Debian
> packages,
> >the alternative to doing it this way is to distribute only the .tar.gz file
> and
> >make everyone compile and install it themselves, if you would prefer that,
> the
> >.tar.gz is available for you.
>
> This is also one of the problem of the Linux Vs Microsoft.
> All Linux companies/guys did not working together with good strategy to
> Improve Linux, but they work in their own strategy.
> If people must have many version for each software, this will become a
> problem (even only small problem).
> After so long time, just not so ling time ago Linux realize this.
> - Now the important things for Linux: Driver , Development tools, and
> Training. Installation and GUI is almost OK.
>
I don't think this is a problem, I see this as one of Linux's strengths, if you
don't like the way it works you have the option to make your own version. I
agree that cooperation is important, but if you are running Windows and you
don't like the way it works, you have no choice, you can't download the source
code and change it.
>
> > If you review the mailing list you will also see that there is a lot of
> work
> > going into improving the documentation, in fact we have a full time
> technical
> > writer doing nothing but documentation. Docs don't appear overnight, they
> > take work.
>
> Thanks. and Please add more Q&A/FAQ. any estimation schedule ?
>
I know there is a lot of work going into the documentation, but I don't know
what their timetable is.
> > Interchange supports several payment providers, and 4.8 will support even
> > more since the payment processing has been completely rewritten. The cost
> > of the provider is between you and your processor, we don't have anything
> > to do with what they charge you.
>
> Thanks
> I talking the cost Red Hat asking/charge to that company (processor), if you
> asking too high: not so much company will interest. I think we must do a Win
> Win solution, if the provider is new/not popular you can charge more, but if
> the provider is popular, maybe you can negotiate the cost, because they will
> add your selling point.
>
Red Hat doesn't charge the processors anything, you can't get much cheaper
than free. Support for new processors generally gets added one of two
ways, either someone hires Red Hat to build an Interchange solution that
requires support for a new processor, and so in the process of building
their store we add support for that processor, or someone in the Interchange
community builds support for a processor and sends it in to be included in
Red Hat.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Kevin Flynn)
Date: Wed Jun 6 11:43:01 2001
Subject: [ic] Searching tables
I am trying to translate the sql statement below into a search region where
it pulls from 2 tables.
SELECT * FROM transactions, orderline WHERE description =
"given_keyword" AND
transaction.order_number = orderline.order_number;
I want to search through the orders to see who bought a particular product
(i.e. Hand Planer) and pull back all relevant information for that order
(i.e. Order number, username, address, etc...). The product Description is
in the orderline table whereas all customer details are in the transactions
table.
I'd appreciate some help with this as I have been banging my head against a
wall for ages trying to figure it out!
----- Original Message -----
From: Ed LaFrance <edl@newmediaems.com>
To: <interchange-users@developer.akopia.com>
Sent: 05 June 2001 17:11
Subject: Re: [ic] Search across multiple tables
> At 02:49 PM 06/05/2001 +0100, you wrote:
> >is it possible to perform a search across multiple tables in a database.
> >
> >i.e. Search through orders based on customer details or items bought.
> >Customer details are in transactions table and products purchased in
> >orderline table.
>
> mv_search_field (sf) does take a table:field syntax, so it is possible to
> qualify search results with data in multiple tables. It tends to work best
> with coordinated searches.
>
> - Ed L.
>
>
>
>
>
>
>
>
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (apom)
Date: Wed Jun 6 12:12:00 2001
Subject: [ic] Call mv_locale into a Sub function
Hi all,
I'm looking for a solution to call the variable 'mv_locale' into a sub
function in the catalog.cfg
like this :
UserTag conversion HasEndTag
UserTag conversion Interpolate
UserTag conversion Routine <<EOR
sub {
if (mv_locale eq 'en_US') < ==========
{
....
} else {
...
...
}
}
EOR
Is-it possible ?
thanks.
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
From: interchange-users at lists.akopia.com (Richard Eicher II)
Date: Wed Jun 6 13:02:01 2001
Subject: [ic] log file location
Does Interchange have log files if so where would
I find them? As soon as I click on any thing on
Construct Somerthing Demo I get "The page cannot
be displayed" error and need to trouble shoot.
Thanks,
Rick Eicher II
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 6 13:05:00 2001
Subject: [ic] Call mv_locale into a Sub function
At 06:07 PM 06/06/2001 +0200, you wrote:
>Hi all,
>
>I'm looking for a solution to call the variable 'mv_locale' into a sub
>function in the catalog.cfg
>like this :
>
>UserTag conversion HasEndTag
>UserTag conversion Interpolate
>UserTag conversion Routine <<EOR
>
>sub {
> if (mv_locale eq 'en_US') < ==========
if ($Values->{mv_locale} eq 'en_US') {
...
}
http://developer.akopia.com/cgi-bin/ic/dev/icconfig_30.html
- Ed L.
> {
> ....
> } else {
> ...
> ...
> }
>
>}
>EOR
>
>Is-it possible ?
>thanks.
>
>
>______________________________________________________________________________
>ifrance.com, l'email gratuit le plus complet de l'Internet !
>vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
>http://www.ifrance.com/_reloc/email.emailif
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Mike Heins)
Date: Wed Jun 6 13:24:01 2001
Subject: [ic] Searching tables
Quoting Kevin Flynn (kflynn@celticlinks.com):
> I am trying to translate the sql statement below into a search region where
> it pulls from 2 tables.
>
> SELECT * FROM transactions, orderline WHERE description =
> "given_keyword" AND
> transaction.order_number = orderline.order_number;
>
> I want to search through the orders to see who bought a particular product
> (i.e. Hand Planer) and pull back all relevant information for that order
> (i.e. Order number, username, address, etc...). The product Description is
> in the orderline table whereas all customer details are in the transactions
> table.
>
> I'd appreciate some help with this as I have been banging my head against a
> wall for ages trying to figure it out!
>
Can't do it with search-region. But if you have a SQL database
then [query ...] will work. Bear in mind that any columns that are
accessed with [sql-param field], not [sql-param table.field], and
any named the same will not work with [sql-param field] but will with
[sql-pos N].
--
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 lists.akopia.com (Jason Kohles)
Date: Wed Jun 6 13:52:01 2001
Subject: [ic] Call mv_locale into a Sub function
On Wed, Jun 06, 2001 at 06:07:11PM +0200, apom wrote:
> Hi all,
>
> I'm looking for a solution to call the variable 'mv_locale' into a sub
> function in the catalog.cfg
> like this :
>
It's a scratch variable:
if($Scratch->{mv_locale} eq 'en_US')
> UserTag conversion HasEndTag
> UserTag conversion Interpolate
> UserTag conversion Routine <<EOR
>
> sub {
> if (mv_locale eq 'en_US') < ==========
> {
> ....
> } else {
> ...
> ...
> }
>
> }
> EOR
>
> Is-it possible ?
> thanks.
>
>
> ______________________________________________________________________________
> ifrance.com, l'email gratuit le plus complet de l'Internet !
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> http://www.ifrance.com/_reloc/email.emailif
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (apom)
Date: Wed Jun 6 14:08:01 2001
Subject: [ic] Call mv_locale into a Sub function
thanks to Ed L. and Jason.
with $Scratch->{mv_locale} it's better than $Values->{mv_locale}
thanks you!
----- Original Message -----
From: Jason Kohles <jkohles@redhat.com>
To: <interchange-users@developer.akopia.com>
Subject: Re: [ic] Call mv_locale into a Sub function
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
From: interchange-users at lists.akopia.com (Brian Wright)
Date: Wed Jun 6 14:15:01 2001
Subject: [ic] Inventory decrement on demo
Hello, list!
I'm currently moving a site from Minivend 3 to Interchange, and I was looking
to see how the demo decrements the inventory quantity. I use a [data ...
decrement] tag in the receipt page on Minivend 3, but I don't see it in the
demo. It doesnt' appear in the receipt page either. Where does it do the
inventory decrement?
Thanks,
Brian
_________________________________________________________________________
Brian Wright Aturna Communications Inc.
bdw@aturna.com Internet Services
AIM: BigBY2K ICQ: 21221328 WWW http://www.aturna.net
_________________________________________________________________________
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 6 14:17:00 2001
Subject: [ic] Call mv_locale into a Sub function
At 01:43 PM 06/06/2001 -0400, you wrote:
>On Wed, Jun 06, 2001 at 06:07:11PM +0200, apom wrote:
> > Hi all,
> >
> > I'm looking for a solution to call the variable 'mv_locale' into a sub
> > function in the catalog.cfg
> > like this :
> >
>It's a scratch variable:
>if($Scratch->{mv_locale} eq 'en_US')
Oops. :-)
- Ed L.
> > UserTag conversion HasEndTag
> > UserTag conversion Interpolate
> > UserTag conversion Routine <<EOR
> >
> > sub {
> > if (mv_locale eq 'en_US') < ==========
> > {
> > ....
> > } else {
> > ...
> > ...
> > }
> >
> > }
> > EOR
> >
> > Is-it possible ?
> > thanks.
> >
> >
> >
> ______________________________________________________________________________
> > ifrance.com, l'email gratuit le plus complet de l'Internet !
> > vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> > http://www.ifrance.com/_reloc/email.emailif
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>--
>Red Hat E-Business Solutions Jason Kohles
>11480 Sunset Hills Road Senior System Architect
>Reston, VA 20190 jkohles@redhat.com
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Jason Kohles)
Date: Wed Jun 6 14:39:01 2001
Subject: [ic] Inventory decrement on demo
On Wed, Jun 06, 2001 at 11:17:42AM -0700, Brian Wright wrote:
> I'm currently moving a site from Minivend 3 to Interchange, and I was looking
> to see how the demo decrements the inventory quantity. I use a [data ...
> decrement] tag in the receipt page on Minivend 3, but I don't see it in the
> demo. It doesnt' appear in the receipt page either. Where does it do the
> inventory decrement?
>
In CATROOT/etc/log_transaction.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Wed Jun 6 15:08:01 2001
Subject: [ic] Category select box not working in 4.6.5
Has no one else had this problem? Is there just something fundamentally
wrong with my installation and that at the akopia dmeo site? Or is it
moot as evereyone has move to 4.7.x anyway?
Chris Rapier wrote:
>
> The category select box in the items submenu of Interchange 4.6.5
> doesn't seem to be working. In the default configuration if you attempt
> to edit an item (with no metaview) there isn't even an entry listed for
> the category. You can actually see this in the Demo 2 store at
> demo.akopia.com.
>
> It does seem to be working in the Demo 3 store but I'm not sure I'm
> comfortable with using a prerelease version of the code in a production
> environment (especially not to just fix one problem).
>
> Has anyone else encountered this problem and is there a solution to it?
> I searched the archives but I was unable to find anything that seemed
> appropriate or that worked.
>
> I'm guessing it might just be a configuration issue in the meta display
> for the category widget *but* I can't find a combination that will give
> me a select box. I can get a textbox with the correct name in there but
> even that isn't following the meta values.
>
> Any clue would be appreciated.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 6 15:56:00 2001
Subject: [ic] Category select box not working in 4.6.5
Quoting Chris Rapier
> > The category select box in the items submenu of Interchange 4.6.5
> > doesn't seem to be working. In the default configuration if you attempt
> > to edit an item (with no metaview) there isn't even an entry listed for
> > the category.
Whether it is right or wrong, I have found that you need to add the category
manually to the FIRST item in a new category, as (I believe) the category
select box is iterating over the category field in products.txt and not
cat.txt. That is what I had to do, anyway. Make sure you spell it the same
as the category listed in cat.txt, too.
Hope I didn't give you bogus info (again)!
Good Luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Steve Bourg)
Date: Wed Jun 6 16:00:01 2001
Subject: [ic] Category select box not working in 4.6.5
I actually had this same problem with 4.6.3. I never determined what it
was .. but I used the brute force method of deleting all categories and
recreating them. Sorry :(
Steve Bourg
On Wed, 6 Jun 2001, Chris Rapier wrote:
> Has no one else had this problem? Is there just something fundamentally
> wrong with my installation and that at the akopia dmeo site? Or is it
> moot as evereyone has move to 4.7.x anyway?
>
> Chris Rapier wrote:
> >
> > The category select box in the items submenu of Interchange 4.6.5
> > doesn't seem to be working. In the default configuration if you attempt
> > to edit an item (with no metaview) there isn't even an entry listed for
> > the category. You can actually see this in the Demo 2 store at
> > demo.akopia.com.
> >
> > It does seem to be working in the Demo 3 store but I'm not sure I'm
> > comfortable with using a prerelease version of the code in a production
> > environment (especially not to just fix one problem).
> >
> > Has anyone else encountered this problem and is there a solution to it?
> > I searched the archives but I was unable to find anything that seemed
> > appropriate or that worked.
> >
> > I'm guessing it might just be a configuration issue in the meta display
> > for the category widget *but* I can't find a combination that will give
> > me a select box. I can get a textbox with the correct name in there but
> > even that isn't following the meta values.
> >
> > Any clue would be appreciated.
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Wed Jun 6 16:20:00 2001
Subject: [ic] Category select box not working in 4.6.5
On Wed, Jun 06, 2001 at 01:01:43PM -0700, Steve Bourg wrote:
> I actually had this same problem with 4.6.3. I never determined what it
> was .. but I used the brute force method of deleting all categories and
> recreating them. Sorry :(
>
I looked at this problem briefly, but I don't have access to the machine the
demos run on, and when I installed a copy of 4.6.5 locally, it didn't
exhibit those symptoms. If you don't have any categories you should still
see the combo box with 'no current value' as the only option on the popup.
> Steve Bourg
>
> On Wed, 6 Jun 2001, Chris Rapier wrote:
>
> > Has no one else had this problem? Is there just something fundamentally
> > wrong with my installation and that at the akopia dmeo site? Or is it
> > moot as evereyone has move to 4.7.x anyway?
> >
> > Chris Rapier wrote:
> > >
> > > The category select box in the items submenu of Interchange 4.6.5
> > > doesn't seem to be working. In the default configuration if you attempt
> > > to edit an item (with no metaview) there isn't even an entry listed for
> > > the category. You can actually see this in the Demo 2 store at
> > > demo.akopia.com.
> > >
> > > It does seem to be working in the Demo 3 store but I'm not sure I'm
> > > comfortable with using a prerelease version of the code in a production
> > > environment (especially not to just fix one problem).
> > >
> > > Has anyone else encountered this problem and is there a solution to it?
> > > I searched the archives but I was unable to find anything that seemed
> > > appropriate or that worked.
> > >
> > > I'm guessing it might just be a configuration issue in the meta display
> > > for the category widget *but* I can't find a combination that will give
> > > me a select box. I can get a textbox with the correct name in there but
> > > even that isn't following the meta values.
> > >
> > > Any clue would be appreciated.
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Wed Jun 6 16:21:01 2001
Subject: [ic] Category select box not working in 4.6.5
On Wed, Jun 06, 2001 at 02:58:55PM -0500, Curt Hauge wrote:
> Quoting Chris Rapier
> > > The category select box in the items submenu of Interchange 4.6.5
> > > doesn't seem to be working. In the default configuration if you attempt
> > > to edit an item (with no metaview) there isn't even an entry listed for
> > > the category.
>
> Whether it is right or wrong, I have found that you need to add the category
> manually to the FIRST item in a new category, as (I believe) the category
> select box is iterating over the category field in products.txt and not
> cat.txt. That is what I had to do, anyway. Make sure you spell it the same
> as the category listed in cat.txt, too.
>
The widget is a combo select, so you should be able to type in a new category
in the text part if the category you want isn't in the dropdown, I'm not sure
why it isn't appearing.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Corey Gilmore)
Date: Wed Jun 6 16:21:50 2001
Subject: [ic] mod_interchange & apxs error
Just thought I'd pass this along since it was annoying to me. RedHat
users (I guess I installed 6.2 on this machine, its been so long I forgot)
who try and compile mod_interchange as a module might get an
apxs:Break Command failed with rc=16777215
error
The fix is at
http://www2.real-time.com/rte-tomcat/2000/Jun/msg00217.html
Basically you need to provide values for $CFG_LD_SHLIB $CFG_LIBS_SHLIB
and $CFG_LDFLAGS_SHLIB
HTH
.cfg
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 6 16:53:00 2001
Subject: [ic] setting mv_matchlimit for results page
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
Hi list,
Feeling kinda silly here... I can not figure out where to set mv_matchlimit
for the results.html page in the construct template. This question has been
posed before, but I don't see anything in the archives. I have over 4,000
items in the product db and results.html is pulling 50 matches per page. I
have grepped for ml=50 and mv_matchlimit but nothing relevent comes up. Does
Interchange default to 50 items displayed? I have tried adding mv_matchlimit
to the stock results.html within the on-match tag without success, as such:
[on-match]
<FORM ACTION="[area nothing]" METHOD=POST>
<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">
<INPUT TYPE=hidden NAME="mv_matchlimit" VALUE="10">
[/on-match]
I have checked the reference guide on searches, but can not find relevant
info. I have ben through the results.html page and all _top_ areas of
/templates/regions. Any tips on where to look, keywords,
the-precise-way-to-do-it, and flames are appreciated and tolerated.
Thanks again, everyone!
Curt Hauge
Curt Hauge
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Wed Jun 6 16:58:01 2001
Subject: [ic] Category select box not working in 4.6.5
> I looked at this problem briefly, but I don't have access to the machine the
> demos run on, and when I installed a copy of 4.6.5 locally, it didn't
> exhibit those symptoms. If you don't have any categories you should still
> see the combo box with 'no current value' as the only option on the popup.
Sigh. Maybe its a freebsdism but I doubt that the demo is running on
freebsd. I am going to uninstall and reinstall and see if that helps any
(which is horribly microsoftian but if it works...).
However, I will note that categories do exist in the products.txt
database. The actual error reported in the error log is (he says as he
goes to tail -f the error log only to discover that all of the sudden it
is working...)
All I would like to say at this point is WTF?
From: interchange-users at lists.akopia.com (Steve Bourg)
Date: Wed Jun 6 17:15:01 2001
Subject: [ic] setting mv_matchlimit for results page
For the search box you are referring too, I have gotten it to limit the
result via the mv_matchlimit variable you have shown.
However, if you are trying to limit the results shown for categories
(which are
generated links by [cat-exec bar_link]) you can set this limit by changing
the category search type (via the Design menu) to 'Complex Search' and by
setting ml=<limit>
in the Complex search box given.
Steve Bourg
On Wed, 6 Jun 2001, Curt Hauge wrote:
> IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
>
> Hi list,
>
> Feeling kinda silly here... I can not figure out where to set mv_matchlimit
> for the results.html page in the construct template. This question has been
> posed before, but I don't see anything in the archives. I have over 4,000
> items in the product db and results.html is pulling 50 matches per page. I
> have grepped for ml=50 and mv_matchlimit but nothing relevent comes up. Does
> Interchange default to 50 items displayed? I have tried adding mv_matchlimit
> to the stock results.html within the on-match tag without success, as such:
>
> [on-match]
> <FORM ACTION="[area nothing]" METHOD=POST>
> <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">
> <INPUT TYPE=hidden NAME="mv_matchlimit" VALUE="10">
> [/on-match]
>
> I have checked the reference guide on searches, but can not find relevant
> info. I have ben through the results.html page and all _top_ areas of
> /templates/regions. Any tips on where to look, keywords,
> the-precise-way-to-do-it, and flames are appreciated and tolerated.
>
> Thanks again, everyone!
>
> Curt Hauge
>
>
> Curt Hauge
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Wed Jun 6 17:29:00 2001
Subject: [ic] Category select box not working in 4.6.5
Guess I spoke too soon. I have a select box and when I went to modify
it to the combo select box I foudn that it was listed as the 'text
entry' widget. Whoops. Anyway, after changing it everything broke again.
It doesn't seem to be a problem with the widget itself but in how its
trying to get the data from the tables: The error I find is often:
128.182.61.60 CJfieIfI:128.182.61.60 - [06/June/2001:17:16:24 -0400]
ic-wind /cgi-bin/ic-wind.cgi/ui.html Bad SQL, query was: select DISTINCT
category, category FROM products ORDER BY category
I'll try reinstall and possibly jumpt to 4.7.x and maybe it won't crash
and burn on me :)
Chris Rapier wrote:
>
> > I looked at this problem briefly, but I don't have access to the machine the
> > demos run on, and when I installed a copy of 4.6.5 locally, it didn't
> > exhibit those symptoms. If you don't have any categories you should still
> > see the combo box with 'no current value' as the only option on the popup.
>
> Sigh. Maybe its a freebsdism but I doubt that the demo is running on
> freebsd. I am going to uninstall and reinstall and see if that helps any
> (which is horribly microsoftian but if it works...).
>
> However, I will note that categories do exist in the products.txt
> database. The actual error reported in the error log is (he says as he
> goes to tail -f the error log only to discover that all of the sudden it
> is working...)
>
> All I would like to say at this point is WTF?
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Wed Jun 6 18:03:00 2001
Subject: [ic] [perl]
This is a multi-part message in MIME format.
------=_NextPart_000_00BF_01C0EE78.E3BA7DB0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I want to display this date 20010701 in this format 01/07/001
why this doesn't work?
[perl]
=20
$data=3D[item-field noticia_dataactivacao];
=20
$ano =3D substr($data, 0, 4);
$mez =3D substr($data, 4, 2);
$dia =3D substr($data, 6, 2);
return $ano;
return "/";
return $mez;
return "/";
return $dia;
[/perl]
Yann carlier
+351-21-4527104/5
www.inteliware.net
yann.carlier@inteliware.net=20
------=_NextPart_000_00BF_01C0EE78.E3BA7DB0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I want to display this date 20010701 in =
this format=20
01/07/001</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>why this doesn't work?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2>[perl]<BR> <BR>$data=3D[item-field=20
noticia_dataactivacao];<BR> <BR>$ano =3D substr($data, 0, =
4);<BR>$mez =3D=20
substr($data, 4, 2);<BR>$dia =3D substr($data, 6, 2);</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>return $ano;<BR>return "/";<BR>return=20
$mez;<BR>return "/";<BR>return $dia;</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2><BR>[/perl]</FONT></DIV></FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>Yann =
carlier<BR>+351-21-4527104/5<BR><A=20
href=3D"http://www.inteliware.net">www.inteliware.net</A><BR><A=20
href=3D"mailto:yann.carlier@inteliware.net">yann.carlier@inteliware.net</=
A>=20
</FONT></DIV></BODY></HTML>
------=_NextPart_000_00BF_01C0EE78.E3BA7DB0--
From: interchange-users at lists.akopia.com (Belkoura Mohamed Amine)
Date: Wed Jun 6 18:04:14 2001
Subject: [ic] Help!! about the install of interchange4.6.5
This is a multi-part message in MIME format.
------=_NextPart_000_007A_01C0EE70.75EAE4D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi guys,
I am trying to install 4.6.5 on my laptop, which is not connected to the =
internet. The ./configure script (more exactly the make install) try to =
get some bundle from ftp.perl.org, but could not because my computer is =
not connected to the internet. I would like to know what is this =
package, so that I can download it and install it before starting the =
interchange install. I went to the ftp.perl.org website, and got the =
Bundle-interchange-0_04_tar.gz, and install it, but it did not help. Any =
clue?
Amine
------=_NextPart_000_007A_01C0EE70.75EAE4D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi guys,</FONT></DIV>
<DIV><FONT size=3D2>I am trying to install 4.6.5 on my laptop, which is =
not=20
connected to the internet. The ./configure script (more exactly the make =
install) try to get some bundle from <A=20
href=3D"ftp://ftp.perl.org">ftp.perl.org</A>, but could not because my =
computer is=20
not connected to the internet. I would like to know what is this =
package, so=20
that I can download it and install it before starting the interchange =
install. I=20
went to the <A href=3D"ftp://ftp.perl.org">ftp.perl.org</A> website, and =
got the=20
Bundle-interchange-0_04_tar.gz, and install it, but it did not help. Any =
clue?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Amine</FONT></DIV></BODY></HTML>
------=_NextPart_000_007A_01C0EE70.75EAE4D0--
From: interchange-users at lists.akopia.com (Brian Kohles)
Date: Wed Jun 6 18:28:00 2001
Subject: [ic] [perl]
I believe you can only return one item. So just cat everything together in
one return:
return $ano . "/" . $mez . "/" . $dia;
Brian
----- Original Message -----
From: <yann.carlier@inteliware.net>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 06, 2001 4:07 AM
Subject: [ic] [perl]
I want to display this date 20010701 in this format 01/07/001
why this doesn't work?
[perl]
$data=[item-field noticia_dataactivacao];
$ano = substr($data, 0, 4);
$mez = substr($data, 4, 2);
$dia = substr($data, 6, 2);
return $ano;
return "/";
return $mez;
return "/";
return $dia;
[/perl]
Yann carlier
+351-21-4527104/5
www.inteliware.net
yann.carlier@inteliware.net
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 6 18:37:01 2001
Subject: [ic] [perl]
At 11:07 AM 06/06/2001 +0100, you wrote:
>I want to display this date 20010701 in this format 01/07/001
>why this doesn't work?
>
>[perl]
Try:
[perl interpolate=1]
$data = '[item-field noticia_dataactivacao]';
...
return "$dia/$mez/$ano";
[/perl]
Another (shorter) way to do this is:
$data =~ /(\d\d\d\d)(\d\d)(\d\d)/;
return "$2/$1/$3";
- Ed L.
>
>$data=[item-field noticia_dataactivacao];
>
>$ano = substr($data, 0, 4);
>$mez = substr($data, 4, 2);
>$dia = substr($data, 6, 2);
>
>return $ano;
>return "/";
>return $mez;
>return "/";
>return $dia;
>
>[/perl]
>
>Yann carlier
>+351-21-4527104/5
><http://www.inteliware.net>www.inteliware.net
><mailto:yann.carlier@inteliware.net>yann.carlier@inteliware.net
===============================================================
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 lists.akopia.com (Chris Rapier)
Date: Wed Jun 6 19:24:00 2001
Subject: [ic] More Information : Category select box not working in 4.6.5
Jason Kohles wrote:
>
> On Wed, Jun 06, 2001 at 01:01:43PM -0700, Steve Bourg wrote:
> > I actually had this same problem with 4.6.3. I never determined what it
> > was .. but I used the brute force method of deleting all categories and
> > recreating them. Sorry :(
> >
> I looked at this problem briefly, but I don't have access to the machine the
> demos run on, and when I installed a copy of 4.6.5 locally, it didn't
> exhibit those symptoms. If you don't have any categories you should still
> see the combo box with 'no current value' as the only option on the popup.
As a further note
I reinstalled 4.6.5 from the latest sources. I installed the 'construct'
demo store and before making any changes went to the admin/items section
and was able to reproduce the problem. Its not that there isn't anything
in the select box widget it is that there is *no* widget whatsoever.
The error I receieved from the demo store was:
128.2.85.12 T7aYyIJD:128.2.85.12 - [06/June/2001:19:22:30 -0400]
construct /cgi-bin/construct.cgi/admin/item_edit Bad SQL, query was:
select DISTINCT category, category FROM products ORDER BY category
NOTE: I am using the default DBM database. I'm guessing that this might
be the problem. However, it seems to me that if thats the default
database all of the attributes of the demo store should work as
advertised.
I'm going to try 4.7.2 now.
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 6 19:44:00 2001
Subject: [ic] Manipulating shipping total from ups lookup in 4.6.5
Hi All -
Does anyone know any easy way to manipulate the shipping amount from a
ups-style lookup after the fact (i.e. - subtract a fixed amount from the
shipping, reduce it by a percentage, etc)? Ideally I would like something
like the [assign] tag in 4.7.x, but this particular cat is 4.6.5 and
upgrading is not a good option right now.
The shipping docs mention something about appending some calcs to the
lookup with @@COST@@, but there are scant examples and I have not been able
to get it to work. \
Any ideas/help greatly appreciated!
- 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 lists.akopia.com (interchange-users at lists.akopia.com)
Date: Wed Jun 6 20:09:00 2001
Subject: [ic] Build-to-Order
Hi,
Has anyone used Interchange for products that need to be Built-To-Order
where you have various rules as to how the products inter-relate and what
is required to produce a solution for a customer.
A good example would be a customer using a pick-and-mix approach to
design their own computer (select a case, then a motherboard, then how
many RAM slots are there what type and speed of RAM, etc etc) that is
then build and delivered.
I have seen some JAVAScript based drop down list boxes, but they are
*very* crude and do not enforce any real rule checking, etc.
Or alternatively has anyone seen an open source solution that is
available that I could interface to Interchange?
Cheers
Douglas
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Wed Jun 6 20:21:00 2001
Subject: [ic] Separated Categories Menus
Hi all !
Exist a way of separating the menu
of the categories?
For example, in the store demo, it has the menu on
the left side.
Well, this menu has the categories and the sub-categories.
The one that I would like is of placing this menu in
certain parts of my site.
But with a condition: this menu should only be in two pages
of my site.
And in the first page, the menu should just show 1 category
(and its sub-categories).
In the other page, the menu should appear and to show
ANOTHER category (and its sub-category).
Someone known that it is possible?
Thanks,
::: Samir G. Barak :::::::::::::::::::::::::
From: interchange-users at lists.akopia.com (Steve Bourg)
Date: Wed Jun 6 20:36:01 2001
Subject: [ic] General Performance and scaling info sought
Is it safe to assume that with the ability to fork, Interchange could well
utilize something with many CPUs like the Sun E10Ks etc? Is there any
documentation about load distribution and/or clustering across multiple
servers running Interchange?
Thanks,
Steve Bourg
On Tue, 5 Jun 2001, Mike Heins wrote:
> Quoting Mathieu Lagarde (mathieu.lagarde@nstepcom.com):
> > At 08:47 01-06-05 -0400, you wrote:
> > >Can anyone point me to any info on the scalability of interchange.
> > >I am interested in seeing performance info. ie: "I have interchange on
> > >sun blahh blahh and I take xxxxx hits per day, etc..."
> > >I am interested in this as I am trying to convince a customer to ditch
> > >an expensive system that just doesnt work, but need some general (not
> > >yet found) performance info.
> > >Any pointers to "large" store web sites in use would be a plus too.
> > >Thanks!
> >
> > We Install it on one of our cobalt to make our test. Never use a cobalt
> > and Interchange for a live store it's so slow the customer a the time to
> > fall a sleep before he will be able to buy something.
>
> This is typical of a machine with not enough memory. If it is real slow,
> sounds like 32MB. 64MB might also be slow if other things were taking
> a lot of memory. 128M will usually give decent response assuming that
> there is no other huge memory-using program on the system.
>
> > We plan to install on one of the new ibm netserver we just order last week.
>
> The latest version of Interchange, 4.7.x, in pre-forking mode, was able to
> handle a florist shop on Mother's day with a parsed-page hit rate peaking
> at about 500 per minute (this doesn't count images or other hits, which
> rate was peaking at about 6000 per minute). This was on a single 700Mhz
> Intel box with 1GB of memory.
>
> The new pre-forking mode gives near-mod_perl performance, and can handle
> very large sites. Obviously some attention must be paid to performance, i.e.
> using [timed-build ...] to obviate repetitive category-building queries,
> as we still cannot repeal the laws of physics.
>
> In any case, I am now confident in saying that Interchange can handle
> as large a site as most people can envision. That takes into account that
> you can place a catalog on multiple machines, of course.
>
> --
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Gift Bound Gifts)
Date: Wed Jun 6 21:18:01 2001
Subject: [ic] how do i display larger images?
Im trying to figure out how to create a link so when you click on the
image you will get a larger image for that product. Does anyone know how
to do this?
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Wed Jun 6 21:20:01 2001
Subject: [ic] name=value, name=value pricing in products database
Hi, this seems like it shouldn't be too difficult to do. Can anyone tell me
how I can use pricing like this in my products database:
size=price, size=price, size=price
example:
large=2.99, small=1.99
Or something to that extent. Do I use CommonAdjust? How do I parse these and
display them separately in my pages?
Thanks!
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Wed Jun 6 21:43:01 2001
Subject: [ic] Paypal support for v4.6?
Looking through the archives, I found the following mail from
mikeh@minivend.com:
http://developer2.akopia.com/archive/interchange-users/2001/msg04127.html
Does anyone have this Paypal integration? I have a potential customer not
wanting to go with a merchant account and inquiring if they can use Paypal
as a service. Is this integration available for v4.6?
I'm starting to look into v4.7 in a test environment but I'm not ready to
migrate everyone over to the new version yet. Any feedback would be
helpful.
Thanks,
Randy
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Wed Jun 6 21:51:01 2001
Subject: [ic] Manipulating shipping total from ups lookup in 4.6.5
Quoting Ed LaFrance (edl@newmediaems.com):
> Hi All -
>
> Does anyone know any easy way to manipulate the shipping amount from a
> ups-style lookup after the fact (i.e. - subtract a fixed amount from the
> shipping, reduce it by a percentage, etc)? Ideally I would like something
> like the [assign] tag in 4.7.x, but this particular cat is 4.6.5 and
> upgrading is not a good option right now.
>
> The shipping docs mention something about appending some calcs to the
> lookup with @@COST@@, but there are scant examples and I have not been able
> to get it to work. \
>
You can set the adder. The eighth field in a tab-separated line is the options
field, and it can be a hash reference. (The sixth field is the cost field,
so there needs to be a tab between that and the options field.) It can contain
something like:
{ adder => '@@TOTAL@@ * .05' }
That will add 5% to the calculated cost.
--
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 lists.akopia.com (Carlc Internet Services)
Date: Wed Jun 6 22:02:01 2001
Subject: [ic] Attempting to lookup a SKU/Code number from another database...
Hello,
I've got an interesting problem, just a matter of syntax I bet...
This is on a Minivend 4.04a setup.
I have shop that sells a products that's based on a Width x Length form.
I've created a database to lookup the SKU (CODE). The database is called
vpa-lookup . I am trying to use that lookup to send the SKU (example:VPA-1-1)
to the basket and checkout page:
<FORM ACTION="[process-target]" METHOD=POST>
....
<select name="mv_order_quantity">
....
<select name="mv_order_widthacross">
....
<select name="mv_order_lengthdown">
....
<INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_order_item VALUE=[ data table=vpa-lookup field='[value mv_order_widthacross]' key='[value
mv_order_lengthdown]' ]>
<INPUT TYPE=submit VALUE="Click here to calculate cost"> </FORM>
Alright, now you can tell me how badly I messed up....8^)
Thanks,
Carl
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Wed Jun 6 22:43:01 2001
Subject: [ic] wizards/configuration scripts for shipping in mall scenario
Has anyone any experience to share with a wizard/configuration piece
for shipping in a mall environment?
We'd like to offer a range of shipping types, prices and
steps but it has to be configurable online with web interface.
That quickly turns to deep goo. I'm tempted to limit
basic mall merchants to a flat shipping charge but my account
reps point out that merchants will want a choice, even if
they do not use it.
Can anyone point me at mall setups that help configure shipping
options?
TIA
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (John Beima)
Date: Wed Jun 6 23:35:01 2001
Subject: [ic] wizards/configuration scripts for shipping in mall scenario
G'Day Chris,
Just store the shipping options in the mall/store database... Then when you load
in a new store, or they switch from store to store, redefine the shipping with a
$CGI->{mv_shipmodes} = $Tag->data(mall, shipping, $Scratch->{store}); command...
John
Quoting cfm@maine.com:
>
> Has anyone any experience to share with a wizard/configuration piece
> for shipping in a mall environment?
>
> We'd like to offer a range of shipping types, prices and
> steps but it has to be configurable online with web interface.
>
> That quickly turns to deep goo. I'm tempted to limit
> basic mall merchants to a flat shipping charge but my account
> reps point out that merchants will want a choice, even if
> they do not use it.
>
> Can anyone point me at mall setups that help configure shipping
> options?
>
> TIA
> cfm
>
>
>
>
>
> --
>
> Christopher F. Miller, Publisher
> cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME
> 04039
> 1.207.657.5078
> http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian
> linux
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-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 lists.akopia.com (John Beima)
Date: Wed Jun 6 23:40:01 2001
Subject: [ic] Attempting to lookup a SKU/Code number from another database...
I am not even sure this one deserves an answer....
But here is your problem... The [value] tag retrieves values from the LAST form
posted, not the current one being posted...
Quoting Carlc Internet Services <mvu@carlc.com>:
> Hello,
>
> I've got an interesting problem, just a matter of syntax I bet...
> This is on a Minivend 4.04a setup.
>
> I have shop that sells a products that's based on a Width x Length
> form.
> I've created a database to lookup the SKU (CODE). The database is called
> vpa-lookup . I am trying to use that lookup to send the SKU
> (example:VPA-1-1)
> to the basket and checkout page:
>
> <FORM ACTION="[process-target]" METHOD=POST>
> ....
> <select name="mv_order_quantity">
> ....
> <select name="mv_order_widthacross">
> ....
> <select name="mv_order_lengthdown">
> ....
> <INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
> <INPUT TYPE=hidden NAME=mv_order_item VALUE=[ data table=vpa-lookup
> field='[value mv_order_widthacross]' key='[value
> mv_order_lengthdown]' ]>
> <INPUT TYPE=submit VALUE="Click here to calculate cost"> </FORM>
>
> Alright, now you can tell me how badly I messed up....8^)
> Thanks,
> Carl
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Steve Bourg)
Date: Wed Jun 6 23:41:01 2001
Subject: [ic] order status email
Hey All,
I want to provide a tracking number for my customers once a product has
shipped. I want this tracking number to go out with the email sent to
customers once the order status has been changed to "shipped". I'm
planning on just adding a tracking field to the orderline table, but how
do I add text (and this tracking field) to that email? What file(s) would
I change?
Thanks,
Steve Bourg
From: interchange-users at lists.akopia.com (John Beima)
Date: Wed Jun 6 23:41:50 2001
Subject: [ic] name=value, name=value pricing in products database
Yes go download version 4.04a and read the section on pricing and discounts....
I havn't found this in the new docs yet, that is why you have to download the
older version...
John
Quoting Tim Mirecki <tim@q5.ca>:
> Hi, this seems like it shouldn't be too difficult to do. Can anyone tell
> me
> how I can use pricing like this in my products database:
>
> size=price, size=price, size=price
> example:
> large=2.99, small=1.99
>
> Or something to that extent. Do I use CommonAdjust? How do I parse these
> and
> display them separately in my pages?
>
> Thanks!
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Wed Jun 6 23:50:01 2001
Subject: [ic] Items Returned by Database Select in Metadata editor
Is there a maximum number of items that can be returned by the lookup
select function in the Database Select area of the metadata editor in IC
4.7.2? I'm not able to get a full return of all the unique values in
that column when I set it up. There shoud be around 151 options returned
and I'm only seeing around 40. Any ideas?
From: interchange-users at lists.akopia.com (Mathieu Lagarde)
Date: Thu Jun 7 02:18:00 2001
Subject: [ic] different email by zip code?
Hi,
We have a customer who sales frozen meal. Each part of the territory is
deserve by a different and independent representative.
So i want to know if it's possible to set interchange to be able to send
the order to different email address depending of the zip code of the customer.
Thanks
Mathieu Lagarde
Next Step Communications
From: interchange-users at lists.akopia.com (utomo)
Date: Thu Jun 7 07:03:01 2001
Subject: [ic] Bugs ?
> Date: Tue, 5 Jun 2001 08:44:06 -0400
> From: Jason Kohles <jkohles@redhat.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Bugs ?
> Reply-To: interchange-users@lists.akopia.com
>
> On Tue, Jun 05, 2001 at 08:43:15AM +0700, utomo wrote:
>
<CUT>
> > - I hope Interchange can provide Interchange for Win, Not only *nix. I
> > believe still Many Win server around the world. So if
> Interchange available
> > for Win, the name of the Interchange is real (Not Limited
> Interchange), and
> > will be able to grab more target than before.
>
> Red Hat is primarily a linux company, and so the software they
> create is for
> the most part linux software (you don't see Microsoft releasing
> versions of
> their software for linux do you?) The great thing about open
> source is that
> if you want a windows version, nobody is stopping you from porting it.
>
I just found (but not look yet):
The Cygwin project consists in porting the GNU tools and utilities for
Windows 95, 98, and NT. The Cygwin library provides a UNIX-like API on top
of the Win32 API.
If you need more information , you can go to the cygwin site :
http://sources.redhat.com/cygwin/
Or I just remember wine, is that working Interchange+Wine+Win?.
Regards,
Utomo
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Thu Jun 7 08:59:00 2001
Subject: [ic] different email by zip code?
Mathieu Lagarde wrote:
>
> Hi,
>
> We have a customer who sales frozen meal. Each part of the territory is
> deserve by a different and independent representative.
>
> So i want to know if it's possible to set interchange to be able to send
> the order to different email address depending of the zip code of the customer.
sure, embed some perl in the page that actually generates and sends the
email.
If the zipcodes are not contiguous using if/then statements is going to
be a pain in the ass.
Better to set up a hash keyed on the zipcode.
Then you'd only need to populate the hash and one line which says $email
= $hash{$zip}.
That would be one way to handle it...
Alternative solution:
Create a new table using the zipcode as the key for the one item in each
row, which would be the reps email address.
zip email
15216 bob@foo.com
15219 bob@foo.com
15230 bob@foo.com
16728 biff@boff.com
16725 biff@boff.com
Then just do a table lookup in the page that generates the e-mail.
[seti rep-email][data table="zips" column="email" key="[value
zip]"][/seti]
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 7 09:22:00 2001
Subject: [ic] Help!! about the install of interchange4.6.5
On Wed, Jun 06, 2001 at 10:07:14AM -0500, Belkoura Mohamed Amine wrote:
> Hi guys,
> I am trying to install 4.6.5 on my laptop, which is not connected to the internet. The ./configure script (more exactly the make install) try to get some bundle from ftp.perl.org, but could not because my computer is not connected to the internet. I would like to know what is this package, so that I can download it and install it before starting the interchange install. I went to the ftp.perl.org website, and got the Bundle-interchange-0_04_tar.gz, and install it, but it did not help. Any clue?
>
The Bundle files only work if you are using CPAN to install them, which
requires an Internet connection. The modules that Bundle::Interchange installs
are:
MD5
MIME::Base64
Term::ReadKey
Term::ReadLine::Perl
Business::UPS
SQL::Statement
Storable
DBI
Safe::Hole
and
Bundle::LWP which in turn installs:
URI
Net::FTP
MIME::Base64
Digest::MD5
HTML::Tagset
HTML::Parser
HTML::HeadParser
LWP
Depending on your perl installation some of these modules might have
prerequisites too. In the long run it may be a lot easier to just get
the laptop on the net temporarily and install the modules you need.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Vagel)
Date: Thu Jun 7 09:30:01 2001
Subject: [ic] Decimal calculation problem
Hello Mike,
I tried [calc] 100 * 1,5 [/calc] and it returns 5!
Regards
Vagel
Date: Wed, 6 Jun 2001 09:49:22 -0400
From: Mike Heins <mikeh@minivend.com>
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Decimal calculation problem
Reply-To: interchange-users@lists.akopia.com
Quoting Vagel (vagel@telaxion.com):
> Thank you for the answer Jason and Vlad.
>
> Unfortunatelly, I tried [calc]return(100*1.5);[/calc] but this still gave
me
> 100...
> Finally I worked it out by doing [calc]return(100*15/10);[/calc] which of
> course is not a real solution but just sufficient untill to be ready to
try
> an upgrade to version 4.6.5 or 4.7 - not that simple having on line shops
> ;-)
>
I am guessing your problem has to do with the locale; try
[calc] 100 * 1,5 [/calc] and see if that works like you would normally
expect. Normally, Interchange should ignore locale in that situation, but
I don't pretend to understand all aspects of locales and how they can apply
in all situations. It is possible we are within the scope of a "use locale"
in some situations.
--
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 lists.akopia.com (Jason Kohles)
Date: Thu Jun 7 09:42:02 2001
Subject: [ic] Build-to-Order
On Thu, Jun 07, 2001 at 12:11:50AM +0000, pearless@paradise.net.nz wrote:
> Has anyone used Interchange for products that need to be Built-To-Order
> where you have various rules as to how the products inter-relate and what
> is required to produce a solution for a customer.
>
Interchange 4.7 has modular options that do exactly this, it even has a demo
data set for a computer store.
> A good example would be a customer using a pick-and-mix approach to
> design their own computer (select a case, then a motherboard, then how
> many RAM slots are there what type and speed of RAM, etc etc) that is
> then build and delivered.
>
> I have seen some JAVAScript based drop down list boxes, but they are
> *very* crude and do not enforce any real rule checking, etc.
>
> Or alternatively has anyone seen an open source solution that is
> available that I could interface to Interchange?
>
> Cheers
> Douglas
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 7 09:43:07 2001
Subject: [ic] More Information : Category select box not working in 4.6.5
On Wed, Jun 06, 2001 at 07:26:11PM -0400, Chris Rapier wrote:
> I reinstalled 4.6.5 from the latest sources. I installed the 'construct'
> demo store and before making any changes went to the admin/items section
> and was able to reproduce the problem. Its not that there isn't anything
> in the select box widget it is that there is *no* widget whatsoever.
>
Thats what I meant is that you should get an empty widget, but I can't explain
why there is no widget at all.
> The error I receieved from the demo store was:
> 128.2.85.12 T7aYyIJD:128.2.85.12 - [06/June/2001:19:22:30 -0400]
> construct /cgi-bin/construct.cgi/admin/item_edit Bad SQL, query was:
> select DISTINCT category, category FROM products ORDER BY category
>
Looking at this bug it appers the problem is that it was unable to
create a SQL::Parser object for some reason, but you do seem to have found
a bug that is suppressing the cause of the error in this case. If you are
comfortable changing the perl in the core you could try changing line 569
of Vend::Table::Common
from:
::logError("Bad SQL, query was: $query");
to:
::logError("Bad SQL ($@), query was: $query");
this should give you the actual cause of the error. You might also check
to make sure you have the SQL::Statement module installed, as from the code
that appears to be the big thing that could cause this problem.
> NOTE: I am using the default DBM database. I'm guessing that this might
> be the problem. However, it seems to me that if thats the default
> database all of the attributes of the demo store should work as
> advertised.
>
It should, and when I installed it here I also used DBM, which makes me
suspect that is not the real problem. Once the person who is in charge
of demo.akopia.com gets into the office this morning I will get them to
give me access to that machine so I can track the problem down there.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 7 09:51:00 2001
Subject: [ic] Bugs ?
On Thu, Jun 07, 2001 at 06:07:24PM +0700, utomo wrote:
> I just found (but not look yet):
> The Cygwin project consists in porting the GNU tools and utilities for
> Windows 95, 98, and NT. The Cygwin library provides a UNIX-like API on top
> of the Win32 API.
> If you need more information , you can go to the cygwin site :
> http://sources.redhat.com/cygwin/
> Or I just remember wine, is that working Interchange+Wine+Win?.
>
Cygwin is (primarily) a compiler, since Interchange is written in perl
you don't really need a compiler to install it. The fact is it would
probably be trivial to get Interchange running on windows since you can
get Perl for windows (http://www.activestate.com/ASPN/Downloads/ActivePerl/)
and apache for windows
(http://www.apache.org/docs-2.0/platform/windows.html), I just don't
know of anyone that has ever tried it. Wine is completely backwards
from what you want, it lets you run windows applications under linux.
Maybe if I get bored in my copious free time I'll try it someday, but if
you really want Interchange for windows you have basically two options.
1) port it yourself
2) hire someone to port it for you
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Murray Gibbins)
Date: Thu Jun 7 10:15:00 2001
Subject: [ic] interchange html4 validation problems
On my shop when I use "[page]" tag it produces a link of the type...
http://some_url/cgi-bin/shop/range?id=gkNCdu9w&mv_pc=3
... how ever when I check this page with the W3C HTML Validation Service at
http://validator.w3.org/ it says that this is not valid HTML.
Is there a way of turning it ( the "&mv_pc=3" ) off, and if not why is
interchange not providing
valid HTML4?
BTW I use interchange 4.6.3, RH7.0, perl 5.6.0 and my HTML is "<!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">"
Yours
Murray
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interchange-users at lists.akopia.com (Carl C.)
Date: Thu Jun 7 10:57:00 2001
Subject: [ic] Attempting to lookup a SKU/Code number from another database...
>From: John Beima <jbeima@palb.com>
>To: interchange-users@developer.akopia.com
>Subject: Re: [ic] Attempting to lookup a SKU/Code number from another database...
>Date: Wed, 06 Jun 2001 21:42:19 -0600 (MDT)
>Reply-To: interchange-users@lists.akopia.com
>
>I am not even sure this one deserves an answer....
Yes it does <grin>... And you helped! Thank you John.
>But here is your problem... The [value] tag retrieves values from the LAST form
>posted, not the current one being posted...
My original description:
>>I have shop that sells a products that's based on a Width x Length form.
>>I've created a database to lookup the SKU (CODE). The database is called
>>vpa-lookup . I am trying to use that lookup to send the SKU (example:VPA-1-1)
>>to the basket and checkout page:
Alright, Based on John's idea, I've split the work between 2 pages...
The first page is set as follows:
<FORM ACTION="[process-target]" METHOD=POST>
....
<select name="mv_order_quantity">
....
<select name="mv_order_widthacross">
....
<select name="mv_order_lengthdown">
....
<INPUT TYPE=hidden NAME=mv_doit VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=cat44a.html>
<INPUT TYPE=submit VALUE="Click here to calculate cost"> </FORM>
This does a great job of sending the values to the "cat44a.html" page. But
I still can't get the SKU number out of my "vpa-lookup" database. Here's
the second page:
<FORM ACTION="[process-target]" METHOD=POST>
.....
<INPUT TYPE=hidden NAME=mv_todo value=refresh>
<INPUT TYPE=hidden NAME=mv_order_item VALUE="[value [ data table=vpa-lookup fiel
d='[value mv_order_widthacross]' key='[value mv_order_lengthdown]' ]]">
<INPUT TYPE=submit VALUE="Click here to Order this product"> </FORM>
When I look at the HTML source thats generated, I get this:
<INPUT TYPE=hidden NAME=mv_order_item VALUE="' key='26' ]]">
I can see where some of parts are getting replace....
Many thanks in advance!
Carl
=====================
http://www.carlc.com/
"Price, Performance, Quality. Choose any two you like."
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Thu Jun 7 10:58:22 2001
Subject: [ic] More Information : Category select box not working in 4.6.5
> Looking at this bug it appers the problem is that it was unable to
> create a SQL::Parser object for some reason, but you do seem to have found
> a bug that is suppressing the cause of the error in this case. If you are
> comfortable changing the perl in the core you could try changing line 569
> of Vend::Table::Common
I'll give that a shot in a little while. I've since uninstalled 4.6.5
and installed 4.7.2. I do not encounter this error under 4.7.2. Instead
I just have the problem where the select box only returns the first 50
items in the list... which is bad as I need at least 160 returned.
c'est la vie.
> this should give you the actual cause of the error. You might also check
> to make sure you have the SQL::Statement module installed, as from the code
> that appears to be the big thing that could cause this problem.
I think I have installed it. At least, if it was part of the minivend
module bundle then I have.
> It should, and when I installed it here I also used DBM, which makes me
> suspect that is not the real problem. Once the person who is in charge
> of demo.akopia.com gets into the office this morning I will get them to
> give me access to that machine so I can track the problem down there.
Cool. I'd rather go back to using 4.6.5 if I can... Well, assuming that
I can get more than 50 items returned in the select box there. :)
From: interchange-users at lists.akopia.com (Kevin Flynn)
Date: Thu Jun 7 11:06:00 2001
Subject: [ic] Searching tables
I'd appreciate any further help with the piece of code below. I want to
search the description field in the orderline table to see what order
contains a particular product (i.e. Hand Planer) and pull back all relevant
information for that order (i.e. Order number, username, address, etc...).
which is held in the transactions table.
<snip>
[query
sql="SELECT order_number, fname, lname, city, state, country,
order_date, status
FROM transactions,orderline WHERE description LIKE
'given_keyword'
AND transactions.order_number = orderline.order_number
[comment]===== I keep getting an INTERNAL SERVER ERROR when I put the above
line in =====[/comment]
"]
[sql-param order_number]
[sql-param order_date]
[sql-param fname]
[sql-param lname]
[sql-param city],
[sql-param state],
[sql-param country]
[sql-param status]
[/query]
</snip>
Regards,
Kevin Flynn
kflynn@celticlinks.com
----- Original Message -----
From: Mike Heins <mikeh@minivend.com>
To: <interchange-users@developer.akopia.com>
Sent: 06 June 2001 17:36
Subject: Re: [ic] Searching tables
> Quoting Kevin Flynn (kflynn@celticlinks.com):
> > I am trying to translate the sql statement below into a search region
where
> > it pulls from 2 tables.
> >
> > SELECT * FROM transactions, orderline WHERE description =
> > "given_keyword" AND
> > transaction.order_number = orderline.order_number;
> >
> > I want to search through the orders to see who bought a particular
product
> > (i.e. Hand Planer) and pull back all relevant information for that order
> > (i.e. Order number, username, address, etc...). The product Description
is
> > in the orderline table whereas all customer details are in the
transactions
> > table.
> >
> > I'd appreciate some help with this as I have been banging my head
against a
> > wall for ages trying to figure it out!
> >
>
> Can't do it with search-region. But if you have a SQL database
> then [query ...] will work. Bear in mind that any columns that are
> accessed with [sql-param field], not [sql-param table.field], and
> any named the same will not work with [sql-param field] but will with
> [sql-pos N].
>
> --
> 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".
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 7 11:11:01 2001
Subject: [ic] interchange html4 validation problems
Quoting Murray Gibbins (Murray@scotweb.ltd.uk):
>
> On my shop when I use "[page]" tag it produces a link of the type...
>
> http://some_url/cgi-bin/shop/range?id=gkNCdu9w&mv_pc=3
>
> ... how ever when I check this page with the W3C HTML Validation Service at
> http://validator.w3.org/ it says that this is not valid HTML.
>
> Is there a way of turning it ( the "&mv_pc=3" ) off, and if not why is
> interchange not providing
> valid HTML4?
If you can explain why that is not valid HTML4, perhaps then we can explain
why it is generated that way. Until then, quit accusing.
--
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 lists.akopia.com (Murray Gibbins)
Date: Thu Jun 7 11:28:00 2001
Subject: [ic] interchange html4 validation problems
Mike Heins wrote:
> If you can explain why that is not valid HTML4, perhaps then we can explain
> why it is generated that way. Until then, quit accusing.
wellllll, first W3C HTML Validation Service said this....
----snip
Below are the results of attempting to parse this document with an SGML parser.
Line 27, column 64:
... eb.ltd.uk/carn/catalog?id=HTFrVqjK&mv_pc=1"><img src="/shopp ...
^
Error: unknown entity "mv_pc" (explanation...)
----snip
and this at http://validator.w3.org/docs/errors.html#bad-entity
----snip
general entity `FOO' not defined and no default entity"
The Validator has found an entity (something like &this;) that it doesn't
recognize. There are a few possibilities:
.....
A URL for a CGI program that uses `&' as a separator, such as
"http://host/prog?x=1&y=2". This is a common problem: the inventors of CGI
didn't think things through very carefully when they decided to use the '&'
character as a separator between CGI arguments, because '&' has special status
in HTML. One way to get around this is for the author of the CGI program to use
a different value between arguments, like ';' or '|', which would allow the link
to be coded as <img src="http://site/cgi?opt1=val1;opt2=val2"> or whatever.
Please contact the maintainer of the CGI program you are linking to, and ask
them to use a different character for their separator. (Normally this is
extremely easy to add to the CGI program; multiple characters can also be used
so existing links using the '&' character will still work.)
There is also a simple workaround described at
<URL:http://www.htmlhelp.com/tools/validator/problems.html#amp>.
Simply encode all your &'s as & in attribute values.
----snip
--------------
So there MR Mike :-P
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 7 11:47:00 2001
Subject: [ic] interchange html4 validation problems
On Thu, Jun 07, 2001 at 11:12:42AM -0400, Mike Heins wrote:
> Quoting Murray Gibbins (Murray@scotweb.ltd.uk):
> >
> > Is there a way of turning it ( the "&mv_pc=3" ) off, and if not why is
> > interchange not providing
> > valid HTML4?
>
> If you can explain why that is not valid HTML4, perhaps then we can explain
> why it is generated that way. Until then, quit accusing.
>
The 4.0 spec says that urls of the type Interchange builds must encode the
ampersand, using ?mv_session_id=something&mv_pc=3 or & instead of
& because of the conflict with using & to indicate character entities.
http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2
They recommend the use of ; instead of &. I've wanted to go through and
see what it would take to convert since back when I was using Minivend,
but never got the time to do it.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Xiaowen Wu)
Date: Thu Jun 7 12:01:45 2001
Subject: [ic] order status email
1) add the field in the transactions or orderline table
2) edit interchange/lib/UI/pages/admin/order_status.html to enter the
tracking number
3) edit etc/shipping_notice to include the tracking number
Hope this will help
Wen
On Wed, 6 Jun 2001, Steve Bourg wrote:
> Hey All,
>
> I want to provide a tracking number for my customers once a product has
> shipped. I want this tracking number to go out with the email sent to
> customers once the order status has been changed to "shipped". I'm
> planning on just adding a tracking field to the orderline table, but how
> do I add text (and this tracking field) to that email? What file(s) would
> I change?
>
> Thanks,
>
> Steve Bourg
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 7 12:02:34 2001
Subject: [ic] More Information : Category select box not working in 4.6.5
On Wed, Jun 06, 2001 at 07:26:11PM -0400, Chris Rapier wrote:
>
> The error I receieved from the demo store was:
> 128.2.85.12 T7aYyIJD:128.2.85.12 - [06/June/2001:19:22:30 -0400]
> construct /cgi-bin/construct.cgi/admin/item_edit Bad SQL, query was:
> select DISTINCT category, category FROM products ORDER BY category
>
Well, I have managed to track down the cause of this, although I can't
fully explain it, I can offer a workaround. The problem is that code
in Scan.pm is using $INC{'SQL/Statement.pm'} to determine if the
SQL::Statement module was successfully loaded, this is a common practice,
and should work fine. In this case however, %INC is blank, and I haven't
yet been able to figure out why, what this does is make Interchange think
that the SQL::Statement module is not available, which then hits another
bug, the error message being returned is never displayed, so you don't
actually know what went wrong. I've checked a fix in to the 4.7 cvs tree,
and the patches are attached below which fix the error suppression, and use
a different technique to see if SQL::Statement is available, you should be
able to apply them easily to 4.6.
--- lib/Vend/Scan.pm 2001/04/20 18:13:21 1.7.2.6
+++ lib/Vend/Scan.pm 2001/06/07 15:57:18
@@ -575,7 +575,7 @@
}
die "SQL is not enabled for Interchange. Get the SQL::Statement module.\n"
- unless $INC{'SQL/Statement.pm'};
+ unless defined &SQL::Statement::new;
my $parser = SQL::Parser->new('Ansi');
--- lib/Vend/Table/Common.pm 2001/05/16 16:07:32 1.16.4.11
+++ lib/Vend/Table/Common.pm 2001/06/07 15:57:43
@@ -645,7 +645,11 @@
($spec, $stmt) = Vend::Scan::sql_statement($query, $ref);
};
if(! CORE::ref $spec) {
- ::logError("Bad SQL, query was: $query");
+ if($@) {
+ ::logError("Bad SQL, error was: $@, query was: $query");
+ } else {
+ ::logError("Bad SQL, query was: $query");
+ }
return ($opt->{failure} || undef);
}
my @additions = grep length($_) == 2, keys %$opt;
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 7 12:20:00 2001
Subject: [ic] interchange html4 validation problems
Quoting Murray Gibbins (Murray@scotweb.ltd.uk):
> Mike Heins wrote:
>
> > If you can explain why that is not valid HTML4, perhaps then we can explain
> > why it is generated that way. Until then, quit accusing.
>
> wellllll, first W3C HTML Validation Service said this....
>
> ----snip
>
> Below are the results of attempting to parse this document with an SGML parser.
>
> Line 27, column 64:
>
> ... eb.ltd.uk/carn/catalog?id=HTFrVqjK&mv_pc=1"><img src="/shopp ...
> ^
>
> Error: unknown entity "mv_pc" (explanation...)
>
> ----snip
>
> and this at http://validator.w3.org/docs/errors.html#bad-entity
>
> ----snip
>
> general entity `FOO' not defined and no default entity"
>
> The Validator has found an entity (something like &this;) that it doesn't
> recognize. There are a few possibilities:
>
> .....
> A URL for a CGI program that uses `&' as a separator, such as
> "http://host/prog?x=1&y=2". This is a common problem: the inventors of CGI
> didn't think things through very carefully when they decided to use the '&'
> character as a separator between CGI arguments, because '&' has special status
> in HTML. One way to get around this is for the author of the CGI program to use
> a different value between arguments, like ';' or '|', which would allow the link
> to be coded as <img src="http://site/cgi?opt1=val1;opt2=val2"> or whatever.
>
> Please contact the maintainer of the CGI program you are linking to, and ask
> them to use a different character for their separator. (Normally this is
> extremely easy to add to the CGI program; multiple characters can also be used
> so existing links using the '&' character will still work.)
>
> There is also a simple workaround described at
> <URL:http://www.htmlhelp.com/tools/validator/problems.html#amp>.
> Simply encode all your &'s as & in attribute values.
>
> ----snip
>
> --------------
>
Virtually every existing CGI program uses ampersand to separate parameters,
as that was defined in the original CGI spec.
This is actually quite absurd of the HTML4 validation suite.
It of course doesn't have anything to do with mv_pc=.... -- it would
apply to any URL generated by Interchange -- or Google -- or just
about anyone. So in order to comply with their validation suite, they
are saying that the thousands of existing CGI programs should be modified --
instead of building in a switch which says "ignore this".
We won't be complying with HTML 4 in this way any time soon. If ever.
--
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 lists.akopia.com (Ed LaFrance)
Date: Thu Jun 7 12:42:01 2001
Subject: [ic] Manipulating shipping total from ups lookup in 4.6.5
At 09:52 PM 06/06/2001 -0400, you wrote:
>Quoting Ed LaFrance (edl@newmediaems.com):
> > Hi All -
> >
> > Does anyone know any easy way to manipulate the shipping amount from a
> > ups-style lookup after the fact (i.e. - subtract a fixed amount from the
> > shipping, reduce it by a percentage, etc)? Ideally I would like something
> > like the [assign] tag in 4.7.x, but this particular cat is 4.6.5 and
> > upgrading is not a good option right now.
> >
> > The shipping docs mention something about appending some calcs to the
> > lookup with @@COST@@, but there are scant examples and I have not been
> able
> > to get it to work. \
> >
>
>You can set the adder. The eighth field in a tab-separated line is the options
>field, and it can be a hash reference. (The sixth field is the cost field,
>so there needs to be a tab between that and the options field.) It can contain
>something like:
>
> { adder => '@@TOTAL@@ * .05' }
>
>That will add 5% to the calculated cost.
Thanks, Mike. FWIW to whomever might be listening, you can reference the
scratch variable hash (and no doubt other data structures as well) in the
adder, allowing dynamic control over the adjustment, which is where I was
ultimately headed with this (here's a contrived example):
On some catalog page:\
[if something_is_true]
[set shipping_adder]-2[/set]
In shipping.asc:
{ adder => '$Scratch->{shipping_adder}' }
...allows you to conidi
>--
>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@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Ed LaFrance)
Date: Thu Jun 7 12:44:01 2001
Subject: [ic] Manipulating shipping total from ups lookup in 4.6.5
Sorry about that...here's the complete message:
At 09:52 PM 06/06/2001 -0400, you wrote:
>Quoting Ed LaFrance (edl@newmediaems.com):
> > Hi All -
> >
> > Does anyone know any easy way to manipulate the shipping amount from a
> > ups-style lookup after the fact (i.e. - subtract a fixed amount from the
> > shipping, reduce it by a percentage, etc)? Ideally I would like something
> > like the [assign] tag in 4.7.x, but this particular cat is 4.6.5 and
> > upgrading is not a good option right now.
> >
> > The shipping docs mention something about appending some calcs to the
> > lookup with @@COST@@, but there are scant examples and I have not been
> able
> > to get it to work. \
> >
>
>You can set the adder. The eighth field in a tab-separated line is the options
>field, and it can be a hash reference. (The sixth field is the cost field,
>so there needs to be a tab between that and the options field.) It can contain
>something like:
>
> { adder => '@@TOTAL@@ * .05' }
>
>That will add 5% to the calculated cost.
Thanks, Mike. FWIW to whomever might be listening, you can reference the
scratch variable hash (and no doubt other data structures as well) in the
adder, allowing dynamic control over the adjustment, which is where I was
ultimately headed with this (here's a contrived example):
On some catalog page:
[if something_is_true]
[set shipping_adder]-2[/set]
[else]
[set shipping_adder][/set]
[/else]
[/if]
In shipping.asc:
{ adder => '$Scratch->{shipping_adder}' }
...allows you to conditionally take $2 off of the shipping charges.
- Ed L.
>--
>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@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Richard Eicher II)
Date: Thu Jun 7 12:50:01 2001
Subject: [ic] The page cannot be displayed
I am running version 4.6.5 on redhat 7.1.
When I click on any link on Construct Something
home page I get:
The page cannot be displayed
I have check the error logs and httpd logs and
the show nothing.
Has anyone run ito this or can provide a system
to debug the problem.
Thank you for your time,
Richard Eicher II
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Thu Jun 7 13:22:00 2001
Subject: [ic] Separated Categories Menus
Hi all !
Exist a way of separating the menu
of the categories?
For example, in the store demo, it has the menu on
the left side.
Well, this menu has the categories and the sub-categories.
The one that I would like is of placing this menu in
certain parts of my site.
But with a condition: this menu should only be in two pages
of my site.
And in the first page, the menu should just show 1 category
(and its sub-categories).
In the other page, the menu should appear and to show
ANOTHER category (and its sub-category).
Someone known that it is possible?
Thanks,
::: Samir G. Barak :::::::::::::::::::::::::
From: interchange-users at lists.akopia.com (Richard Eicher II)
Date: Thu Jun 7 13:41:01 2001
Subject: [ic] The page cannot be displayed
Searching through the archives I have found talk
of this error before. After trying everything the
talk about I have come up with nothing. They are
mainly interested in the permisions of the link
program.
My are as follows:
-rwsr-xr-x 1 interch interch 7624 Apr 17
10:31 construct
Hope this might help,
Rick Eicher II
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Chris Schaub)
Date: Thu Jun 7 14:12:01 2001
Subject: [ic] problem running configure
I'm getting the following error running configure ...
syntax error at Makefile.PL line 532, near ") for "
BEGIN not safe after errors--compilation aborted at Makefile.PL line 775.
Running linux, i686. Thanks.
=====
# Chris Schaub (man for all seasons)
# http://www.schaub.com
# http://www.schaubguitar.com
# http://www.nhzen.org
# http://www.reggiedog.com
# E-mail: chris@schaub.com
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Stuckenberger, Patrick)
Date: Thu Jun 7 15:09:00 2001
Subject: [ic] Unrecognized character
hi!
my apache error log explains about "unrecognized character" every time when
the demo catalog should be startet.
I installed interchange on a SuSE "powered" server, mayba someone of you had
such an problem and can help me.
best regards:
Patrick
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Thu Jun 7 15:26:01 2001
Subject: [ic] Not using inventory: Problems under 4.7.2
I'm using 4.7.2 and I am not using an inventory table in my catalog.
This is one that I've been porting from Minivend 4.04a. I've been able
to get 99% of it to work properly but I'm still having some issues.
When I finalized an order under minivend 4.04a it would process
etc/report and the store owner woudl be sent some mail. Now it doesn't
seem as if its actually being processed or at least the log_entry and
log_transaction files are being processed in preference to report. How
do I get 4.7.2 to work like 4.04a did?
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Thu Jun 7 15:28:01 2001
Subject: [ic] Problem with complex search in layout editor
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
Hi,
Thanks for the reply, Steve, that did it. Now, anyone know why this happens?
After adding one or more complex searches in the layout editor for
categories, if you rename cat.txt, and then rename it back to cat.txt it
breaks the search. The only way I can make the complex search work is with
carriage returns after each variable, which seems to be normal, ie:
fi=products
st=text
se=Hammers
ml=25
tf=description
However, I can not export cat.txt and then import it back because it breaks
the search after import (or renaming cat.txt, as above), because of the
carriage returns (I believe). Is this normal and is there a workaround?
Thanks to you if you know and tell!
Curt Hauge
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 7 15:58:01 2001
Subject: [ic] Problem with complex search in layout editor
On Thu, Jun 07, 2001 at 02:31:21PM -0500, Curt Hauge wrote:
> Thanks for the reply, Steve, that did it. Now, anyone know why this happens?
> After adding one or more complex searches in the layout editor for
> categories, if you rename cat.txt, and then rename it back to cat.txt it
> breaks the search. The only way I can make the complex search work is with
> carriage returns after each variable, which seems to be normal, ie:
>
> fi=products
> st=text
> se=Hammers
> ml=25
> tf=description
>
> However, I can not export cat.txt and then import it back because it breaks
> the search after import (or renaming cat.txt, as above), because of the
> carriage returns (I believe). Is this normal and is there a workaround?
>
Make sure you are using carriage returns (^M) and not new-lines if you are
editing the .txt file directly (if you are not editing it directly and just
exporting, then I would say you probably found a bug), you can also do complex
searches on one line like this:
fi=products/st=text/se=Hammers/ml=25/tf=description
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jud Harris)
Date: Thu Jun 7 16:02:01 2001
Subject: [ic] Anyone using Mail Order Manager?
If so, do you have it integrated with IC and how?
2000 words or less. Go.
-Jud
From: interchange-users at lists.akopia.com (Steve Bourg)
Date: Thu Jun 7 16:27:00 2001
Subject: [ic] pricing by product attributes
I'm deploying a storefront that sells a lot of clothing merchandise. With
this type of product, there's a lot of variance in size (Small, Medium
Large) and a variance in price to go with it. I've read small bits of
documentation regarding CommonAdjust but I'm not getting the whole picture
on how to implement this. Can anyone provide me with a solid
overview and/or a step-by-step set of instructions on this?
Thanks,
Steve Bourg
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Thu Jun 7 16:29:01 2001
Subject: [ic] Please Help: Strange problem
Hi,
I am currently testing my Interchange 4.7.2 install, and I seem to run into
a strange problem. When I check the pre-installed orders (those that come
with the demo) in the admin UI, I can see all the data (i.e. all items in
the orders), but when I check my own test orders in both the customer (order
tracking) as well as the admin UI (order viewing), I do not see the items
ordered by the customer (all other info is present, except for shipping
costs, but that is not yet properly set up). IC does not add the orders to
transactions nor does it add the new orders to orderline. I have only a
vague feeling what the problem could be, but no clue as to what the solution
could be.
I am running the standard Database (flat text)
Another problem is that I cannot send creditcard numbers through e-mail,
even though I changed the check in the etc/report file. I just get the first
2 numbers and the last four. I just want to get this to work for testing
purposes, but I'm not able to get it to work. Hopefully someone can help.
Does anyone know what is going wrong, and perhaps can think of a solution to
this problem. Please help!
Thanx
Guy Soudant
PS! I heard that someone posted a solution to this message board, but I'm
not able to find it :-(
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Thu Jun 7 16:51:01 2001
Subject: [ic] Not using inventory: Problems under 4.7.2
One of the things I hate doing is coming back heer and goign
"Doh!"
I figured it out. The process seems to be somewhat different that what I
was used to. The order text was being sent but as an attachment instead
of in the main body of the message. I didn't even pick up on it even
though pine was clearly indicating what was happening...
so uhhh
doh!
Chris Rapier wrote:
>
> I'm using 4.7.2 and I am not using an inventory table in my catalog.
> This is one that I've been porting from Minivend 4.04a. I've been able
> to get 99% of it to work properly but I'm still having some issues.
>
> When I finalized an order under minivend 4.04a it would process
> etc/report and the store owner woudl be sent some mail. Now it doesn't
> seem as if its actually being processed or at least the log_entry and
> log_transaction files are being processed in preference to report. How
> do I get 4.7.2 to work like 4.04a did?
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 7 17:13:00 2001
Subject: [ic] interchange html4 validation problems
Quoting Mike Heins (mheins@redhat.com):
> > The Validator has found an entity (something like &this;) that it doesn't
> > recognize. There are a few possibilities:
> >
> > .....
> > A URL for a CGI program that uses `&' as a separator, such as
> > "http://host/prog?x=1&y=2". This is a common problem: the inventors of CGI
> > didn't think things through very carefully when they decided to use the '&'
> > character as a separator between CGI arguments, because '&' has special status
> > in HTML. One way to get around this is for the author of the CGI program to use
> > a different value between arguments, like ';' or '|', which would allow the link
> > to be coded as <img src="http://site/cgi?opt1=val1;opt2=val2"> or whatever.
> >
> > Please contact the maintainer of the CGI program you are linking to, and ask
> > them to use a different character for their separator. (Normally this is
> > extremely easy to add to the CGI program; multiple characters can also be used
> > so existing links using the '&' character will still work.)
> >
> > There is also a simple workaround described at
> > <URL:http://www.htmlhelp.com/tools/validator/problems.html#amp>.
> > Simply encode all your &'s as & in attribute values.
> >
> > ----snip
> >
> > --------------
> >
>
> Virtually every existing CGI program uses ampersand to separate parameters,
> as that was defined in the original CGI spec.
>
> This is actually quite absurd of the HTML4 validation suite.
Even more absurd when you consider that every browser in the world
separates parameters in form posts with an ampersand unless you make
them do all forms as multipart. This means that every CGI program in
the world would have to detect the method and alter its parsing routines
depending on whether it was a POST or GET.
I would be very surprised if a real validation suite would flag that
for "HTML 4.01 transitional" type. Perhaps "HTML 4.01 strict", but why would
that ever be used?
--
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 lists.akopia.com (IC-Admin)
Date: Thu Jun 7 17:23:01 2001
Subject: [ic] [OT] RH service
I wished there were a service like this:
A monthly floppy with all archived posts to this list, sent
via USPS.
BF
From: interchange-users at lists.akopia.com (IC-Admin)
Date: Thu Jun 7 18:08:01 2001
Subject: [ic] Re: [OT] RH service
On Thu, 7 Jun 2001, IC-Admin wrote:
>
> I wished there were a service like this:
>
> A monthly floppy with all archived posts to this list, sent
> via USPS.
>
> BF
>
Or a .tar.gz file of the monthly archived posts on the ftp server
to download (file size not larger than what fits on a floppy) for
hermits who can't have internet access for more than five minutes
once a month. :-)
BF
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 7 18:10:00 2001
Subject: [ic] order status email
On Wed, 6 Jun 2001, Steve Bourg wrote:
SB>>I want to provide a tracking number for my customers once a product has
SB>>shipped. I want this tracking number to go out with the email sent to
SB>>customers once the order status has been changed to "shipped". I'm
SB>>planning on just adding a tracking field to the orderline table, but how
SB>>do I add text (and this tracking field) to that email? What file(s) would
SB>>I change?
I don't know of any way to get that tracking number out of the UPS
shipping software and into IC.
The UPS shipping software that I am using has an option where I can put
in the e-mail address of the buyer and it will send them an e-mail with
the tracking number.
Preferring the personal touch, I e-mail each one individually with a
copy of their order and insert a text file with a canned blurb and then
type in the UPS tracking number in the form of a link that they can
click on.
I am soon going to move to letting the UPS software send out the
confirmations, though.
I think that it's essential that the customer have the tracking number.
That way, when the shipment gets lost or delayed the customer can
clearly see that it's not my fault. I get zero complaints in this area.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 07, 2001 at 18:05 PM:
Everyone is gifted. Some open the package sooner.
----------------------------------------------------------------
This Linux System has been up 404 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Thu Jun 7 18:26:00 2001
Subject: [ic] Re: [OT] RH service
BF,
You can download the Gzip'd text files from:
http://lists.akopia.com/pipermail/interchange-users/. While they don't have
a complete list, they have archives dating back to August 2000.
-- Randy
-----Original Message-----
From: IC-Admin [mailto:interchange@my-school.com]
Sent: Thursday, June 07, 2001 4:29 PM
To: interchange-users@developer.akopia.com
Subject: [ic] Re: [OT] RH service
On Thu, 7 Jun 2001, IC-Admin wrote:
>
> I wished there were a service like this:
>
> A monthly floppy with all archived posts to this list, sent
> via USPS.
>
> BF
>
Or a .tar.gz file of the monthly archived posts on the ftp server
to download (file size not larger than what fits on a floppy) for
hermits who can't have internet access for more than five minutes
once a month. :-)
BF
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Thu Jun 7 18:27:01 2001
Subject: [ic] Problem with complex search in layout editor
>you can also do complex
> searches on one line like this:
> fi=products/st=text/se=Hammers/ml=25/tf=description
Thank you, that was the answer I was looking for!!! There must be a reason
you can do it both ways (carriage returns or /), but I will surely use /
instead of carriage returns for these complex searches. WOOHOO!
Curt
From: interchange-users at lists.akopia.com (Gift Bound Gifts)
Date: Thu Jun 7 18:29:01 2001
Subject: [ic] images?
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C0EEB6.2E943FA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Im trying to get a clickable image in my products so it can go to a =
larger image. Does anyone know how I can do this?
------=_NextPart_000_0007_01C0EEB6.2E943FA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4613.1700" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Im trying to get a clickable image in =
my products=20
so it can go to a larger image. Does anyone know how I can do=20
this?</FONT></DIV></BODY></HTML>
------=_NextPart_000_0007_01C0EEB6.2E943FA0--
From: interchange-users at lists.akopia.com (Garry)
Date: Thu Jun 7 18:29:31 2001
Subject: [ic] Beginner - Don't know where to start
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C0EF7B.B30F15A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I am just a beginner and very new to Interchange.
My Web Hosting Server has version 4.6 pre-installed with the "Construct" =
demo.
All I want to do, is move a few things on the pages, change the colour =
scheme a little, and obviously replace the tools with my own products.
I have looked at the User Interface for hours now, and still havent =
made any headway in changing anything significant.
Does anyone know where I might be able to find any documentation on how =
to customise this thing? - preferably an "Idiots Guide" type of thing? =
or where I might look to find some basic, fundamental answers to my =
simple requirements?
Thanks
Gaz
------=_NextPart_000_000B_01C0EF7B.B30F15A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#fff7df>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I am just a beginner and very new to=20
Interchange.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>My Web Hosting Server has version 4.6 =
pre-installed=20
with the "Construct" demo.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>All I want to do, is move a few things =
on the=20
pages, change the colour scheme a little, and obviously replace the =
tools with=20
my own products.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I have looked at the User =
Interface for=20
hours now, and still havent made any headway in changing anything=20
significant.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Does anyone know where I might be able =
to find=20
<STRONG><EM>any</EM></STRONG> documentation on how to customise this =
thing? -=20
preferably an "Idiots Guide" type of thing? or where I might look to =
find some=20
basic, fundamental answers to my simple requirements?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Gaz</FONT></DIV></BODY></HTML>
------=_NextPart_000_000B_01C0EF7B.B30F15A0--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Thu Jun 7 18:30:00 2001
Subject: [ic] Re: [OT] RH service
> On Thu, 7 Jun 2001, IC-Admin wrote:
>
> >
> > I wished there were a service like this:
> >
> > A monthly floppy with all archived posts to this list, sent
> > via USPS.
> >
> > BF
> >
>
> Or a .tar.gz file of the monthly archived posts on the ftp server
> to download (file size not larger than what fits on a floppy) for
> hermits who can't have internet access for more than five minutes
> once a month. :-)
I would suggest that you would request the posts by CPIP (specified in rfc1149)
More detailed info can be found over here: http://www.blug.linux.no/rfc1149/
Rene
From: interchange-users at lists.akopia.com (Jason Korkin)
Date: Thu Jun 7 18:37:00 2001
Subject: [ic] images?
Try:
[page [item-code]<IMG SRC="[item-code].jpg">[/page]
-- this actually gets you to click on the image and then brings you into
the flypage.html. An alternative would be to just...
<A HREF="/bigger_image/[item-code].jpg"><IMG
SRC="/small/[item-code].jpg"></A>
That should do the trick :-)
Jason Korkin.
> Gift Bound Gifts wrote:
>
> Im trying to get a clickable image in my products so it can go to a
> larger image. Does anyone know how I can do this?
--
---------------------------------------------------------------
**** Virtual Hosting w/ Interchange, $20/month! ****
---------------------------------------------------------------
KORKSOFT - Software & Internet Solutions
Interchange, E-Commerce, C++/Perl/PHP/ASP
http://www.korksoft.com
http://www.atworkservers.com
Tel: (603) 672-1246 x 201
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Thu Jun 7 18:55:01 2001
Subject: [ic] Searching tables
Kevin Flynn wrote:
>
> I'd appreciate any further help with the piece of code below. I want to
> search the description field in the orderline table to see what order
> contains a particular product (i.e. Hand Planer) and pull back all relevant
> information for that order (i.e. Order number, username, address, etc...).
> which is held in the transactions table.
>
> <snip>
>
> [query
> sql="SELECT order_number, fname, lname, city, state, country,
> order_date, status
> FROM transactions,orderline WHERE description LIKE
> 'given_keyword'
> AND transactions.order_number = orderline.order_number
> [comment]===== I keep getting an INTERNAL SERVER ERROR when I put the above
> line in =====[/comment]
> "]
> [sql-param order_number]
> [sql-param order_date]
> [sql-param fname]
> [sql-param lname]
> [sql-param city],
> [sql-param state],
> [sql-param country]
> [sql-param status]
> [/query]
>
> </snip>
>
> Regards,
>
> Kevin Flynn
> kflynn@celticlinks.com
>
First, I assume that you are using a true SQL database that can handle
joins. If you are using DBMs, you can forget it.
Second, there are possible ambiguities in your SQL, unless you know your
fields are unique and are sure your database can handle non-explicit
references. I strongly recommend you fully qualify all your columns when
you join tables. Also, for at least some databases, it is useful to have
your join condition be the first element(s) of your where clause.
Something like:
SELECT DISTINCT transactions.order_number, transactions.fname,
transactions.lname, transactions.city, transactions.state,
transactions.country, transactions.order_date,
transactions.status
FROM transactions, orderline
WHERE transactions.order_number=orderline.order_number
AND orderline.description LIKE 'given_keyword'
The DISTINCT will eliminate multiple rows with the same data for any
matches against multiple line items on the same order.
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Thu Jun 7 19:21:01 2001
Subject: [ic] Beginner - Don't know where to start
At 06:00 PM 06/07/2001 +0100, you wrote:
>Hi,
>
>I am just a beginner and very new to Interchange.
>
>My Web Hosting Server has version 4.6 pre-installed with the "Construct" demo.
>
>All I want to do, is move a few things on the pages, change the colour
>scheme a little, and obviously replace the tools with my own products.
>
>I have looked at the User Interface for hours now, and still havent made
>any headway in changing anything significant.
>
>Does anyone know where I might be able to find any documentation on how to
>customise this thing? - preferably an "Idiots Guide" type of thing? or
>where I might look to find some basic, fundamental answers to my simple
>requirements?
>
>Thanks
>
>Gaz
http://interchange.redhat.com/cgi-bin/ic/dev/iccattut.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 lists.akopia.com (Dan B)
Date: Thu Jun 7 19:34:01 2001
Subject: [ic] The page cannot be displayed
At 09:52 AM 6/7/2001 -0700, you wrote:
>I am running version 4.6.5 on redhat 7.1.
>
>When I click on any link on Construct Something
>home page I get:
>
>The page cannot be displayed
>
>I have check the error logs and httpd logs and
>the show nothing.
>
>Has anyone run ito this or can provide a system
>to debug the problem.
>
>Thank you for your time,
>Richard Eicher II
Richard,
It sounds like your perms on your CGI are OK, but have you really followed
the documentation? There are several more suggestions for this type of error.
It would be helpful to know:
- whether you installed the tarball and the rpm
- the output of the "restart" command (service interchange
restart, or bin/interchange -r)
Don't forget to read the great stuff at developer.akopia.com.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 7 19:48:00 2001
Subject: [ic] Re: [OT] RH service
At 01:30 AM 6/8/2001 +0300, you wrote:
> > On Thu, 7 Jun 2001, IC-Admin wrote:
> >
> > >
> > > I wished there were a service like this:
> > >
> > > A monthly floppy with all archived posts to this list, sent
> > > via USPS.
> > >
> > > BF
> > >
> >
> > Or a .tar.gz file of the monthly archived posts on the ftp server
> > to download (file size not larger than what fits on a floppy) for
> > hermits who can't have internet access for more than five minutes
> > once a month. :-)
>
>I would suggest that you would request the posts by CPIP (specified in
>rfc1149)
>
>More detailed info can be found over here: http://www.blug.linux.no/rfc1149/
And for those who require even lower latency connectivity, I recommend that
you look into the new Protocol by Microsoft: "Second Generation PPTP",
called "TTDT". Which is, of course, the "Throw The Darn Thing"
protocol. (Borrowed heavily from the high tech "NFL" interface
cards). It'll be in SP3 for Win2k.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Thu Jun 7 22:05:00 2001
Subject: [ic] UI Combo Select Question
I'm trying to use the combo select widget to allow admins to chose from
1 of several subcategories. Shoudl be pretty simple right? It looks up
the column specified and returns all of the unique field values.
Unfortunately, its not returning all of them. Its crapping out at 50.
This is also happening under the image upload widget as well. If you
have more than 50 images in that directory you'll only see the first 50.
Which is kind of problematic.
My feeling is that this has something to do with a default value for
mv_matchlimit which is, I think, 50. So I edited Scan.pm to raise this
to 75 but I still only saw 50 items. I'm banging my head against a wall
here. Any information on how I can increase this limit would be really
really helpful.
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 7 23:03:00 2001
Subject: [ic] UI Combo Select Question
Quoting Chris Rapier (rapier@psc.edu):
> I'm trying to use the combo select widget to allow admins to chose from
> 1 of several subcategories. Shoudl be pretty simple right? It looks up
> the column specified and returns all of the unique field values.
>
> Unfortunately, its not returning all of them. Its crapping out at 50.
> This is also happening under the image upload widget as well. If you
> have more than 50 images in that directory you'll only see the first 50.
> Which is kind of problematic.
>
> My feeling is that this has something to do with a default value for
> mv_matchlimit which is, I think, 50. So I edited Scan.pm to raise this
> to 75 but I still only saw 50 items. I'm banging my head against a wall
> here. Any information on how I can increase this limit would be really
> really helpful.
Actually, you are running into a limit of 50 -- maybe I figured if you were
using DBM you would not want to do that type of thing for distinct value
sets, or maybe I just forgot that it would affect DBM. Remember, DB searches
for DBM can get very slow with large numbers of records.
These limits don't affect SQL databases.
The section of code that pertains is in lib/UI/Primitive.pm, and if you added
an option hash that set ml => 10000 it would work. Perhaps the better place
to set it is in lib/Vend/Table/Common.pm, and I will probably look at that
eventually for 4.7.x and higher.
For the moment, if you apply this patch to lib/UI/Primitive.pm (for 4.7, finding
4.6 equivalent is easy):
*** /DU/Primitive.pm Tue May 29 10:22:33 2001
--- /du/Primitive.pm Thu Jun 7 23:01:39 2001
***************
*** 920,927 ****
my $dbname = $record->{db} || $table;
my $db = Vend::Data::database_exists_ref($dbname);
last LOOK unless $db;
! my $query = "select DISTINCT $key, $fld FROM $dbname ORDER BY $fld";
! my $ary = $db->query($query);
last LOOK unless ref($ary);
if(! scalar @$ary) {
push @$ary, ["=--no current values--"];
--- 920,934 ----
my $dbname = $record->{db} || $table;
my $db = Vend::Data::database_exists_ref($dbname);
last LOOK unless $db;
! my $flds = $key eq $fld ? $key : "$key, $fld";
! my $query = "select DISTINCT $flds FROM $dbname ORDER BY $fld";
! my $ary = $db->query(
! {
! query => $query,
! ml => $::Variable->{UI_ACCESS_KEY_LIMIT} || 500,
! st => 'db',
! }
! );
last LOOK unless ref($ary);
if(! scalar @$ary) {
push @$ary, ["=--no current values--"];
it should help.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
From: interchange-users at lists.akopia.com (Jeff Carnahan)
Date: Thu Jun 7 23:18:00 2001
Subject: [ic] Anyone using Mail Order Manager?
}Subject: [ic] Anyone using Mail Order Manager?
}
}If so, do you have it integrated with IC and how?
}2000 words or less. Go.
Yes. We've configured IC to save checkout information in a CSV file which
can then be imported into MOM. See your MOM manual for details about the
order import mechanism.
I've also written a program that takes MOM's native XBase database and
throws it into our MySQL server for use by IC.
Again, see the docs in your MOM manual concerning the Order Import/Export
mechanism and the format of the products XBase database.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (IC-Admin)
Date: Thu Jun 7 23:29:00 2001
Subject: [ic] [OT] RH service
On Thu, 7 Jun 2001, IC-Admin wrote:
> > Or a .tar.gz file of the monthly archived posts on the ftp server
> > to download (file size not larger than what fits on a floppy) for
> > hermits who can't have internet access for more than five minutes
> > once a month. :-)
> >
> > BF
>
>
> You can download the Gzip'd text files from:
> http://lists.akopia.com/pipermail/interchange-users/. While they don't
> have a complete list, they have archives dating back to August 2000.
>
> -- Randy
Ooops, did I miss something ? Did they announce having this set up ?
If yes, I apologize. Otherwise, I suggest to link to that page directly
from the developer's site. It's useful.
OK, you are my hero for the day, thanks for the pointer. That makes
life much easier for me. Hope they will keep it up this way.
BF
P.S. Dan and Rene, according to rfc1149, the avain carriers don't
fly to the desert, where I am living my hermitean life (too hot and
dry). But luckily RH IC services can even handle such outlandish requests
as mine.
From: interchange-users at lists.akopia.com (Christopher VanOosterhout)
Date: Thu Jun 7 23:31:00 2001
Subject: [ic] No User Name / Password Needed for Admin Area
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have been using Interchange for a while and I thought I had read and
implemented many of the security cautions issued and published in
documentation and on the Web site.
Now I find something that concerns me a a lot. I must have something
mis-configured.
While it is not fully functional, I can get in to the admin area with out a
user name or password.
I do not use this admin area at all. In fact, I did not even know that it
existed. Now that I know about it, I would like to get it implemented.
As I started to explore the possibilities I found that I could pull up the
admin area without a need for any type of authentication.
Can anyone tell me what I have done wrong. I have searched the archive
unsuccessfully to find an answer. If this has already been addressed on
the list ... (and I have missed it) can you please be so kind as to send me
the URL for the answer in the archive.
In humility I ask for any assistance you can provide,
Chris
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOyBJ+VVkc1Ov5gbPEQJSKACdFSWpHPRN1+JrFfEJvllxAsmaGM4AoPc+
nRkUbvEmi7UAzJBXsHqeAXQb
=U9g9
-----END PGP SIGNATURE-----
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Thu Jun 7 23:47:00 2001
Subject: [ic] No User Name / Password Needed for Admin Area
On Thu, 7 Jun 2001, Christopher VanOosterhout wrote:
> Now I find something that concerns me a a lot. I must have something
> mis-configured.
>
> While it is not fully functional, I can get in to the admin area with out a
> user name or password.
Perhaps you can help us by giving some of the usual prerequisite
information: Interchange version, catalog template (construct, foundation,
etc.), database, any modifications (added or deleted tables, pages, etc.).
Jon
From: interchange-users at lists.akopia.com (Christopher VanOosterhout)
Date: Fri Jun 8 00:03:01 2001
Subject: [ic] No User Name / Password Needed for Admin Area
I originally installed Interchange about five months ago. Using the
version then available from Akopia.
It included the construct template.
However, once I installed the program I created a store using the
instructions in the Akopia document called: "Interchange: Catalog--Building
Tutorial."
Modifications? Well lots of them --- probably too many to remember and /
or list.
Is the admin area automatically open by default?
I notice when I try to get into the admin area of the construct store on
the same server it asks me for a user name and password. However if the
/admin/index.html gets tacked on to the end of one of the other stores, it
allows people into the area without asking for a user name and password.
Eventually I would possibly like to use the admin area, however right now
... especially if it allows anyone in to alter it ... I would like to
disconnect it or cover it by a password.
Thanks,
Chris
At 11:50 PM 6/7/2001 -0400, you wrote:
>On Thu, 7 Jun 2001, Christopher VanOosterhout wrote:
>
> > Now I find something that concerns me a a lot. I must have something
> > mis-configured.
> >
> > While it is not fully functional, I can get in to the admin area with out a
> > user name or password.
>
>Perhaps you can help us by giving some of the usual prerequisite
>information: Interchange version, catalog template (construct, foundation,
>etc.), database, any modifications (added or deleted tables, pages, etc.).
>
>Jon
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Fri Jun 8 02:29:00 2001
Subject: [ic] No User Name / Password Needed for Admin Area
On Fri, 8 Jun 2001, Christopher VanOosterhout wrote:
> I originally installed Interchange about five months ago. Using the
> version then available from Akopia.
>
> It included the construct template.
>
> However, once I installed the program I created a store using the
> instructions in the Akopia document called: "Interchange: Catalog--Building
> Tutorial."
You mean you used the catalog tutorial for a *real* store? Instead of
construct? The tutorial was never meant to be the basis for a real store.
Nobody's ever audited it for security, it doesn't encrypt orders, etc.
etc. I thought we made ample warning about that in the tutorial. I guess
we'll have to warn louder. But congratulations on building a store from
such humble beginnings. :)
> Is the admin area automatically open by default?
>
> I notice when I try to get into the admin area of the construct store on
> the same server it asks me for a user name and password. However if the
> /admin/index.html gets tacked on to the end of one of the other stores, it
> allows people into the area without asking for a user name and password.
It looks like you've found a new security vulnerability. If the access
database does not exist (is not defined at all by catalog.cfg or its
includes), then you get wide-open access.
About the only way you'd find yourself in this situation is by building a
catalog from scratch but leaving the admin UI enabled.
> Eventually I would possibly like to use the admin area, however right now
> ... especially if it allows anyone in to alter it ... I would like to
> disconnect it or cover it by a password.
You should go into interchange.cfg right away and comment out "Variable
UI 1" by putting '#' at the beginning of the line. Then restart and make
sure the admin is no longer available.
In the future I think we'll have the admin pages deny access if there's no
access database at all.
Jon
From: interchange-users at lists.akopia.com (Jason Jensen)
Date: Fri Jun 8 03:10:00 2001
Subject: [ic] Content problem
I am one of those people who not only want a "New Items", and "Specials"
sections, but I also want a "Featured Products" section. I got this mostly
working, I can click on promotion (items menu), and add the item to the
"Featured" promotion, but when I got to setup pages to display the
"Featured" promotion, It only shows me the new Items, and the Specials
section. What needs to be done to add "Featured" to the page editor?
Jason
From: interchange-users at lists.akopia.com (Ton Verhagen)
Date: Fri Jun 8 04:04:02 2001
Subject: [ic] [perl]
Yann,
I guess you're looking for the convert-date tag.
Try this:
[convert-date fmt="%d/%m/%Y"]20010518[/convert-date]
This will display: 18/05/2001
All the best,
Ton
At 11:07 AM 6/6/01 +0100, you wrote:
>I want to display this date 20010701 in this format 01/07/001
>why this doesn't work?
>
>[perl]
>
>$data=[item-field noticia_dataactivacao];
>
>$ano = substr($data, 0, 4);
>$mez = substr($data, 4, 2);
>$dia = substr($data, 6, 2);
>
>return $ano;
>return "/";
>return $mez;
>return "/";
>return $dia;
>
>[/perl]
>
>Yann carlier
>+351-21-4527104/5
><http://www.inteliware.net>www.inteliware.net
><mailto:yann.carlier@inteliware.net>yann.carlier@inteliware.net
From: interchange-users at lists.akopia.com (utomo)
Date: Fri Jun 8 04:15:00 2001
Subject: [ic] Bugs ?
> Message: 3
> Date: Thu, 7 Jun 2001 09:42:38 -0400
> From: Jason Kohles <jkohles@redhat.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Bugs ?
> Reply-To: interchange-users@lists.akopia.com
>
> On Thu, Jun 07, 2001 at 06:07:24PM +0700, utomo wrote:
> > I just found (but not look yet):
> > The Cygwin project consists in porting the GNU tools and utilities for
> > Windows 95, 98, and NT. The Cygwin library provides a UNIX-like
> API on top
> > of the Win32 API.
> > If you need more information , you can go to the cygwin site :
> > http://sources.redhat.com/cygwin/
> > Or I just remember wine, is that working Interchange+Wine+Win?.
> >
> Cygwin is (primarily) a compiler, since Interchange is written in perl
> you don't really need a compiler to install it. The fact is it would
> probably be trivial to get Interchange running on windows since you can
> get Perl for windows
> (http://www.activestate.com/ASPN/Downloads/ActivePerl/)
> and apache for windows
> (http://www.apache.org/docs-2.0/platform/windows.html), I just don't
> know of anyone that has ever tried it. Wine is completely backwards
> from what you want, it lets you run windows applications under linux.
> Maybe if I get bored in my copious free time I'll try it someday, but if
> you really want Interchange for windows you have basically two options.
> 1) port it yourself
> 2) hire someone to port it for you
>
Thanks Jason for your explanation/info.
Sorry I am Wrong about Cygwin and Interchange, and forget about Wine
function :(
Actually I did not need Interchange for Win because My Server using Linux,
meanwhile my PC still using Win 98
Best Regards,
Utomo
From: interchange-users at lists.akopia.com (Murray Gibbins)
Date: Fri Jun 8 04:46:01 2001
Subject: [ic] interchange html4 validation problems
Mike Heins wrote:
> Virtually every existing CGI program uses ampersand to separate parameters,
> as that was defined in the original CGI spec.
>
> This is actually quite absurd of the HTML4 validation suite.
> It of course doesn't have anything to do with mv_pc=.... -- it would
> apply to any URL generated by Interchange -- or Google -- or just
> about anyone. So in order to comply with their validation suite, they
> are saying that the thousands of existing CGI programs should be modified --
> instead of building in a switch which says "ignore this".
>
> We won't be complying with HTML 4 in this way any time soon. If ever.
It seems strange to me that in previous releases of minivend you have correct
URL html syntax.
You were compliant then why not now? I was talking to Mr.Tweedie in the pub last
night about this too. Maybe this needs to be brought to the attention of /. or
someone else even higher up in RH.
It is likely that this change from "&" would not require a lot of effort, a
couple of small changes in the libraries.
But if you must be non compliant with agreed HTML standards can you at least
state this in your release notes? Something along the lines of ...
"Although we make every effort to adhere to internationally agreed standards of
HTML we at interchange ( i.e. RedHat) don't care about them enough to bother".
Otherwise people in the UK are going to get into trouble. It is now the law here
that public sites ( i.e. shopping sites) be accessible to the disabled. This,
more often than not requires valid html to pass the "bobby" test.
I would be happy to discuss in private with your team a course of action to make
interchange compliant.
Yours
Murray
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interchange-users at lists.akopia.com (Sheamus Nulty)
Date: Fri Jun 8 07:38:00 2001
Subject: [ic] Database Handle and Global Subs
I trying to run a database query in a global tag but am running into a
problem with getting access to the database.
I'm using the following code
sub test{
use DBI;
my $dbh = DBI->connect("DBI:mysql:$dbname", $dbuser, $dbpasswd);
.....
}
and I get an error saying
Can't locate object method "connect" via package "DBI" at (eval 91) line 14.
Can anybody shed some light on why this won't work.
Thanks
Sheamus
From: interchange-users at lists.akopia.com (IC-Admin)
Date: Fri Jun 8 08:40:00 2001
Subject: [ic] [OT] RH service - Mail Archives
On Thu, 7 Jun 2001, IC-Admin wrote:
> > You can download the Gzip'd text files from:
> > http://lists.akopia.com/pipermail/interchange-users/.
>
> Ooops, did I miss something ? Did they announce having this set up ?
> BF
>
Oops, I am a complete idiot. They link to
http://lists.akopia.com/pipermail/interchange-users/
from their
http://interchange.redhat.com/cgi-bin/ic/index
page on the left hand side from the "Interchange-users" link on the
left hand side. There you can find then the correct above mentioned
mail-archives link to the gzipped monthly summaries and the whole
raw archives since August 2000.
I find this a bit confusing, because if you click intuitively from
the interchange.redhat.com index page on the left hand side on "Mail
Archives" (the link is there to be used, I assume), it gives you the
the whole searchable archives (back to 1997 ending somewhere in the
beginning of May 2001), but NO link to the .gz files and monthly
digest summaries. I never bothered looking at other places for other
mailing list archives files. May be you others would too miss that and
you could just add a link on this page
interchange.redhat.com/cgi-bin/ic/mail_archive.html
to the gzipped summary archives as well.
Sorry, for having bothered the list with this.
BF
From: interchange-users at lists.akopia.com (Admin)
Date: Fri Jun 8 08:52:00 2001
Subject: [ic] Need more info on Orders
Hello list,
I am designing my 1st catalog and I am struggling through fine but got stuck
on the following:
This catalog is based on contact lens and when the customer finds the
product they want
they need to put in their prescription which consists of 3 variables per
eye.
Power BC DIA
______ ___ ____
RIGHT EYE |______| |___ | |____|
______ ___ ____
LEFT EYE |______| |___ | |____|
I figure I need to edit the flypage to accept this information but I need
help figuring out what how
to include this information with the order. Do I need another table to hold
this info?
Thanks for the help.
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Fri Jun 8 08:57:00 2001
Subject: [ic] UI Combo Select Question
I could kiss you!
I won't though as a favor to you.
The DBM v SQL thing is a valid concern and somethign I've kept meaning
to look into...
Okay, here is the question, if I switch from DBM to SQL will I need to
rewrite any queries assuming that they don't explicitly specify dbm?
Mike Heins wrote:
>
> Quoting Chris Rapier (rapier@psc.edu):
> > I'm trying to use the combo select widget to allow admins to chose from
> > 1 of several subcategories. Shoudl be pretty simple right? It looks up
> > the column specified and returns all of the unique field values.
> >
> > Unfortunately, its not returning all of them. Its crapping out at 50.
> > This is also happening under the image upload widget as well. If you
> > have more than 50 images in that directory you'll only see the first 50.
> > Which is kind of problematic.
> >
> > My feeling is that this has something to do with a default value for
> > mv_matchlimit which is, I think, 50. So I edited Scan.pm to raise this
> > to 75 but I still only saw 50 items. I'm banging my head against a wall
> > here. Any information on how I can increase this limit would be really
> > really helpful.
>
> Actually, you are running into a limit of 50 -- maybe I figured if you were
> using DBM you would not want to do that type of thing for distinct value
> sets, or maybe I just forgot that it would affect DBM. Remember, DB searches
> for DBM can get very slow with large numbers of records.
>
> These limits don't affect SQL databases.
>
> The section of code that pertains is in lib/UI/Primitive.pm, and if you added
> an option hash that set ml => 10000 it would work. Perhaps the better place
> to set it is in lib/Vend/Table/Common.pm, and I will probably look at that
> eventually for 4.7.x and higher.
>
> For the moment, if you apply this patch to lib/UI/Primitive.pm (for 4.7, finding
> 4.6 equivalent is easy):
>
> *** /DU/Primitive.pm Tue May 29 10:22:33 2001
> --- /du/Primitive.pm Thu Jun 7 23:01:39 2001
> ***************
> *** 920,927 ****
> my $dbname = $record->{db} || $table;
> my $db = Vend::Data::database_exists_ref($dbname);
> last LOOK unless $db;
> ! my $query = "select DISTINCT $key, $fld FROM $dbname ORDER BY $fld";
> ! my $ary = $db->query($query);
> last LOOK unless ref($ary);
> if(! scalar @$ary) {
> push @$ary, ["=--no current values--"];
> --- 920,934 ----
> my $dbname = $record->{db} || $table;
> my $db = Vend::Data::database_exists_ref($dbname);
> last LOOK unless $db;
> ! my $flds = $key eq $fld ? $key : "$key, $fld";
> ! my $query = "select DISTINCT $flds FROM $dbname ORDER BY $fld";
> ! my $ary = $db->query(
> ! {
> ! query => $query,
> ! ml => $::Variable->{UI_ACCESS_KEY_LIMIT} || 500,
> ! st => 'db',
> ! }
> ! );
> last LOOK unless ref($ary);
> if(! scalar @$ary) {
> push @$ary, ["=--no current values--"];
>
> it should help.
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> I don't want to get to the end of my life and find I have just
> lived the length of it. I want to have lived the width of it as
> well. -- Diane Ackerman
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Fri Jun 8 08:57:38 2001
Subject: [ic] interchange html4 validation problems
On Fri, Jun 08, 2001 at 09:46:01AM +0100, Murray Gibbins wrote:
> Mike Heins wrote:
>
> > Virtually every existing CGI program uses ampersand to separate parameters,
> > as that was defined in the original CGI spec.
> >
> > This is actually quite absurd of the HTML4 validation suite.
> > It of course doesn't have anything to do with mv_pc=.... -- it would
> > apply to any URL generated by Interchange -- or Google -- or just
> > about anyone. So in order to comply with their validation suite, they
> > are saying that the thousands of existing CGI programs should be modified --
> > instead of building in a switch which says "ignore this".
> >
> > We won't be complying with HTML 4 in this way any time soon. If ever.
>
> It seems strange to me that in previous releases of minivend you have correct
> URL html syntax.
> You were compliant then why not now? I was talking to Mr.Tweedie in the pub last
> night about this too. Maybe this needs to be brought to the attention of /. or
> someone else even higher up in RH.
The & as a query string delimiter has been around since day one. Maybe
you were not validating HTML4? Or is GET deprecated entirely?
Go to google and search on something with more than one word. Go
to any other dynamic site and check out the same.
Look at all your perl CGI libraries (I say perl because those are
the easiest ones.) Then look at your C CGI libaries.
BTW, if my memory serves me right, vignette or openmarket has a patent
on separating elements in query string with ';'.
> Otherwise people in the UK are going to get into trouble. It is now the law here
> that public sites ( i.e. shopping sites) be accessible to the disabled. This,
> more often than not requires valid html to pass the "bobby" test.
Don't worry about that. It is UK policy to support only Microsoft and IE; see
the slashdot article maybe a week ago about the new gov't sites. :-) You
won't be able to use IC until it is ported to Windows anyway.
-s
cfm
--
On a more serious note, the portion of the spec you quoted implied that sites
could use pretty much whatever they wanted for delimiter. Talk about standards.
You might use '|' but I would prefer either tabs or nulls. I guess we could
work that out at the WTO.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Murray Gibbins)
Date: Fri Jun 8 09:14:00 2001
Subject: [ic] interchange html4 validation problems
cfm@maine.com wrote:
> The & as a query string delimiter has been around since day one. Maybe
> you were not validating HTML4? Or is GET deprecated entirely?
You are confusing two standards. It may have been around since day one in CGI
but not in HTML where the spec clearly forbids it. They are trying to solve the
situation by urging people not to use it any more in CGI syntax incorperated
into HTML.
GET is a HTTP protocol not HTML.
>
> Go to google and search on something with more than one word. Go
> to any other dynamic site and check out the same.
>
> Look at all your perl CGI libraries (I say perl because those are
> the easiest ones.) Then look at your C CGI libaries.
just coz poeple have made mistakes in the past with their libraries doesn't
excuse interchange from breaking it's own libraries when it doesn't have to and
didn't in the past.
> Don't worry about that. It is UK policy to support only Microsoft and IE; see
> the slashdot article maybe a week ago about the new gov't sites. :-) You
> won't be able to use IC until it is ported to Windows anyway.
I work for the company that is doing validation checks on the uk gov stuff for
the uk gov, so there :-P
I also helped write and research the "e-business Smart guide for Web
accessibility" for the Scottish Enterprise Network
http://www.scottish-enterprise.com/ebusiness
We make them support Lynx if we can. Just to make sure browsers for the blind
can read the pages.
Acutally if we tell our clients we are HTML4 copatable and they then go and
check it with the w3c validator they are going to come back to us and demand an
explanation.
Yours
Murray
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 8 09:23:01 2001
Subject: [ic] interchange html4 validation problems
On Fri, Jun 08, 2001 at 09:00:02AM -0400, cfm@maine.com wrote:
>
> Look at all your perl CGI libraries (I say perl because those are
> the easiest ones.) Then look at your C CGI libaries.
>
CGI.pm has accepeted URLs separated by ; for a long time, and starting with
version 2.64 it produces that style of URL by default.
Personally I avoid GET requests whenever possible just because of the
problems I have had in the past with browsers mangling certain variable
names when they were separated by &.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 8 09:25:01 2001
Subject: [ic] UI Combo Select Question
On Fri, Jun 08, 2001 at 08:59:36AM -0400, Chris Rapier wrote:
> I could kiss you!
>
> I won't though as a favor to you.
>
> The DBM v SQL thing is a valid concern and somethign I've kept meaning
> to look into...
> Okay, here is the question, if I switch from DBM to SQL will I need to
> rewrite any queries assuming that they don't explicitly specify dbm?
>
The only real problem with DBM vs SQL queries is that SQL::Statement
understands a fairly limited subset of real SQL, so any queries that work
with DBM will certainly work with SQL, just not necessarily the other way
around.
> Mike Heins wrote:
> >
> > Quoting Chris Rapier (rapier@psc.edu):
> > > I'm trying to use the combo select widget to allow admins to chose from
> > > 1 of several subcategories. Shoudl be pretty simple right? It looks up
> > > the column specified and returns all of the unique field values.
> > >
> > > Unfortunately, its not returning all of them. Its crapping out at 50.
> > > This is also happening under the image upload widget as well. If you
> > > have more than 50 images in that directory you'll only see the first 50.
> > > Which is kind of problematic.
> > >
> > > My feeling is that this has something to do with a default value for
> > > mv_matchlimit which is, I think, 50. So I edited Scan.pm to raise this
> > > to 75 but I still only saw 50 items. I'm banging my head against a wall
> > > here. Any information on how I can increase this limit would be really
> > > really helpful.
> >
> > Actually, you are running into a limit of 50 -- maybe I figured if you were
> > using DBM you would not want to do that type of thing for distinct value
> > sets, or maybe I just forgot that it would affect DBM. Remember, DB searches
> > for DBM can get very slow with large numbers of records.
> >
> > These limits don't affect SQL databases.
> >
> > The section of code that pertains is in lib/UI/Primitive.pm, and if you added
> > an option hash that set ml => 10000 it would work. Perhaps the better place
> > to set it is in lib/Vend/Table/Common.pm, and I will probably look at that
> > eventually for 4.7.x and higher.
> >
> > For the moment, if you apply this patch to lib/UI/Primitive.pm (for 4.7, finding
> > 4.6 equivalent is easy):
> >
> > *** /DU/Primitive.pm Tue May 29 10:22:33 2001
> > --- /du/Primitive.pm Thu Jun 7 23:01:39 2001
> > ***************
> > *** 920,927 ****
> > my $dbname = $record->{db} || $table;
> > my $db = Vend::Data::database_exists_ref($dbname);
> > last LOOK unless $db;
> > ! my $query = "select DISTINCT $key, $fld FROM $dbname ORDER BY $fld";
> > ! my $ary = $db->query($query);
> > last LOOK unless ref($ary);
> > if(! scalar @$ary) {
> > push @$ary, ["=--no current values--"];
> > --- 920,934 ----
> > my $dbname = $record->{db} || $table;
> > my $db = Vend::Data::database_exists_ref($dbname);
> > last LOOK unless $db;
> > ! my $flds = $key eq $fld ? $key : "$key, $fld";
> > ! my $query = "select DISTINCT $flds FROM $dbname ORDER BY $fld";
> > ! my $ary = $db->query(
> > ! {
> > ! query => $query,
> > ! ml => $::Variable->{UI_ACCESS_KEY_LIMIT} || 500,
> > ! st => 'db',
> > ! }
> > ! );
> > last LOOK unless ref($ary);
> > if(! scalar @$ary) {
> > push @$ary, ["=--no current values--"];
> >
> > it should help.
> >
> > --
> > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> > phone +1.513.523.7621 <mheins@redhat.com>
> >
> > I don't want to get to the end of my life and find I have just
> > lived the length of it. I want to have lived the width of it as
> > well. -- Diane Ackerman
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Fri Jun 8 09:29:00 2001
Subject: [ic] Database Handle and Global Subs
Assuming you wish to run against the same database defined for "some"
interchange table, say 'dbi_table':
my $dbh = Vend::Data::database_exists_ref('dbi_table');
$dbh = $dbh->ref();
$dbh = $dbh->[$Vend::Table::DBI::DBI];
This will give you the database handle for the DBI database that
contains the table 'dbi_table'. Note that the actual table you query can
be any table in the database and not just 'dbi_table', be it an
IC-recognized table or not.
Sheamus Nulty wrote:
>
> I trying to run a database query in a global tag but am running into a
> problem with getting access to the database.
> I'm using the following code
>
> sub test{
>
> use DBI;
>
> my $dbh = DBI->connect("DBI:mysql:$dbname", $dbuser, $dbpasswd);
> .....
>
> }
>
> and I get an error saying
>
> Can't locate object method "connect" via package "DBI" at (eval 91) line 14.
>
> Can anybody shed some light on why this won't work.
>
> Thanks
>
> Sheamus
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Fri Jun 8 09:32:15 2001
Subject: [ic] UI Combo Select Question
Chris Rapier wrote:
>
> Okay, here is the question, if I switch from DBM to SQL will I need to
> rewrite any queries assuming that they don't explicitly specify dbm?
>
Everything that DBM's can handle is abstracted and apply directly to any
SQL database you can configure. IOW, if it works against DBM files,
it'll certainly work against a SQL database. It's going the other way
that's a quagmire (but who'd want to do that?).
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Fri Jun 8 09:49:00 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
Good morning everyone,
A small question, I don't seem to be getting any error messages back from
authorize.net if a card doen't go through. Any time I try to use a credir
card I get redirected back to the payment screen and it says my errors will
be in red, although there are no errors in red!
If I use a different payment type it goes through just fine.
So I need to see what errors are coming back from authorize.net or what else
might be stopping the process.
Thanks,
Robert
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 8 10:07:00 2001
Subject: [ic] interchange html4 validation problems
Quoting Jason Kohles (jkohles@redhat.com):
> On Fri, Jun 08, 2001 at 09:00:02AM -0400, cfm@maine.com wrote:
> >
> > Look at all your perl CGI libraries (I say perl because those are
> > the easiest ones.) Then look at your C CGI libaries.
> >
> CGI.pm has accepeted URLs separated by ; for a long time, and starting with
> version 2.64 it produces that style of URL by default.
>
OK, if CGI.pm does it so will we allow it. Though we will not make
it the default. 8-)
> Personally I avoid GET requests whenever possible just because of the
> problems I have had in the past with browsers mangling certain variable
> names when they were separated by &.
>
I don't know about that. It is sort of difficult to maintain state without
parameters in URLs... 8-)
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 8 10:23:00 2001
Subject: [ic] interchange html4 validation problems
On Fri, Jun 08, 2001 at 10:07:41AM -0400, Mike Heins wrote:
> Quoting Jason Kohles (jkohles@redhat.com):
>
> > Personally I avoid GET requests whenever possible just because of the
> > problems I have had in the past with browsers mangling certain variable
> > names when they were separated by &.
> >
>
> I don't know about that. It is sort of difficult to maintain state without
> parameters in URLs... 8-)
>
That's why I said whenever possible =), you can still use ; in links, as
long as you avoid GET method forms, I'm just overly paranoid after dealing
with a project where several versions of netscape were mangling a query
string that included ©_form, trying to turn the © into a nice little
8-bit copyright symbol when submitting the URL.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Fri Jun 8 10:32:00 2001
Subject: [ic] UI Combo Select Question
Mark Johnson wrote:
>
> Chris Rapier wrote:
> >
> > Okay, here is the question, if I switch from DBM to SQL will I need to
> > rewrite any queries assuming that they don't explicitly specify dbm?
> >
>
> Everything that DBM's can handle is abstracted and apply directly to any
> SQL database you can configure. IOW, if it works against DBM files,
> it'll certainly work against a SQL database. It's going the other way
> that's a quagmire (but who'd want to do that?).
Rock on. Their catalog is getting large enough to make it an issue.
From: interchange-users at lists.akopia.com (John Beima)
Date: Fri Jun 8 10:36:01 2001
Subject: [ic] interchange html4 validation problems
> It is likely that this change from "&" would not require a lot of effort, a
> couple of small changes in the libraries.
It woudl require several of us to re-write a huge quantity of sites to convert
them over, and frankly this has been used for over 4 years, it out and out just
stupid to do a change like this one.
> Otherwise people in the UK are going to get into trouble. It is now the
> law here
> that public sites ( i.e. shopping sites) be accessible to the disabled.
> This,
> more often than not requires valid html to pass the "bobby" test.
It's the law yet you use Microsoft products and IE? That is the biggest joke I
have herd all week... Standards and Microsoft...
> I would be happy to discuss in private with your team a course of action
> to make
> interchange compliant.
Wow. He is going to teach people to be compliant... What an ego there!
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 lists.akopia.com (Murray Gibbins)
Date: Fri Jun 8 10:42:00 2001
Subject: [ic] interchange html4 validation problems
John Beima wrote:
> It woudl require several of us to re-write a huge quantity of sites to convert
> them over, and frankly this has been used for over 4 years, it out and out just
> stupid to do a change like this one.
Sigh, not everybody's libraries, just he ones in interchange.
the rest is just troll bait.
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interchange-users at lists.akopia.com (Gustavo A. Barreto A.)
Date: Fri Jun 8 10:50:01 2001
Subject: [ic] Permissions problem.
This is a multi-part message in MIME format.
------=_NextPart_000_0042_01C0F006.BA156C10
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0043_01C0F006.BA156C10"
------=_NextPart_001_0043_01C0F006.BA156C10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello, I just installed Interchange, and a few days after that my =
primary boot disk crashed. I restored a backup in a new disk and the =
system is now working but Interchange doesn't works. I think this could =
be a permissions problem. When I try to create a new catalog I get the =
foloowing errors:
*** We will be making a catalog named 'construct'. ***
glob failed (child exited with status 2) at ./bin/makecat line 331.
glob failed (child exited with status 2) at ./bin/makecat line 331.
glob failed (child exited with status 2) at ./bin/makecat line 331.
glob failed (child exited with status 2) at ./bin/makecat line 341.
glob failed (child exited with status 2) at ./bin/makecat line 341.
glob failed (child exited with status 2) at ./bin/makecat line 341.
glob failed (child exited with status 2) at ./bin/makecat line 341.
glob failed (child exited with status 2) at ./bin/makecat line 341.
glob failed (child exited with status 2) at ./bin/makecat line 341.
glob failed (child exited with status 2) at ./bin/makecat line 372.
glob failed (child exited with status 2) at ./bin/makecat line 372.
glob failed (child exited with status 2) at ./bin/makecat line 379.
glob failed (child exited with status 2) at ./bin/makecat line 379.
glob failed (child exited with status 2) at ./bin/makecat line 379.
glob failed (child exited with status 2) at ./bin/makecat line 379.
glob failed (child exited with status 2) at ./bin/makecat line 379.
I tried makecat as user root and everything goes ok, but as user =
interchange it dosn't works.=20
How can I know what permissions are broken? I need to make this thing =
work because my boss is very upset!
TIA.
Gustavo.
------=_NextPart_001_0043_01C0F006.BA156C10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DCourier size=3D2>Hello, I just installed Interchange, =
and a few=20
days after that my primary boot disk crashed. I restored a backup in a =
new disk=20
and the system is now working but Interchange doesn't works. I think =
this could=20
be a permissions problem. When I try to create a new catalog I get the =
foloowing=20
errors:</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>*** We will be making a catalog named =
'construct'. ***</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DCourier size=3D2>glob failed (child exited with status =
2) at=20
./bin/makecat line 331.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 331.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 331.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 341.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 341.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 341.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 341.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 341.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 341.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 372.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 372.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 379.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 379.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 379.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 379.<BR>glob failed (child exited with status 2) at=20
./bin/makecat line 379.<BR></FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>I tried makecat as user root and =
everything goes=20
ok, but as user interchange it dosn't works. </FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>How can I know what permissions are =
broken? I=20
need to make this thing work because my boss is very upset!</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>TIA.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>Gustavo.</DIV></FONT></BODY></HTML>
------=_NextPart_001_0043_01C0F006.BA156C10--
------=_NextPart_000_0042_01C0F006.BA156C10
Content-Type: text/x-vcard;
name="Gustavo Adolfo Barreto.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Gustavo Adolfo Barreto.vcf"
BEGIN:VCARD
VERSION:2.1
N:Barreto;Gustavo;Adolfo
FN:Gustavo Adolfo Barreto
ORG:Internet Total, Inc.
TEL;WORK;VOICE:(305) 3574677
TEL;WORK;FAX:(305) 3574677
ADR;WORK:;;1250 Hallandale Bch. Blvd;Hallandale;Fl;33009;USA
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:1250 Hallandale Bch. =
Blvd=3D0D=3D0AHallandale, Fl 33009=3D0D=3D0AUSA
X-WAB-GENDER:2
URL;WORK:http://www.internettotal.com
BDAY:19720715
EMAIL;PREF;INTERNET:gbarreto@internettotal.net
REV:20010608T143524Z
END:VCARD
------=_NextPart_000_0042_01C0F006.BA156C10--
From: interchange-users at lists.akopia.com (Murray Gibbins)
Date: Fri Jun 8 11:00:01 2001
Subject: [ic] Permissions problem.
> "Gustavo A. Barreto A." wrote:
>
> Hello, I just installed Interchange, and a few days after that my primary boot
> disk crashed. I restored a backup in a new disk and the system is now working
> but Interchange doesn't works. I think this could be a permissions problem.
> When I try to create a new catalog I get the foloowing errors:
>
> *** We will be making a catalog named 'construct'. ***
>
> glob failed (child exited with status 2) at ./bin/makecat line 331.
> glob failed (child exited with status 2) at ./bin/makecat line 331.
> glob failed (child exited with status 2) at ./bin/makecat line 331.
the cod that fails here is ....
for( glob("$ENV{HOME}/*html*"),
glob("$ENV{HOME}/*www*"),
glob("$ENV{HOME}/*web*")
)
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
here it's ....
for(
'/home/httpd/html',
'/var/www/html',
'/usr/local/etc/httpd/htdocs',
'/usr/local/apache/htdocs',
'/home/httpd/htdocs',
glob("/*/httpd/*docs"),
glob("/*web*/*docs"),
glob("/*/ns-home/docs"),
glob("/export/*/ns-home/http*/docs"),
glob("/usr/*/ns-home/http*/docs"),
glob("/home/*/ns-home/http*/docs")
)
> glob failed (child exited with status 2) at ./bin/makecat line 372.
> glob failed (child exited with status 2) at ./bin/makecat line 372.
for( glob("$ENV{HOME}/*cgi*"), glob("$ENV{HOME}/*scripts*") ) {
-d $_ and -w _
and $CgiDefault = $_
and ($CgiUrlDefault = $_) =~ s:.*/:/:
and last FINDCGIDIR;
}
> glob failed (child exited with status 2) at ./bin/makecat line 379.
> glob failed (child exited with status 2) at ./bin/makecat line 379.
> glob failed (child exited with status 2) at ./bin/makecat line 379.
> glob failed (child exited with status 2) at ./bin/makecat line 379.
> glob failed (child exited with status 2) at ./bin/makecat line 379.
and here ...
for(
'/home/httpd/cgi-bin',
'/var/www/cgi-bin',
'/usr/local/etc/httpd/cgi-bin',
'/usr/local/apache/cgi-bin',
glob("/*web*/cgi*"),
glob("/*/ns-home/cgi*"),
glob("/export/*/ns-home/http*/cgi*"),
glob("/usr/*/ns-home/http*/cgi*"),
glob("/home/*/ns-home/http*/cgi*"),
)
that should help you.
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 8 11:03:00 2001
Subject: [ic] Permissions problem.
On Fri, Jun 08, 2001 at 10:35:24AM -0400, Gustavo A. Barreto A. wrote:
> Hello, I just installed Interchange, and a few days after that my primary boot disk crashed. I restored a backup in a new disk and the system is now working but Interchange doesn't works. I think this could be a permissions problem. When I try to create a new catalog I get the foloowing errors:
>
status 2 is 'No such file or directory', looking at the code on those lines
I would guess that either the $HOME environment variable is not set, or is
pointing at the wrong directory, or that you don't have permission to read
your home directory.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Sheamus Nulty)
Date: Fri Jun 8 11:05:01 2001
Subject: [ic] Database Handle and Global Subs
Mark,
Did that and I'm getting the following error
Safe: Can't locate object method "TIEHASH" via package "DBI::st" at
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/DBI.pm line 683.
I'm running version 1.13 of DBI.
Read something before about using Safe ::Hole to stop this but I'm not sure
where I'm suppose to put this command and its exact syntax.
Sheamus
----- Original Message -----
From: "Mark Johnson" <markj@redhat.com>
To: <interchange-users@developer.akopia.com>
Sent: 08 June 2001 14:40
Subject: Re: [ic] Database Handle and Global Subs
> Assuming you wish to run against the same database defined for "some"
> interchange table, say 'dbi_table':
>
> my $dbh = Vend::Data::database_exists_ref('dbi_table');
> $dbh = $dbh->ref();
> $dbh = $dbh->[$Vend::Table::DBI::DBI];
>
> This will give you the database handle for the DBI database that
> contains the table 'dbi_table'. Note that the actual table you query can
> be any table in the database and not just 'dbi_table', be it an
> IC-recognized table or not.
>
> Sheamus Nulty wrote:
> >
> > I trying to run a database query in a global tag but am running into a
> > problem with getting access to the database.
> > I'm using the following code
> >
> > sub test{
> >
> > use DBI;
> >
> > my $dbh = DBI->connect("DBI:mysql:$dbname", $dbuser, $dbpasswd);
> > .....
> >
> > }
> >
> > and I get an error saying
> >
> > Can't locate object method "connect" via package "DBI" at (eval 91) line
14.
> >
> > Can anybody shed some light on why this won't work.
> >
> > Thanks
> >
> > Sheamus
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Fri Jun 8 11:10:01 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
Did some searching through the list made some changes that Mike mentioned in
a previous post to variables in the authorizenet page on the x_address and
x_zip lines. But still encountering a problem.
Please Help!
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
Trembath
Sent: Friday, June 08, 2001 8:52 AM
To: interchange-users@developer.akopia.com
Subject: [ic] How do I get the errors to show on CC processing with
Authorize.net
Good morning everyone,
A small question, I don't seem to be getting any error messages back from
authorize.net if a card doen't go through. Any time I try to use a credir
card I get redirected back to the payment screen and it says my errors will
be in red, although there are no errors in red!
If I use a different payment type it goes through just fine.
So I need to see what errors are coming back from authorize.net or what else
might be stopping the process.
Thanks,
Robert
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (John Beima)
Date: Fri Jun 8 11:15:01 2001
Subject: [ic] interchange html4 validation problems
Yes everyones libraries... Do you not think when we write sites that we generate
URLS outside of Interchange as well??? What you think is a small task, means
EVERYONE that uses static HTML pages outside of the Interchange server to
interact with the Interchange server also has to be re-written...
The simple answer is according to the HTML 4.01 spec they are trying to remaing
backward comptable... This standard for URL layout has been used for years,
simple have the w3c HTML validater look and accept the & symbol...
Quoting Murray Gibbins <Murray@scotweb.ltd.uk>:
> John Beima wrote:
>
> > It woudl require several of us to re-write a huge quantity of sites to
> convert
> > them over, and frankly this has been used for over 4 years, it out and
> out just
> > stupid to do a change like this one.
>
>
> Sigh, not everybody's libraries, just he ones in interchange.
>
> the rest is just troll bait.
>
> --
> ____
> \__/ Murray Gibbins murray@scotweb.ltd.uk
> / \ Programmer
> _ \__/ _ ================================================
> \\ || // Scotweb Limited, info@scotweb.ltd.uk
> \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
> \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
> || Scotland. Europe. Fax: +44 (0) 7020 93 49 04
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Murray Gibbins)
Date: Fri Jun 8 11:22:01 2001
Subject: [ic] interchange html4 validation problems
John Beima wrote:
>
> Yes everyones libraries... Do you not think when we write sites that we generate
> URLS outside of Interchange as well??? What you think is a small task, means
> EVERYONE that uses static HTML pages outside of the Interchange server to
> interact with the Interchange server also has to be re-written...
Sigh again, to quota Mike
--snip
> CGI.pm has accepeted URLs separated by ; for a long time, and starting with
> version 2.64 it produces that style of URL by default.
>
OK, if CGI.pm does it so will we allow it. Though we will not make
it the default. 8-)
--snip
So you won't have to change _your_ work but new work CAN use ";".
Yours
Murray
--
____
\__/ Murray Gibbins murray@scotweb.ltd.uk
/ \ Programmer
_ \__/ _ ================================================
\\ || // Scotweb Limited, info@scotweb.ltd.uk
\\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
\||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
|| Scotland. Europe. Fax: +44 (0) 7020 93 49 04
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Fri Jun 8 11:35:00 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
I finally got it to enter something in the error log:
131.226.161.178 mKSFVWZR:131.226.161.178 - [08/June/2001:09:27:11 -0500]
catalog /cgi-bin/catalog/process.html bad custom payment GlobalSub:
authorizenet
Here is what's in my authorizenet:
GlobalSub <<EOS
sub authorizenet {
my ($user, $secret, $amount) = @_;
my (%actual) = Vend::Order::map_actual();
if (! $user ) {
$user = $::Variable->{MV_PAYMENT_ID} ||
$::Variable->{CYBER_ID}
or return undef;
}
if(! $secret) {
$secret = $::Variable->{MV_PAYMENT_SECRET} ||
$::Variable->{CYBER_SECRET}
or return undef;
}
my $server = $::Variable->{MV_PAYMENT_SERVER} ||
$::Variable->{CYBER_SERVER} ||
'secure.authorize.net';
my $script = $::Variable->{MV_PAYMENT_SCRIPT} ||
$::Variable->{CYBER_SCRIPT} ||
'/gateway/transact.dll';
my $port = $::Variable->{MV_PAYMENT_PORT} ||
$::Variable->{CYBER_PORT} ||
443;
my $precision = $::Variable->{MV_PAYMENT_PRECISION} ||
$::Variable->{CYBER_PRECISION} ||
2;
my $referer = $::Variable->{MV_PAYMENT_REFERER};
$actual{mv_credit_card_exp_month} =~ s/\D//g;
$actual{mv_credit_card_exp_month} =~ s/^0+//;
$actual{mv_credit_card_exp_year} =~ s/\D//g;
$actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/;
$actual{mv_credit_card_number} =~ s/\D//g;
my $exp = sprintf '%02d%02d',
$actual{mv_credit_card_exp_month},
$actual{mv_credit_card_exp_year};
$actual{cyber_mode} = 'AUTH_CAPTURE'
unless $actual{cyber_mode};
my %type_map = (
mauth_capture => 'AUTH_CAPTURE',
mauthonly => 'AUTH_ONLY',
CAPTURE_ONLY => 'CAPTURE_ONLY',
CREDIT => 'CREDIT',
VOID => 'VOID',
PRIOR_AUTH_CAPTURE => 'PRIOR_AUTH_CAPTURE',
);
if (defined $type_map{$actual{cyber_mode}}) {
$actual{cyber_mode} = $type_map{$actual{cyber_mode}};
}
else {
$actual{cyber_mode} = 'AUTH_CAPTURE';
}
if(! $amount) {
$amount = Vend::Interpolate::total_cost();
$amount = sprintf("%.${precision}f", $amount);
}
my($orderID);
my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
gmtime(time());
# We'll make an order ID based on date, time, and MiniVend session
# $mon is the month index where Jan=0 and Dec=11, so we use
# $mon+1 to get the more familiar Jan=1 and Dec=12
$orderID = sprintf("%02d%02d%02d%02d%02d%05d%s",
$year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName);
my %query = (
x_Card_Num => $actual{mv_credit_card_number},
x_First_Name => $actual{b_fname},
x_Last_Name => $actual{b_lname},
x_Address => $actual{b_address1},
x_City => $actual{b_city},
x_State => $actual{b_state},
x_Zip => $actual{b_zip},
x_Type => $actual{mv_payment_mode},
x_Amount => $amount,
x_Exp_Date => $exp,
x_Method => 'CC',
x_Invoice_Num => $actual{mv_order_number},
# x_Company => $actual{company},
# x_Phone => $actaul{day_phone},
x_Password => $secret,
x_Login => $user,
x_Version => '3.0',
x_ADC_URL => 'FALSE',
x_ADC_Delim_Data => 'TRUE',
);
my @query;
for (keys %query) {
my $key = $_;
my $val = $query{$key};
$val =~ s/["\$\n\r]//g;
$val =~ s/\$//g;
my $len = length($val);
if($val =~ /[&=]/) {
$key .= "[$len]";
}
push @query, "$key=$val";
}
my $string = join '&', @query;
use Net::SSLeay qw(post_https make_form make_headers);
my ($page, $response, %reply_headers)
= post_https($server, $port, $script,
make_headers( Referer => $referer),
make_form(
%query
));
# Minivend names are on the left, Authorize.Net on the right
my %result_map = ( qw/
MStatus x_response_code
pop.status x_response_code
MErrMsg x_response_reason_text
pop.error-message x_response_reason_text
order-id x_trans_id
pop.order-id x_trans_id
pop.auth-code x_auth_code
pop.avs_code x_avs_code
pop.avs_zip x_zip
pop.avs_addr x_address
/
);
#::logError(qq{\nauthorizenet page: $page response: $response\n});
my ($response_code,
$response_subcode,
$response_reason_code,
$response_reason_text,
$auth_code,
$avs_code,
$trans_id) = split (/,/,$page);
#::logError(qq{authorizenet response_reason_text=$response_reason_text
response_code: $response_code});
my %result;
if ($response_code == 1) {
$result{MStatus} = 'success';
$result{'order-id'} = 1; # ? Why this this set to 1? -mark
} else {
$result{MStatus} = 'failure';
# NOTE: A lot more AVS codes could be checked for here.
if ($avs_code eq 'N') {
$result{MErrMsg} = "You must enter the correct billing address of your
credit card. The bank returned the following error: " .
$response_reason_text;
} else {
$result{MErrMsg} = "$response_reason_text" ;
my $msg = errmsg("Authorizenet error: %s. Please call in your order or
try again.",
$response_reason_text,
);
}
}
return (%result);
}
EOS
This is located in /usr/lib/interchange/eg/globalsub
I've followed Mike's directions in this file and added the needed lines to
interchange.cfg and catalog.cfg
Please help ASAP as I am past deadline!
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
Trembath
Sent: Friday, June 08, 2001 10:13 AM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] How do I get the errors to show on CC processing with
Authorize.net
Did some searching through the list made some changes that Mike mentioned in
a previous post to variables in the authorizenet page on the x_address and
x_zip lines. But still encountering a problem.
Please Help!
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
Trembath
Sent: Friday, June 08, 2001 8:52 AM
To: interchange-users@developer.akopia.com
Subject: [ic] How do I get the errors to show on CC processing with
Authorize.net
Good morning everyone,
A small question, I don't seem to be getting any error messages back from
authorize.net if a card doen't go through. Any time I try to use a credir
card I get redirected back to the payment screen and it says my errors will
be in red, although there are no errors in red!
If I use a different payment type it goes through just fine.
So I need to see what errors are coming back from authorize.net or what else
might be stopping the process.
Thanks,
Robert
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 8 11:45:01 2001
Subject: [ic] interchange html4 validation problems
Quoting Jason Kohles (jkohles@redhat.com):
> On Fri, Jun 08, 2001 at 10:07:41AM -0400, Mike Heins wrote:
> > Quoting Jason Kohles (jkohles@redhat.com):
> >
> > > Personally I avoid GET requests whenever possible just because of the
> > > problems I have had in the past with browsers mangling certain variable
> > > names when they were separated by &.
> > >
> >
> > I don't know about that. It is sort of difficult to maintain state without
> > parameters in URLs... 8-)
> >
> That's why I said whenever possible =), you can still use ; in links, as
> long as you avoid GET method forms, I'm just overly paranoid after dealing
> with a project where several versions of netscape were mangling a query
> string that included ©_form, trying to turn the © into a nice little
> 8-bit copyright symbol when submitting the URL.
>
If you want the form to be cacheable, you can't use POST. I know people
would say "you don't want to cache forms", but many people like buttons
instead of links to do things, and the <button ...> relying on JS is
not a compatible option. In addition, if you want to allow a "BACK"
button to get back, you have to do that these days. I loved the fact that
Netscape 4 would let you use BACK to see a previous form post without
resubmitting the form. I personally feel you ought to be able to choose
whether BACK/FORWARD ignores cache constraints or not.
In any case, I will bite the bullet and allow for compatibility.
If CGI.pm is doing it by default, we will have to accept that as more
and more programs will use it that way. Heaven knows what they will do
to generate URLs compatible with other programs, but so be it.
1. UrlSepChar global config directive allows setting
something besides &. If it is not one of the three [&;:],
a warning will be issued. A fatal error will be issued
if it is longer than one character or a value fitting the
character class [\w%].
2. If you keep it as "&", and set the global variable
MV_HTML4_COMPLIANT, [page ...] and [area ...] will join URL
strings they generate with &.
It is probable that this is the best mode to operate in.
3. All incoming URLs will work either with & or the UrlSepChar, or
a combination. So if you wrote a chunk of embedded Perl or a UserTag
that custom-constructed URLs, it should still work.
I do wish it had been brought up with more investigation up front, and in
a less accusatory and combative fashion. Yet we must try to be willing
to find the grain of truth in criticism, chew it, and swallow it. If
it needs to be done, it needs to be done.
FAQ:
1. Why is the directive global?
It can't be on a catalog-by-catalog basis -- this all happens before
catalog config time.
2. Will you put it in past versions?
This will only be in 4.7.x, not 4.6.
3. Should I use this?
Probably not. If you use Interchange routines to generate URLs for other
programs, you had better know what you are doing. In general, you will be
best off not to employ this capability. If you want to pass a validation
suite, consider using the MV_HTML4_COMPLIANT variable.
4. Why don't you change the default?
Since every browser in the world tolerates &, my opinion is that this is an
artificially created tempest in a teapot, created by the failure of the
validation suite writer to provide a "pedantic" mode.
If browsers didn't accept this construct, 98% of the web would break. So the
validation is pedantic, and should certainly not be flagged in the HTML 4.01
transitional type. Shame on you, W3.
--
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 lists.akopia.com (Ed LaFrance)
Date: Fri Jun 8 11:50:00 2001
Subject: [ic] Need more info on Orders
At 07:57 AM 06/08/2001 -0500, you wrote:
>Hello list,
>I am designing my 1st catalog and I am struggling through fine but got stuck
>on the following:
>This catalog is based on contact lens and when the customer finds the
>product they want
>they need to put in their prescription which consists of 3 variables per
>eye.
>
> Power BC DIA
> ______ ___ ____
>RIGHT EYE |______| |___ | |____|
> ______ ___ ____
>LEFT EYE |______| |___ | |____|
>
>I figure I need to edit the flypage to accept this information but I need
>help figuring out what how
>to include this information with the order. Do I need another table to hold
>this info?
>
This is a great job for item attributes - little bits of extra data that
you can attach (or not attach) to items in the order, either for
informational purposes, or to affect pricing, or both.
Unfortunately the current docs on the subject leave much to be desired. I
suggest you go to ftp.akopia.com and grab the tarball of the last MV4, then
read up on Pricing:Item Attributes in the docs which are contained in that
archive.
- 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 lists.akopia.com (Robert Trembath)
Date: Fri Jun 8 12:21:01 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
I've posted 4 message in 3 hours and no dice. Is anyone out there today.
Usually this group is terrific about responding, but wassup?
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
Trembath
Sent: Friday, June 08, 2001 10:38 AM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] How do I get the errors to show on CC processing with
Authorize.net
I finally got it to enter something in the error log:
131.226.161.178 mKSFVWZR:131.226.161.178 - [08/June/2001:09:27:11 -0500]
catalog /cgi-bin/catalog/process.html bad custom payment GlobalSub:
authorizenet
Here is what's in my authorizenet:
GlobalSub <<EOS
sub authorizenet {
my ($user, $secret, $amount) = @_;
my (%actual) = Vend::Order::map_actual();
if (! $user ) {
$user = $::Variable->{MV_PAYMENT_ID} ||
$::Variable->{CYBER_ID}
or return undef;
}
if(! $secret) {
$secret = $::Variable->{MV_PAYMENT_SECRET} ||
$::Variable->{CYBER_SECRET}
or return undef;
}
my $server = $::Variable->{MV_PAYMENT_SERVER} ||
$::Variable->{CYBER_SERVER} ||
'secure.authorize.net';
my $script = $::Variable->{MV_PAYMENT_SCRIPT} ||
$::Variable->{CYBER_SCRIPT} ||
'/gateway/transact.dll';
my $port = $::Variable->{MV_PAYMENT_PORT} ||
$::Variable->{CYBER_PORT} ||
443;
my $precision = $::Variable->{MV_PAYMENT_PRECISION} ||
$::Variable->{CYBER_PRECISION} ||
2;
my $referer = $::Variable->{MV_PAYMENT_REFERER};
$actual{mv_credit_card_exp_month} =~ s/\D//g;
$actual{mv_credit_card_exp_month} =~ s/^0+//;
$actual{mv_credit_card_exp_year} =~ s/\D//g;
$actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/;
$actual{mv_credit_card_number} =~ s/\D//g;
my $exp = sprintf '%02d%02d',
$actual{mv_credit_card_exp_month},
$actual{mv_credit_card_exp_year};
$actual{cyber_mode} = 'AUTH_CAPTURE'
unless $actual{cyber_mode};
my %type_map = (
mauth_capture => 'AUTH_CAPTURE',
mauthonly => 'AUTH_ONLY',
CAPTURE_ONLY => 'CAPTURE_ONLY',
CREDIT => 'CREDIT',
VOID => 'VOID',
PRIOR_AUTH_CAPTURE => 'PRIOR_AUTH_CAPTURE',
);
if (defined $type_map{$actual{cyber_mode}}) {
$actual{cyber_mode} = $type_map{$actual{cyber_mode}};
}
else {
$actual{cyber_mode} = 'AUTH_CAPTURE';
}
if(! $amount) {
$amount = Vend::Interpolate::total_cost();
$amount = sprintf("%.${precision}f", $amount);
}
my($orderID);
my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
gmtime(time());
# We'll make an order ID based on date, time, and MiniVend session
# $mon is the month index where Jan=0 and Dec=11, so we use
# $mon+1 to get the more familiar Jan=1 and Dec=12
$orderID = sprintf("%02d%02d%02d%02d%02d%05d%s",
$year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName);
my %query = (
x_Card_Num => $actual{mv_credit_card_number},
x_First_Name => $actual{b_fname},
x_Last_Name => $actual{b_lname},
x_Address => $actual{b_address1},
x_City => $actual{b_city},
x_State => $actual{b_state},
x_Zip => $actual{b_zip},
x_Type => $actual{mv_payment_mode},
x_Amount => $amount,
x_Exp_Date => $exp,
x_Method => 'CC',
x_Invoice_Num => $actual{mv_order_number},
# x_Company => $actual{company},
# x_Phone => $actaul{day_phone},
x_Password => $secret,
x_Login => $user,
x_Version => '3.0',
x_ADC_URL => 'FALSE',
x_ADC_Delim_Data => 'TRUE',
);
my @query;
for (keys %query) {
my $key = $_;
my $val = $query{$key};
$val =~ s/["\$\n\r]//g;
$val =~ s/\$//g;
my $len = length($val);
if($val =~ /[&=]/) {
$key .= "[$len]";
}
push @query, "$key=$val";
}
my $string = join '&', @query;
use Net::SSLeay qw(post_https make_form make_headers);
my ($page, $response, %reply_headers)
= post_https($server, $port, $script,
make_headers( Referer => $referer),
make_form(
%query
));
# Minivend names are on the left, Authorize.Net on the right
my %result_map = ( qw/
MStatus x_response_code
pop.status x_response_code
MErrMsg x_response_reason_text
pop.error-message x_response_reason_text
order-id x_trans_id
pop.order-id x_trans_id
pop.auth-code x_auth_code
pop.avs_code x_avs_code
pop.avs_zip x_zip
pop.avs_addr x_address
/
);
#::logError(qq{\nauthorizenet page: $page response: $response\n});
my ($response_code,
$response_subcode,
$response_reason_code,
$response_reason_text,
$auth_code,
$avs_code,
$trans_id) = split (/,/,$page);
#::logError(qq{authorizenet response_reason_text=$response_reason_text
response_code: $response_code});
my %result;
if ($response_code == 1) {
$result{MStatus} = 'success';
$result{'order-id'} = 1; # ? Why this this set to 1? -mark
} else {
$result{MStatus} = 'failure';
# NOTE: A lot more AVS codes could be checked for here.
if ($avs_code eq 'N') {
$result{MErrMsg} = "You must enter the correct billing address of your
credit card. The bank returned the following error: " .
$response_reason_text;
} else {
$result{MErrMsg} = "$response_reason_text" ;
my $msg = errmsg("Authorizenet error: %s. Please call in your order or
try again.",
$response_reason_text,
);
}
}
return (%result);
}
EOS
This is located in /usr/lib/interchange/eg/globalsub
I've followed Mike's directions in this file and added the needed lines to
interchange.cfg and catalog.cfg
Please help ASAP as I am past deadline!
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
Trembath
Sent: Friday, June 08, 2001 10:13 AM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] How do I get the errors to show on CC processing with
Authorize.net
Did some searching through the list made some changes that Mike mentioned in
a previous post to variables in the authorizenet page on the x_address and
x_zip lines. But still encountering a problem.
Please Help!
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
Trembath
Sent: Friday, June 08, 2001 8:52 AM
To: interchange-users@developer.akopia.com
Subject: [ic] How do I get the errors to show on CC processing with
Authorize.net
Good morning everyone,
A small question, I don't seem to be getting any error messages back from
authorize.net if a card doen't go through. Any time I try to use a credir
card I get redirected back to the payment screen and it says my errors will
be in red, although there are no errors in red!
If I use a different payment type it goes through just fine.
So I need to see what errors are coming back from authorize.net or what else
might be stopping the process.
Thanks,
Robert
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 8 12:40:01 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
On Fri, Jun 08, 2001 at 11:24:00AM -0500, Robert Trembath wrote:
> I've posted 4 message in 3 hours and no dice. Is anyone out there today.
> Usually this group is terrific about responding, but wassup?
This is a question that nobody ever jumps to answer because it gets asked
every week or two, searching for authorize.net in the mailing list archives
will give you a lot or information. 'bad custome payment GlobalSub' means
that your GlobalSub couldn't be compiled, probably because it contains a
syntax error somewhere.
[error all=1 show_error=1 joiner="<BR>" keep=1] will display all the errors in
the page, even ones that are not checked for explicitly.
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 10:38 AM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> I finally got it to enter something in the error log:
>
> 131.226.161.178 mKSFVWZR:131.226.161.178 - [08/June/2001:09:27:11 -0500]
> catalog /cgi-bin/catalog/process.html bad custom payment GlobalSub:
> authorizenet
>
> Here is what's in my authorizenet:
>
> GlobalSub <<EOS
> sub authorizenet {
> my ($user, $secret, $amount) = @_;
>
> my (%actual) = Vend::Order::map_actual();
>
> if (! $user ) {
> $user = $::Variable->{MV_PAYMENT_ID} ||
> $::Variable->{CYBER_ID}
> or return undef;
> }
>
> if(! $secret) {
> $secret = $::Variable->{MV_PAYMENT_SECRET} ||
> $::Variable->{CYBER_SECRET}
> or return undef;
> }
>
> my $server = $::Variable->{MV_PAYMENT_SERVER} ||
> $::Variable->{CYBER_SERVER} ||
> 'secure.authorize.net';
>
> my $script = $::Variable->{MV_PAYMENT_SCRIPT} ||
> $::Variable->{CYBER_SCRIPT} ||
> '/gateway/transact.dll';
>
> my $port = $::Variable->{MV_PAYMENT_PORT} ||
> $::Variable->{CYBER_PORT} ||
> 443;
>
> my $precision = $::Variable->{MV_PAYMENT_PRECISION} ||
> $::Variable->{CYBER_PRECISION} ||
> 2;
> my $referer = $::Variable->{MV_PAYMENT_REFERER};
>
> $actual{mv_credit_card_exp_month} =~ s/\D//g;
> $actual{mv_credit_card_exp_month} =~ s/^0+//;
> $actual{mv_credit_card_exp_year} =~ s/\D//g;
> $actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/;
>
> $actual{mv_credit_card_number} =~ s/\D//g;
>
> my $exp = sprintf '%02d%02d',
> $actual{mv_credit_card_exp_month},
> $actual{mv_credit_card_exp_year};
>
> $actual{cyber_mode} = 'AUTH_CAPTURE'
> unless $actual{cyber_mode};
>
> my %type_map = (
> mauth_capture => 'AUTH_CAPTURE',
> mauthonly => 'AUTH_ONLY',
> CAPTURE_ONLY => 'CAPTURE_ONLY',
> CREDIT => 'CREDIT',
> VOID => 'VOID',
> PRIOR_AUTH_CAPTURE => 'PRIOR_AUTH_CAPTURE',
>
> );
>
> if (defined $type_map{$actual{cyber_mode}}) {
> $actual{cyber_mode} = $type_map{$actual{cyber_mode}};
> }
> else {
> $actual{cyber_mode} = 'AUTH_CAPTURE';
> }
>
> if(! $amount) {
> $amount = Vend::Interpolate::total_cost();
> $amount = sprintf("%.${precision}f", $amount);
> }
>
> my($orderID);
> my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
> gmtime(time());
>
> # We'll make an order ID based on date, time, and MiniVend session
>
> # $mon is the month index where Jan=0 and Dec=11, so we use
> # $mon+1 to get the more familiar Jan=1 and Dec=12
> $orderID = sprintf("%02d%02d%02d%02d%02d%05d%s",
> $year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName);
>
> my %query = (
> x_Card_Num => $actual{mv_credit_card_number},
> x_First_Name => $actual{b_fname},
> x_Last_Name => $actual{b_lname},
> x_Address => $actual{b_address1},
> x_City => $actual{b_city},
> x_State => $actual{b_state},
> x_Zip => $actual{b_zip},
> x_Type => $actual{mv_payment_mode},
> x_Amount => $amount,
> x_Exp_Date => $exp,
> x_Method => 'CC',
> x_Invoice_Num => $actual{mv_order_number},
> # x_Company => $actual{company},
> # x_Phone => $actaul{day_phone},
> x_Password => $secret,
> x_Login => $user,
> x_Version => '3.0',
> x_ADC_URL => 'FALSE',
> x_ADC_Delim_Data => 'TRUE',
>
>
> );
>
> my @query;
>
> for (keys %query) {
> my $key = $_;
> my $val = $query{$key};
> $val =~ s/["\$\n\r]//g;
> $val =~ s/\$//g;
> my $len = length($val);
> if($val =~ /[&=]/) {
> $key .= "[$len]";
> }
> push @query, "$key=$val";
> }
> my $string = join '&', @query;
>
> use Net::SSLeay qw(post_https make_form make_headers);
>
> my ($page, $response, %reply_headers)
> = post_https($server, $port, $script,
> make_headers( Referer => $referer),
> make_form(
> %query
> ));
>
> # Minivend names are on the left, Authorize.Net on the right
> my %result_map = ( qw/
> MStatus x_response_code
> pop.status x_response_code
> MErrMsg x_response_reason_text
> pop.error-message x_response_reason_text
> order-id x_trans_id
> pop.order-id x_trans_id
> pop.auth-code x_auth_code
> pop.avs_code x_avs_code
> pop.avs_zip x_zip
> pop.avs_addr x_address
> /
> );
>
>
> #::logError(qq{\nauthorizenet page: $page response: $response\n});
>
> my ($response_code,
> $response_subcode,
> $response_reason_code,
> $response_reason_text,
> $auth_code,
> $avs_code,
> $trans_id) = split (/,/,$page);
>
> #::logError(qq{authorizenet response_reason_text=$response_reason_text
> response_code: $response_code});
>
> my %result;
> if ($response_code == 1) {
> $result{MStatus} = 'success';
> $result{'order-id'} = 1; # ? Why this this set to 1? -mark
> } else {
> $result{MStatus} = 'failure';
>
> # NOTE: A lot more AVS codes could be checked for here.
> if ($avs_code eq 'N') {
> $result{MErrMsg} = "You must enter the correct billing address of your
> credit card. The bank returned the following error: " .
> $response_reason_text;
> } else {
> $result{MErrMsg} = "$response_reason_text" ;
> my $msg = errmsg("Authorizenet error: %s. Please call in your order or
> try again.",
> $response_reason_text,
> );
> }
> }
>
> return (%result);
>
> }
> EOS
>
> This is located in /usr/lib/interchange/eg/globalsub
>
> I've followed Mike's directions in this file and added the needed lines to
> interchange.cfg and catalog.cfg
>
> Please help ASAP as I am past deadline!
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 10:13 AM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
>
> Did some searching through the list made some changes that Mike mentioned in
> a previous post to variables in the authorizenet page on the x_address and
> x_zip lines. But still encountering a problem.
> Please Help!
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 8:52 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> Good morning everyone,
> A small question, I don't seem to be getting any error messages back from
> authorize.net if a card doen't go through. Any time I try to use a credir
> card I get redirected back to the payment screen and it says my errors will
> be in red, although there are no errors in red!
> If I use a different payment type it goes through just fine.
>
> So I need to see what errors are coming back from authorize.net or what else
> might be stopping the process.
>
> Thanks,
> Robert
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Javier Martin)
Date: Fri Jun 8 12:58:01 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
I'll try to answer your question also sharing my experience with the
authorizenet module:
If the authorizenet globalsub doesn't seem to even execute, you probably
have compilation errors or some module is missing. Strip out everything
except the perl code, save it with another name and do a 'perl -c' on that
file. It will show you errors. In my case, I was missing the Net::SSLeay
module. You can install it through:
perl -MCPAN -e 'install Net::SSLeay'
There are a couple more things I had to change in the authorizenet module:
1. Put error messages in the $Vend::Session->{errors}{mv_credit_card_valid}
variable. This allows automatically displaying errors in red in your form by
way of the [error] tag (see the construct example, you will really NEED to
get ideas from there). After the '$result{MStatus} = "failure"' (near the
end of file), add this line:
$Vend::Session->{errors}{mv_credit_card_valid} = $response_reason_text;
2. Force the transaction type to be a constant value, instead of fetching it
from the mv_payment_mode CGI variable, because someone could save your
checkout page locally, add an <input hidden name=mv_payment_mode
value="CREDIT"> and you will be creditting the customer instead of charging
him!!!. Probably you'll want to invent a new variable in catalog.cfg (say
MV_PAYMENT_TRANSACTION), and set it to "AUTH_CAPTURE". Then in the %query
hash you change the "x_type" value to:
x_type => $::Variable{MV_PAYMENT_TRANSACTION}
3. The cyber_mode and mv_cyber_mode variables are not used, and will not be
used in versions past 4.6.5. Forget all you have read about it.
4. You will also want to test transactions before going live. Add a new
variable (say MV_PAYMENT_TEST), then add code to the authorize globalsub to
check it and add a new pair "x_Test_Request" to the %query hash.
5. I have experienced some problems when querying authorizenet for a
payment. During the time it takes to authorize to charge the credit card,
the whole interchange server gets blocked. This means that no one will
obtain response from the server during this lapse. This problem gets more
serious if for some reason the authorizenet response is delayed due to some
error! In test mode, sometimes my interchange server blocks for 1-2 minutes
waiting for authorize. I'm still trying to work this out. Anyone has
deas? -- Mike?
Javier
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: viernes, 08 de junio de 2001 17:38
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> I finally got it to enter something in the error log:
>
> 131.226.161.178 mKSFVWZR:131.226.161.178 - [08/June/2001:09:27:11 -0500]
> catalog /cgi-bin/catalog/process.html bad custom payment GlobalSub:
> authorizenet
>
> Here is what's in my authorizenet:
>
> GlobalSub <<EOS
> sub authorizenet {
> my ($user, $secret, $amount) = @_;
>
> my (%actual) = Vend::Order::map_actual();
>
> if (! $user ) {
> $user = $::Variable->{MV_PAYMENT_ID} ||
> $::Variable->{CYBER_ID}
> or return undef;
> }
>
> if(! $secret) {
> $secret = $::Variable->{MV_PAYMENT_SECRET} ||
> $::Variable->{CYBER_SECRET}
> or return undef;
> }
>
> my $server = $::Variable->{MV_PAYMENT_SERVER} ||
> $::Variable->{CYBER_SERVER} ||
> 'secure.authorize.net';
>
> my $script = $::Variable->{MV_PAYMENT_SCRIPT} ||
> $::Variable->{CYBER_SCRIPT} ||
> '/gateway/transact.dll';
>
> my $port = $::Variable->{MV_PAYMENT_PORT} ||
> $::Variable->{CYBER_PORT} ||
> 443;
>
> my $precision = $::Variable->{MV_PAYMENT_PRECISION} ||
> $::Variable->{CYBER_PRECISION} ||
> 2;
> my $referer = $::Variable->{MV_PAYMENT_REFERER};
>
> $actual{mv_credit_card_exp_month} =~ s/\D//g;
> $actual{mv_credit_card_exp_month} =~ s/^0+//;
> $actual{mv_credit_card_exp_year} =~ s/\D//g;
> $actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/;
>
> $actual{mv_credit_card_number} =~ s/\D//g;
>
> my $exp = sprintf '%02d%02d',
> $actual{mv_credit_card_exp_month},
> $actual{mv_credit_card_exp_year};
>
> $actual{cyber_mode} = 'AUTH_CAPTURE'
> unless $actual{cyber_mode};
>
> my %type_map = (
> mauth_capture => 'AUTH_CAPTURE',
> mauthonly => 'AUTH_ONLY',
> CAPTURE_ONLY => 'CAPTURE_ONLY',
> CREDIT => 'CREDIT',
> VOID => 'VOID',
> PRIOR_AUTH_CAPTURE =>
> 'PRIOR_AUTH_CAPTURE',
>
> );
>
> if (defined $type_map{$actual{cyber_mode}}) {
> $actual{cyber_mode} = $type_map{$actual{cyber_mode}};
> }
> else {
> $actual{cyber_mode} = 'AUTH_CAPTURE';
> }
>
> if(! $amount) {
> $amount = Vend::Interpolate::total_cost();
> $amount = sprintf("%.${precision}f", $amount);
> }
>
> my($orderID);
> my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
> gmtime(time());
>
> # We'll make an order ID based on date, time, and MiniVend session
>
> # $mon is the month index where Jan=0 and Dec=11, so we use
> # $mon+1 to get the more familiar Jan=1 and Dec=12
> $orderID = sprintf("%02d%02d%02d%02d%02d%05d%s",
> $year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName);
>
> my %query = (
> x_Card_Num =>
> $actual{mv_credit_card_number},
> x_First_Name => $actual{b_fname},
> x_Last_Name => $actual{b_lname},
> x_Address => $actual{b_address1},
> x_City => $actual{b_city},
> x_State => $actual{b_state},
> x_Zip => $actual{b_zip},
> x_Type => $actual{mv_payment_mode},
> x_Amount => $amount,
> x_Exp_Date => $exp,
> x_Method => 'CC',
> x_Invoice_Num => $actual{mv_order_number},
> # x_Company => $actual{company},
> # x_Phone => $actaul{day_phone},
> x_Password => $secret,
> x_Login => $user,
> x_Version => '3.0',
> x_ADC_URL => 'FALSE',
> x_ADC_Delim_Data => 'TRUE',
>
>
> );
>
> my @query;
>
> for (keys %query) {
> my $key = $_;
> my $val = $query{$key};
> $val =~ s/["\$\n\r]//g;
> $val =~ s/\$//g;
> my $len = length($val);
> if($val =~ /[&=]/) {
> $key .= "[$len]";
> }
> push @query, "$key=$val";
> }
> my $string = join '&', @query;
>
> use Net::SSLeay qw(post_https make_form make_headers);
>
> my ($page, $response, %reply_headers)
> = post_https($server, $port, $script,
> make_headers( Referer => $referer),
> make_form(
> %query
> ));
>
> # Minivend names are on the left, Authorize.Net on the right
> my %result_map = ( qw/
> MStatus x_response_code
> pop.status x_response_code
> MErrMsg x_response_reason_text
> pop.error-message x_response_reason_text
> order-id x_trans_id
> pop.order-id x_trans_id
> pop.auth-code x_auth_code
> pop.avs_code x_avs_code
> pop.avs_zip x_zip
> pop.avs_addr x_address
> /
> );
>
>
> #::logError(qq{\nauthorizenet page: $page response: $response\n});
>
> my ($response_code,
> $response_subcode,
> $response_reason_code,
> $response_reason_text,
> $auth_code,
> $avs_code,
> $trans_id) = split (/,/,$page);
>
> #::logError(qq{authorizenet response_reason_text=$response_reason_text
> response_code: $response_code});
>
> my %result;
> if ($response_code == 1) {
> $result{MStatus} = 'success';
> $result{'order-id'} = 1; # ? Why this this set to 1? -mark
> } else {
> $result{MStatus} = 'failure';
>
> # NOTE: A lot more AVS codes could be checked for here.
> if ($avs_code eq 'N') {
> $result{MErrMsg} = "You must enter the correct
> billing address of your
> credit card. The bank returned the following error: " .
> $response_reason_text;
> } else {
> $result{MErrMsg} = "$response_reason_text" ;
> my $msg = errmsg("Authorizenet error: %s.
> Please call in your order or
> try again.",
> $response_reason_text,
> );
> }
> }
>
> return (%result);
>
> }
> EOS
>
> This is located in /usr/lib/interchange/eg/globalsub
>
> I've followed Mike's directions in this file and added the needed lines to
> interchange.cfg and catalog.cfg
>
> Please help ASAP as I am past deadline!
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 10:13 AM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
>
> Did some searching through the list made some changes that Mike
> mentioned in
> a previous post to variables in the authorizenet page on the x_address and
> x_zip lines. But still encountering a problem.
> Please Help!
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 8:52 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> Good morning everyone,
> A small question, I don't seem to be getting any error messages back from
> authorize.net if a card doen't go through. Any time I try to use a credir
> card I get redirected back to the payment screen and it says my
> errors will
> be in red, although there are no errors in red!
> If I use a different payment type it goes through just fine.
>
> So I need to see what errors are coming back from authorize.net
> or what else
> might be stopping the process.
>
> Thanks,
> Robert
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Fri Jun 8 13:17:01 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
Thanks Jason, I've already searched the list and found several. It's kind
of a mess trying to put the comment together to get it to work but I have
done this and already implemented many of the changes suggested.
There was a reference to adding [data session cybercash_errors] to the
checkout page. Is there a specific place this goes? I added it and get no
error messages. I don't even know if it's communicating to authorize.net as
it returns me to process.html within 1-2 seconds.
Where do I add this code?
Thanks, Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
Kohles
Sent: Friday, June 08, 2001 11:31 AM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] How do I get the errors to show on CC processing with
Authorize.net
On Fri, Jun 08, 2001 at 11:24:00AM -0500, Robert Trembath wrote:
> I've posted 4 message in 3 hours and no dice. Is anyone out there today.
> Usually this group is terrific about responding, but wassup?
This is a question that nobody ever jumps to answer because it gets asked
every week or two, searching for authorize.net in the mailing list archives
will give you a lot or information. 'bad custome payment GlobalSub' means
that your GlobalSub couldn't be compiled, probably because it contains a
syntax error somewhere.
[error all=1 show_error=1 joiner="<BR>" keep=1] will display all the errors
in
the page, even ones that are not checked for explicitly.
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 10:38 AM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> I finally got it to enter something in the error log:
>
> 131.226.161.178 mKSFVWZR:131.226.161.178 - [08/June/2001:09:27:11 -0500]
> catalog /cgi-bin/catalog/process.html bad custom payment GlobalSub:
> authorizenet
>
> Here is what's in my authorizenet:
>
> GlobalSub <<EOS
> sub authorizenet {
> my ($user, $secret, $amount) = @_;
>
> my (%actual) = Vend::Order::map_actual();
>
> if (! $user ) {
> $user = $::Variable->{MV_PAYMENT_ID} ||
> $::Variable->{CYBER_ID}
> or return undef;
> }
>
> if(! $secret) {
> $secret = $::Variable->{MV_PAYMENT_SECRET} ||
> $::Variable->{CYBER_SECRET}
> or return undef;
> }
>
> my $server = $::Variable->{MV_PAYMENT_SERVER} ||
> $::Variable->{CYBER_SERVER} ||
> 'secure.authorize.net';
>
> my $script = $::Variable->{MV_PAYMENT_SCRIPT} ||
> $::Variable->{CYBER_SCRIPT} ||
> '/gateway/transact.dll';
>
> my $port = $::Variable->{MV_PAYMENT_PORT} ||
> $::Variable->{CYBER_PORT} ||
> 443;
>
> my $precision = $::Variable->{MV_PAYMENT_PRECISION} ||
> $::Variable->{CYBER_PRECISION} ||
> 2;
> my $referer = $::Variable->{MV_PAYMENT_REFERER};
>
> $actual{mv_credit_card_exp_month} =~ s/\D//g;
> $actual{mv_credit_card_exp_month} =~ s/^0+//;
> $actual{mv_credit_card_exp_year} =~ s/\D//g;
> $actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/;
>
> $actual{mv_credit_card_number} =~ s/\D//g;
>
> my $exp = sprintf '%02d%02d',
> $actual{mv_credit_card_exp_month},
> $actual{mv_credit_card_exp_year};
>
> $actual{cyber_mode} = 'AUTH_CAPTURE'
> unless $actual{cyber_mode};
>
> my %type_map = (
> mauth_capture => 'AUTH_CAPTURE',
> mauthonly => 'AUTH_ONLY',
> CAPTURE_ONLY => 'CAPTURE_ONLY',
> CREDIT => 'CREDIT',
> VOID => 'VOID',
> PRIOR_AUTH_CAPTURE => 'PRIOR_AUTH_CAPTURE',
>
> );
>
> if (defined $type_map{$actual{cyber_mode}}) {
> $actual{cyber_mode} = $type_map{$actual{cyber_mode}};
> }
> else {
> $actual{cyber_mode} = 'AUTH_CAPTURE';
> }
>
> if(! $amount) {
> $amount = Vend::Interpolate::total_cost();
> $amount = sprintf("%.${precision}f", $amount);
> }
>
> my($orderID);
> my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
> gmtime(time());
>
> # We'll make an order ID based on date, time, and MiniVend session
>
> # $mon is the month index where Jan=0 and Dec=11, so we use
> # $mon+1 to get the more familiar Jan=1 and Dec=12
> $orderID = sprintf("%02d%02d%02d%02d%02d%05d%s",
> $year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName);
>
> my %query = (
> x_Card_Num => $actual{mv_credit_card_number},
> x_First_Name => $actual{b_fname},
> x_Last_Name => $actual{b_lname},
> x_Address => $actual{b_address1},
> x_City => $actual{b_city},
> x_State => $actual{b_state},
> x_Zip => $actual{b_zip},
> x_Type => $actual{mv_payment_mode},
> x_Amount => $amount,
> x_Exp_Date => $exp,
> x_Method => 'CC',
> x_Invoice_Num => $actual{mv_order_number},
> # x_Company => $actual{company},
> # x_Phone => $actaul{day_phone},
> x_Password => $secret,
> x_Login => $user,
> x_Version => '3.0',
> x_ADC_URL => 'FALSE',
> x_ADC_Delim_Data => 'TRUE',
>
>
> );
>
> my @query;
>
> for (keys %query) {
> my $key = $_;
> my $val = $query{$key};
> $val =~ s/["\$\n\r]//g;
> $val =~ s/\$//g;
> my $len = length($val);
> if($val =~ /[&=]/) {
> $key .= "[$len]";
> }
> push @query, "$key=$val";
> }
> my $string = join '&', @query;
>
> use Net::SSLeay qw(post_https make_form make_headers);
>
> my ($page, $response, %reply_headers)
> = post_https($server, $port, $script,
> make_headers( Referer => $referer),
> make_form(
> %query
> ));
>
> # Minivend names are on the left, Authorize.Net on the right
> my %result_map = ( qw/
> MStatus x_response_code
> pop.status x_response_code
> MErrMsg x_response_reason_text
> pop.error-message x_response_reason_text
> order-id x_trans_id
> pop.order-id x_trans_id
> pop.auth-code x_auth_code
> pop.avs_code x_avs_code
> pop.avs_zip x_zip
> pop.avs_addr x_address
> /
> );
>
>
> #::logError(qq{\nauthorizenet page: $page response: $response\n});
>
> my ($response_code,
> $response_subcode,
> $response_reason_code,
> $response_reason_text,
> $auth_code,
> $avs_code,
> $trans_id) = split (/,/,$page);
>
> #::logError(qq{authorizenet response_reason_text=$response_reason_text
> response_code: $response_code});
>
> my %result;
> if ($response_code == 1) {
> $result{MStatus} = 'success';
> $result{'order-id'} = 1; # ? Why this this set to 1? -mark
> } else {
> $result{MStatus} = 'failure';
>
> # NOTE: A lot more AVS codes could be checked for here.
> if ($avs_code eq 'N') {
> $result{MErrMsg} = "You must enter the correct billing address of
your
> credit card. The bank returned the following error: " .
> $response_reason_text;
> } else {
> $result{MErrMsg} = "$response_reason_text" ;
> my $msg = errmsg("Authorizenet error: %s. Please call in your order or
> try again.",
> $response_reason_text,
> );
> }
> }
>
> return (%result);
>
> }
> EOS
>
> This is located in /usr/lib/interchange/eg/globalsub
>
> I've followed Mike's directions in this file and added the needed lines to
> interchange.cfg and catalog.cfg
>
> Please help ASAP as I am past deadline!
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 10:13 AM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
>
> Did some searching through the list made some changes that Mike mentioned
in
> a previous post to variables in the authorizenet page on the x_address and
> x_zip lines. But still encountering a problem.
> Please Help!
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 8:52 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> Good morning everyone,
> A small question, I don't seem to be getting any error messages back from
> authorize.net if a card doen't go through. Any time I try to use a credir
> card I get redirected back to the payment screen and it says my errors
will
> be in red, although there are no errors in red!
> If I use a different payment type it goes through just fine.
>
> So I need to see what errors are coming back from authorize.net or what
else
> might be stopping the process.
>
> Thanks,
> Robert
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 8 13:28:01 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
On Fri, Jun 08, 2001 at 12:19:39PM -0500, Robert Trembath wrote:
> Thanks Jason, I've already searched the list and found several. It's kind
> of a mess trying to put the comment together to get it to work but I have
> done this and already implemented many of the changes suggested.
>
> There was a reference to adding [data session cybercash_errors] to the
> checkout page. Is there a specific place this goes? I added it and get no
> error messages. I don't even know if it's communicating to authorize.net as
> it returns me to process.html within 1-2 seconds.
>
The error stuff won't do anything until you get the problem with the
globalsub sorted out.
> Where do I add this code?
>
> Thanks, Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
> Kohles
> Sent: Friday, June 08, 2001 11:31 AM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> On Fri, Jun 08, 2001 at 11:24:00AM -0500, Robert Trembath wrote:
> > I've posted 4 message in 3 hours and no dice. Is anyone out there today.
> > Usually this group is terrific about responding, but wassup?
>
> This is a question that nobody ever jumps to answer because it gets asked
> every week or two, searching for authorize.net in the mailing list archives
> will give you a lot or information. 'bad custome payment GlobalSub' means
> that your GlobalSub couldn't be compiled, probably because it contains a
> syntax error somewhere.
>
> [error all=1 show_error=1 joiner="<BR>" keep=1] will display all the errors
> in
> the page, even ones that are not checked for explicitly.
>
> > Robert
> >
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> > Trembath
> > Sent: Friday, June 08, 2001 10:38 AM
> > To: interchange-users@developer.akopia.com
> > Subject: RE: [ic] How do I get the errors to show on CC processing with
> > Authorize.net
> >
> >
> > I finally got it to enter something in the error log:
> >
> > 131.226.161.178 mKSFVWZR:131.226.161.178 - [08/June/2001:09:27:11 -0500]
> > catalog /cgi-bin/catalog/process.html bad custom payment GlobalSub:
> > authorizenet
> >
> > Here is what's in my authorizenet:
> >
> > GlobalSub <<EOS
> > sub authorizenet {
> > my ($user, $secret, $amount) = @_;
> >
> > my (%actual) = Vend::Order::map_actual();
> >
> > if (! $user ) {
> > $user = $::Variable->{MV_PAYMENT_ID} ||
> > $::Variable->{CYBER_ID}
> > or return undef;
> > }
> >
> > if(! $secret) {
> > $secret = $::Variable->{MV_PAYMENT_SECRET} ||
> > $::Variable->{CYBER_SECRET}
> > or return undef;
> > }
> >
> > my $server = $::Variable->{MV_PAYMENT_SERVER} ||
> > $::Variable->{CYBER_SERVER} ||
> > 'secure.authorize.net';
> >
> > my $script = $::Variable->{MV_PAYMENT_SCRIPT} ||
> > $::Variable->{CYBER_SCRIPT} ||
> > '/gateway/transact.dll';
> >
> > my $port = $::Variable->{MV_PAYMENT_PORT} ||
> > $::Variable->{CYBER_PORT} ||
> > 443;
> >
> > my $precision = $::Variable->{MV_PAYMENT_PRECISION} ||
> > $::Variable->{CYBER_PRECISION} ||
> > 2;
> > my $referer = $::Variable->{MV_PAYMENT_REFERER};
> >
> > $actual{mv_credit_card_exp_month} =~ s/\D//g;
> > $actual{mv_credit_card_exp_month} =~ s/^0+//;
> > $actual{mv_credit_card_exp_year} =~ s/\D//g;
> > $actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/;
> >
> > $actual{mv_credit_card_number} =~ s/\D//g;
> >
> > my $exp = sprintf '%02d%02d',
> > $actual{mv_credit_card_exp_month},
> > $actual{mv_credit_card_exp_year};
> >
> > $actual{cyber_mode} = 'AUTH_CAPTURE'
> > unless $actual{cyber_mode};
> >
> > my %type_map = (
> > mauth_capture => 'AUTH_CAPTURE',
> > mauthonly => 'AUTH_ONLY',
> > CAPTURE_ONLY => 'CAPTURE_ONLY',
> > CREDIT => 'CREDIT',
> > VOID => 'VOID',
> > PRIOR_AUTH_CAPTURE => 'PRIOR_AUTH_CAPTURE',
> >
> > );
> >
> > if (defined $type_map{$actual{cyber_mode}}) {
> > $actual{cyber_mode} = $type_map{$actual{cyber_mode}};
> > }
> > else {
> > $actual{cyber_mode} = 'AUTH_CAPTURE';
> > }
> >
> > if(! $amount) {
> > $amount = Vend::Interpolate::total_cost();
> > $amount = sprintf("%.${precision}f", $amount);
> > }
> >
> > my($orderID);
> > my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
> > gmtime(time());
> >
> > # We'll make an order ID based on date, time, and MiniVend session
> >
> > # $mon is the month index where Jan=0 and Dec=11, so we use
> > # $mon+1 to get the more familiar Jan=1 and Dec=12
> > $orderID = sprintf("%02d%02d%02d%02d%02d%05d%s",
> > $year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName);
> >
> > my %query = (
> > x_Card_Num => $actual{mv_credit_card_number},
> > x_First_Name => $actual{b_fname},
> > x_Last_Name => $actual{b_lname},
> > x_Address => $actual{b_address1},
> > x_City => $actual{b_city},
> > x_State => $actual{b_state},
> > x_Zip => $actual{b_zip},
> > x_Type => $actual{mv_payment_mode},
> > x_Amount => $amount,
> > x_Exp_Date => $exp,
> > x_Method => 'CC',
> > x_Invoice_Num => $actual{mv_order_number},
> > # x_Company => $actual{company},
> > # x_Phone => $actaul{day_phone},
> > x_Password => $secret,
> > x_Login => $user,
> > x_Version => '3.0',
> > x_ADC_URL => 'FALSE',
> > x_ADC_Delim_Data => 'TRUE',
> >
> >
> > );
> >
> > my @query;
> >
> > for (keys %query) {
> > my $key = $_;
> > my $val = $query{$key};
> > $val =~ s/["\$\n\r]//g;
> > $val =~ s/\$//g;
> > my $len = length($val);
> > if($val =~ /[&=]/) {
> > $key .= "[$len]";
> > }
> > push @query, "$key=$val";
> > }
> > my $string = join '&', @query;
> >
> > use Net::SSLeay qw(post_https make_form make_headers);
> >
> > my ($page, $response, %reply_headers)
> > = post_https($server, $port, $script,
> > make_headers( Referer => $referer),
> > make_form(
> > %query
> > ));
> >
> > # Minivend names are on the left, Authorize.Net on the right
> > my %result_map = ( qw/
> > MStatus x_response_code
> > pop.status x_response_code
> > MErrMsg x_response_reason_text
> > pop.error-message x_response_reason_text
> > order-id x_trans_id
> > pop.order-id x_trans_id
> > pop.auth-code x_auth_code
> > pop.avs_code x_avs_code
> > pop.avs_zip x_zip
> > pop.avs_addr x_address
> > /
> > );
> >
> >
> > #::logError(qq{\nauthorizenet page: $page response: $response\n});
> >
> > my ($response_code,
> > $response_subcode,
> > $response_reason_code,
> > $response_reason_text,
> > $auth_code,
> > $avs_code,
> > $trans_id) = split (/,/,$page);
> >
> > #::logError(qq{authorizenet response_reason_text=$response_reason_text
> > response_code: $response_code});
> >
> > my %result;
> > if ($response_code == 1) {
> > $result{MStatus} = 'success';
> > $result{'order-id'} = 1; # ? Why this this set to 1? -mark
> > } else {
> > $result{MStatus} = 'failure';
> >
> > # NOTE: A lot more AVS codes could be checked for here.
> > if ($avs_code eq 'N') {
> > $result{MErrMsg} = "You must enter the correct billing address of
> your
> > credit card. The bank returned the following error: " .
> > $response_reason_text;
> > } else {
> > $result{MErrMsg} = "$response_reason_text" ;
> > my $msg = errmsg("Authorizenet error: %s. Please call in your order or
> > try again.",
> > $response_reason_text,
> > );
> > }
> > }
> >
> > return (%result);
> >
> > }
> > EOS
> >
> > This is located in /usr/lib/interchange/eg/globalsub
> >
> > I've followed Mike's directions in this file and added the needed lines to
> > interchange.cfg and catalog.cfg
> >
> > Please help ASAP as I am past deadline!
> > Robert
> >
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> > Trembath
> > Sent: Friday, June 08, 2001 10:13 AM
> > To: interchange-users@developer.akopia.com
> > Subject: RE: [ic] How do I get the errors to show on CC processing with
> > Authorize.net
> >
> >
> >
> > Did some searching through the list made some changes that Mike mentioned
> in
> > a previous post to variables in the authorizenet page on the x_address and
> > x_zip lines. But still encountering a problem.
> > Please Help!
> > Robert
> >
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> > Trembath
> > Sent: Friday, June 08, 2001 8:52 AM
> > To: interchange-users@developer.akopia.com
> > Subject: [ic] How do I get the errors to show on CC processing with
> > Authorize.net
> >
> >
> > Good morning everyone,
> > A small question, I don't seem to be getting any error messages back from
> > authorize.net if a card doen't go through. Any time I try to use a credir
> > card I get redirected back to the payment screen and it says my errors
> will
> > be in red, although there are no errors in red!
> > If I use a different payment type it goes through just fine.
> >
> > So I need to see what errors are coming back from authorize.net or what
> else
> > might be stopping the process.
> >
> > Thanks,
> > Robert
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (rob watson)
Date: Fri Jun 8 13:48:00 2001
Subject: [ic] PGP CC Encryption
Hi All,
This is probably basic beyond belief but I can't seem to get the construct
demo to send the Credit Card info encrypted.
I'm on a Sun Spar, it processes the order and I get the email but the
Credit Card number is visible to all. Could someone please detail the
entries to "catalog.cfg" and whatever other files (receipt ??) that need to
be added for this to work. I have the paths correct and the keys created, etc.
Thank's Very Much,
Rob
From: interchange-users at lists.akopia.com (Joel Stewart)
Date: Fri Jun 8 13:52:01 2001
Subject: [ic] Simple conditional problem
Hello
Can anyone please help me with what is probably a very simple problem. I am
trying to use a conditional statement to not display the price for a gift
certificate with in a loop
[if [loop-code] =~ /^gift_cert/i]Available in any
increment[else][loop-price][/else][/if]
Obviously to those in the know, it doesn't work. I've tried it with quotes,
with nothing, probably 20 different combinations and still no joy.
Thanks for whatever help you can provide
Joel Stewart
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Fri Jun 8 14:13:01 2001
Subject: [ic] Simple conditional problem
"Joel Stewart" <jstew@natural-parenting.com> writes:
> Hello
>
> Can anyone please help me with what is probably a very simple problem. I am
> trying to use a conditional statement to not display the price for a gift
> certificate with in a loop
>
> [if [loop-code] =~ /^gift_cert/i]Available in any
> increment[else][loop-price][/else][/if]
[if explicit][condition]'[loop-code]' =~ /^gift_cert/i[/condition]
Available ...
[else]
....
[/else][/if]
may work.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Ed LaFrance)
Date: Fri Jun 8 14:25:00 2001
Subject: [ic] Simple conditional problem
At 06:59 PM 06/08/2001 +0100, you wrote:
>Hello
>
>Can anyone please help me with what is probably a very simple problem. I am
>trying to use a conditional statement to not display the price for a gift
>certificate with in a loop
>
>[if [loop-code] =~ /^gift_cert/i]Available in any
>increment[else][loop-price][/else][/if]
>
>Obviously to those in the know, it doesn't work. I've tried it with quotes,
>with nothing, probably 20 different combinations and still no joy.
>
>Thanks for whatever help you can provide
>
Check into [if explicit... in the tag ref. You might also want to try
[loop-calc] (execution is said to be faster):
[loop-calc]
if ('[loop-code]' =~ /^gift_cert/i) {
return 'Available in any increment.';
}
else {
return '[loop-price]';
}
[/loop-calc]
===============================================================
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 lists.akopia.com (Jon Jensen)
Date: Fri Jun 8 15:12:00 2001
Subject: [ic] No access database problem fixed
Here is a patch to 4.6.5 that fixes the (extremely rare) problem
Christopher VanOosterhout found where the admin UI allowed unrestricted
access if there was no 'access' database whatsoever. Patches have been
committed to both the stable and development branches in CVS.
Thanks, Christopher.
Jon
Index: Primitive.pm
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/Primitive.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- Primitive.pm 2001/02/02 02:09:57 1.26
+++ Primitive.pm 2001/06/08 18:58:43 1.27
@@ -23,7 +23,7 @@
package UI::Primitive;
-$VERSION = substr(q$Revision: 1.26 $, 10);
+$VERSION = substr(q$Revision: 1.27 $, 10);
$DEBUG = 0;
use vars qw!
@@ -163,9 +163,9 @@
my $try = shift;
my $table;
$Global::SuperUserFunction = \&is_super;
- my $default = defined $Global::Variable->{UI_ACL}
- ? (! $Global::Variable->{UI_ACL})
- : 1;
+ my $default = defined $Global::Variable->{UI_SECURITY_OVERRIDE}
+ ? $Global::Variable->{UI_SECURITY_OVERRIDE}
+ : 0;
$table = $::Variable->{UI_ACCESS_TABLE} || 'access';
$Vend::WriteDatabase{$table} = 1;
my $db = Vend::Data::database_exists_ref($table);
From: interchange-users at lists.akopia.com (Gustavo A. Barreto A.)
Date: Fri Jun 8 15:20:00 2001
Subject: [ic] Permissions problem.
OK, I'm happy right now, my interchange installation is working OK. Thanks
for your help.
The problem was generated bay incorrect permissions settings in my /dev
directory. I just forgot to set the permissions while restoring the system.
I just restore the /dev directory and set the correct permissions and
everything started working again.
Thank you for your help!
----- Original Message -----
From: "Murray Gibbins" <Murray@scotweb.ltd.uk>
To: <interchange-users@developer.akopia.com>
Sent: Friday, June 08, 2001 11:00 AM
Subject: Re: [ic] Permissions problem.
> > "Gustavo A. Barreto A." wrote:
> >
> > Hello, I just installed Interchange, and a few days after that my
primary boot
> > disk crashed. I restored a backup in a new disk and the system is now
working
> > but Interchange doesn't works. I think this could be a permissions
problem.
> > When I try to create a new catalog I get the foloowing errors:
> >
> > *** We will be making a catalog named 'construct'. ***
> >
> > glob failed (child exited with status 2) at ./bin/makecat line 331.
> > glob failed (child exited with status 2) at ./bin/makecat line 331.
> > glob failed (child exited with status 2) at ./bin/makecat line 331.
> the cod that fails here is ....
>
> for( glob("$ENV{HOME}/*html*"),
> glob("$ENV{HOME}/*www*"),
> glob("$ENV{HOME}/*web*")
> )
>
>
>
>
> > glob failed (child exited with status 2) at ./bin/makecat line 341.
> > glob failed (child exited with status 2) at ./bin/makecat line 341.
> > glob failed (child exited with status 2) at ./bin/makecat line 341.
> > glob failed (child exited with status 2) at ./bin/makecat line 341.
> > glob failed (child exited with status 2) at ./bin/makecat line 341.
> > glob failed (child exited with status 2) at ./bin/makecat line 341.
>
> here it's ....
> for(
> '/home/httpd/html',
> '/var/www/html',
> '/usr/local/etc/httpd/htdocs',
> '/usr/local/apache/htdocs',
> '/home/httpd/htdocs',
> glob("/*/httpd/*docs"),
> glob("/*web*/*docs"),
> glob("/*/ns-home/docs"),
> glob("/export/*/ns-home/http*/docs"),
> glob("/usr/*/ns-home/http*/docs"),
> glob("/home/*/ns-home/http*/docs")
> )
>
>
>
> > glob failed (child exited with status 2) at ./bin/makecat line 372.
> > glob failed (child exited with status 2) at ./bin/makecat line 372.
>
> for( glob("$ENV{HOME}/*cgi*"), glob("$ENV{HOME}/*scripts*") ) {
> -d $_ and -w _
> and $CgiDefault = $_
> and ($CgiUrlDefault = $_) =~ s:.*/:/:
> and last FINDCGIDIR;
> }
>
>
>
> > glob failed (child exited with status 2) at ./bin/makecat line 379.
> > glob failed (child exited with status 2) at ./bin/makecat line 379.
> > glob failed (child exited with status 2) at ./bin/makecat line 379.
> > glob failed (child exited with status 2) at ./bin/makecat line 379.
> > glob failed (child exited with status 2) at ./bin/makecat line 379.
>
> and here ...
>
> for(
> '/home/httpd/cgi-bin',
> '/var/www/cgi-bin',
> '/usr/local/etc/httpd/cgi-bin',
> '/usr/local/apache/cgi-bin',
> glob("/*web*/cgi*"),
> glob("/*/ns-home/cgi*"),
> glob("/export/*/ns-home/http*/cgi*"),
> glob("/usr/*/ns-home/http*/cgi*"),
> glob("/home/*/ns-home/http*/cgi*"),
> )
>
>
> that should help you.
>
> --
> ____
> \__/ Murray Gibbins murray@scotweb.ltd.uk
> / \ Programmer
> _ \__/ _ ================================================
> \\ || // Scotweb Limited, info@scotweb.ltd.uk
> \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk
> \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33
> || Scotland. Europe. Fax: +44 (0) 7020 93 49 04
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Fri Jun 8 15:54:01 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
Javier,
I did what you suggested and this is what I got:
[robert@www globalsub]$ perl -c authorizenet
syntax error at authorizenet line 3, near "EOS
sub authorizenet "
Can't use global @_ in "my" at authorizenet line 4, near "= @_"
BEGIN not safe after errors--compilation aborted at authorizenet line 122.
I don't know perl. I know php,sql,html,asp and a few others. So I'm not
familar with perl syntax. Any help would be greatly appreciated.
I've been using this without real-time credit authorization and love it, but
how much of a perfomance hit will this be? I'm running a dell poweredge 1550
with 866PIII, 1gig of RAM, Raid 5 with PERC3 on RH 7.0. Any idea?
Here's what's in my authorizenet file, it located in
/usr/lib/interchange/eg/globalsub/:
GlobalSub <<EOS
sub authorizenet {
my ($user, $secret, $amount) = @_;
my (%actual) = Vend::Order::map_actual();
if (! $user ) {
$user = $::Variable->{MV_PAYMENT_ID} ||
$::Variable->{CYBER_ID}
or return undef;
}
if(! $secret) {
$secret = $::Variable->{MV_PAYMENT_SECRET} ||
$::Variable->{CYBER_SECRET}
or return undef;
}
my $server = $::Variable->{MV_PAYMENT_SERVER} ||
$::Variable->{CYBER_SERVER} ||
'secure.authorize.net';
my $script = $::Variable->{MV_PAYMENT_SCRIPT} ||
$::Variable->{CYBER_SCRIPT} ||
'/gateway/transact.dll';
my $port = $::Variable->{MV_PAYMENT_PORT} ||
$::Variable->{CYBER_PORT} ||
443;
my $precision = $::Variable->{MV_PAYMENT_PRECISION} ||
$::Variable->{CYBER_PRECISION} ||
2;
my $referer = $::Variable->{MV_PAYMENT_REFERER};
$actual{mv_credit_card_exp_month} =~ s/\D//g;
$actual{mv_credit_card_exp_month} =~ s/^0+//;
$actual{mv_credit_card_exp_year} =~ s/\D//g;
$actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/;
$actual{mv_credit_card_number} =~ s/\D//g;
my $exp = sprintf '%02d%02d',
$actual{mv_credit_card_exp_month},
$actual{mv_credit_card_exp_year};
$actual{cyber_mode} = 'AUTH_CAPTURE'
unless $actual{cyber_mode};
my %type_map = (
mauth_capture => 'AUTH_CAPTURE',
mauthonly => 'AUTH_ONLY',
CAPTURE_ONLY => 'CAPTURE_ONLY',
CREDIT => 'CREDIT',
VOID => 'VOID',
PRIOR_AUTH_CAPTURE => 'PRIOR_AUTH_CAPTURE',
);
if (defined $type_map{$actual{cyber_mode}}) {
$actual{cyber_mode} = $type_map{$actual{cyber_mode}};
}
else {
$actual{cyber_mode} = 'AUTH_CAPTURE';
}
if(! $amount) {
$amount = Vend::Interpolate::total_cost();
$amount = sprintf("%.${precision}f", $amount);
}
my($orderID);
my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
gmtime(time());
# We'll make an order ID based on date, time, and MiniVend session
# $mon is the month index where Jan=0 and Dec=11, so we use
# $mon+1 to get the more familiar Jan=1 and Dec=12
$orderID = sprintf("%02d%02d%02d%02d%02d%05d%s",
$year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName);
my %query = (
x_Card_Num => $actual{mv_credit_card_number},
x_First_Name => $actual{b_fname},
x_Last_Name => $actual{b_lname},
x_Address => $actual{b_address1},
x_City => $actual{b_city},
x_State => $actual{b_state},
x_Zip => $actual{b_zip},
x_Type => $actual{mv_payment_mode},
x_Amount => $amount,
x_Exp_Date => $exp,
x_Method => 'CC',
x_Invoice_Num => $actual{mv_order_number},
# x_Company => $actual{company},
# x_Phone => $actaul{day_phone},
x_Password => $secret,
x_Login => $user,
x_Version => '3.0',
x_ADC_URL => 'FALSE',
x_ADC_Delim_Data => 'TRUE',
);
my @query;
for (keys %query) {
my $key = $_;
my $val = $query{$key};
$val =~ s/["\$\n\r]//g;
$val =~ s/\$//g;
my $len = length($val);
if($val =~ /[&=]/) {
$key .= "[$len]";
}
push @query, "$key=$val";
}
my $string = join '&', @query;
use Net::SSLeay qw(post_https make_form make_headers);
my ($page, $response, %reply_headers)
= post_https($server, $port, $script,
make_headers( Referer => $referer),
make_form(
%query
));
# Minivend names are on the left, Authorize.Net on the right
my %result_map = ( qw/
MStatus x_response_code
pop.status x_response_code
MErrMsg x_response_reason_text
pop.error-message x_response_reason_text
order-id x_trans_id
pop.order-id x_trans_id
pop.auth-code x_auth_code
pop.avs_code x_avs_code
pop.avs_zip x_zip
pop.avs_addr x_address
/
);
#::logError(qq{\nauthorizenet page: $page response: $response\n});
my ($response_code,
$response_subcode,
$response_reason_code,
$response_reason_text,
$auth_code,
$avs_code,
$trans_id) = split (/,/,$page);
#::logError(qq{authorizenet response_reason_text=$response_reason_text
response_code: $response_code});
my %result;
if ($response_code == 1) {
$result{MStatus} = 'success';
$result{'order-id'} = 1; # ? Why this this set to 1? -mark
} else {
$result{MStatus} = 'failure';
# NOTE: A lot more AVS codes could be checked for here.
if ($avs_code eq 'N') {
$result{MErrMsg} = "You must enter the correct billing address of your
credit card. The bank returned the following error: " .
$response_reason_text;
} else {
$result{MErrMsg} = "$response_reason_text" ;
my $msg = errmsg("Authorizenet error: %s. Please call in your order or
try again.",
$response_reason_text,
);
}
}
return (%result);
}
EOS
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Javier
Martin
Sent: Friday, June 08, 2001 12:01 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] How do I get the errors to show on CC processing with
Authorize.net
I'll try to answer your question also sharing my experience with the
authorizenet module:
If the authorizenet globalsub doesn't seem to even execute, you probably
have compilation errors or some module is missing. Strip out everything
except the perl code, save it with another name and do a 'perl -c' on that
file. It will show you errors. In my case, I was missing the Net::SSLeay
module. You can install it through:
perl -MCPAN -e 'install Net::SSLeay'
There are a couple more things I had to change in the authorizenet module:
1. Put error messages in the $Vend::Session->{errors}{mv_credit_card_valid}
variable. This allows automatically displaying errors in red in your form by
way of the [error] tag (see the construct example, you will really NEED to
get ideas from there). After the '$result{MStatus} = "failure"' (near the
end of file), add this line:
$Vend::Session->{errors}{mv_credit_card_valid} = $response_reason_text;
2. Force the transaction type to be a constant value, instead of fetching it
from the mv_payment_mode CGI variable, because someone could save your
checkout page locally, add an <input hidden name=mv_payment_mode
value="CREDIT"> and you will be creditting the customer instead of charging
him!!!. Probably you'll want to invent a new variable in catalog.cfg (say
MV_PAYMENT_TRANSACTION), and set it to "AUTH_CAPTURE". Then in the %query
hash you change the "x_type" value to:
x_type => $::Variable{MV_PAYMENT_TRANSACTION}
3. The cyber_mode and mv_cyber_mode variables are not used, and will not be
used in versions past 4.6.5. Forget all you have read about it.
4. You will also want to test transactions before going live. Add a new
variable (say MV_PAYMENT_TEST), then add code to the authorize globalsub to
check it and add a new pair "x_Test_Request" to the %query hash.
5. I have experienced some problems when querying authorizenet for a
payment. During the time it takes to authorize to charge the credit card,
the whole interchange server gets blocked. This means that no one will
obtain response from the server during this lapse. This problem gets more
serious if for some reason the authorizenet response is delayed due to some
error! In test mode, sometimes my interchange server blocks for 1-2 minutes
waiting for authorize. I'm still trying to work this out. Anyone has
deas? -- Mike?
Javier
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: viernes, 08 de junio de 2001 17:38
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> I finally got it to enter something in the error log:
>
> 131.226.161.178 mKSFVWZR:131.226.161.178 - [08/June/2001:09:27:11 -0500]
> catalog /cgi-bin/catalog/process.html bad custom payment GlobalSub:
> authorizenet
>
> Here is what's in my authorizenet:
>
> GlobalSub <<EOS
> sub authorizenet {
> my ($user, $secret, $amount) = @_;
>
> my (%actual) = Vend::Order::map_actual();
>
> if (! $user ) {
> $user = $::Variable->{MV_PAYMENT_ID} ||
> $::Variable->{CYBER_ID}
> or return undef;
> }
>
> if(! $secret) {
> $secret = $::Variable->{MV_PAYMENT_SECRET} ||
> $::Variable->{CYBER_SECRET}
> or return undef;
> }
>
> my $server = $::Variable->{MV_PAYMENT_SERVER} ||
> $::Variable->{CYBER_SERVER} ||
> 'secure.authorize.net';
>
> my $script = $::Variable->{MV_PAYMENT_SCRIPT} ||
> $::Variable->{CYBER_SCRIPT} ||
> '/gateway/transact.dll';
>
> my $port = $::Variable->{MV_PAYMENT_PORT} ||
> $::Variable->{CYBER_PORT} ||
> 443;
>
> my $precision = $::Variable->{MV_PAYMENT_PRECISION} ||
> $::Variable->{CYBER_PRECISION} ||
> 2;
> my $referer = $::Variable->{MV_PAYMENT_REFERER};
>
> $actual{mv_credit_card_exp_month} =~ s/\D//g;
> $actual{mv_credit_card_exp_month} =~ s/^0+//;
> $actual{mv_credit_card_exp_year} =~ s/\D//g;
> $actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/;
>
> $actual{mv_credit_card_number} =~ s/\D//g;
>
> my $exp = sprintf '%02d%02d',
> $actual{mv_credit_card_exp_month},
> $actual{mv_credit_card_exp_year};
>
> $actual{cyber_mode} = 'AUTH_CAPTURE'
> unless $actual{cyber_mode};
>
> my %type_map = (
> mauth_capture => 'AUTH_CAPTURE',
> mauthonly => 'AUTH_ONLY',
> CAPTURE_ONLY => 'CAPTURE_ONLY',
> CREDIT => 'CREDIT',
> VOID => 'VOID',
> PRIOR_AUTH_CAPTURE =>
> 'PRIOR_AUTH_CAPTURE',
>
> );
>
> if (defined $type_map{$actual{cyber_mode}}) {
> $actual{cyber_mode} = $type_map{$actual{cyber_mode}};
> }
> else {
> $actual{cyber_mode} = 'AUTH_CAPTURE';
> }
>
> if(! $amount) {
> $amount = Vend::Interpolate::total_cost();
> $amount = sprintf("%.${precision}f", $amount);
> }
>
> my($orderID);
> my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
> gmtime(time());
>
> # We'll make an order ID based on date, time, and MiniVend session
>
> # $mon is the month index where Jan=0 and Dec=11, so we use
> # $mon+1 to get the more familiar Jan=1 and Dec=12
> $orderID = sprintf("%02d%02d%02d%02d%02d%05d%s",
> $year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName);
>
> my %query = (
> x_Card_Num =>
> $actual{mv_credit_card_number},
> x_First_Name => $actual{b_fname},
> x_Last_Name => $actual{b_lname},
> x_Address => $actual{b_address1},
> x_City => $actual{b_city},
> x_State => $actual{b_state},
> x_Zip => $actual{b_zip},
> x_Type => $actual{mv_payment_mode},
> x_Amount => $amount,
> x_Exp_Date => $exp,
> x_Method => 'CC',
> x_Invoice_Num => $actual{mv_order_number},
> # x_Company => $actual{company},
> # x_Phone => $actaul{day_phone},
> x_Password => $secret,
> x_Login => $user,
> x_Version => '3.0',
> x_ADC_URL => 'FALSE',
> x_ADC_Delim_Data => 'TRUE',
>
>
> );
>
> my @query;
>
> for (keys %query) {
> my $key = $_;
> my $val = $query{$key};
> $val =~ s/["\$\n\r]//g;
> $val =~ s/\$//g;
> my $len = length($val);
> if($val =~ /[&=]/) {
> $key .= "[$len]";
> }
> push @query, "$key=$val";
> }
> my $string = join '&', @query;
>
> use Net::SSLeay qw(post_https make_form make_headers);
>
> my ($page, $response, %reply_headers)
> = post_https($server, $port, $script,
> make_headers( Referer => $referer),
> make_form(
> %query
> ));
>
> # Minivend names are on the left, Authorize.Net on the right
> my %result_map = ( qw/
> MStatus x_response_code
> pop.status x_response_code
> MErrMsg x_response_reason_text
> pop.error-message x_response_reason_text
> order-id x_trans_id
> pop.order-id x_trans_id
> pop.auth-code x_auth_code
> pop.avs_code x_avs_code
> pop.avs_zip x_zip
> pop.avs_addr x_address
> /
> );
>
>
> #::logError(qq{\nauthorizenet page: $page response: $response\n});
>
> my ($response_code,
> $response_subcode,
> $response_reason_code,
> $response_reason_text,
> $auth_code,
> $avs_code,
> $trans_id) = split (/,/,$page);
>
> #::logError(qq{authorizenet response_reason_text=$response_reason_text
> response_code: $response_code});
>
> my %result;
> if ($response_code == 1) {
> $result{MStatus} = 'success';
> $result{'order-id'} = 1; # ? Why this this set to 1? -mark
> } else {
> $result{MStatus} = 'failure';
>
> # NOTE: A lot more AVS codes could be checked for here.
> if ($avs_code eq 'N') {
> $result{MErrMsg} = "You must enter the correct
> billing address of your
> credit card. The bank returned the following error: " .
> $response_reason_text;
> } else {
> $result{MErrMsg} = "$response_reason_text" ;
> my $msg = errmsg("Authorizenet error: %s.
> Please call in your order or
> try again.",
> $response_reason_text,
> );
> }
> }
>
> return (%result);
>
> }
> EOS
>
> This is located in /usr/lib/interchange/eg/globalsub
>
> I've followed Mike's directions in this file and added the needed lines to
> interchange.cfg and catalog.cfg
>
> Please help ASAP as I am past deadline!
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 10:13 AM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
>
> Did some searching through the list made some changes that Mike
> mentioned in
> a previous post to variables in the authorizenet page on the x_address and
> x_zip lines. But still encountering a problem.
> Please Help!
> Robert
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert
> Trembath
> Sent: Friday, June 08, 2001 8:52 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] How do I get the errors to show on CC processing with
> Authorize.net
>
>
> Good morning everyone,
> A small question, I don't seem to be getting any error messages back from
> authorize.net if a card doen't go through. Any time I try to use a credir
> card I get redirected back to the payment screen and it says my
> errors will
> be in red, although there are no errors in red!
> If I use a different payment type it goes through just fine.
>
> So I need to see what errors are coming back from authorize.net
> or what else
> might be stopping the process.
>
> Thanks,
> Robert
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Garry)
Date: Fri Jun 8 17:08:00 2001
Subject: [ic] Currency Display
This is a multi-part message in MIME format.
------=_NextPart_000_0018_01C0F005.28AAAA70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Does anyone know how to change the default currency symbol from (US) "$" =
to (UK) "=A3"? next to each price field?
Gaz
------=_NextPart_000_0018_01C0F005.28AAAA70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#fff7df>
<DIV><FONT face=3DArial size=3D2>Does anyone know how to change the =
default currency=20
symbol from (US) "$" to (UK) "=A3"? next to each price =
field?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Gaz</FONT></DIV></BODY></HTML>
------=_NextPart_000_0018_01C0F005.28AAAA70--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Joel Stewart)
Date: Fri Jun 8 17:09:21 2001
Subject: [ic] Simple conditional problem
This is a multi-part message in MIME format.
------=_NextPart_000_00FC_01C0F006.B99FC6E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello=20
Can anyone please help me with what is probably a very simple problem. =
I am trying to use a conditional statement to not display the price for =
a gift certificate with in a loop
[if [loop-code] =3D~ /^gift_cert/i]Available in any =
increment[else][loop-price][/else][/if]
Obviously to those in the know, it doesn't work. I've tried it with =
quotes, with nothing, probably 20 different combinations and still no =
joy.
Thanks for whatever help you can provide
Joel Stewart
------=_NextPart_000_00FC_01C0F006.B99FC6E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DFixedsys size=3D2>Hello </FONT></DIV>
<DIV><FONT face=3DFixedsys size=3D2></FONT> </DIV>
<DIV><FONT face=3DFixedsys size=3D2>Can anyone please help me with what =
is probably=20
a very simple problem. I am trying to use a conditional statement =
to not=20
display the price for a gift certificate with in a loop</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DFixedsys size=3D2>[if [loop-code] =3D~ =
/^gift_cert/i]Available in=20
any increment[else][loop-price][/else][/if]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DFixedsys size=3D2>Obviously to those in the know, it =
doesn't=20
work. I've tried it with quotes, with nothing, probably 20 =
different=20
combinations and still no joy.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DFixedsys size=3D2>Thanks for whatever help you can=20
provide</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DFixedsys size=3D2>Joel =
Stewart</FONT></DIV></BODY></HTML>
------=_NextPart_000_00FC_01C0F006.B99FC6E0--
From: interchange-users at lists.akopia.com (rob watson)
Date: Fri Jun 8 17:10:32 2001
Subject: [ic] PGP
--=====================_18606414==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
Update..
actually, PGP dosen't work at all. I get the error "Credit Card Information
(Credit card encryption failed: No such file or directory) "
when I try and submit the order..sorry for the confusion.
Rob
--=====================_18606414==_.ALT
Content-Type: text/html; charset="us-ascii"
<html>
Update..<br><br>
actually, PGP dosen't work at all. I get the error
"<font size=3 color="#FF0000">Credit Card Information <i>(Credit
card encryption failed: No such file or
directory)</i></font><font size=3> "<br>
when I try and submit the order..sorry for the confusion.<br><br>
Rob<br><br>
</font></html>
--=====================_18606414==_.ALT--
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Fri Jun 8 17:16:01 2001
Subject: [ic] HTML mail on the list...
Is the HTML mail-filter switched off on the IC-list?
Just curious...
René
-----------------------
Energizer bunny arrested, charged with battery
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Fri Jun 8 17:29:00 2001
Subject: [ic] interchange html4 validation problems
> In any case, I will bite the bullet and allow for compatibility.
> If CGI.pm is doing it by default, we will have to accept that as more
> and more programs will use it that way. Heaven knows what they will do
> to generate URLs compatible with other programs, but so be it.
<some cutting>
<some more cutting...>
I have to come with one more comment/question when this discussion still is
active.
I wrote about urls that did not work with WML browsers a few months ago
(http://lists.akopia.com/pipermail/interchange-users/2001-April/006621.html),
and I did never solve this problem.
The url that was created had the &-char between the values, and I guess now
that this was the problem for the WAP-browser (WAPforum probably rely on the
HTML specs somehow). I had never time to study the specs (can be found here
http://www1.wapforum.org/tech/terms.asp?doc=SPEC-WML-19990616.pdf), but i will
try to check them out next week...
Well, I have to check this if it will work now with the new IC modifications,
and I'll inform you about this when I'm ready.
Rene
ps. Will it be possible to get a patch (or instructions in how/where to change
this URL-stuff) for MV/IC if the WML-URL-error is solved by this?
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Fri Jun 8 17:33:01 2001
Subject: [ic] HTML mail on the list...
On Sat, 9 Jun 2001, Rene Hertell wrote:
> Is the HTML mail-filter switched off on the IC-list?
No, I let a couple slip through by accident when I was approving/rejecting
some mail. Sorry.
Jon
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Fri Jun 8 17:44:00 2001
Subject: [ic] Currency Display
Hi,
In the documentation on developer.akopia.com it says the following for
the Euro (similar actians are required for the pound):
How do I display Euro pricing?
You can use Interchange's II8N facilty via the Locale directive. In
catalog.cfg:
# to define the euro-Settings (PriceDivide is for converting from DM)
Locale eur_EUR PriceDivide 1.95583
Locale eur_EUR p_cs_precedes 0
# this is great - you can even use HTML-Tags to display an euro-image
Locale eur_EUR currency_symbol "<IMG src="/path/to/image/euro.gif">"
Locale eur_EUR p_sep_by_space 2
Locale eur_EUR mon_decimal_point ,
# and the DM Locale de_DE Locale de_DE p_cs_precedes 0 Locale de_DE
p_sep_by_space 2
Note: Be sure to use the latest exchange rates when you establish your
catalog.
On your pages (this is from a search results page, the [item-.... ...]
notation may be different depending on your context):
[item-price]<br><!-- german is default -->
[setlocale eur_EUR]
[currency convert=1][item-field price][/currency]<br><!-- the euro -->
[setlocale]
Any questions? Read the docs about ``Internationalization.''
Regards
Guy Soudant
PS! You can find this article by searching for Euro (only hit)
-----Original Message-----
From: "Garry" <gazonice@yahoo.com>
To: <Interchange-users@developer.akopia.com>
Date: Fri, 8 Jun 2001 10:24:11 +0100
Subject: [ic] Currency Display
> Does anyone know how to change the default currency symbol from (US)
> "$" to (UK) "Ģ"? next to each price field?
>
> Gaz
>
From: interchange-users at lists.akopia.com (Corey Gilmore)
Date: Fri Jun 8 17:57:01 2001
Subject: [ic] mysql update error
Hi all,
I am having a strange problem with one of my mysql tables. I added a
Conference database to interchange, which is an addition to a normal
product, and contains properties specific to a conference. There is an
interface through the UI, etc. This has worked well, up until around 2
weeks ago. Now, when I go and edit any field for a Conference (that is
associated with a product) my changes are not saved.
The permissions on the physical database tables are correct, as are the
directory permissions. I can update other product attributes, just
nothing with the conference table.
The error message in my error.log is:
[08/June/2001:17:21:59 -0400] pp /cgi-bin/pp/ui.html No key 'sku' found
for function='update' table='conference'
Any ideas?
thanks,
.cfg
Sorry for pastes...
$ head -1 conference.txt
sku type defaultlink header active1 label1 code1 active2
label2 code2 active3 label3 code3 active4 label4 code4 active5
label5 code5 active6 label6 code6 active7 label7 code7 active8
label8 code8 active9 label9 code9 methods
Permissions for products/conference.* are
-rw------- 1 ic ic 1 Jun 8 17:20 conference.sql
-rw-rw---- 1 ic ic 23748 Jun 8 17:19 conference.txt
The table in mysql looks like:
desc conference;
+-------------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+---------------------+------+-----+---------+-------+
| sku | varchar(14) | | PRI | | |
| type | varchar(64) | | | | |
| defaultlink | tinyint(3) unsigned | YES | | 0 | |
| header | text | YES | | NULL | |
| active1 | tinyint(4) | YES | | NULL | |
| label1 | varchar(64) | YES | | NULL | |
| code1 | text | YES | | NULL | |
| active2 | tinyint(4) | YES | | NULL | |
| label2 | varchar(64) | YES | | NULL | |
| code2 | text | YES | | NULL | |
| active3 | tinyint(4) | YES | | NULL | |
| label3 | varchar(64) | YES | | NULL | |
| code3 | text | YES | | NULL | |
| active4 | tinyint(4) | YES | | NULL | |
| label4 | varchar(64) | YES | | NULL | |
| code4 | text | YES | | NULL | |
| active5 | tinyint(4) | YES | | NULL | |
| label5 | varchar(64) | YES | | NULL | |
| code5 | text | YES | | NULL | |
| active6 | tinyint(4) | YES | | NULL | |
| label6 | varchar(64) | YES | | NULL | |
| code6 | text | YES | | NULL | |
| active7 | tinyint(4) | YES | | NULL | |
| label7 | varchar(64) | YES | | NULL | |
| code7 | text | YES | | NULL | |
| active8 | tinyint(4) | YES | | NULL | |
| label8 | varchar(64) | YES | | NULL | |
| code8 | text | YES | | NULL | |
| active9 | tinyint(4) | YES | | NULL | |
| label9 | varchar(64) | YES | | NULL | |
| code9 | text | YES | | NULL | |
| methods | varchar(60) | YES | | NULL | |
+-------------+---------------------+------+-----+---------+-------+
dbconf/mysql/conference.sql looks like
# MiniVend database definition
Database conference conference.txt __SQLDSN__
#ifdef SQLUSER
Database conference USER __SQLUSER__
#endif
#ifdef SQLPASS
Database conference PASS __SQLPASS__
#endif
Database conference KEY sku
Database conference COLUMN_DEF "sku=CHAR(14) NOT NULL PRIMARY KEY"
Database conference COLUMN_DEF "type=CHAR(64) NOT NULL"
Database conference COLUMN_DEF "defaultlink=TINYINT UNSIGNED DEFAULT
'0'"
Database conference COLUMN_DEF "header=TEXT"
Database conference COLUMN_DEF "active1=TINYINT"
Database conference COLUMN_DEF "label1=CHAR(64)"
Database conference COLUMN_DEF "code1=TEXT"
Database conference COLUMN_DEF "active2=TINYINT"
Database conference COLUMN_DEF "label2=CHAR(64)"
Database conference COLUMN_DEF "code2=TEXT"
Database conference COLUMN_DEF "active3=TINYINT"
Database conference COLUMN_DEF "label3=CHAR(64)"
Database conference COLUMN_DEF "code3=TEXT"
Database conference COLUMN_DEF "active4=TINYINT"
Database conference COLUMN_DEF "label4=CHAR(64)"
Database conference COLUMN_DEF "code4=TEXT"
Database conference COLUMN_DEF "active5=TINYINT"
Database conference COLUMN_DEF "label5=CHAR(64)"
Database conference COLUMN_DEF "code5=TEXT"
Database conference COLUMN_DEF "active6=TINYINT"
Database conference COLUMN_DEF "label6=CHAR(64)"
Database conference COLUMN_DEF "code6=TEXT"
Database conference COLUMN_DEF "active7=TINYINT"
Database conference COLUMN_DEF "label7=CHAR(64)"
Database conference COLUMN_DEF "code7=TEXT"
Database conference COLUMN_DEF "active8=TINYINT"
Database conference COLUMN_DEF "label8=CHAR(64)"
Database conference COLUMN_DEF "code8=TEXT"
Database conference COLUMN_DEF "active9=TINYINT"
Database conference COLUMN_DEF "label9=CHAR(64)"
Database conference COLUMN_DEF "code9=TEXT"
Database conference COLUMN_DEF "methods=CHAR(60)"
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Fri Jun 8 18:29:01 2001
Subject: [ic] HTML mail on the list...
> On Sat, 9 Jun 2001, Rene Hertell wrote:
>
> > Is the HTML mail-filter switched off on the IC-list?
>
> No, I let a couple slip through by accident when I was approving/rejecting
> some mail. Sorry.
:)
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Fri Jun 8 18:31:00 2001
Subject: [ic] Need more info on Orders
> This is a great job for item attributes - little bits of extra data that
> you can attach (or not attach) to items in the order, either for
> informational purposes, or to affect pricing, or both.
>
> Unfortunately the current docs on the subject leave much to be desired. I
> suggest you go to ftp.akopia.com and grab the tarball of the last MV4, then
> read up on Pricing:Item Attributes in the docs which are contained in that
> archive.
Also, do not neglect 'perldoc NNNNN' where NNNNN is the name of a perl
or .pm file. Many times these program files contain documentation within
them. Man, the man pages are usefull as well. Go to the 'doc' directory
and type 'nroff -man filename > filename.txt' The filename.txt file will
contain the documentation in human readable format.
The man pages and the perldoc stuff often contains additional
information.
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Fri Jun 8 18:33:00 2001
Subject: [ic] PGP
rob watson wrote:
>
> Update..
>
> actually, PGP dosen't work at all. I get the error "Credit Card
> Information (Credit card encryption failed: No such file or directory)
> "
> when I try and submit the order..sorry for the confusion.
Thats actuallly much easier to fix. The trick is to find what file it is
missing. Go and doube and triple check all of your paths to make sure
they can be found. Also, make sure that you use the full path and not
any of that '~' stuff.
Also, verify that you can use pgp in the way that IC is trying to use
it.
From: interchange-users at lists.akopia.com (Dan B)
Date: Fri Jun 8 18:39:00 2001
Subject: [ic] PGP CC Encryption
At 02:50 PM 6/8/2001 -0300, you wrote:
>Hi All,
>
>This is probably basic beyond belief but I can't seem to get the construct
>demo to send the Credit Card info encrypted.
>
>I'm on a Sun Spar, it processes the order and I get the email but the
>Credit Card number is visible to all. Could someone please detail the
>entries to "catalog.cfg" and whatever other files (receipt ??) that need
>to be added for this to work. I have the paths correct and the keys
>created, etc.
>
>Thank's Very Much,
>
>Rob
Can you not find the documentation on this subject? If you can find it,
then tell us what you have done, and what does work (e.g. from the command
line).
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Samir G. Barak)
Date: Fri Jun 8 19:25:00 2001
Subject: [ic] God ! The cents disappear !
Hi !
I don't get to place prices with cents, for example: 0.15.
The IC modifies that alone, for example, if I place 0.15 it
transforms for 0.00.
Help me please !!!!
Sds,
::: Samir G. Barak :::::::::::::::::::::::::
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 8 19:43:00 2001
Subject: [ic] interchange html4 validation problems
On Fri, 8 Jun 2001, Murray Gibbins wrote:
MG>>You were compliant then why not now? I was talking to Mr.Tweedie in the pub last
MG>>night about this too.
You talked to "Mr Tweedie in the pub"???
Uuummm... What kind of crackpot are you?
MG>>Otherwise people in the UK are going to get into trouble. It is now the law here
MG>>that public sites ( i.e. shopping sites) be accessible to the disabled. This,
MG>>more often than not requires valid html to pass the "bobby" test.
Me thinks that you have been imbibing in too many fish and ales, or is
that chips and darts?
MG>>I would be happy to discuss in private with your team a course of action to make
MG>>interchange compliant.
May I suggest that You get a copy of ShopSIte? That is far more
compliant.
MG>> \__/ Murray Gibbins murray@scotweb.ltd.uk
MG>> / \ Programmer
If that's what you want to believe, then I'm sorry.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 08, 2001 at 19:40 PM:
SPECIMEN: An Italian astronaut.
----------------------------------------------------------------
This Linux System has been up 430 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 8 20:04:00 2001
Subject: [ic] interchange html4 validation problems
On Fri, 8 Jun 2001, Murray Gibbins wrote:
MG>>the rest is just troll bait.
So, you freely admit that you are just here to play games!
MG>> \__/ Murray Gibbins murray@scotweb.ltd.uk
MG>> / \ Programmer
I'm sorry if you really believe that!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 08, 2001 at 20:05 PM:
Oxymoron: Somewhat Incompatible.
----------------------------------------------------------------
This Linux System has been up 430 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 8 20:06:00 2001
Subject: [ic] interchange html4 validation problems
On Fri, 8 Jun 2001, John Beima wrote:
JB>>Yes everyones libraries... Do you not think when we write sites that we generate
JB>>URLS outside of Interchange as well??? What you think is a small task, means
JB>>EVERYONE that uses static HTML pages outside of the Interchange server to
JB>>interact with the Interchange server also has to be re-written...
Chill out, John!
JB>>> the rest is just troll bait.
He's here to play games.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 08, 2001 at 20:05 PM:
Oxymoron: Somewhat Incompatible.
----------------------------------------------------------------
This Linux System has been up 430 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (IC-Admin)
Date: Fri Jun 8 20:10:01 2001
Subject: [ic] HTML mail on the list...
On Fri, 8 Jun 2001, Jon Jensen wrote:
> On Sat, 9 Jun 2001, Rene Hertell wrote:
>
> > Is the HTML mail-filter switched off on the IC-list?
>
> No, I let a couple slip through by accident when I was approving/rejecting
> some mail. Sorry.
>
> Jon
Do you really have to manually approve or reject posts to the list ?
BF
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Fri Jun 8 20:30:01 2001
Subject: [ic] Can't Get MySQL running with IC
I keep getting the following error message when restarting IC:
mydatabasename: error in configuration. Skipping.
I create catalogs fine running the default IC database but cannot seem
to get MySQL going. I seem to be able to create the database fine. It
shows up in MySQL but with no tables created.
Please help. I've completely reinstalled Linux, IC, Bundle::Interchange,
etc... I've also made sure I configured MySQL correctly as I can create,
drop, etc... on new databases I create. I've been messing around with
this for about two weeks and still can't get it to work.
Thanks for any suggestions.
--Ralph
From: interchange-users at lists.akopia.com (Mathieu Lagarde)
Date: Fri Jun 8 20:33:01 2001
Subject: [ic] bilingual
Hi,
Most of our customer have there web site in French. But we have a customer
who want his web site to be bilingual, French and English.
So what is the best way to proceed? Set two Catalogs?
Thanks
Mathieu Lagarde
Next Step Comunications
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Fri Jun 8 21:33:01 2001
Subject: [ic] HTML mail on the list...
On Fri, 8 Jun 2001, IC-Admin wrote:
> Do you really have to manually approve or reject posts to the list ?
Just ones that the listserver flags as potential spam.
Jon
From: interchange-users at lists.akopia.com (Brian Teague)
Date: Fri Jun 8 21:53:01 2001
Subject: [ic] Can't Get MySQL running with IC
Ralph Alberti wrote:
<snip>
I've also made sure I configured MySQL correctly as I can create,
> drop, etc... on new databases I create. I've been messing around with
> this for about two weeks and still can't get it to work.
is the interchange database user configured w/ INDEX capabilities, too?
sounds to me like a database permissions problem. both the
interchange user needs to be set up for that database, and given
privleges on that MySQL server. what do your mysql.db and mysql.user
tables look like?
and does it work using the DBA (eg, root user) username / password? no,
this isn't an acceptable long-term solution, but might at least get you
going.
--
Brian Teague
Baker '04
Rice University
Give up on misery
Turn your back on dissent
Leave their distrust behind
Wash your hands of regret
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Fri Jun 8 22:52:01 2001
Subject: [ic] Can't Get MySQL running with IC
Are you telling me that I need to create an Interchange user in MySQL
for
his to work? Interch?
I have been creating the catalogs as root and root has permissions in
MySQL to create, drop, etc... in MySQL.
I've been using most of the defaults I am presented with during the
makecat scripts.
Thanks for helping me out on this. If I can just get past the DB part,
I think I'll be fine.
--Ralph
Brian Teague wrote:
>
> Ralph Alberti wrote:
> <snip>
>
> I've also made sure I configured MySQL correctly as I can create,
> > drop, etc... on new databases I create. I've been messing around with
> > this for about two weeks and still can't get it to work.
>
> is the interchange database user configured w/ INDEX capabilities, too?
> sounds to me like a database permissions problem. both the
> interchange user needs to be set up for that database, and given
> privleges on that MySQL server. what do your mysql.db and mysql.user
> tables look like?
>
> and does it work using the DBA (eg, root user) username / password? no,
> this isn't an acceptable long-term solution, but might at least get you
> going.
>
> --
> Brian Teague
> Baker '04
> Rice University
>
> Give up on misery
> Turn your back on dissent
> Leave their distrust behind
> Wash your hands of regret
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (kyle at invisio.com)
Date: Sat Jun 9 00:27:00 2001
Subject: [ic] Can't Get MySQL running with IC
Try reviewing:
http://interchange.redhat.com/cgi-bin/ic/dev/icdatabase_18.html
Do your dbconf/files (and/or your definitions in catalog.cfg)
include the correct information and syntax for the tables if
you have modified or added new ones?
(Refer to url above)
Also the relevant lines from your catalog.cfg file would help.
(Similar to):
<SNIP from catalog.cfg>
Variable SQLDSN dbi:mysql:DBNAME:localhost:3333
Variable SQLDB DBNAME
Variable SQLUSER USER
Variable SQLPASS PASSWORD
# Tell the default DBM we are using something else...
Variable SOME_DATABASE 1
# The table defs are in separate files in the dbconf directory,
# the ones kept in DBM are in TABLENAME.dbm files.
#include dbconf/*
</SNIP from catalog.cfg>
Kyle Cook
At 06:55 PM 6/8/01 , you wrote:
>Are you telling me that I need to create an Interchange user in MySQL
>for
>his to work? Interch?
>
>I have been creating the catalogs as root and root has permissions in
>MySQL to create, drop, etc... in MySQL.
>
>I've been using most of the defaults I am presented with during the
>makecat scripts.
>
>Thanks for helping me out on this. If I can just get past the DB part,
>I think I'll be fine.
>
> --Ralph
>
>
>Brian Teague wrote:
>>
>> Ralph Alberti wrote:
>> <snip>
>>
>> I've also made sure I configured MySQL correctly as I can create,
>> > drop, etc... on new databases I create. I've been messing around with
>> > this for about two weeks and still can't get it to work.
>>
>> is the interchange database user configured w/ INDEX capabilities, too?
>> sounds to me like a database permissions problem. both the
>> interchange user needs to be set up for that database, and given
>> privleges on that MySQL server. what do your mysql.db and mysql.user
>> tables look like?
>>
>> and does it work using the DBA (eg, root user) username / password? no,
>> this isn't an acceptable long-term solution, but might at least get you
>> going.
>>
>> --
>> Brian Teague
>> Baker '04
>> Rice University
>>
>> Give up on misery
>> Turn your back on dissent
>> Leave their distrust behind
>> Wash your hands of regret
>>
>> _______________________________________________
>> Interchange-users mailing list
>> Interchange-users@lists.akopia.com
>> http://lists.akopia.com/mailman/listinfo/interchange-users
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Doug Alcorn)
Date: Sat Jun 9 00:55:00 2001
Subject: [ic] Can't Get MySQL running with IC
Ralph Alberti <ralphalberti@att.net> writes:
> Are you telling me that I need to create an Interchange user in
> MySQL for his to work? Interch?
This is a common mis-understanding with new sys admins. The database
has a seperate user authentication mechanism from the operating
system. AFAIK, that's true with every RDBMS.
The way I do it is every catalog has a different database user id (i
use the catalog name). In the variable.txt file you store the user id
and password like this:
SQLPASS passwd Database
SQLUSER userid Database
(note that those are tabs.) You then need to make sure this userid
exists in the database. I typically don't trust makecat to create my
databases for me. As root (or the database admin user) I log into
mysql and do this:
mysql> create database catalogname;
mysql> grant all privileges on catalogname.* to userid@localhost
> identified by 'passwd';
This gives the userid rights to do everything to the catalogname
database, but no other databases. You don't have to restart mysql
after you do this. But you will have to restart IC.
good luck.
--
(__) 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 lists.akopia.com (interchange-users at lists.akopia.com)
Date: Sat Jun 9 01:51:01 2001
Subject: [ic] Accessories not remembered on page update
I'm using the basic accessories tag as follows:
[if-item-field key]
<B>Choose a Key: [item-accessories key]<B>
[/if-item-field]
the list in the key field varies with product but looks similar to this:
,A,B,Bb,C,F,F# (NOTE: blank at beginning is intentional)
the buyer's choice is remembered on the flypage if you return after making
choice, but it is not carried into the cart, or the checkout, even if choice
is resubmitted from cart or checkout. They default back to the blank
selection. The same code is used on all pages.
Would like to display the widget on any page the product description appears
and remember the buyer's last selection regardless of the page from which it
was submitted.
Do the cart and checkout need additional code? Please help, I'm perplexed...
Thanks in advance,
Tim Watts
president
Romans1013.net
Internet Hosting
From: interchange-users at lists.akopia.com (Sergey Sheykin)
Date: Sat Jun 9 04:49:00 2001
Subject: [ic] session expire
Hi,
how can I set up SessionExpire parametr in Interchange 4?
Sergey.
From: interchange-users at lists.akopia.com (Kaare Rasmussen)
Date: Sat Jun 9 07:07:01 2001
Subject: [ic] Loop question
I have a table like this:
code mgroup msort next_line indicator exclude_on
depends_on page form name
super inactive special help_name img_dn img_up
img_sel img_icon url
0001 Top 01 Contact contact
freemoney/customerList Contact View and
manage contact information, customers, addresses
icon_customer.gif
0002 Top 02 Product product
freemoney/articleList Products View and
manage product information
icon_people.gif
0003 Top 03 Sales Order order
freemoney/soList Orders Manage orders,
invoices icon_item.gif
0004 Top 04 General Ledger ledger
freemoney/batchList Ledger Create,
edit journal entries and account information
icon_pages.gif
0005 Top 05 Admin admin freemoney/owner
Admin Maintain system and owner
information icon_design.gif
0010 Admin 01 admin/genconfig
Info
0011 Contact 01
freemoney/customerList Customer
0012 Contact 02
freemoney/nogetandet Noget
I add a line in the catalog.cfg:
Database fmmenu fmmenu.txt gdbm
But this piece of code:
[loop
prefix=sm
search="[scratch fm_menu_sparams]"
safe_data=1
]
Returns no lines.
fm_menu_sparams is
"fi=fmmenu st=text rf=* co=yes tf=msort sf=mgroup se=None op=rm"
What is wrong? Why doesn't it return any lines from the database table?
--
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@webline.dk
From: interchange-users at lists.akopia.com (Admin)
Date: Sat Jun 9 07:49:00 2001
Subject: [ic] Need more info on Orders
Thanks guys! I will start my research.
> This is a great job for item attributes - little bits of extra data that
> you can attach (or not attach) to items in the order, either for
> informational purposes, or to affect pricing, or both.
>
> Unfortunately the current docs on the subject leave much to be desired. I
> suggest you go to ftp.akopia.com and grab the tarball of the last MV4,
then
> read up on Pricing:Item Attributes in the docs which are contained in that
> archive.
Also, do not neglect 'perldoc NNNNN' where NNNNN is the name of a perl
or .pm file. Many times these program files contain documentation within
them. Man, the man pages are usefull as well. Go to the 'doc' directory
and type 'nroff -man filename > filename.txt' The filename.txt file will
contain the documentation in human readable format.
The man pages and the perldoc stuff often contains additional
information.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Steve & Patti Getzinger)
Date: Sat Jun 9 09:02:00 2001
Subject: [ic] Beginner - Don't know where to start
Naturally the docs is the first place to start. Second is just trial and
error. I recommend a second catalog install that you can test/play with
and when you get something right duplicate your efforts on your
production model. Document your moves. Changing colors can be easily
handled with a download and install of a package I did awhile back and a
quick search through the archives should find the url (I do not remember
where I put it). Replacing the stock files with the files in the
downloaded file will give you the ability to alter BG, LINK, ALINK,
VLINK and TEXT colors from the UI with a selection from the list of
colors from Netscape's JavaScript book (large list). When all else fails
remember to save your page after preview and a restart of the
Interchange server never hurts.
Steve
> Garry wrote:
>
> Hi,
>
> I am just a beginner and very new to Interchange.
>
> My Web Hosting Server has version 4.6 pre-installed with the
> "Construct" demo.
>
> All I want to do, is move a few things on the pages, change the colour
> scheme a little, and obviously replace the tools with my own products.
>
> I have looked at the User Interface for hours now, and still havent
> made any headway in changing anything significant.
>
> Does anyone know where I might be able to find any documentation on
> how to customise this thing? - preferably an "Idiots Guide" type of
> thing? or where I might look to find some basic, fundamental answers
> to my simple requirements?
>
> Thanks
>
> Gaz
From: interchange-users at lists.akopia.com (Sergey Sheykin)
Date: Sat Jun 9 09:13:01 2001
Subject: [ic] win1251 characters
Hi,
know anybody, how can I display on a pages
cyrillic-symbols (from Oracle database)?
When I do it just :
[query list="1" query="select cyrillic_title from products where sku =
'[item-code]'"]
[list]
Title:[sql-param cyrillic_title]
[/list]
[/query]
I see :
Title:???????? ???
Sergey.
From: interchange-users at lists.akopia.com (John Foster)
Date: Sat Jun 9 09:29:00 2001
Subject: [ic] .css sheets and IC
Before I spend a lot of time messing with this, can anybody tell me that
this works. I want to use cascading style sheets (.css) files on a site
I am developing. Will IC tags etc work from "within" a style sheet? ANY
advice!!
Thanks.
John
From: interchange-users at lists.akopia.com (Michael Soflin)
Date: Sat Jun 9 10:01:00 2001
Subject: [ic] Tax exempt customers...
I am implementing a site using Akopia 4.6.x. The site will be open to the
general public as well as to my regular net 30 customers. Many of my net30
customers are government and educational and are exempt from paying the
normal Michigan sales tax that the general public has to pay. I've made an
initial look into doing this but nothing jumped out at me. Before I begin
an exhaustive search I was wondering if anyone could put me on the right
path to handling tax exempt customers.
Along these same lines, these customers generally pickup merchandise (no
shipping charges apply). Is there an easy way to define a shipping method
that computes a zero shipping cost?
I'm sure I can dig out the answers but I'm hoping the experience of this
list will get me off on the right foot.
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Sat Jun 9 10:04:00 2001
Subject: [ic] .css sheets and IC
CSS is related to IC the same way HTML is...so yes you can work with CSS
and IC tags.
CSS being parsed on the client side just like HTML and IC tags are parsed
BEFORE sending the
resulting HTML. If the output is correct HTML/CSS syntax then you are set!
Think of HTML/CSS/Javascript/etc as the content of a cake and IC tags as
the tools to make it.
Have fun =)
J.-P.
John Foster
<jfoster@augustmail.com> To: "interchange-users@developer.akopia.com"
Sent by: <interchange-users@developer.akopia.com>
interchange-users-admin@developer. cc:
akopia.com Subject: [ic] .css sheets and IC
06/09/2001 09:31 AM
Please respond to
interchange-users
Before I spend a lot of time messing with this, can anybody tell me that
this works. I want to use cascading style sheets (.css) files on a site
I am developing. Will IC tags etc work from "within" a style sheet? ANY
advice!!
Thanks.
John
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Brian Teague)
Date: Sat Jun 9 11:21:01 2001
Subject: [ic] Can't Get MySQL running with IC
Ralph Alberti wrote:
> Are you telling me that I need to create an Interchange user in MySQL
> for
> his to work? Interch?
well...i guess you *could* do it as root. but i'm not sure, from a
security point of view, i would be incredibly comfortable doing that.
>
> I have been creating the catalogs as root and root has permissions in
> MySQL to create, drop, etc... in MySQL.
here's how i went about it.
firstly, i didn't want the makecat script to create the DB for me. if
you create it yourself, you can make sure the interch user can access it
before you go about actually creating your new catalog.
you can read through a MySQL book or tutorial (there's a pretty good one
on the MySQL website) to tell you how to do these things manually. me,
i'm a wimp, and prefer to let the scripts that come w/ MySQL do it for
me. so, log in as root. run mysql_setpermission, and give it your DBA
password (assuming you set one!!) select #2, give it a database name, a
username (interch) and a password (whatever you want.) when it asks
from what host you wish to connect, you should probably say 'localhost',
though a '%' for any host would be safe. tell it "y", you want to
implement this, then exit the program.
now. before you run 'makecat', make *sure* you can access that database
as that user. run 'mysql -u USERNAME -p' (replacing USERNAME with
whatever user you selected), and give it the password when it asks. if
you *can* connect to the database server, try 'use DBNAME;', where
DBNAME is the name of the database you created. try creating a
temporary table, then dropping it.
if that works, you're good to go. one final thing: in the mysql
client, 'use mysql;' then 'select * from db;' check that, for the user
/ db you just created (probably on the last line) you have 'Y' set for
all the privleges but 'Grant_priv.'
try makecat (make SURE to give it the right user, db, password!) then
restart your interchanger server. you should get a bunch of stuff
scrolling by as it creates the default databases.
if it still doesn't work, reply with the contents of 'use mysql;',
'select * from db;', and 'select * from user;'
>
> I've been using most of the defaults I am presented with during the
> makecat scripts.
>
one more thing. are you using Linux? i coulnd't get 'sockets' to work
for me, i had to use the INET setting. that tricked me up for, oh, 8
hours worth of work. (-;
> Thanks for helping me out on this. If I can just get past the DB part,
> I think I'll be fine.
>
> --Ralph
>
--
Brian Teague
Baker '04
Rice University
Give up on misery
Turn your back on dissent
Leave their distrust behind
Wash your hands of regret
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Sat Jun 9 11:28:00 2001
Subject: [ic] HTML mail on the list...
>> Do you really have to manually approve or reject posts to the list ?
>
>Just ones that the listserver flags as potential spam.
HTML email and the sorts can be filtered with mailman by going to
privacy settings and adding
Content-Type: text/html*
Content-Type: multipart/alternative*
to the "Hold posts with header value matching a specified regexp" area.
works on my lists.
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Sat Jun 9 11:53:01 2001
Subject: [ic] Can't Get MySQL running with IC
Thanks for all the great suggestions. I don't have anything to report
back yet but will do so right after I get back from the dentist (yuck!).
It looks as though I don't have the DB set up properly and that is
why I am running into problems. I will create a new user, create
an Interch user, and give them the appropriate permissions. I did
not create an Interch user in MySQL nor did I give the catalog user
index permission. From what I've read so far, these are probably
the cause of most of my problems.
I installed IC as root from an RPM and have been working from root.
What is the preferred login to use when creating catalogs? Root,
Interch, or a normal user account?
--Ralph
Brian Teague wrote:
>
> Ralph Alberti wrote:
>
> > Are you telling me that I need to create an Interchange user in MySQL
> > for
> > his to work? Interch?
>
> well...i guess you *could* do it as root. but i'm not sure, from a
> security point of view, i would be incredibly comfortable doing that.
>
> >
> > I have been creating the catalogs as root and root has permissions in
> > MySQL to create, drop, etc... in MySQL.
>
> here's how i went about it.
>
> firstly, i didn't want the makecat script to create the DB for me. if
> you create it yourself, you can make sure the interch user can access it
> before you go about actually creating your new catalog.
>
> you can read through a MySQL book or tutorial (there's a pretty good one
> on the MySQL website) to tell you how to do these things manually. me,
> i'm a wimp, and prefer to let the scripts that come w/ MySQL do it for
> me. so, log in as root. run mysql_setpermission, and give it your DBA
> password (assuming you set one!!) select #2, give it a database name, a
> username (interch) and a password (whatever you want.) when it asks
> from what host you wish to connect, you should probably say 'localhost',
> though a '%' for any host would be safe. tell it "y", you want to
> implement this, then exit the program.
>
> now. before you run 'makecat', make *sure* you can access that database
> as that user. run 'mysql -u USERNAME -p' (replacing USERNAME with
> whatever user you selected), and give it the password when it asks. if
> you *can* connect to the database server, try 'use DBNAME;', where
> DBNAME is the name of the database you created. try creating a
> temporary table, then dropping it.
>
> if that works, you're good to go. one final thing: in the mysql
> client, 'use mysql;' then 'select * from db;' check that, for the user
> / db you just created (probably on the last line) you have 'Y' set for
> all the privleges but 'Grant_priv.'
>
> try makecat (make SURE to give it the right user, db, password!) then
> restart your interchanger server. you should get a bunch of stuff
> scrolling by as it creates the default databases.
>
> if it still doesn't work, reply with the contents of 'use mysql;',
> 'select * from db;', and 'select * from user;'
>
> >
> > I've been using most of the defaults I am presented with during the
> > makecat scripts.
> >
>
> one more thing. are you using Linux? i coulnd't get 'sockets' to work
> for me, i had to use the INET setting. that tricked me up for, oh, 8
> hours worth of work. (-;
>
> > Thanks for helping me out on this. If I can just get past the DB part,
> > I think I'll be fine.
> >
> > --Ralph
> >
>
> --
> Brian Teague
> Baker '04
> Rice University
>
> Give up on misery
> Turn your back on dissent
> Leave their distrust behind
> Wash your hands of regret
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Sat Jun 9 13:43:01 2001
Subject: [ic] .css sheets and IC (Also ssi's)
I'm setting up my first store and am also using .css
The following folder contains .ccs's I use throughout the site:
mydomain.com/styles/
I just put this in the headers of all my region templates:
<LINK Href="/styles/site.css" Rel="styleSheet" Type="text/css">
and remove all the other font, color tags, etc. from the page and let the
.ccs do the work.
NOTE the preceeding slash(/) in the Href. This insures that the .css is
always called from the correct folder regardless of where the page
originates.
Works great!
--------------------------------
Also, I use ssi's extensively throughout the site for headers, footers,
navigation, etc. I achieve the same effect in IC by the following:
All ssi's are kept in mydomain.com/ssi/
First I created a symbolic link (named www) at catalogs/cat_name/www. It
points to to my public_html directory.
Then I created variables in IC that looks like this:
HEADER = include www/ssi/header.txt
TOP_NAV = include www/ssi/top_nav.txt
FOOTER = include www/ssi/footer.txt
To include them in an IC page requires only:
[__HEADER__]
[__TOP_NAV__]
[__FOOTER__]
Saves a lot of typing and automatically update IC to match the site any time
changes are made in the ssi files. NOTE: any links in the ssi files need to
use the same syntax as described above (preceeding slash).
i.e. - a link to:
mydomain.com/some/directory/file.html
should look like:
/some/directory/file.html
so it will maintain proper link regardless of where the page originates.
It's still a work in progress but you can take a look at:
http://coast2coastmusic.com/cgi-bin/cart/
Have fun!
on 6/9/01 9:31 AM, John Foster at jfoster@augustmail.com wrote:
> Before I spend a lot of time messing with this, can anybody tell me that
> this works. I want to use cascading style sheets (.css) files on a site
> I am developing. Will IC tags etc work from "within" a style sheet? ANY
> advice!!
> Thanks.
> John
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
Tim Watts
president
Romans1013.net
Internet Hosting
Loaded with features:
FREE shopping cart!
UNLIMITED email!
No Monthly Fees - Just One Low Payment, One Time per Year!
Visit our web site for details:
www.Romans1013.net
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Sat Jun 9 14:21:01 2001
Subject: [ic] Search with form fields help required
Hello everyone,
I've been using the demo search without troubles until now. I recently
added a new field
in the products table that tells me if the product is "inactive" which
happens to be the name
of the field.
Now, when i do a search I need to check for the string but after adding the
inactive field I also
have to check for inactive products.
I use a 2 page model:
Page #1 - Simplified
<form action="[area search]" method="post">
<input type=hidden name=mv_searchtype value="db">
<input type=hidden name=mv_matchlimit value="30">
<input type=hidden name=mv_sort_field value="category_code">
<input type=hidden name=mv_search_field value="description comment title
sku">
<input type=text name=mv_searchspec value="">
</form>
Page #2 - Simplified
[search-region]
[search-list]
...code to display results here...
[/search-list]
[/search-region]
My question (finally) is how can I ALWAYS check for "inactive = N" with
form fields WHILE still
searching for the string specified in the text field? Is it possible?
Thank you very much.
J.-P.
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Sat Jun 9 14:48:01 2001
Subject: [ic] win1251 characters
"Sergey Sheykin" <sheich@mosinfo.ru> writes:
> Hi,
>
> know anybody, how can I display on a pages
> cyrillic-symbols (from Oracle database)?
>
> When I do it just :
>
> [query list="1" query="select cyrillic_title from products where sku =
> '[item-code]'"]
> [list]
> Title:[sql-param cyrillic_title]
> [/list]
> [/query]
>
> I see :
>
> Title:???????? ???
Is your browser configured to display cyrillic symbols ?
I don't think that IC messes up with the characters.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Stefan Hornburg Racke)
Date: Sat Jun 9 15:37:00 2001
Subject: [ic] Search with form fields help required
jean-pierre.parent@bridgepoint-intl.com writes:
> Hello everyone,
>
> I've been using the demo search without troubles until now. I recently
> added a new field
> in the products table that tells me if the product is "inactive" which
> happens to be the name
> of the field.
>
> Now, when i do a search I need to check for the string but after adding the
> inactive field I also
> have to check for inactive products.
>
> I use a 2 page model:
>
> Page #1 - Simplified
>
> <form action="[area search]" method="post">
>
> <input type=hidden name=mv_searchtype value="db">
> <input type=hidden name=mv_matchlimit value="30">
> <input type=hidden name=mv_sort_field value="category_code">
> <input type=hidden name=mv_search_field value="description comment title
> sku">
>
> <input type=text name=mv_searchspec value="">
>
> </form>
>
> Page #2 - Simplified
>
> [search-region]
> [search-list]
> ...code to display results here...
> [/search-list]
> [/search-region]
>
> My question (finally) is how can I ALWAYS check for "inactive = N" with
> form fields WHILE still
> searching for the string specified in the text field? Is it possible?
Yes, at least with Interchange 4.7.x. I use the following (products
should be found only if sell=1):
<form method=post action="[process-search]">
<input type="hidden" name="mv_session_id" value="[data session id]">
<input type="hidden" name="mv_profile" value="basic">
<input type="hidden" name="mv_check" value="fast">
<input type="hidden" name="mv_return_fields" value="idf,partnumber">
<input type="hidden" name="mv_coordinate" value="yes">
<br> <input type="text" name="searchpro" size="11"> <input type="submit" name="mv_doit" value="[L]Go[/L]">
</form>
Now the profiles basic and fast (OrderProfile):
__NAME__ basic
mv_searchtype=sql
mv_search_file=component
mv_coordinate=yes
mv_substring_match=yes
mv_sort_field=partnumber
mv_matchlimit=25
mv_more_alpha=yes
__END__
__NAME__ fast
[perl]
$out = 'mv_search_field=' .
join("\0",'sell','partnumber','description','manufacturer','remarks') . "\n";
$out .= 'mv_searchspec=' . join("\0", 1, (($CGI->{searchpro}) x 4)) . "\n";
$out .= 'mv_search_group=' . join("\0", 0, ((1) x 4)) . "\n";
$out .= 'mv_orsearch=' . join("\0", 0, ((1) x 4)) . "\n";
$out .= 'mv_substring_match=' . join("\0", 0, ((1) x 4)) . "\n";
$out;
[/perl]
__END__
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Jason Jensen)
Date: Sat Jun 9 22:25:01 2001
Subject: [ic] Promotion problem
I am one of those people who not only want a "New Items", and "Specials"
sections, but I also want a "Featured Products" section. I got this mostly
working, I can click on promotion (items menu), and add the item to the
"Featured" promotion, but when I got to setup pages to display the
"Featured" promotion, It only shows me the new Items, and the Specials
section. What needs to be done to add "Featured" to the page editor?
Jason
From: interchange-users at lists.akopia.com (lyndon)
Date: Sun Jun 10 06:09:01 2001
Subject: [ic] Undefined catalog error
Dear All,
Yes, I did get the dreaded "Undefined catalog" error. ... I have read
through the archives and yes a few people have encounted this error and
solved them, with a mysterious permission setting. Just a hint, it would be
useful to all if more info about the permission(s) was given.
Anyway can anyone please help me?
I have successfully installed IC4.6.5.1 on Redhat 6.2 postgresql 6.5 and the
construct store works fine. But I have tried many new catalogues and got the
above error.
I have tried copying the construct cgi script.
I have tried chmod 770 on the test catalogue.
I have restarted IC.
interchange -r returns the following
test1: error in configuration. Skipping.
Thanks in advance.
Lyndon
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sun Jun 10 06:48:01 2001
Subject: [ic] Please Help: Strange problem
Hi,
I am currently testing my Interchange 4.7.2 install, and I seem to run into
a strange problem. When I check the pre-installed orders (those that come
with the demo) in the admin UI, I can see all the data (i.e. all items in
the orders), but when I check my own test orders in both the customer (order
tracking) as well as the admin UI (order viewing), I do not see the items
ordered by the customer (all other info is present, except for shipping
costs, but that is not yet properly set up). IC does not add the orders to
orderline (I have checked this with the MySQL admin client). It seems that
IC does not write the data into the SQL table orderline, but I have no clue
why and what I can do about it. Can someone please help???? I reaaly need
some help to get this up and running! Below you can find some details.
I am running IC 4.7.2 with MySQL on a virtual domain. MySQL works fine, I
can create tables and drop tables in the IC database. IC works fien, no
errors in the error file, except for the error that the IC server is running
in Unix mode, because the INET port was already in use. No other messages
than that.
Another problem is that I cannot send creditcard numbers through e-mail,
even though I changed the mv_credit_card_info check in the etc/report file.
I just get the first 2 numbers and the last four. I just want to get this to
work for testing purposes, but I'm not able to get it to work. Hopefully
someone can help.
Thanx
Guy Soudant
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Sun Jun 10 07:32:01 2001
Subject: [ic] Please Help: Strange problem
"Guy Soudant" <soudant@home.nl> writes:
> Hi,
>
> I am currently testing my Interchange 4.7.2 install, and I seem to run into
> a strange problem. When I check the pre-installed orders (those that come
> with the demo) in the admin UI, I can see all the data (i.e. all items in
> the orders), but when I check my own test orders in both the customer (order
> tracking) as well as the admin UI (order viewing), I do not see the items
> ordered by the customer (all other info is present, except for shipping
> costs, but that is not yet properly set up). IC does not add the orders to
> orderline (I have checked this with the MySQL admin client). It seems that
> IC does not write the data into the SQL table orderline, but I have no clue
> why and what I can do about it. Can someone please help???? I reaaly need
> some help to get this up and running! Below you can find some details.
Look into the catalog error log for failure messages and check the
MySQL logs for inserts into orderline. Check if these inserts
are correct (e.g. by testing them manually with the mysql client).
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Guy Soudant)
Date: Sun Jun 10 08:17:01 2001
Subject: [ic] Please Help: Strange problem
This is the error.log file (table creation has been ommited, since no errors
were logged during this phase:
217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
/cgi-bin/store/process.html Saving userdb in mv_check.
217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
/cgi-bin/store/process.html commit attempted on non-transaction database,
returning success
217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
/cgi-bin/store/process.html commit attempted on non-transaction database,
returning success
217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
/cgi-bin/store/process.html commit attempted on non-transaction database,
returning success
217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
/cgi-bin/store/process.html commit attempted on non-transaction database,
returning success
This is the log file in the LOGS Directory:
#### begin TEST0001 #####
Place table transactions in transaction mode.
Place table orderline in transaction mode.
Place table userdb in transaction mode.
Add main order TEST0001 to transactions: 1
1
#### end TEST0001 #####
Sending email copy of order TEST0001 to soudant@home.nl: 1
The tracking.asc file and the tracking file in the LOGS Directory do not
show any errors at all.
Relevant part of the error.log in Interchange
- - - [10/June/2001:06:20:27 -0400] - - Added/changed catalog store:
>
> Directory: /home/formula/catalogs/store
> Script: /cgi-bin/store
>
- - - [10/June/2001:06:20:27 -0400] - - Config 'store' from running server
(17634)
- - - [10/June/2001:06:20:27 -0400] - - Using MySQL,
DSN=dbi:mysql:formula_f1store...
- - - [10/June/2001:06:20:28 -0400] - - Reconfig of store successful.
- - - [10/June/2001:06:20:28 -0400] - - Config 'store' from running server
(17634)
- - - [10/June/2001:06:20:28 -0400] - - Using MySQL,
DSN=dbi:mysql:formula_f1store...
- - - [10/June/2001:06:20:29 -0400] - - Reconfig of store successful.
- - - [10/June/2001:06:20:39 -0400] - - STOP server (17634) on signal TERM
- - - [10/June/2001:06:20:43 -0400] - - Low traffic settings.
- - - [10/June/2001:06:20:43 -0400] - - ...UI is loaded....
- - - [10/June/2001:06:20:44 -0400] - - Interchange V4.7.2
- - - [10/June/2001:06:20:44 -0400] - - Config 'f1shop' at server startup
- - - [10/June/2001:06:20:44 -0400] - - Config 'store' at server startup
- - - [10/June/2001:06:20:44 -0400] - - START server (21701) (INET and UNIX)
- - - [10/June/2001:06:20:45 -0400] - - Accepting connections from
localhost|127\.0\.0\.1
- - - [10/June/2001:06:20:45 -0400] - - INET mode server failed to start on
port 7786: bind: Address already in use at
/home/formula/interchange/lib/Vend/Server.pm line 1353.
>
- - - [10/June/2001:06:20:45 -0400] - - Continuing in UNIX MODE ONLY
- - - [10/June/2001:06:20:45 -0400] - - START server (21753) (UNIX)
- - - [10/June/2001:06:38:59 -0400] - - Config 'store' from running server
(21753)
- - - [10/June/2001:06:38:59 -0400] - - Using MySQL,
DSN=dbi:mysql:formula_f1store...
- - - [10/June/2001:06:39:00 -0400] - - Reconfig of store successful.
I checked the orderline Table, and nothing was added to the Table after
performing a test order. If, however, I add an item, then the Database is
updated (perhaps this is helpfull)
Hopefully you can help me further
Kind regards
Guy Soudant
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
Hornburg (Racke)
Sent: zondag 10 juni 2001 13:26
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Please Help: Strange problem
"Guy Soudant" <soudant@home.nl> writes:
> Hi,
>
> I am currently testing my Interchange 4.7.2 install, and I seem to run
into
> a strange problem. When I check the pre-installed orders (those that come
> with the demo) in the admin UI, I can see all the data (i.e. all items in
> the orders), but when I check my own test orders in both the customer
(order
> tracking) as well as the admin UI (order viewing), I do not see the items
> ordered by the customer (all other info is present, except for shipping
> costs, but that is not yet properly set up). IC does not add the orders to
> orderline (I have checked this with the MySQL admin client). It seems that
> IC does not write the data into the SQL table orderline, but I have no
clue
> why and what I can do about it. Can someone please help???? I reaaly need
> some help to get this up and running! Below you can find some details.
Look into the catalog error log for failure messages and check the
MySQL logs for inserts into orderline. Check if these inserts
are correct (e.g. by testing them manually with the mysql client).
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Sun Jun 10 08:46:01 2001
Subject: [ic] Please Help: Strange problem
"Guy Soudant" <soudant@home.nl> writes:
> This is the error.log file (table creation has been ommited, since no errors
> were logged during this phase:
>
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html Saving userdb in mv_check.
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html commit attempted on non-transaction database,
> returning success
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html commit attempted on non-transaction database,
> returning success
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html commit attempted on non-transaction database,
> returning success
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html commit attempted on non-transaction database,
> returning success
Seems right.
>
> This is the log file in the LOGS Directory:
>
> #### begin TEST0001 #####
> Place table transactions in transaction mode.
> Place table orderline in transaction mode.
> Place table userdb in transaction mode.
> Add main order TEST0001 to transactions: 1
> 1
> #### end TEST0001 #####
Lines like
Added XXX to orderline: 1
are missing.
It seems that the basket is empty !?
Can you show the entry for TEST0001 in the transactions database ?
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Guy Soudant)
Date: Sun Jun 10 09:13:01 2001
Subject: [ic] Please Help: Strange problem
This comes from the MySQL transaction Table
code store_id order_number session username shipmode nitems subtotal
shipping handling salestax total_cost fname lname company address1 address2
city state zip country phone_day phone_night fax email b_fname b_lname
b_company b_address1 b_address2 b_city b_state b_zip b_country b_phone
order_date order_ymd order_wday payment_method po_number avs order_id
update_date status affiliate campaign parent archived deleted complete
comments
TEST0001 TEST0001 ZejavpCs soudant air_E () 1 19.99 0 0
0 19.99 Guy Soudant Kennedylaan 26 Eijsden LB 6245EM
US 0664092017 0774092017 soudant@home.nl
20010610 06:25:12 20010610 7 Credit Card (visa)
20010610062512 pending 0 0 0
In transactions.txt it says exactly the same.
PS! I noticed that no entries are added to the orderline.txt and
orderline.sql
I forgot a different log file (locale.error file) it includes lot's of
error, but I don't know what they exactly mean. I included the log in this
mail (I deleted all previous comments to make the e-mail less long).
LOCALE.ERROR
Locale en_US <<EOF
{
'CfgMgr.pm:1',
"CfgMgr - bad call combo_select: no name",
'CfgMgr.pm:2',
"CfgMgr - bad call combo_select: name=%s",
'CfgMgr.pm:3',
"CfgMgr: found line '%s'",
'Data.pm:1',
"Bad SQL query selector: '%s' for %s",
'Data.pm:2',
"Could not open shipping file %s: %s",
'Data.pm:3',
"Bad shipping configuration for mode %s, skipping.",
'Data.pm:4',
"Bad shipping file for zone '%s', lookup disabled.",
'Data.pm:5',
"Could not open salestax file %s: %s",
'Data.pm:6',
"Vend::Data export: non-existent database %s",
'Data.pm:7',
"Adding field %s",
'Data.pm:8',
"Deleting %s...",
'Data.pm:9',
"Deleting field %s",
'Interpolate.pm:1',
"Bad data '%s' '%s' '%s'",
'Interpolate.pm:2',
"Safe: %s\n%s\n",
'Interpolate.pm:3',
"Safe: %s\n%s\n",
'Interpolate.pm:4',
"Missing special page: %s",
'Interpolate.pm:5',
"Missing special page: %s",
'Interpolate.pm:6',
"No search page '%s' found!",
'Interpolate.pm:7',
"Missing special page: %s",
'Interpolate.pm:8',
"Missing special page: %s",
'Order.pm:1',
"CyberCash module found (CyberCash 2).",
'Order.pm:2',
"CyberCash module found (CyberCash 3).",
'Order.pm:3',
"Test CyberCash SetServer:\n%s\n",
'Scan.pm:1',
"non-existent database '%s'",
'Scan.pm:2',
"Bad search type %s: %s",
'Scan.pm:3',
"Bad search column '%s'",
'Scan.pm:4',
"Bad search column '%s'",
'Server.pm:1',
"Bad script name '%s' for reconfig.",
'Server.pm:2',
"Reconfig of %s successful, build=%s.",
'Server.pm:3',
"Error reconfiguring catalog %s from running server (%s)\n%s",
'Server.pm:4',
"INET mode error port %s: %s\n\nContinuing in UNIX MODE ONLY\n",
'Server.pm:5',
"INET mode server failed to start on port %s: %s",
'Server.pm:6',
"SERVER TERMINATING",
'Server.pm:7',
"error '%s' from select.",
'Server.pm:8',
"Died in select, retrying: %s",
'Server.pm:9',
"Can't fork: %s",
'Server.pm:10',
"Runtime error: %s",
'Server.pm:11',
"Runtime error: %s",
'Server.pm:12',
"Died in server spawn: %s",
'Server.pm:13',
"Died in housekeeping, retry.",
'Server.pm:14',
"STOP server (%s) on signal TERM",
'Server.pm:15',
"START server (%s) (%s)",
'Session.pm:1',
"Hammered session lock %s left by PID %s",
'UserDB.pm:1',
"Vend::UserDB error: %s\n",
'UserDB.pm:2',
"Vend::UserDB error: %s\n",
'Util.pm:1',
"attempt to set non-existant locale '%s'",
'Util.pm:2',
"attempt to set non-existant currency '%s'",
'Util.pm:3',
"Can't read file '%s' with NoAbsolute set",
'Util.pm:4',
"Can't read file '%s' with NoAbsolute set",
'Table/DBI.pm:1',
"table %s created: %s",
'Table/DBI.pm:2',
"table %s index failed: %s",
'Table/DBI.pm:3',
"set_row %s: field with value '%s' removed from record '%s'",
'Table/Import.pm:1',
"notes_field='%s' delimiter: %s",
'bin/minivend:1',
"Can't check HTML: No global CheckHTML defined. Contact admin.",
'bin/minivend:2',
"Difficulty interacting with browser: %s",
'bin/minivend:3',
"Missing special page: interact",
'bin/minivend:4',
"Page cache failure: %s",
'bin/minivend:5',
"Attempt to order missing product code: %s",
'bin/minivend:6',
"Attempt to order missing product code: %s",
'bin/minivend:7',
"Attempted database operation without table, fields, or key.\n" .
"Table: '%s'\n" .
"Fields:'%s'\n" .
"Key: '%s'\n",
'bin/minivend:8',
"Alias %s used a second time, skipping.\n",
'bin/minivend:9',
"Bad alias %s, skipping.\n",
'bin/minivend:10',
"Attempt to remove non-existant catalog %s.\n",
'bin/minivend:11',
"Can't find catalog '%s'",
'bin/minivend:12',
"Config '%s' %s",
'bin/minivend:13',
"%s config error: %s",
'bin/minivend:14',
"%s config error: %s",
'bin/minivend:15',
"Undefined catalog: %s",
'bin/minivend:16',
"Can't set group to GID %s: %s",
'bin/minivend:17',
"Can't set group to GID %s: %s",
'bin/minivend:18',
"Reconfig '%s' rebuild=%s",
}
EOF
From: interchange-users at lists.akopia.com (Alexandre Daree)
Date: Sun Jun 10 10:10:00 2001
Subject: [ic] Re: Interchange-users digest, Vol 1 #587 - 15 msgs
I need to find a way where I can put a link on the fly page where customers
when they click on it they will be taken to a form where they can send
comments to the seller of that particular product without having to compose
there email address . Any body can help me , I really neeed it to be
automatic and annoumysly.
Thanks
----- Original Message -----
From: <interchange-users-request@developer.akopia.com>
To: <interchange-users@developer.akopia.com>
Sent: Sunday, June 10, 2001 8:15 AM
Subject: Interchange-users digest, Vol 1 #587 - 15 msgs
> Send Interchange-users mailing list submissions to
> interchange-users@lists.akopia.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.akopia.com/mailman/listinfo/interchange-users
> or, via email, send a message with subject or body 'help' to
> interchange-users-request@lists.akopia.com
>
> You can reach the person managing the list at
> interchange-users-admin@lists.akopia.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Interchange-users digest..."
>
>
> Today's Topics:
>
> 1. Re: .css sheets and IC (Also ssi's) (Tim Watts)
> 2. Search with form fields help required
(jean-pierre.parent@bridgepoint-intl.com)
> 3. Re: win1251 characters (Stefan Hornburg Racke
> )
> 4. Re: Search with form fields help required (Stefan Hornburg Racke
> )
> 5. Promotion problem (Jason Jensen)
> 6. Undefined catalog error (lyndon)
> 7. Please Help: Strange problem (Guy Soudant)
> 8. Re: Please Help: Strange problem (Stefan Hornburg Racke
> )
> 9. RE: Please Help: Strange problem (Guy Soudant)
> 10. Re: Please Help: Strange problem (Stefan Hornburg Racke
> )
> 11. RE: Please Help: Strange problem (Guy Soudant)
>
> --__--__--
>
> Message: 1
> Date: Sat, 09 Jun 2001 13:48:49 -0400
> Subject: Re: [ic] .css sheets and IC (Also ssi's)
> From: Tim Watts <tim@Romans1013.net>
> To: <interchange-users@developer.akopia.com>
> Reply-To: interchange-users@lists.akopia.com
>
> I'm setting up my first store and am also using .css
>
> The following folder contains .ccs's I use throughout the site:
>
> mydomain.com/styles/
>
> I just put this in the headers of all my region templates:
>
> <LINK Href="/styles/site.css" Rel="styleSheet" Type="text/css">
>
> and remove all the other font, color tags, etc. from the page and let the
> .ccs do the work.
>
> NOTE the preceeding slash(/) in the Href. This insures that the .css is
> always called from the correct folder regardless of where the page
> originates.
>
> Works great!
>
> --------------------------------
>
> Also, I use ssi's extensively throughout the site for headers, footers,
> navigation, etc. I achieve the same effect in IC by the following:
>
> All ssi's are kept in mydomain.com/ssi/
>
> First I created a symbolic link (named www) at catalogs/cat_name/www. It
> points to to my public_html directory.
> Then I created variables in IC that looks like this:
> HEADER = include www/ssi/header.txt
> TOP_NAV = include www/ssi/top_nav.txt
> FOOTER = include www/ssi/footer.txt
>
> To include them in an IC page requires only:
> [__HEADER__]
> [__TOP_NAV__]
> [__FOOTER__]
>
> Saves a lot of typing and automatically update IC to match the site any
time
> changes are made in the ssi files. NOTE: any links in the ssi files need
to
> use the same syntax as described above (preceeding slash).
> i.e. - a link to:
> mydomain.com/some/directory/file.html
> should look like:
> /some/directory/file.html
> so it will maintain proper link regardless of where the page originates.
>
> It's still a work in progress but you can take a look at:
> http://coast2coastmusic.com/cgi-bin/cart/
>
> Have fun!
>
>
> on 6/9/01 9:31 AM, John Foster at jfoster@augustmail.com wrote:
>
> > Before I spend a lot of time messing with this, can anybody tell me that
> > this works. I want to use cascading style sheets (.css) files on a site
> > I am developing. Will IC tags etc work from "within" a style sheet? ANY
> > advice!!
> > Thanks.
> > John
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> Tim Watts
> president
> Romans1013.net
> Internet Hosting
> Loaded with features:
> FREE shopping cart!
> UNLIMITED email!
> No Monthly Fees - Just One Low Payment, One Time per Year!
> Visit our web site for details:
> www.Romans1013.net
>
>
> --__--__--
>
> Message: 2
> To: interchange-users@developer.akopia.com
> From: jean-pierre.parent@bridgepoint-intl.com
> Date: Sat, 9 Jun 2001 14:23:43 -0400
> Subject: [ic] Search with form fields help required
> Reply-To: interchange-users@lists.akopia.com
>
> Hello everyone,
>
> I've been using the demo search without troubles until now. I recently
> added a new field
> in the products table that tells me if the product is "inactive" which
> happens to be the name
> of the field.
>
> Now, when i do a search I need to check for the string but after adding
the
> inactive field I also
> have to check for inactive products.
>
> I use a 2 page model:
>
> Page #1 - Simplified
>
> <form action="[area search]" method="post">
>
> <input type=hidden name=mv_searchtype value="db">
> <input type=hidden name=mv_matchlimit value="30">
> <input type=hidden name=mv_sort_field value="category_code">
> <input type=hidden name=mv_search_field value="description comment title
> sku">
>
> <input type=text name=mv_searchspec value="">
>
> </form>
>
> Page #2 - Simplified
>
> [search-region]
> [search-list]
> ...code to display results here...
> [/search-list]
> [/search-region]
>
> My question (finally) is how can I ALWAYS check for "inactive = N" with
> form fields WHILE still
> searching for the string specified in the text field? Is it possible?
>
> Thank you very much.
>
> J.-P.
>
>
>
> --__--__--
>
> Message: 3
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] win1251 characters
> From: racke@linuxia.de (Stefan Hornburg (Racke))
> Date: 09 Jun 2001 20:41:16 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> "Sergey Sheykin" <sheich@mosinfo.ru> writes:
>
> > Hi,
> >
> > know anybody, how can I display on a pages
> > cyrillic-symbols (from Oracle database)?
> >
> > When I do it just :
> >
> > [query list="1" query="select cyrillic_title from products where sku =
> > '[item-code]'"]
> > [list]
> > Title:[sql-param cyrillic_title]
> > [/list]
> > [/query]
> >
> > I see :
> >
> > Title:???????? ???
>
> Is your browser configured to display cyrillic symbols ?
> I don't think that IC messes up with the characters.
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
0041-1-3884400)
>
> --__--__--
>
> Message: 4
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Search with form fields help required
> From: racke@linuxia.de (Stefan Hornburg (Racke))
> Date: 09 Jun 2001 21:30:08 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> jean-pierre.parent@bridgepoint-intl.com writes:
>
> > Hello everyone,
> >
> > I've been using the demo search without troubles until now. I recently
> > added a new field
> > in the products table that tells me if the product is "inactive" which
> > happens to be the name
> > of the field.
> >
> > Now, when i do a search I need to check for the string but after adding
the
> > inactive field I also
> > have to check for inactive products.
> >
> > I use a 2 page model:
> >
> > Page #1 - Simplified
> >
> > <form action="[area search]" method="post">
> >
> > <input type=hidden name=mv_searchtype value="db">
> > <input type=hidden name=mv_matchlimit value="30">
> > <input type=hidden name=mv_sort_field value="category_code">
> > <input type=hidden name=mv_search_field value="description comment title
> > sku">
> >
> > <input type=text name=mv_searchspec value="">
> >
> > </form>
> >
> > Page #2 - Simplified
> >
> > [search-region]
> > [search-list]
> > ...code to display results here...
> > [/search-list]
> > [/search-region]
> >
> > My question (finally) is how can I ALWAYS check for "inactive = N" with
> > form fields WHILE still
> > searching for the string specified in the text field? Is it possible?
>
> Yes, at least with Interchange 4.7.x. I use the following (products
> should be found only if sell=1):
>
> <form method=post action="[process-search]">
> <input type="hidden" name="mv_session_id" value="[data session id]">
> <input type="hidden" name="mv_profile" value="basic">
> <input type="hidden" name="mv_check" value="fast">
> <input type="hidden" name="mv_return_fields" value="idf,partnumber">
> <input type="hidden" name="mv_coordinate" value="yes">
> <br> <input type="text" name="searchpro" size="11"> <input
type="submit" name="mv_doit" value="[L]Go[/L]">
> </form>
>
> Now the profiles basic and fast (OrderProfile):
>
> __NAME__ basic
> mv_searchtype=sql
> mv_search_file=component
> mv_coordinate=yes
> mv_substring_match=yes
> mv_sort_field=partnumber
> mv_matchlimit=25
> mv_more_alpha=yes
> __END__
>
> __NAME__ fast
> [perl]
> $out = 'mv_search_field=' .
>
join("\0",'sell','partnumber','description','manufacturer','remarks') .
"\n";
> $out .= 'mv_searchspec=' . join("\0", 1, (($CGI->{searchpro}) x 4)) .
"\n";
> $out .= 'mv_search_group=' . join("\0", 0, ((1) x 4)) . "\n";
> $out .= 'mv_orsearch=' . join("\0", 0, ((1) x 4)) . "\n";
> $out .= 'mv_substring_match=' . join("\0", 0, ((1) x 4)) . "\n";
> $out;
> [/perl]
> __END__
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
0041-1-3884400)
>
> --__--__--
>
> Message: 5
> From: "Jason Jensen" <temperscell@hotmail.com>
> To: <interchange-users@developer.akopia.com>
> Date: Sat, 9 Jun 2001 21:27:36 -0500
> Subject: [ic] Promotion problem
> Reply-To: interchange-users@lists.akopia.com
>
> I am one of those people who not only want a "New Items", and "Specials"
> sections, but I also want a "Featured Products" section. I got this mostly
> working, I can click on promotion (items menu), and add the item to the
> "Featured" promotion, but when I got to setup pages to display the
> "Featured" promotion, It only shows me the new Items, and the Specials
> section. What needs to be done to add "Featured" to the page editor?
>
> Jason
>
>
> --__--__--
>
> Message: 6
> From: "lyndon" <lyndon@loopynet.com>
> To: <interchange-users@developer.akopia.com>
> Date: Sun, 10 Jun 2001 20:10:43 +1000
> Subject: [ic] Undefined catalog error
> Reply-To: interchange-users@lists.akopia.com
>
> Dear All,
>
> Yes, I did get the dreaded "Undefined catalog" error. ... I have read
> through the archives and yes a few people have encounted this error and
> solved them, with a mysterious permission setting. Just a hint, it would
be
> useful to all if more info about the permission(s) was given.
>
> Anyway can anyone please help me?
> I have successfully installed IC4.6.5.1 on Redhat 6.2 postgresql 6.5 and
the
> construct store works fine. But I have tried many new catalogues and got
the
> above error.
> I have tried copying the construct cgi script.
> I have tried chmod 770 on the test catalogue.
> I have restarted IC.
> interchange -r returns the following
>
> test1: error in configuration. Skipping.
>
> Thanks in advance.
>
> Lyndon
>
>
>
> --__--__--
>
> Message: 7
> From: "Guy Soudant" <soudant@home.nl>
> To: <interchange-users@developer.akopia.com>
> Date: Sun, 10 Jun 2001 12:52:54 +0200
> Subject: [ic] Please Help: Strange problem
> Reply-To: interchange-users@lists.akopia.com
>
> Hi,
>
> I am currently testing my Interchange 4.7.2 install, and I seem to run
into
> a strange problem. When I check the pre-installed orders (those that come
> with the demo) in the admin UI, I can see all the data (i.e. all items in
> the orders), but when I check my own test orders in both the customer
(order
> tracking) as well as the admin UI (order viewing), I do not see the items
> ordered by the customer (all other info is present, except for shipping
> costs, but that is not yet properly set up). IC does not add the orders to
> orderline (I have checked this with the MySQL admin client). It seems that
> IC does not write the data into the SQL table orderline, but I have no
clue
> why and what I can do about it. Can someone please help???? I reaaly need
> some help to get this up and running! Below you can find some details.
>
> I am running IC 4.7.2 with MySQL on a virtual domain. MySQL works fine, I
> can create tables and drop tables in the IC database. IC works fien, no
> errors in the error file, except for the error that the IC server is
running
> in Unix mode, because the INET port was already in use. No other messages
> than that.
>
> Another problem is that I cannot send creditcard numbers through e-mail,
> even though I changed the mv_credit_card_info check in the etc/report
file.
> I just get the first 2 numbers and the last four. I just want to get this
to
> work for testing purposes, but I'm not able to get it to work. Hopefully
> someone can help.
>
> Thanx
>
> Guy Soudant
>
>
>
> --__--__--
>
> Message: 8
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Please Help: Strange problem
> From: racke@linuxia.de (Stefan Hornburg (Racke))
> Date: 10 Jun 2001 13:25:42 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> "Guy Soudant" <soudant@home.nl> writes:
>
> > Hi,
> >
> > I am currently testing my Interchange 4.7.2 install, and I seem to run
into
> > a strange problem. When I check the pre-installed orders (those that
come
> > with the demo) in the admin UI, I can see all the data (i.e. all items
in
> > the orders), but when I check my own test orders in both the customer
(order
> > tracking) as well as the admin UI (order viewing), I do not see the
items
> > ordered by the customer (all other info is present, except for shipping
> > costs, but that is not yet properly set up). IC does not add the orders
to
> > orderline (I have checked this with the MySQL admin client). It seems
that
> > IC does not write the data into the SQL table orderline, but I have no
clue
> > why and what I can do about it. Can someone please help???? I reaaly
need
> > some help to get this up and running! Below you can find some details.
>
> Look into the catalog error log for failure messages and check the
> MySQL logs for inserts into orderline. Check if these inserts
> are correct (e.g. by testing them manually with the mysql client).
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
0041-1-3884400)
>
> --__--__--
>
> Message: 9
> From: "Guy Soudant" <soudant@home.nl>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] Please Help: Strange problem
> Date: Sun, 10 Jun 2001 14:21:49 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> This is the error.log file (table creation has been ommited, since no
errors
> were logged during this phase:
>
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html Saving userdb in mv_check.
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html commit attempted on non-transaction database,
> returning success
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html commit attempted on non-transaction database,
> returning success
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html commit attempted on non-transaction database,
> returning success
> 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> /cgi-bin/store/process.html commit attempted on non-transaction database,
> returning success
>
> This is the log file in the LOGS Directory:
>
> #### begin TEST0001 #####
> Place table transactions in transaction mode.
> Place table orderline in transaction mode.
> Place table userdb in transaction mode.
> Add main order TEST0001 to transactions: 1
> 1
> #### end TEST0001 #####
>
> Sending email copy of order TEST0001 to soudant@home.nl: 1
>
> The tracking.asc file and the tracking file in the LOGS Directory do not
> show any errors at all.
>
> Relevant part of the error.log in Interchange
>
> - - - [10/June/2001:06:20:27 -0400] - - Added/changed catalog store:
> >
> > Directory: /home/formula/catalogs/store
> > Script: /cgi-bin/store
> >
> - - - [10/June/2001:06:20:27 -0400] - - Config 'store' from running server
> (17634)
> - - - [10/June/2001:06:20:27 -0400] - - Using MySQL,
> DSN=dbi:mysql:formula_f1store...
> - - - [10/June/2001:06:20:28 -0400] - - Reconfig of store successful.
> - - - [10/June/2001:06:20:28 -0400] - - Config 'store' from running server
> (17634)
> - - - [10/June/2001:06:20:28 -0400] - - Using MySQL,
> DSN=dbi:mysql:formula_f1store...
> - - - [10/June/2001:06:20:29 -0400] - - Reconfig of store successful.
> - - - [10/June/2001:06:20:39 -0400] - - STOP server (17634) on signal TERM
> - - - [10/June/2001:06:20:43 -0400] - - Low traffic settings.
> - - - [10/June/2001:06:20:43 -0400] - - ...UI is loaded....
> - - - [10/June/2001:06:20:44 -0400] - - Interchange V4.7.2
> - - - [10/June/2001:06:20:44 -0400] - - Config 'f1shop' at server startup
> - - - [10/June/2001:06:20:44 -0400] - - Config 'store' at server startup
> - - - [10/June/2001:06:20:44 -0400] - - START server (21701) (INET and
UNIX)
> - - - [10/June/2001:06:20:45 -0400] - - Accepting connections from
> localhost|127\.0\.0\.1
> - - - [10/June/2001:06:20:45 -0400] - - INET mode server failed to start
on
> port 7786: bind: Address already in use at
> /home/formula/interchange/lib/Vend/Server.pm line 1353.
> >
> - - - [10/June/2001:06:20:45 -0400] - - Continuing in UNIX MODE ONLY
> - - - [10/June/2001:06:20:45 -0400] - - START server (21753) (UNIX)
> - - - [10/June/2001:06:38:59 -0400] - - Config 'store' from running server
> (21753)
> - - - [10/June/2001:06:38:59 -0400] - - Using MySQL,
> DSN=dbi:mysql:formula_f1store...
> - - - [10/June/2001:06:39:00 -0400] - - Reconfig of store successful.
>
> I checked the orderline Table, and nothing was added to the Table after
> performing a test order. If, however, I add an item, then the Database is
> updated (perhaps this is helpfull)
>
> Hopefully you can help me further
>
> Kind regards
>
> Guy Soudant
>
>
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
> Hornburg (Racke)
> Sent: zondag 10 juni 2001 13:26
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Please Help: Strange problem
>
>
> "Guy Soudant" <soudant@home.nl> writes:
>
> > Hi,
> >
> > I am currently testing my Interchange 4.7.2 install, and I seem to run
> into
> > a strange problem. When I check the pre-installed orders (those that
come
> > with the demo) in the admin UI, I can see all the data (i.e. all items
in
> > the orders), but when I check my own test orders in both the customer
> (order
> > tracking) as well as the admin UI (order viewing), I do not see the
items
> > ordered by the customer (all other info is present, except for shipping
> > costs, but that is not yet properly set up). IC does not add the orders
to
> > orderline (I have checked this with the MySQL admin client). It seems
that
> > IC does not write the data into the SQL table orderline, but I have no
> clue
> > why and what I can do about it. Can someone please help???? I reaaly
need
> > some help to get this up and running! Below you can find some details.
>
> Look into the catalog error log for failure messages and check the
> MySQL logs for inserts into orderline. Check if these inserts
> are correct (e.g. by testing them manually with the mysql client).
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>
> --__--__--
>
> Message: 10
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Please Help: Strange problem
> From: racke@linuxia.de (Stefan Hornburg (Racke))
> Date: 10 Jun 2001 14:39:56 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> "Guy Soudant" <soudant@home.nl> writes:
>
> > This is the error.log file (table creation has been ommited, since no
errors
> > were logged during this phase:
> >
> > 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> > /cgi-bin/store/process.html Saving userdb in mv_check.
> > 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> > /cgi-bin/store/process.html commit attempted on non-transaction
database,
> > returning success
> > 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> > /cgi-bin/store/process.html commit attempted on non-transaction
database,
> > returning success
> > 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> > /cgi-bin/store/process.html commit attempted on non-transaction
database,
> > returning success
> > 217.120.4.44 ZejavpCs:217.120.4.44 - [10/June/2001:06:25:12 -0400] store
> > /cgi-bin/store/process.html commit attempted on non-transaction
database,
> > returning success
>
> Seems right.
>
> >
> > This is the log file in the LOGS Directory:
> >
> > #### begin TEST0001 #####
> > Place table transactions in transaction mode.
> > Place table orderline in transaction mode.
> > Place table userdb in transaction mode.
> > Add main order TEST0001 to transactions: 1
> > 1
> > #### end TEST0001 #####
>
> Lines like
> Added XXX to orderline: 1
> are missing.
>
> It seems that the basket is empty !?
>
> Can you show the entry for TEST0001 in the transactions database ?
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
0041-1-3884400)
>
> --__--__--
>
> Message: 11
> From: "Guy Soudant" <soudant@home.nl>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] Please Help: Strange problem
> Date: Sun, 10 Jun 2001 15:16:35 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> This comes from the MySQL transaction Table
>
> code store_id order_number session username shipmode nitems subtotal
> shipping handling salestax total_cost fname lname company address1
address2
> city state zip country phone_day phone_night fax email b_fname b_lname
> b_company b_address1 b_address2 b_city b_state b_zip b_country b_phone
> order_date order_ymd order_wday payment_method po_number avs order_id
> update_date status affiliate campaign parent archived deleted complete
> comments
> TEST0001 TEST0001 ZejavpCs soudant air_E () 1 19.99 0 0
> 0 19.99 Guy Soudant Kennedylaan 26 Eijsden LB 6245EM
> US 0664092017 0774092017 soudant@home.nl
> 20010610 06:25:12 20010610 7 Credit Card (visa)
> 20010610062512 pending 0 0 0
>
> In transactions.txt it says exactly the same.
>
> PS! I noticed that no entries are added to the orderline.txt and
> orderline.sql
>
> I forgot a different log file (locale.error file) it includes lot's of
> error, but I don't know what they exactly mean. I included the log in this
> mail (I deleted all previous comments to make the e-mail less long).
>
> LOCALE.ERROR
>
> Locale en_US <<EOF
> {
> 'CfgMgr.pm:1',
> "CfgMgr - bad call combo_select: no name",
>
> 'CfgMgr.pm:2',
> "CfgMgr - bad call combo_select: name=%s",
>
> 'CfgMgr.pm:3',
> "CfgMgr: found line '%s'",
>
> 'Data.pm:1',
> "Bad SQL query selector: '%s' for %s",
>
> 'Data.pm:2',
> "Could not open shipping file %s: %s",
>
> 'Data.pm:3',
> "Bad shipping configuration for mode %s, skipping.",
>
> 'Data.pm:4',
> "Bad shipping file for zone '%s', lookup disabled.",
>
> 'Data.pm:5',
> "Could not open salestax file %s: %s",
>
> 'Data.pm:6',
> "Vend::Data export: non-existent database %s",
>
> 'Data.pm:7',
> "Adding field %s",
>
> 'Data.pm:8',
> "Deleting %s...",
>
> 'Data.pm:9',
> "Deleting field %s",
>
> 'Interpolate.pm:1',
> "Bad data '%s' '%s' '%s'",
>
> 'Interpolate.pm:2',
> "Safe: %s\n%s\n",
>
> 'Interpolate.pm:3',
> "Safe: %s\n%s\n",
>
> 'Interpolate.pm:4',
> "Missing special page: %s",
>
> 'Interpolate.pm:5',
> "Missing special page: %s",
>
> 'Interpolate.pm:6',
> "No search page '%s' found!",
>
> 'Interpolate.pm:7',
> "Missing special page: %s",
>
> 'Interpolate.pm:8',
> "Missing special page: %s",
>
> 'Order.pm:1',
> "CyberCash module found (CyberCash 2).",
>
> 'Order.pm:2',
> "CyberCash module found (CyberCash 3).",
>
> 'Order.pm:3',
> "Test CyberCash SetServer:\n%s\n",
>
> 'Scan.pm:1',
> "non-existent database '%s'",
>
> 'Scan.pm:2',
> "Bad search type %s: %s",
>
> 'Scan.pm:3',
> "Bad search column '%s'",
>
> 'Scan.pm:4',
> "Bad search column '%s'",
>
> 'Server.pm:1',
> "Bad script name '%s' for reconfig.",
>
> 'Server.pm:2',
> "Reconfig of %s successful, build=%s.",
>
> 'Server.pm:3',
> "Error reconfiguring catalog %s from running server (%s)\n%s",
>
> 'Server.pm:4',
> "INET mode error port %s: %s\n\nContinuing in UNIX MODE ONLY\n",
>
> 'Server.pm:5',
> "INET mode server failed to start on port %s: %s",
>
> 'Server.pm:6',
> "SERVER TERMINATING",
>
> 'Server.pm:7',
> "error '%s' from select.",
>
> 'Server.pm:8',
> "Died in select, retrying: %s",
>
> 'Server.pm:9',
> "Can't fork: %s",
>
> 'Server.pm:10',
> "Runtime error: %s",
>
> 'Server.pm:11',
> "Runtime error: %s",
>
> 'Server.pm:12',
> "Died in server spawn: %s",
>
> 'Server.pm:13',
> "Died in housekeeping, retry.",
>
> 'Server.pm:14',
> "STOP server (%s) on signal TERM",
>
> 'Server.pm:15',
> "START server (%s) (%s)",
>
> 'Session.pm:1',
> "Hammered session lock %s left by PID %s",
>
> 'UserDB.pm:1',
> "Vend::UserDB error: %s\n",
>
> 'UserDB.pm:2',
> "Vend::UserDB error: %s\n",
>
> 'Util.pm:1',
> "attempt to set non-existant locale '%s'",
>
> 'Util.pm:2',
> "attempt to set non-existant currency '%s'",
>
> 'Util.pm:3',
> "Can't read file '%s' with NoAbsolute set",
>
> 'Util.pm:4',
> "Can't read file '%s' with NoAbsolute set",
>
> 'Table/DBI.pm:1',
> "table %s created: %s",
>
> 'Table/DBI.pm:2',
> "table %s index failed: %s",
>
> 'Table/DBI.pm:3',
> "set_row %s: field with value '%s' removed from record '%s'",
>
> 'Table/Import.pm:1',
> "notes_field='%s' delimiter: %s",
>
> 'bin/minivend:1',
> "Can't check HTML: No global CheckHTML defined. Contact admin.",
>
> 'bin/minivend:2',
> "Difficulty interacting with browser: %s",
>
> 'bin/minivend:3',
> "Missing special page: interact",
>
> 'bin/minivend:4',
> "Page cache failure: %s",
>
> 'bin/minivend:5',
> "Attempt to order missing product code: %s",
>
> 'bin/minivend:6',
> "Attempt to order missing product code: %s",
>
> 'bin/minivend:7',
> "Attempted database operation without table, fields, or key.\n" .
> "Table: '%s'\n" .
> "Fields:'%s'\n" .
> "Key: '%s'\n",
>
> 'bin/minivend:8',
> "Alias %s used a second time, skipping.\n",
>
> 'bin/minivend:9',
> "Bad alias %s, skipping.\n",
>
> 'bin/minivend:10',
> "Attempt to remove non-existant catalog %s.\n",
>
> 'bin/minivend:11',
> "Can't find catalog '%s'",
>
> 'bin/minivend:12',
> "Config '%s' %s",
>
> 'bin/minivend:13',
> "%s config error: %s",
>
> 'bin/minivend:14',
> "%s config error: %s",
>
> 'bin/minivend:15',
> "Undefined catalog: %s",
>
> 'bin/minivend:16',
> "Can't set group to GID %s: %s",
>
> 'bin/minivend:17',
> "Can't set group to GID %s: %s",
>
> 'bin/minivend:18',
> "Reconfig '%s' rebuild=%s",
>
>
> }
> EOF
>
>
>
>
> --__--__--
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> End of Interchange-users Digest
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Sun Jun 10 11:06:01 2001
Subject: [ic] Please Help: Strange problem
"Guy Soudant" <soudant@home.nl> writes:
> This comes from the MySQL transaction Table
>
> code store_id order_number session username shipmode nitems subtotal
> shipping handling salestax total_cost fname lname company address1 address2
> city state zip country phone_day phone_night fax email b_fname b_lname
> b_company b_address1 b_address2 b_city b_state b_zip b_country b_phone
> order_date order_ymd order_wday payment_method po_number avs order_id
> update_date status affiliate campaign parent archived deleted complete
> comments
> TEST0001 TEST0001 ZejavpCs soudant air_E () 1 19.99 0 0
> 0 19.99 Guy Soudant Kennedylaan 26 Eijsden LB 6245EM
> US 0664092017 0774092017 soudant@home.nl
> 20010610 06:25:12 20010610 7 Credit Card (visa)
> 20010610062512 pending 0 0 0
>
> In transactions.txt it says exactly the same.
Seems to be fine. I have really no idea why no entry in orderline
is written :-(
>
> PS! I noticed that no entries are added to the orderline.txt and
> orderline.sql
>
> I forgot a different log file (locale.error file) it includes lot's of
> error, but I don't know what they exactly mean. I included the log in this
> mail (I deleted all previous comments to make the e-mail less long).
>
> LOCALE.ERROR
This is not a logfile.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Guy Soudant)
Date: Sun Jun 10 11:47:01 2001
Subject: [ic] Please Help: Strange problem
Ok, thanks for your help anyway. Next question would be, where is the code
which adds a line to orderline. I think this may not be functioning
properly.
Thanks again
Regards
Guy
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
Hornburg (Racke)
Sent: zondag 10 juni 2001 17:00
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Please Help: Strange problem
"Guy Soudant" <soudant@home.nl> writes:
> This comes from the MySQL transaction Table
>
> code store_id order_number session username shipmode nitems subtotal
> shipping handling salestax total_cost fname lname company address1
address2
> city state zip country phone_day phone_night fax email b_fname b_lname
> b_company b_address1 b_address2 b_city b_state b_zip b_country b_phone
> order_date order_ymd order_wday payment_method po_number avs order_id
> update_date status affiliate campaign parent archived deleted complete
> comments
> TEST0001 TEST0001 ZejavpCs soudant air_E () 1 19.99 0 0
> 0 19.99 Guy Soudant Kennedylaan 26 Eijsden LB 6245EM
> US 0664092017 0774092017 soudant@home.nl
> 20010610 06:25:12 20010610 7 Credit Card (visa)
> 20010610062512 pending 0 0 0
>
> In transactions.txt it says exactly the same.
Seems to be fine. I have really no idea why no entry in orderline
is written :-(
>
> PS! I noticed that no entries are added to the orderline.txt and
> orderline.sql
>
> I forgot a different log file (locale.error file) it includes lot's of
> error, but I don't know what they exactly mean. I included the log in this
> mail (I deleted all previous comments to make the e-mail less long).
>
> LOCALE.ERROR
This is not a logfile.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Alexandre Daree)
Date: Sun Jun 10 12:39:00 2001
Subject: [ic] I need help with mail form
Can somebody help me please :-)
I need for my customers to be able contact the sellers right of the fly page
of each product automaticly and annoumesly.
Any body can help me ???
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Sun Jun 10 12:45:01 2001
Subject: [ic] Can't Get MySQL running with IC
> Do your dbconf/files (and/or your definitions in catalog.cfg)
> include the correct information and syntax for the tables if
> you have modified or added new ones?
> (Refer to url above)
I just did a find on my system and the only dbconf I find is for
the construct demo that comes with Interchange. This doesn't
ever get created for the catalogs I make.
/var/lib/interchange/construct/dbconf
/usr/lib/interchange/construct/dbconf
> Also the relevant lines from your catalog.cfg file would help.
> (Similar to):
>
> <SNIP from catalog.cfg>
>
> Variable SQLDSN dbi:mysql:DBNAME:localhost:3333
> Variable SQLDB DBNAME
> Variable SQLUSER USER
> Variable SQLPASS PASSWORD
# Uncomment if needed
#Variable SQLPASS foo
#Variable SQLUSER bar
I don't seem to have the other two lines shown above.
> # Tell the default DBM we are using something else...
> Variable SOME_DATABASE 1
Don't seem to have this either.
>
> # The table defs are in separate files in the dbconf directory,
> # the ones kept in DBM are in TABLENAME.dbm files.
> #include dbconf/*
>
> </SNIP from catalog.cfg>
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Sun Jun 10 12:53:01 2001
Subject: [ic] Can't Get MySQL running with IC
> is the interchange database user configured w/ INDEX capabilities, too?
> sounds to me like a database permissions problem. both the
> interchange user needs to be set up for that database, and given
> privleges on that MySQL server. what do your mysql.db and mysql.user
> tables look like?
I hope you can view these tables alright. I can at 1600 x 1200.
mysql.db
+-----------+---------+------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+
| Host | Db | User | Select_priv | Insert_priv | Update_priv |
Delete_priv | Create_priv | Drop_priv | Grant_priv | References_priv |
Index_priv | Alter_priv |
+-----------+---------+------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+
| % | test | | Y | Y | Y |
Y | Y | Y | N | Y |
Y | Y |
| % | test\_% | | Y | Y | Y |
Y | Y | Y | N | Y |
Y | Y |
| localhost | cigar | bob | Y | Y | Y |
Y | Y | Y | Y | Y |
Y | Y |
| localhost | cigars | bob | Y | Y | Y |
Y | Y | Y | N | Y |
Y | Y |
+-----------+---------+------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+
4 rows in set (0.00 sec)
mysql.user
+-----------+---------+------------------+-------------+-------------+-------------+-------------+-------------+-----------+-------------+---------------+--------------+-----------+------------+-----------------+------------+------------+
| Host | User | Password | Select_priv | Insert_priv |
Update_priv | Delete_priv | Create_priv | Drop_priv | Reload_priv |
Shutdown_priv | Process_priv | File_priv | Grant_priv | References_priv
| Index_priv | Alter_priv |
+-----------+---------+------------------+-------------+-------------+-------------+-------------+-------------+-----------+-------------+---------------+--------------+-----------+------------+-----------------+------------+------------+
| localhost | root | | Y | Y |
Y | Y | Y | Y | Y |
Y | Y | Y | Y | Y
| Y | Y |
| elide | root | | Y | Y |
Y | Y | Y | Y | Y |
Y | Y | Y | Y | Y
| Y | Y |
| localhost | | | N | N |
N | N | N | N | N |
N | N | N | N | N
| N | N |
| elide | | | N | N |
N | N | N | N | N |
N | N | N | N | N
| N | N |
| elide | zbert | 71de86b43b49a854 | Y | Y |
Y | Y | Y | Y | N |
N | N | N | N | N
| N | Y |
| localhost | zbert | 71de86b43b49a854 | Y | Y |
Y | Y | Y | Y | N |
N | N | N | N | N
| N | Y |
| localhost | bob | 1608e1316eb485af | Y | Y |
Y | Y | Y | Y | Y |
Y | Y | Y | Y | Y
| Y | Y |
| localhost | interch | 29bad1457ee5e49e | Y | Y |
Y | Y | Y | Y | Y |
Y | Y | Y | Y | Y
| Y | Y |
| % | interch | 29bad1457ee5e49e | Y | Y |
Y | Y | Y | Y | Y |
Y | Y | Y | Y | Y
| Y | Y |
| localhost | matthew | 33bbae35660053bb | Y | Y |
Y | Y | Y | Y | Y |
Y | Y | Y | Y | Y
| Y | Y |
| % | matthew | 33bbae35660053bb | Y | Y |
Y | Y | Y | Y | Y |
Y | Y | Y | Y | Y
| Y | Y |
+-----------+---------+------------------+-------------+-------------+-------------+-------------+-------------+-----------+-------------+---------------+--------------+-----------+------------+-----------------+------------+------------+
11 rows in set (0.00 sec)
> and does it work using the DBA (eg, root user) username / password? no,
> this isn't an acceptable long-term solution, but might at least get you
> going.
I am able to perform just about anything I've thrown at MySQL while in
MySQL And when I run through makecat, the script appears to create the
db just fine. However, I end up with an empty database. No tables,
etc...
--Ralph
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Sun Jun 10 13:04:01 2001
Subject: [ic] Can't Get MySQL running with IC
> firstly, i didn't want the makecat script to create the DB for me. if
> you create it yourself, you can make sure the interch user can access it
> before you go about actually creating your new catalog.
I created the db manually and answered no to letting mysqladmin create
the db for me when running the script.
> you can read through a MySQL book or tutorial (there's a pretty good one
> on the MySQL website) to tell you how to do these things manually. me,
> i'm a wimp, and prefer to let the scripts that come w/ MySQL do it for
> me. so, log in as root. run mysql_setpermission, and give it your DBA
> password (assuming you set one!!) select #2, give it a database name, a
> username (interch) and a password (whatever you want.) when it asks
> from what host you wish to connect, you should probably say 'localhost',
> though a '%' for any host would be safe. tell it "y", you want to
> implement this, then exit the program.
I didn't try this yet. Because I did it manually.
> now. before you run 'makecat', make *sure* you can access that database
> as that user. run 'mysql -u USERNAME -p' (replacing USERNAME with
> whatever user you selected), and give it the password when it asks. if
> you *can* connect to the database server, try 'use DBNAME;', where
> DBNAME is the name of the database you created. try creating a
> temporary table, then dropping it.
>
> if that works, you're good to go. one final thing: in the mysql
> client, 'use mysql;' then 'select * from db;' check that, for the user
> / db you just created (probably on the last line) you have 'Y' set for
> all the privleges but 'Grant_priv.'
I did all of this.
> try makecat (make SURE to give it the right user, db, password!) then
> restart your interchanger server. you should get a bunch of stuff
> scrolling by as it creates the default databases.
I think this is where I am having major problems. I am not sure what the
correct answers to the makecat script should be. I've tried all
different variations. I've created an interch user in MySQL. I've
created other users in MySQL. And I've tried creating the DB in
MySQL manually.
I've followed the tutorials except that they don't get into using
MySQL. And I've created catalogs using the default database for IC.
I wish there was a step by step tutorial for creating catalogs
using MySQL. If I ever get this down, I will create one and post
it on a web site.
> one more thing. are you using Linux? i coulnd't get 'sockets' to work
> for me, i had to use the INET setting. that tricked me up for, oh, 8
> hours worth of work. (-;
Yes. I am using RedHat 7.0 and MySQL 3.23.22
--Ralph
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Sun Jun 10 13:09:01 2001
Subject: [ic] Can't Get MySQL running with IC
> This is a common mis-understanding with new sys admins. The database
> has a seperate user authentication mechanism from the operating
> system. AFAIK, that's true with every RDBMS.
Yes, I realize this.
> The way I do it is every catalog has a different database user id (i
> use the catalog name). In the variable.txt file you store the user id
> and password like this:
>
> SQLPASS passwd Database
> SQLUSER userid Database
>
> (note that those are tabs.) You then need to make sure this userid
> exists in the database. I typically don't trust makecat to create my
> databases for me. As root (or the database admin user) I log into
> mysql and do this:
I wouldn't think you would have to manually edit the variable.txt
file if everything worked properly when running the script.
Can you tell me something...If the script runns properly, do you have
to manually edit any config files to get a DB up and running with IC?
> mysql> create database catalogname;
> mysql> grant all privileges on catalogname.* to userid@localhost
> > identified by 'passwd';
>
> This gives the userid rights to do everything to the catalogname
> database, but no other databases. You don't have to restart mysql
> after you do this. But you will have to restart IC.
I did all of this. Do you skip the create database part of the script
because you create it manually?
--Ralph
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Sun Jun 10 13:12:01 2001
Subject: [ic] Please Help: Strange problem
"Guy Soudant" <soudant@home.nl> writes:
> Ok, thanks for your help anyway. Next question would be, where is the code
> which adds a line to orderline. I think this may not be functioning
> properly.
In the standard setup look into etc/log_transaction.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (interchange-users at lists.akopia.com)
Date: Sun Jun 10 14:53:01 2001
Subject: [ic] &final=yes question
Hello,
First I'd like to thank everyone that helped me so far.
Now here's a good one:
Would it be possible to make a "&final=yes" without actually using a form?
In other words, is it possible to execute a &final=yes without actually
hitting a submit button or even using a javascript onLoad in the body to
submit the page?
Like if IC is closing the order as it is parsing the page...
I know the web is a stateless environment but is there a way to say: "Hey,
IC! Close the order of this specific XXXXXX session.".
I'm currently using IC 4.6.5...
Thank you
J.-P. aka iZo
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sun Jun 10 14:55:01 2001
Subject: [ic] Please Help: Strange problem
Hi,
It seems that the logic behind the "adding order data to the orderline
table" was not available in the log_transaction file (the code for the
inventory decrementing is not fully there). I have added the code (from
version 4.6.4) to the file and for now it works (although I still need to
fine tune a bit).
The fact that you said that something was not added to the Db gave me the
hint I needed. Thanks
Regards
Guy Soudant
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
Hornburg (Racke)
Sent: zondag 10 juni 2001 19:06
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Please Help: Strange problem
"Guy Soudant" <soudant@home.nl> writes:
> Ok, thanks for your help anyway. Next question would be, where is the code
> which adds a line to orderline. I think this may not be functioning
> properly.
In the standard setup look into etc/log_transaction.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sun Jun 10 15:05:01 2001
Subject: [ic] Can't Get MySQL running with IC
Hi,
I was facing the same problem you are facing (MySQL install of IC). My
solution was to manually create the SQL Db (I am on a virtual host) which I
called something_store. During the makecat run, I entered all the data
needed (username / password, name of Database), and made the makecat app
create the catalog, which of course failed (could not create Db, no such
file, etc. etc. etc.). Strange thing is that the app runs on and creates the
tables in the database I entered during the makecat run (it existed, so why
no!). After makecat has finished all the tables were in the Db, and all data
in the tables.
It works now (after having some other problems, not related to this
problem).
I hope this helps. If not, then please discard.
Regards
Guy Soudant
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Sun Jun 10 15:16:01 2001
Subject: [ic] Can't Get MySQL running with IC
Thanks. Sounds familair except that I never end up with any tables in
the DB.
When you manually created the DB, did you create tables as well? Did you
have to edit catalog.cfg to enable the catalog to use the DB? Also,
after
you created the DB manually and ran the makecat script, did you bypass
the
part of the script that prompts you to have mysqladmin create the DB?
--Ralph
Guy Soudant wrote:
>
> Hi,
>
> I was facing the same problem you are facing (MySQL install of IC). My
> solution was to manually create the SQL Db (I am on a virtual host) which I
> called something_store. During the makecat run, I entered all the data
> needed (username / password, name of Database), and made the makecat app
> create the catalog, which of course failed (could not create Db, no such
> file, etc. etc. etc.). Strange thing is that the app runs on and creates the
> tables in the database I entered during the makecat run (it existed, so why
> no!). After makecat has finished all the tables were in the Db, and all data
> in the tables.
>
> It works now (after having some other problems, not related to this
> problem).
>
> I hope this helps. If not, then please discard.
>
> Regards
>
> Guy Soudant
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sun Jun 10 15:49:00 2001
Subject: [ic] Can't Get MySQL running with IC
See my comments below.
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ralph
Alberti
Sent: zondag 10 juni 2001 17:20
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Can't Get MySQL running with IC
Thanks. Sounds familair except that I never end up with any tables in
the DB.
When you manually created the DB, did you create tables as well?
My Comment: No. I made some test tables to test whether I could properly
connect to the SQL server and edit the Database. That worked fine.
Did you have to edit catalog.cfg to enable the catalog to use the DB?
My Comment: No. I did not have to edit the catalog.cfg I did check
everything in this file, and everything looked OK.
Also, after you created the DB manually and ran the makecat script, did you
bypass
the part of the script that prompts you to have mysqladmin create the DB?
My Comment: Once I created the Database and tested it, I ran "bin/makecat"
from the interchange (default install) folder. When it came to the questions
about the SQL Database I indicated that I wanted to have a SQL Db (twice
pressing 1, I thought). After that you get some questions regarding the
user. I entered the user account under which the IC runs (in my case
formula). I think this is necessary to do, but I'm not completely sure (I
tried other users as well, but they failed, even though they had the proper
access rights). Entering login name and password was done as well, and when
I came to the question if makecat should create the Database, I entered yes.
This fails! But I guess that because the Db already exists, makecat created
the tables. So yes, I told makecat to create the Db, and I did not bypass
that part of the script. But once again, the creation of the Database
failed, but the tables are added (logical since it finds a database with
this name, and mysql can access the Db and create tables in the Db)
--Ralph
If you need any information about my install, then please feel free to
contact me through e-mail (of list (private e-mail address is
soudant@home.nl) is fine, as long as the solution is posted together with
the initail question).
Regards
Guy Soudant
From: interchange-users at lists.akopia.com (root)
Date: Sun Jun 10 22:27:01 2001
Subject: [ic] A problem i have yet to find an answer to?
my error message:
Low traffic settings.
calling UI....
...UI is loaded....
Interchange V4.6.5
Configuring catalog construct...Using MySQL, DSN-dbi:mysql:wullex.
construct config error: connect failed (create) -- unknown error. Driver
'mysql' installed?
construct: error in configuration. skipping.
construct: config error. Skipping
Interchange server started in INET and UNIX mode(s) (process id 12283)
??
please tell me how to fix this..i have no clue...
the only issue is when i installed the interchange bundle for perl i had an MD5
error saying it wasn't installed on my machine.
can someone help me trouble shoot this.
mysql is up and running.
From: interchange-users at lists.akopia.com (Anton van de Plas)
Date: Sun Jun 10 23:36:00 2001
Subject: [ic] Error in shipping notice e-mail
Hi,
When all items are shipped at the same time and the "Ship checked order
lines, send email to customer if appropriate" is used, the customer receives
an e-mail that "now, the order has completed shipped, in stead of your
"order has been shipped"
Any ideas?
Anton van de Plas
avdplas@addaction.com
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Sun Jun 10 23:42:00 2001
Subject: [ic] Member Pricing ANSWERS for newbies
To all who need specifics for member or alternate pricing on the fly:
I've been stuggling with this for several days, but could not find any
complete answers for us non-programmer types. After going through the user
archives, reading the pdf docs, and the Tagref.pm, I finally came up with
what I found to be a VERY simple way to implement this for multiple pricing
dependant upon user variable but using a single database.
If you want a simple way to have your cart use some other field besides
price for calculations, I've finally found it and here it is:
1.) In the catalog.cfg set up something simailar to this:
# Establish the default at startup
PriceField price
Locale club_price PriceField club
NOTE 1: this will use the field 'club' to calculate prices when the locale
within your cart is set to 'club_price' (substitute your values for 'club'
and 'club_price') Make sure this alternate field exists within your products
db and has values. If there is no value in the alternate field for a
particular sku, interchange is smart enough to use the price field for that
item only.
To insure that the file was used I went into admin and hit 'Apply Changes',
then just to be sure I also restarted the interchange server.
2.) I copied the 'cart' file from the
/catalogs/store_name/templates/components directory, making three files:
'cart', 'cart_club', and 'cart_reg'
Then modified the files as follows:
-->> 'cart'
points to other two files based on variables. My variables are either club
membership OR purchase of club membership. This file is always the first
file called when refreshing the cart so if the users variables change the
correct cart is displayed. Below is the entire source code:
<!-- BEGIN COMPONENT cart -->
[if value club_member]
[include file="templates/components/cart_club"]
[else]
[if ordered __CLUB__]
[include file="templates/components/cart_club"]
[else]
[include file="templates/components/cart_reg"]
[/else]
[/if]
[/else]
[/if]
<!-- END COMPONENT cart -->
NOTE 2a: 'club_member' is a field in the userdb that is blank for
non-members, 1 for members
NOTE 2b: '__CLUB__' is a catalog variable defining the sku for the club
membership in the products file. If the sku ever changes, all I need to do
is change this variable in the catalog admin, and not all the pages, etc.
-->> 'cart_club'
is the cart that uses the club prices for calculations. This is done by
placing the following at the beginning of the page: [setlocale club_price]
and this at the end of the page: [setlocale]
NOTE 2c: [setlocale] at end returns to the users default locale
-->> 'cart_reg'
is the cart that uses the regular prices for calculations. Nothing special
here other than it displays the club prices (grayed out) and suggests the
purchase of club membership along with membership savings. I put [setlocale]
at beginning of page just to insure use of regular prices.
3.) any other files that display the users cart, including checkout could be
handled the same way or if you don't need seperate carts simply have the
following tags added prior to any calculations:
[if value club_member]
[setlocale club_price]
[else]
[if ordered __CLUB__]
[setlocale club_price]
[else]
[setlocale]
[/else]
[/if]
[/else]
[/if]
then be sure to insert [setlocale] after any calculations.
This works great for me.
Hope this helps. Please let me know if it does.
Tim Watts
president
Romans1013.net
Internet Hosting
Loaded with features:
Interchange compatable
UNLIMITED email!
No Monthly Fees - Just One Low Payment, One Time per Year!
Visit our web site for details:
www.Romans1013.net
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Mon Jun 11 03:21:01 2001
Subject: [ic] A problem i have yet to find an answer to?
You should install SQL-Statement which is a perl's module.
You can use CPAN but i had problem too because i had errors on a virtual
server.
If you install it all will work
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di root
Inviato: lunedė 11 giugno 2001 4.18
A: Interchange-users@developer.akopia.com
Oggetto: [ic] A problem i have yet to find an answer to?
my error message:
Low traffic settings.
calling UI....
...UI is loaded....
Interchange V4.6.5
Configuring catalog construct...Using MySQL, DSN-dbi:mysql:wullex.
construct config error: connect failed (create) -- unknown error. Driver
'mysql' installed?
construct: error in configuration. skipping.
construct: config error. Skipping
Interchange server started in INET and UNIX mode(s) (process id 12283)
??
please tell me how to fix this..i have no clue...
the only issue is when i installed the interchange bundle for perl i had an
MD5
error saying it wasn't installed on my machine.
can someone help me trouble shoot this.
mysql is up and running.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Mon Jun 11 13:11:01 2001
Subject: [ic] Undefined catalog error
>Dear All,
>
>Yes, I did get the dreaded "Undefined catalog" error. ... I have read
>through the archives and yes a few people have encounted this error and
>solved them, with a mysterious permission setting. Just a hint, it would be
>useful to all if more info about the permission(s) was given.
>
>Anyway can anyone please help me?
>I have successfully installed IC4.6.5.1 on Redhat 6.2 postgresql 6.5 and the
>construct store works fine. But I have tried many new catalogues and got the
>above error.
>I have tried copying the construct cgi script.
>I have tried chmod 770 on the test catalogue.
>I have restarted IC.
>interchange -r returns the following
>
>test1: error in configuration. Skipping.
>
>Thanks in advance.
>
>Lyndon
'Undefined catalog' can be caused by many things. The error simply
means that IC was unable to configure the catalog (read the
catalog.cfg and process all the directives successfully) at startup -
or to find the catalog at all. The best place to start
troubleshooting this is to doublecheck that catalog definition in
interchange.cfg actually points to real files/directories, then
examine the Interchange error.log (not the catalog error.log) for any
messages about what went wrong.
- Ed LaFrance
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Mon Jun 11 13:34:00 2001
Subject: [ic] bilingual
>Hi,
>
>Most of our customer have there web site in French. But we have a
>customer who want his web site to be bilingual, French and English.
>
>So what is the best way to proceed? Set two Catalogs?
You can go pretty far with the locale features of IC - take a look at
the docs on the subject.
- Ed L.
>
>
>
>Thanks
>
>Mathieu Lagarde
>Next Step Comunications
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jason Korkin)
Date: Mon Jun 11 13:40:00 2001
Subject: [ic] Arabic Translators
Quick question...
We have a customer who wants, in addition to the standard locale and
translations to be able to have Arabic to English and vice-versa
tanslations. Has anyone already done Arabic translations, or does
anyone know a translator who could provide these services?
Best,
Jason Korkin
Korksoft LLC
---------------------------------------------------------------
**** Virtual Hosting w/ Interchange, $20/month! ****
---------------------------------------------------------------
KORKSOFT - Software & Internet Solutions
Interchange, E-Commerce, C++/Perl/PHP/ASP
http://www.korksoft.com
http://www.atworkservers.com
Tel: (603) 672-1246 x 201
From: interchange-users at lists.akopia.com (Ryan Hertz)
Date: Mon Jun 11 14:22:00 2001
Subject: [ic] Arabic Translators
I'd make a phone call to the nearest university.
At 10:44 AM 6/11/01 , Jason Korkin wrote:
>Quick question...
>
>We have a customer who wants, in addition to the standard locale and
>translations to be able to have Arabic to English and vice-versa
>tanslations. Has anyone already done Arabic translations, or does
>anyone know a translator who could provide these services?
>
>Best,
>
>Jason Korkin
>Korksoft LLC
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Online Store Manager http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Mon Jun 11 14:25:01 2001
Subject: [ic] bilingual
Speaking of the locale features...
I'm trying to set the normal currency to be a custom symbol for a
promotional site... It needs to be "BB" instead of "$". But changing the
locale, even changing locale.txt and deleting the gdbm file, doesn't work.
Is this symbol held somewhere else?
> -----Original Message-----
>
> You can go pretty far with the locale features of IC - take a look at
> the docs on the subject.
>
> - Ed L.
From: interchange-users at lists.akopia.com (Fadi Chakik)
Date: Mon Jun 11 14:37:27 2001
Subject: [ic] Arabic Translators
Could we help you?
-Fadi Chakik
----- Original Message -----
From: Ryan Hertz <rhertz@baits.com>
To: <interchange-users@developer.akopia.com>
Sent: Monday, June 11, 2001 9:23 PM
Subject: Re: [ic] Arabic Translators
> I'd make a phone call to the nearest university.
>
> At 10:44 AM 6/11/01 , Jason Korkin wrote:
> >Quick question...
> >
> >We have a customer who wants, in addition to the standard locale and
> >translations to be able to have Arabic to English and vice-versa
> >tanslations. Has anyone already done Arabic translations, or does
> >anyone know a translator who could provide these services?
> >
> >Best,
> >
> >Jason Korkin
> >Korksoft LLC
>
>
> Ryan Hertz tel 800-645-BAIT
> Webmaster fax 520-645-2588
> Online Store Manager http://www.baits.com
> Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at lists.akopia.com (Brian Teague)
Date: Mon Jun 11 14:46:01 2001
Subject: [ic] A problem i have yet to find an answer to?
Stefano Nota wrote:
> You should install SQL-Statement which is a perl's module.
> You can use CPAN but i had problem too because i had errors on a virtual
> server.
> If you install it all will work
mmm. not quite, i don't think. yes, you need SQL-statement, but (for me,
at least) that was installed with Bundle::Interchange. looks to me like
the Perl-to-MySQL interface isn't installed. go to
http://search.cpan.org and search for 'mysql'. get and install the
DBD-mysql package. that should do it.
regards
brian
--
Brian Teague
Baker '04
Rice University
Give up on misery
Turn your back on dissent
Leave their distrust behind
Wash your hands of regret
From: interchange-users at lists.akopia.com (Dave Jenkins)
Date: Mon Jun 11 15:37:00 2001
Subject: [ic] Arabic Translators
Ryan Hertz wrote:
> I'd make a phone call to the nearest university.
>
> At 10:44 AM 6/11/01 , Jason Korkin wrote:
> >Quick question...
> >
> >We have a customer who wants, in addition to the standard locale and
> >translations to be able to have Arabic to English and vice-versa
> >tanslations. Has anyone already done Arabic translations, or does
> >anyone know a translator who could provide these services?
> >
> >Best,
> >
> >Jason Korkin
> >Korksoft LLC
>
There is a better answer. There are plenty of Arabic translators available
for online work. I know of several (I'll get their information by
tomorrow). You should expect to pay about $.20/word for their services. But
these translators are 1) very good linguists and 2) competent online
developers and designers.
Keep in touch--
Dave
From: interchange-users at lists.akopia.com (Chris Jesseman)
Date: Mon Jun 11 16:40:01 2001
Subject: [ic] 4.7.3 "DBD::mysql::db rollback failed" error
Hi
I'm trying: &charge=custom myglobalsub in profiles.order and I get this error
message in 4.7.3:
Sorry, there was an error in processing this form action. Please report the
error or try again later. (DBD::mysql::db rollback failed: Rollback ineffective
while AutoCommit is on at /usr/home/gift/interchange/lib/Vend/Table/DBI.pm line
648. )
I'm running mySQL 3.23.37 and AutoCommit is on. I read that rollbacks would be
ignored if not supported (which they are not in mysql), so I'm wondering if sub
rollback { is not complete or expecting a higher level configuration variable?
--
Chris Jesseman
From: interchange-users at lists.akopia.com (Interchange Admin)
Date: Mon Jun 11 16:46:00 2001
Subject: [ic] list stops at number 52...
When I was setting up my store I had a small products table
and everything was OK.
Now I put all the items in there and have a strange problem.
The system will only show the first 52 items in any given
category. I didn't set up any sort of paging (yet!) so I don't
know why it would do this strange thing.
Interchange version: interchange-4.6.5-1.rh6
Perl version:::::::: perl-5.00503-10
Linux version::::::: 2.2.14-5.0
The following is the important part of the page that is not working
correctly:
[loop search="fi=products/sf=category/se=[cgi mv_arg]"]
<tr>
<td><a href="[area [loop-code]]">[loop-code]</a></td>
<td><a href="[area [loop-code]]"><img src="stock/thm_[loop-code].jpg"></a></td>
<td><a href="[area [loop-code]]">[loop-field description]</a></td>
<td align=right>[currency][loop-field price][/currency]</td>
[if type=explicit compare='"[data base=avail column=avail key=[loop-code]]" =~ /yes/ ']
<td>[order [loop-code]]order now[/order]</td>
[else]
<td>[data base=avail column=avail key=[loop-code]]</td>
[/else]
[/if]
<tr>
[/loop]
As I mentioned above, everything works as desired until number 53. No
errors or anything in any log, just doesn't display.
Any tips would be appreciated!
Thanks in advance.
jaime
--
interch | I read recently that human beings use only 15%
@ Jaime Viehweg | of their brains capacity. Makes you wonder
viehweg.net | what they do with the other 75%.
From: interchange-users at lists.akopia.com (Fred Harju)
Date: Mon Jun 11 17:04:01 2001
Subject: [ic] list stops at number 52...
Try adding ml=1000 to your loop. I had this problem earlier, my searches
were only returning 50 entries and the ml tag fixed my problems.
[loop search="fi=products/sf=category/se=[cgi mv_arg]/ml=1000"]
...
[/loop]
Fred.
----- Original Message -----
From: Interchange Admin <interch@viehweg.net>
To: <interchange-users@developer.akopia.com>
Sent: Monday, June 11, 2001 4:48 PM
Subject: [ic] list stops at number 52...
> When I was setting up my store I had a small products table
> and everything was OK.
>
> Now I put all the items in there and have a strange problem.
>
> The system will only show the first 52 items in any given
> category. I didn't set up any sort of paging (yet!) so I don't
> know why it would do this strange thing.
>
> Interchange version: interchange-4.6.5-1.rh6
> Perl version:::::::: perl-5.00503-10
> Linux version::::::: 2.2.14-5.0
>
> The following is the important part of the page that is not working
> correctly:
>
> [loop search="fi=products/sf=category/se=[cgi mv_arg]"]
> <tr>
> <td><a href="[area [loop-code]]">[loop-code]</a></td>
> <td><a href="[area [loop-code]]"><img
src="stock/thm_[loop-code].jpg"></a></td>
> <td><a href="[area [loop-code]]">[loop-field description]</a></td>
> <td align=right>[currency][loop-field price][/currency]</td>
> [if type=explicit compare='"[data base=avail column=avail
key=[loop-code]]" =~ /yes/ ']
> <td>[order [loop-code]]order now[/order]</td>
> [else]
> <td>[data base=avail column=avail key=[loop-code]]</td>
> [/else]
> [/if]
> <tr>
> [/loop]
>
> As I mentioned above, everything works as desired until number 53. No
> errors or anything in any log, just doesn't display.
>
> Any tips would be appreciated!
>
> Thanks in advance.
>
> jaime
> --
> interch | I read recently that human beings use only 15%
> @ Jaime Viehweg | of their brains capacity. Makes you wonder
> viehweg.net | what they do with the other 75%.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Steven Behnke)
Date: Mon Jun 11 17:09:00 2001
Subject: [ic] Entering product categories?
While entering new products into our Interchange store we were putting in
new categories as well. Now when I go to the admin section and try to
change the navigation on the left hand side of the pages I only see the old
list of categories, and none of the new ones are showing up. Is there a
Category editing section or something that I can't find?
Thanks,
Steven
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Mon Jun 11 17:23:00 2001
Subject: [ic] Entering product categories?
Quoting Steven Behnke
>
> While entering new products into our Interchange store we were putting in
> new categories as well. Now when I go to the admin section and try to
> change the navigation on the left hand side of the pages I only
> see the old
> list of categories, and none of the new ones are showing up. Is there a
> Category editing section or something that I can't find?
Check out the note at the bottom of this page:
http://interchange.redhat.com/cgi-bin/ic/dev/icdatabase_6.html
Good luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Mon Jun 11 17:30:01 2001
Subject: [ic] list stops at number 52...
At 03:48 PM 06/11/2001 -0500, you wrote:
>When I was setting up my store I had a small products table
>and everything was OK.
>
>Now I put all the items in there and have a strange problem.
>
>The system will only show the first 52 items in any given
>category. I didn't set up any sort of paging (yet!) so I don't
>know why it would do this strange thing.
>
>Interchange version: interchange-4.6.5-1.rh6
>Perl version:::::::: perl-5.00503-10
>Linux version::::::: 2.2.14-5.0
>
>The following is the important part of the page that is not working
>correctly:
>
>[loop search="fi=products/sf=category/se=[cgi mv_arg]"]
[loop search="fi=products/sf=category/se=[cgi mv_arg]/ml=1000"]
- Ed L.
> <tr>
> <td><a href="[area [loop-code]]">[loop-code]</a></td>
> <td><a href="[area [loop-code]]"><img
> src="stock/thm_[loop-code].jpg"></a></td>
> <td><a href="[area [loop-code]]">[loop-field description]</a></td>
> <td align=right>[currency][loop-field price][/currency]</td>
> [if type=explicit compare='"[data base=avail column=avail
> key=[loop-code]]" =~ /yes/ ']
> <td>[order [loop-code]]order now[/order]</td>
> [else]
> <td>[data base=avail column=avail key=[loop-code]]</td>
> [/else]
> [/if]
> <tr>
>[/loop]
>
>As I mentioned above, everything works as desired until number 53. No
>errors or anything in any log, just doesn't display.
>
>Any tips would be appreciated!
>
>Thanks in advance.
>
>jaime
>--
>interch | I read recently that human beings use only 15%
>@ Jaime Viehweg | of their brains capacity. Makes you wonder
>viehweg.net | what they do with the other 75%.
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Mark Johnson)
Date: Mon Jun 11 18:01:01 2001
Subject: [ic] Database Handle and Global Subs
Global subs are only run through safe when called in a [perl] tag. If
you're running a global sub through a perl tag, you might consider
instead writing a usertag that you don't have to call inside a perl tag.
Other than that, I am unaware of any reasons you might be experiencing
this error.
Sheamus Nulty wrote:
>
> Mark,
>
> Did that and I'm getting the following error
>
> Safe: Can't locate object method "TIEHASH" via package "DBI::st" at
> /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/DBI.pm line 683.
>
> I'm running version 1.13 of DBI.
>
> Read something before about using Safe ::Hole to stop this but I'm not sure
> where I'm suppose to put this command and its exact syntax.
>
> Sheamus
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Mon Jun 11 18:12:00 2001
Subject: [ic] How do I get the errors to show on CC processing with
Your code didn't compile because GlobalSub <<EOS and EOS are nonsense
to Perl.
I compiled your code. Since it is not a syntax error, you are missing
one or more modules, and most likely it is Net::SSLeay.
Get your local perl guy to install that and have him re-attempt to
compile the code. Once it compiles, you'll be set.
Robert Trembath wrote:
>
> Javier,
> I did what you suggested and this is what I got:
>
> [robert@www globalsub]$ perl -c authorizenet
> syntax error at authorizenet line 3, near "EOS
> sub authorizenet "
> Can't use global @_ in "my" at authorizenet line 4, near "= @_"
> BEGIN not safe after errors--compilation aborted at authorizenet line 122.
>
> I don't know perl. I know php,sql,html,asp and a few others. So I'm not
> familar with perl syntax. Any help would be greatly appreciated.
>
> I've been using this without real-time credit authorization and love it, but
> how much of a perfomance hit will this be? I'm running a dell poweredge 1550
> with 866PIII, 1gig of RAM, Raid 5 with PERC3 on RH 7.0. Any idea?
>
> Here's what's in my authorizenet file, it located in
> /usr/lib/interchange/eg/globalsub/:
>
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Gawain Reifsnyder)
Date: Mon Jun 11 18:18:01 2001
Subject: [ic] Interchange Contract work
Hi all,
My company, Round Table Interactive is looking for an experienced
Interchange developer to help us put together a relatively simple
store for a virtual host client of ours on our YellowDog
Linux/Apache/mod_ssl server.
I've set up the demo on another virtual host on the same machine and
basically proved to myself that it will serve the client's needs.
We're looking for somebody to customize it quickly and efficiently
and help us scale the learning curve of administrating Interchange
for this and other future sites. Tasks will include matching the look
and feel of the client's existing site and troubleshooting any
glitches that may arise.
Please reply off list with qualifications and background to Mark
Barnet at: <mailto:mark@guitar.net>
--
Best regards,
Gawain
\\\\ Round Table Interactive, Inc.
//// 615.794.1458
//// http://roundtableinteractive.com
\\\\ rti@guitar.net
Send blank message to <mailto:grpgp@guitar.net> for PGP Public Key
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Mon Jun 11 18:32:01 2001
Subject: [ic] Tax exempt customers...
Michael Soflin wrote:
>
> I am implementing a site using Akopia 4.6.x. The site will be open to the
> general public as well as to my regular net 30 customers. Many of my net30
> customers are government and educational and are exempt from paying the
> normal Michigan sales tax that the general public has to pay. I've made an
> initial look into doing this but nothing jumped out at me. Before I begin
> an exhaustive search I was wondering if anyone could put me on the right
> path to handling tax exempt customers.
>From the docs:
NonTaxableField
The name of the field in the products database that is set (to 1 or yes)
if an item is not to be taxed. Will log an error and tax it anyway if
the field doesn't exist in the database. Blank by default, disabling the
feature.
NonTaxableField wholesale
>
> Along these same lines, these customers generally pickup merchandise (no
> shipping charges apply). Is there an easy way to define a shipping method
> that computes a zero shipping cost?
in shipping.asc:
none Pick-Up 1 0 2 0
Where 'Pick-Up' is the label that is displayed for the shipping field.
Insert whatever text you'd like.
>
> I'm sure I can dig out the answers but I'm hoping the experience of this
> list will get me off on the right foot.
>
Set up an Autoload function that scans for a flag in the user's data to
tell if this person is non-taxable and non-shippable. Then, reset
accordingly:
if ($Scratch->{exempt_cust}) {
$Vend::Cfg->{NonTaxableField} = 'field_in_products_all_set_to_1';
$Values->{mv_shipmode} = 'none';
}
I've given you 90% of the answer. The rest you'll have to dig for
through the archives or the docs.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Interchange Admin)
Date: Mon Jun 11 18:58:01 2001
Subject: [ic] list stops at number 52...
On Mon, Jun 11, 2001 at 02:34:17PM -0700, Ed LaFrance wrote:
>
> [loop search="fi=products/sf=category/se=[cgi mv_arg]/ml=1000"]
>
> - Ed L.
On Mon, Jun 11, 2001 at 05:17:58PM -0400, Fred Harju wrote:
> Try adding ml=1000 to your loop. I had this problem earlier, my searches
> were only returning 50 entries and the ml tag fixed my problems.
>
> [loop search="fi=products/sf=category/se=[cgi mv_arg]/ml=1000"]
> ...
> [/loop]
>
> Fred.
Thanks you both Ed and Fred. That did the trick!
jaime
--
interch | I read recently that human beings use only 15%
@ Jaime Viehweg | of their brains capacity. Makes you wonder
viehweg.net | what they do with the other 75%.
From: interchange-users at lists.akopia.com (Rasta Man)
Date: Mon Jun 11 20:00:01 2001
Subject: [ic] using [accessories ...]
Hello all,
I created a table called attr that looks like:
prodid fieldtype fieldname parms
1001 text Engraving fieldsize=20
1001 radio Size Small, Medium, Large
and I would like to display something similar to the following in the
basket:
SKU Description Qty Price Ext
1001 Engraved ring 1 10.00 10.00
Engraving(up to 20 characters): ______________
Size: _x_ Small ___ Medium ____ Large
Is there any way to do this using [item_accessories] or [accessories] ? I
have been experimenting with [accessories passed=] and I am unable to get it
to accept what I have for parms. Also, I don't see a way to limit fieldsize
(for example, just accept 20 characters for the engraving), or to use the
fieldname as a label in the basket. Any pointers on examples of using
[accessories] or other documentation would be helpful also.
Thanks,
Rasta
From: interchange-users at lists.akopia.com (root)
Date: Mon Jun 11 22:38:01 2001
Subject: [ic] A problem i have yet to find an answer to?
i think my problem might exist in my perl install.
for some reason when i untared and ran the ./configure
for interchange it downed and installed perl 5.6 when i was currently running
5.00503-12
so if i check my rpm's i have version 5.00503-12
and if check perl -v i have 5.6
i also have a mod-perl-1.23.2 running with apache
any help on how i should fix all of this and make sure which install is correct
or if its any problem?
On Tue, 12 Jun 2001, you wrote:
> Stefano Nota wrote:
>
> > You should install SQL-Statement which is a perl's module.
> > You can use CPAN but i had problem too because i had errors on a virtual
> > server.
> > If you install it all will work
>
> mmm. not quite, i don't think. yes, you need SQL-statement, but (for me,
> at least) that was installed with Bundle::Interchange. looks to me like
> the Perl-to-MySQL interface isn't installed. go to
> http://search.cpan.org and search for 'mysql'. get and install the
> DBD-mysql package. that should do it.
>
> regards
> brian
>
>
>
>
> --
> Brian Teague
> Baker '04
> Rice University
>
> Give up on misery
> Turn your back on dissent
> Leave their distrust behind
> Wash your hands of regret
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Mon Jun 11 22:49:00 2001
Subject: [ic] newbie Mysql question
Iam trying to create a new catalog with Mysql backend. After using makecat
everything seems ok, the database is created in Mysql, but there are no
tables in the database. Is this normal? If so, how do I populate the MySQL
database with tables and data?
Thanks.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (root)
Date: Mon Jun 11 23:09:01 2001
Subject: [ic] newbie Mysql question
you have to start the interchange server
when you start it for the frist time it creates the tables etc...
su -c "/thepath/to/interchange/bin/interchange -r" interch
try that and see what happens...
On Thu, 01 Jan 1970, you wrote:
> Iam trying to create a new catalog with Mysql backend. After using makecat
> everything seems ok, the database is created in Mysql, but there are no
> tables in the database. Is this normal? If so, how do I populate the MySQL
> database with tables and data?
>
> Thanks.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (root)
Date: Mon Jun 11 23:15:03 2001
Subject: [ic] Entering product categories?
yeah i had the same problem you have to make sure you click in the
page class box, there should be a word that says all make sure you click in it
then hit 'change area'
its weird ...but thats how it works.
On Tue, 12 Jun 2001, you wrote:
> Quoting Steven Behnke
> >
> > While entering new products into our Interchange store we were putting in
> > new categories as well. Now when I go to the admin section and try to
> > change the navigation on the left hand side of the pages I only
> > see the old
> > list of categories, and none of the new ones are showing up. Is there a
> > Category editing section or something that I can't find?
>
> Check out the note at the bottom of this page:
>
> http://interchange.redhat.com/cgi-bin/ic/dev/icdatabase_6.html
>
> Good luck!
>
> Curt Hauge
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (root)
Date: Mon Jun 11 23:38:00 2001
Subject: [ic] Undefined catalog error
thats not right
post the premissions on your construct file in the cgi-bin
you should make sure the super user bit is set.
On Tue, 12 Jun 2001, you wrote:
> >Dear All,
> >
> >Yes, I did get the dreaded "Undefined catalog" error. ... I have read
> >through the archives and yes a few people have encounted this error and
> >solved them, with a mysterious permission setting. Just a hint, it would be
> >useful to all if more info about the permission(s) was given.
> >
> >Anyway can anyone please help me?
> >I have successfully installed IC4.6.5.1 on Redhat 6.2 postgresql 6.5 and the
> >construct store works fine. But I have tried many new catalogues and got the
> >above error.
> >I have tried copying the construct cgi script.
> >I have tried chmod 770 on the test catalogue.
> >I have restarted IC.
> >interchange -r returns the following
> >
> >test1: error in configuration. Skipping.
> >
> >Thanks in advance.
> >
> >Lyndon
>
> 'Undefined catalog' can be caused by many things. The error simply
> means that IC was unable to configure the catalog (read the
> catalog.cfg and process all the directives successfully) at startup -
> or to find the catalog at all. The best place to start
> troubleshooting this is to doublecheck that catalog definition in
> interchange.cfg actually points to real files/directories, then
> examine the Interchange error.log (not the catalog error.log) for any
> messages about what went wrong.
>
> - Ed LaFrance
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Mon Jun 11 23:52:00 2001
Subject: [ic] newbie Mysql question
I tried that, but it says "error in configuration: skipping".
I didn't get any errors when I used "makecat". Also, I've created a regular
catalog with no SQL backend and it works ok. Is there anywhere where there
are details of this error?
you have to start the interchange server
when you start it for the frist time it creates the tables etc...
su -c "/thepath/to/interchange/bin/interchange -r" interch
try that and see what happens...
On Thu, 01 Jan 1970, you wrote:
> Iam trying to create a new catalog with Mysql backend. After using
makecat
> everything seems ok, the database is created in Mysql, but there are no
> tables in the database. Is this normal? If so, how do I populate the
MySQL
> database with tables and data?
>
> Thanks.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Phil Morden)
Date: Mon Jun 11 23:54:00 2001
Subject: [ic] Undefined catalog error
Iam getting this same error. Iam running Mandrake 7.2 and MySQL. What's the
super user bit?
thats not right
post the premissions on your construct file in the cgi-bin
you should make sure the super user bit is set.
On Tue, 12 Jun 2001, you wrote:
> >Dear All,
> >
> >Yes, I did get the dreaded "Undefined catalog" error. ... I have read
> >through the archives and yes a few people have encounted this error and
> >solved them, with a mysterious permission setting. Just a hint, it
would be
> >useful to all if more info about the permission(s) was given.
> >
> >Anyway can anyone please help me?
> >I have successfully installed IC4.6.5.1 on Redhat 6.2 postgresql 6.5 and
the
> >construct store works fine. But I have tried many new catalogues and got
the
> >above error.
> >I have tried copying the construct cgi script.
> >I have tried chmod 770 on the test catalogue.
> >I have restarted IC.
> >interchange -r returns the following
> >
> >test1: error in configuration. Skipping.
> >
> >Thanks in advance.
> >
> >Lyndon
>
> 'Undefined catalog' can be caused by many things. The error simply
> means that IC was unable to configure the catalog (read the
> catalog.cfg and process all the directives successfully) at startup -
> or to find the catalog at all. The best place to start
> troubleshooting this is to doublecheck that catalog definition in
> interchange.cfg actually points to real files/directories, then
> examine the Interchange error.log (not the catalog error.log) for any
> messages about what went wrong.
>
> - Ed LaFrance
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (PJ Hyett)
Date: Tue Jun 12 01:44:00 2001
Subject: [ic] credit cards!!
Has anyone successfully made the credit card numbers appear on the
confirmation page and the check orders page in the admin screen....they made
this program so damn secure it's missing a basic element! Please help.
Thanks,
PJ
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Tue Jun 12 03:07:01 2001
Subject: R: [ic] A problem i have yet to find an answer to?
As i can say from my experience, i got this error last day too, is to
reintall perl or only its modules using the command perl -MCPAN- -e shell
You should have installed this modules:
Bundle-Interchange
DBI
Digest-MD5
SQL-Statement
Safe-Hole
Storable
URI
libnet
libwww-perl
Since i got a lot of problem, interchange should find if they are installed,
and if it isn't so it try to install them using CPAN.
The version is not a problem i think, if you get errors may be you don't
have right permission
i hope it could be helpful,
bye stefano
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di root
Inviato: martedė 12 giugno 2001 4.31
A: interchange-users@developer.akopia.com
Oggetto: Re: [ic] A problem i have yet to find an answer to?
i think my problem might exist in my perl install.
for some reason when i untared and ran the ./configure
for interchange it downed and installed perl 5.6 when i was currently
running
5.00503-12
so if i check my rpm's i have version 5.00503-12
and if check perl -v i have 5.6
i also have a mod-perl-1.23.2 running with apache
any help on how i should fix all of this and make sure which install is
correct
or if its any problem?
On Tue, 12 Jun 2001, you wrote:
> Stefano Nota wrote:
>
> > You should install SQL-Statement which is a perl's module.
> > You can use CPAN but i had problem too because i had errors on a virtual
> > server.
> > If you install it all will work
>
> mmm. not quite, i don't think. yes, you need SQL-statement, but (for me,
> at least) that was installed with Bundle::Interchange. looks to me like
> the Perl-to-MySQL interface isn't installed. go to
> http://search.cpan.org and search for 'mysql'. get and install the
> DBD-mysql package. that should do it.
>
> regards
> brian
>
>
>
>
> --
> Brian Teague
> Baker '04
> Rice University
>
> Give up on misery
> Turn your back on dissent
> Leave their distrust behind
> Wash your hands of regret
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Walter de Kok)
Date: Tue Jun 12 03:53:00 2001
Subject: [ic] Error in IC 4.7.2
Hi list,
What does this error mean:
[12/June/2001:09:30:49 +0200] supplies /cgi-bin/supplies/ord/basket.html
Runtime error: Can't use string ("3") as a HASH ref while "strict refs" in
use at (eval 95) line 5
T.i.a.
Walter
From: interchange-users at lists.akopia.com (Guido Sohne)
Date: Tue Jun 12 05:58:00 2001
Subject: [ic] past orders for previous customer showing up in new basket
When more than one customer shares a computer such as at an Internet cafe,
the previous orders made by the customer who last shopped at that PC show in
the basket for the customer who shopped after that.
The first customer logged out. I suspect this has something to do with the
session not being killed, since the second shopping expedition was done
shortly after the first.
Any body encountered this before ? I will be searching the mailing list
archives but hey, there's nothing like helpful folks ...
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Tue Jun 12 08:55:00 2001
Subject: [ic] newbie Mysql question
Have you given permissions to your interchange user in mysql?
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Phil
> Morden
> Sent: Tuesday, June 12, 2001 3:55 AM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] newbie Mysql question
>
> I tried that, but it says "error in configuration: skipping".
>
> I didn't get any errors when I used "makecat". Also, I've
> created a regular
> catalog with no SQL backend and it works ok. Is there anywhere
> where there
> are details of this error?
>
> you have to start the interchange server
> when you start it for the frist time it creates the tables etc...
>
> su -c "/thepath/to/interchange/bin/interchange -r" interch
>
> try that and see what happens...
>
> On Thu, 01 Jan 1970, you wrote:
> > Iam trying to create a new catalog with Mysql backend. After using
> makecat
> > everything seems ok, the database is created in Mysql, but there are no
> > tables in the database. Is this normal? If so, how do I populate the
> MySQL
> > database with tables and data?
> >
> > Thanks.
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 12 10:11:00 2001
Subject: [ic] using [accessories ...]
Quoting Rasta Man (rasta@optimacy.com):
> Hello all,
>
> I created a table called attr that looks like:
>
> prodid fieldtype fieldname parms
> 1001 text Engraving fieldsize=20
> 1001 radio Size Small, Medium, Large
>
> and I would like to display something similar to the following in the
> basket:
>
> SKU Description Qty Price Ext
> 1001 Engraved ring 1 10.00 10.00
> Engraving(up to 20 characters): ______________
> Size: _x_ Small ___ Medium ____ Large
>
> Is there any way to do this using [item_accessories] or [accessories] ? I
Yes, but you need to know what attributes you want to use and set those
in UseModifier. Using dynamic options is kind of difficult with IC 4.6.x,
but is made a bit easier in 4.7.x.
The fieldsize=20 isn't going to help you; you would need to have a size_limit
field to do something there. I will show use of that below.
Don't you have a unique key in attr? If you don't you don't even need to make
it a database. I tested the below with an attr.txt file of:
prodid fieldtype fieldname parms size_limit
1001 text_20 Engraving 20
1001 radio Size Small, Medium, Large
<FORM>
[loop search="
fi=attr.txt
st=text
co=yes
sf=prodid
se=1001
rf=fieldtype,fieldname,parms,size_limit
"]
[accessories
attribute="[loop-param fieldname]"
type="[loop-param fieldtype]"
passed="[loop-param parms]"
[if-loop-param size_limit]
filter="[loop-param size_limit]"
extra="MAXLENGTH=[loop-param size_limit]"
[/if-loop-param]
]
[/loop]
</FORM>
Be careful -- this takes advantage of the fact that all of the
[loop-TAG ..] stuff is inserted before the accessories tag is evaluated;
bear in mind you can't do [if type term] [/if] stuff inside the body of
a tag. People often get confused there, and not surprising, I guess. 8-)
--
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 lists.akopia.com (Mark Johnson)
Date: Tue Jun 12 10:15:00 2001
Subject: [ic] credit cards!!
This is extremely dangerous, but it's your business. In a mv_click on
checkout:
[calc]$Values->{my_ccn_foolishly_stored_on_disk} =
$CGI->{mv_credid_card_number}; return;[/calc]
Then, you can display [value my_ccn_foolishly_stored_on_disk] on your
receipt, plug it into a database, post it to a message board--whatever
you like.
PS--it's not a "basic element" to store credit-card data insecurely by
default or by any other behavior. In fact, it's very unwise and a basic
must-avoid. Mike Heins has done a superb job of making IC very safe in
this regard, but you can always undo the safety features if you want.
PJ Hyett wrote:
>
> Has anyone successfully made the credit card numbers appear on the
> confirmation page and the check orders page in the admin screen....they made
> this program so damn secure it's missing a basic element! Please help.
>
> Thanks,
> PJ
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Raymond K. Symons)
Date: Tue Jun 12 10:28:01 2001
Subject: [ic] Multiple PROD IDs for Each Image Question
We have a situation where we are going to have one image that represents
multiple product IDs.
Is it possible to add a unique field to the product records somehow so that
we can reuse the same image for multiple products -- rather than the
[item-code].jpg maybe use something like [prod_group_code].jpg?
Any other suggestions as to how we might approach this situation? Thanks.
rks
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Tue Jun 12 10:33:00 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
Net::SSLeay is installed. I doublechecked.
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mark
Johnson
Sent: Monday, June 11, 2001 5:23 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] How do I get the errors to show on CC processing with
Authorize.net
Your code didn't compile because GlobalSub <<EOS and EOS are nonsense
to Perl.
I compiled your code. Since it is not a syntax error, you are missing
one or more modules, and most likely it is Net::SSLeay.
Get your local perl guy to install that and have him re-attempt to
compile the code. Once it compiles, you'll be set.
Robert Trembath wrote:
>
> Javier,
> I did what you suggested and this is what I got:
>
> [robert@www globalsub]$ perl -c authorizenet
> syntax error at authorizenet line 3, near "EOS
> sub authorizenet "
> Can't use global @_ in "my" at authorizenet line 4, near "= @_"
> BEGIN not safe after errors--compilation aborted at authorizenet line 122.
>
> I don't know perl. I know php,sql,html,asp and a few others. So I'm not
> familar with perl syntax. Any help would be greatly appreciated.
>
> I've been using this without real-time credit authorization and love it,
but
> how much of a perfomance hit will this be? I'm running a dell poweredge
1550
> with 866PIII, 1gig of RAM, Raid 5 with PERC3 on RH 7.0. Any idea?
>
> Here's what's in my authorizenet file, it located in
> /usr/lib/interchange/eg/globalsub/:
>
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 12 10:36:01 2001
Subject: [ic] One table, multiple vendors, product codes not unique
Re: One table, multiple vendors, product codes not unique
We've got a mall scenario with multiple vendors in same
tables and therefore we commonly have more than one
instance of an sku, say '1000'.
The unique key is not (sku) but instead it is (sku,id),
where id is the vendor number and guaranteed
to be there. We are using a custom price routine for
now but would like to get rid of that for mainstream.
We assign our own unique keys and sku's but the mall
vendors need to be able to link in with their own like:
vlink.cgi/1234?merchant=my_store
And JOINs need to reference their codes.
Can newer versions (>4.03) stock mv/ic handle that?
I'm tempted to modify Table/DBI.pm to always include the
id key in queries or maybe to use Watch Points. Can
anyone share any thoughts on this?
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 12 11:07:00 2001
Subject: [ic] One table, multiple vendors, product codes not unique
Quoting cfm@maine.com (cfm@maine.com):
>
> Re: One table, multiple vendors, product codes not unique
>
> We've got a mall scenario with multiple vendors in same
> tables and therefore we commonly have more than one
> instance of an sku, say '1000'.
>
> The unique key is not (sku) but instead it is (sku,id),
> where id is the vendor number and guaranteed
> to be there. We are using a custom price routine for
> now but would like to get rid of that for mainstream.
>
> We assign our own unique keys and sku's but the mall
> vendors need to be able to link in with their own like:
> vlink.cgi/1234?merchant=my_store
> And JOINs need to reference their codes.
>
> Can newer versions (>4.03) stock mv/ic handle that?
>
> I'm tempted to modify Table/DBI.pm to always include the
> id key in queries or maybe to use Watch Points. Can
> anyone share any thoughts on this?
Not really -- we would need specifics on what you are talking
about with JOINS, and what access you need. I am afraid I
still cannot figure out what you want from this.
4.7.3 has a foreign-key capability, but that is pointed toward
accessing a single data item keyed via a non-primary key field.
You can do quite a bit with [query sql="...." list=1]. That may be
what you want.
--
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 lists.akopia.com (Ed LaFrance)
Date: Tue Jun 12 12:06:01 2001
Subject: [ic] newbie Mysql question
At 03:55 AM 06/12/2001 +0000, you wrote:
>I tried that, but it says "error in configuration: skipping".
Post the *whole* error message - I am sure it says more than just
that. Post the entire output from the IC startup. "Error in
configuration" is not enough for people to be able to help you.
- Ed L.
>I didn't get any errors when I used "makecat". Also, I've created a
>regular catalog with no SQL backend and it works ok. Is there anywhere
>where there are details of this error?
>
>you have to start the interchange server
>when you start it for the frist time it creates the tables etc...
>
>su -c "/thepath/to/interchange/bin/interchange -r" interch
>
>try that and see what happens...
>
>On Thu, 01 Jan 1970, you wrote:
> > Iam trying to create a new catalog with Mysql backend. After using makecat
> > everything seems ok, the database is created in Mysql, but there are no
> > tables in the database. Is this normal? If so, how do I populate the
> MySQL
> > database with tables and data?
> >
> > Thanks.
> > _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Ed LaFrance)
Date: Tue Jun 12 12:09:00 2001
Subject: [ic] Error in IC 4.7.2
At 09:32 AM 06/12/2001 +0200, you wrote:
>Hi list,
>
>What does this error mean:
>
>[12/June/2001:09:30:49 +0200] supplies /cgi-bin/supplies/ord/basket.html
>Runtime error: Can't use string ("3") as a HASH ref while "strict refs" in
>use at (eval 95) line 5
>
>T.i.a.
>Walter
Do you have a fieldname in one of your database files (like products or
inventory) which starts with a digit?
- Ed L.
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Ed LaFrance)
Date: Tue Jun 12 12:21:00 2001
Subject: [ic] past orders for previous customer showing up in new
At 10:00 AM 06/12/2001 -0700, you wrote:
>When more than one customer shares a computer such as at an Internet cafe,
>the previous orders made by the customer who last shopped at that PC show in
>the basket for the customer who shopped after that.
>
>The first customer logged out. I suspect this has something to do with the
>session not being killed, since the second shopping expedition was done
>shortly after the first.
>
>Any body encountered this before ? I will be searching the mailing list
>archives but hey, there's nothing like helpful folks ...
You are correct - though I can't vouch for the latest (4.7.x), In all other
versions of IC logging in and out does not initiate a new session
automatically. You should be able to make it so, if that is what you
need. Your code would need to (on logout, let's say) deal with any cookies
which might have been set, then expire the session in the session
file. That way a new session would be started whether the subsequent user
logged in or not. You also need to consider whether or not the store will
require login for access, since login/logout becomes you primary method for
session management. Lastly, you may want to set SessionExpire
(catalog.cfg) to a short value - say 10 minutes - to deal with those who
fail to end their session gracefully.
- Ed L.
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Phil Morden)
Date: Tue Jun 12 12:31:01 2001
Subject: [ic] newbie Mysql question
The hole error messages is:
ServerName Interchange: ^Gcatalog: error in configuration: Skipping.
That's it.
>I tried that, but it says "error in configuration: skipping".
Post the *whole* error message - I am sure it says more than just
that. Post the entire output from the IC startup. "Error in
configuration" is not enough for people to be able to help you.
- Ed L.
>I didn't get any errors when I used "makecat". Also, I've created a
>regular catalog with no SQL backend and it works ok. Is there anywhere
>where there are details of this error?
>
>you have to start the interchange server
>when you start it for the frist time it creates the tables etc...
>
>su -c "/thepath/to/interchange/bin/interchange -r" interch
>
>try that and see what happens...
>
>On Thu, 01 Jan 1970, you wrote:
> > Iam trying to create a new catalog with Mysql backend. After using
>makecat
> > everything seems ok, the database is created in Mysql, but there are no
> > tables in the database. Is this normal? If so, how do I populate the
>MySQL
> > database with tables and data?
> >
> > Thanks.
> >
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 12 12:34:00 2001
Subject: [ic] One table, multiple vendors, product codes not unique
On Tue, Jun 12, 2001 at 11:09:29AM -0400, Mike Heins wrote:
> Quoting cfm@maine.com (cfm@maine.com):
> >
> > Re: One table, multiple vendors, product codes not unique
> >
> > We've got a mall scenario with multiple vendors in same
> > tables and therefore we commonly have more than one
> > instance of an sku, say '1000'.
> >
> > The unique key is not (sku) but instead it is (sku,id),
> > where id is the vendor number and guaranteed
> > to be there. We are using a custom price routine for
> > now but would like to get rid of that for mainstream.
> >
> > We assign our own unique keys and sku's but the mall
> > vendors need to be able to link in with their own like:
> > vlink.cgi/1234?merchant=my_store
> > And JOINs need to reference their codes.
> >
> > Can newer versions (>4.03) stock mv/ic handle that?
> >
> > I'm tempted to modify Table/DBI.pm to always include the
> > id key in queries or maybe to use Watch Points. Can
> > anyone share any thoughts on this?
>
> Not really -- we would need specifics on what you are talking
> about with JOINS, and what access you need. I am afraid I
> still cannot figure out what you want from this.
For example:
sku product price id merchant
1000 Shirt 10.00 007 goldfinger
1000 Balloon 50.00 2 prisoner
1000 Towel 500.00 42 zaphod
In the simplest case, I'd like [item_price] to return
10.00 for (1000,007), 50.00 for (1000,2) and
500.00 for (1000,42).
Sort of like what one might expect this (not functional)
CommonAdjust string to do:
table*:column:(key1,key2)
products:price:(code,id)
The JOINS are only an issue, like the link, because the
vendors need to use **their** codes. For example
SELECT * FROM products AS P,swatches AS S WHERE P.sku=S.sku AND P.id=S.id
prevents the colors of the shirts, towels and balloons
getting mixed up because sku is not unique. As opposed to
SELECT * FROM products AS P,swatches AS S WHERE P.code=S.code;
where code is our number that looks like '20010530061555'
and is not very meaningful to vendor.
Furthermore, vlink.cgi/20010530061555 might work today
but it might well not work tomorrow. Better for vendor
to use vlink.cgi/1234?merchant=my_store.
Anyway, I think I have my answer - unknown territory! :-)
cfm
>
> 4.7.3 has a foreign-key capability, but that is pointed toward
> accessing a single data item keyed via a non-primary key field.
>
> You can do quite a bit with [query sql="...." list=1]. That may be
> what you want.
>
> --
> 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".
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Tue Jun 12 12:42:00 2001
Subject: [ic] newbie Mysql question
Restart the interchange server and it should create the tables.
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Phil
Morden
Sent: Tuesday, June 12, 2001 2:52 AM
To: interchange-users@developer.akopia.com
Subject: [ic] newbie Mysql question
Iam trying to create a new catalog with Mysql backend. After using makecat
everything seems ok, the database is created in Mysql, but there are no
tables in the database. Is this normal? If so, how do I populate the MySQL
database with tables and data?
Thanks.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 12 12:57:00 2001
Subject: [ic] past orders for previous customer showing up in new basket
Quoting Ed LaFrance (edl@newmediaems.com):
> At 10:00 AM 06/12/2001 -0700, you wrote:
> >When more than one customer shares a computer such as at an Internet cafe,
> >the previous orders made by the customer who last shopped at that PC show in
> >the basket for the customer who shopped after that.
> >
> >The first customer logged out. I suspect this has something to do with the
> >session not being killed, since the second shopping expedition was done
> >shortly after the first.
> >
> >Any body encountered this before ? I will be searching the mailing list
> >archives but hey, there's nothing like helpful folks ...
>
> You are correct - though I can't vouch for the latest (4.7.x), In all other
> versions of IC logging in and out does not initiate a new session
> automatically. You should be able to make it so, if that is what you
> need. Your code would need to (on logout, let's say) deal with any cookies
> which might have been set, then expire the session in the session
> file. That way a new session would be started whether the subsequent user
> logged in or not. You also need to consider whether or not the store will
> require login for access, since login/logout becomes you primary method for
> session management. Lastly, you may want to set SessionExpire
> (catalog.cfg) to a short value - say 10 minutes - to deal with those who
> fail to end their session gracefully.
>
With 4.7.x, you can set two things:
UserDB default clear_cookie MV_USERNAME MV_PASSWORD
UserDB default clear_session 1
You can clear arbitrary cookies, and nuke the session completely
on logout.
--
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 lists.akopia.com (Sheamus Nulty)
Date: Tue Jun 12 13:01:01 2001
Subject: [ic] Database Handle and Global Subs
Mark,
I've taken the global sub pdfcreate out of the [perl] tag and it no longer
has any problems. The problem I'm having now is how do I execute this tag
based on a particular variable being set. I've tried the following
[if scratch print ]
[pdfcreate [cgi orders] ]
[/if]
plus various other combinations however the if statement constantly just
causes the information after it to be printed as if its HTML. If I don't
have the global sub in perl what other method is there to do a comparison
other than above.
Thanks
Sheamus
----- Original Message -----
From: "Mark Johnson" <markj@redhat.com>
To: <interchange-users@developer.akopia.com>
Sent: 11 June 2001 23:12
Subject: Re: [ic] Database Handle and Global Subs
> Global subs are only run through safe when called in a [perl] tag. If
> you're running a global sub through a perl tag, you might consider
> instead writing a usertag that you don't have to call inside a perl tag.
>
> Other than that, I am unaware of any reasons you might be experiencing
> this error.
>
> Sheamus Nulty wrote:
> >
> > Mark,
> >
> > Did that and I'm getting the following error
> >
> > Safe: Can't locate object method "TIEHASH" via package "DBI::st" at
> > /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/DBI.pm line 683.
> >
> > I'm running version 1.13 of DBI.
> >
> > Read something before about using Safe ::Hole to stop this but I'm not
sure
> > where I'm suppose to put this command and its exact syntax.
> >
> > Sheamus
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Fred Harju)
Date: Tue Jun 12 13:04:01 2001
Subject: [ic] Interchange Order Processing Question
Hi everyone,
I need to process credit cards in my interchange check-out process. My
ISP provides to me a script that actually does real-time processing with the
banks. I have to pass the script some parameters like credit card number,
amount etc... and the script returns with either a success or failure.
My question is this: How do I integrate this script into the Interchange
checkout process?
Any explanations or links that describe this process would be greatly
appreciated!
Thanks!
Fred.
From: interchange-users at lists.akopia.com (Jason Korkin)
Date: Tue Jun 12 13:12:00 2001
Subject: [ic] Interchange Order Processing Question
GlobalSub -- check out in the eg directory the authorizenet global-sub.
That should give you a good start.
Jason Korkin
Korksoft LLC
http://www.korksoft.com
Fred Harju wrote:
>
> Hi everyone,
>
> I need to process credit cards in my interchange check-out process. My
> ISP provides to me a script that actually does real-time processing with the
> banks. I have to pass the script some parameters like credit card number,
> amount etc... and the script returns with either a success or failure.
>
> My question is this: How do I integrate this script into the Interchange
> checkout process?
>
> Any explanations or links that describe this process would be greatly
> appreciated!
>
> Thanks!
> Fred.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.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
http://www.atworkservers.com
Tel: (603) 672-1246 x 201
From: interchange-users at lists.akopia.com (John Beima)
Date: Tue Jun 12 13:16:00 2001
Subject: [ic] One table, multiple vendors, product codes not unique
Actually what we did was add the vender key to the product code to generate a
unique sku... So it would be vender1-product1 for instance... Then you just use
all the regular basket routines, except for one... When they are in each store,
you put the items from that store in a cart named with the vender id... Hence
the carts names will be vender1, vender2, and so on... When you hit the basket
page, all products are grouped togeither in one big basket. Then when you hit
the checkout page you, that page then lets them select which cart they wish to
pay out seperately...
John Beima
Quoting cfm@maine.com:
>
> Re: One table, multiple vendors, product codes not unique
>
> We've got a mall scenario with multiple vendors in same
> tables and therefore we commonly have more than one
> instance of an sku, say '1000'.
>
> The unique key is not (sku) but instead it is (sku,id),
> where id is the vendor number and guaranteed
> to be there. We are using a custom price routine for
> now but would like to get rid of that for mainstream.
>
> We assign our own unique keys and sku's but the mall
> vendors need to be able to link in with their own like:
> vlink.cgi/1234?merchant=my_store
> And JOINs need to reference their codes.
>
> Can newer versions (>4.03) stock mv/ic handle that?
>
> I'm tempted to modify Table/DBI.pm to always include the
> id key in queries or maybe to use Watch Points. Can
> anyone share any thoughts on this?
>
> cfm
>
> --
>
> Christopher F. Miller, Publisher
> cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME
> 04039
> 1.207.657.5078
> http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian
> linux
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-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 lists.akopia.com (Thomas Swinney)
Date: Tue Jun 12 13:30:00 2001
Subject: [ic] needed: create template pages from a template html file
I am frustrated as all get out. I will pay upto $100 for someone
to take a template html page and make it usable for ic. I will need
all the dynamic stuff to follow the same color scheme. So I will
need instructions on how to modify that with supplied code. If intrested
please contact me directly at thomas@biz-e-solutions.com
thanks in advance
Thomas Swinney
biz-e-solutions.com
From: interchange-users at lists.akopia.com (Garry)
Date: Tue Jun 12 13:55:01 2001
Subject: [ic] needed: create template pages from a template html file
Don't give up hope, I found the easiest way to modify those templates was to
get them to the hard drive and edit them carefully with a simple editor that
didn't add a file extension after I had altered them. Then I put them back
and admired my handy work.
Frustrated?? .... I hardly have any hair left !! and the few that remain
went gray over the weekend.
Gaz
----- Original Message -----
From: "Thomas Swinney" <thomas@biz-e-solutions.com>
To: <interchange-users@developer.akopia.com>
Sent: Tuesday, June 12, 2001 6:53 PM
Subject: [ic] needed: create template pages from a template html file
> I am frustrated as all get out. I will pay upto $100 for someone
> to take a template html page and make it usable for ic. I will need
> all the dynamic stuff to follow the same color scheme. So I will
> need instructions on how to modify that with supplied code. If intrested
> please contact me directly at thomas@biz-e-solutions.com
>
> thanks in advance
>
> Thomas Swinney
> biz-e-solutions.com
>
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Tue Jun 12 14:14:00 2001
Subject: [ic] Multiple PROD IDs for Each Image Question
"Raymond K. Symons" <rksymons@earthlink.net> writes:
> We have a situation where we are going to have one image that represents
> multiple product IDs.
>
> Is it possible to add a unique field to the product records somehow so that
> we can reuse the same image for multiple products -- rather than the
> [item-code].jpg maybe use something like [prod_group_code].jpg?
Why not. Add a field to the products database, e.g. prod_group_code and
you can happily use
[item-field prod_group_code]
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Phillip A. Ryals)
Date: Tue Jun 12 14:32:00 2001
Subject: [ic] how does IC email orders?
I've been searching for something related to this, but I can't seem to find
anyone with the same problem...
I have setup IC to email orders to my address for testing. It has my email
address in the ORDERS_TO variable, but I never receive them.
How exactly does IC email them? There's nothing (that I've found) in the
documentation on setting it up for email... so what am I supposed to do?
-phillip
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Tue Jun 12 14:37:00 2001
Subject: [ic] Can't upload new images via Admin UI
All,
I've been playing with administrative privileges and permissions. I've
created a login that can view and process orders and can also view/edit/add
items. The problem is that once I create a new item, I can't upload a
picture associated with the item. I get a "Not authorized to upload file
images/items/<image filename>" error.
Now, the weird part is that if the file already exists on the machine, I can
upload a new picture over it. I just can't upload a new picture if the file
doesn't already exist.
I'm running IC 4.6.x on Redhat with a MySQL backend if that matters. I've
looked through the code for upload_file.html and that's where I found that
the login needed a "Files" listing in yes_functions. This change allowed
the login to upload files if they already existed on the machine, but still
won't let me upload a brand spanking new file. Maybe I'm just missing
something in the error routine of the admin code, but I can't seem to find
it. Any help would be appreciated.
Additionally, if anyone can point me in the direction of some documentation
of the access permissions and parameters of the Access table I can work from
there.
Thanks,
Randy
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Tue Jun 12 15:20:01 2001
Subject: [ic] how does IC email orders?
Quoting Phillip A. Ryals
>
> I have setup IC to email orders to my address for testing. It
> has my email
> address in the ORDERS_TO variable, but I never receive them.
>
> How exactly does IC email them? There's nothing (that I've found) in the
> documentation on setting it up for email... so what am I supposed to do?
Did you restart the Interchange server? Also, I have had a similar problem,
though I never quite figured it out. I wasn't receiving the email at the
email address listed in variables.txt, but it was being delivered to
my_telnet_login_id@my_virtual_domain.com. I asked for help from the list,
but no one obviously knew what was going on. Telnet into your server and see
if 'you have mail', then type 'mail' to retrieve it, or look to the error
logs, as I think the (lost) orders posted there, also. I suspect it may have
been a permissions problem, though I have not had this problem before or
since then. Subsequent installs of Interchange did not help, but after the
site was moved, all was well. Weirdness.
Good luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Tue Jun 12 15:23:00 2001
Subject: [ic] Can't upload new images via Admin UI
Make sure that the user interchange runs as has write permissions to the
images directory and all it's files.
This solved it for me.
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 1:39 PM
To: Interchange-Users (E-mail)
Subject: [ic] Can't upload new images via Admin UI
All,
I've been playing with administrative privileges and permissions. I've
created a login that can view and process orders and can also view/edit/add
items. The problem is that once I create a new item, I can't upload a
picture associated with the item. I get a "Not authorized to upload file
images/items/<image filename>" error.
Now, the weird part is that if the file already exists on the machine, I can
upload a new picture over it. I just can't upload a new picture if the file
doesn't already exist.
I'm running IC 4.6.x on Redhat with a MySQL backend if that matters. I've
looked through the code for upload_file.html and that's where I found that
the login needed a "Files" listing in yes_functions. This change allowed
the login to upload files if they already existed on the machine, but still
won't let me upload a brand spanking new file. Maybe I'm just missing
something in the error routine of the admin code, but I can't seem to find
it. Any help would be appreciated.
Additionally, if anyone can point me in the direction of some documentation
of the access permissions and parameters of the Access table I can work from
there.
Thanks,
Randy
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Joachim Leidinger)
Date: Tue Jun 12 15:25:00 2001
Subject: pdfcreate (Re: [ic] Database Handle and Global Subs)
Hi Sheamus Multy,
Sheamus Nulty wrote:
>
> Mark,
>
> I've taken the global sub pdfcreate out of the [perl] tag and it no longer
[DEL]
where can I find this global sub pdfcreate?
Thanks!
Joachim
--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Tue Jun 12 15:26:13 2001
Subject: [ic] Can't upload new images via Admin UI
Quoting Randy Clapp
> The problem is that once I create a new item, I can't upload a
> picture associated with the item. I get a "Not authorized to upload file
> images/items/<image filename>" error.
Try looking here:
http://developer2.akopia.com/archive/interchange-users/2000/msg09635.html
Good luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Tue Jun 12 15:40:01 2001
Subject: [ic] Can't upload new images via Admin UI
The interchange user does have all the permissions, and if I set the
"SuperUser" flag, then I can upload images that don't already exist. I'm
just needing to figure out what setting "SuperUser" turns on, so I can
enable that permission without giving the user "SuperUser" permissions.
Any Ideas?
Thanks,
Randy
-----Original Message-----
From: Robert Trembath [mailto:robert@ishoptech.com]
Sent: Tuesday, June 12, 2001 1:26 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI
Make sure that the user interchange runs as has write permissions to the
images directory and all it's files.
This solved it for me.
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 1:39 PM
To: Interchange-Users (E-mail)
Subject: [ic] Can't upload new images via Admin UI
All,
I've been playing with administrative privileges and permissions. I've
created a login that can view and process orders and can also view/edit/add
items. The problem is that once I create a new item, I can't upload a
picture associated with the item. I get a "Not authorized to upload file
images/items/<image filename>" error.
Now, the weird part is that if the file already exists on the machine, I can
upload a new picture over it. I just can't upload a new picture if the file
doesn't already exist.
I'm running IC 4.6.x on Redhat with a MySQL backend if that matters. I've
looked through the code for upload_file.html and that's where I found that
the login needed a "Files" listing in yes_functions. This change allowed
the login to upload files if they already existed on the machine, but still
won't let me upload a brand spanking new file. Maybe I'm just missing
something in the error routine of the admin code, but I can't seem to find
it. Any help would be appreciated.
Additionally, if anyone can point me in the direction of some documentation
of the access permissions and parameters of the Access table I can work from
there.
Thanks,
Randy
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Tue Jun 12 15:44:01 2001
Subject: [ic] Can't upload new images via Admin UI
Curt,
Thanks for the response. I've read the message, and tried it with no luck.
I currently have the following wildcards listed in the access table:
Pages: admin/upload* files
Files: images/* images/items/* images/thumb/* *
Still stumped. :)
-- Randy
-----Original Message-----
From: Curt Hauge [mailto:chc@mninter.net]
Sent: Tuesday, June 12, 2001 1:29 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI
Quoting Randy Clapp
> The problem is that once I create a new item, I can't upload a
> picture associated with the item. I get a "Not authorized to upload file
> images/items/<image filename>" error.
Try looking here:
http://developer2.akopia.com/archive/interchange-users/2000/msg09635.html
Good luck!
Curt Hauge
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Tue Jun 12 16:06:00 2001
Subject: [ic] Can't upload new images via Admin UI
No I mean the files in the /var/www/html/<your catalog> need to be owned by
the user "interch" and have read write permissions.
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 2:42 PM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] Can't upload new images via Admin UI
The interchange user does have all the permissions, and if I set the
"SuperUser" flag, then I can upload images that don't already exist. I'm
just needing to figure out what setting "SuperUser" turns on, so I can
enable that permission without giving the user "SuperUser" permissions.
Any Ideas?
Thanks,
Randy
-----Original Message-----
From: Robert Trembath [mailto:robert@ishoptech.com]
Sent: Tuesday, June 12, 2001 1:26 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI
Make sure that the user interchange runs as has write permissions to the
images directory and all it's files.
This solved it for me.
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 1:39 PM
To: Interchange-Users (E-mail)
Subject: [ic] Can't upload new images via Admin UI
All,
I've been playing with administrative privileges and permissions. I've
created a login that can view and process orders and can also view/edit/add
items. The problem is that once I create a new item, I can't upload a
picture associated with the item. I get a "Not authorized to upload file
images/items/<image filename>" error.
Now, the weird part is that if the file already exists on the machine, I can
upload a new picture over it. I just can't upload a new picture if the file
doesn't already exist.
I'm running IC 4.6.x on Redhat with a MySQL backend if that matters. I've
looked through the code for upload_file.html and that's where I found that
the login needed a "Files" listing in yes_functions. This change allowed
the login to upload files if they already existed on the machine, but still
won't let me upload a brand spanking new file. Maybe I'm just missing
something in the error routine of the admin code, but I can't seem to find
it. Any help would be appreciated.
Additionally, if anyone can point me in the direction of some documentation
of the access permissions and parameters of the Access table I can work from
there.
Thanks,
Randy
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Tue Jun 12 16:12:01 2001
Subject: [ic] how does IC email orders?
No mail for interch.
No mail for root.
And there's nothing about it in error.log.
Any other ideas? Does IC use sendmail or something? I'm running IC on a
stock server where sendmail is installed but not configured. Is a working
sendmail install required?
-phillip
> > I have setup IC to email orders to my address for testing. It
> > has my email
> > address in the ORDERS_TO variable, but I never receive them.
> >
> > How exactly does IC email them? There's nothing (that I've
> found) in the
> > documentation on setting it up for email... so what am I supposed to do?
>
> Did you restart the Interchange server? Also, I have had a
> similar problem,
> though I never quite figured it out. I wasn't receiving the email at the
> email address listed in variables.txt, but it was being delivered to
> my_telnet_login_id@my_virtual_domain.com. I asked for help from the list,
> but no one obviously knew what was going on. Telnet into your
> server and see
> if 'you have mail', then type 'mail' to retrieve it, or look to the error
> logs, as I think the (lost) orders posted there, also. I suspect
> it may have
> been a permissions problem, though I have not had this problem before or
> since then. Subsequent installs of Interchange did not help, but after the
> site was moved, all was well. Weirdness.
>
> Good luck!
>
> Curt Hauge
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Tue Jun 12 16:26:01 2001
Subject: [ic] how does IC email orders?
"Phillip A. Ryals" <support@admiralexpress.com> writes:
> No mail for interch.
> No mail for root.
> And there's nothing about it in error.log.
>
> Any other ideas? Does IC use sendmail or something?
sendmail
> I'm running IC on a
> stock server where sendmail is installed but not configured. Is a working
> sendmail install required?
Yes, I think so. A sendmail-compatible Perl script will do too :-)
Other MTAs like exim etc. have appropriate wrappers.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Curt Hauge)
Date: Tue Jun 12 16:29:27 2001
Subject: [ic] how does IC email orders?
Quoting Phillip A. Ryals
> Does IC use sendmail or something? I'm running IC on a
> stock server where sendmail is installed but not configured. Is a working
> sendmail install required?
Yes, I believe IC requires sendmail or other type of mail program to get
orders out. Check this out:
http://interchange.redhat.com/cgi-bin/ic/dev/icbackoffice_28.html
Good luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Jonathan Clark)
Date: Tue Jun 12 16:44:00 2001
Subject: [ic] One table, multiple vendors, product codes not unique
> Actually what we did was add the vender key to the product code
> to generate a
> unique sku... So it would be vender1-product1 for instance...
Yep, I've done it this way as well. Also use a custom filter to strip the
merchant- bit to display the sku only.
Still, doesn't sort out the problem of displaying the
vlink.cgi/1234?merchant=my_store bit.
I would just use vlink.cgi/mystore-1234 and split the merchant out of the
code for page formatting.
Jonathan
Webmaint.
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 12 17:23:01 2001
Subject: [ic] One table, multiple vendors, product codes not unique
On Tue, Jun 12, 2001 at 11:19:43AM -0600, John Beima wrote:
> Actually what we did was add the vender key to the product code to generate a
> unique sku... So it would be vender1-product1 for instance... Then you just use
> all the regular basket routines, except for one... When they are in each store,
> you put the items from that store in a cart named with the vender id... Hence
> the carts names will be vender1, vender2, and so on... When you hit the basket
> page, all products are grouped togeither in one big basket. Then when you hit
> the checkout page you, that page then lets them select which cart they wish to
> pay out seperately...
>
> John Beima
Yes, we used to do it that way. The issues we ran into were sometimes
using one code, other times using the other and having to account
for that. Keeping the same code and just qualifying everything
by id makes it "flatter" and easier to maintain.
>
>
> Quoting cfm@maine.com:
>
> >
> > Re: One table, multiple vendors, product codes not unique
> >
> > We've got a mall scenario with multiple vendors in same
> > tables and therefore we commonly have more than one
> > instance of an sku, say '1000'.
> >
> > The unique key is not (sku) but instead it is (sku,id),
> > where id is the vendor number and guaranteed
> > to be there. We are using a custom price routine for
> > now but would like to get rid of that for mainstream.
> >
> > We assign our own unique keys and sku's but the mall
> > vendors need to be able to link in with their own like:
> > vlink.cgi/1234?merchant=my_store
> > And JOINs need to reference their codes.
> >
> > Can newer versions (>4.03) stock mv/ic handle that?
> >
> > I'm tempted to modify Table/DBI.pm to always include the
> > id key in queries or maybe to use Watch Points. Can
> > anyone share any thoughts on this?
> >
> > cfm
> >
> > --
> >
> > Christopher F. Miller, Publisher
> > cfm@maine.com
> > MaineStreet Communications, Inc 208 Portland Road, Gray, ME
> > 04039
> > 1.207.657.5078
> > http://www.maine.com/
> > Content management, electronic commerce, internet integration, Debian
> > linux
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Garry)
Date: Tue Jun 12 17:30:01 2001
Subject: [ic] Appearance problems
I have been tailoring the appearance of IC to suit my requirements and
tastes, in particular the templates, however, does anyone know how to change
the colour of the grey vertical area that appears on the left of the pages
and contains the "akopia" gif (poweredby.gif) at the bottom?
Also, can I ask regular IC users: Is it normal to find oneself working on
the program for hours, and then having to delete it all and re install
(repeatedly) before it starts to look and work how one might want it? or is
it me being thick? (bearing in mind I am pretty much a novice)
cheers
Gaz
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 12 17:36:01 2001
Subject: [ic] perl5.6.1 and eval hell?
We upgraded some dev machines to debian 5.6.1 perl
from 5.6.0 over the weekend. There are some changes
in perl that I've not really figured out but thought
a heads up might be in order. Lots of our embedded
perl refuses to run.
For example, my dumper script dies now. It returns nothing.
If I run this I get HELLO WORLD but if I uncomment
# push @OUT,$@ if($@); Go figure.
I get nothing at all. No error, a 1 byte return.
<(3861/1) Read error: cgi_headers: Success>
This page:
# dump.html
# rev 2000-12-21, cfm
[tag op=header]
Content-Type: text/plain
[/tag]
[raw]
{
no strict 'refs';
my(@OUT,$type);
eval {
for(keys %{*::}) {
for $type (qw(CODE ARRAY HASH IO SCALAR)) {
my($a);
# $a = *$_{$type}; # 5.6.1 no go
next unless $a;
# push @OUT,"$_ \t${*::}{$_} $a\n"; # 5.6.1 no go
}
}
};
push @OUT,'HELLO WORLD';
# push @OUT,$@ if($@);
return join '<BR>',@OUT;
}
[/raw]
This minimalist raw perl tag:
UserTag raw HasEndTag 1
UserTag raw Interpolate 0
UserTag raw Routine <<EOF
sub {
my $str = eval {
my $OUT=eval $_[0];
return $OUT;
};
::logGlobal($@) if($@);
$str;
}
EOF
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Tue Jun 12 20:06:01 2001
Subject: [ic] Error in IC 4.7.2
On Tue, 12 Jun 2001, Walter de Kok wrote:
WdK>>What does this error mean:
WdK>>
WdK>>[12/June/2001:09:30:49 +0200] supplies /cgi-bin/supplies/ord/basket.html
WdK>>Runtime error: Can't use string ("3") as a HASH ref while "strict refs" in
WdK>>use at (eval 95) line 5
What it means is that it went into a Technical dictionary written in
English and it took various words at random and put them together in a
string so as to produce a pseudo sentence.
Warning: Anyone finding such a pseudo sentence to make perfect sense
needs to run (don't walk) to a couch in the office of a student of Dr
Freud.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 12, 2001 at 20:05 PM:
Oxymoron: Sweet sorrow.
----------------------------------------------------------------
This Linux System has been up 58 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Tue Jun 12 20:11:01 2001
Subject: [ic] past orders for previous customer showing up in new basket
On Tue, 12 Jun 2001, Guido Sohne wrote:
GS>>When more than one customer shares a computer such as at an Internet cafe,
GS>>the previous orders made by the customer who last shopped at that PC show in
GS>>the basket for the customer who shopped after that.
GS>>
GS>>The first customer logged out. I suspect this has something to do with the
GS>>session not being killed, since the second shopping expedition was done
GS>>shortly after the first.
I can see how this would easily happen if the previous customer has the
auto-log-on feature turned on.
I admire the problem, but I don't have a solution.
OTOH, any person going into an Internet Cafe and entering personal
information into a computer in a public place that can be used by
subsequent people will certainly get what he deserves for his
stupidity.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 12, 2001 at 20:10 PM:
If at first you don't succeed, you must be a programmer.
----------------------------------------------------------------
This Linux System has been up 59 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 12 20:26:01 2001
Subject: [ic] perl5.6.1 and eval hell?
Quoting cfm@maine.com (cfm@maine.com):
>
> We upgraded some dev machines to debian 5.6.1 perl
> from 5.6.0 over the weekend. There are some changes
> in perl that I've not really figured out but thought
> a heads up might be in order. Lots of our embedded
> perl refuses to run.
>
> For example, my dumper script dies now. It returns nothing.
> If I run this I get HELLO WORLD but if I uncomment
> # push @OUT,$@ if($@); Go figure.
> I get nothing at all. No error, a 1 byte return.
> <(3861/1) Read error: cgi_headers: Success>
>
>
> This page:
> # dump.html
> # rev 2000-12-21, cfm
> [tag op=header]
> Content-Type: text/plain
> [/tag]
> [raw]
> {
> no strict 'refs';
> my(@OUT,$type);
>
> eval {
> for(keys %{*::}) {
> for $type (qw(CODE ARRAY HASH IO SCALAR)) {
> my($a);
> # $a = *$_{$type}; # 5.6.1 no go
> next unless $a;
> # push @OUT,"$_ \t${*::}{$_} $a\n"; # 5.6.1 no go
> }
> }
> };
> push @OUT,'HELLO WORLD';
> # push @OUT,$@ if($@);
>
> return join '<BR>',@OUT;
> }
> [/raw]
Is whitespace in short supply in Maine? 8-) And why all of this
manipulation of the symbol tables? That really should not be
necessary in this day and age.....
push (@OUT, $@) if $@;
would be ever so much clearer in my opinion.
My understanding is that the symbol table has undergone some
changes that affect typeglobs. From the 5.6.1 Changes doc:
Semantics of bareword prototype `(*)' have changed
The semantics of the bareword prototype `*' have
changed. Perl 5.005 always coerced simple scalar
arguments to a typeglob, which wasn't useful in
situations where the subroutine must distinguish
between a simple scalar and a typeglob. The new
behavior is to not coerce bareword arguments to a
typeglob. The value will always be visible as either
a simple scalar or as a reference to a typeglob.
--
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 lists.akopia.com (Christopher VanOosterhout)
Date: Tue Jun 12 21:52:00 2001
Subject: [ic] Jon J's Security Patch
Jon and All,
Recently you issued a patch. Thanks!!
Now I have one problem ... what do I do with it?
I understand that this may not be within the scope of this list, but
frankly I have no idea how to "patch" my software.
What do I do with the code you have listed below? Do I insert this
somewhere? Is there documentation I can read for guidance?
Thanks for any help you can give me.
Christopher
Here is a patch to 4.6.5 that fixes the (extremely rare) problem
Christopher VanOosterhout found where the admin UI allowed unrestricted
access if there was no 'access' database whatsoever. Patches have been
committed to both the stable and development branches in CVS.
Thanks, Christopher.
Jon
Index: Primitive.pm
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/Primitive.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- Primitive.pm 2001/02/02 02:09:57 1.26
+++ Primitive.pm 2001/06/08 18:58:43 1.27
@@ -23,7 +23,7 @@
package UI::Primitive;
-$VERSION = substr(q$Revision: 1.26 $, 10);
+$VERSION = substr(q$Revision: 1.27 $, 10);
$DEBUG = 0;
use vars qw!
@@ -163,9 +163,9 @@
my $try = shift;
my $table;
$Global::SuperUserFunction = \&is_super;
- my $default = defined $Global::Variable->{UI_ACL}
- ? (! $Global::Variable->{UI_ACL})
- : 1;
+ my $default = defined $Global::Variable->{UI_SECURITY_OVERRIDE}
+ ? $Global::Variable->{UI_SECURITY_OVERRIDE}
+ : 0;
$table = $::Variable->{UI_ACCESS_TABLE} || 'access';
$Vend::WriteDatabase{$table} = 1;
my $db = Vend::Data::database_exists_ref($table);
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Wed Jun 13 00:04:00 2001
Subject: [ic] Interchange 4.7.3 alpha release available
We're making good progress toward a beta release of Interchange 4.8.
The latest development version is now available for testing, but we still
consider it bleeding-edge and are releasing it only in tarball form. Some
new features are included, and numerous bugfixes have been made.
Read what's new at:
http://interchange.redhat.com/pub/interchange/alpha/WHATSNEW
Download it from:
http://interchange.redhat.com/pub/interchange/alpha/interchange-4.7.3.tar.gz
We hope you find it delightful.
Jon
From: interchange-users at lists.akopia.com (John Beima)
Date: Wed Jun 13 00:35:01 2001
Subject: [ic] Interchange 4.7.3 alpha release available
G'Day Jon,
Could you please let me know who is working on the foundation template? I have
some code & images enhancements I would like to donate to the template...
John Beima
Quoting Jon Jensen <jon@redhat.com>:
> We're making good progress toward a beta release of Interchange 4.8.
> The latest development version is now available for testing, but we
> still
> consider it bleeding-edge and are releasing it only in tarball form.
> Some
> new features are included, and numerous bugfixes have been made.
>
> Read what's new at:
>
> http://interchange.redhat.com/pub/interchange/alpha/WHATSNEW
>
> Download it from:
>
> http://interchange.redhat.com/pub/interchange/alpha/interchange-4.7.3.tar.gz
>
> We hope you find it delightful.
>
> Jon
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Wed Jun 13 02:22:01 2001
Subject: [ic] disable shipping methods
from users guide:
>>If you merely want to temporarily disable a particular shipping method and
>>remove it from the list your customers see, edit the method and un-check the
>>box next to "enable this method."
Using V. 4.6.5
As far as I can tell this box does not exist.
Am I missing something?
Tim Watts
president
Romans1013.net
Internet Hosting
Loaded with features:
FREE shopping cart!
UNLIMITED email!
No Monthly Fees - Just One Low Payment, One Time per Year!
Visit our web site for details:
www.Romans1013.net
From: interchange-users at lists.akopia.com (Walter de Kok)
Date: Wed Jun 13 04:19:00 2001
Subject: [ic] Error in IC 4.7.2
At 09:32 AM 06/12/2001 +0200, you wrote:
>Hi list,
>
>What does this error mean:
>
>[12/June/2001:09:30:49 +0200] supplies /cgi-bin/supplies/ord/basket.html
>Runtime error: Can't use string ("3") as a HASH ref while "strict refs" in
>use at (eval 95) line 5
>
>T.i.a.
>Walter
Do you have a fieldname in one of your database files (like products or
inventory) which starts with a digit?
- Ed L.
Hi Ed,
No, I don't have a column that starts with a digit.
I did have a problem with with my products databases.
After I started IC, it came with this error:
"Column count doesn't match value count at row 1".
I then did a Load data local infile..... in mysql which worked.
I also created a products.sql, restarted and IC worked.
Maybe this error is causing my problem????
Walter.
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Sheamus Nulty)
Date: Wed Jun 13 05:16:00 2001
Subject: pdfcreate (Re: [ic] Database Handle and Global Subs)
Joachim,
Its a custom tag I create using pfdlib which can be found here
http://www.pdflib.com .
Sheamus
----- Original Message -----
From: "Joachim Leidinger" <jojo@blackpoint.de>
To: <interchange-users@developer.akopia.com>
Sent: 12 June 2001 20:28
Subject: pdfcreate (Re: [ic] Database Handle and Global Subs)
> Hi Sheamus Multy,
>
> Sheamus Nulty wrote:
> >
> > Mark,
> >
> > I've taken the global sub pdfcreate out of the [perl] tag and it no
longer
> [DEL]
>
> where can I find this global sub pdfcreate?
>
> Thanks!
>
> Joachim
>
> --
> -------------<BPA FreeBsd>----------------------------------------------
> Hans-Joachim Leidinger black point arts Internet Solutions GmbH
> email: jojo@blackpoint.de FAX : +49 0209-398265
> http://www.bpaserver.net
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (apom)
Date: Wed Jun 13 09:49:01 2001
Subject: [ic] $total_weight ?
Hi all,
Do you know how calculate total weight ?
I found in administrative part this : [calc]$total_weight[/calc] but it
doesn't work !
Thanks
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Wed Jun 13 10:29:00 2001
Subject: [ic] Appearance problems
Edit the TOPLEFTRIGHT and TOPLEFT templates. Its a table background color in
html.
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
Sent: Tuesday, June 12, 2001 4:34 PM
To: Interchange-users@developer.akopia.com
Subject: [ic] Appearance problems
I have been tailoring the appearance of IC to suit my requirements and
tastes, in particular the templates, however, does anyone know how to change
the colour of the grey vertical area that appears on the left of the pages
and contains the "akopia" gif (poweredby.gif) at the bottom?
Also, can I ask regular IC users: Is it normal to find oneself working on
the program for hours, and then having to delete it all and re install
(repeatedly) before it starts to look and work how one might want it? or is
it me being thick? (bearing in mind I am pretty much a novice)
cheers
Gaz
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Corey Gilmore)
Date: Wed Jun 13 11:24:01 2001
Subject: [ic] MySQL Query
Is there a way to get interchange to display the queries that its
executing?
I get the following error when I try to update a field in the admin ui
/cgi-bin/pp/ui.html No key 'sku' found for function='insert'
table='conference'
and I want to see what query ic is trying to run.
thanks,
.cfg
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 13 11:48:00 2001
Subject: [ic] $total_weight ?
At 03:45 PM 06/13/2001 +0200, you wrote:
>Hi all,
>
>Do you know how calculate total weight ?
>I found in administrative part this : [calc]$total_weight[/calc] but it
>doesn't work !
>Thanks
Take a look at the code for the cart
(catalogs/yourcat/templates/components/cart) for an example of how this is
done.
- Ed L.
>
>______________________________________________________________________________
>ifrance.com, l'email gratuit le plus complet de l'Internet !
>vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
>http://www.ifrance.com/_reloc/email.emailif
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Barry Flanagan)
Date: Wed Jun 13 11:58:01 2001
Subject: [ic] Finding current locale?
Hi,
In 4.7x, how can I determine the current locale setting?
I need to display the Price header (as opposed to the price itself) in the
product listings and cart as e.g. "IRĢ Price" or "US$ Price" depending upon
the user's locale setting. However, I can't find any variable that contains
the actual locale setting (i.e. en_US) so that I can key on it to get the
currency_symbol. I can hard-code it but this is not a good solution.
Any help much appreciated.
-Barry Flanagan
Creative & Technical Director
DigiServe Ltd.
Dublin, Ireland
GPG Key ID: 0AEDE2D8
From: interchange-users at lists.akopia.com (Matt Flaherty)
Date: Wed Jun 13 13:04:01 2001
Subject: [ic] Help with DBI rollback not working
Hi list,
Here's what I'm using:
ic 4.7.3
Red Hat Linux release 6.2 (Piglet)
VA Linux Release 6.2.3 08/01/00
Kernel 2.2.14-VA.2.1smp on a 2-processor i686
DBI with DBD::Oracle and Oracle 8i
Apache 1.3.19
I've been having a problem with the final checkout 'process' action as
follows. The application returns a message to the browser that looks like
this:
-----------------------^snip-----------------------
Sorry, there was an error in processing this form action. Please report the
error or try again later. (DBD::Oracle::db rollback failed: Error while
trying to retrieve text for error ORA-03114 (DBD ERROR: OCITransRollback) at
/usr/local/ic.4.7.x/lib/Vend/Table/DBI.pm line 648. )
-----------------------^snip-----------------------
ORA-3114 reads:
03114, 00000, "not connected to ORACLE"
// *Cause:
// *Action:
The line referred to in the error message is in the following subroutine:
-----------------------^snip-----------------------
sub rollback {
my ($s) = @_;
#::logDebug("rolling back $s->[$TABLE], dsn_id=$s->[$CONFIG]{dsn_id}");
# This is pretty harmless, no?
return undef if ! defined $s->[$DBI];
# if (! defined $s->[$DBI]) {
# ::logError(
# "rollback attempted on non-open database handle for
table: %s",
# $s->[$TABLE],
# );
# return undef;
# }
return $s->[$DBI]->rollback();
}
-----------------------^snip-----------------------
The last line is returning the error into $@. I've been able to determine
the $s->[$DBI] is a reference to a DBI::db object, but my Perl is not
stellar so I've been unable to see what is actually being called and can get
no further. I've spent some time trying to figure out what is actually
causing the rollback but haven't gotten far. This is what appears in the
catalog error.log
172.16.42.11 qmwjb7V2:172.16.42.11 - [13/June/2001:17:25:27 +0100] shop
/cgi-bin/shop/process.html Saving userdb in mv_check.
172.16.42.11 qmwjb7V2:172.16.42.11 - [13/June/2001:17:25:34 +0100] shop
/cgi-bin/shop/process.html Route main failed.
172.16.42.11 qmwjb7V2:172.16.42.11 - [13/June/2001:17:25:34 +0100] shop
/cgi-bin/shop/process.html Route copy_user failed.
Can anyone help? Thanks.
Matt Flaherty
From: interchange-users at lists.akopia.com (Brett Hooker)
Date: Wed Jun 13 13:06:01 2001
Subject: [ic] GST Calculation
Has anyone altered the calculation engine to handle Australian GST?
Thanks,
Brett
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 13 13:11:01 2001
Subject: [ic] "Buy List" button
I'm rather confused by the "Buy List" button in the construct demo site.
Namely, it doesn't work. The source says that it's form action is a page
called nothing.html. Of course, that doesn't exist.
I thought it must have been a mistake that I made in setup, but then I
noticed that it doesn't work on the demo store (on RedHat's site) either.
Is there a template that I could look at for what nothing.html should
contain?
-phillip
From: interchange-users at lists.akopia.com (Jillian Carroll)
Date: Wed Jun 13 13:15:01 2001
Subject: [ic] Missing images
If I physically move my site to another location and I change the pathing in
the Administrative Console... is there somewhere else I need to change the
path information? I changed the information in the admin, but my images are
still not showing up.
Any ideas?
Jillian Carroll
Internet Consultant
Horizon Computer Solutions
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Wed Jun 13 13:20:01 2001
Subject: [ic] Can't upload new images via Admin UI
Robert,
Thanks for the reply and clarification. They are owned by the user interch,
and have write permissions set for owner.
My intent, was to show that I don't think my problem is at the file system
level. If I go into the access tables and flip the "SuperUser" setting,
everything works like expected (I can edit, change and create new files).
If I turn the "SuperUser" setting off, then I can't write/upload a new file.
Maybe I'm completely missing something. I'm not a Perl guru, but I've been
able to manage my way through things so far. I'm hesitant to call this a
bug, because I think it's just something simple. I have just run out of
ideas to try.
Thanks for your help,
Randy
-----Original Message-----
From: Robert Trembath [mailto:robert@ishoptech.com]
Sent: Tuesday, June 12, 2001 2:09 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI
No I mean the files in the /var/www/html/<your catalog> need to be owned by
the user "interch" and have read write permissions.
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 2:42 PM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] Can't upload new images via Admin UI
The interchange user does have all the permissions, and if I set the
"SuperUser" flag, then I can upload images that don't already exist. I'm
just needing to figure out what setting "SuperUser" turns on, so I can
enable that permission without giving the user "SuperUser" permissions.
Any Ideas?
Thanks,
Randy
-----Original Message-----
From: Robert Trembath [mailto:robert@ishoptech.com]
Sent: Tuesday, June 12, 2001 1:26 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI
Make sure that the user interchange runs as has write permissions to the
images directory and all it's files.
This solved it for me.
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 1:39 PM
To: Interchange-Users (E-mail)
Subject: [ic] Can't upload new images via Admin UI
All,
I've been playing with administrative privileges and permissions. I've
created a login that can view and process orders and can also view/edit/add
items. The problem is that once I create a new item, I can't upload a
picture associated with the item. I get a "Not authorized to upload file
images/items/<image filename>" error.
Now, the weird part is that if the file already exists on the machine, I can
upload a new picture over it. I just can't upload a new picture if the file
doesn't already exist.
I'm running IC 4.6.x on Redhat with a MySQL backend if that matters. I've
looked through the code for upload_file.html and that's where I found that
the login needed a "Files" listing in yes_functions. This change allowed
the login to upload files if they already existed on the machine, but still
won't let me upload a brand spanking new file. Maybe I'm just missing
something in the error routine of the admin code, but I can't seem to find
it. Any help would be appreciated.
Additionally, if anyone can point me in the direction of some documentation
of the access permissions and parameters of the Access table I can work from
there.
Thanks,
Randy
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Wed Jun 13 13:24:01 2001
Subject: [ic] Finding current locale?
Barry Flanagan <barryf@digiserve.ie> writes:
> Hi,
>
> In 4.7x, how can I determine the current locale setting?
>
> I need to display the Price header (as opposed to the price itself) in the
> product listings and cart as e.g. "IRĢ Price" or "US$ Price" depending upon
> the user's locale setting. However, I can't find any variable that contains
> the actual locale setting (i.e. en_US) so that I can key on it to get the
> currency_symbol. I can hard-code it but this is not a good solution.
Not obvious, but [L]currency_symbol[/L] displays the
currency symbol of the current locale. The variable
you are searching is [scratch mv_locale]. It may
be empty if no locale has been selected.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Garry)
Date: Wed Jun 13 13:26:01 2001
Subject: [ic] "Buy List" button
I was confused by the BUY LIST at first, however, I noticed it only works
after some items have been added to the basket.
Great of someone to tell us isn't it?
Gaz
----- Original Message -----
From: "Phillip A. Ryals" <support@admiralexpress.com>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 13, 2001 6:15 PM
Subject: [ic] "Buy List" button
> I'm rather confused by the "Buy List" button in the construct demo site.
> Namely, it doesn't work. The source says that it's form action is a page
> called nothing.html. Of course, that doesn't exist.
>
> I thought it must have been a mistake that I made in setup, but then I
> noticed that it doesn't work on the demo store (on RedHat's site) either.
>
> Is there a template that I could look at for what nothing.html should
> contain?
>
> -phillip
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Wed Jun 13 13:32:01 2001
Subject: [ic] MySQL Query
Corey Gilmore <cfg@dln.uvm.edu> writes:
> Is there a way to get interchange to display the queries that its
> executing?
>
> I get the following error when I try to update a field in the admin ui
>
> /cgi-bin/pp/ui.html No key 'sku' found for function='insert'
> table='conference'
>
> and I want to see what query ic is trying to run.
What is the name of the first column of table conference ?
This error message is generated within update_data() in
the main script (interchange).
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Mark Johnson)
Date: Wed Jun 13 13:34:01 2001
Subject: [ic] How do I get the errors to show on CC processing with
So you got the code to compile?
Robert Trembath wrote:
>
> Net::SSLeay is installed. I doublechecked.
>
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 13 13:36:01 2001
Subject: [ic] "Buy List" button
Far as I can tell, it doesn't work even with something in the cart.
I notice in the source for results, it references [area nothing]. Where is
that defined?
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> Sent: Wednesday, June 13, 2001 12:30 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] "Buy List" button
>
>
> I was confused by the BUY LIST at first, however, I noticed it only works
> after some items have been added to the basket.
>
> Great of someone to tell us isn't it?
>
> Gaz
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 13 13:48:00 2001
Subject: [ic] "Buy List" button
Quoting Phillip A. Ryals
> I'm rather confused by the "Buy List" button in the construct demo site.
> Namely, it doesn't work. The source says that it's form action is a page
> called nothing.html. Of course, that doesn't exist.
>
> I thought it must have been a mistake that I made in setup, but then I
> noticed that it doesn't work on the demo store (on RedHat's site) either.
Actually, I believe you must enter a quantity of each item to order. It will
then order only those items.
Good luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Wed Jun 13 13:51:00 2001
Subject: [ic] Database Handle and Global Subs
I don't know what you've named your parameter in the usertag, but I'll
assume it's 'foo' for the purpose of this example.
Try:
[if scratch print]
[pdfcreate foo="[cgi orders]"]
[/if]
Sheamus Nulty wrote:
>
> Mark,
>
> I've taken the global sub pdfcreate out of the [perl] tag and it no longer
> has any problems. The problem I'm having now is how do I execute this tag
> based on a particular variable being set. I've tried the following
>
> [if scratch print ]
> [pdfcreate [cgi orders] ]
> [/if]
>
> plus various other combinations however the if statement constantly just
> causes the information after it to be printed as if its HTML. If I don't
> have the global sub in perl what other method is there to do a comparison
> other than above.
>
> Thanks
>
> Sheamus
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Garry)
Date: Wed Jun 13 13:53:01 2001
Subject: [ic] "Buy List" button
Try as I might, I cannot get mine to not work !!
When an item is added to the basket, it appears in a table above the display
in the results page, however, if you then choose another category, the
results page displays a new list, minus the buy list above. Pressing the
BUY LIST re displays the basket contents above the search results table.
Gaz
----- Original Message -----
From: "Phillip A. Ryals" <support@admiralexpress.com>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 13, 2001 6:40 PM
Subject: RE: [ic] "Buy List" button
> Far as I can tell, it doesn't work even with something in the cart.
>
> I notice in the source for results, it references [area nothing]. Where
is
> that defined?
>
> -phillip
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> > Sent: Wednesday, June 13, 2001 12:30 PM
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] "Buy List" button
> >
> >
> > I was confused by the BUY LIST at first, however, I noticed it only
works
> > after some items have been added to the basket.
> >
> > Great of someone to tell us isn't it?
> >
> > Gaz
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Chris Jesseman)
Date: Wed Jun 13 13:54:55 2001
Subject: [ic] MySQL Query
Hi.
If you are using mysql, turn logging on and you can see the querys from the
mysql log file.
-CJ
Quoting "Stefan Hornburg (Racke)" <racke@linuxia.de>:
> Corey Gilmore <cfg@dln.uvm.edu> writes:
>
> > Is there a way to get interchange to display the queries that its
> > executing?
> >
> > I get the following error when I try to update a field in the admin
> ui
> >
> > /cgi-bin/pp/ui.html No key 'sku' found for function='insert'
> > table='conference'
> >
> > and I want to see what query ic is trying to run.
>
> What is the name of the first column of table conference ?
>
> This error message is generated within update_data() in
> the main script (interchange).
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Wed Jun 13 13:57:53 2001
Subject: [ic] "Buy List" button
I can't tell you about area nothing, but my experience with the buy list
button is that you have to fill in one or more of the quantity text boxes
and click on buy list. It will add a line item in your cart for every item
with an associated quantity. Unlike the buy button, it doesn't default to a
quantity of one.
-- Randy
-----Original Message-----
From: Phillip A. Ryals [mailto:support@admiralexpress.com]
Sent: Wednesday, June 13, 2001 11:41 AM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] "Buy List" button
Far as I can tell, it doesn't work even with something in the cart.
I notice in the source for results, it references [area nothing]. Where is
that defined?
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> Sent: Wednesday, June 13, 2001 12:30 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] "Buy List" button
>
>
> I was confused by the BUY LIST at first, however, I noticed it only works
> after some items have been added to the basket.
>
> Great of someone to tell us isn't it?
>
> Gaz
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 13 14:00:00 2001
Subject: [ic] Missing images
Quoting Jillian Carroll
> If I physically move my site to another location and I change the
> pathing in
> the Administrative Console... is there somewhere else I need to change the
> path information? I changed the information in the admin, but my
> images are
> still not showing up.
You did not say which images were not showing (cat or UI), but perhaps a
symlink from
/local_path/html_directory/your_cat/images to
/local_path/catalogs/your_cat/images
Try this:
telnet to
/local_path/catalogs/your_cat
and create a symlink by entering:
ln -s /local_path/html_directory/your_cat/images images
this creates a symlink to your images in the html directory FROM your
catalog directory (if it is missing)
Good luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Wed Jun 13 14:02:00 2001
Subject: [ic] Can't upload new images via Admin UI
Randy,
Welcome to the club. I'm not a perl guru either, but I haven't run across
this problem yet or specifically seen it on the list. Most of what I have
seen has been permissions problems in Linux itself, not interchange (having
to do with images that is). Sorry I couldn't help.
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Wednesday, June 13, 2001 12:21 PM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] Can't upload new images via Admin UI
Robert,
Thanks for the reply and clarification. They are owned by the user interch,
and have write permissions set for owner.
My intent, was to show that I don't think my problem is at the file system
level. If I go into the access tables and flip the "SuperUser" setting,
everything works like expected (I can edit, change and create new files).
If I turn the "SuperUser" setting off, then I can't write/upload a new file.
Maybe I'm completely missing something. I'm not a Perl guru, but I've been
able to manage my way through things so far. I'm hesitant to call this a
bug, because I think it's just something simple. I have just run out of
ideas to try.
Thanks for your help,
Randy
-----Original Message-----
From: Robert Trembath [mailto:robert@ishoptech.com]
Sent: Tuesday, June 12, 2001 2:09 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI
No I mean the files in the /var/www/html/<your catalog> need to be owned by
the user "interch" and have read write permissions.
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 2:42 PM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] Can't upload new images via Admin UI
The interchange user does have all the permissions, and if I set the
"SuperUser" flag, then I can upload images that don't already exist. I'm
just needing to figure out what setting "SuperUser" turns on, so I can
enable that permission without giving the user "SuperUser" permissions.
Any Ideas?
Thanks,
Randy
-----Original Message-----
From: Robert Trembath [mailto:robert@ishoptech.com]
Sent: Tuesday, June 12, 2001 1:26 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI
Make sure that the user interchange runs as has write permissions to the
images directory and all it's files.
This solved it for me.
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 1:39 PM
To: Interchange-Users (E-mail)
Subject: [ic] Can't upload new images via Admin UI
All,
I've been playing with administrative privileges and permissions. I've
created a login that can view and process orders and can also view/edit/add
items. The problem is that once I create a new item, I can't upload a
picture associated with the item. I get a "Not authorized to upload file
images/items/<image filename>" error.
Now, the weird part is that if the file already exists on the machine, I can
upload a new picture over it. I just can't upload a new picture if the file
doesn't already exist.
I'm running IC 4.6.x on Redhat with a MySQL backend if that matters. I've
looked through the code for upload_file.html and that's where I found that
the login needed a "Files" listing in yes_functions. This change allowed
the login to upload files if they already existed on the machine, but still
won't let me upload a brand spanking new file. Maybe I'm just missing
something in the error routine of the admin code, but I can't seem to find
it. Any help would be appreciated.
Additionally, if anyone can point me in the direction of some documentation
of the access permissions and parameters of the Access table I can work from
there.
Thanks,
Randy
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 13 14:07:01 2001
Subject: [ic] Can't upload new images via Admin UI
Quoting Randy Clapp
> My intent, was to show that I don't think my problem is at the file system
> level. If I go into the access tables and flip the "SuperUser" setting,
> everything works like expected (I can edit, change and create new files).
> If I turn the "SuperUser" setting off, then I can't write/upload
> a new file.
> Maybe I'm completely missing something. I'm not a Perl guru, but
> I've been
> able to manage my way through things so far. I'm hesitant to call this a
> bug, because I think it's just something simple. I have just run out of
> ideas to try.
Well, I must admit I still have this EXACT problem myself but thought I was
doing something wrong. I have just been waiting for someone (like you =) to
figure out *what* is wrong with our settings. I also DO NOT think it is a
bug, just our lack of information. I have also tried the wildcard idea
proposed my Mike Heins, but without any luck. I hope someone will post to
this list exactly what they did to set it up to upload images without
super-user privledges. Currently, my clients run as super-user. =(
Good luck!
Curt Hauge
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Wed Jun 13 14:10:01 2001
Subject: [ic] How do I get the errors to show on CC processing with Authorize.net
No I didn't. But I hired the folks at Red Hat to help out. I on a deadline.
Robert
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mark
Johnson
Sent: Wednesday, June 13, 2001 12:45 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] How do I get the errors to show on CC processing with
Authorize.net
So you got the code to compile?
Robert Trembath wrote:
>
> Net::SSLeay is installed. I doublechecked.
>
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Wed Jun 13 14:11:59 2001
Subject: [ic] perl5.6.1 and eval hell? SOLVED
On Tue, Jun 12, 2001 at 08:28:26PM -0400, Mike Heins wrote:
> Quoting cfm@maine.com (cfm@maine.com):
> >
> > We upgraded some dev machines to debian 5.6.1 perl
> > from 5.6.0 over the weekend. There are some changes
> > in perl that I've not really figured out but thought
> > a heads up might be in order. Lots of our embedded
> > perl refuses to run.
> >
> > For example, my dumper script dies now. It returns nothing.
> > If I run this I get HELLO WORLD but if I uncomment
> > # push @OUT,$@ if($@); Go figure.
> > I get nothing at all. No error, a 1 byte return.
> > <(3861/1) Read error: cgi_headers: Success>
> >
> >
> > This page:
> > # dump.html
> > # rev 2000-12-21, cfm
> > [tag op=header]
> > Content-Type: text/plain
> > [/tag]
> > [raw]
> > {
> > no strict 'refs';
> > my(@OUT,$type);
> >
> > eval {
> > for(keys %{*::}) {
> > for $type (qw(CODE ARRAY HASH IO SCALAR)) {
> > my($a);
> > # $a = *$_{$type}; # 5.6.1 no go
> > next unless $a;
> > # push @OUT,"$_ \t${*::}{$_} $a\n"; # 5.6.1 no go
> > }
> > }
> > };
> > push @OUT,'HELLO WORLD';
> > # push @OUT,$@ if($@);
> >
> > return join '<BR>',@OUT;
> > }
> > [/raw]
>
> Is whitespace in short supply in Maine? 8-) And why all of this
> manipulation of the symbol tables? That really should not be
> necessary in this day and age.....
Some of us shoot at whitespace=\{deer tail} here in Maine. We
just try not to hit the house.
It's not (exactly) the symbol table thing, at least not that
particular dump codelet. Below is another example that fails
when $1 is uncommented but works when commented. It's not
dying; it must be segfaulting.
I reinstalled all perl. No difference. Installed ic4.7.3 and
it works fine. FWIW, even though I said 'no' to install
Bundle::Interchange it tried to do it anyway.
mv4.03 R.I.P. It served us well.
cfm
<HTML>
<BODY>
[raw]
{
my(@OUT,$bar,$m);
if($m=~/template=([^\w]+)/) {
$bar=$1;
# $bar='foo';
push @OUT,'Fat chance';
}
push @OUT,'done';
return join '',@OUT;
}
[/raw]
</BODY>
</HTML>
#############
## raw
# ::logGlobal($@) if($@);
# return $_[0];
UserTag raw HasEndTag 1
UserTag raw Interpolate 0
UserTag raw Routine <<EOF
sub {
my $str = eval {
my $OUT=eval $_[0];
return $@ if $@;
return $OUT;
};
$str.='<BR>my str here<BR>';
$str;
}
EOF
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 13 14:14:01 2001
Subject: [ic] Jon J's Security Patch
Quoting Christopher VanOosterhout
> Recently you issued a patch. Thanks!!
>
> Now I have one problem ... what do I do with it?
>
Go find the file, in this case:
/var/cvs/interchange/dist/lib/UI/Primitive.pm
then edit it with a text editor and go to the specific line numbers, in this
case go to line 23 from the top. Remove the whole line with the '-' in front
and replace it with the line with the '+' in front of it. Be careful what
you are doing, too:
@@ -23,7 +23,7 @@
package UI::Primitive;
-$VERSION = substr(q$Revision: 1.26 $, 10);
+$VERSION = substr(q$Revision: 1.27 $, 10);
$DEBUG = 0;
use vars qw!
Don't forget to change the version:
--- Primitive.pm 2001/02/02 02:09:57 1.26
+++ Primitive.pm 2001/06/08 18:58:43 1.27
and any other lines with a '-' that you see.
Good luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Dan McFarland)
Date: Wed Jun 13 14:17:01 2001
Subject: [ic] Server Errors
Over the last few days, interchange, or Apache, decide to all of a sudden
pop off 500 errors when accessing the site. Nothing has changed at all on
the server to cause this.
Any clues?
Thanks!
Dan M
From: interchange-users at lists.akopia.com (Dan McFarland)
Date: Wed Jun 13 14:19:01 2001
Subject: [ic] Server Errors
Really screwey errors...
I am using an almost non-modified version of the construct demo. Everything
seemed to run just perfectly until a few days ago. Now the server decides
to work one out of every 100 times and the 99 others it gives a 500 Server
error. Nothing has been added or modified in several weeks.
Any ideas where to start looking? Error logs are not recording anything.
Dan
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Wed Jun 13 14:22:01 2001
Subject: [ic] Jon J's Security Patch
On Tue, 12 Jun 2001, Christopher VanOosterhout wrote:
> Now I have one problem ... what do I do with it?
>
> I understand that this may not be within the scope of this list, but
> frankly I have no idea how to "patch" my software.
>
> What do I do with the code you have listed below? Do I insert this
> somewhere? Is there documentation I can read for guidance?
Some clues at:
http://interchange.redhat.com/cgi-bin/ic/dev/iccattut_35.html
http://interchange.redhat.com/cgi-bin/ic/dev/iccattut_45.html
And the manpages for diff and patch. But this was a tiny patch, so it's
easiest to do it by hand.
Jon
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Wed Jun 13 14:30:01 2001
Subject: [ic] Jon J's Security Patch
"Curt Hauge" <chc@mninter.net> writes:
> Quoting Christopher VanOosterhout
>
> > Recently you issued a patch. Thanks!!
> >
> > Now I have one problem ... what do I do with it?
> >
>
> Go find the file, in this case:
>
> /var/cvs/interchange/dist/lib/UI/Primitive.pm
No, this is the directory on the CVS server.
But you can do in the directory where Primitive.pm is
installed on your system
patch < PATCHFILE
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Sheamus Nulty)
Date: Wed Jun 13 14:33:01 2001
Subject: [ic] Database Handle and Global Subs
Mark,
My problem is with the if statement because for some reason its just
printing what ever I put after it. If I put the following on a page and run
it
[pdfcreate foo="[cgi orders]"]
my pdfs are generated. However if I do the following
[set print]1[/set]
[if scratch print]
[pdfcreate foo="[cgi orders]"]
[/if]
what gets returned in the browser is
[pdfcreate foo="[cgi orders]"] as text and no pdfs are generated.
Sheamus
----- Original Message -----
From: "Mark Johnson" <markj@redhat.com>
To: <interchange-users@developer.akopia.com>
Sent: 13 June 2001 19:00
Subject: Re: [ic] Database Handle and Global Subs
> I don't know what you've named your parameter in the usertag, but I'll
> assume it's 'foo' for the purpose of this example.
>
> Try:
>
> [if scratch print]
> [pdfcreate foo="[cgi orders]"]
> [/if]
>
>
> Sheamus Nulty wrote:
> >
> > Mark,
> >
> > I've taken the global sub pdfcreate out of the [perl] tag and it no
longer
> > has any problems. The problem I'm having now is how do I execute this
tag
> > based on a particular variable being set. I've tried the following
> >
> > [if scratch print ]
> > [pdfcreate [cgi orders] ]
> > [/if]
> >
> > plus various other combinations however the if statement constantly just
> > causes the information after it to be printed as if its HTML. If I don't
> > have the global sub in perl what other method is there to do a
comparison
> > other than above.
> >
> > Thanks
> >
> > Sheamus
>
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 13 14:48:01 2001
Subject: [ic] Jon J's Security Patch
oops, yes, thanks Stefan
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
> Hornburg (Racke)
> Sent: Wednesday, June 13, 2001 1:24 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Jon J's Security Patch
>
>
> "Curt Hauge" <chc@mninter.net> writes:
>
> > Quoting Christopher VanOosterhout
> >
> > > Recently you issued a patch. Thanks!!
> > >
> > > Now I have one problem ... what do I do with it?
> > >
> >
> > Go find the file, in this case:
> >
> > /var/cvs/interchange/dist/lib/UI/Primitive.pm
>
> No, this is the directory on the CVS server.
> But you can do in the directory where Primitive.pm is
> installed on your system
>
> patch < PATCHFILE
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 13 14:54:00 2001
Subject: [ic] "Buy List" button
Ya, I do that. And it doesn't work. I get:
Sorry, the page (expired) was not found
Now, the cart *does* update, but the page that you're taken to isn't
there... hence the error. I've tried it with something in the cart also,
and I still get the same error.
Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on the
interchange site. Pull up a list of items, give a few a quantity, and click
'buy list'. It does this whether you're logged in or not.
-phillip
> -----Original Message-----
>
> I can't tell you about area nothing, but my experience with the buy list
> button is that you have to fill in one or more of the quantity text boxes
> and click on buy list. It will add a line item in your cart for
> every item
> with an associated quantity. Unlike the buy button, it doesn't
> default to a
> quantity of one.
>
> -- Randy
From: interchange-users at lists.akopia.com (kyle at invisio.com)
Date: Wed Jun 13 15:02:59 2001
Subject: [ic] Server Errors
My car just died down the street, what caused it?
(sorry, couldn't resist :-)
Seriously though: check the error logs!
apache logs, ic logs, cat logs etc.
Without more info it is hard to say what is going on.
Only suggestion at this point: try restart of ic and/or entire
server..... (doesn't really answer your question though)
Kyle Cook
At 09:08 AM 6/13/01 , you wrote:
>Over the last few days, interchange, or Apache, decide to all of a sudden
>pop off 500 errors when accessing the site. Nothing has changed at all on
>the server to cause this.
>
>Any clues?
>
>Thanks!
>
>Dan M
>
>
>
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Garry)
Date: Wed Jun 13 15:27:00 2001
Subject: [ic] "Buy List" button
No offence, but I went to the demo site and tried it, it worked. I think
the issue may be not understanding its function.
I "bought" an item (didnt bother with a quantity so it defaulted to 1), it
appeared on a list above, then I choose another category. The items in the
new category appeared, but no cart contents above, until I pressed the BUY
LIST... it then revealed a list of items a had bought so far.
Gaz
----- Original Message -----
From: "Phillip A. Ryals" <support@admiralexpress.com>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 13, 2001 7:58 PM
Subject: RE: [ic] "Buy List" button
> Ya, I do that. And it doesn't work. I get:
>
> Sorry, the page (expired) was not found
>
> Now, the cart *does* update, but the page that you're taken to isn't
> there... hence the error. I've tried it with something in the cart also,
> and I still get the same error.
>
> Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
the
> interchange site. Pull up a list of items, give a few a quantity, and
click
> 'buy list'. It does this whether you're logged in or not.
>
> -phillip
>
> > -----Original Message-----
> >
> > I can't tell you about area nothing, but my experience with the buy list
> > button is that you have to fill in one or more of the quantity text
boxes
> > and click on buy list. It will add a line item in your cart for
> > every item
> > with an associated quantity. Unlike the buy button, it doesn't
> > default to a
> > quantity of one.
> >
> > -- Randy
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Wed Jun 13 15:44:02 2001
Subject: [ic] "Buy List" button
Phillip,
I don't know what to tell you. You are using the button correctly, but it
doesn't seem to be taking the post. I'm running Interchange 4.6.2 and my
construct demo works. I tried the public store demo, and your right, it
does product the error. Maybe its a setting thing. But since I haven't run
into it, I can't give you any more ideas.
-- Randy
-----Original Message-----
From: Phillip A. Ryals [mailto:support@admiralexpress.com]
Sent: Wednesday, June 13, 2001 12:59 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] "Buy List" button
Ya, I do that. And it doesn't work. I get:
Sorry, the page (expired) was not found
Now, the cart *does* update, but the page that you're taken to isn't
there... hence the error. I've tried it with something in the cart also,
and I still get the same error.
Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on the
interchange site. Pull up a list of items, give a few a quantity, and click
'buy list'. It does this whether you're logged in or not.
-phillip
> -----Original Message-----
>
> I can't tell you about area nothing, but my experience with the buy list
> button is that you have to fill in one or more of the quantity text boxes
> and click on buy list. It will add a line item in your cart for
> every item
> with an associated quantity. Unlike the buy button, it doesn't
> default to a
> quantity of one.
>
> -- Randy
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 13 15:51:01 2001
Subject: [ic] "Buy List" button
I just tried it at Red Hat also and it didn't work either, but it does work
on my sites. Perhaps you had logged in as administrator (as I had) on the
Red Hat site?
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> Sent: Wednesday, June 13, 2001 2:32 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] "Buy List" button
>
>
> No offence, but I went to the demo site and tried it, it worked. I think
> the issue may be not understanding its function.
>
> I "bought" an item (didnt bother with a quantity so it defaulted to 1), it
> appeared on a list above, then I choose another category. The
> items in the
> new category appeared, but no cart contents above, until I pressed the BUY
> LIST... it then revealed a list of items a had bought so far.
>
> Gaz
>
>
>
> ----- Original Message -----
> From: "Phillip A. Ryals" <support@admiralexpress.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Wednesday, June 13, 2001 7:58 PM
> Subject: RE: [ic] "Buy List" button
>
>
> > Ya, I do that. And it doesn't work. I get:
> >
> > Sorry, the page (expired) was not found
> >
> > Now, the cart *does* update, but the page that you're taken to isn't
> > there... hence the error. I've tried it with something in the
> cart also,
> > and I still get the same error.
> >
> > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> the
> > interchange site. Pull up a list of items, give a few a quantity, and
> click
> > 'buy list'. It does this whether you're logged in or not.
> >
> > -phillip
> >
> > > -----Original Message-----
> > >
> > > I can't tell you about area nothing, but my experience with
> the buy list
> > > button is that you have to fill in one or more of the quantity text
> boxes
> > > and click on buy list. It will add a line item in your cart for
> > > every item
> > > with an associated quantity. Unlike the buy button, it doesn't
> > > default to a
> > > quantity of one.
> > >
> > > -- Randy
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 13 16:11:00 2001
Subject: [ic] "Buy List" button
Nope. I just went to the site and started "shopping".
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Curt
> Hauge
> Sent: Wednesday, June 13, 2001 2:56 PM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] "Buy List" button
>
>
> I just tried it at Red Hat also and it didn't work either, but it
> does work
> on my sites. Perhaps you had logged in as administrator (as I had) on the
> Red Hat site?
From: interchange-users at lists.akopia.com (Michael Soflin)
Date: Wed Jun 13 16:14:00 2001
Subject: [ic] "Buy List" button
I had this same error. Are you behind a Microsoft proxy using IE5+? If so, try disabling the proxy in your browser......
Hope this helps.
MS
-----Original Message-----
From: Phillip A. Ryals [SMTP:support@admiralexpress.com]
Sent: Wednesday, June 13, 2001 2:59 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] "Buy List" button
Ya, I do that. And it doesn't work. I get:
Sorry, the page (expired) was not found
Now, the cart *does* update, but the page that you're taken to isn't
there... hence the error. I've tried it with something in the cart also,
and I still get the same error.
Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on the
interchange site. Pull up a list of items, give a few a quantity, and click
'buy list'. It does this whether you're logged in or not.
-phillip
> -----Original Message-----
>
> I can't tell you about area nothing, but my experience with the buy list
> button is that you have to fill in one or more of the quantity text boxes
> and click on buy list. It will add a line item in your cart for
> every item
> with an associated quantity. Unlike the buy button, it doesn't
> default to a
> quantity of one.
>
> -- Randy
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 13 16:18:00 2001
Subject: [ic] "Buy List" button
I don't understand why it would work for you and not work for others of us.
I followed your directions exactly and got the same errors. Anyone have any
ideas?
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> Sent: Wednesday, June 13, 2001 2:32 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] "Buy List" button
>
>
> No offence, but I went to the demo site and tried it, it worked. I think
> the issue may be not understanding its function.
>
> I "bought" an item (didnt bother with a quantity so it defaulted to 1), it
> appeared on a list above, then I choose another category. The
> items in the
> new category appeared, but no cart contents above, until I pressed the BUY
> LIST... it then revealed a list of items a had bought so far.
>
> Gaz
>
From: interchange-users at lists.akopia.com (Garry)
Date: Wed Jun 13 16:20:00 2001
Subject: [ic] "Buy List" button
cookies enabled on the browser ???
G
----- Original Message -----
From: "Phillip A. Ryals" <support@admiralexpress.com>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 13, 2001 9:15 PM
Subject: RE: [ic] "Buy List" button
> Nope. I just went to the site and started "shopping".
>
> -phillip
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Curt
> > Hauge
> > Sent: Wednesday, June 13, 2001 2:56 PM
> > To: interchange-users@developer.akopia.com
> > Subject: RE: [ic] "Buy List" button
> >
> >
> > I just tried it at Red Hat also and it didn't work either, but it
> > does work
> > on my sites. Perhaps you had logged in as administrator (as I had) on
the
> > Red Hat site?
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Wed Jun 13 16:21:11 2001
Subject: [ic] One Option with many products
Hi,
I am running IC version 4.7.2, and I want to use the following feature.
I have about 1000 products in my database and I want to give them
options. But there are ranges of products that carry the same options.
You can imagine that I have 100 different t-shirts, but they all come in
size M, L, and XL. I entered some goods, but as you might imagine I was
getting fed up with entering all these options manually. I have searched
the archive, but I cannot find any information on how to accomplish
this. Does anyone know how to do this. If so, could you give some tips
on how to do this.
Thank you
Regards
Guy Soudant
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Wed Jun 13 16:25:01 2001
Subject: [ic] cc number through e-mail
Hi,
I am running IC version 4.7.2. Since there is no pgp or gpg encryption
software on my host's server, I cannot encrypt CC numbers. I have
therefor decided to send them to me through e-mail (as this reduces the
risk in comparison to storing the cc numbers on the server, which I do
not want). But I have looked through the code of the report file,
payment file, and order file, but I'm not able to get the full
creditcard number in the e-mail (I get something like 41**1111 which is
the value of mv_credit_card_reference). Can someone tell me what I need
to do to get the cc number through e-mail send to me? I know this is
risky, but it's the only option I have right now.
Thank you
Regards
Guy Soudant
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 13 16:28:02 2001
Subject: [ic] "Buy List" button
nope. I'm using Win98, but I'm behind a Linux firewall. (iptables) No
proxying is being done.
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> Michael Soflin
> Sent: Wednesday, June 13, 2001 3:28 PM
> To: 'interchange-users@developer.akopia.com'
> Subject: RE: [ic] "Buy List" button
>
>
> I had this same error. Are you behind a Microsoft proxy using
> IE5+? If so, try disabling the proxy in your browser......
>
> Hope this helps.
>
> MS
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Wed Jun 13 16:31:01 2001
Subject: [ic] Separate Items No - produces undesirable results
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
Dear list,
After setting Separate Items to No in catalog.cfg, I discovered what seems
to be a problem, perhaps a bug. I have duplicated this on the Red Hat demo
site 2 http://demo.akopia.com/cgi-bin/ic2/index.html?mv_pc=157. After
purchasing several items and going to checkout, if you hit the 'back' button
once or twice on your browser and order another item which is already in
your basket, it *may* (usually does) add one to the wrong item in the
basket. It may take a little bangin' around, going from checkout and back to
re-order, but it fails sooner or later. Am I missing something? Is there
more to setting Separate Items to No than just that? I did not find any
other info in the archives or the docs pertaining to this.
Thanks everyone!
Curt Hauge
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Wed Jun 13 16:34:01 2001
Subject: [ic] Calculating quantity of items
I am trying to figure out the best way to calculate this: if someone hits
"Add Item" 5 times, instead of adding the quantity of 5, how can I coagulate
these into ONE item in the cart instead of 5 separate items?
Thanks,
Tim
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Wed Jun 13 16:39:01 2001
Subject: [ic] Database Handle and Global Subs
Sheamus Nulty wrote:
>
> Mark,
>
> My problem is with the if statement because for some reason its just
> printing what ever I put after it. If I put the following on a page and run
> it
>
> [pdfcreate foo="[cgi orders]"]
>
> my pdfs are generated. However if I do the following
>
> [set print]1[/set]
> [if scratch print]
> [pdfcreate foo="[cgi orders]"]
> [/if]
>
> what gets returned in the browser is
>
> [pdfcreate foo="[cgi orders]"] as text and no pdfs are generated.
>
> Sheamus
>
I'm with you. I can't see anything wrong with that. Perhaps you could
post the block of code that all relates to this so I can see if
something around the code is causing problems. Generally speaking, the
only reason you should see [pdfcreate...] as text is if that usertag
isn't defined. But, if it's interpolating outside the if block, then
clearly it's defined.
If you get desperate, you can always recode your usertag to handle the
if conditions internally. Something like:
[set print]1[/set]
[pdfcreate foo="[cgi orders]" scratchif=print]
Then, in pdfcreate before any other code is executed (assuming you put
the second param into the same-named scalar):
return undef unless $Scratch->{ $scratchif };
I only say this because, frankly, I have no clue why an if block would
keep IC tags from interpolating.
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Wed Jun 13 16:43:01 2001
Subject: [ic] Calculating quantity of items
On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> I am trying to figure out the best way to calculate this: if someone hits
> "Add Item" 5 times, instead of adding the quantity of 5, how can I coagulate
> these into ONE item in the cart instead of 5 separate items?
>
If you want to do it for all items in the catalog, just set SeparateItems to
No in your catalog.cfg, if you just want to do it for specific products, it
will be a lot more complex...
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Wed Jun 13 16:45:00 2001
Subject: [ic] cc number through e-mail
Set your EncryptProgram to /bin/cat
Card info should be in mv_credit_card_info
Guy Soudant wrote:
>
> Hi,
>
> I am running IC version 4.7.2. Since there is no pgp or gpg encryption
> software on my host's server, I cannot encrypt CC numbers. I have
> therefor decided to send them to me through e-mail (as this reduces the
> risk in comparison to storing the cc numbers on the server, which I do
> not want). But I have looked through the code of the report file,
> payment file, and order file, but I'm not able to get the full
> creditcard number in the e-mail (I get something like 41**1111 which is
> the value of mv_credit_card_reference). Can someone tell me what I need
> to do to get the cc number through e-mail send to me? I know this is
> risky, but it's the only option I have right now.
>
> Thank you
>
> Regards
>
> Guy Soudant
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Wed Jun 13 16:54:01 2001
Subject: [ic] Calculating quantity of items
Ok yes, it is more complicated than that. I have a single SKU for some items
that have options that will change the price; I don't want these to be added
together because I want to display the options for each item in the cart.
However, if someone orders two or more of something with the SAME options, I
want THOSE to be added together.
Does that make sense?
Any thoughts?
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
Kohles
Sent: Wednesday, June 13, 2001 4:35 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Calculating quantity of items
On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> I am trying to figure out the best way to calculate this: if someone hits
> "Add Item" 5 times, instead of adding the quantity of 5, how can I
coagulate
> these into ONE item in the cart instead of 5 separate items?
>
If you want to do it for all items in the catalog, just set SeparateItems to
No in your catalog.cfg, if you just want to do it for specific products, it
will be a lot more complex...
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Alexandre Daree)
Date: Wed Jun 13 16:56:00 2001
Subject: [ic] Need an Email code that is automatic and annonomous
Any body know of a way where I can have my customers email the dealer of
each product right off the flypage annonousely, and automatic without having
to retreive the dealer's email nor the cutsomer's email.
----- Original Message -----
From: <interchange-users-request@developer.akopia.com>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 13, 2001 3:41 PM
Subject: Interchange-users digest, Vol 1 #601 - 15 msgs
> Send Interchange-users mailing list submissions to
> interchange-users@lists.akopia.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.akopia.com/mailman/listinfo/interchange-users
> or, via email, send a message with subject or body 'help' to
> interchange-users-request@lists.akopia.com
>
> You can reach the person managing the list at
> interchange-users-admin@lists.akopia.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Interchange-users digest..."
>
>
> Today's Topics:
>
> 1. RE: "Buy List" button (Phillip A. Ryals)
> 2. Re: Server Errors (kyle@invisio.com)
> 3. Re: "Buy List" button (Garry)
> 4. RE: "Buy List" button (Randy Clapp)
> 5. RE: "Buy List" button (Curt Hauge)
> 6. RE: "Buy List" button (Phillip A. Ryals)
> 7. RE: "Buy List" button (Michael Soflin)
> 8. RE: "Buy List" button (Phillip A. Ryals)
> 9. Re: "Buy List" button (Garry)
> 10. One Option with many products (Guy Soudant)
> 11. cc number through e-mail (Guy Soudant)
> 12. RE: "Buy List" button (Phillip A. Ryals)
> 13. Separate Items No - produces undesirable results (Curt Hauge)
> 14. Calculating quantity of items (Tim Mirecki)
> 15. Re: Database Handle and Global Subs (Mark Johnson)
>
> --__--__--
>
> Message: 1
> From: "Phillip A. Ryals" <support@admiralexpress.com>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 13:58:50 -0500
> Reply-To: interchange-users@lists.akopia.com
>
> Ya, I do that. And it doesn't work. I get:
>
> Sorry, the page (expired) was not found
>
> Now, the cart *does* update, but the page that you're taken to isn't
> there... hence the error. I've tried it with something in the cart also,
> and I still get the same error.
>
> Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
the
> interchange site. Pull up a list of items, give a few a quantity, and
click
> 'buy list'. It does this whether you're logged in or not.
>
> -phillip
>
> > -----Original Message-----
> >
> > I can't tell you about area nothing, but my experience with the buy list
> > button is that you have to fill in one or more of the quantity text
boxes
> > and click on buy list. It will add a line item in your cart for
> > every item
> > with an associated quantity. Unlike the buy button, it doesn't
> > default to a
> > quantity of one.
> >
> > -- Randy
>
>
> --__--__--
>
> Message: 2
> Date: Wed, 13 Jun 2001 12:09:52 -0400
> To: interchange-users@developer.akopia.com
> From: "kyle@invisio.com" <kyle@invisio.com>
> Subject: Re: [ic] Server Errors
> Reply-To: interchange-users@lists.akopia.com
>
> My car just died down the street, what caused it?
> (sorry, couldn't resist :-)
>
> Seriously though: check the error logs!
>
> apache logs, ic logs, cat logs etc.
>
> Without more info it is hard to say what is going on.
>
> Only suggestion at this point: try restart of ic and/or entire
> server..... (doesn't really answer your question though)
>
> Kyle Cook
>
>
> At 09:08 AM 6/13/01 , you wrote:
> >Over the last few days, interchange, or Apache, decide to all of a sudden
> >pop off 500 errors when accessing the site. Nothing has changed at all
on
> >the server to cause this.
> >
> >Any clues?
> >
> >Thanks!
> >
> >Dan M
> >
> >
> >
> >
> >
> >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> --__--__--
>
> Message: 3
> From: "Garry" <gazonice@yahoo.com>
> To: <interchange-users@developer.akopia.com>
> Subject: Re: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 20:31:41 +0100
> Reply-To: interchange-users@lists.akopia.com
>
> No offence, but I went to the demo site and tried it, it worked. I think
> the issue may be not understanding its function.
>
> I "bought" an item (didnt bother with a quantity so it defaulted to 1), it
> appeared on a list above, then I choose another category. The items in
the
> new category appeared, but no cart contents above, until I pressed the BUY
> LIST... it then revealed a list of items a had bought so far.
>
> Gaz
>
>
>
> ----- Original Message -----
> From: "Phillip A. Ryals" <support@admiralexpress.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Wednesday, June 13, 2001 7:58 PM
> Subject: RE: [ic] "Buy List" button
>
>
> > Ya, I do that. And it doesn't work. I get:
> >
> > Sorry, the page (expired) was not found
> >
> > Now, the cart *does* update, but the page that you're taken to isn't
> > there... hence the error. I've tried it with something in the cart
also,
> > and I still get the same error.
> >
> > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> the
> > interchange site. Pull up a list of items, give a few a quantity, and
> click
> > 'buy list'. It does this whether you're logged in or not.
> >
> > -phillip
> >
> > > -----Original Message-----
> > >
> > > I can't tell you about area nothing, but my experience with the buy
list
> > > button is that you have to fill in one or more of the quantity text
> boxes
> > > and click on buy list. It will add a line item in your cart for
> > > every item
> > > with an associated quantity. Unlike the buy button, it doesn't
> > > default to a
> > > quantity of one.
> > >
> > > -- Randy
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --__--__--
>
> Message: 4
> From: Randy Clapp <Randy@infomeld.com>
> To: "'interchange-users@developer.akopia.com'"
> <interchange-users@developer.akopia.com>
> Subject: RE: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 13:45:33 -0600
> Reply-To: interchange-users@lists.akopia.com
>
> Phillip,
>
> I don't know what to tell you. You are using the button correctly, but it
> doesn't seem to be taking the post. I'm running Interchange 4.6.2 and my
> construct demo works. I tried the public store demo, and your right, it
> does product the error. Maybe its a setting thing. But since I haven't
run
> into it, I can't give you any more ideas.
>
> -- Randy
>
> -----Original Message-----
> From: Phillip A. Ryals [mailto:support@admiralexpress.com]
> Sent: Wednesday, June 13, 2001 12:59 PM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] "Buy List" button
>
>
> Ya, I do that. And it doesn't work. I get:
>
> Sorry, the page (expired) was not found
>
> Now, the cart *does* update, but the page that you're taken to isn't
> there... hence the error. I've tried it with something in the cart also,
> and I still get the same error.
>
> Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
the
> interchange site. Pull up a list of items, give a few a quantity, and
click
> 'buy list'. It does this whether you're logged in or not.
>
> -phillip
>
> > -----Original Message-----
> >
> > I can't tell you about area nothing, but my experience with the buy list
> > button is that you have to fill in one or more of the quantity text
boxes
> > and click on buy list. It will add a line item in your cart for
> > every item
> > with an associated quantity. Unlike the buy button, it doesn't
> > default to a
> > quantity of one.
> >
> > -- Randy
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --__--__--
>
> Message: 5
> From: "Curt Hauge" <chc@mninter.net>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 14:55:37 -0500
> Reply-To: interchange-users@lists.akopia.com
>
> I just tried it at Red Hat also and it didn't work either, but it does
work
> on my sites. Perhaps you had logged in as administrator (as I had) on the
> Red Hat site?
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> > Sent: Wednesday, June 13, 2001 2:32 PM
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] "Buy List" button
> >
> >
> > No offence, but I went to the demo site and tried it, it worked. I
think
> > the issue may be not understanding its function.
> >
> > I "bought" an item (didnt bother with a quantity so it defaulted to 1),
it
> > appeared on a list above, then I choose another category. The
> > items in the
> > new category appeared, but no cart contents above, until I pressed the
BUY
> > LIST... it then revealed a list of items a had bought so far.
> >
> > Gaz
> >
> >
> >
> > ----- Original Message -----
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Sent: Wednesday, June 13, 2001 7:58 PM
> > Subject: RE: [ic] "Buy List" button
> >
> >
> > > Ya, I do that. And it doesn't work. I get:
> > >
> > > Sorry, the page (expired) was not found
> > >
> > > Now, the cart *does* update, but the page that you're taken to isn't
> > > there... hence the error. I've tried it with something in the
> > cart also,
> > > and I still get the same error.
> > >
> > > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2)
on
> > the
> > > interchange site. Pull up a list of items, give a few a quantity, and
> > click
> > > 'buy list'. It does this whether you're logged in or not.
> > >
> > > -phillip
> > >
> > > > -----Original Message-----
> > > >
> > > > I can't tell you about area nothing, but my experience with
> > the buy list
> > > > button is that you have to fill in one or more of the quantity text
> > boxes
> > > > and click on buy list. It will add a line item in your cart for
> > > > every item
> > > > with an associated quantity. Unlike the buy button, it doesn't
> > > > default to a
> > > > quantity of one.
> > > >
> > > > -- Randy
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> --__--__--
>
> Message: 6
> From: "Phillip A. Ryals" <support@admiralexpress.com>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 15:15:42 -0500
> Reply-To: interchange-users@lists.akopia.com
>
> Nope. I just went to the site and started "shopping".
>
> -phillip
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Curt
> > Hauge
> > Sent: Wednesday, June 13, 2001 2:56 PM
> > To: interchange-users@developer.akopia.com
> > Subject: RE: [ic] "Buy List" button
> >
> >
> > I just tried it at Red Hat also and it didn't work either, but it
> > does work
> > on my sites. Perhaps you had logged in as administrator (as I had) on
the
> > Red Hat site?
>
>
> --__--__--
>
> Message: 7
> From: Michael Soflin <msoflin@scpweb.com>
> To: "'interchange-users@developer.akopia.com'"
> <interchange-users@developer.akopia.com>
> Subject: RE: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 16:28:25 -0400
> Organization: Sanilac Computer Products
> Reply-To: interchange-users@lists.akopia.com
>
> I had this same error. Are you behind a Microsoft proxy using IE5+? If
so, try disabling the proxy in your browser......
>
> Hope this helps.
>
> MS
>
> -----Original Message-----
> From: Phillip A. Ryals [SMTP:support@admiralexpress.com]
> Sent: Wednesday, June 13, 2001 2:59 PM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] "Buy List" button
>
> Ya, I do that. And it doesn't work. I get:
>
> Sorry, the page (expired) was not found
>
> Now, the cart *does* update, but the page that you're taken to isn't
> there... hence the error. I've tried it with something in the cart also,
> and I still get the same error.
>
> Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
the
> interchange site. Pull up a list of items, give a few a quantity, and
click
> 'buy list'. It does this whether you're logged in or not.
>
> -phillip
>
> > -----Original Message-----
> >
> > I can't tell you about area nothing, but my experience with the buy list
> > button is that you have to fill in one or more of the quantity text
boxes
> > and click on buy list. It will add a line item in your cart for
> > every item
> > with an associated quantity. Unlike the buy button, it doesn't
> > default to a
> > quantity of one.
> >
> > -- Randy
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --__--__--
>
> Message: 8
> From: "Phillip A. Ryals" <support@admiralexpress.com>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 15:22:37 -0500
> Reply-To: interchange-users@lists.akopia.com
>
> I don't understand why it would work for you and not work for others of
us.
>
> I followed your directions exactly and got the same errors. Anyone have
any
> ideas?
>
> -phillip
>
>
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> > Sent: Wednesday, June 13, 2001 2:32 PM
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] "Buy List" button
> >
> >
> > No offence, but I went to the demo site and tried it, it worked. I
think
> > the issue may be not understanding its function.
> >
> > I "bought" an item (didnt bother with a quantity so it defaulted to 1),
it
> > appeared on a list above, then I choose another category. The
> > items in the
> > new category appeared, but no cart contents above, until I pressed the
BUY
> > LIST... it then revealed a list of items a had bought so far.
> >
> > Gaz
> >
>
>
> --__--__--
>
> Message: 9
> From: "Garry" <gazonice@yahoo.com>
> To: <interchange-users@developer.akopia.com>
> Subject: Re: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 21:24:36 +0100
> Reply-To: interchange-users@lists.akopia.com
>
> cookies enabled on the browser ???
>
>
> G
>
>
> ----- Original Message -----
> From: "Phillip A. Ryals" <support@admiralexpress.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Wednesday, June 13, 2001 9:15 PM
> Subject: RE: [ic] "Buy List" button
>
>
> > Nope. I just went to the site and started "shopping".
> >
> > -phillip
> >
> > > -----Original Message-----
> > > From: interchange-users-admin@developer.akopia.com
> > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Curt
> > > Hauge
> > > Sent: Wednesday, June 13, 2001 2:56 PM
> > > To: interchange-users@developer.akopia.com
> > > Subject: RE: [ic] "Buy List" button
> > >
> > >
> > > I just tried it at Red Hat also and it didn't work either, but it
> > > does work
> > > on my sites. Perhaps you had logged in as administrator (as I had) on
> the
> > > Red Hat site?
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --__--__--
>
> Message: 10
> From: "Guy Soudant" <soudant@home.nl>
> To: <interchange-users@developer.akopia.com>
> Date: Wed, 13 Jun 2001 22:24:23 +0200
> Subject: [ic] One Option with many products
> Reply-To: interchange-users@lists.akopia.com
>
> Hi,
>
> I am running IC version 4.7.2, and I want to use the following feature.
> I have about 1000 products in my database and I want to give them
> options. But there are ranges of products that carry the same options.
> You can imagine that I have 100 different t-shirts, but they all come in
> size M, L, and XL. I entered some goods, but as you might imagine I was
> getting fed up with entering all these options manually. I have searched
> the archive, but I cannot find any information on how to accomplish
> this. Does anyone know how to do this. If so, could you give some tips
> on how to do this.
>
> Thank you
>
> Regards
>
> Guy Soudant
>
>
>
> --__--__--
>
> Message: 11
> From: "Guy Soudant" <soudant@home.nl>
> To: <interchange-users@developer.akopia.com>
> Date: Wed, 13 Jun 2001 22:30:37 +0200
> Subject: [ic] cc number through e-mail
> Reply-To: interchange-users@lists.akopia.com
>
> Hi,
>
> I am running IC version 4.7.2. Since there is no pgp or gpg encryption
> software on my host's server, I cannot encrypt CC numbers. I have
> therefor decided to send them to me through e-mail (as this reduces the
> risk in comparison to storing the cc numbers on the server, which I do
> not want). But I have looked through the code of the report file,
> payment file, and order file, but I'm not able to get the full
> creditcard number in the e-mail (I get something like 41**1111 which is
> the value of mv_credit_card_reference). Can someone tell me what I need
> to do to get the cc number through e-mail send to me? I know this is
> risky, but it's the only option I have right now.
>
> Thank you
>
> Regards
>
> Guy Soudant
>
>
>
> --__--__--
>
> Message: 12
> From: "Phillip A. Ryals" <support@admiralexpress.com>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] "Buy List" button
> Date: Wed, 13 Jun 2001 15:32:50 -0500
> Reply-To: interchange-users@lists.akopia.com
>
> nope. I'm using Win98, but I'm behind a Linux firewall. (iptables) No
> proxying is being done.
>
> -phillip
>
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> > Michael Soflin
> > Sent: Wednesday, June 13, 2001 3:28 PM
> > To: 'interchange-users@developer.akopia.com'
> > Subject: RE: [ic] "Buy List" button
> >
> >
> > I had this same error. Are you behind a Microsoft proxy using
> > IE5+? If so, try disabling the proxy in your browser......
> >
> > Hope this helps.
> >
> > MS
>
>
> --__--__--
>
> Message: 13
> From: "Curt Hauge" <chc@mninter.net>
> To: <interchange-users@developer.akopia.com>
> Date: Wed, 13 Jun 2001 15:35:21 -0500
> Subject: [ic] Separate Items No - produces undesirable results
> Reply-To: interchange-users@lists.akopia.com
>
> IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
>
> Dear list,
>
> After setting Separate Items to No in catalog.cfg, I discovered what seems
> to be a problem, perhaps a bug. I have duplicated this on the Red Hat demo
> site 2 http://demo.akopia.com/cgi-bin/ic2/index.html?mv_pc=157. After
> purchasing several items and going to checkout, if you hit the 'back'
button
> once or twice on your browser and order another item which is already in
> your basket, it *may* (usually does) add one to the wrong item in the
> basket. It may take a little bangin' around, going from checkout and back
to
> re-order, but it fails sooner or later. Am I missing something? Is there
> more to setting Separate Items to No than just that? I did not find any
> other info in the archives or the docs pertaining to this.
>
> Thanks everyone!
>
> Curt Hauge
>
>
>
> --__--__--
>
> Message: 14
> From: "Tim Mirecki" <tim@q5.ca>
> To: <interchange-users@developer.akopia.com>
> Date: Wed, 13 Jun 2001 16:47:20 -0400
> Subject: [ic] Calculating quantity of items
> Reply-To: interchange-users@lists.akopia.com
>
> I am trying to figure out the best way to calculate this: if someone hits
> "Add Item" 5 times, instead of adding the quantity of 5, how can I
coagulate
> these into ONE item in the cart instead of 5 separate items?
>
> Thanks,
>
> Tim
>
>
> --__--__--
>
> Message: 15
> Date: Wed, 13 Jun 2001 16:49:52 -0400
> From: Mark Johnson <markj@redhat.com>
> Organization: Red Hat E-Business Solutions
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Database Handle and Global Subs
> Reply-To: interchange-users@lists.akopia.com
>
> Sheamus Nulty wrote:
> >
> > Mark,
> >
> > My problem is with the if statement because for some reason its just
> > printing what ever I put after it. If I put the following on a page and
run
> > it
> >
> > [pdfcreate foo="[cgi orders]"]
> >
> > my pdfs are generated. However if I do the following
> >
> > [set print]1[/set]
> > [if scratch print]
> > [pdfcreate foo="[cgi orders]"]
> > [/if]
> >
> > what gets returned in the browser is
> >
> > [pdfcreate foo="[cgi orders]"] as text and no pdfs are generated.
> >
> > Sheamus
> >
>
> I'm with you. I can't see anything wrong with that. Perhaps you could
> post the block of code that all relates to this so I can see if
> something around the code is causing problems. Generally speaking, the
> only reason you should see [pdfcreate...] as text is if that usertag
> isn't defined. But, if it's interpolating outside the if block, then
> clearly it's defined.
>
> If you get desperate, you can always recode your usertag to handle the
> if conditions internally. Something like:
>
> [set print]1[/set]
> [pdfcreate foo="[cgi orders]" scratchif=print]
>
> Then, in pdfcreate before any other code is executed (assuming you put
> the second param into the same-named scalar):
>
> return undef unless $Scratch->{ $scratchif };
>
> I only say this because, frankly, I have no clue why an if block would
> keep IC tags from interpolating.
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
>
>
> --__--__--
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> End of Interchange-users Digest
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 13 17:05:00 2001
Subject: [ic] "Buy List" button
Ya.
> -----Original Message-----
>
> cookies enabled on the browser ???
>
>
> G
>
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Wed Jun 13 17:06:18 2001
Subject: [ic] Calculating quantity of items
Quoting Jason Kohles (jkohles@redhat.com):
> On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> > I am trying to figure out the best way to calculate this: if someone hits
> > "Add Item" 5 times, instead of adding the quantity of 5, how can I coagulate
> > these into ONE item in the cart instead of 5 separate items?
> >
> If you want to do it for all items in the catalog, just set SeparateItems to
> No in your catalog.cfg, if you just want to do it for specific products, it
> will be a lot more complex...
Not really much more complex.
[page href=order
form="
mv_order_item=SKU-0001
mv_separate_items=0
"]Order on same line[/page]
[page href=order
form="
mv_order_item=SKU-0001
mv_separate_items=1
"]Order on separate line[/page]
[page href=order
form="
mv_order_item=SKU-0001
"]Order on whatever the default is[/page]
--
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 lists.akopia.com (Jerry)
Date: Wed Jun 13 17:10:00 2001
Subject: [ic] "Buy List" button
The "Page expired is not available" error is almost always
caused by a proxy server. There is problem when you call
the history-scan tag. We get around this in this way.
Try changing the code, near the top of your results page from:
[bounce href="[history-scan exclude=nothing]"]
to this
[bounce HREF='[history-scan find="scan/" default=index]']
That should solve the problem with proxy servers and allow
you to order 1 without putting anything in qty box.
The cart at the top of the display is dependent on the
the did_order variable.
[if scratch did_order]
[include file="templates/components/cart_display"]
[/if]
Just take it out of the [if] tag if you want it to
display all the time. Even a page refresh will make
the cart go away. It takes ordering an item to set that
variable. You'll probably have to deal with the display
if there are no items in the cart to show. Don't remember
we don't use the default cart display.
Hope this helps a bit.
Jerry
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
Phillip A. Ryals
Sent: Wednesday, June 13, 2001 4:23 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] "Buy List" button
I don't understand why it would work for you and not work for others of us.
I followed your directions exactly and got the same errors. Anyone have any
ideas?
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> Sent: Wednesday, June 13, 2001 2:32 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] "Buy List" button
>
>
> No offence, but I went to the demo site and tried it, it worked. I think
> the issue may be not understanding its function.
>
> I "bought" an item (didnt bother with a quantity so it defaulted to 1), it
> appeared on a list above, then I choose another category. The
> items in the
> new category appeared, but no cart contents above, until I pressed the BUY
> LIST... it then revealed a list of items a had bought so far.
>
> Gaz
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Wed Jun 13 17:26:00 2001
Subject: [ic] Calculating quantity of items
Hi Mike:
Thanks, that's not so hard after all! The only thing is, however, I would
like to put items with the same SKU on a different line UNLESS they have the
same options. My options each have their own unique code, is there a way to
do this?
Example:
Item SKU Options Quantity
Red Widgets 0001 flow cont. 3
Red Widgets 0001 1
Blue Widgets 0002 1
Note: Each option has it's own unique code in a separate table. Red Widgets
are on 2 lines, but only because they are different. This is how I want it
to work in my cart.
Any suggestions?
Thanks,
Tim
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike Heins
Sent: Wednesday, June 13, 2001 5:08 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Calculating quantity of items
Quoting Jason Kohles (jkohles@redhat.com):
> On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> > I am trying to figure out the best way to calculate this: if someone
hits
> > "Add Item" 5 times, instead of adding the quantity of 5, how can I
coagulate
> > these into ONE item in the cart instead of 5 separate items?
> >
> If you want to do it for all items in the catalog, just set SeparateItems
to
> No in your catalog.cfg, if you just want to do it for specific products,
it
> will be a lot more complex...
Not really much more complex.
[page href=order
form="
mv_order_item=SKU-0001
mv_separate_items=0
"]Order on same line[/page]
[page href=order
form="
mv_order_item=SKU-0001
mv_separate_items=1
"]Order on separate line[/page]
[page href=order
form="
mv_order_item=SKU-0001
"]Order on whatever the default is[/page]
--
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
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Wed Jun 13 17:27:23 2001
Subject: [ic] Great Support from Red Hat
Hi Everyone,
I just wanted to let you all know how good the support is at Red Hat. They
helped me patch up my CC processing with authorize.net and did a great job
at what I consider a minimal cost. So if you do need help on some of the
more sophisticated features in IC and the list isn't doin' the trick, use
them. Just thought I'd give a little praise and say good job!
And thanks again all you guys on the list that contribute everyday.
Robert Trembath
CTO
iShop Technologies
From: interchange-users at lists.akopia.com (John Beima)
Date: Wed Jun 13 17:29:01 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
G'Day Folks,
Has anyone else found that fairly often the new 4.7.3 will overwrite the
__IMAGE_DIR__ variable with the contents of possibly __UI_IMAGE_DIR__?? What
mine winds up with is /interchange/en_US/ then breaking the link to all
images... This might also be a per session problem... However the only thing
that seems to solve it is logging in to the admin pages and going "Apply
Changes"... Then it will work for a short period of time again...
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 lists.akopia.com (John Beima)
Date: Wed Jun 13 17:31:00 2001
Subject: [ic] GST Calculation
Why would you have to alter it??? Is this a flat rate tax for the country? If so
just change the tax filed to country and have it look for Australia and then
give it the correct tax rate...
Quoting Brett Hooker <brett.hooker@oracle.com>:
> Has anyone altered the calculation engine to handle Australian GST?
>
> Thanks,
> Brett
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Wed Jun 13 17:47:00 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
John Beima <jbeima@palb.com> writes:
> G'Day Folks,
>
> Has anyone else found that fairly often the new 4.7.3 will overwrite the
> __IMAGE_DIR__ variable with the contents of possibly __UI_IMAGE_DIR__?? What
> mine winds up with is /interchange/en_US/ then breaking the link to all
> images... This might also be a per session problem... However the only thing
> that seems to solve it is logging in to the admin pages and going "Apply
> Changes"... Then it will work for a short period of time again...
I didn't notice this problem, but the guys from Redhat and I have
added features for UI internationalization. So it is quite possible
we introduced some bogus behaviour. Please try to get this
problem reproducible.
Bye
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 13 17:50:01 2001
Subject: [ic] "Buy List" button
Woohoo! That was exactly it!
I bow to the god of interchange. :)
-phillip
> -----Original Message-----
>
> The "Page expired is not available" error is almost always
> caused by a proxy server. There is problem when you call
> the history-scan tag. We get around this in this way.
> Try changing the code, near the top of your results page from:
>
> [bounce href="[history-scan exclude=nothing]"]
>
> to this
>
> [bounce HREF='[history-scan find="scan/" default=index]']
>
> That should solve the problem with proxy servers and allow
> you to order 1 without putting anything in qty box.
>
> The cart at the top of the display is dependent on the
> the did_order variable.
>
> [if scratch did_order]
> [include file="templates/components/cart_display"]
> [/if]
>
> Just take it out of the [if] tag if you want it to
> display all the time. Even a page refresh will make
> the cart go away. It takes ordering an item to set that
> variable. You'll probably have to deal with the display
> if there are no items in the cart to show. Don't remember
> we don't use the default cart display.
>
> Hope this helps a bit.
>
> Jerry
From: interchange-users at lists.akopia.com (John Beima)
Date: Wed Jun 13 18:08:01 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
Actually I may have a fix for it already...
In the old catalog.cfg file the line:
ScratchDefault mv_no_session_id 1
Was commented out... If you leave it commented out and you are running your SSL
through another domain this problem happens within 20 minutes... If you
uncomment the line it seems to have gone away...
John Beima
Quoting "Stefan Hornburg (Racke)" <racke@linuxia.de>:
> John Beima <jbeima@palb.com> writes:
>
> > G'Day Folks,
> >
> > Has anyone else found that fairly often the new 4.7.3 will overwrite
> the
> > __IMAGE_DIR__ variable with the contents of possibly
> __UI_IMAGE_DIR__?? What
> > mine winds up with is /interchange/en_US/ then breaking the link to
> all
> > images... This might also be a per session problem... However the only
> thing
> > that seems to solve it is logging in to the admin pages and going
> "Apply
> > Changes"... Then it will work for a short period of time again...
>
> I didn't notice this problem, but the guys from Redhat and I have
> added features for UI internationalization. So it is quite possible
> we introduced some bogus behaviour. Please try to get this
> problem reproducible.
>
> Bye
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Mohammad Al-Wabel)
Date: Wed Jun 13 18:10:01 2001
Subject: [ic] Re: Interchange-users digest, Vol 1 #602 - 4 msgs
Sir could you pleas remove me from your discussion group list.
Thank you
On Wed, 13 Jun 2001 interchange-users-request@developer.akopia.com wrote:
> Send Interchange-users mailing list submissions to
> interchange-users@lists.akopia.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.akopia.com/mailman/listinfo/interchange-users
> or, via email, send a message with subject or body 'help' to
> interchange-users-request@lists.akopia.com
>
> You can reach the person managing the list at
> interchange-users-admin@lists.akopia.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Interchange-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Calculating quantity of items (Jason Kohles)
> 2. Re: cc number through e-mail (Mark Johnson)
> 3. RE: Calculating quantity of items (Tim Mirecki)
> 4. Need an Email code that is automatic and annonomous (Alexandre Daree)
>
> --__--__--
>
> Message: 1
> Date: Wed, 13 Jun 2001 16:35:07 -0400
> From: Jason Kohles <jkohles@redhat.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Calculating quantity of items
> Reply-To: interchange-users@lists.akopia.com
>
> On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> > I am trying to figure out the best way to calculate this: if someone hits
> > "Add Item" 5 times, instead of adding the quantity of 5, how can I coagulate
> > these into ONE item in the cart instead of 5 separate items?
> >
> If you want to do it for all items in the catalog, just set SeparateItems to
> No in your catalog.cfg, if you just want to do it for specific products, it
> will be a lot more complex...
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
>
> --__--__--
>
> Message: 2
> Date: Wed, 13 Jun 2001 16:55:55 -0400
> From: Mark Johnson <markj@redhat.com>
> Organization: Red Hat E-Business Solutions
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] cc number through e-mail
> Reply-To: interchange-users@lists.akopia.com
>
> Set your EncryptProgram to /bin/cat
> Card info should be in mv_credit_card_info
>
>
>
> Guy Soudant wrote:
> >
> > Hi,
> >
> > I am running IC version 4.7.2. Since there is no pgp or gpg encryption
> > software on my host's server, I cannot encrypt CC numbers. I have
> > therefor decided to send them to me through e-mail (as this reduces the
> > risk in comparison to storing the cc numbers on the server, which I do
> > not want). But I have looked through the code of the report file,
> > payment file, and order file, but I'm not able to get the full
> > creditcard number in the e-mail (I get something like 41**1111 which is
> > the value of mv_credit_card_reference). Can someone tell me what I need
> > to do to get the cc number through e-mail send to me? I know this is
> > risky, but it's the only option I have right now.
> >
> > Thank you
> >
> > Regards
> >
> > Guy Soudant
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
>
> --__--__--
>
> Message: 3
> From: "Tim Mirecki" <tim@q5.ca>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] Calculating quantity of items
> Date: Wed, 13 Jun 2001 17:07:05 -0400
> Reply-To: interchange-users@lists.akopia.com
>
> Ok yes, it is more complicated than that. I have a single SKU for some items
> that have options that will change the price; I don't want these to be added
> together because I want to display the options for each item in the cart.
>
> However, if someone orders two or more of something with the SAME options, I
> want THOSE to be added together.
>
> Does that make sense?
>
> Any thoughts?
>
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
> Kohles
> Sent: Wednesday, June 13, 2001 4:35 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Calculating quantity of items
>
> On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> > I am trying to figure out the best way to calculate this: if someone hits
> > "Add Item" 5 times, instead of adding the quantity of 5, how can I
> coagulate
> > these into ONE item in the cart instead of 5 separate items?
> >
> If you want to do it for all items in the catalog, just set SeparateItems to
> No in your catalog.cfg, if you just want to do it for specific products, it
> will be a lot more complex...
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> --__--__--
>
> Message: 4
> From: "Alexandre Daree" <alex@nadiatech.com>
> To: <interchange-users@developer.akopia.com>
> Date: Tue, 12 Jun 2001 17:23:40 -0500
> Subject: [ic] Need an Email code that is automatic and annonomous
> Reply-To: interchange-users@lists.akopia.com
>
> Any body know of a way where I can have my customers email the dealer of
> each product right off the flypage annonousely, and automatic without having
> to retreive the dealer's email nor the cutsomer's email.
> ----- Original Message -----
> From: <interchange-users-request@developer.akopia.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Wednesday, June 13, 2001 3:41 PM
> Subject: Interchange-users digest, Vol 1 #601 - 15 msgs
>
>
> > Send Interchange-users mailing list submissions to
> > interchange-users@lists.akopia.com
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> > or, via email, send a message with subject or body 'help' to
> > interchange-users-request@lists.akopia.com
> >
> > You can reach the person managing the list at
> > interchange-users-admin@lists.akopia.com
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Interchange-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. RE: "Buy List" button (Phillip A. Ryals)
> > 2. Re: Server Errors (kyle@invisio.com)
> > 3. Re: "Buy List" button (Garry)
> > 4. RE: "Buy List" button (Randy Clapp)
> > 5. RE: "Buy List" button (Curt Hauge)
> > 6. RE: "Buy List" button (Phillip A. Ryals)
> > 7. RE: "Buy List" button (Michael Soflin)
> > 8. RE: "Buy List" button (Phillip A. Ryals)
> > 9. Re: "Buy List" button (Garry)
> > 10. One Option with many products (Guy Soudant)
> > 11. cc number through e-mail (Guy Soudant)
> > 12. RE: "Buy List" button (Phillip A. Ryals)
> > 13. Separate Items No - produces undesirable results (Curt Hauge)
> > 14. Calculating quantity of items (Tim Mirecki)
> > 15. Re: Database Handle and Global Subs (Mark Johnson)
> >
> > -- __--__--
> >
> > Message: 1
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 13:58:50 -0500
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Ya, I do that. And it doesn't work. I get:
> >
> > Sorry, the page (expired) was not found
> >
> > Now, the cart *does* update, but the page that you're taken to isn't
> > there... hence the error. I've tried it with something in the cart also,
> > and I still get the same error.
> >
> > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> the
> > interchange site. Pull up a list of items, give a few a quantity, and
> click
> > 'buy list'. It does this whether you're logged in or not.
> >
> > -phillip
> >
> > > -----Original Message-----
> > >
> > > I can't tell you about area nothing, but my experience with the buy list
> > > button is that you have to fill in one or more of the quantity text
> boxes
> > > and click on buy list. It will add a line item in your cart for
> > > every item
> > > with an associated quantity. Unlike the buy button, it doesn't
> > > default to a
> > > quantity of one.
> > >
> > > -- Randy
> >
> >
> > -- __--__--
> >
> > Message: 2
> > Date: Wed, 13 Jun 2001 12:09:52 -0400
> > To: interchange-users@developer.akopia.com
> > From: "kyle@invisio.com" <kyle@invisio.com>
> > Subject: Re: [ic] Server Errors
> > Reply-To: interchange-users@lists.akopia.com
> >
> > My car just died down the street, what caused it?
> > (sorry, couldn't resist :-)
> >
> > Seriously though: check the error logs!
> >
> > apache logs, ic logs, cat logs etc.
> >
> > Without more info it is hard to say what is going on.
> >
> > Only suggestion at this point: try restart of ic and/or entire
> > server..... (doesn't really answer your question though)
> >
> > Kyle Cook
> >
> >
> > At 09:08 AM 6/13/01 , you wrote:
> > >Over the last few days, interchange, or Apache, decide to all of a sudden
> > >pop off 500 errors when accessing the site. Nothing has changed at all
> on
> > >the server to cause this.
> > >
> > >Any clues?
> > >
> > >Thanks!
> > >
> > >Dan M
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > -- __--__--
> >
> > Message: 3
> > From: "Garry" <gazonice@yahoo.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: Re: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 20:31:41 +0100
> > Reply-To: interchange-users@lists.akopia.com
> >
> > No offence, but I went to the demo site and tried it, it worked. I think
> > the issue may be not understanding its function.
> >
> > I "bought" an item (didnt bother with a quantity so it defaulted to 1), it
> > appeared on a list above, then I choose another category. The items in
> the
> > new category appeared, but no cart contents above, until I pressed the BUY
> > LIST... it then revealed a list of items a had bought so far.
> >
> > Gaz
> >
> >
> >
> > ----- Original Message -----
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Sent: Wednesday, June 13, 2001 7:58 PM
> > Subject: RE: [ic] "Buy List" button
> >
> >
> > > Ya, I do that. And it doesn't work. I get:
> > >
> > > Sorry, the page (expired) was not found
> > >
> > > Now, the cart *does* update, but the page that you're taken to isn't
> > > there... hence the error. I've tried it with something in the cart
> also,
> > > and I still get the same error.
> > >
> > > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> > the
> > > interchange site. Pull up a list of items, give a few a quantity, and
> > click
> > > 'buy list'. It does this whether you're logged in or not.
> > >
> > > -phillip
> > >
> > > > -----Original Message-----
> > > >
> > > > I can't tell you about area nothing, but my experience with the buy
> list
> > > > button is that you have to fill in one or more of the quantity text
> > boxes
> > > > and click on buy list. It will add a line item in your cart for
> > > > every item
> > > > with an associated quantity. Unlike the buy button, it doesn't
> > > > default to a
> > > > quantity of one.
> > > >
> > > > -- Randy
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > -- __--__--
> >
> > Message: 4
> > From: Randy Clapp <Randy@infomeld.com>
> > To: "'interchange-users@developer.akopia.com'"
> > <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 13:45:33 -0600
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Phillip,
> >
> > I don't know what to tell you. You are using the button correctly, but it
> > doesn't seem to be taking the post. I'm running Interchange 4.6.2 and my
> > construct demo works. I tried the public store demo, and your right, it
> > does product the error. Maybe its a setting thing. But since I haven't
> run
> > into it, I can't give you any more ideas.
> >
> > -- Randy
> >
> > -----Original Message-----
> > From: Phillip A. Ryals [mailto:support@admiralexpress.com]
> > Sent: Wednesday, June 13, 2001 12:59 PM
> > To: interchange-users@developer.akopia.com
> > Subject: RE: [ic] "Buy List" button
> >
> >
> > Ya, I do that. And it doesn't work. I get:
> >
> > Sorry, the page (expired) was not found
> >
> > Now, the cart *does* update, but the page that you're taken to isn't
> > there... hence the error. I've tried it with something in the cart also,
> > and I still get the same error.
> >
> > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> the
> > interchange site. Pull up a list of items, give a few a quantity, and
> click
> > 'buy list'. It does this whether you're logged in or not.
> >
> > -phillip
> >
> > > -----Original Message-----
> > >
> > > I can't tell you about area nothing, but my experience with the buy list
> > > button is that you have to fill in one or more of the quantity text
> boxes
> > > and click on buy list. It will add a line item in your cart for
> > > every item
> > > with an associated quantity. Unlike the buy button, it doesn't
> > > default to a
> > > quantity of one.
> > >
> > > -- Randy
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > -- __--__--
> >
> > Message: 5
> > From: "Curt Hauge" <chc@mninter.net>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 14:55:37 -0500
> > Reply-To: interchange-users@lists.akopia.com
> >
> > I just tried it at Red Hat also and it didn't work either, but it does
> work
> > on my sites. Perhaps you had logged in as administrator (as I had) on the
> > Red Hat site?
> >
> > > -----Original Message-----
> > > From: interchange-users-admin@developer.akopia.com
> > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> > > Sent: Wednesday, June 13, 2001 2:32 PM
> > > To: interchange-users@developer.akopia.com
> > > Subject: Re: [ic] "Buy List" button
> > >
> > >
> > > No offence, but I went to the demo site and tried it, it worked. I
> think
> > > the issue may be not understanding its function.
> > >
> > > I "bought" an item (didnt bother with a quantity so it defaulted to 1),
> it
> > > appeared on a list above, then I choose another category. The
> > > items in the
> > > new category appeared, but no cart contents above, until I pressed the
> BUY
> > > LIST... it then revealed a list of items a had bought so far.
> > >
> > > Gaz
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Sent: Wednesday, June 13, 2001 7:58 PM
> > > Subject: RE: [ic] "Buy List" button
> > >
> > >
> > > > Ya, I do that. And it doesn't work. I get:
> > > >
> > > > Sorry, the page (expired) was not found
> > > >
> > > > Now, the cart *does* update, but the page that you're taken to isn't
> > > > there... hence the error. I've tried it with something in the
> > > cart also,
> > > > and I still get the same error.
> > > >
> > > > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2)
> on
> > > the
> > > > interchange site. Pull up a list of items, give a few a quantity, and
> > > click
> > > > 'buy list'. It does this whether you're logged in or not.
> > > >
> > > > -phillip
> > > >
> > > > > -----Original Message-----
> > > > >
> > > > > I can't tell you about area nothing, but my experience with
> > > the buy list
> > > > > button is that you have to fill in one or more of the quantity text
> > > boxes
> > > > > and click on buy list. It will add a line item in your cart for
> > > > > every item
> > > > > with an associated quantity. Unlike the buy button, it doesn't
> > > > > default to a
> > > > > quantity of one.
> > > > >
> > > > > -- Randy
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.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@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> > -- __--__--
> >
> > Message: 6
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 15:15:42 -0500
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Nope. I just went to the site and started "shopping".
> >
> > -phillip
> >
> > > -----Original Message-----
> > > From: interchange-users-admin@developer.akopia.com
> > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Curt
> > > Hauge
> > > Sent: Wednesday, June 13, 2001 2:56 PM
> > > To: interchange-users@developer.akopia.com
> > > Subject: RE: [ic] "Buy List" button
> > >
> > >
> > > I just tried it at Red Hat also and it didn't work either, but it
> > > does work
> > > on my sites. Perhaps you had logged in as administrator (as I had) on
> the
> > > Red Hat site?
> >
> >
> > -- __--__--
> >
> > Message: 7
> > From: Michael Soflin <msoflin@scpweb.com>
> > To: "'interchange-users@developer.akopia.com'"
> > <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 16:28:25 -0400
> > Organization: Sanilac Computer Products
> > Reply-To: interchange-users@lists.akopia.com
> >
> > I had this same error. Are you behind a Microsoft proxy using IE5+? If
> so, try disabling the proxy in your browser......
> >
> > Hope this helps.
> >
> > MS
> >
> > -----Original Message-----
> > From: Phillip A. Ryals [SMTP:support@admiralexpress.com]
> > Sent: Wednesday, June 13, 2001 2:59 PM
> > To: interchange-users@developer.akopia.com
> > Subject: RE: [ic] "Buy List" button
> >
> > Ya, I do that. And it doesn't work. I get:
> >
> > Sorry, the page (expired) was not found
> >
> > Now, the cart *does* update, but the page that you're taken to isn't
> > there... hence the error. I've tried it with something in the cart also,
> > and I still get the same error.
> >
> > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> the
> > interchange site. Pull up a list of items, give a few a quantity, and
> click
> > 'buy list'. It does this whether you're logged in or not.
> >
> > -phillip
> >
> > > -----Original Message-----
> > >
> > > I can't tell you about area nothing, but my experience with the buy list
> > > button is that you have to fill in one or more of the quantity text
> boxes
> > > and click on buy list. It will add a line item in your cart for
> > > every item
> > > with an associated quantity. Unlike the buy button, it doesn't
> > > default to a
> > > quantity of one.
> > >
> > > -- Randy
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > -- __--__--
> >
> > Message: 8
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 15:22:37 -0500
> > Reply-To: interchange-users@lists.akopia.com
> >
> > I don't understand why it would work for you and not work for others of
> us.
> >
> > I followed your directions exactly and got the same errors. Anyone have
> any
> > ideas?
> >
> > -phillip
> >
> >
> >
> > > -----Original Message-----
> > > From: interchange-users-admin@developer.akopia.com
> > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> > > Sent: Wednesday, June 13, 2001 2:32 PM
> > > To: interchange-users@developer.akopia.com
> > > Subject: Re: [ic] "Buy List" button
> > >
> > >
> > > No offence, but I went to the demo site and tried it, it worked. I
> think
> > > the issue may be not understanding its function.
> > >
> > > I "bought" an item (didnt bother with a quantity so it defaulted to 1),
> it
> > > appeared on a list above, then I choose another category. The
> > > items in the
> > > new category appeared, but no cart contents above, until I pressed the
> BUY
> > > LIST... it then revealed a list of items a had bought so far.
> > >
> > > Gaz
> > >
> >
> >
> > -- __--__--
> >
> > Message: 9
> > From: "Garry" <gazonice@yahoo.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: Re: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 21:24:36 +0100
> > Reply-To: interchange-users@lists.akopia.com
> >
> > cookies enabled on the browser ???
> >
> >
> > G
> >
> >
> > ----- Original Message -----
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Sent: Wednesday, June 13, 2001 9:15 PM
> > Subject: RE: [ic] "Buy List" button
> >
> >
> > > Nope. I just went to the site and started "shopping".
> > >
> > > -phillip
> > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@developer.akopia.com
> > > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Curt
> > > > Hauge
> > > > Sent: Wednesday, June 13, 2001 2:56 PM
> > > > To: interchange-users@developer.akopia.com
> > > > Subject: RE: [ic] "Buy List" button
> > > >
> > > >
> > > > I just tried it at Red Hat also and it didn't work either, but it
> > > > does work
> > > > on my sites. Perhaps you had logged in as administrator (as I had) on
> > the
> > > > Red Hat site?
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > -- __--__--
> >
> > Message: 10
> > From: "Guy Soudant" <soudant@home.nl>
> > To: <interchange-users@developer.akopia.com>
> > Date: Wed, 13 Jun 2001 22:24:23 +0200
> > Subject: [ic] One Option with many products
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Hi,
> >
> > I am running IC version 4.7.2, and I want to use the following feature.
> > I have about 1000 products in my database and I want to give them
> > options. But there are ranges of products that carry the same options.
> > You can imagine that I have 100 different t-shirts, but they all come in
> > size M, L, and XL. I entered some goods, but as you might imagine I was
> > getting fed up with entering all these options manually. I have searched
> > the archive, but I cannot find any information on how to accomplish
> > this. Does anyone know how to do this. If so, could you give some tips
> > on how to do this.
> >
> > Thank you
> >
> > Regards
> >
> > Guy Soudant
> >
> >
> >
> > -- __--__--
> >
> > Message: 11
> > From: "Guy Soudant" <soudant@home.nl>
> > To: <interchange-users@developer.akopia.com>
> > Date: Wed, 13 Jun 2001 22:30:37 +0200
> > Subject: [ic] cc number through e-mail
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Hi,
> >
> > I am running IC version 4.7.2. Since there is no pgp or gpg encryption
> > software on my host's server, I cannot encrypt CC numbers. I have
> > therefor decided to send them to me through e-mail (as this reduces the
> > risk in comparison to storing the cc numbers on the server, which I do
> > not want). But I have looked through the code of the report file,
> > payment file, and order file, but I'm not able to get the full
> > creditcard number in the e-mail (I get something like 41**1111 which is
> > the value of mv_credit_card_reference). Can someone tell me what I need
> > to do to get the cc number through e-mail send to me? I know this is
> > risky, but it's the only option I have right now.
> >
> > Thank you
> >
> > Regards
> >
> > Guy Soudant
> >
> >
> >
> > -- __--__--
> >
> > Message: 12
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] "Buy List" button
> > Date: Wed, 13 Jun 2001 15:32:50 -0500
> > Reply-To: interchange-users@lists.akopia.com
> >
> > nope. I'm using Win98, but I'm behind a Linux firewall. (iptables) No
> > proxying is being done.
> >
> > -phillip
> >
> >
> > > -----Original Message-----
> > > From: interchange-users-admin@developer.akopia.com
> > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> > > Michael Soflin
> > > Sent: Wednesday, June 13, 2001 3:28 PM
> > > To: 'interchange-users@developer.akopia.com'
> > > Subject: RE: [ic] "Buy List" button
> > >
> > >
> > > I had this same error. Are you behind a Microsoft proxy using
> > > IE5+? If so, try disabling the proxy in your browser......
> > >
> > > Hope this helps.
> > >
> > > MS
> >
> >
> > -- __--__--
> >
> > Message: 13
> > From: "Curt Hauge" <chc@mninter.net>
> > To: <interchange-users@developer.akopia.com>
> > Date: Wed, 13 Jun 2001 15:35:21 -0500
> > Subject: [ic] Separate Items No - produces undesirable results
> > Reply-To: interchange-users@lists.akopia.com
> >
> > IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
> >
> > Dear list,
> >
> > After setting Separate Items to No in catalog.cfg, I discovered what seems
> > to be a problem, perhaps a bug. I have duplicated this on the Red Hat demo
> > site 2 http://demo.akopia.com/cgi-bin/ic2/index.html?mv_pc=157. After
> > purchasing several items and going to checkout, if you hit the 'back'
> button
> > once or twice on your browser and order another item which is already in
> > your basket, it *may* (usually does) add one to the wrong item in the
> > basket. It may take a little bangin' around, going from checkout and back
> to
> > re-order, but it fails sooner or later. Am I missing something? Is there
> > more to setting Separate Items to No than just that? I did not find any
> > other info in the archives or the docs pertaining to this.
> >
> > Thanks everyone!
> >
> > Curt Hauge
> >
> >
> >
> > -- __--__--
> >
> > Message: 14
> > From: "Tim Mirecki" <tim@q5.ca>
> > To: <interchange-users@developer.akopia.com>
> > Date: Wed, 13 Jun 2001 16:47:20 -0400
> > Subject: [ic] Calculating quantity of items
> > Reply-To: interchange-users@lists.akopia.com
> >
> > I am trying to figure out the best way to calculate this: if someone hits
> > "Add Item" 5 times, instead of adding the quantity of 5, how can I
> coagulate
> > these into ONE item in the cart instead of 5 separate items?
> >
> > Thanks,
> >
> > Tim
> >
> >
> > -- __--__--
> >
> > Message: 15
> > Date: Wed, 13 Jun 2001 16:49:52 -0400
> > From: Mark Johnson <markj@redhat.com>
> > Organization: Red Hat E-Business Solutions
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Database Handle and Global Subs
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Sheamus Nulty wrote:
> > >
> > > Mark,
> > >
> > > My problem is with the if statement because for some reason its just
> > > printing what ever I put after it. If I put the following on a page and
> run
> > > it
> > >
> > > [pdfcreate foo="[cgi orders]"]
> > >
> > > my pdfs are generated. However if I do the following
> > >
> > > [set print]1[/set]
> > > [if scratch print]
> > > [pdfcreate foo="[cgi orders]"]
> > > [/if]
> > >
> > > what gets returned in the browser is
> > >
> > > [pdfcreate foo="[cgi orders]"] as text and no pdfs are generated.
> > >
> > > Sheamus
> > >
> >
> > I'm with you. I can't see anything wrong with that. Perhaps you could
> > post the block of code that all relates to this so I can see if
> > something around the code is causing problems. Generally speaking, the
> > only reason you should see [pdfcreate...] as text is if that usertag
> > isn't defined. But, if it's interpolating outside the if block, then
> > clearly it's defined.
> >
> > If you get desperate, you can always recode your usertag to handle the
> > if conditions internally. Something like:
> >
> > [set print]1[/set]
> > [pdfcreate foo="[cgi orders]" scratchif=print]
> >
> > Then, in pdfcreate before any other code is executed (assuming you put
> > the second param into the same-named scalar):
> >
> > return undef unless $Scratch->{ $scratchif };
> >
> > I only say this because, frankly, I have no clue why an if block would
> > keep IC tags from interpolating.
> >
> > --
> > Mark Johnson
> > Senior Systems Architect - Professional Services
> > Red Hat, Inc.
> > E-Business Solutions
> > markj@redhat.com
> > 703-456-2912
> >
> >
> > -- __--__--
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > End of Interchange-users Digest
>
>
>
> --__--__--
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> End of Interchange-users Digest
>
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Wed Jun 13 18:22:01 2001
Subject: [ic] Re: Interchange-users digest, Vol 1 #602 - 4 msgs
When trying to unsubscribe from this (and many other lists around the world),
check from the message headers how you spelled your email address when
subscribing!!!
In your case use THIS address for the unsubscribe-process:
alwabel@lamar.ColoState.EDU
Rene
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> Mohammad Al-Wabel
> Sent: 14 June 2001 01:13
> To: interchange-users@developer.akopia.com
> Subject: [ic] Re: Interchange-users digest, Vol 1 #602 - 4 msgs
>
>
> Sir could you pleas remove me from your discussion group list.
> Thank you
>
> On Wed, 13 Jun 2001 interchange-users-request@developer.akopia.com wrote:
>
> > Send Interchange-users mailing list submissions to
> > interchange-users@lists.akopia.com
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> > or, via email, send a message with subject or body 'help' to
> > interchange-users-request@lists.akopia.com
> >
> > You can reach the person managing the list at
> > interchange-users-admin@lists.akopia.com
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Interchange-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: Calculating quantity of items (Jason Kohles)
> > 2. Re: cc number through e-mail (Mark Johnson)
> > 3. RE: Calculating quantity of items (Tim Mirecki)
> > 4. Need an Email code that is automatic and annonomous (Alexandre Daree)
> >
> > --__--__--
> >
> > Message: 1
> > Date: Wed, 13 Jun 2001 16:35:07 -0400
> > From: Jason Kohles <jkohles@redhat.com>
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Calculating quantity of items
> > Reply-To: interchange-users@lists.akopia.com
> >
> > On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> > > I am trying to figure out the best way to calculate this: if someone hits
> > > "Add Item" 5 times, instead of adding the quantity of 5, how can
> I coagulate
> > > these into ONE item in the cart instead of 5 separate items?
> > >
> > If you want to do it for all items in the catalog, just set
> SeparateItems to
> > No in your catalog.cfg, if you just want to do it for specific products, it
> > will be a lot more complex...
> >
> > --
> > Red Hat E-Business Solutions Jason Kohles
> > 11480 Sunset Hills Road Senior System Architect
> > Reston, VA 20190 jkohles@redhat.com
> >
> > --__--__--
> >
> > Message: 2
> > Date: Wed, 13 Jun 2001 16:55:55 -0400
> > From: Mark Johnson <markj@redhat.com>
> > Organization: Red Hat E-Business Solutions
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] cc number through e-mail
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Set your EncryptProgram to /bin/cat
> > Card info should be in mv_credit_card_info
> >
> >
> >
> > Guy Soudant wrote:
> > >
> > > Hi,
> > >
> > > I am running IC version 4.7.2. Since there is no pgp or gpg encryption
> > > software on my host's server, I cannot encrypt CC numbers. I have
> > > therefor decided to send them to me through e-mail (as this reduces the
> > > risk in comparison to storing the cc numbers on the server, which I do
> > > not want). But I have looked through the code of the report file,
> > > payment file, and order file, but I'm not able to get the full
> > > creditcard number in the e-mail (I get something like 41**1111 which is
> > > the value of mv_credit_card_reference). Can someone tell me what I need
> > > to do to get the cc number through e-mail send to me? I know this is
> > > risky, but it's the only option I have right now.
> > >
> > > Thank you
> > >
> > > Regards
> > >
> > > Guy Soudant
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > --
> > Mark Johnson
> > Senior Systems Architect - Professional Services
> > Red Hat, Inc.
> > E-Business Solutions
> > markj@redhat.com
> > 703-456-2912
> >
> > --__--__--
> >
> > Message: 3
> > From: "Tim Mirecki" <tim@q5.ca>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] Calculating quantity of items
> > Date: Wed, 13 Jun 2001 17:07:05 -0400
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Ok yes, it is more complicated than that. I have a single SKU for
> some items
> > that have options that will change the price; I don't want these
> to be added
> > together because I want to display the options for each item in the cart.
> >
> > However, if someone orders two or more of something with the SAME
> options, I
> > want THOSE to be added together.
> >
> > Does that make sense?
> >
> > Any thoughts?
> >
> >
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
> > Kohles
> > Sent: Wednesday, June 13, 2001 4:35 PM
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Calculating quantity of items
> >
> > On Wed, Jun 13, 2001 at 04:47:20PM -0400, Tim Mirecki wrote:
> > > I am trying to figure out the best way to calculate this: if someone hits
> > > "Add Item" 5 times, instead of adding the quantity of 5, how can I
> > coagulate
> > > these into ONE item in the cart instead of 5 separate items?
> > >
> > If you want to do it for all items in the catalog, just set
> SeparateItems to
> > No in your catalog.cfg, if you just want to do it for specific products, it
> > will be a lot more complex...
> >
> > --
> > Red Hat E-Business Solutions Jason Kohles
> > 11480 Sunset Hills Road Senior System Architect
> > Reston, VA 20190 jkohles@redhat.com
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > --__--__--
> >
> > Message: 4
> > From: "Alexandre Daree" <alex@nadiatech.com>
> > To: <interchange-users@developer.akopia.com>
> > Date: Tue, 12 Jun 2001 17:23:40 -0500
> > Subject: [ic] Need an Email code that is automatic and annonomous
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Any body know of a way where I can have my customers email the dealer of
> > each product right off the flypage annonousely, and automatic
> without having
> > to retreive the dealer's email nor the cutsomer's email.
> > ----- Original Message -----
> > From: <interchange-users-request@developer.akopia.com>
> > To: <interchange-users@developer.akopia.com>
> > Sent: Wednesday, June 13, 2001 3:41 PM
> > Subject: Interchange-users digest, Vol 1 #601 - 15 msgs
> >
> >
> > > Send Interchange-users mailing list submissions to
> > > interchange-users@lists.akopia.com
> > >
> > > To subscribe or unsubscribe via the World Wide Web, visit
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > or, via email, send a message with subject or body 'help' to
> > > interchange-users-request@lists.akopia.com
> > >
> > > You can reach the person managing the list at
> > > interchange-users-admin@lists.akopia.com
> > >
> > > When replying, please edit your Subject line so it is more specific
> > > than "Re: Contents of Interchange-users digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > > 1. RE: "Buy List" button (Phillip A. Ryals)
> > > 2. Re: Server Errors (kyle@invisio.com)
> > > 3. Re: "Buy List" button (Garry)
> > > 4. RE: "Buy List" button (Randy Clapp)
> > > 5. RE: "Buy List" button (Curt Hauge)
> > > 6. RE: "Buy List" button (Phillip A. Ryals)
> > > 7. RE: "Buy List" button (Michael Soflin)
> > > 8. RE: "Buy List" button (Phillip A. Ryals)
> > > 9. Re: "Buy List" button (Garry)
> > > 10. One Option with many products (Guy Soudant)
> > > 11. cc number through e-mail (Guy Soudant)
> > > 12. RE: "Buy List" button (Phillip A. Ryals)
> > > 13. Separate Items No - produces undesirable results (Curt Hauge)
> > > 14. Calculating quantity of items (Tim Mirecki)
> > > 15. Re: Database Handle and Global Subs (Mark Johnson)
> > >
> > > -- __--__--
> > >
> > > Message: 1
> > > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Subject: RE: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 13:58:50 -0500
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > Ya, I do that. And it doesn't work. I get:
> > >
> > > Sorry, the page (expired) was not found
> > >
> > > Now, the cart *does* update, but the page that you're taken to isn't
> > > there... hence the error. I've tried it with something in the cart also,
> > > and I still get the same error.
> > >
> > > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> > the
> > > interchange site. Pull up a list of items, give a few a quantity, and
> > click
> > > 'buy list'. It does this whether you're logged in or not.
> > >
> > > -phillip
> > >
> > > > -----Original Message-----
> > > >
> > > > I can't tell you about area nothing, but my experience with
> the buy list
> > > > button is that you have to fill in one or more of the quantity text
> > boxes
> > > > and click on buy list. It will add a line item in your cart for
> > > > every item
> > > > with an associated quantity. Unlike the buy button, it doesn't
> > > > default to a
> > > > quantity of one.
> > > >
> > > > -- Randy
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 2
> > > Date: Wed, 13 Jun 2001 12:09:52 -0400
> > > To: interchange-users@developer.akopia.com
> > > From: "kyle@invisio.com" <kyle@invisio.com>
> > > Subject: Re: [ic] Server Errors
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > My car just died down the street, what caused it?
> > > (sorry, couldn't resist :-)
> > >
> > > Seriously though: check the error logs!
> > >
> > > apache logs, ic logs, cat logs etc.
> > >
> > > Without more info it is hard to say what is going on.
> > >
> > > Only suggestion at this point: try restart of ic and/or entire
> > > server..... (doesn't really answer your question though)
> > >
> > > Kyle Cook
> > >
> > >
> > > At 09:08 AM 6/13/01 , you wrote:
> > > >Over the last few days, interchange, or Apache, decide to all
> of a sudden
> > > >pop off 500 errors when accessing the site. Nothing has changed at all
> > on
> > > >the server to cause this.
> > > >
> > > >Any clues?
> > > >
> > > >Thanks!
> > > >
> > > >Dan M
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >_______________________________________________
> > > >Interchange-users mailing list
> > > >Interchange-users@lists.akopia.com
> > > >http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 3
> > > From: "Garry" <gazonice@yahoo.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Subject: Re: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 20:31:41 +0100
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > No offence, but I went to the demo site and tried it, it worked. I think
> > > the issue may be not understanding its function.
> > >
> > > I "bought" an item (didnt bother with a quantity so it defaulted
> to 1), it
> > > appeared on a list above, then I choose another category. The items in
> > the
> > > new category appeared, but no cart contents above, until I
> pressed the BUY
> > > LIST... it then revealed a list of items a had bought so far.
> > >
> > > Gaz
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Sent: Wednesday, June 13, 2001 7:58 PM
> > > Subject: RE: [ic] "Buy List" button
> > >
> > >
> > > > Ya, I do that. And it doesn't work. I get:
> > > >
> > > > Sorry, the page (expired) was not found
> > > >
> > > > Now, the cart *does* update, but the page that you're taken to isn't
> > > > there... hence the error. I've tried it with something in the cart
> > also,
> > > > and I still get the same error.
> > > >
> > > > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> > > the
> > > > interchange site. Pull up a list of items, give a few a quantity, and
> > > click
> > > > 'buy list'. It does this whether you're logged in or not.
> > > >
> > > > -phillip
> > > >
> > > > > -----Original Message-----
> > > > >
> > > > > I can't tell you about area nothing, but my experience with the buy
> > list
> > > > > button is that you have to fill in one or more of the quantity text
> > > boxes
> > > > > and click on buy list. It will add a line item in your cart for
> > > > > every item
> > > > > with an associated quantity. Unlike the buy button, it doesn't
> > > > > default to a
> > > > > quantity of one.
> > > > >
> > > > > -- Randy
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 4
> > > From: Randy Clapp <Randy@infomeld.com>
> > > To: "'interchange-users@developer.akopia.com'"
> > > <interchange-users@developer.akopia.com>
> > > Subject: RE: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 13:45:33 -0600
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > Phillip,
> > >
> > > I don't know what to tell you. You are using the button
> correctly, but it
> > > doesn't seem to be taking the post. I'm running Interchange 4.6.2 and my
> > > construct demo works. I tried the public store demo, and your right, it
> > > does product the error. Maybe its a setting thing. But since I haven't
> > run
> > > into it, I can't give you any more ideas.
> > >
> > > -- Randy
> > >
> > > -----Original Message-----
> > > From: Phillip A. Ryals [mailto:support@admiralexpress.com]
> > > Sent: Wednesday, June 13, 2001 12:59 PM
> > > To: interchange-users@developer.akopia.com
> > > Subject: RE: [ic] "Buy List" button
> > >
> > >
> > > Ya, I do that. And it doesn't work. I get:
> > >
> > > Sorry, the page (expired) was not found
> > >
> > > Now, the cart *does* update, but the page that you're taken to isn't
> > > there... hence the error. I've tried it with something in the cart also,
> > > and I still get the same error.
> > >
> > > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> > the
> > > interchange site. Pull up a list of items, give a few a quantity, and
> > click
> > > 'buy list'. It does this whether you're logged in or not.
> > >
> > > -phillip
> > >
> > > > -----Original Message-----
> > > >
> > > > I can't tell you about area nothing, but my experience with
> the buy list
> > > > button is that you have to fill in one or more of the quantity text
> > boxes
> > > > and click on buy list. It will add a line item in your cart for
> > > > every item
> > > > with an associated quantity. Unlike the buy button, it doesn't
> > > > default to a
> > > > quantity of one.
> > > >
> > > > -- Randy
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > > -- __--__--
> > >
> > > Message: 5
> > > From: "Curt Hauge" <chc@mninter.net>
> > > To: <interchange-users@developer.akopia.com>
> > > Subject: RE: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 14:55:37 -0500
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > I just tried it at Red Hat also and it didn't work either, but it does
> > work
> > > on my sites. Perhaps you had logged in as administrator (as I had) on the
> > > Red Hat site?
> > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@developer.akopia.com
> > > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> > > > Sent: Wednesday, June 13, 2001 2:32 PM
> > > > To: interchange-users@developer.akopia.com
> > > > Subject: Re: [ic] "Buy List" button
> > > >
> > > >
> > > > No offence, but I went to the demo site and tried it, it worked. I
> > think
> > > > the issue may be not understanding its function.
> > > >
> > > > I "bought" an item (didnt bother with a quantity so it defaulted to 1),
> > it
> > > > appeared on a list above, then I choose another category. The
> > > > items in the
> > > > new category appeared, but no cart contents above, until I pressed the
> > BUY
> > > > LIST... it then revealed a list of items a had bought so far.
> > > >
> > > > Gaz
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > > > To: <interchange-users@developer.akopia.com>
> > > > Sent: Wednesday, June 13, 2001 7:58 PM
> > > > Subject: RE: [ic] "Buy List" button
> > > >
> > > >
> > > > > Ya, I do that. And it doesn't work. I get:
> > > > >
> > > > > Sorry, the page (expired) was not found
> > > > >
> > > > > Now, the cart *does* update, but the page that you're taken to isn't
> > > > > there... hence the error. I've tried it with something in the
> > > > cart also,
> > > > > and I still get the same error.
> > > > >
> > > > > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2)
> > on
> > > > the
> > > > > interchange site. Pull up a list of items, give a few a
> quantity, and
> > > > click
> > > > > 'buy list'. It does this whether you're logged in or not.
> > > > >
> > > > > -phillip
> > > > >
> > > > > > -----Original Message-----
> > > > > >
> > > > > > I can't tell you about area nothing, but my experience with
> > > > the buy list
> > > > > > button is that you have to fill in one or more of the quantity text
> > > > boxes
> > > > > > and click on buy list. It will add a line item in your cart for
> > > > > > every item
> > > > > > with an associated quantity. Unlike the buy button, it doesn't
> > > > > > default to a
> > > > > > quantity of one.
> > > > > >
> > > > > > -- Randy
> > > > >
> > > > > _______________________________________________
> > > > > Interchange-users mailing list
> > > > > Interchange-users@lists.akopia.com
> > > > > http://lists.akopia.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@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > >
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 6
> > > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Subject: RE: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 15:15:42 -0500
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > Nope. I just went to the site and started "shopping".
> > >
> > > -phillip
> > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@developer.akopia.com
> > > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Curt
> > > > Hauge
> > > > Sent: Wednesday, June 13, 2001 2:56 PM
> > > > To: interchange-users@developer.akopia.com
> > > > Subject: RE: [ic] "Buy List" button
> > > >
> > > >
> > > > I just tried it at Red Hat also and it didn't work either, but it
> > > > does work
> > > > on my sites. Perhaps you had logged in as administrator (as I had) on
> > the
> > > > Red Hat site?
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 7
> > > From: Michael Soflin <msoflin@scpweb.com>
> > > To: "'interchange-users@developer.akopia.com'"
> > > <interchange-users@developer.akopia.com>
> > > Subject: RE: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 16:28:25 -0400
> > > Organization: Sanilac Computer Products
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > I had this same error. Are you behind a Microsoft proxy using IE5+? If
> > so, try disabling the proxy in your browser......
> > >
> > > Hope this helps.
> > >
> > > MS
> > >
> > > -----Original Message-----
> > > From: Phillip A. Ryals [SMTP:support@admiralexpress.com]
> > > Sent: Wednesday, June 13, 2001 2:59 PM
> > > To: interchange-users@developer.akopia.com
> > > Subject: RE: [ic] "Buy List" button
> > >
> > > Ya, I do that. And it doesn't work. I get:
> > >
> > > Sorry, the page (expired) was not found
> > >
> > > Now, the cart *does* update, but the page that you're taken to isn't
> > > there... hence the error. I've tried it with something in the cart also,
> > > and I still get the same error.
> > >
> > > Try it on the public store demo (http://demo.akopia.com/cgi-bin/ic2) on
> > the
> > > interchange site. Pull up a list of items, give a few a quantity, and
> > click
> > > 'buy list'. It does this whether you're logged in or not.
> > >
> > > -phillip
> > >
> > > > -----Original Message-----
> > > >
> > > > I can't tell you about area nothing, but my experience with
> the buy list
> > > > button is that you have to fill in one or more of the quantity text
> > boxes
> > > > and click on buy list. It will add a line item in your cart for
> > > > every item
> > > > with an associated quantity. Unlike the buy button, it doesn't
> > > > default to a
> > > > quantity of one.
> > > >
> > > > -- Randy
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > > -- __--__--
> > >
> > > Message: 8
> > > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Subject: RE: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 15:22:37 -0500
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > I don't understand why it would work for you and not work for others of
> > us.
> > >
> > > I followed your directions exactly and got the same errors. Anyone have
> > any
> > > ideas?
> > >
> > > -phillip
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@developer.akopia.com
> > > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Garry
> > > > Sent: Wednesday, June 13, 2001 2:32 PM
> > > > To: interchange-users@developer.akopia.com
> > > > Subject: Re: [ic] "Buy List" button
> > > >
> > > >
> > > > No offence, but I went to the demo site and tried it, it worked. I
> > think
> > > > the issue may be not understanding its function.
> > > >
> > > > I "bought" an item (didnt bother with a quantity so it defaulted to 1),
> > it
> > > > appeared on a list above, then I choose another category. The
> > > > items in the
> > > > new category appeared, but no cart contents above, until I pressed the
> > BUY
> > > > LIST... it then revealed a list of items a had bought so far.
> > > >
> > > > Gaz
> > > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 9
> > > From: "Garry" <gazonice@yahoo.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Subject: Re: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 21:24:36 +0100
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > cookies enabled on the browser ???
> > >
> > >
> > > G
> > >
> > >
> > > ----- Original Message -----
> > > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Sent: Wednesday, June 13, 2001 9:15 PM
> > > Subject: RE: [ic] "Buy List" button
> > >
> > >
> > > > Nope. I just went to the site and started "shopping".
> > > >
> > > > -phillip
> > > >
> > > > > -----Original Message-----
> > > > > From: interchange-users-admin@developer.akopia.com
> > > > > [mailto:interchange-users-admin@developer.akopia.com]On
> Behalf Of Curt
> > > > > Hauge
> > > > > Sent: Wednesday, June 13, 2001 2:56 PM
> > > > > To: interchange-users@developer.akopia.com
> > > > > Subject: RE: [ic] "Buy List" button
> > > > >
> > > > >
> > > > > I just tried it at Red Hat also and it didn't work either, but it
> > > > > does work
> > > > > on my sites. Perhaps you had logged in as administrator (as I had) on
> > > the
> > > > > Red Hat site?
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 10
> > > From: "Guy Soudant" <soudant@home.nl>
> > > To: <interchange-users@developer.akopia.com>
> > > Date: Wed, 13 Jun 2001 22:24:23 +0200
> > > Subject: [ic] One Option with many products
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > Hi,
> > >
> > > I am running IC version 4.7.2, and I want to use the following feature.
> > > I have about 1000 products in my database and I want to give them
> > > options. But there are ranges of products that carry the same options.
> > > You can imagine that I have 100 different t-shirts, but they all come in
> > > size M, L, and XL. I entered some goods, but as you might imagine I was
> > > getting fed up with entering all these options manually. I have searched
> > > the archive, but I cannot find any information on how to accomplish
> > > this. Does anyone know how to do this. If so, could you give some tips
> > > on how to do this.
> > >
> > > Thank you
> > >
> > > Regards
> > >
> > > Guy Soudant
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 11
> > > From: "Guy Soudant" <soudant@home.nl>
> > > To: <interchange-users@developer.akopia.com>
> > > Date: Wed, 13 Jun 2001 22:30:37 +0200
> > > Subject: [ic] cc number through e-mail
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > Hi,
> > >
> > > I am running IC version 4.7.2. Since there is no pgp or gpg encryption
> > > software on my host's server, I cannot encrypt CC numbers. I have
> > > therefor decided to send them to me through e-mail (as this reduces the
> > > risk in comparison to storing the cc numbers on the server, which I do
> > > not want). But I have looked through the code of the report file,
> > > payment file, and order file, but I'm not able to get the full
> > > creditcard number in the e-mail (I get something like 41**1111 which is
> > > the value of mv_credit_card_reference). Can someone tell me what I need
> > > to do to get the cc number through e-mail send to me? I know this is
> > > risky, but it's the only option I have right now.
> > >
> > > Thank you
> > >
> > > Regards
> > >
> > > Guy Soudant
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 12
> > > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > > To: <interchange-users@developer.akopia.com>
> > > Subject: RE: [ic] "Buy List" button
> > > Date: Wed, 13 Jun 2001 15:32:50 -0500
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > nope. I'm using Win98, but I'm behind a Linux firewall. (iptables) No
> > > proxying is being done.
> > >
> > > -phillip
> > >
> > >
> > > > -----Original Message-----
> > > > From: interchange-users-admin@developer.akopia.com
> > > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> > > > Michael Soflin
> > > > Sent: Wednesday, June 13, 2001 3:28 PM
> > > > To: 'interchange-users@developer.akopia.com'
> > > > Subject: RE: [ic] "Buy List" button
> > > >
> > > >
> > > > I had this same error. Are you behind a Microsoft proxy using
> > > > IE5+? If so, try disabling the proxy in your browser......
> > > >
> > > > Hope this helps.
> > > >
> > > > MS
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 13
> > > From: "Curt Hauge" <chc@mninter.net>
> > > To: <interchange-users@developer.akopia.com>
> > > Date: Wed, 13 Jun 2001 15:35:21 -0500
> > > Subject: [ic] Separate Items No - produces undesirable results
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
> > >
> > > Dear list,
> > >
> > > After setting Separate Items to No in catalog.cfg, I discovered
> what seems
> > > to be a problem, perhaps a bug. I have duplicated this on the
> Red Hat demo
> > > site 2 http://demo.akopia.com/cgi-bin/ic2/index.html?mv_pc=157. After
> > > purchasing several items and going to checkout, if you hit the 'back'
> > button
> > > once or twice on your browser and order another item which is already in
> > > your basket, it *may* (usually does) add one to the wrong item in the
> > > basket. It may take a little bangin' around, going from checkout and back
> > to
> > > re-order, but it fails sooner or later. Am I missing something? Is there
> > > more to setting Separate Items to No than just that? I did not find any
> > > other info in the archives or the docs pertaining to this.
> > >
> > > Thanks everyone!
> > >
> > > Curt Hauge
> > >
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 14
> > > From: "Tim Mirecki" <tim@q5.ca>
> > > To: <interchange-users@developer.akopia.com>
> > > Date: Wed, 13 Jun 2001 16:47:20 -0400
> > > Subject: [ic] Calculating quantity of items
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > I am trying to figure out the best way to calculate this: if someone hits
> > > "Add Item" 5 times, instead of adding the quantity of 5, how can I
> > coagulate
> > > these into ONE item in the cart instead of 5 separate items?
> > >
> > > Thanks,
> > >
> > > Tim
> > >
> > >
> > > -- __--__--
> > >
> > > Message: 15
> > > Date: Wed, 13 Jun 2001 16:49:52 -0400
> > > From: Mark Johnson <markj@redhat.com>
> > > Organization: Red Hat E-Business Solutions
> > > To: interchange-users@developer.akopia.com
> > > Subject: Re: [ic] Database Handle and Global Subs
> > > Reply-To: interchange-users@lists.akopia.com
> > >
> > > Sheamus Nulty wrote:
> > > >
> > > > Mark,
> > > >
> > > > My problem is with the if statement because for some reason its just
> > > > printing what ever I put after it. If I put the following on a page and
> > run
> > > > it
> > > >
> > > > [pdfcreate foo="[cgi orders]"]
> > > >
> > > > my pdfs are generated. However if I do the following
> > > >
> > > > [set print]1[/set]
> > > > [if scratch print]
> > > > [pdfcreate foo="[cgi orders]"]
> > > > [/if]
> > > >
> > > > what gets returned in the browser is
> > > >
> > > > [pdfcreate foo="[cgi orders]"] as text and no pdfs are generated.
> > > >
> > > > Sheamus
> > > >
> > >
> > > I'm with you. I can't see anything wrong with that. Perhaps you could
> > > post the block of code that all relates to this so I can see if
> > > something around the code is causing problems. Generally speaking, the
> > > only reason you should see [pdfcreate...] as text is if that usertag
> > > isn't defined. But, if it's interpolating outside the if block, then
> > > clearly it's defined.
> > >
> > > If you get desperate, you can always recode your usertag to handle the
> > > if conditions internally. Something like:
> > >
> > > [set print]1[/set]
> > > [pdfcreate foo="[cgi orders]" scratchif=print]
> > >
> > > Then, in pdfcreate before any other code is executed (assuming you put
> > > the second param into the same-named scalar):
> > >
> > > return undef unless $Scratch->{ $scratchif };
> > >
> > > I only say this because, frankly, I have no clue why an if block would
> > > keep IC tags from interpolating.
> > >
> > > --
> > > Mark Johnson
> > > Senior Systems Architect - Professional Services
> > > Red Hat, Inc.
> > > E-Business Solutions
> > > markj@redhat.com
> > > 703-456-2912
> > >
> > >
> > > -- __--__--
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > >
> > > End of Interchange-users Digest
> >
> >
> >
> > --__--__--
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > End of Interchange-users Digest
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (kyle at invisio.com)
Date: Wed Jun 13 18:28:00 2001
Subject: [ic] Calculating quantity of items
At 05:38 PM 6/13/01 , you wrote:
>Hi Mike:
>
>Thanks, that's not so hard after all! The only thing is, however, I would
>like to put items with the same SKU on a different line UNLESS they have the
>same options. My options each have their own unique code, is there a way to
>do this?
>
You could use a custom usertag like the one below.
Set seperateitems to yes in catalog.cfg
and add the tag [basket_combine] at the top of the
basket page.
Note: this worked with MV 3 and 4, have not tried with IC, but
I believe it should work.
UserTag basket_combine Order quantity
UserTag basket_combine Routine <<EOR
sub {
my $cart = $Vend::Items;
# Combine all similar products if attributes match
for (my $x=0;$x < @$cart;$x++) {
REMAIN: for (my $y=$x+1;$y < @$cart;$y++) {
# now check if 'code' (sku) matches
next REMAIN unless ($$cart[$x]{code} eq $$cart[$y]{code});
foreach (keys %{ $$cart[$y] }) {
# now check that all attributes match (except qty of course)
next REMAIN unless ($_ =~ /quantity/i ||
$$cart[$x]{$_} eq $$cart[$y]{$_});
}
# we have checked all atb's match, so combine item qty's
$$cart[$x]{quantity} += $$cart[$y]{quantity};
# now remove this duplicate
splice(@$cart, $y, 1);
}
}
return '';
}
EOR
Kyle Cook
From: interchange-users at lists.akopia.com (Shawn Hamzee)
Date: Wed Jun 13 18:30:01 2001
Subject: [ic] login problems
I've installed Interchange 4.6.5 successfully. i can login to the public
site as a customer without any problems: can see their shipping/billing
infor etc.
what i can't do is to login to the admin section. can you guys tell me how
I'd login to the admin section for the first time. I looked at access.asc
and tried :backup as login and * as password and suffice to say it didn't
work otherwise i wouldn't be writing this.
much obliged,
shawn hamzee
pma
columbus, ohio
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Wed Jun 13 18:42:00 2001
Subject: [ic] [Checked]
I have 9 <input type="checkbox">'s
By default none are checked. So far so good.
if the user clicks it and submits it, it is fine, if there is a error
the page is displayed and they are given the errors of what they
forgot to fill out. boxes are still checked appropriately.
IF they unclick one of the 9 boxes (which aren't required) and they
submit if the page is redrawn (cause of errors) the boxes are checked
again.
Checked the docs used some examples. no luck. I just need it so that
if they uncheck a box it stays unchecked.
Anyone have any snippets of code?
checked reference http://interchange.redhat.com/cgi-bin/ic/dev/ictags_14.html
Ven
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Wed Jun 13 18:56:01 2001
Subject: [ic] [Checked]
Victor Nolton <ven@pragakhan.com> writes:
> I have 9 <input type="checkbox">'s
> By default none are checked. So far so good.
> if the user clicks it and submits it, it is fine, if there is a error
> the page is displayed and they are given the errors of what they
> forgot to fill out. boxes are still checked appropriately.
>
> IF they unclick one of the 9 boxes (which aren't required) and they
> submit if the page is redrawn (cause of errors) the boxes are checked
> again.
>
> Checked the docs used some examples. no luck. I just need it so that
> if they uncheck a box it stays unchecked.
>
> Anyone have any snippets of code?
> checked reference http://interchange.redhat.com/cgi-bin/ic/dev/ictags_14.html
This is somewhat difficult because only checked boxes are passed
by CGI, so the value isn't reset. My formel tag should handle
this appropriately.
Example:
[formel name=Loesung type=radio choices="89.90 DM=89.90 ,99.- DM=99.- ,109.- DM=109.-" format="<TR><TD VALIGN=MIDDLE WIDTH=450 COLSPAN=3><FONT SIZE=1 FACE=Verdana,Arial,Helvetica,sans-serif>%s%s</FONT></TD></TR>"]
Ciao
Rakce
#
# UserTag formel - see POD documentation for more information
#
# Copyright 2000,2001 by Stefan Hornburg (Racke) <racke@linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA.
UserTag formel Order label name type size
UserTag formel Version 0.07
UserTag formel addAttr
UserTag formel Routine <<EOF
sub {
my ($label, $name, $type, $size, $opt) = @_;
my ($labelhtml, $elhtml, $fmt);
my $contrast = $::Variable->{CONTRAST} || 'red';
my $checkfor = $opt->{'checkfor'} || $name;
my $sizestr = '';
my $labelproc;
$labelproc = sub {
my ($label, $keep) = @_;
if ($Tag->error({name => $checkfor, keep => $keep})) {
if ($opt->{signal}) {
sprintf($opt->{signal}, $label);
} else {
qq{<font color="$contrast">$label</font>};
}
} else {
$label;
}
};
# set defaults
$type = 'text' unless $type;
for ('format', 'order', 'reset', 'signal', 'size') {
next if $opt->{$_};
if ($::Values->{"mv_formel_$_"}) {
$opt->{$_} = $::Values->{"mv_formel_$_"};
}
}
if ($opt->{'format'}) {
$fmt = $opt->{'format'};
} else {
$fmt = '%s %s %s';
}
if ($opt->{'size'}) {
if ($type eq 'textarea') {
my ($cols, $rows) = split (/\s*[,x\s]\s*/, $opt->{'size'});
$sizestr = " rows=$rows cols=$cols";
} else {
$sizestr = " size=$opt->{size}";
}
}
if ($opt->{'maxlength'}) {
$sizestr .= " maxlength=$opt->{maxlength}";
}
if ($type eq 'radio' || $type eq 'checkbox') {
my ($rlabel, $rvalue, $select);
for my $button (split (/\s*,\s*/, $opt->{choices})) {
$select = '';
if ($button =~ /^(.*?)=(.*)$/) {
$rvalue = $1;
$rlabel = $2;
} else {
$rvalue = $rlabel = $button;
}
if ($::Values->{$name} eq $rvalue) {
$select = ' checked';
}
$rlabel = &$labelproc($rlabel, 1);
$elhtml .= qq{<input type=$type name=$name value="${rvalue}"$select> $rlabel};
}
# delete error implicitly
&$labelproc();
return sprintf ($fmt, $labelhtml, $elhtml);
}
$labelhtml = &$labelproc($label);
if ($type eq 'select') {
my ($rlabel, $rvalue, $select);
for my $option (split (/\s*,\s*/, $opt->{choices})) {
$select = '';
if ($option =~ /^(.*?)=(.*)$/) {
$rvalue = $1;
$rlabel = $2;
} else {
$rvalue = $rlabel = $option;
}
if ($::Values->{$name} eq $rvalue) {
$select = ' selected';
}
if ($rvalue eq $rlabel) {
$elhtml .= qq{<option $select>$rlabel};
} else {
$elhtml .= qq{<option value="$rvalue"$select>$rlabel};
}
}
return sprintf ($fmt, $labelhtml,
qq{<select name=$name>$elhtml</select>});
}
if ($opt->{reset}) {
if ($type eq 'textarea') {
$elhtml = qq{<textarea name="${name}"$sizestr></textarea>};
} else {
$elhtml = qq{<input type=$type name="${name}"$sizestr>};
}
} else {
if ($type eq 'textarea') {
$elhtml = qq{<textarea name="${name}"$sizestr>$::Values->{$name}</textarea>};
} else {
$elhtml = qq{<input type=$type name=$name value="$::Values->{$name}"$sizestr>};
}
}
if ($opt->{order}) {
# display form element first
sprintf ($fmt, $elhtml, $labelhtml, $opt->{help});
} else {
# display label first
sprintf ($fmt, $labelhtml, $elhtml, $opt->{help});
}
}
EOF
UserTag formel Documentation <<EOD
=head2 formel
This tag generates a HTML form element. It preserves the user input from
the last display of the current page and looks for
input value errors (using the C<error> tag).
The user-visible description will be displayed
in the color defined by the variable C<CONTRAST> or in red if the
variable is not set.
Parameters for this tag are:
=over 4
=item label
The user-visible description of the form element's purpose.
=item name
The name of the form element which appears in the C<NAME>
attribute of the HTML tag.
=item type
The type of the form element (supported are text, textarea,
checkbox, radio and select).
=item size
The width of the form element. For textarea elements you can
specify width and height (e.g. 70x10 or 20,4).
=back
Other options are:
=item checkfor
The name which get passed to the Error tag. The default
is the name of the form element.
=item choices
Comma-separated list of choices for radio, checkbox and select types.
To display labels different from the values, use the
C<value1=label1,value2=label2,...> notation.
=item format
The container format string for the label and the form element.
The default is C<%s %s %s>.
=item help
Help text for this form element.
=item maxlength
Add attribute C<maxlength> to the input tag.
=item order
Whether the user-visible description or the form element
comes first. Default is the first (order=0).
=item reset
Discards the user input if set to 1.
=item signal
Label container in case of errors. The default is
<font color="__CONTRAST__">%s</font>. If the variable
CONTRAST doesn't exist, the color red is used instead.
=back
You can set defaults for format, order, reset, signal and size with the
corresponding mv_formel_... form variable values, e.g.:
[value name="mv_formel_format" set="<TR><TD>%s</TD><TD>%s</TD></TR>" hide=1]
[value name="mv_formel_order" set=1 hide=1]
[value name="mv_formel_signal" set="<BLINK>%s</BLINK>" hide=1]
To display the label and the form element seperately call C<formel> twice:
[formel label=Username: name=login format="%s"]
[formel name=login order=1 format="%s"]
You may add a help text for the form element.
[formel label=Username: name=login help="alphanumeric (5-10 characters)"]
EOD
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Corey Gilmore)
Date: Wed Jun 13 18:58:01 2001
Subject: [ic] MySQL Query
the first column is sku, in both the mysql db, and conference.txt.
My conference.mysql file in /dbconf looks like
Database conference conference.txt __SQLDSN__
#ifdef SQLUSER
Database conference USER __SQLUSER__
#endif
#ifdef SQLPASS
Database conference PASS __SQLPASS__
#endif
Database conference KEY sku
Database conference COLUMN_DEF "sku=char(14) NOT NULL PRIMARY KEY"
and i've tried dropping the database, removing products/conference.sql,
and re-importing (letting ic create the db) with no luck.
.cfg
On 13 Jun 2001, Stefan Hornburg (Racke) wrote:
> Corey Gilmore <cfg@dln.uvm.edu> writes:
>
> > Is there a way to get interchange to display the queries that its
> > executing?
> >
> > I get the following error when I try to update a field in the admin ui
> >
> > /cgi-bin/pp/ui.html No key 'sku' found for function='insert'
> > table='conference'
> >
> > and I want to see what query ic is trying to run.
>
> What is the name of the first column of table conference ?
>
> This error message is generated within update_data() in
> the main script (interchange).
>
> Ciao
> Racke
>
>
From: interchange-users at lists.akopia.com (John C. Beima)
Date: Wed Jun 13 19:12:00 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
John Beima wrote:
>
> Actually I may have a fix for it already...
>
> In the old catalog.cfg file the line:
>
> ScratchDefault mv_no_session_id 1
>
> Was commented out... If you leave it commented out and you are running your SSL
> through another domain this problem happens within 20 minutes... If you
> uncomment the line it seems to have gone away...
G'Day Stefan,
Nope I spoke too soon. It just takes longer now... The variable __IMAGE_DIR__
is being changed catalog wide... Since two of us werew looking at the site and
it changed at the same time for both of us and has stayed changed...
If you want to see it, you can see an example at www.giftblossom.com... I can
re-start the server and it will work for less than 30 minutes and then the
variable gets changed...
John Beima
>
> John Beima
>
> Quoting "Stefan Hornburg (Racke)" <racke@linuxia.de>:
>
> > John Beima <jbeima@palb.com> writes:
> >
> > > G'Day Folks,
> > >
> > > Has anyone else found that fairly often the new 4.7.3 will overwrite
> > the
> > > __IMAGE_DIR__ variable with the contents of possibly
> > __UI_IMAGE_DIR__?? What
> > > mine winds up with is /interchange/en_US/ then breaking the link to
> > all
> > > images... This might also be a per session problem... However the only
> > thing
> > > that seems to solve it is logging in to the admin pages and going
> > "Apply
> > > Changes"... Then it will work for a short period of time again...
> >
> > I didn't notice this problem, but the guys from Redhat and I have
> > added features for UI internationalization. So it is quite possible
> > we introduced some bogus behaviour. Please try to get this
> > problem reproducible.
> >
> > Bye
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 13 19:53:00 2001
Subject: [ic] [Checked]
At 06:46 PM 06/13/2001 -0400, you wrote:
>I have 9 <input type="checkbox">'s
>By default none are checked. So far so good.
>if the user clicks it and submits it, it is fine, if there is a error the
>page is displayed and they are given the errors of what they forgot to
>fill out. boxes are still checked appropriately.
>
>IF they unclick one of the 9 boxes (which aren't required) and they submit
>if the page is redrawn (cause of errors) the boxes are checked again.
>
>Checked the docs used some examples. no luck. I just need it so that if
>they uncheck a box it stays unchecked.
>
You just need to explicitly reset the value after displaying the input:
<input type=checkbox name=foo value=1 [checked foo 1]> Foo
[value name=foo set='' hide=1]
That way, the next time the form is submitted, foo will be empty
(unchecked) unless they check/leave checked the box. Note: when you have
multiple checkboxes for one variable name, this needs to change a bit:
<input type=checkbox name=foo value=1 [if value foo =~ /1/]checked[/if]> Foo 1
<input type=checkbox name=foo value=2 [if value foo =~ /2/]checked[/if]> Foo 2
... <!-- etc -->
[value name=foo set='' hide=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 lists.akopia.com (Dan B)
Date: Wed Jun 13 19:55:00 2001
Subject: [ic] Need an Email code that is automatic and annonomous
At 05:23 PM 6/12/2001 -0500, you wrote:
>Any body know of a way where I can have my customers email the dealer of
>each product right off the flypage annonousely, and automatic without having
>to retreive the dealer's email nor the cutsomer's email.
1. Please do not "reply" to the list-digest. Use your "To:" field instead.
2. Please research the documentation and mailing list for the "[email]" tag.
From: interchange-users at lists.akopia.com (Dan B)
Date: Wed Jun 13 20:11:00 2001
Subject: [ic] "Buy List" button
At 12:15 PM 6/13/2001 -0500, you wrote:
>I'm rather confused by the "Buy List" button in the construct demo site.
>Namely, it doesn't work. The source says that it's form action is a page
>called nothing.html. Of course, that doesn't exist.
>
>I thought it must have been a mistake that I made in setup, but then I
>noticed that it doesn't work on the demo store (on RedHat's site) either.
>
>Is there a template that I could look at for what nothing.html should
>contain?
>
>-phillip
Phillip, if I understand the code correctly for the Buy List button, it
goes to the "nothing" page only to set a reference page. If you look at
the mv_click and mv_check code, you see that it only uses the "nothing" to
be able to get back to the same page you were on ([history-scan stuff]).
Then again, it might be notifying aliens on Mars of your selection, given
my stellar perl parsing abilities.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Wed Jun 13 20:12:19 2001
Subject: [ic] cc number through e-mail
At 10:30 PM 6/13/2001 +0200, you wrote:
>Hi,
>
>I am running IC version 4.7.2. Since there is no pgp or gpg encryption
>software on my host's server, I cannot encrypt CC numbers. I have
>therefor decided to send them to me through e-mail (as this reduces the
>risk in comparison to storing the cc numbers on the server, which I do
>not want). But I have looked through the code of the report file,
>payment file, and order file, but I'm not able to get the full
>creditcard number in the e-mail (I get something like 41**1111 which is
>the value of mv_credit_card_reference). Can someone tell me what I need
>to do to get the cc number through e-mail send to me? I know this is
>risky, but it's the only option I have right now.
>
>Thank you
>
>Regards
>
>Guy Soudant
Should we report you to the Better Business Bureau now, or after the credit
cards have been fraudulently used?
BTW, I have a *totally* unrelated question. What was the ip address of
your mail server?
(I jest in humor).
Seriously, if your ISP has Interchange installed, might it be possible to
find a way to install some sort of encryption program? Some sort of perl
module that does GPG type stuff? (Anyone?)
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Steingrimur Steingrimsson)
Date: Wed Jun 13 20:14:02 2001
Subject: [ic] (no subject)
Unsubscripe
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Wed Jun 13 20:16:02 2001
Subject: [ic] [Checked]
>You just need to explicitly reset the value after displaying the input:
>
><input type=checkbox name=foo value=1 [checked foo 1]> Foo
>[value name=foo set='' hide=1]
>
>That way, the next time the form is submitted, foo will be empty
>(unchecked) unless they check/leave checked the box. Note: when you
>have multiple checkboxes for one variable name, this needs to change
>a bit:
>
><input type=checkbox name=foo value=1 [if value foo =~ /1/]checked[/if]> Foo 1
><input type=checkbox name=foo value=2 [if value foo =~ /2/]checked[/if]> Foo 2
>... <!-- etc -->
>[value name=foo set='' hide=1]
The problem i am having is if the form does not meet the error
checking (profile) it redisplays and tells them what they need to
fill out. if they uncheck an item and keep looping (not filling out
the data) the items are then rechecked. resetting it at the bottom
would work but they'd have to reclick everything they originally
wanted. so if they make 10 mistakes (yes Im sure there are some
people out there capable of this), they have to recheck their choices
each time.
Unless Im missing something.
I have to look at Rakce's code he just posted.
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Wed Jun 13 20:24:01 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
On Wed, 13 Jun 2001, John Beima wrote:
> Has anyone else found that fairly often the new 4.7.3 will overwrite the
> __IMAGE_DIR__ variable with the contents of possibly __UI_IMAGE_DIR__?? What
> mine winds up with is /interchange/en_US/ then breaking the link to all
> images... This might also be a per session problem... However the only thing
> that seems to solve it is logging in to the admin pages and going "Apply
> Changes"... Then it will work for a short period of time again...
Perhaps some more details would help:
Are you using the same browser to access the storefront and the admin?
Do you have cookies enabled or disabled?
Does the problem happen if you never access the admin after starting your
browser?
How many sessions from your IP address show up in the session list?
What pages have you visited in the admin?
I can understand how this could be bug, but it works fine for me. Even
when going back and forth between store and admin with the same session
ID, I don't have any trouble. Maybe your answers will shed more light.
Jon
From: interchange-users at lists.akopia.com (Dan B)
Date: Wed Jun 13 20:37:01 2001
Subject: [ic] [Checked]
At 08:18 PM 6/13/2001 -0400, you wrote:
>>You just need to explicitly reset the value after displaying the input:
>>
>><input type=checkbox name=foo value=1 [checked foo 1]> Foo
>>[value name=foo set='' hide=1]
>>
>>That way, the next time the form is submitted, foo will be empty
>>(unchecked) unless they check/leave checked the box. Note: when you have
>>multiple checkboxes for one variable name, this needs to change a bit:
>>
>><input type=checkbox name=foo value=1 [if value foo =~ /1/]checked[/if]>
>>Foo 1
>><input type=checkbox name=foo value=2 [if value foo =~ /2/]checked[/if]>
>>Foo 2
>>... <!-- etc -->
>>[value name=foo set='' hide=1]
>
>The problem i am having is if the form does not meet the error checking
>(profile) it redisplays and tells them what they need to fill out. if they
>uncheck an item and keep looping (not filling out the data) the items are
>then rechecked. resetting it at the bottom would work but they'd have to
>reclick everything they originally wanted. so if they make 10 mistakes
>(yes Im sure there are some people out there capable of this), they have
>to recheck their choices each time.
>
>Unless Im missing something.
>
>I have to look at Rakce's code he just posted.
BTW, Racke recently made some updates to his formel.tag usertag in the CVS
tree, so you might grab the latest version if you haven't already (it
should be in 4.7.3). It works with 4.6.x catalogs.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Wed Jun 13 20:41:00 2001
Subject: [ic] [Checked]
On Thu, Jun 14, 2001 at 12:49:33AM +0200, Stefan Hornburg (Racke) wrote:
> Victor Nolton <ven@pragakhan.com> writes:
>
> > I have 9 <input type="checkbox">'s
> > By default none are checked. So far so good.
> > if the user clicks it and submits it, it is fine, if there is a error
> > the page is displayed and they are given the errors of what they
> > forgot to fill out. boxes are still checked appropriately.
> >
> > IF they unclick one of the 9 boxes (which aren't required) and they
> > submit if the page is redrawn (cause of errors) the boxes are checked
> > again.
> >
> > Checked the docs used some examples. no luck. I just need it so that
> > if they uncheck a box it stays unchecked.
> >
> > Anyone have any snippets of code?
> > checked reference http://interchange.redhat.com/cgi-bin/ic/dev/ictags_14.html
>
> This is somewhat difficult because only checked boxes are passed
> by CGI, so the value isn't reset. My formel tag should handle
> this appropriately.
As long as your profile looks for the values specifically this is
not really a problem.
In other words from a possible selection of CHECKBOXes A-Z,
if you already have checked A,B,C,M,Q and you get back
B,C,Q,S then that is fine and long as the profile knows how to
rebuild the value. We typically keep it as an array or
delimited string, not as separate values; that probably makes
it easier.
--
There is another brute force way. You can set a second
HIDDEN VALUE=0 to unset the CHECKBOX. If the first one is not
checked (and therefore not sent) your hidden value will be found.
If it is checked, then the CHECKED value will be found. You want
to =~s/\000.*//; the value. This way gets into problems
with if($value) because it will exist when you might not expect
it.
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Brett Hooker)
Date: Wed Jun 13 21:52:01 2001
Subject: [ic] GST Calculation
It's the way the tax is presented to the consumer that is a little different.
All item prices must already have GST included in them, but when producing the final
invoice, the total GST on the invoice needs to shown on the total tax line. It's
basically a reverse calculation, per the following example:
Hat $10.00 (includes GST)
Socks $15.00 (includes GST)
GST $2.27 (total GST that was included in product prices)
Total $25.00
Therefore, I can't just use item prices that that ex-GST, and then just use "sales
tax" to add 10%.
So, hopefully that answers your questions on why I have to alter it.
Thanks,
Brett
John Beima wrote:
> Why would you have to alter it??? Is this a flat rate tax for the country? If so
> just change the tax filed to country and have it look for Australia and then
> give it the correct tax rate...
>
> Quoting Brett Hooker <brett.hooker@oracle.com>:
>
> > Has anyone altered the calculation engine to handle Australian GST?
> >
> > Thanks,
> > Brett
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (kyle at invisio.com)
Date: Wed Jun 13 22:48:00 2001
Subject: [ic] GST Calculation
Brett,
In this case, I would set the tax rate to 0 (no IC taxing) then where
appropriate
instead of the tax tag in your pages, use something like:
Tax: [currency][calc][subtotal noformat=1]/1.1[calc][/currency]
Not tested, but should work...
Kyle Cook
At 09:55 PM 6/13/01 , you wrote:
>It's the way the tax is presented to the consumer that is a little different.
>
>All item prices must already have GST included in them, but when producing
>the final
>invoice, the total GST on the invoice needs to shown on the total tax line.
>It's
>basically a reverse calculation, per the following example:
>
>Hat $10.00 (includes GST)
>Socks $15.00 (includes GST)
>GST $2.27 (total GST that was included in product prices)
>Total $25.00
>
>Therefore, I can't just use item prices that that ex-GST, and then just use
>"sales
>tax" to add 10%.
>
<SNIP>
From: interchange-users at lists.akopia.com (John Beima)
Date: Wed Jun 13 23:51:01 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
This has nothing to do with the admin pages...
Just surfing the site causes this problem...
As I stated below going to the admin pages and forcing a re-config on the
catalog fixes it...
Howeverteh variable file that is being used is from the cvs version 2 days prior
and I have yet to add the IMG_ADDCART etc variables...
John
Quoting Jon Jensen <jon@redhat.com>:
> On Wed, 13 Jun 2001, John Beima wrote:
>
> > Has anyone else found that fairly often the new 4.7.3 will overwrite
> the
> > __IMAGE_DIR__ variable with the contents of possibly
> __UI_IMAGE_DIR__?? What
> > mine winds up with is /interchange/en_US/ then breaking the link to
> all
> > images... This might also be a per session problem... However the only
> thing
> > that seems to solve it is logging in to the admin pages and going
> "Apply
> > Changes"... Then it will work for a short period of time again...
>
> Perhaps some more details would help:
>
> Are you using the same browser to access the storefront and the admin?
>
> Do you have cookies enabled or disabled?
>
> Does the problem happen if you never access the admin after starting
> your
> browser?
>
> How many sessions from your IP address show up in the session list?
>
> What pages have you visited in the admin?
>
> I can understand how this could be bug, but it works fine for me. Even
> when going back and forth between store and admin with the same session
> ID, I don't have any trouble. Maybe your answers will shed more light.
>
> Jon
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Ralph Alberti)
Date: Thu Jun 14 00:54:00 2001
Subject: [ic] Can't Get MySQL running with IC
OK. I've decided to reinstall everything and start from scratch.
If it all works. I'll let you know.
--Ralph
Ralph Alberti wrote:
>
> I keep getting the following error message when restarting IC:
>
> mydatabasename: error in configuration. Skipping.
>
> I create catalogs fine running the default IC database but cannot seem
> to get MySQL going. I seem to be able to create the database fine. It
> shows up in MySQL but with no tables created.
>
> Please help. I've completely reinstalled Linux, IC, Bundle::Interchange,
> etc... I've also made sure I configured MySQL correctly as I can create,
> drop, etc... on new databases I create. I've been messing around with
> this for about two weeks and still can't get it to work.
>
> Thanks for any suggestions.
>
> --Ralph
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (John Beima)
Date: Thu Jun 14 01:12:00 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
Wow was this ever a hard one to find...
Boy do you need a lot of ifs....
#01) UI must be in secure mode...
#02) SSL must be a different domain...
#03) Going into the UI https://www.domain2.com/cgi-bin/cat/admin/index works.
#04) Going into the UI http://www.domain1.com/cgi-bin/cat/admin/index and
letting the UI login screen hop you over to the SSL site causes this error...
It looks like it is possibly in the new image tag...
Actually just going back and doing step 03 fixes the problem...
The wierd thing is it is not session specific... Every visitor to the site from
then on in gets the wrong IMAGE_DIR variable...
John
Quoting Jon Jensen <jon@redhat.com>:
> On Wed, 13 Jun 2001, John Beima wrote:
>
> > Has anyone else found that fairly often the new 4.7.3 will overwrite
> the
> > __IMAGE_DIR__ variable with the contents of possibly
> __UI_IMAGE_DIR__?? What
> > mine winds up with is /interchange/en_US/ then breaking the link to
> all
> > images... This might also be a per session problem... However the only
> thing
> > that seems to solve it is logging in to the admin pages and going
> "Apply
> > Changes"... Then it will work for a short period of time again...
>
> Perhaps some more details would help:
>
> Are you using the same browser to access the storefront and the admin?
>
> Do you have cookies enabled or disabled?
>
> Does the problem happen if you never access the admin after starting
> your
> browser?
>
> How many sessions from your IP address show up in the session list?
>
> What pages have you visited in the admin?
>
> I can understand how this could be bug, but it works fine for me. Even
> when going back and forth between store and admin with the same session
> ID, I don't have any trouble. Maybe your answers will shed more light.
>
> Jon
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Brett Hooker)
Date: Thu Jun 14 01:28:01 2001
Subject: [ic] GST Calculation
Yes - that did it nicely. Walked through all the relevant templates and html and
changed all from Sales Tax to GST. I will now need to make all that code
conditional on Australian location... ughh... :)
"kyle@invisio.com" wrote:
> Brett,
>
> In this case, I would set the tax rate to 0 (no IC taxing) then where
> appropriate
> instead of the tax tag in your pages, use something like:
>
> Tax: [currency][calc][subtotal noformat=1]/1.1[calc][/currency]
>
> Not tested, but should work...
>
> Kyle Cook
>
> At 09:55 PM 6/13/01 , you wrote:
> >It's the way the tax is presented to the consumer that is a little different.
> >
> >All item prices must already have GST included in them, but when producing
> >the final
> >invoice, the total GST on the invoice needs to shown on the total tax line.
> >It's
> >basically a reverse calculation, per the following example:
> >
> >Hat $10.00 (includes GST)
> >Socks $15.00 (includes GST)
> >GST $2.27 (total GST that was included in product prices)
> >Total $25.00
> >
> >Therefore, I can't just use item prices that that ex-GST, and then just use
> >"sales
> >tax" to add 10%.
> >
> <SNIP>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Brett Hooker)
Date: Thu Jun 14 01:30:01 2001
Subject: [ic] Shipping Interface to Australia Post's DRC
Has anyone out there written a shipping interface to Australia Post's
Delivery Rate Calculator?
Thanks,
Brett
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Thu Jun 14 02:30:01 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
John Beima <jbeima@palb.com> writes:
> Wow was this ever a hard one to find...
>
> Boy do you need a lot of ifs....
>
> #01) UI must be in secure mode...
> #02) SSL must be a different domain...
> #03) Going into the UI https://www.domain2.com/cgi-bin/cat/admin/index works.
> #04) Going into the UI http://www.domain1.com/cgi-bin/cat/admin/index and
> letting the UI login screen hop you over to the SSL site causes this error...
> It looks like it is possibly in the new image tag...
> Actually just going back and doing step 03 fixes the problem...
>
> The wierd thing is it is not session specific... Every visitor to the site from
> then on in gets the wrong IMAGE_DIR variable...
Very well spotted, John. Congratulations. Mangling Config stuff is
fine, because it is not persistent, but we shouldn't touch
Variables as it seems. Jon, why we need to set IMAGE_DIR in
UI_STD_HEAD ?
Variable UI_STD_INIT <<EOV
[perl]
# determine catalog URL before mangling config URLs
$Scratch->{ui_catalog_url} = $Tag->area('index');
# replace ImageDir variables with UI equivalents to take advantage
# of Interchange's automatic image path rewriting
$Config->{ImageDirOriginal} = $Config->{ImageDir};
$Config->{ImageDirSecureOriginal} = $Config->{ImageDirSecure};
$Config->{ImageDir} = $Variable->{IMAGE_DIR} =
$Tag->image( { ui => 1, secure => 0, dir_only => 1 } );
$Config->{ImageDirSecure} =
$Tag->image( { ui => 1, secure => 1, dir_only => 1 } );
# force using secure URL for this page?
if ($Tag->var('UI_SECURE', 2)) {
$Config->{VendURL} = $Config->{SecureURL};
}
''
[/perl]
EOV
>
> John
>
>
>
> Quoting Jon Jensen <jon@redhat.com>:
>
> > On Wed, 13 Jun 2001, John Beima wrote:
> >
> > > Has anyone else found that fairly often the new 4.7.3 will overwrite
> > the
> > > __IMAGE_DIR__ variable with the contents of possibly
> > __UI_IMAGE_DIR__?? What
> > > mine winds up with is /interchange/en_US/ then breaking the link to
> > all
> > > images... This might also be a per session problem... However the only
> > thing
> > > that seems to solve it is logging in to the admin pages and going
> > "Apply
> > > Changes"... Then it will work for a short period of time again...
> >
> > Perhaps some more details would help:
> >
> > Are you using the same browser to access the storefront and the admin?
> >
> > Do you have cookies enabled or disabled?
> >
> > Does the problem happen if you never access the admin after starting
> > your
> > browser?
> >
> > How many sessions from your IP address show up in the session list?
> >
> > What pages have you visited in the admin?
> >
> > I can understand how this could be bug, but it works fine for me. Even
> > when going back and forth between store and admin with the same session
> > ID, I don't have any trouble. Maybe your answers will shed more light.
> >
> > Jon
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (root)
Date: Thu Jun 14 02:46:01 2001
Subject: [ic] Server Errors
check the premisson on the construct file in the cgi-bin make sure
it has the super user bit selected.
On Thu, 14 Jun 2001, you wrote:
> My car just died down the street, what caused it?
> (sorry, couldn't resist :-)
>
> Seriously though: check the error logs!
>
> apache logs, ic logs, cat logs etc.
>
> Without more info it is hard to say what is going on.
>
> Only suggestion at this point: try restart of ic and/or entire
> server..... (doesn't really answer your question though)
>
> Kyle Cook
>
>
> At 09:08 AM 6/13/01 , you wrote:
> >Over the last few days, interchange, or Apache, decide to all of a sudden
> >pop off 500 errors when accessing the site. Nothing has changed at all on
> >the server to cause this.
> >
> >Any clues?
> >
> >Thanks!
> >
> >Dan M
> >
> >
> >
> >
> >
> >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Thu Jun 14 02:54:01 2001
Subject: R: [ic] login problems
Usually you set up username and password when you install the catalog for
the first time.
try interchange as user, and pass for passw.
They are suggested by the makecat program as default
bye stefano
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di Shawn
Hamzee
Inviato: giovedė 14 giugno 2001 3.29
A: interchange-users@developer.akopia.com
Oggetto: [ic] login problems
I've installed Interchange 4.6.5 successfully. i can login to the public
site as a customer without any problems: can see their shipping/billing
infor etc.
what i can't do is to login to the admin section. can you guys tell me how
I'd login to the admin section for the first time. I looked at access.asc
and tried :backup as login and * as password and suffice to say it didn't
work otherwise i wouldn't be writing this.
much obliged,
shawn hamzee
pma
columbus, ohio
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Shawn Hamzee)
Date: Thu Jun 14 08:23:00 2001
Subject: [ic] login problems
your right. i found the hard way that the login is indeed interchange and
then i had to find out what the password is which i had forgotten.
eventually, i got in though.
thanks,
shawn
----- Original Message -----
From: "Stefano Nota" <stefano@register.it>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 13, 2001 11:57 PM
Subject: R: [ic] login problems
> Usually you set up username and password when you install the catalog for
> the first time.
> try interchange as user, and pass for passw.
>
> They are suggested by the makecat program as default
>
> bye stefano
>
> -----Messaggio originale-----
> Da: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]Per conto di Shawn
> Hamzee
> Inviato: giovedė 14 giugno 2001 3.29
> A: interchange-users@developer.akopia.com
> Oggetto: [ic] login problems
>
>
> I've installed Interchange 4.6.5 successfully. i can login to the public
> site as a customer without any problems: can see their shipping/billing
> infor etc.
>
> what i can't do is to login to the admin section. can you guys tell me how
> I'd login to the admin section for the first time. I looked at access.asc
> and tried :backup as login and * as password and suffice to say it didn't
> work otherwise i wouldn't be writing this.
>
> much obliged,
> shawn hamzee
> pma
> columbus, ohio
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Thu Jun 14 08:37:00 2001
Subject: [ic] "Buy List" button
Hi All,
One of the main reasons customers abandon their carts is confusion and
navigation problems. If we as developers are confused, what about the
customer? Who is going to explain to them why some items are displayed and
not others? The customer may wonder, "what has happened to other things I
ordered?' We chose to remove the buy list button and display the entire cart
contents including shipping and tax if logged in. The customer then knows
exactly what the are spending each time they add anything to their cart.
Keeps 'em buying and they follow through to checkout (the all important
choice).
Tim Watts
The Master's Hands Graphic Studio
410-239-7223
themastershands.com
From: interchange-users at lists.akopia.com (Trond Arve Nordheim)
Date: Thu Jun 14 08:57:00 2001
Subject: [ic] Unable to create new user accounts
Hi.
I've been looking in the Reference guide and Tag reference the last couple
of days for this, but haven't been able to fix this;
In the shop I'm setting up you have to register yourself before you can
submit the order. The user database is a MySQL database called "clients". I
have the following line in my catalog.cfg to define the name of the UserDB:
UserDB default database clients
So, in my new_account.html, I have:
[if session logged_in][bounce href="[area account]"][/if]
[if !scratch new]
[if session failure]
<p><font size="2"><b><font color="red">[data session
failure]</font></b></font>
[data base=session field=failure value=""]
</p>
[/if]
[else]
[set new][/set]
[/else]
[/if]
[set NewAccount]
[userdb function=new_account]
mv_nextpage=account
[else]
mv_nextpage=new_account
[/else]
[/if]
[/set]
<form action="[process-target]" method="post">
<input type="hidden" name="mv_click" value="NewAccount">
<input type="hidden" name="mv_doit" value="return">
<input type="hidden" name="function" value="new_account">
<input type="hidden" name="mv_nextpage" value="ord/basket">
-- snip --
(form fields mv_username, mv_password and mv_confirm is here)
-- snip --
</form>
Then, I enter the username password and a temporary password and submit.
After that, I get the register form back, with the following error message:
Unknown column 'test' in 'where clause'
It seems that Interchange executes a pretty bad SQL statement here, but I
can't find any way to debug them (for example make interchange print every
sql query to the error.log).
Have I done something wrong?
Can anyone give me a hint, or point me to the correct documentation?
Thanks!
--
Trond Arve Nordheim
From: interchange-users at lists.akopia.com (Garry)
Date: Thu Jun 14 09:01:01 2001
Subject: [ic] "Buy List" button
I agree,
Although simple re labelling of the button eliminated confusion with my
"guinea pigs"
My BUY LIST buttons now reads: "Your Basket Contents" but I may refine it
more if someone has a better suggestion.
My assistants did agree it was a useful button, once they knew what it was
for !
Gaz
----- Original Message -----
From: <Mstrshnds@aol.com>
To: <interchange-users@developer.akopia.com>
Sent: Thursday, June 14, 2001 1:41 PM
Subject: Re: [ic] "Buy List" button
> Hi All,
>
> One of the main reasons customers abandon their carts is confusion and
> navigation problems. If we as developers are confused, what about the
> customer? Who is going to explain to them why some items are displayed and
> not others? The customer may wonder, "what has happened to other things I
> ordered?' We chose to remove the buy list button and display the entire
cart
> contents including shipping and tax if logged in. The customer then knows
> exactly what the are spending each time they add anything to their cart.
> Keeps 'em buying and they follow through to checkout (the all important
> choice).
>
>
> Tim Watts
> The Master's Hands Graphic Studio
> 410-239-7223
> themastershands.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 14 09:06:01 2001
Subject: [ic] Interchange-users guidelines [semi-monthly posting]
interchange-users@lists.akopia.com is a list for users who have questions about
configuring, setting up, and fine tuning Interchange catalogs. Other topics
will include:
- announcements of Interchange releases and fixes
- notification and submission of Interchange bugs
- distributing pages which implement Interchange functions
- discussing the future development of Interchange
- any other topic relating *directly* to Interchange
The list started January 5, 1997 as minivend-users. For an archive of past
articles, see:
http://developer.akopia.com/archive/interchange-users/
Also, because the list has high volume for one of its type, before
posting to the list it is recommended that you use the search feature at:
http://developer.akopia.com/
Many questions can be answered by trying some keywords at this
facility. Try more than one combination.
It is common courtesy when posting to a forum such as this to:
1. Include the version of software you are using, i.e.
Interchange 4.6.1. Bugs are fixed and deficiencies corrected
in each release of Interchange, as with almost any software.
2. Include relevant information where appropriate.
The operating system in question is often relevant, as
is the Perl version and database type in use.
3. When talking about tag problems, include a snippet of ITL
tags which illustrates the problem.
4. When posting about PGP, Glimpse, or anything else that
uses an external command, you need to state what happens
when you run the same thing from the command line.
5. Include error log entries or a statement that there
are none.
If a post to this list doesn't include the relevant information, not only
are you unlikely to get a reasonable answer, you will add to the volume of
the list and make it less likely that reasonable questions are answered.
All entries are archived and available via a web gateway. The
"X-No-Archive: Yes" header is honored if you choose to use it.
List etiquette issues:
-- No HTML mail is allowed. Besides being improper email netiquette,
it destroys the digest.
-- Please try to keep your line size less than 80 characters.
-- No PGP signatures should be used. This is not a legal record.
-- No flame wars are tolerated.
-- No "courtesy copies" unless specifically requested. It
can be annoying to some people to receive two copies of
the same message.
-- If you must munge, make sure you mention this in the
BODY of the message and not buried incomprehensibly in
the header or in a cluttered signature attachment.
-- The list changes the Reply-To: header to point to the
list. While this is by popular demand, it is recognized that it
is not always the best mode of operation. You should reply by email
directly to the sender if the post will not be of general use.
For more information see the Netiquette RFC:
http://www.faqs.org/rfcs/rfc1855.html
Thanks for your cooperation. We believe we have one of the best user
lists going, and we would like to keep it useful and pleasant to use.
From: interchange-users at lists.akopia.com (rob)
Date: Thu Jun 14 09:11:01 2001
Subject: [ic] Problems with PGP
Hi,
I`m still having problems with PGP.
I don`t have root priviledges but have installed my PGP stuff in my local
home directory and , hopefully, correctly pointed to it.
The pertinent lines from the catalog.cfg file are as follows:
Variable ENCRYPTOR /usr/local/bin/pgp -feat
administrator<admin@chattyshoppers.com>
+pubring=/home3/chattyshoppers/.pgp/pubring.pgp+randseed=/home3/chattyshoppers/.pgp/randseed.bin
2>dev/null
Variable PGPPATH /home3/chattyshoppers/.pgp
and further down in the catalog.cfg
Route main pgp_cc_key /home3/chattyshoppers/.pgp
Route main pgp_key /home3/chattyshoppers/.pgp
I`ve also tried:
##Variable ENCRYPTOR /usr/local/bin/pgp -feat
administrator<admin@chattyshoppers.com>
and
#Route main pgp_cc_key ../../.pgp
#Route main pgp_key ../../.pgp
When I try and submit an order it gives me the error ``(Credit card
encryption failed: No such file or directory)``
It doesn`t seem to find PGP. Any help/suggestions would be much appreciated.
Rob
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Thu Jun 14 09:13:01 2001
Subject: [ic] Unable to create new user accounts
"Trond Arve Nordheim" <trond.arve@nordheim.no> writes:
[...]
>
> It seems that Interchange executes a pretty bad SQL statement here, but I
> can't find any way to debug them (for example make interchange print every
> sql query to the error.log).
Let MySQL write a log file and look there for the SQL statements
IC issues.
Bye
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Mike Heins)
Date: Thu Jun 14 09:17:01 2001
Subject: [ic] "Buy List" button
Quoting Mstrshnds@aol.com (Mstrshnds@aol.com):
> Hi All,
>
> One of the main reasons customers abandon their carts is confusion and
> navigation problems. If we as developers are confused, what about the
> customer? Who is going to explain to them why some items are displayed and
> not others? The customer may wonder, "what has happened to other things I
> ordered?' We chose to remove the buy list button and display the entire cart
> contents including shipping and tax if logged in. The customer then knows
> exactly what the are spending each time they add anything to their cart.
> Keeps 'em buying and they follow through to checkout (the all important
> choice).
>
I cannot agree more.
The "buy list" function was added over my protests, and I do recommend
that it be removed.
--
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 lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 09:29:01 2001
Subject: [ic] Problems with PGP
On Thu, Jun 14, 2001 at 10:13:54AM -0300, rob wrote:
> Hi,
>
> I`m still having problems with PGP.
>
> I don`t have root priviledges but have installed my PGP stuff in my local
> home directory and , hopefully, correctly pointed to it.
>
> Variable ENCRYPTOR /usr/local/bin/pgp -feat
> administrator<admin@chattyshoppers.com>
Unless your local home directory is /usr/local/bin, the path is wrong.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Rick Shank)
Date: Thu Jun 14 09:36:01 2001
Subject: [ic] Limiting Shipping based on cart?
Hello.
I'm running Interchange 4.6.4
A customer of mine would like this ability:
He sells fresh food. If someone orders something from the "Fresh Food"
category, they cannot have ground shipping as an option. Also, they must
have at least 5 lbs of overall goods in their cart to be able to checkout.
But for other items (hats, etc) by themselves (ie with no fresh food) then
they don't have a minimum order.
Also, I have a category list on the left that does a simple search to
display all items from one category. On the search results for the fresh
foods page, it needs to have a separate message on the bottom of the page
explaining the shipping rules.
Thanks a lot.
I'd appreciate it if u could copy me on any responses to this.
Thanks!
~Rick Shank
From: interchange-users at lists.akopia.com (Rick Shank)
Date: Thu Jun 14 09:38:00 2001
Subject: [ic] Limiting Shipping based on cart?
ello.
I'm running Interchange 4.6.4
A customer of mine would like this ability:
He sells fresh food. If someone orders something from the "Fresh Food"
category, they cannot have ground shipping as an option. Also, they must
have at least 5 lbs of overall goods in their cart to be able to checkout.
But for other items (hats, etc) by themselves (ie with no fresh food) then
they don't have a minimum order.
Also, I have a category list on the left that does a simple search to
display all items from one category. On the search results for the fresh
foods page, it needs to have a separate message on the bottom of the page
explaining the shipping rules.
Thanks a lot.
I'd appreciate it if u could copy me on any responses to this.
Thanks!
~Rick Shank
From: interchange-users at lists.akopia.com (Trond Arve Nordheim)
Date: Thu Jun 14 09:40:00 2001
Subject: [ic] Unable to create new user accounts
>From the MySQL log:
10 Query select client_id from clients where client_id = 'test'
10 Query select client_id from clients where client_id = 'test'
10 Query delete from clients where client_id = test
10 Query insert into clients (client_id) VALUES (test)
10 Query update clients SET password = '5p4c8TlI.RuPM' where client_id
= test
It's seems to be using client_id ( a integer auto_increment field ) as the
key, all though I set this in catalog.conf:
UserDB default key username
That clearly didn't work. I also wonder why it sets the password to that
random string when I specified the password 'test' in the mv_password and
mv_verify form fields.
Hrmf.
--
Trond Arve Nordheim
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
> Hornburg (Racke)
> Sent: 14. juni 2001 15:07
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Unable to create new user accounts
>
>
> "Trond Arve Nordheim" <trond.arve@nordheim.no> writes:
>
>
> [...]
>
> >
> > It seems that Interchange executes a pretty bad SQL statement
> here, but I
> > can't find any way to debug them (for example make interchange
> print every
> > sql query to the error.log).
>
> Let MySQL write a log file and look there for the SQL statements
> IC issues.
>
> Bye
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Thu Jun 14 09:51:01 2001
Subject: [ic] "Buy List" button
I'm basically a nobody around here, but I must respectfully disagree. I
have quite a few customers that absolutely love that feature in our current
system. I'm planning to replace our current system with IC, but only if I
can recreate the features my customers want.
Think of it as a laundry list... You set up a bunch of items that the
customers buys regularly. They log in, go to their list, add quantities,
buy list, and they're done. With a large list, you could save an enormous
chunk of time. The ability to save time is a major selling point for new
accounts. Granted, this might be a slightly specialized scenario, and it
mostly relates to B2B type commerce, but it's definitely useful.
-phillip
> -----Original Message-----
>
> The "buy list" function was added over my protests, and I do recommend
> that it be removed.
>
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 09:54:01 2001
Subject: [ic] Unable to create new user accounts
On Thu, Jun 14, 2001 at 03:42:45PM +0200, Trond Arve Nordheim wrote:
>
> That clearly didn't work. I also wonder why it sets the password to that
> random string when I specified the password 'test' in the mv_password and
> mv_verify form fields.
>
It isn't random, it's encrypted.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Thu Jun 14 09:55:13 2001
Subject: [ic] [Checked]
My turn :)
If I understand the problem correctly, it is that you want values true
by default, but false if the user has unchecked a given box and the page
reloads as the result of an error. The simple key is to set a unique
flag on that page. If the flag is present, then set the default values
according to what is in the CGI space (and specifically by what is not
in the CGI space); if not, set the values to true.
Since you didn't specify that your checkboxes were the same or different
elements, it's now twice as difficult to answer your question. Precision
is your friend. For either case, the page should contain something like
<input type=hidden name=error_reset_flag value=1>
(1) Different elements:
Say your boxes are foo1, foo2, foo3. At the top of the page:
[calc]
if ($CGI->{error_reset_flag}) {
foreach (qw/foo1 foo2 foo3/) {
$Values->{$_} = $CGI->{$_};
}
}
else {
@{ $Values }{qw/foo1 foo2 foo3/} = (qw/bar1 bar2 bar2/);
}
return;
[/calc]
With this configuration, you can simply use the
<input type=checkbox name=foo1 value=bar1 [checked foo1 bar1]>
syntax.
(2) Same elements:
Say your element is foo, and the three possible values are bar, baz, and
buz. Here, you should probably create your checkbox list dynamically to
make things easier. So, in place of your hard-coded checkbox list:
[calc]
my ($out,$value_list,%labels);
my @cbvalues = qw/bar buz baz/;
@labels{ @cbvalues } = ('Bar Label', 'Buz Label', 'Baz Label');
$value_list = $CGI->{error_reset_flag} ? $Values->{foo} : join ("\0",
@cbvalues);
foreach (@cbvalues) {
my $checked = '';
$checked = ' checked' if $value_list =~ /\b$_\b/;
$out .= qq!<input type=checkbox name=foo
value=$_$checked>$labels{$_}!;
}
return $out;
[/calc]
Both these snippets are untested, so I may have missed a little
something here or there. But, I believe the logic is what you want.
cfm@maine.com wrote:
>
> On Thu, Jun 14, 2001 at 12:49:33AM +0200, Stefan Hornburg (Racke) wrote:
> > Victor Nolton <ven@pragakhan.com> writes:
> >
> > > I have 9 <input type="checkbox">'s
> > > By default none are checked. So far so good.
> > > if the user clicks it and submits it, it is fine, if there is a error
> > > the page is displayed and they are given the errors of what they
> > > forgot to fill out. boxes are still checked appropriately.
> > >
> > > IF they unclick one of the 9 boxes (which aren't required) and they
> > > submit if the page is redrawn (cause of errors) the boxes are checked
> > > again.
> > >
> > > Checked the docs used some examples. no luck. I just need it so that
> > > if they uncheck a box it stays unchecked.
> > >
> > > Anyone have any snippets of code?
> > > checked reference http://interchange.redhat.com/cgi-bin/ic/dev/ictags_14.html
> >
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Trond Arve Nordheim)
Date: Thu Jun 14 09:59:01 2001
Subject: [ic] Unable to create new user accounts
Ah. Doh. ;)
Anyway, how do I make 'username' the KEY-field (where it's supposed to
insert the username).
And why isn't the username quoted in the last statement?
(update clients SET password = '5p4c8TlI.RuPM' where client_id = test)
--
Trond Arve Nordheim
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
> Kohles
> Sent: 14. juni 2001 15:46
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Unable to create new user accounts
>
>
> On Thu, Jun 14, 2001 at 03:42:45PM +0200, Trond Arve Nordheim wrote:
> >
> > That clearly didn't work. I also wonder why it sets the password to that
> > random string when I specified the password 'test' in the
> mv_password and
> > mv_verify form fields.
> >
> It isn't random, it's encrypted.
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 10:05:01 2001
Subject: [ic] "Buy List" button
On Thu, Jun 14, 2001 at 08:55:27AM -0500, Phillip A. Ryals wrote:
>
> Think of it as a laundry list... You set up a bunch of items that the
> customers buys regularly. They log in, go to their list, add quantities,
> buy list, and they're done. With a large list, you could save an enormous
> chunk of time. The ability to save time is a major selling point for new
> accounts. Granted, this might be a slightly specialized scenario, and it
> mostly relates to B2B type commerce, but it's definitely useful.
>
4.7 also has 'recurring orders' and 'saved carts' that do just this, you can
put a bunch of stuff in your cart, set it as a recurring order, and come
back and recreate the order with one click whenever you need to.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 10:10:00 2001
Subject: [ic] Unable to create new user accounts
On Thu, Jun 14, 2001 at 04:02:44PM +0200, Trond Arve Nordheim wrote:
> Ah. Doh. ;)
>
> Anyway, how do I make 'username' the KEY-field (where it's supposed to
> insert the username).
The easiest way to make sure its the first field in the .txt file when you
import, or to specify it in the configuration. Also make sure that you don't
have any COLUMN_DEF's that incorrectly set client_id as a primary key.
> And why isn't the username quoted in the last statement?
> (update clients SET password = '5p4c8TlI.RuPM' where client_id = test)
>
Because Interchange thinks its a numeric field, and numeric arguments don't
need quotes.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Thu Jun 14 10:19:00 2001
Subject: [ic] (no subject)
I want to "Unsubscripe" too :)
Steingrimur Steingrimsson wrote:
>
> Unsubscripe
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Dan McFarland)
Date: Thu Jun 14 10:58:01 2001
Subject: [ic] Server Errors
Yes, it does. It was working just fine until recently. No changes were
made to anything. It just decided not to work. Rebooting linux does
nothing. When IC restarts, you can get to it the first time, but then you
start getting 500 errors after the first few minutes. Keep hitting refresh
and eventually it gives you the page and does it all over again.
Dan M.
----- Original Message -----
From: root <ryan@whoopersnetwork.com>
To: <interchange-users@developer.akopia.com>
Sent: Thursday, June 14, 2001 1:42 AM
Subject: Re: [ic] Server Errors
> check the premisson on the construct file in the cgi-bin make sure
> it has the super user bit selected.
>
>
> On Thu, 14 Jun 2001, you wrote:
> > My car just died down the street, what caused it?
> > (sorry, couldn't resist :-)
> >
> > Seriously though: check the error logs!
> >
> > apache logs, ic logs, cat logs etc.
> >
> > Without more info it is hard to say what is going on.
> >
> > Only suggestion at this point: try restart of ic and/or entire
> > server..... (doesn't really answer your question though)
> >
> > Kyle Cook
> >
> >
> > At 09:08 AM 6/13/01 , you wrote:
> > >Over the last few days, interchange, or Apache, decide to all of a
sudden
> > >pop off 500 errors when accessing the site. Nothing has changed at all
on
> > >the server to cause this.
> > >
> > >Any clues?
> > >
> > >Thanks!
> > >
> > >Dan M
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jason Ballou)
Date: Thu Jun 14 11:04:00 2001
Subject: [ic] "Buy List" button
I've found that I have the page expired error but the
items are actually added to the cart only when using
my AOL testing account. It seems to work fine with IE
and Netscape.
Jason
--- Curt Hauge <chc@mninter.net> wrote:
> I just tried it at Red Hat also and it didn't work
> either, but it does work
> on my sites. Perhaps you had logged in as
> administrator (as I had) on the
> Red Hat site?
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> >
>
[mailto:interchange-users-admin@developer.akopia.com]On
> Behalf Of Garry
> > Sent: Wednesday, June 13, 2001 2:32 PM
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] "Buy List" button
> >
> >
> > No offence, but I went to the demo site and tried
> it, it worked. I think
> > the issue may be not understanding its function.
> >
> > I "bought" an item (didnt bother with a quantity
> so it defaulted to 1), it
> > appeared on a list above, then I choose another
> category. The
> > items in the
> > new category appeared, but no cart contents above,
> until I pressed the BUY
> > LIST... it then revealed a list of items a had
> bought so far.
> >
> > Gaz
> >
> >
> >
> > ----- Original Message -----
> > From: "Phillip A. Ryals"
> <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Sent: Wednesday, June 13, 2001 7:58 PM
> > Subject: RE: [ic] "Buy List" button
> >
> >
> > > Ya, I do that. And it doesn't work. I get:
> > >
> > > Sorry, the page (expired) was not found
> > >
> > > Now, the cart *does* update, but the page that
> you're taken to isn't
> > > there... hence the error. I've tried it with
> something in the
> > cart also,
> > > and I still get the same error.
> > >
> > > Try it on the public store demo
> (http://demo.akopia.com/cgi-bin/ic2) on
> > the
> > > interchange site. Pull up a list of items, give
> a few a quantity, and
> > click
> > > 'buy list'. It does this whether you're logged
> in or not.
> > >
> > > -phillip
> > >
> > > > -----Original Message-----
> > > >
> > > > I can't tell you about area nothing, but my
> experience with
> > the buy list
> > > > button is that you have to fill in one or more
> of the quantity text
> > boxes
> > > > and click on buy list. It will add a line
> item in your cart for
> > > > every item
> > > > with an associated quantity. Unlike the buy
> button, it doesn't
> > > > default to a
> > > > quantity of one.
> > > >
> > > > -- Randy
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > >
>
http://lists.akopia.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@lists.akopia.com
> >
>
http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
>
http://lists.akopia.com/mailman/listinfo/interchange-users
__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Thu Jun 14 11:19:01 2001
Subject: R: [ic] Server Errors
What does the error log say in the catalog?
If you don't tell which is the error nobody can help you.
Check error log, will be esier
bye stefano
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di Dan
McFarland
Inviato: giovedė 14 giugno 2001 15.58
A: interchange-users@developer.akopia.com
Oggetto: Re: [ic] Server Errors
Yes, it does. It was working just fine until recently. No changes were
made to anything. It just decided not to work. Rebooting linux does
nothing. When IC restarts, you can get to it the first time, but then you
start getting 500 errors after the first few minutes. Keep hitting refresh
and eventually it gives you the page and does it all over again.
Dan M.
----- Original Message -----
From: root <ryan@whoopersnetwork.com>
To: <interchange-users@developer.akopia.com>
Sent: Thursday, June 14, 2001 1:42 AM
Subject: Re: [ic] Server Errors
> check the premisson on the construct file in the cgi-bin make sure
> it has the super user bit selected.
>
>
> On Thu, 14 Jun 2001, you wrote:
> > My car just died down the street, what caused it?
> > (sorry, couldn't resist :-)
> >
> > Seriously though: check the error logs!
> >
> > apache logs, ic logs, cat logs etc.
> >
> > Without more info it is hard to say what is going on.
> >
> > Only suggestion at this point: try restart of ic and/or entire
> > server..... (doesn't really answer your question though)
> >
> > Kyle Cook
> >
> >
> > At 09:08 AM 6/13/01 , you wrote:
> > >Over the last few days, interchange, or Apache, decide to all of a
sudden
> > >pop off 500 errors when accessing the site. Nothing has changed at all
on
> > >the server to cause this.
> > >
> > >Any clues?
> > >
> > >Thanks!
> > >
> > >Dan M
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Thu Jun 14 11:20:20 2001
Subject: [ic] [Checked]
At 08:18 PM 06/13/2001 -0400, you wrote:
>>You just need to explicitly reset the value after displaying the input:
>>
>><input type=checkbox name=foo value=1 [checked foo 1]> Foo
>>[value name=foo set='' hide=1]
>>
>>That way, the next time the form is submitted, foo will be empty
>>(unchecked) unless they check/leave checked the box. Note: when you have
>>multiple checkboxes for one variable name, this needs to change a bit:
>>
>><input type=checkbox name=foo value=1 [if value foo =~ /1/]checked[/if]>
>>Foo 1
>><input type=checkbox name=foo value=2 [if value foo =~ /2/]checked[/if]>
>>Foo 2
>>... <!-- etc -->
>>[value name=foo set='' hide=1]
>
>The problem i am having is if the form does not meet the error checking
>(profile) it redisplays and tells them what they need to fill out. if they
>uncheck an item and keep looping (not filling out the data) the items are
>then rechecked. resetting it at the bottom would work but they'd have to
>reclick everything they originally wanted. so if they make 10 mistakes
>(yes Im sure there are some people out there capable of this), they have
>to recheck their choices each time.
>
>Unless Im missing something.
You are. Their choices from the last go around will be reflected in the
checked / unchecked setting of each box *in the html*. The [value ...] is
reset at the end to clear that element of the interchange Value hash (like
$Values->{foo} = '') so that the 'memory' of the value does not override
the next form submission, which is what is happening to you now.
- Ed L.
>I have to look at Rakce's code he just posted.
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Mike Heins)
Date: Thu Jun 14 11:24:01 2001
Subject: [ic] "Buy List" button
Quoting me:
> >
> > The "buy list" function was added over my protests, and I do recommend
> > that it be removed.
>
>Quoting Phillip A. Ryals (support@admiralexpress.com):
> I'm basically a nobody around here, but I must respectfully disagree. I
> have quite a few customers that absolutely love that feature in our current
> system. I'm planning to replace our current system with IC, but only if I
> can recreate the features my customers want.
>
> Think of it as a laundry list... You set up a bunch of items that the
> customers buys regularly. They log in, go to their list, add quantities,
> buy list, and they're done. With a large list, you could save an enormous
> chunk of time. The ability to save time is a major selling point for new
> accounts. Granted, this might be a slightly specialized scenario, and it
> mostly relates to B2B type commerce, but it's definitely useful.
>
Bear in mind that I am in no way advocating that this should not be allowed --
the flexibility of Interchange is that you can do whatever you want. And I
am not against adding features, as should be obvious, 8-) but I am very
definitely against checkout complexity for most stores.
The buy-list function is something only a purchasing agent can love, IMHO.
Since most IC catalogs are B2C, it should not be a default option, again
in my opinion. For B2C, simple is best. I am pretty good at this stuff, but
if an online purchase gets too complicated, guess what? I give it up. I don't
have time to appreciate the subtleties of a complex interface unless it is
something I am going to be using frequently.
One thing that would help is if we displayed the cart at the top of the
results all of the time once someone buys from the list. What is probably
most confusing is the disappearing cart.
--
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 lists.akopia.com (Sheamus Nulty)
Date: Thu Jun 14 11:27:59 2001
Subject: [ic] Database Handle and Global Subs
----- Original Message -----
From: "Mark Johnson" <markj@redhat.com>
To: <interchange-users@developer.akopia.com>
Sent: 13 June 2001 21:49
Subject: Re: [ic] Database Handle and Global Subs
> Sheamus Nulty wrote:
> >
> > Mark,
> >
> > My problem is with the if statement because for some reason its just
> > printing what ever I put after it. If I put the following on a page and
run
> > it
> >
> > [pdfcreate foo="[cgi orders]"]
> >
> > my pdfs are generated. However if I do the following
> >
> > [set print]1[/set]
> > [if scratch print]
> > [pdfcreate foo="[cgi orders]"]
> > [/if]
> >
> > what gets returned in the browser is
> >
> > [pdfcreate foo="[cgi orders]"] as text and no pdfs are generated.
> >
> > Sheamus
> >
>
> I'm with you. I can't see anything wrong with that. Perhaps you could
> post the block of code that all relates to this so I can see if
> something around the code is causing problems. Generally speaking, the
> only reason you should see [pdfcreate...] as text is if that usertag
> isn't defined. But, if it's interpolating outside the if block, then
> clearly it's defined.
>
> If you get desperate, you can always recode your usertag to handle the
> if conditions internally. Something like:
>
> [set print]1[/set]
> [pdfcreate foo="[cgi orders]" scratchif=print]
>
> Then, in pdfcreate before any other code is executed (assuming you put
> the second param into the same-named scalar):
>
> return undef unless $Scratch->{ $scratchif };
>
> I only say this because, frankly, I have no clue why an if block would
> keep IC tags from interpolating.
>
I'v setup the following. I have a global sub defined as follows in my
interchange.cfg file
GlobalSub <<EOF
sub pdfshea {
my $counter=5;
return "$counter";
}
EOF
I then run the following
[set print]1[/set]
[if scratch print]
[pdfshea]
[/if]
and it just prints out [pdfshea] to the webpage. So I'm of the opinion that
[if] will just print out what comes after it .
If this is the case is my only alternative the solution you provided.
Thanks
Sheamus
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Thu Jun 14 11:30:01 2001
Subject: [ic] Problems with PGP
At 10:13 AM 06/14/2001 -0300, you wrote:
>Hi,
>
>I`m still having problems with PGP.
>
>I don`t have root priviledges but have installed my PGP stuff in my local
>home directory and , hopefully, correctly pointed to it.
>
>The pertinent lines from the catalog.cfg file are as follows:
>
>Variable ENCRYPTOR /usr/local/bin/pgp -feat
>administrator<admin@chattyshoppers.com>
>+pubring=/home3/chattyshoppers/.pgp/pubring.pgp+randseed=/home3/chattyshoppers/.pgp/randseed.bin
>2>dev/null
This is probably wrong. First, did you test the pgp binary which you
installed in you directory? Try encrypting a text file with the
administrator public key on the command line. If that works, then the path
info is wrong. Instead of /usr/local/bin it should be
/home3/chattyshoppers/pgp or /home3/chattyshoppers/bin/pgp, depending upon
where you put the binary.
- Ed L.
>Variable PGPPATH /home3/chattyshoppers/.pgp
>
>and further down in the catalog.cfg
>
>Route main pgp_cc_key /home3/chattyshoppers/.pgp
>Route main pgp_key /home3/chattyshoppers/.pgp
>
>I`ve also tried:
>
> ##Variable ENCRYPTOR /usr/local/bin/pgp -feat
> administrator<admin@chattyshoppers.com>
>
>and
>
>#Route main pgp_cc_key ../../.pgp
>#Route main pgp_key ../../.pgp
>
>When I try and submit an order it gives me the error ``(Credit card
>encryption failed: No such file or directory)``
>
>It doesn`t seem to find PGP. Any help/suggestions would be much appreciated.
>
>Rob
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Phillip A. Ryals)
Date: Thu Jun 14 11:38:00 2001
Subject: [ic] "Buy List" button
That's groovy.
So when will 4.7 be released as stable?
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
> Kohles
> Sent: Thursday, June 14, 2001 8:57 AM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] "Buy List" button
>
>
> On Thu, Jun 14, 2001 at 08:55:27AM -0500, Phillip A. Ryals wrote:
> >
> > Think of it as a laundry list... You set up a bunch of items that the
> > customers buys regularly. They log in, go to their list, add
> quantities,
> > buy list, and they're done. With a large list, you could save
> an enormous
> > chunk of time. The ability to save time is a major selling
> point for new
> > accounts. Granted, this might be a slightly specialized
> scenario, and it
> > mostly relates to B2B type commerce, but it's definitely useful.
> >
> 4.7 also has 'recurring orders' and 'saved carts' that do just
> this, you can
> put a bunch of stuff in your cart, set it as a recurring order, and come
> back and recreate the order with one click whenever you need to.
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Thu Jun 14 11:46:02 2001
Subject: [ic] Calculating quantity of items
Hey Kyle:
Thanks it works quite well with Interchange 4.7.2! However there is one very
minor issue. I have links that are updating another frame on the site to add
them to the cart. (using something like this: a
href="mv_order_item=code&mv_action=return" target="top") This allows the
user to rapidly add items to the cart. Sometimes it will combine SOME of the
items, but not all. I even got it into three groups once, so that the same
item was listed 3 times, each one with a different quantity (This is fine,
however, since the total quantity is correct).
I can live with this, I don't really see it as being a problem...we'll see.
If you have any suggestions, please let me know. Thanks for the help!
Tim
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
kyle@invisio.com
Sent: Wednesday, June 13, 2001 3:35 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Calculating quantity of items
At 05:38 PM 6/13/01 , you wrote:
>Hi Mike:
>
>Thanks, that's not so hard after all! The only thing is, however, I would
>like to put items with the same SKU on a different line UNLESS they have
the
>same options. My options each have their own unique code, is there a way to
>do this?
>
You could use a custom usertag like the one below.
Set seperateitems to yes in catalog.cfg
and add the tag [basket_combine] at the top of the
basket page.
Note: this worked with MV 3 and 4, have not tried with IC, but
I believe it should work.
UserTag basket_combine Order quantity
UserTag basket_combine Routine <<EOR
sub {
my $cart = $Vend::Items;
# Combine all similar products if attributes match
for (my $x=0;$x < @$cart;$x++) {
REMAIN: for (my $y=$x+1;$y < @$cart;$y++) {
# now check if 'code' (sku) matches
next REMAIN unless ($$cart[$x]{code} eq $$cart[$y]{code});
foreach (keys %{ $$cart[$y] }) {
# now check that all attributes match (except qty of course)
next REMAIN unless ($_ =~ /quantity/i ||
$$cart[$x]{$_} eq $$cart[$y]{$_});
}
# we have checked all atb's match, so combine item qty's
$$cart[$x]{quantity} += $$cart[$y]{quantity};
# now remove this duplicate
splice(@$cart, $y, 1);
}
}
return '';
}
EOR
Kyle Cook
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Thu Jun 14 11:47:25 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> Very well spotted, John. Congratulations. Mangling Config stuff is
> fine, because it is not persistent, but we shouldn't touch Variables
> as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
I can't remember why I set that originally. It doesn't seem to be
necessary, so I took it out. John, let me know if that fixes your problem.
Jon
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Thu Jun 14 11:59:00 2001
Subject: [ic] "Buy List" button
"Phillip A. Ryals" <support@admiralexpress.com> writes:
> That's groovy.
>
> So when will 4.7 be released as stable?
As usual, when it is finished and really thought of as stable.
I don't know exactly what is left on RedHat's list for new features, but
AFAIK UI internationalization will completed before
going for stable. Testing 4.7.x will help a lot :-)
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (John Beima)
Date: Thu Jun 14 12:16:00 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
G'Day Stefan,
I don't mean to be a bother, but any idea on how long to a fix for this one? It
is REALLY a show stopper...
John Beima
Quoting "Stefan Hornburg (Racke)" <racke@linuxia.de>:
> John Beima <jbeima@palb.com> writes:
>
> > Wow was this ever a hard one to find...
> >
> > Boy do you need a lot of ifs....
> >
> > #01) UI must be in secure mode...
> > #02) SSL must be a different domain...
> > #03) Going into the UI https://www.domain2.com/cgi-bin/cat/admin/index
> works.
> > #04) Going into the UI http://www.domain1.com/cgi-bin/cat/admin/index
> and
> > letting the UI login screen hop you over to the SSL site causes this
> error...
> > It looks like it is possibly in the new image tag...
> > Actually just going back and doing step 03 fixes the problem...
> >
> > The wierd thing is it is not session specific... Every visitor to the
> site from
> > then on in gets the wrong IMAGE_DIR variable...
>
> Very well spotted, John. Congratulations. Mangling Config stuff is
> fine, because it is not persistent, but we shouldn't touch
> Variables as it seems. Jon, why we need to set IMAGE_DIR in
> UI_STD_HEAD ?
>
> Variable UI_STD_INIT <<EOV
> [perl]
> # determine catalog URL before mangling config URLs
> $Scratch->{ui_catalog_url} = $Tag->area('index');
>
> # replace ImageDir variables with UI equivalents to take advantage
> # of Interchange's automatic image path rewriting
> $Config->{ImageDirOriginal} = $Config->{ImageDir};
> $Config->{ImageDirSecureOriginal} = $Config->{ImageDirSecure};
> $Config->{ImageDir} = $Variable->{IMAGE_DIR} =
> $Tag->image( { ui => 1, secure => 0, dir_only => 1 } );
> $Config->{ImageDirSecure} =
> $Tag->image( { ui => 1, secure => 1, dir_only => 1 } );
>
> # force using secure URL for this page?
> if ($Tag->var('UI_SECURE', 2)) {
> $Config->{VendURL} = $Config->{SecureURL};
> }
>
> ''
> [/perl]
> EOV
>
> >
> > John
> >
> >
> >
> > Quoting Jon Jensen <jon@redhat.com>:
> >
> > > On Wed, 13 Jun 2001, John Beima wrote:
> > >
> > > > Has anyone else found that fairly often the new 4.7.3 will
> overwrite
> > > the
> > > > __IMAGE_DIR__ variable with the contents of possibly
> > > __UI_IMAGE_DIR__?? What
> > > > mine winds up with is /interchange/en_US/ then breaking the link
> to
> > > all
> > > > images... This might also be a per session problem... However the
> only
> > > thing
> > > > that seems to solve it is logging in to the admin pages and going
> > > "Apply
> > > > Changes"... Then it will work for a short period of time again...
> > >
> > > Perhaps some more details would help:
> > >
> > > Are you using the same browser to access the storefront and the
> admin?
> > >
> > > Do you have cookies enabled or disabled?
> > >
> > > Does the problem happen if you never access the admin after starting
> > > your
> > > browser?
> > >
> > > How many sessions from your IP address show up in the session list?
> > >
> > > What pages have you visited in the admin?
> > >
> > > I can understand how this could be bug, but it works fine for me.
> Even
> > > when going back and forth between store and admin with the same
> session
> > > ID, I don't have any trouble. Maybe your answers will shed more
> light.
> > >
> > > Jon
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> > John Beima
> > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> >
> > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> >
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Florian Kleedorfer)
Date: Thu Jun 14 12:18:01 2001
Subject: [ic] bilingual
Am Montag 11 Juni 2001 20:29 schrieben Sie:
> Speaking of the locale features...
>
> I'm trying to set the normal currency to be a custom symbol for a
> promotional site... It needs to be "BB" instead of "$". But changing the
> locale, even changing locale.txt and deleting the gdbm file, doesn't work.
>
try
Locale en_US price_picture "###,###,###.## BB"
or
Locale en_US currency_symbol BB
in catalog.cfg
* and be sure to set the locale to en_US (or whatever locale you use) *
(http://interchange.redhat.com/doc/icconfig.pdf has more on that)
Flo
From: interchange-users at lists.akopia.com (Nathan Wiger)
Date: Thu Jun 14 12:28:00 2001
Subject: [ic] Changing pricing based on any field
Hey all-
I have a client who has some needs which I don't think are supported by
Interchange. However, I'm hoping that I'm wrong :-), so I wanted to ping the
list.
The client is opening a motorcycle parts store online. For many parts,
though, the price will vary based on several different fields. For example:
Base helmet $100.00
XL and XXL +$15.00
XS -$10.00
Metallic Paint +$30.00
Now, I'm aware of Interchange's pricing database. The problem isn't with
size (since this is built in), but rather getting the price to change on
another variable (like color -- the paint above) as well.
This situation gets even trickier in some situations, where the size is not
just "XL" but rather corresponds to a model as well:
Aftermarket Tailpipe $165.00
CBR, Yamaha +$25.00
Ducati +$45.00
Black Chrome +$15.00
The model information must be maintained, so we can't just say "L=Yamaha,
XL=Ducati" in the "size" field. So, if we were just to use the pricing
database, I'd have to create fields for all potential "sizes" -- S, M, L,
XL, Ducati, Yamaha, CBR, 17", 18", etc. This is obviously not really what I
want to do, since there's no way to tell what fields will be needed, and
besides that it would be really ugly. Plus, there's still no way to alter
price on size _and_ color as far as I can tell.
Is all this correct? If not, please stop and tell me where I'm wrong,
because the rest of this email is a proposed solution.
So, after looking at this it seems like the way that pricing is done in
Interchange could be tweaked to make it a little more flexible. Here's what
I was thinking. If you set a field up via UseModifier to alter the product,
then rather than Interchange looking in the pricing db, it does the
following:
1. Looks for a field called "[field]_price" in the products db.
So, if you set "UseModifier length", it would look for a
field called "length_price" for that sku in the products db.
2. This field takes the format "name=price, name=price", so for
example:
CBR=+25.00, Yamaha=+25.00
3. This field is split up appropriately, and a key is searched
for one corresponding to the value of the main field chosen.
So, if we chose "CBR" as our "size", then we would look
in "size_price" for the key "CBR" and find the value "+25.00".
If the key isn't found, no change is made to the price.
4. If the price is preceded with a + or nothing, it's added to
the base price. If it's preceded with a -, it's subtracted.
5. On checkout, these prices are added in the same order as
the fields are listed with UseModifier. So, if we had
said "UseModifier size color", then we would first go thru
and look for "size_price" for that item, then "color_price".
This has the advantage that it is flexible and can be tailored on a per-item
basis. I supposed it could also be placed in an external table indexed by
sku, but it seems like keeping it together in the products db would be
easier.
Thoughts on this? If there's intereste, I'm more than willing to make the
changes to the source and check them in. I'd like to make these changes to
the main product; otherwise I'll have to repeatedly apply diffs everytime I
upgrade the client's software.
Thanks,
Nate
--
Nathan Wiger
Systems Analyst and Perl Hacker
Nateware, Inc. www.nateware.com
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Thu Jun 14 12:31:00 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
On Thu, 14 Jun 2001, Jon Jensen wrote:
> On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
>
> > Very well spotted, John. Congratulations. Mangling Config stuff is
> > fine, because it is not persistent, but we shouldn't touch Variables
> > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
>
> I can't remember why I set that originally. It doesn't seem to be
> necessary, so I took it out. John, let me know if that fixes your problem.
Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR} to
write image paths. So it's now broken in the UI. I'll see what I can do to
fix that.
Jon
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 12:32:16 2001
Subject: [ic] Database Handle and Global Subs
On Thu, Jun 14, 2001 at 04:27:25PM +0100, Sheamus Nulty wrote:
>
> I then run the following
>
> [set print]1[/set]
> [if scratch print]
> [pdfshea]
> [/if]
>
> and it just prints out [pdfshea] to the webpage. So I'm of the opinion that
> [if] will just print out what comes after it .
> If this is the case is my only alternative the solution you provided.
>
If does interpolate, the only reason it should just print the tag is if either
the globalsub was not found, or didn't compile, if it didn't compile you
you should see an error on startup, otherwise check and make sure you have it
defined in the right config file, keeping in mind that it must go in
interchange.cfg unless you have AllowGlobal set for that catalog.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Thu Jun 14 12:34:01 2001
Subject: [ic] bilingual
I finally got it to work, but I had to use something other that en_US.
The only prob I ran into: The price picture now reads ### BB in locale.txt.
But now the subtotal always shows up " *** BB ".
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> Florian Kleedorfer
> Sent: Thursday, June 14, 2001 11:21 AM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] bilingual
>
>
> Am Montag 11 Juni 2001 20:29 schrieben Sie:
> > Speaking of the locale features...
> >
> > I'm trying to set the normal currency to be a custom symbol for a
> > promotional site... It needs to be "BB" instead of "$". But
> changing the
> > locale, even changing locale.txt and deleting the gdbm file,
> doesn't work.
> >
>
> try
>
> Locale en_US price_picture "###,###,###.## BB"
> or
> Locale en_US currency_symbol BB
>
> in catalog.cfg
>
> * and be sure to set the locale to en_US (or whatever locale you use) *
>
> (http://interchange.redhat.com/doc/icconfig.pdf has more on that)
>
>
> Flo
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Thu Jun 14 12:41:00 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
Jon Jensen <jon@redhat.com> writes:
> On Thu, 14 Jun 2001, Jon Jensen wrote:
>
> > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> >
> > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > fine, because it is not persistent, but we shouldn't touch Variables
> > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> >
> > I can't remember why I set that originally. It doesn't seem to be
> > necessary, so I took it out. John, let me know if that fixes your problem.
>
> Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR} to
> write image paths. So it's now broken in the UI. I'll see what I can do to
> fix that.
Using IMAGE_DIR in a usertag is bogus IMHO. Why isn't $Config->{ImageDir}
used in the first place ?
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Stefan Hornburg Racke)
Date: Thu Jun 14 12:43:00 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
John Beima <jbeima@palb.com> writes:
> G'Day Stefan,
>
> I don't mean to be a bother, but any idea on how long to a fix for this one? It
> is REALLY a show stopper...
This problem is fixed, but it seems to reveal another.
IMHO you have to live with show stoppers if you rely
on software heavy under development :-;
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Tim Mirecki)
Date: Thu Jun 14 12:44:16 2001
Subject: [ic] Interchange crashing
Hey all, I am having a problem with interchange - versions 4.7.2 and 4.7.3
will completely crash if the user clicks enough times, making all catalogs
completely unusable. I was unsuccessful at crashing version 4.6 (Akopia demo
1).
At this very moment, I have successfully crashed the demo store for version
4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now, but
you WILL be able to view the first page. I imagine the main page is static,
so it is not affected.
Anyone?
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Thu Jun 14 12:57:00 2001
Subject: [ic] Interchange crashing
"Tim Mirecki" <tim@q5.ca> writes:
> Hey all, I am having a problem with interchange - versions 4.7.2 and 4.7.3
> will completely crash if the user clicks enough times, making all catalogs
> completely unusable. I was unsuccessful at crashing version 4.6 (Akopia demo
> 1).
>
> At this very moment, I have successfully crashed the demo store for version
> 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now, but
> you WILL be able to view the first page. I imagine the main page is static,
> so it is not affected.
>
> Anyone?
Anything found in the global error log file ?
Have you PreFork enabled ?
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Tim Mirecki)
Date: Thu Jun 14 13:19:00 2001
Subject: [ic] Interchange crashing
Racke:
The RedHat Demo 3 store is still crashing, try it out (demo.akopia.com)
rapidly clicking on "Buy Now" on an item (about 30 times or so) without
letting it return anything, it'll crash.
Goes back up after a few minutes...is someone resetting it?
Whether PreFork is turned on or off, it makes no difference. I've tried both
on our development server.
Here are the global error log entries; I didn't see anything out of the
ordinary:
- - - [14/June/2001:12:02:44 -0400] - - Interchange V4.7.3
- - - [14/June/2001:12:02:44 -0400] - - Config 'foundation' at server
startup
- - - [14/June/2001:12:02:46 -0400] - - Config 'magicoven' at server startup
- - - [14/June/2001:12:02:47 -0400] - - Config 'mocha' at server startup
- - - [14/June/2001:12:02:48 -0400] - - Config 'pleasant' at server startup
- - - [14/June/2001:12:02:49 -0400] - - Using default DBM database.
- - - [14/June/2001:12:02:50 -0400] - - Config 'q5' at server startup
- - - [14/June/2001:12:02:50 -0400] - - Config 'tsb' at server startup
- - - [14/June/2001:12:02:51 -0400] - - START server (25208) (INET and UNIX)
- - - [14/June/2001:12:02:53 -0400] - - Accepting connections from
localhost|127\.0\.0\.1
- - - [14/June/2001:12:02:53 -0400] - - START server (25300) (INET and UNIX)
- - - [14/June/2001:12:09:01 -0400] - - Spurious PID file for process 25364
supposedly running 302 seconds
- - - [14/June/2001:12:11:38 -0400] - - STOP server (25300) on signal TERM
- - - [14/June/2001:12:11:47 -0400] - - Low traffic settings.
- - - [14/June/2001:12:11:49 -0400] - - ...UI is loaded....
- - - [14/June/2001:12:11:49 -0400] - - UserTag button scalar parameter
Documentation redefined.
> In line 44 of the configuration file 'usertag/button.tag':
> UserTag button Documentation <<EOD
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
Hornburg (Racke)
Sent: Thursday, June 14, 2001 12:51 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Interchange crashing
"Tim Mirecki" <tim@q5.ca> writes:
> Hey all, I am having a problem with interchange - versions 4.7.2 and 4.7.3
> will completely crash if the user clicks enough times, making all catalogs
> completely unusable. I was unsuccessful at crashing version 4.6 (Akopia
demo
> 1).
>
> At this very moment, I have successfully crashed the demo store for
version
> 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now,
but
> you WILL be able to view the first page. I imagine the main page is
static,
> so it is not affected.
>
> Anyone?
Anything found in the global error log file ?
Have you PreFork enabled ?
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Thu Jun 14 13:28:00 2001
Subject: [ic] Database Handle and Global Subs
Sheamus Nulty wrote:
>
> I'v setup the following. I have a global sub defined as follows in my
> interchange.cfg file
>
> GlobalSub <<EOF
>
> sub pdfshea {
>
> my $counter=5;
> return "$counter";
>
> }
>
> EOF
>
> I then run the following
>
> [set print]1[/set]
> [if scratch print]
> [pdfshea]
> [/if]
>
> and it just prints out [pdfshea] to the webpage. So I'm of the opinion that
> [if] will just print out what comes after it .
> If this is the case is my only alternative the solution you provided.
Well, that should certainly not work because a global sub will not
define a usertag. And, if your pdfcreate usertag was, actually, a global
sub, then it will not work either.
This should help you out:
http://interchange.redhat.com/cgi-bin/ic/dev/ictags_91.html
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Thu Jun 14 13:32:00 2001
Subject: [ic] Interchange crashing
Any chance the catalogs suddenly point to 127.0.0.1?
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig10%2e64
Tim Mirecki wrote:
>
> Hey all, I am having a problem with interchange - versions 4.7.2 and 4.7.3
> will completely crash if the user clicks enough times, making all catalogs
> completely unusable. I was unsuccessful at crashing version 4.6 (Akopia demo
> 1).
>
> At this very moment, I have successfully crashed the demo store for version
> 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now, but
> you WILL be able to view the first page. I imagine the main page is static,
> so it is not affected.
>
> Anyone?
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 14 13:45:00 2001
Subject: [ic] Interchange crashing
Quoting Tim Mirecki (tim@q5.ca):
> Racke:
>
> The RedHat Demo 3 store is still crashing, try it out (demo.akopia.com)
> rapidly clicking on "Buy Now" on an item (about 30 times or so) without
> letting it return anything, it'll crash.
> Goes back up after a few minutes...is someone resetting it?
Are you sure this is not OrderLineLimit or RobotLimit? We have run
the 4.7.x server on a system that received 2,000,000 parsed-page
hits over three days, and it didn't die once.
--
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 lists.akopia.com (Tim Mirecki)
Date: Thu Jun 14 13:49:00 2001
Subject: [ic] Interchange crashing
Yes that happens AS WELL, but you can also go back (browser back button) and
crash it from there (keep clicking). I'm on a DSL connection, might affect
how Interchange is impacted because of the rate of requests.
The good news: I can't get 4.6 to crash. :0)
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mark
Johnson
Sent: Thursday, June 14, 2001 1:43 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Interchange crashing
Any chance the catalogs suddenly point to 127.0.0.1?
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig10%2e64
Tim Mirecki wrote:
>
> Hey all, I am having a problem with interchange - versions 4.7.2 and 4.7.3
> will completely crash if the user clicks enough times, making all catalogs
> completely unusable. I was unsuccessful at crashing version 4.6 (Akopia
demo
> 1).
>
> At this very moment, I have successfully crashed the demo store for
version
> 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now,
but
> you WILL be able to view the first page. I imagine the main page is
static,
> so it is not affected.
>
> Anyone?
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Thu Jun 14 13:55:01 2001
Subject: [ic] Interchange crashing
Mike Heins wrote:
>
> Quoting Tim Mirecki (tim@q5.ca):
> > Racke:
> >
> > The RedHat Demo 3 store is still crashing, try it out (demo.akopia.com)
> > rapidly clicking on "Buy Now" on an item (about 30 times or so) without
> > letting it return anything, it'll crash.
> > Goes back up after a few minutes...is someone resetting it?
>
> Are you sure this is not OrderLineLimit or RobotLimit? We have run
> the 4.7.x server on a system that received 2,000,000 parsed-page
> hits over three days, and it didn't die once.
That was my question to him, but I repeatedly hit the Recalc button
until it froze. It didn't redirect to the localhost domain, but rather
the request hangs, waiting for reply. But, the httpd is still serving as
I was able to hit the index page on demo after ic3 froze.
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Thu Jun 14 14:01:00 2001
Subject: [ic] Interchange crashing
You know Mike, I have no idea why it's crashing. I have a feeling that the
requests need to be coming from a single session. I got people to check from
2 other connection points, and they were not able to access the akopia demo
site after I crashed it.
Give it a shot, you too can crash it!
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike Heins
Sent: Thursday, June 14, 2001 1:48 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Interchange crashing
Quoting Tim Mirecki (tim@q5.ca):
> Racke:
>
> The RedHat Demo 3 store is still crashing, try it out (demo.akopia.com)
> rapidly clicking on "Buy Now" on an item (about 30 times or so) without
> letting it return anything, it'll crash.
> Goes back up after a few minutes...is someone resetting it?
Are you sure this is not OrderLineLimit or RobotLimit? We have run
the 4.7.x server on a system that received 2,000,000 parsed-page
hits over three days, and it didn't die once.
--
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 14 14:03:00 2001
Subject: [ic] Interchange crashing
Quoting Tim Mirecki (tim@q5.ca):
> Yes that happens AS WELL, but you can also go back (browser back button) and
> crash it from there (keep clicking). I'm on a DSL connection, might affect
> how Interchange is impacted because of the rate of requests.
>
> The good news: I can't get 4.6 to crash. :0)
It isn't crashing. Set:
OrderLineLimit 10000
RobotLimit 10000
Then close your browser, start a new session, and see what happens.
--
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 lists.akopia.com (Larry Caragay)
Date: Thu Jun 14 14:08:01 2001
Subject: [ic] Help on on a solaris 8 box
Iam getting the error. Would anyone out there that has installed it on
solaris please help me?? error is..
Found Perl 5.00503 as /usr/bin/perl
If you get a CPAN error, rerun the configuration and it
should go away.
Interchange V4.6.5
Copyright (C) 1996-2001 Akopia, Inc. <info@akopia.com>
Interchange is free under the terms of the GNU General Public License.
Where is your Interchange to be installed? [/export/home/larry/interchange]
Writing Makefile for Interchange
./configure: make: not found
./configure: make: not found
Thanks in Advance..
Larry@compwebtech.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 14:21:00 2001
Subject: [ic] Help on on a solaris 8 box
On Thu, Jun 14, 2001 at 10:59:10PM -0700, Larry Caragay wrote:
> Iam getting the error. Would anyone out there that has installed it on
> solaris please help me?? error is..
>
> Writing Makefile for Interchange
> ./configure: make: not found
> ./configure: make: not found
>
You need to either install make, or find out where it is and add that
directory to your path.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 14 14:24:00 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> Jon Jensen <jon@redhat.com> writes:
>
> > On Thu, 14 Jun 2001, Jon Jensen wrote:
> >
> > > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> > >
> > > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > > fine, because it is not persistent, but we shouldn't touch Variables
> > > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> > >
> > > I can't remember why I set that originally. It doesn't seem to be
> > > necessary, so I took it out. John, let me know if that fixes your problem.
> >
> > Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR} to
> > write image paths. So it's now broken in the UI. I'll see what I can do to
> > fix that.
>
> Using IMAGE_DIR in a usertag is bogus IMHO. Why isn't $Config->{ImageDir}
> used in the first place ?
>
I think it was done because it was to develop a directory name, not an
image path. Since the thing won't work unless $Variable->{DOCROOT} is
set, I decided to make it consistent and read the setting from Variable
only instead of a combination. That way no one gets the idea it is a
core feature.....
--
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 lists.akopia.com (Mike Heins)
Date: Thu Jun 14 14:25:19 2001
Subject: [ic] Changing pricing based on any field
Quoting Nathan Wiger (nate@nateware.com):
> Hey all-
>
> I have a client who has some needs which I don't think are supported by
> Interchange. However, I'm hoping that I'm wrong :-), so I wanted to ping the
> list.
>
> The client is opening a motorcycle parts store online. For many parts,
> though, the price will vary based on several different fields. For example:
>
> Base helmet $100.00
> XL and XXL +$15.00
> XS -$10.00
> Metallic Paint +$30.00
>
> Now, I'm aware of Interchange's pricing database. The problem isn't with
> size (since this is built in), but rather getting the price to change on
> another variable (like color -- the paint above) as well.
>
> This situation gets even trickier in some situations, where the size is not
> just "XL" but rather corresponds to a model as well:
>
> Aftermarket Tailpipe $165.00
> CBR, Yamaha +$25.00
> Ducati +$45.00
> Black Chrome +$15.00
>
> The model information must be maintained, so we can't just say "L=Yamaha,
> XL=Ducati" in the "size" field. So, if we were just to use the pricing
> database, I'd have to create fields for all potential "sizes" -- S, M, L,
> XL, Ducati, Yamaha, CBR, 17", 18", etc. This is obviously not really what I
> want to do, since there's no way to tell what fields will be needed, and
> besides that it would be really ugly. Plus, there's still no way to alter
> price on size _and_ color as far as I can tell.
>
> Is all this correct? If not, please stop and tell me where I'm wrong,
> because the rest of this email is a proposed solution.
>
> So, after looking at this it seems like the way that pricing is done in
> Interchange could be tweaked to make it a little more flexible. Here's what
> I was thinking. If you set a field up via UseModifier to alter the product,
> then rather than Interchange looking in the pricing db, it does the
> following:
>
> 1. Looks for a field called "[field]_price" in the products db.
> So, if you set "UseModifier length", it would look for a
> field called "length_price" for that sku in the products db.
We don't tend to do this type of name-dependent hard-coding, for
the same reason we don't use variables like ${"name_$something"}.
>
> 2. This field takes the format "name=price, name=price", so for
> example:
>
> CBR=+25.00, Yamaha=+25.00
>
> 3. This field is split up appropriately, and a key is searched
> for one corresponding to the value of the main field chosen.
> So, if we chose "CBR" as our "size", then we would look
> in "size_price" for the key "CBR" and find the value "+25.00".
> If the key isn't found, no change is made to the price.
It is done this much way in the 4.7.x options.
>
> 4. If the price is preceded with a + or nothing, it's added to
> the base price. If it's preceded with a -, it's subtracted.
And if it has a trailing %, it is a percentage.
>
> 5. On checkout, these prices are added in the same order as
> the fields are listed with UseModifier. So, if we had
> said "UseModifier size color", then we would first go thru
> and look for "size_price" for that item, then "color_price".
>
> This has the advantage that it is flexible and can be tailored on a per-item
> basis. I supposed it could also be placed in an external table indexed by
> sku, but it seems like keeping it together in the products db would be
> easier.
And in addition, it is easy to write a UserTag that does the same thing. I
have solved this problem many times, and it is almost easier to re-write
the UserTag than it is to build a reusable version..
--
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 lists.akopia.com (Tim Mirecki)
Date: Thu Jun 14 14:30:00 2001
Subject: [ic] Interchange crashing
Ok, set both of those, restarted Interchange and I can still crash it.
For my local server, I can try accessing the catalogs from any machine on
the network, and the catalogs are unavailable after doing this (eventually
times out). If that's not crashing, I don't know what is.
Maybe there's something else that's not properly configured? I don't know,
but that doesn't explain why RedHat's own (live) Demo store would crash! Can
you please try this for yourself?
http://demo.akopia.com/cgi-bin/ic3
You'll probably understand what's going on a lot better than I can explain
it to you.
Thanks.
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike Heins
Sent: Thursday, June 14, 2001 2:07 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Interchange crashing
Quoting Tim Mirecki (tim@q5.ca):
> Yes that happens AS WELL, but you can also go back (browser back button)
and
> crash it from there (keep clicking). I'm on a DSL connection, might affect
> how Interchange is impacted because of the rate of requests.
>
> The good news: I can't get 4.6 to crash. :0)
It isn't crashing. Set:
OrderLineLimit 10000
RobotLimit 10000
Then close your browser, start a new session, and see what happens.
--
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
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Alexandre Daree)
Date: Thu Jun 14 14:41:01 2001
Subject: [ic] Any body can help , I need my customers to be able to ad their own products
Hi,
Any body ever did this, where customers ading their own products to the
products.txt , I am looking for an automation of the process.
----- Original Message -----
From: <interchange-users-request@developer.akopia.com>
To: <interchange-users@developer.akopia.com>
Sent: Thursday, June 14, 2001 12:30 PM
Subject: Interchange-users digest, Vol 1 #610 - 15 msgs
> Send Interchange-users mailing list submissions to
> interchange-users@lists.akopia.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.akopia.com/mailman/listinfo/interchange-users
> or, via email, send a message with subject or body 'help' to
> interchange-users-request@lists.akopia.com
>
> You can reach the person managing the list at
> interchange-users-admin@lists.akopia.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Interchange-users digest..."
>
>
> Today's Topics:
>
> 1. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (John Beima)
> 2. Re: bilingual (Florian Kleedorfer)
> 3. Changing pricing based on any field (Nathan Wiger)
> 4. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Jon Jensen)
> 5. Re: Database Handle and Global Subs (Jason Kohles)
> 6. RE: bilingual (Phillip A. Ryals)
> 7. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Stefan Hornburg Racke
> )
> 8. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Stefan Hornburg Racke
> )
> 9. Interchange crashing (Tim Mirecki)
> 10. Re: Interchange crashing (Stefan Hornburg Racke
> )
> 11. RE: Interchange crashing (Tim Mirecki)
> 12. Re: Database Handle and Global Subs (Mark Johnson)
>
> --__--__--
>
> Message: 1
> From: John Beima <jbeima@palb.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> Date: Thu, 14 Jun 2001 10:19:37 -0600 (MDT)
> Reply-To: interchange-users@lists.akopia.com
>
> G'Day Stefan,
>
> I don't mean to be a bother, but any idea on how long to a fix for this
one? It
> is REALLY a show stopper...
>
> John Beima
>
>
> Quoting "Stefan Hornburg (Racke)" <racke@linuxia.de>:
>
> > John Beima <jbeima@palb.com> writes:
> >
> > > Wow was this ever a hard one to find...
> > >
> > > Boy do you need a lot of ifs....
> > >
> > > #01) UI must be in secure mode...
> > > #02) SSL must be a different domain...
> > > #03) Going into the UI https://www.domain2.com/cgi-bin/cat/admin/index
> > works.
> > > #04) Going into the UI http://www.domain1.com/cgi-bin/cat/admin/index
> > and
> > > letting the UI login screen hop you over to the SSL site causes this
> > error...
> > > It looks like it is possibly in the new image tag...
> > > Actually just going back and doing step 03 fixes the problem...
> > >
> > > The wierd thing is it is not session specific... Every visitor to the
> > site from
> > > then on in gets the wrong IMAGE_DIR variable...
> >
> > Very well spotted, John. Congratulations. Mangling Config stuff is
> > fine, because it is not persistent, but we shouldn't touch
> > Variables as it seems. Jon, why we need to set IMAGE_DIR in
> > UI_STD_HEAD ?
> >
> > Variable UI_STD_INIT <<EOV
> > [perl]
> > # determine catalog URL before mangling config URLs
> > $Scratch->{ui_catalog_url} = $Tag->area('index');
> >
> > # replace ImageDir variables with UI equivalents to take advantage
> > # of Interchange's automatic image path rewriting
> > $Config->{ImageDirOriginal} = $Config->{ImageDir};
> > $Config->{ImageDirSecureOriginal} = $Config->{ImageDirSecure};
> > $Config->{ImageDir} = $Variable->{IMAGE_DIR} =
> > $Tag->image( { ui => 1, secure => 0, dir_only => 1 } );
> > $Config->{ImageDirSecure} =
> > $Tag->image( { ui => 1, secure => 1, dir_only => 1 } );
> >
> > # force using secure URL for this page?
> > if ($Tag->var('UI_SECURE', 2)) {
> > $Config->{VendURL} = $Config->{SecureURL};
> > }
> >
> > ''
> > [/perl]
> > EOV
> >
> > >
> > > John
> > >
> > >
> > >
> > > Quoting Jon Jensen <jon@redhat.com>:
> > >
> > > > On Wed, 13 Jun 2001, John Beima wrote:
> > > >
> > > > > Has anyone else found that fairly often the new 4.7.3 will
> > overwrite
> > > > the
> > > > > __IMAGE_DIR__ variable with the contents of possibly
> > > > __UI_IMAGE_DIR__?? What
> > > > > mine winds up with is /interchange/en_US/ then breaking the link
> > to
> > > > all
> > > > > images... This might also be a per session problem... However the
> > only
> > > > thing
> > > > > that seems to solve it is logging in to the admin pages and going
> > > > "Apply
> > > > > Changes"... Then it will work for a short period of time again...
> > > >
> > > > Perhaps some more details would help:
> > > >
> > > > Are you using the same browser to access the storefront and the
> > admin?
> > > >
> > > > Do you have cookies enabled or disabled?
> > > >
> > > > Does the problem happen if you never access the admin after starting
> > > > your
> > > > browser?
> > > >
> > > > How many sessions from your IP address show up in the session list?
> > > >
> > > > What pages have you visited in the admin?
> > > >
> > > > I can understand how this could be bug, but it works fine for me.
> > Even
> > > > when going back and forth between store and admin with the same
> > session
> > > > ID, I don't have any trouble. Maybe your answers will shed more
> > light.
> > > >
> > > > Jon
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > >
> > >
> > >
> > >
> > > John Beima
> > > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> > >
> > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> > >
> > > 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@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > >
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> 2713B Spring Place SW, Decatur, Alabama, United States, 35603
>
> --__--__--
>
> Message: 2
> From: Florian Kleedorfer <klee@yy-mm-dd.com>
> Organization: =?iso8859-1?q?L=F6ffelhardt=20&=20Kleedorfer?= OEG
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] bilingual
> Date: Thu, 14 Jun 2001 18:21:26 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> Am Montag 11 Juni 2001 20:29 schrieben Sie:
> > Speaking of the locale features...
> >
> > I'm trying to set the normal currency to be a custom symbol for a
> > promotional site... It needs to be "BB" instead of "$". But changing
the
> > locale, even changing locale.txt and deleting the gdbm file, doesn't
work.
> >
>
> try
>
> Locale en_US price_picture "###,###,###.## BB"
> or
> Locale en_US currency_symbol BB
>
> in catalog.cfg
>
> * and be sure to set the locale to en_US (or whatever locale you use) *
>
> (http://interchange.redhat.com/doc/icconfig.pdf has more on that)
>
>
> Flo
>
> --__--__--
>
> Message: 3
> From: "Nathan Wiger" <nate@nateware.com>
> To: <interchange-users@developer.akopia.com>
> Date: Thu, 14 Jun 2001 09:35:46 -0700
> Organization: Nateware
> Subject: [ic] Changing pricing based on any field
> Reply-To: interchange-users@lists.akopia.com
>
> Hey all-
>
> I have a client who has some needs which I don't think are supported by
> Interchange. However, I'm hoping that I'm wrong :-), so I wanted to ping
the
> list.
>
> The client is opening a motorcycle parts store online. For many parts,
> though, the price will vary based on several different fields. For
example:
>
> Base helmet $100.00
> XL and XXL +$15.00
> XS -$10.00
> Metallic Paint +$30.00
>
> Now, I'm aware of Interchange's pricing database. The problem isn't with
> size (since this is built in), but rather getting the price to change on
> another variable (like color -- the paint above) as well.
>
> This situation gets even trickier in some situations, where the size is
not
> just "XL" but rather corresponds to a model as well:
>
> Aftermarket Tailpipe $165.00
> CBR, Yamaha +$25.00
> Ducati +$45.00
> Black Chrome +$15.00
>
> The model information must be maintained, so we can't just say "L=Yamaha,
> XL=Ducati" in the "size" field. So, if we were just to use the pricing
> database, I'd have to create fields for all potential "sizes" -- S, M, L,
> XL, Ducati, Yamaha, CBR, 17", 18", etc. This is obviously not really what
I
> want to do, since there's no way to tell what fields will be needed, and
> besides that it would be really ugly. Plus, there's still no way to alter
> price on size _and_ color as far as I can tell.
>
> Is all this correct? If not, please stop and tell me where I'm wrong,
> because the rest of this email is a proposed solution.
>
> So, after looking at this it seems like the way that pricing is done in
> Interchange could be tweaked to make it a little more flexible. Here's
what
> I was thinking. If you set a field up via UseModifier to alter the
product,
> then rather than Interchange looking in the pricing db, it does the
> following:
>
> 1. Looks for a field called "[field]_price" in the products db.
> So, if you set "UseModifier length", it would look for a
> field called "length_price" for that sku in the products db.
>
> 2. This field takes the format "name=price, name=price", so for
> example:
>
> CBR=+25.00, Yamaha=+25.00
>
> 3. This field is split up appropriately, and a key is searched
> for one corresponding to the value of the main field chosen.
> So, if we chose "CBR" as our "size", then we would look
> in "size_price" for the key "CBR" and find the value "+25.00".
> If the key isn't found, no change is made to the price.
>
> 4. If the price is preceded with a + or nothing, it's added to
> the base price. If it's preceded with a -, it's subtracted.
>
> 5. On checkout, these prices are added in the same order as
> the fields are listed with UseModifier. So, if we had
> said "UseModifier size color", then we would first go thru
> and look for "size_price" for that item, then "color_price".
>
> This has the advantage that it is flexible and can be tailored on a
per-item
> basis. I supposed it could also be placed in an external table indexed by
> sku, but it seems like keeping it together in the products db would be
> easier.
>
> Thoughts on this? If there's intereste, I'm more than willing to make the
> changes to the source and check them in. I'd like to make these changes to
> the main product; otherwise I'll have to repeatedly apply diffs everytime
I
> upgrade the client's software.
>
> Thanks,
> Nate
>
> --
> Nathan Wiger
> Systems Analyst and Perl Hacker
> Nateware, Inc. www.nateware.com
>
>
>
> --__--__--
>
> Message: 4
> Date: Thu, 14 Jun 2001 12:36:04 -0400 (EDT)
> From: Jon Jensen <jon@redhat.com>
> To: <interchange-users@developer.akopia.com>
> Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> Reply-To: interchange-users@lists.akopia.com
>
> On Thu, 14 Jun 2001, Jon Jensen wrote:
>
> > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> >
> > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > fine, because it is not persistent, but we shouldn't touch Variables
> > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> >
> > I can't remember why I set that originally. It doesn't seem to be
> > necessary, so I took it out. John, let me know if that fixes your
problem.
>
> Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR} to
> write image paths. So it's now broken in the UI. I'll see what I can do to
> fix that.
>
> Jon
>
>
> --__--__--
>
> Message: 5
> Date: Thu, 14 Jun 2001 12:23:04 -0400
> From: Jason Kohles <jkohles@redhat.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Database Handle and Global Subs
> Reply-To: interchange-users@lists.akopia.com
>
> On Thu, Jun 14, 2001 at 04:27:25PM +0100, Sheamus Nulty wrote:
> >
> > I then run the following
> >
> > [set print]1[/set]
> > [if scratch print]
> > [pdfshea]
> > [/if]
> >
> > and it just prints out [pdfshea] to the webpage. So I'm of the opinion
that
> > [if] will just print out what comes after it .
> > If this is the case is my only alternative the solution you provided.
> >
> If does interpolate, the only reason it should just print the tag is if
either
> the globalsub was not found, or didn't compile, if it didn't compile you
> you should see an error on startup, otherwise check and make sure you have
it
> defined in the right config file, keeping in mind that it must go in
> interchange.cfg unless you have AllowGlobal set for that catalog.
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
>
> --__--__--
>
> Message: 6
> From: "Phillip A. Ryals" <support@admiralexpress.com>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] bilingual
> Date: Thu, 14 Jun 2001 11:39:24 -0500
> Reply-To: interchange-users@lists.akopia.com
>
> I finally got it to work, but I had to use something other that en_US.
>
> The only prob I ran into: The price picture now reads ### BB in
locale.txt.
> But now the subtotal always shows up " *** BB ".
>
> -phillip
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> > Florian Kleedorfer
> > Sent: Thursday, June 14, 2001 11:21 AM
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] bilingual
> >
> >
> > Am Montag 11 Juni 2001 20:29 schrieben Sie:
> > > Speaking of the locale features...
> > >
> > > I'm trying to set the normal currency to be a custom symbol for a
> > > promotional site... It needs to be "BB" instead of "$". But
> > changing the
> > > locale, even changing locale.txt and deleting the gdbm file,
> > doesn't work.
> > >
> >
> > try
> >
> > Locale en_US price_picture "###,###,###.## BB"
> > or
> > Locale en_US currency_symbol BB
> >
> > in catalog.cfg
> >
> > * and be sure to set the locale to en_US (or whatever locale you use) *
> >
> > (http://interchange.redhat.com/doc/icconfig.pdf has more on that)
> >
> >
> > Flo
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> --__--__--
>
> Message: 7
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> From: racke@linuxia.de (Stefan Hornburg (Racke))
> Date: 14 Jun 2001 18:34:08 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> Jon Jensen <jon@redhat.com> writes:
>
> > On Thu, 14 Jun 2001, Jon Jensen wrote:
> >
> > > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> > >
> > > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > > fine, because it is not persistent, but we shouldn't touch Variables
> > > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> > >
> > > I can't remember why I set that originally. It doesn't seem to be
> > > necessary, so I took it out. John, let me know if that fixes your
problem.
> >
> > Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR} to
> > write image paths. So it's now broken in the UI. I'll see what I can do
to
> > fix that.
>
> Using IMAGE_DIR in a usertag is bogus IMHO. Why isn't $Config->{ImageDir}
> used in the first place ?
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
0041-1-3884400)
>
> --__--__--
>
> Message: 8
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> From: racke@linuxia.de (Stefan Hornburg (Racke))
> Date: 14 Jun 2001 18:36:17 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> John Beima <jbeima@palb.com> writes:
>
> > G'Day Stefan,
> >
> > I don't mean to be a bother, but any idea on how long to a fix for this
one? It
> > is REALLY a show stopper...
>
> This problem is fixed, but it seems to reveal another.
> IMHO you have to live with show stoppers if you rely
> on software heavy under development :-;
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
0041-1-3884400)
>
> --__--__--
>
> Message: 9
> From: "Tim Mirecki" <tim@q5.ca>
> To: <interchange-users@developer.akopia.com>
> Date: Thu, 14 Jun 2001 12:55:42 -0400
> Subject: [ic] Interchange crashing
> Reply-To: interchange-users@lists.akopia.com
>
> Hey all, I am having a problem with interchange - versions 4.7.2 and 4.7.3
> will completely crash if the user clicks enough times, making all catalogs
> completely unusable. I was unsuccessful at crashing version 4.6 (Akopia
demo
> 1).
>
> At this very moment, I have successfully crashed the demo store for
version
> 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now,
but
> you WILL be able to view the first page. I imagine the main page is
static,
> so it is not affected.
>
> Anyone?
>
>
> --__--__--
>
> Message: 10
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
> From: racke@linuxia.de (Stefan Hornburg (Racke))
> Date: 14 Jun 2001 18:50:30 +0200
> Reply-To: interchange-users@lists.akopia.com
>
> "Tim Mirecki" <tim@q5.ca> writes:
>
> > Hey all, I am having a problem with interchange - versions 4.7.2 and
4.7.3
> > will completely crash if the user clicks enough times, making all
catalogs
> > completely unusable. I was unsuccessful at crashing version 4.6 (Akopia
demo
> > 1).
> >
> > At this very moment, I have successfully crashed the demo store for
version
> > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now,
but
> > you WILL be able to view the first page. I imagine the main page is
static,
> > so it is not affected.
> >
> > Anyone?
>
> Anything found in the global error log file ?
> Have you PreFork enabled ?
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> For projects and other business stuff please refer to COBOLT NetServices
> (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
0041-1-3884400)
>
> --__--__--
>
> Message: 11
> From: "Tim Mirecki" <tim@q5.ca>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] Interchange crashing
> Date: Thu, 14 Jun 2001 13:32:03 -0400
> Reply-To: interchange-users@lists.akopia.com
>
> Racke:
>
> The RedHat Demo 3 store is still crashing, try it out (demo.akopia.com)
> rapidly clicking on "Buy Now" on an item (about 30 times or so) without
> letting it return anything, it'll crash.
> Goes back up after a few minutes...is someone resetting it?
>
> Whether PreFork is turned on or off, it makes no difference. I've tried
both
> on our development server.
> Here are the global error log entries; I didn't see anything out of the
> ordinary:
>
> - - - [14/June/2001:12:02:44 -0400] - - Interchange V4.7.3
> - - - [14/June/2001:12:02:44 -0400] - - Config 'foundation' at server
> startup
> - - - [14/June/2001:12:02:46 -0400] - - Config 'magicoven' at server
startup
> - - - [14/June/2001:12:02:47 -0400] - - Config 'mocha' at server startup
> - - - [14/June/2001:12:02:48 -0400] - - Config 'pleasant' at server
startup
> - - - [14/June/2001:12:02:49 -0400] - - Using default DBM database.
> - - - [14/June/2001:12:02:50 -0400] - - Config 'q5' at server startup
> - - - [14/June/2001:12:02:50 -0400] - - Config 'tsb' at server startup
> - - - [14/June/2001:12:02:51 -0400] - - START server (25208) (INET and
UNIX)
> - - - [14/June/2001:12:02:53 -0400] - - Accepting connections from
> localhost|127\.0\.0\.1
> - - - [14/June/2001:12:02:53 -0400] - - START server (25300) (INET and
UNIX)
> - - - [14/June/2001:12:09:01 -0400] - - Spurious PID file for process
25364
> supposedly running 302 seconds
> - - - [14/June/2001:12:11:38 -0400] - - STOP server (25300) on signal TERM
> - - - [14/June/2001:12:11:47 -0400] - - Low traffic settings.
> - - - [14/June/2001:12:11:49 -0400] - - ...UI is loaded....
> - - - [14/June/2001:12:11:49 -0400] - - UserTag button scalar parameter
> Documentation redefined.
> > In line 44 of the configuration file 'usertag/button.tag':
> > UserTag button Documentation <<EOD
>
>
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
> Hornburg (Racke)
> Sent: Thursday, June 14, 2001 12:51 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
>
> "Tim Mirecki" <tim@q5.ca> writes:
>
> > Hey all, I am having a problem with interchange - versions 4.7.2 and
4.7.3
> > will completely crash if the user clicks enough times, making all
catalogs
> > completely unusable. I was unsuccessful at crashing version 4.6 (Akopia
> demo
> > 1).
> >
> > At this very moment, I have successfully crashed the demo store for
> version
> > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now,
> but
> > you WILL be able to view the first page. I imagine the main page is
> static,
> > so it is not affected.
> >
> > Anyone?
>
> Anything found in the global error log file ?
> Have you PreFork enabled ?
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> --__--__--
>
> Message: 12
> Date: Thu, 14 Jun 2001 13:38:53 -0400
> From: Mark Johnson <markj@redhat.com>
> Organization: Red Hat E-Business Solutions
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Database Handle and Global Subs
> Reply-To: interchange-users@lists.akopia.com
>
> Sheamus Nulty wrote:
> >
> > I'v setup the following. I have a global sub defined as follows in my
> > interchange.cfg file
> >
> > GlobalSub <<EOF
> >
> > sub pdfshea {
> >
> > my $counter=5;
> > return "$counter";
> >
> > }
> >
> > EOF
> >
> > I then run the following
> >
> > [set print]1[/set]
> > [if scratch print]
> > [pdfshea]
> > [/if]
> >
> > and it just prints out [pdfshea] to the webpage. So I'm of the opinion
that
> > [if] will just print out what comes after it .
> > If this is the case is my only alternative the solution you provided.
>
> Well, that should certainly not work because a global sub will not
> define a usertag. And, if your pdfcreate usertag was, actually, a global
> sub, then it will not work either.
>
> This should help you out:
>
> http://interchange.redhat.com/cgi-bin/ic/dev/ictags_91.html
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
>
>
> --__--__--
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> End of Interchange-users Digest
From: interchange-users at lists.akopia.com (Alexandre Daree)
Date: Thu Jun 14 15:02:01 2001
Subject: [ic] Re: Interchange crashing (Mark Johnson)
----- Original Message -----
From: <interchange-users-request@developer.akopia.com>
To: <interchange-users@developer.akopia.com>
Sent: Thursday, June 14, 2001 1:43 PM
Subject: Interchange-users digest, Vol 1 #611 - 12 msgs
> Send Interchange-users mailing list submissions to
> interchange-users@lists.akopia.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.akopia.com/mailman/listinfo/interchange-users
> or, via email, send a message with subject or body 'help' to
> interchange-users-request@lists.akopia.com
>
> You can reach the person managing the list at
> interchange-users-admin@lists.akopia.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Interchange-users digest..."
>
>
it's still under development and still not publicly released :-)
> Today's Topics:
>
> 1. Re: Interchange crashing (Mark Johnson)
> 2. Re: Interchange crashing (Mike Heins)
> 3. RE: Interchange crashing (Tim Mirecki)
> 4. Re: Interchange crashing (Mark Johnson)
> 5. RE: Interchange crashing (Tim Mirecki)
> 6. Re: Interchange crashing (Mike Heins)
> 7. Help on on a solaris 8 box (Larry Caragay)
> 8. Re: Help on on a solaris 8 box (Jason Kohles)
> 9. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Mike Heins)
> 10. Re: Changing pricing based on any field (Mike Heins)
> 11. RE: Interchange crashing (Tim Mirecki)
> 12. Any body can help , I need my customers to be able to ad their own
products (Alexandre Daree)
>
> --__--__--
>
> Message: 1
> Date: Thu, 14 Jun 2001 13:42:48 -0400
> From: Mark Johnson <markj@redhat.com>
> Organization: Red Hat E-Business Solutions
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
> Reply-To: interchange-users@lists.akopia.com
>
> Any chance the catalogs suddenly point to 127.0.0.1?
>
>
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig10%2e64
>
> Tim Mirecki wrote:
> >
> > Hey all, I am having a problem with interchange - versions 4.7.2 and
4.7.3
> > will completely crash if the user clicks enough times, making all
catalogs
> > completely unusable. I was unsuccessful at crashing version 4.6 (Akopia
demo
> > 1).
> >
> > At this very moment, I have successfully crashed the demo store for
version
> > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now,
but
> > you WILL be able to view the first page. I imagine the main page is
static,
> > so it is not affected.
> >
> > Anyone?
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
>
> --__--__--
>
> Message: 2
> Date: Thu, 14 Jun 2001 13:48:28 -0400
> From: Mike Heins <mikeh@minivend.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
> Reply-To: interchange-users@lists.akopia.com
>
> Quoting Tim Mirecki (tim@q5.ca):
> > Racke:
> >
> > The RedHat Demo 3 store is still crashing, try it out (demo.akopia.com)
> > rapidly clicking on "Buy Now" on an item (about 30 times or so) without
> > letting it return anything, it'll crash.
> > Goes back up after a few minutes...is someone resetting it?
>
> Are you sure this is not OrderLineLimit or RobotLimit? We have run
> the 4.7.x server on a system that received 2,000,000 parsed-page
> hits over three days, and it didn't die once.
>
> --
> 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
>
> --__--__--
>
> Message: 3
> From: "Tim Mirecki" <tim@q5.ca>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] Interchange crashing
> Date: Thu, 14 Jun 2001 14:02:01 -0400
> Reply-To: interchange-users@lists.akopia.com
>
> Yes that happens AS WELL, but you can also go back (browser back button)
and
> crash it from there (keep clicking). I'm on a DSL connection, might affect
> how Interchange is impacted because of the rate of requests.
>
> The good news: I can't get 4.6 to crash. :0)
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mark
> Johnson
> Sent: Thursday, June 14, 2001 1:43 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
>
> Any chance the catalogs suddenly point to 127.0.0.1?
>
>
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig10%2e64
>
> Tim Mirecki wrote:
> >
> > Hey all, I am having a problem with interchange - versions 4.7.2 and
4.7.3
> > will completely crash if the user clicks enough times, making all
catalogs
> > completely unusable. I was unsuccessful at crashing version 4.6 (Akopia
> demo
> > 1).
> >
> > At this very moment, I have successfully crashed the demo store for
> version
> > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now,
> but
> > you WILL be able to view the first page. I imagine the main page is
> static,
> > so it is not affected.
> >
> > Anyone?
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> --__--__--
>
> Message: 4
> Date: Thu, 14 Jun 2001 14:05:37 -0400
> From: Mark Johnson <markj@redhat.com>
> Organization: Red Hat E-Business Solutions
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
> Reply-To: interchange-users@lists.akopia.com
>
> Mike Heins wrote:
> >
> > Quoting Tim Mirecki (tim@q5.ca):
> > > Racke:
> > >
> > > The RedHat Demo 3 store is still crashing, try it out
(demo.akopia.com)
> > > rapidly clicking on "Buy Now" on an item (about 30 times or so)
without
> > > letting it return anything, it'll crash.
> > > Goes back up after a few minutes...is someone resetting it?
> >
> > Are you sure this is not OrderLineLimit or RobotLimit? We have run
> > the 4.7.x server on a system that received 2,000,000 parsed-page
> > hits over three days, and it didn't die once.
>
> That was my question to him, but I repeatedly hit the Recalc button
> until it froze. It didn't redirect to the localhost domain, but rather
> the request hangs, waiting for reply. But, the httpd is still serving as
> I was able to hit the index page on demo after ic3 froze.
>
>
> --
> Mark Johnson
> Senior Systems Architect - Professional Services
> Red Hat, Inc.
> E-Business Solutions
> markj@redhat.com
> 703-456-2912
>
> --__--__--
>
> Message: 5
> From: "Tim Mirecki" <tim@q5.ca>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] Interchange crashing
> Date: Thu, 14 Jun 2001 14:14:32 -0400
> Reply-To: interchange-users@lists.akopia.com
>
> You know Mike, I have no idea why it's crashing. I have a feeling that the
> requests need to be coming from a single session. I got people to check
from
> 2 other connection points, and they were not able to access the akopia
demo
> site after I crashed it.
>
> Give it a shot, you too can crash it!
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike
Heins
> Sent: Thursday, June 14, 2001 1:48 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
>
> Quoting Tim Mirecki (tim@q5.ca):
> > Racke:
> >
> > The RedHat Demo 3 store is still crashing, try it out (demo.akopia.com)
> > rapidly clicking on "Buy Now" on an item (about 30 times or so) without
> > letting it return anything, it'll crash.
> > Goes back up after a few minutes...is someone resetting it?
>
> Are you sure this is not OrderLineLimit or RobotLimit? We have run
> the 4.7.x server on a system that received 2,000,000 parsed-page
> hits over three days, and it didn't die once.
>
> --
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> --__--__--
>
> Message: 6
> Date: Thu, 14 Jun 2001 14:06:37 -0400
> From: Mike Heins <mikeh@minivend.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
> Reply-To: interchange-users@lists.akopia.com
>
> Quoting Tim Mirecki (tim@q5.ca):
> > Yes that happens AS WELL, but you can also go back (browser back button)
and
> > crash it from there (keep clicking). I'm on a DSL connection, might
affect
> > how Interchange is impacted because of the rate of requests.
> >
> > The good news: I can't get 4.6 to crash. :0)
>
> It isn't crashing. Set:
>
> OrderLineLimit 10000
> RobotLimit 10000
>
> Then close your browser, start a new session, and see what happens.
>
> --
> 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
>
> --__--__--
>
> Message: 7
> From: "Larry Caragay" <larry@compwebtech.com>
> To: <interchange-users@developer.akopia.com>
> Date: Thu, 14 Jun 2001 22:59:10 -0700
> Subject: [ic] Help on on a solaris 8 box
> Reply-To: interchange-users@lists.akopia.com
>
> Iam getting the error. Would anyone out there that has installed it on
> solaris please help me?? error is..
>
> Found Perl 5.00503 as /usr/bin/perl
>
> If you get a CPAN error, rerun the configuration and it
> should go away.
>
>
> Interchange V4.6.5
>
> Copyright (C) 1996-2001 Akopia, Inc. <info@akopia.com>
>
> Interchange is free under the terms of the GNU General Public License.
>
> Where is your Interchange to be installed?
[/export/home/larry/interchange]
>
> Writing Makefile for Interchange
> ./configure: make: not found
> ./configure: make: not found
>
>
> Thanks in Advance..
>
> Larry@compwebtech.com
>
>
> --__--__--
>
> Message: 8
> Date: Thu, 14 Jun 2001 14:13:08 -0400
> From: Jason Kohles <jkohles@redhat.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Help on on a solaris 8 box
> Reply-To: interchange-users@lists.akopia.com
>
> On Thu, Jun 14, 2001 at 10:59:10PM -0700, Larry Caragay wrote:
> > Iam getting the error. Would anyone out there that has installed it on
> > solaris please help me?? error is..
> >
> > Writing Makefile for Interchange
> > ./configure: make: not found
> > ./configure: make: not found
> >
> You need to either install make, or find out where it is and add that
> directory to your path.
>
> --
> Red Hat E-Business Solutions Jason Kohles
> 11480 Sunset Hills Road Senior System Architect
> Reston, VA 20190 jkohles@redhat.com
>
> --__--__--
>
> Message: 9
> Date: Thu, 14 Jun 2001 13:46:54 -0400
> From: Mike Heins <mikeh@minivend.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> Reply-To: interchange-users@lists.akopia.com
>
> Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> > Jon Jensen <jon@redhat.com> writes:
> >
> > > On Thu, 14 Jun 2001, Jon Jensen wrote:
> > >
> > > > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> > > >
> > > > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > > > fine, because it is not persistent, but we shouldn't touch
Variables
> > > > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> > > >
> > > > I can't remember why I set that originally. It doesn't seem to be
> > > > necessary, so I took it out. John, let me know if that fixes your
problem.
> > >
> > > Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR}
to
> > > write image paths. So it's now broken in the UI. I'll see what I can
do to
> > > fix that.
> >
> > Using IMAGE_DIR in a usertag is bogus IMHO. Why isn't
$Config->{ImageDir}
> > used in the first place ?
> >
>
> I think it was done because it was to develop a directory name, not an
> image path. Since the thing won't work unless $Variable->{DOCROOT} is
> set, I decided to make it consistent and read the setting from Variable
> only instead of a combination. That way no one gets the idea it is a
> core feature.....
>
> --
> 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
>
> --__--__--
>
> Message: 10
> Date: Thu, 14 Jun 2001 13:53:41 -0400
> From: Mike Heins <mikeh@minivend.com>
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Changing pricing based on any field
> Reply-To: interchange-users@lists.akopia.com
>
> Quoting Nathan Wiger (nate@nateware.com):
> > Hey all-
> >
> > I have a client who has some needs which I don't think are supported by
> > Interchange. However, I'm hoping that I'm wrong :-), so I wanted to ping
the
> > list.
> >
> > The client is opening a motorcycle parts store online. For many parts,
> > though, the price will vary based on several different fields. For
example:
> >
> > Base helmet $100.00
> > XL and XXL +$15.00
> > XS -$10.00
> > Metallic Paint +$30.00
> >
> > Now, I'm aware of Interchange's pricing database. The problem isn't with
> > size (since this is built in), but rather getting the price to change on
> > another variable (like color -- the paint above) as well.
> >
> > This situation gets even trickier in some situations, where the size is
not
> > just "XL" but rather corresponds to a model as well:
> >
> > Aftermarket Tailpipe $165.00
> > CBR, Yamaha +$25.00
> > Ducati +$45.00
> > Black Chrome +$15.00
> >
> > The model information must be maintained, so we can't just say
"L=Yamaha,
> > XL=Ducati" in the "size" field. So, if we were just to use the pricing
> > database, I'd have to create fields for all potential "sizes" -- S, M,
L,
> > XL, Ducati, Yamaha, CBR, 17", 18", etc. This is obviously not really
what I
> > want to do, since there's no way to tell what fields will be needed, and
> > besides that it would be really ugly. Plus, there's still no way to
alter
> > price on size _and_ color as far as I can tell.
> >
> > Is all this correct? If not, please stop and tell me where I'm wrong,
> > because the rest of this email is a proposed solution.
> >
> > So, after looking at this it seems like the way that pricing is done in
> > Interchange could be tweaked to make it a little more flexible. Here's
what
> > I was thinking. If you set a field up via UseModifier to alter the
product,
> > then rather than Interchange looking in the pricing db, it does the
> > following:
> >
> > 1. Looks for a field called "[field]_price" in the products db.
> > So, if you set "UseModifier length", it would look for a
> > field called "length_price" for that sku in the products db.
>
> We don't tend to do this type of name-dependent hard-coding, for
> the same reason we don't use variables like ${"name_$something"}.
>
> >
> > 2. This field takes the format "name=price, name=price", so for
> > example:
> >
> > CBR=+25.00, Yamaha=+25.00
> >
> > 3. This field is split up appropriately, and a key is searched
> > for one corresponding to the value of the main field chosen.
> > So, if we chose "CBR" as our "size", then we would look
> > in "size_price" for the key "CBR" and find the value "+25.00".
> > If the key isn't found, no change is made to the price.
>
> It is done this much way in the 4.7.x options.
>
> >
> > 4. If the price is preceded with a + or nothing, it's added to
> > the base price. If it's preceded with a -, it's subtracted.
>
> And if it has a trailing %, it is a percentage.
>
> >
> > 5. On checkout, these prices are added in the same order as
> > the fields are listed with UseModifier. So, if we had
> > said "UseModifier size color", then we would first go thru
> > and look for "size_price" for that item, then "color_price".
> >
> > This has the advantage that it is flexible and can be tailored on a
per-item
> > basis. I supposed it could also be placed in an external table indexed
by
> > sku, but it seems like keeping it together in the products db would be
> > easier.
>
> And in addition, it is easy to write a UserTag that does the same thing. I
> have solved this problem many times, and it is almost easier to re-write
> the UserTag than it is to build a reusable version..
>
> --
> 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
>
> --__--__--
>
> Message: 11
> From: "Tim Mirecki" <tim@q5.ca>
> To: <interchange-users@developer.akopia.com>
> Subject: RE: [ic] Interchange crashing
> Date: Thu, 14 Jun 2001 14:43:00 -0400
> Reply-To: interchange-users@lists.akopia.com
>
> Ok, set both of those, restarted Interchange and I can still crash it.
>
> For my local server, I can try accessing the catalogs from any machine on
> the network, and the catalogs are unavailable after doing this (eventually
> times out). If that's not crashing, I don't know what is.
>
> Maybe there's something else that's not properly configured? I don't know,
> but that doesn't explain why RedHat's own (live) Demo store would crash!
Can
> you please try this for yourself?
>
> http://demo.akopia.com/cgi-bin/ic3
>
> You'll probably understand what's going on a lot better than I can explain
> it to you.
>
> Thanks.
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike
Heins
> Sent: Thursday, June 14, 2001 2:07 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
>
> Quoting Tim Mirecki (tim@q5.ca):
> > Yes that happens AS WELL, but you can also go back (browser back button)
> and
> > crash it from there (keep clicking). I'm on a DSL connection, might
affect
> > how Interchange is impacted because of the rate of requests.
> >
> > The good news: I can't get 4.6 to crash. :0)
>
> It isn't crashing. Set:
>
> OrderLineLimit 10000
> RobotLimit 10000
>
> Then close your browser, start a new session, and see what happens.
>
> --
> 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
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> --__--__--
>
> Message: 12
> From: "Alexandre Daree" <alex@nadiatech.com>
> To: <interchange-users@developer.akopia.com>
> Date: Wed, 13 Jun 2001 15:09:18 -0500
> Subject: [ic] Any body can help , I need my customers to be able to ad
their own products
> Reply-To: interchange-users@lists.akopia.com
>
> Hi,
> Any body ever did this, where customers ading their own products to the
> products.txt , I am looking for an automation of the process.
>
> ----- Original Message -----
> From: <interchange-users-request@developer.akopia.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Thursday, June 14, 2001 12:30 PM
> Subject: Interchange-users digest, Vol 1 #610 - 15 msgs
>
>
> > Send Interchange-users mailing list submissions to
> > interchange-users@lists.akopia.com
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> > or, via email, send a message with subject or body 'help' to
> > interchange-users-request@lists.akopia.com
> >
> > You can reach the person managing the list at
> > interchange-users-admin@lists.akopia.com
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Interchange-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (John Beima)
> > 2. Re: bilingual (Florian Kleedorfer)
> > 3. Changing pricing based on any field (Nathan Wiger)
> > 4. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Jon Jensen)
> > 5. Re: Database Handle and Global Subs (Jason Kohles)
> > 6. RE: bilingual (Phillip A. Ryals)
> > 7. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Stefan Hornburg Racke
> > )
> > 8. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Stefan Hornburg Racke
> > )
> > 9. Interchange crashing (Tim Mirecki)
> > 10. Re: Interchange crashing (Stefan Hornburg Racke
> > )
> > 11. RE: Interchange crashing (Tim Mirecki)
> > 12. Re: Database Handle and Global Subs (Mark Johnson)
> >
> > -- __--__--
> >
> > Message: 1
> > From: John Beima <jbeima@palb.com>
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> > Date: Thu, 14 Jun 2001 10:19:37 -0600 (MDT)
> > Reply-To: interchange-users@lists.akopia.com
> >
> > G'Day Stefan,
> >
> > I don't mean to be a bother, but any idea on how long to a fix for this
> one? It
> > is REALLY a show stopper...
> >
> > John Beima
> >
> >
> > Quoting "Stefan Hornburg (Racke)" <racke@linuxia.de>:
> >
> > > John Beima <jbeima@palb.com> writes:
> > >
> > > > Wow was this ever a hard one to find...
> > > >
> > > > Boy do you need a lot of ifs....
> > > >
> > > > #01) UI must be in secure mode...
> > > > #02) SSL must be a different domain...
> > > > #03) Going into the UI
https://www.domain2.com/cgi-bin/cat/admin/index
> > > works.
> > > > #04) Going into the UI
http://www.domain1.com/cgi-bin/cat/admin/index
> > > and
> > > > letting the UI login screen hop you over to the SSL site causes this
> > > error...
> > > > It looks like it is possibly in the new image tag...
> > > > Actually just going back and doing step 03 fixes the problem...
> > > >
> > > > The wierd thing is it is not session specific... Every visitor to
the
> > > site from
> > > > then on in gets the wrong IMAGE_DIR variable...
> > >
> > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > fine, because it is not persistent, but we shouldn't touch
> > > Variables as it seems. Jon, why we need to set IMAGE_DIR in
> > > UI_STD_HEAD ?
> > >
> > > Variable UI_STD_INIT <<EOV
> > > [perl]
> > > # determine catalog URL before mangling config URLs
> > > $Scratch->{ui_catalog_url} = $Tag->area('index');
> > >
> > > # replace ImageDir variables with UI equivalents to take advantage
> > > # of Interchange's automatic image path rewriting
> > > $Config->{ImageDirOriginal} = $Config->{ImageDir};
> > > $Config->{ImageDirSecureOriginal} = $Config->{ImageDirSecure};
> > > $Config->{ImageDir} = $Variable->{IMAGE_DIR} =
> > > $Tag->image( { ui => 1, secure => 0, dir_only => 1 } );
> > > $Config->{ImageDirSecure} =
> > > $Tag->image( { ui => 1, secure => 1, dir_only => 1 } );
> > >
> > > # force using secure URL for this page?
> > > if ($Tag->var('UI_SECURE', 2)) {
> > > $Config->{VendURL} = $Config->{SecureURL};
> > > }
> > >
> > > ''
> > > [/perl]
> > > EOV
> > >
> > > >
> > > > John
> > > >
> > > >
> > > >
> > > > Quoting Jon Jensen <jon@redhat.com>:
> > > >
> > > > > On Wed, 13 Jun 2001, John Beima wrote:
> > > > >
> > > > > > Has anyone else found that fairly often the new 4.7.3 will
> > > overwrite
> > > > > the
> > > > > > __IMAGE_DIR__ variable with the contents of possibly
> > > > > __UI_IMAGE_DIR__?? What
> > > > > > mine winds up with is /interchange/en_US/ then breaking the link
> > > to
> > > > > all
> > > > > > images... This might also be a per session problem... However
the
> > > only
> > > > > thing
> > > > > > that seems to solve it is logging in to the admin pages and
going
> > > > > "Apply
> > > > > > Changes"... Then it will work for a short period of time
again...
> > > > >
> > > > > Perhaps some more details would help:
> > > > >
> > > > > Are you using the same browser to access the storefront and the
> > > admin?
> > > > >
> > > > > Do you have cookies enabled or disabled?
> > > > >
> > > > > Does the problem happen if you never access the admin after
starting
> > > > > your
> > > > > browser?
> > > > >
> > > > > How many sessions from your IP address show up in the session
list?
> > > > >
> > > > > What pages have you visited in the admin?
> > > > >
> > > > > I can understand how this could be bug, but it works fine for me.
> > > Even
> > > > > when going back and forth between store and admin with the same
> > > session
> > > > > ID, I don't have any trouble. Maybe your answers will shed more
> > > light.
> > > > >
> > > > > Jon
> > > > >
> > > > > _______________________________________________
> > > > > Interchange-users mailing list
> > > > > Interchange-users@lists.akopia.com
> > > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > > >
> > > >
> > > >
> > > >
> > > > John Beima
> > > > jbeima@palb.com, support@alocalagent.com, and
support@alocalchurch.com
> > > >
> > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> > > >
> > > > 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@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > >
> > > >
> > >
> > > --
> > > Master of Swiss Web 2001: http://www.zweifel.ch/
> > >
> > > 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@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> > John Beima
> > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> >
> > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> >
> > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> > 2713B Spring Place SW, Decatur, Alabama, United States, 35603
> >
> > -- __--__--
> >
> > Message: 2
> > From: Florian Kleedorfer <klee@yy-mm-dd.com>
> > Organization: =?iso8859-1?q?L=F6ffelhardt=20&=20Kleedorfer?= OEG
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] bilingual
> > Date: Thu, 14 Jun 2001 18:21:26 +0200
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Am Montag 11 Juni 2001 20:29 schrieben Sie:
> > > Speaking of the locale features...
> > >
> > > I'm trying to set the normal currency to be a custom symbol for a
> > > promotional site... It needs to be "BB" instead of "$". But changing
> the
> > > locale, even changing locale.txt and deleting the gdbm file, doesn't
> work.
> > >
> >
> > try
> >
> > Locale en_US price_picture "###,###,###.## BB"
> > or
> > Locale en_US currency_symbol BB
> >
> > in catalog.cfg
> >
> > * and be sure to set the locale to en_US (or whatever locale you use) *
> >
> > (http://interchange.redhat.com/doc/icconfig.pdf has more on that)
> >
> >
> > Flo
> >
> > -- __--__--
> >
> > Message: 3
> > From: "Nathan Wiger" <nate@nateware.com>
> > To: <interchange-users@developer.akopia.com>
> > Date: Thu, 14 Jun 2001 09:35:46 -0700
> > Organization: Nateware
> > Subject: [ic] Changing pricing based on any field
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Hey all-
> >
> > I have a client who has some needs which I don't think are supported by
> > Interchange. However, I'm hoping that I'm wrong :-), so I wanted to ping
> the
> > list.
> >
> > The client is opening a motorcycle parts store online. For many parts,
> > though, the price will vary based on several different fields. For
> example:
> >
> > Base helmet $100.00
> > XL and XXL +$15.00
> > XS -$10.00
> > Metallic Paint +$30.00
> >
> > Now, I'm aware of Interchange's pricing database. The problem isn't with
> > size (since this is built in), but rather getting the price to change on
> > another variable (like color -- the paint above) as well.
> >
> > This situation gets even trickier in some situations, where the size is
> not
> > just "XL" but rather corresponds to a model as well:
> >
> > Aftermarket Tailpipe $165.00
> > CBR, Yamaha +$25.00
> > Ducati +$45.00
> > Black Chrome +$15.00
> >
> > The model information must be maintained, so we can't just say
"L=Yamaha,
> > XL=Ducati" in the "size" field. So, if we were just to use the pricing
> > database, I'd have to create fields for all potential "sizes" -- S, M,
L,
> > XL, Ducati, Yamaha, CBR, 17", 18", etc. This is obviously not really
what
> I
> > want to do, since there's no way to tell what fields will be needed, and
> > besides that it would be really ugly. Plus, there's still no way to
alter
> > price on size _and_ color as far as I can tell.
> >
> > Is all this correct? If not, please stop and tell me where I'm wrong,
> > because the rest of this email is a proposed solution.
> >
> > So, after looking at this it seems like the way that pricing is done in
> > Interchange could be tweaked to make it a little more flexible. Here's
> what
> > I was thinking. If you set a field up via UseModifier to alter the
> product,
> > then rather than Interchange looking in the pricing db, it does the
> > following:
> >
> > 1. Looks for a field called "[field]_price" in the products db.
> > So, if you set "UseModifier length", it would look for a
> > field called "length_price" for that sku in the products db.
> >
> > 2. This field takes the format "name=price, name=price", so for
> > example:
> >
> > CBR=+25.00, Yamaha=+25.00
> >
> > 3. This field is split up appropriately, and a key is searched
> > for one corresponding to the value of the main field chosen.
> > So, if we chose "CBR" as our "size", then we would look
> > in "size_price" for the key "CBR" and find the value "+25.00".
> > If the key isn't found, no change is made to the price.
> >
> > 4. If the price is preceded with a + or nothing, it's added to
> > the base price. If it's preceded with a -, it's subtracted.
> >
> > 5. On checkout, these prices are added in the same order as
> > the fields are listed with UseModifier. So, if we had
> > said "UseModifier size color", then we would first go thru
> > and look for "size_price" for that item, then "color_price".
> >
> > This has the advantage that it is flexible and can be tailored on a
> per-item
> > basis. I supposed it could also be placed in an external table indexed
by
> > sku, but it seems like keeping it together in the products db would be
> > easier.
> >
> > Thoughts on this? If there's intereste, I'm more than willing to make
the
> > changes to the source and check them in. I'd like to make these changes
to
> > the main product; otherwise I'll have to repeatedly apply diffs
everytime
> I
> > upgrade the client's software.
> >
> > Thanks,
> > Nate
> >
> > --
> > Nathan Wiger
> > Systems Analyst and Perl Hacker
> > Nateware, Inc. www.nateware.com
> >
> >
> >
> > -- __--__--
> >
> > Message: 4
> > Date: Thu, 14 Jun 2001 12:36:04 -0400 (EDT)
> > From: Jon Jensen <jon@redhat.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> > Reply-To: interchange-users@lists.akopia.com
> >
> > On Thu, 14 Jun 2001, Jon Jensen wrote:
> >
> > > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> > >
> > > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > > fine, because it is not persistent, but we shouldn't touch Variables
> > > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> > >
> > > I can't remember why I set that originally. It doesn't seem to be
> > > necessary, so I took it out. John, let me know if that fixes your
> problem.
> >
> > Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR} to
> > write image paths. So it's now broken in the UI. I'll see what I can do
to
> > fix that.
> >
> > Jon
> >
> >
> > -- __--__--
> >
> > Message: 5
> > Date: Thu, 14 Jun 2001 12:23:04 -0400
> > From: Jason Kohles <jkohles@redhat.com>
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Database Handle and Global Subs
> > Reply-To: interchange-users@lists.akopia.com
> >
> > On Thu, Jun 14, 2001 at 04:27:25PM +0100, Sheamus Nulty wrote:
> > >
> > > I then run the following
> > >
> > > [set print]1[/set]
> > > [if scratch print]
> > > [pdfshea]
> > > [/if]
> > >
> > > and it just prints out [pdfshea] to the webpage. So I'm of the
opinion
> that
> > > [if] will just print out what comes after it .
> > > If this is the case is my only alternative the solution you provided.
> > >
> > If does interpolate, the only reason it should just print the tag is if
> either
> > the globalsub was not found, or didn't compile, if it didn't compile you
> > you should see an error on startup, otherwise check and make sure you
have
> it
> > defined in the right config file, keeping in mind that it must go in
> > interchange.cfg unless you have AllowGlobal set for that catalog.
> >
> > --
> > Red Hat E-Business Solutions Jason Kohles
> > 11480 Sunset Hills Road Senior System Architect
> > Reston, VA 20190 jkohles@redhat.com
> >
> > -- __--__--
> >
> > Message: 6
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] bilingual
> > Date: Thu, 14 Jun 2001 11:39:24 -0500
> > Reply-To: interchange-users@lists.akopia.com
> >
> > I finally got it to work, but I had to use something other that en_US.
> >
> > The only prob I ran into: The price picture now reads ### BB in
> locale.txt.
> > But now the subtotal always shows up " *** BB ".
> >
> > -phillip
> >
> > > -----Original Message-----
> > > From: interchange-users-admin@developer.akopia.com
> > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> > > Florian Kleedorfer
> > > Sent: Thursday, June 14, 2001 11:21 AM
> > > To: interchange-users@developer.akopia.com
> > > Subject: Re: [ic] bilingual
> > >
> > >
> > > Am Montag 11 Juni 2001 20:29 schrieben Sie:
> > > > Speaking of the locale features...
> > > >
> > > > I'm trying to set the normal currency to be a custom symbol for a
> > > > promotional site... It needs to be "BB" instead of "$". But
> > > changing the
> > > > locale, even changing locale.txt and deleting the gdbm file,
> > > doesn't work.
> > > >
> > >
> > > try
> > >
> > > Locale en_US price_picture "###,###,###.## BB"
> > > or
> > > Locale en_US currency_symbol BB
> > >
> > > in catalog.cfg
> > >
> > > * and be sure to set the locale to en_US (or whatever locale you use)
*
> > >
> > > (http://interchange.redhat.com/doc/icconfig.pdf has more on that)
> > >
> > >
> > > Flo
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> > -- __--__--
> >
> > Message: 7
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> > From: racke@linuxia.de (Stefan Hornburg (Racke))
> > Date: 14 Jun 2001 18:34:08 +0200
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Jon Jensen <jon@redhat.com> writes:
> >
> > > On Thu, 14 Jun 2001, Jon Jensen wrote:
> > >
> > > > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> > > >
> > > > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > > > fine, because it is not persistent, but we shouldn't touch
Variables
> > > > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> > > >
> > > > I can't remember why I set that originally. It doesn't seem to be
> > > > necessary, so I took it out. John, let me know if that fixes your
> problem.
> > >
> > > Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR}
to
> > > write image paths. So it's now broken in the UI. I'll see what I can
do
> to
> > > fix that.
> >
> > Using IMAGE_DIR in a usertag is bogus IMHO. Why isn't
$Config->{ImageDir}
> > used in the first place ?
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > For projects and other business stuff please refer to COBOLT NetServices
> > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
> 0041-1-3884400)
> >
> > -- __--__--
> >
> > Message: 8
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> > From: racke@linuxia.de (Stefan Hornburg (Racke))
> > Date: 14 Jun 2001 18:36:17 +0200
> > Reply-To: interchange-users@lists.akopia.com
> >
> > John Beima <jbeima@palb.com> writes:
> >
> > > G'Day Stefan,
> > >
> > > I don't mean to be a bother, but any idea on how long to a fix for
this
> one? It
> > > is REALLY a show stopper...
> >
> > This problem is fixed, but it seems to reveal another.
> > IMHO you have to live with show stoppers if you rely
> > on software heavy under development :-;
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > For projects and other business stuff please refer to COBOLT NetServices
> > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
> 0041-1-3884400)
> >
> > -- __--__--
> >
> > Message: 9
> > From: "Tim Mirecki" <tim@q5.ca>
> > To: <interchange-users@developer.akopia.com>
> > Date: Thu, 14 Jun 2001 12:55:42 -0400
> > Subject: [ic] Interchange crashing
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Hey all, I am having a problem with interchange - versions 4.7.2 and
4.7.3
> > will completely crash if the user clicks enough times, making all
catalogs
> > completely unusable. I was unsuccessful at crashing version 4.6 (Akopia
> demo
> > 1).
> >
> > At this very moment, I have successfully crashed the demo store for
> version
> > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right now,
> but
> > you WILL be able to view the first page. I imagine the main page is
> static,
> > so it is not affected.
> >
> > Anyone?
> >
> >
> > -- __--__--
> >
> > Message: 10
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Interchange crashing
> > From: racke@linuxia.de (Stefan Hornburg (Racke))
> > Date: 14 Jun 2001 18:50:30 +0200
> > Reply-To: interchange-users@lists.akopia.com
> >
> > "Tim Mirecki" <tim@q5.ca> writes:
> >
> > > Hey all, I am having a problem with interchange - versions 4.7.2 and
> 4.7.3
> > > will completely crash if the user clicks enough times, making all
> catalogs
> > > completely unusable. I was unsuccessful at crashing version 4.6
(Akopia
> demo
> > > 1).
> > >
> > > At this very moment, I have successfully crashed the demo store for
> version
> > > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right
now,
> but
> > > you WILL be able to view the first page. I imagine the main page is
> static,
> > > so it is not affected.
> > >
> > > Anyone?
> >
> > Anything found in the global error log file ?
> > Have you PreFork enabled ?
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > For projects and other business stuff please refer to COBOLT NetServices
> > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
> 0041-1-3884400)
> >
> > -- __--__--
> >
> > Message: 11
> > From: "Tim Mirecki" <tim@q5.ca>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] Interchange crashing
> > Date: Thu, 14 Jun 2001 13:32:03 -0400
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Racke:
> >
> > The RedHat Demo 3 store is still crashing, try it out (demo.akopia.com)
> > rapidly clicking on "Buy Now" on an item (about 30 times or so) without
> > letting it return anything, it'll crash.
> > Goes back up after a few minutes...is someone resetting it?
> >
> > Whether PreFork is turned on or off, it makes no difference. I've tried
> both
> > on our development server.
> > Here are the global error log entries; I didn't see anything out of the
> > ordinary:
> >
> > - - - [14/June/2001:12:02:44 -0400] - - Interchange V4.7.3
> > - - - [14/June/2001:12:02:44 -0400] - - Config 'foundation' at server
> > startup
> > - - - [14/June/2001:12:02:46 -0400] - - Config 'magicoven' at server
> startup
> > - - - [14/June/2001:12:02:47 -0400] - - Config 'mocha' at server startup
> > - - - [14/June/2001:12:02:48 -0400] - - Config 'pleasant' at server
> startup
> > - - - [14/June/2001:12:02:49 -0400] - - Using default DBM database.
> > - - - [14/June/2001:12:02:50 -0400] - - Config 'q5' at server startup
> > - - - [14/June/2001:12:02:50 -0400] - - Config 'tsb' at server startup
> > - - - [14/June/2001:12:02:51 -0400] - - START server (25208) (INET and
> UNIX)
> > - - - [14/June/2001:12:02:53 -0400] - - Accepting connections from
> > localhost|127\.0\.0\.1
> > - - - [14/June/2001:12:02:53 -0400] - - START server (25300) (INET and
> UNIX)
> > - - - [14/June/2001:12:09:01 -0400] - - Spurious PID file for process
> 25364
> > supposedly running 302 seconds
> > - - - [14/June/2001:12:11:38 -0400] - - STOP server (25300) on signal
TERM
> > - - - [14/June/2001:12:11:47 -0400] - - Low traffic settings.
> > - - - [14/June/2001:12:11:49 -0400] - - ...UI is loaded....
> > - - - [14/June/2001:12:11:49 -0400] - - UserTag button scalar parameter
> > Documentation redefined.
> > > In line 44 of the configuration file 'usertag/button.tag':
> > > UserTag button Documentation <<EOD
> >
> >
> >
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Stefan
> > Hornburg (Racke)
> > Sent: Thursday, June 14, 2001 12:51 PM
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Interchange crashing
> >
> > "Tim Mirecki" <tim@q5.ca> writes:
> >
> > > Hey all, I am having a problem with interchange - versions 4.7.2 and
> 4.7.3
> > > will completely crash if the user clicks enough times, making all
> catalogs
> > > completely unusable. I was unsuccessful at crashing version 4.6
(Akopia
> > demo
> > > 1).
> > >
> > > At this very moment, I have successfully crashed the demo store for
> > version
> > > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right
now,
> > but
> > > you WILL be able to view the first page. I imagine the main page is
> > static,
> > > so it is not affected.
> > >
> > > Anyone?
> >
> > Anything found in the global error log file ?
> > Have you PreFork enabled ?
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > -- __--__--
> >
> > Message: 12
> > Date: Thu, 14 Jun 2001 13:38:53 -0400
> > From: Mark Johnson <markj@redhat.com>
> > Organization: Red Hat E-Business Solutions
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Database Handle and Global Subs
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Sheamus Nulty wrote:
> > >
> > > I'v setup the following. I have a global sub defined as follows in my
> > > interchange.cfg file
> > >
> > > GlobalSub <<EOF
> > >
> > > sub pdfshea {
> > >
> > > my $counter=5;
> > > return "$counter";
> > >
> > > }
> > >
> > > EOF
> > >
> > > I then run the following
> > >
> > > [set print]1[/set]
> > > [if scratch print]
> > > [pdfshea]
> > > [/if]
> > >
> > > and it just prints out [pdfshea] to the webpage. So I'm of the
opinion
> that
> > > [if] will just print out what comes after it .
> > > If this is the case is my only alternative the solution you provided.
> >
> > Well, that should certainly not work because a global sub will not
> > define a usertag. And, if your pdfcreate usertag was, actually, a global
> > sub, then it will not work either.
> >
> > This should help you out:
> >
> > http://interchange.redhat.com/cgi-bin/ic/dev/ictags_91.html
> >
> > --
> > Mark Johnson
> > Senior Systems Architect - Professional Services
> > Red Hat, Inc.
> > E-Business Solutions
> > markj@redhat.com
> > 703-456-2912
> >
> >
> > -- __--__--
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > End of Interchange-users Digest
>
>
>
> --__--__--
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
> End of Interchange-users Digest
From: interchange-users at lists.akopia.com (Rick Shank)
Date: Thu Jun 14 15:03:20 2001
Subject: [ic] Limiting Shipping based on cart?
Hello.
I'm running Interchange 4.6.4
A customer of mine would like this ability:
He sells fresh food. If someone orders something from the "Fresh Food"
category, they cannot have ground shipping as an option. Also, they must
have at least 5 lbs of overall goods in their cart to be able to checkout.
But for other items (hats, etc) by themselves (ie with no fresh food) then
they don't have a minimum order.
Also, I have a category list on the left that does a simple search to
display all items from one category. On the search results for the fresh
foods page, it needs to have a separate message on the bottom of the page
explaining the shipping rules.
Thanks a lot.
I'd appreciate it if u could copy me on any responses to this.
Thanks!
~Rick Shank
From: interchange-users at lists.akopia.com (Walid Shaari)
Date: Thu Jun 14 15:11:01 2001
Subject: [ic] Re: WorldPay? / orders in UI problems
Hi All,
I am having trouble getting my orders logged in the Admin UI database! does any
body know how this is done; or point me to the right docs I should read
TIA
My problem started when trying to modify interchange 4.6.5 construct demo so
that it works with WorldPay; I have changed checkout.html using hidden tags to
link to WP, and then comeback to the receipt page if successful. after these
modifications the orders are not shown any more in the pending section of the
admin UI.
=====
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
walid@melinux.com
http://www.MeLinux.com
"Learn whatever knowledge you wish to acquire, and act upon what you have learned."
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Thu Jun 14 15:21:00 2001
Subject: [ic] Interchange crashing
> Ok, set both of those, restarted Interchange and I can still crash it.
Have you checked how many IC processes are running when you "crash" your IC?
I got a few times the same problems that IC did not respond. After a ps -aux
|grep interchange there was up to IC 10 processes running. After killing them
and restarting IC everything seemed to work fine...
Rene
From: interchange-users at lists.akopia.com (Larry Caragay)
Date: Thu Jun 14 15:30:00 2001
Subject: [ic] Help on on a solaris 8 box
make-3.78.1-sol8-intel-local.gz
Is this the right make??
Also how do I add it to my directory path??? Is that in the program
interchange or is that in a eg. /usr/bin???
Thanks in advance..
Larry
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
Kohles
Sent: Thursday, June 14, 2001 11:13 AM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Help on on a solaris 8 box
On Thu, Jun 14, 2001 at 10:59:10PM -0700, Larry Caragay wrote:
> Iam getting the error. Would anyone out there that has installed it on
> solaris please help me?? error is..
>
> Writing Makefile for Interchange
> ./configure: make: not found
> ./configure: make: not found
>
You need to either install make, or find out where it is and add that
directory to your path.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jeff Worsley)
Date: Thu Jun 14 15:36:00 2001
Subject: [ic] SSL - Cart Drop
Ok I will first start by saying that I know this is a common question.
Here is the situation, When customer goes to SSL basket, interchange
sometimes issues a new session... I have found and made the fix awhile
back and have submited the changes.
INTERCHANGE 4.6.5 FILE bin/interchange:
Line #1420: $Vend::Session->{shost}=$CGI::secure
this should be: $Vend::Session->{shost}=$CGI::remote_addr
i was thinking to my self, if you read that whole function... why the
hell would you set $Vend::Session->{shost} to $CGI::Secure if
$CGI::Secure had no value to begin with.
anyway I then had to add to catalog.cfg:
Cookies Yes
CookieDomain .securedomain.com .nonsecuredomain.com
well the funnything is that this works 100% when the .securedomain.com
is first then the .nonsecuredomain.com... however interchange declares a
cookie error and says that I will loose all cart items from non to
secure... this is not true, the cookies are writen like they should be
(even to a virgin computer). NOW THE QUESTION: Why would this make
interchange think there is an error? is there a fix to the code to make
it not error? I can remove the stuff out of the templates, however I
what interchange to be happy with the fix and not error at all to begin
with.
~Jeff
ContactDesigns.com
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Thu Jun 14 15:42:00 2001
Subject: [ic] Limiting Shipping based on cart?
Set a scratch of the available shipmodes for non-fresh-food by default.
Reset the scratch to the fresh-food ship modes whenever someone puts a
fresh-food item in the cart. Alternatively, you could put scanning code
to do this for you in an autoload so that you don't have to keep track
of when qualifying items go into--or more problematically go out of--the
cart.
PS--don't forget to update the cart before the code that scans it for
said items!
Rick Shank wrote:
>
> Hello.
>
> I'm running Interchange 4.6.4
>
> A customer of mine would like this ability:
> He sells fresh food. If someone orders something from the "Fresh Food"
> category, they cannot have ground shipping as an option. Also, they must
> have at least 5 lbs of overall goods in their cart to be able to checkout.
> But for other items (hats, etc) by themselves (ie with no fresh food) then
> they don't have a minimum order.
>
> Also, I have a category list on the left that does a simple search to
> display all items from one category. On the search results for the fresh
> foods page, it needs to have a separate message on the bottom of the page
> explaining the shipping rules.
>
> Thanks a lot.
>
> I'd appreciate it if u could copy me on any responses to this.
>
> Thanks!
> ~Rick Shank
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Thu Jun 14 15:44:01 2001
Subject: [ic] Interchange crashing
Rene Hertell wrote:
>
> > Ok, set both of those, restarted Interchange and I can still crash it.
>
> Have you checked how many IC processes are running when you "crash" your IC?
>
> I got a few times the same problems that IC did not respond. After a ps -aux
> |grep interchange there was up to IC 10 processes running. After killing them
> and restarting IC everything seemed to work fine...
While this is semantically different than a crash, to the user, it is
the same thing.
Also, I wasn't able to get it to crash, however, I think this is because
my connectivity is too fast to allow me to get enough mouseclicks in.
(We've around 350MBps of commodity connectivity here at work).
Chris
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Thu Jun 14 15:52:01 2001
Subject: [ic] Help on on a solaris 8 box
Larry Caragay wrote:
>
> make-3.78.1-sol8-intel-local.gz
> Is this the right make??
>
> Also how do I add it to my directory path??? Is that in the program
> interchange or is that in a eg. /usr/bin???
>
> Thanks in advance..
'make' is a program used to compile c programs (amoung other things) in
an automated fashion. If you do not have make you likely do not have a c
compiler. If you do not have a c compiler you can't compile the link
programs that sit in your cgi-bin directory. While binary distributions
probably exist my feeling is that you'll want to make sure you have a c
compiler - otherwise many of those modules are going to be useless as
they have c components to them.
If this is your personally administered Solaris 8 box you'll need to
learn how to do some sysadmin work. This forum probably isn't the right
place to learn it though. If you are using a box administered by someone
else you will want to contact them and make sure you can compile c
programs and locally install perl modules from your account. If you can
then you'll need to make sure they help you set your environment
correctly.
If you are simply interested in having a store and don't plan on doing
minivend consulting then you might want to find an ISP that already
supports minivend/interchange.
Chris
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 14 15:58:00 2001
Subject: [ic] Interchange crashing
Quoting Rene Hertell (rene@hertell.com):
> > Ok, set both of those, restarted Interchange and I can still crash it.
>
> Have you checked how many IC processes are running when you "crash" your IC?
>
> I got a few times the same problems that IC did not respond. After a ps -aux
> |grep interchange there was up to IC 10 processes running. After killing them
> and restarting IC everything seemed to work fine...
>
Bug confirmed, but not yet fixed.
The problem is an apparent deadlock in the housekeeping routines
that keep track of the number of servers. Only happens if you get
MaxServer or more accesses in HouseKeeping or less seconds, and
doesn't affect pre-fork mode (which is why we haven't seen a crash
on any production sites which are all using pre-fork).
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Thu Jun 14 16:03:01 2001
Subject: [ic] One Option with many products
Hi,
I am running IC version 4.7.2, and I want to use the following feature.
I have about 1000 products in my database and I want to give them
options. But there are ranges of products that carry the same options.
You can imagine that I have 100 different t-shirts, but they all come in
size M, L, and XL. I entered some goods, but as you might imagine I was
getting fed up with entering all these options manually. I have searched
the archive, but I cannot find any information on how to accomplish
this. Does anyone know how to do this. If so, could you give some tips
on how to do this.
Thank you
Regards
Guy Soudant
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Thu Jun 14 16:05:00 2001
Subject: [ic] Interchange crashing
Excellent! Ok my next question is what can I do in the meantime while I am
waiting for a fix? What changes can be made in order to prevent this from
happening?
Thanks Mike!
Tim
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike Heins
Sent: Thursday, June 14, 2001 4:01 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Interchange crashing
Quoting Rene Hertell (rene@hertell.com):
> > Ok, set both of those, restarted Interchange and I can still crash it.
>
> Have you checked how many IC processes are running when you "crash" your
IC?
>
> I got a few times the same problems that IC did not respond. After a
ps -aux
> |grep interchange there was up to IC 10 processes running. After killing
them
> and restarting IC everything seemed to work fine...
>
Bug confirmed, but not yet fixed.
The problem is an apparent deadlock in the housekeeping routines
that keep track of the number of servers. Only happens if you get
MaxServer or more accesses in HouseKeeping or less seconds, and
doesn't affect pre-fork mode (which is why we haven't seen a crash
on any production sites which are all using pre-fork).
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Thu Jun 14 16:08:01 2001
Subject: [ic] cc number through e-mail
I can do without the sarcastic comments. If you really want to comment
then please send some comments which are usefull.
I already acknowledged that this is not the ideal situation, but we have
been working like this for more than 5 years, and have never had any
problems. Still, I agree it is a potential risk, but at least we don't
keep the cc numbers and other relevant information on the server. It's
not ideal, but I tend to call it a second best solution.
But then again, in the end we aren't all as good as you are (I almost
die in humor).
Regards
Guy Soudant
-----Oorspronkelijk bericht-----
Van: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com] Namens Dan B
Verzonden: donderdag 14 juni 2001 2:12
Aan: interchange-users@developer.akopia.com
Onderwerp: Re: [ic] cc number through e-mail
At 10:30 PM 6/13/2001 +0200, you wrote:
>Hi,
>
>I am running IC version 4.7.2. Since there is no pgp or gpg encryption
>software on my host's server, I cannot encrypt CC numbers. I have
>therefor decided to send them to me through e-mail (as this reduces the
>risk in comparison to storing the cc numbers on the server, which I do
>not want). But I have looked through the code of the report file,
>payment file, and order file, but I'm not able to get the full
>creditcard number in the e-mail (I get something like 41**1111 which is
>the value of mv_credit_card_reference). Can someone tell me what I need
>to do to get the cc number through e-mail send to me? I know this is
>risky, but it's the only option I have right now.
>
>Thank you
>
>Regards
>
>Guy Soudant
Should we report you to the Better Business Bureau now, or after the
credit
cards have been fraudulently used?
BTW, I have a *totally* unrelated question. What was the ip address of
your mail server?
(I jest in humor).
Seriously, if your ISP has Interchange installed, might it be possible
to
find a way to install some sort of encryption program? Some sort of
perl
module that does GPG type stuff? (Anyone?)
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Larry Caragay)
Date: Thu Jun 14 16:10:00 2001
Subject: [ic] Help on on a solaris 8 box
Thank.. Iam self admin the box. I have build a solaris 8 box and am trying
to figure it out. As for installing interchange, I have had no problem
installing it on FreeBSD server, but on a Solaris 8 box I have had many
problems. I guess that BSD self install all of the necessary files and
programs that is need to install interchanges.
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Chris
Rapier
Sent: Thursday, June 14, 2001 12:56 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Help on on a solaris 8 box
Larry Caragay wrote:
>
> make-3.78.1-sol8-intel-local.gz
> Is this the right make??
>
> Also how do I add it to my directory path??? Is that in the program
> interchange or is that in a eg. /usr/bin???
>
> Thanks in advance..
'make' is a program used to compile c programs (amoung other things) in
an automated fashion. If you do not have make you likely do not have a c
compiler. If you do not have a c compiler you can't compile the link
programs that sit in your cgi-bin directory. While binary distributions
probably exist my feeling is that you'll want to make sure you have a c
compiler - otherwise many of those modules are going to be useless as
they have c components to them.
If this is your personally administered Solaris 8 box you'll need to
learn how to do some sysadmin work. This forum probably isn't the right
place to learn it though. If you are using a box administered by someone
else you will want to contact them and make sure you can compile c
programs and locally install perl modules from your account. If you can
then you'll need to make sure they help you set your environment
correctly.
If you are simply interested in having a store and don't plan on doing
minivend consulting then you might want to find an ISP that already
supports minivend/interchange.
Chris
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Caleb Crome)
Date: Thu Jun 14 16:12:00 2001
Subject: [ic] Performance question.
Hi,
I have a dual PIII, 600 MHZ server with 768 Meg of RAM. I have the
construct catalog set up, using interchange 4.6.5, mysql 3.23.36, perl
5.6.0. Linux Mandrake 8.0, mysql back end.
When I run
/usr/sbin/ab -c 3 -n 100
'http://<my_site>/cgi-bin/construct/scan/fi=products/st=db/co=yes/sf=categor
y/se=Hammers/va=link_image%3d/va=link_banner%3dHand%20Planes.html'
On 'low' performance setting, I get 1.69 requests/second.
On 'high' performance setting, I get 1.3 requests/second.
Doing the benchmark completely maxes out both processors to 100% during the
length of the test. My question is this: Is that normal? It seems
incredibly slow for what I consider to be a pretty fast machine.
Thanks,
-Caleb
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 16:13:29 2001
Subject: [ic] SSL - Cart Drop
On Thu, Jun 14, 2001 at 12:52:38PM -0700, Jeff Worsley wrote:
>
> anyway I then had to add to catalog.cfg:
> Cookies Yes
> CookieDomain .securedomain.com .nonsecuredomain.com
>
You can only specify one cookie domain.
> well the funnything is that this works 100% when the .securedomain.com
> is first then the .nonsecuredomain.com... however interchange declares a
> cookie error and says that I will loose all cart items from non to
> secure... this is not true, the cookies are writen like they should be
> (even to a virgin computer). NOW THE QUESTION: Why would this make
> interchange think there is an error? is there a fix to the code to make
> it not error? I can remove the stuff out of the templates, however I
> what interchange to be happy with the fix and not error at all to begin
> with.
>
You get that warning if interchange attempted to set a cookie and failed,
the fact that the cookie failed does not necessarily mean that you will
lose the contents of the basket, since the session id is also being passed
in links and form submissions, it just makes it much more likely that could
happen.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 16:15:00 2001
Subject: [ic] Interchange crashing
On Thu, Jun 14, 2001 at 04:17:28PM -0400, Tim Mirecki wrote:
> Excellent! Ok my next question is what can I do in the meantime while I am
> waiting for a fix? What changes can be made in order to prevent this from
> happening?
>
The easist thing to do in the meantime would be to turn on pre-fork.
> Thanks Mike!
>
> Tim
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike Heins
> Sent: Thursday, June 14, 2001 4:01 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
>
> Quoting Rene Hertell (rene@hertell.com):
> > > Ok, set both of those, restarted Interchange and I can still crash it.
> >
> > Have you checked how many IC processes are running when you "crash" your
> IC?
> >
> > I got a few times the same problems that IC did not respond. After a
> ps -aux
> > |grep interchange there was up to IC 10 processes running. After killing
> them
> > and restarting IC everything seemed to work fine...
> >
>
> Bug confirmed, but not yet fixed.
>
> The problem is an apparent deadlock in the housekeeping routines
> that keep track of the number of servers. Only happens if you get
> MaxServer or more accesses in HouseKeeping or less seconds, and
> doesn't affect pre-fork mode (which is why we haven't seen a crash
> on any production sites which are all using pre-fork).
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> I don't want to get to the end of my life and find I have just
> lived the length of it. I want to have lived the width of it as
> well. -- Diane Ackerman
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Thu Jun 14 16:23:00 2001
Subject: [ic] Interchange crashing
PreFork didn't make any difference here...odd
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
Kohles
Sent: Thursday, June 14, 2001 4:06 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Interchange crashing
On Thu, Jun 14, 2001 at 04:17:28PM -0400, Tim Mirecki wrote:
> Excellent! Ok my next question is what can I do in the meantime while I am
> waiting for a fix? What changes can be made in order to prevent this from
> happening?
>
The easist thing to do in the meantime would be to turn on pre-fork.
> Thanks Mike!
>
> Tim
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike
Heins
> Sent: Thursday, June 14, 2001 4:01 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Interchange crashing
>
> Quoting Rene Hertell (rene@hertell.com):
> > > Ok, set both of those, restarted Interchange and I can still crash it.
> >
> > Have you checked how many IC processes are running when you "crash" your
> IC?
> >
> > I got a few times the same problems that IC did not respond. After a
> ps -aux
> > |grep interchange there was up to IC 10 processes running. After killing
> them
> > and restarting IC everything seemed to work fine...
> >
>
> Bug confirmed, but not yet fixed.
>
> The problem is an apparent deadlock in the housekeeping routines
> that keep track of the number of servers. Only happens if you get
> MaxServer or more accesses in HouseKeeping or less seconds, and
> doesn't affect pre-fork mode (which is why we haven't seen a crash
> on any production sites which are all using pre-fork).
>
> --
> Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
> phone +1.513.523.7621 <mheins@redhat.com>
>
> I don't want to get to the end of my life and find I have just
> lived the length of it. I want to have lived the width of it as
> well. -- Diane Ackerman
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 16:26:00 2001
Subject: [ic] Help on on a solaris 8 box
On Fri, Jun 15, 2001 at 01:01:08AM -0700, Larry Caragay wrote:
> Thank.. Iam self admin the box. I have build a solaris 8 box and am trying
> to figure it out. As for installing interchange, I have had no problem
> installing it on FreeBSD server, but on a Solaris 8 box I have had many
> problems. I guess that BSD self install all of the necessary files and
> programs that is need to install interchanges.
>
If this is a fresh install of solaris, you will have several other problems
before you are done, in particular, you will need to install Berkeley DB
(www.sleepycat.com), as the admin interface will not work with Solaris'
crippled SDBM.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Thu Jun 14 16:47:00 2001
Subject: [ic] SSL - Cart Drop
Jason,
The documentation at
http://interchange.redhat.com/cgi-bin/ic/dev/icconfig_90.html states that
you can set more than one cookie domain. Are you saying the documentation
is wrong?
I originally had some problems setting two cookie domains, so I found
another way to get things working.
Thanks,
Randy
-----Original Message-----
From: Jason Kohles [mailto:jkohles@redhat.com]
Sent: Thursday, June 14, 2001 2:03 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] SSL - Cart Drop
On Thu, Jun 14, 2001 at 12:52:38PM -0700, Jeff Worsley wrote:
>
> anyway I then had to add to catalog.cfg:
> Cookies Yes
> CookieDomain .securedomain.com .nonsecuredomain.com
>
You can only specify one cookie domain.
From: interchange-users at lists.akopia.com (Ryan Hertz)
Date: Thu Jun 14 17:02:01 2001
Subject: [ic] One Option with many products
At 12:59 PM 6/14/01 , Guy Soudant wrote:
>Hi,
>
>I am running IC version 4.7.2, and I want to use the following feature.
>I have about 1000 products in my database and I want to give them
>options. But there are ranges of products that carry the same options.
>You can imagine that I have 100 different t-shirts, but they all come in
>size M, L, and XL. I entered some goods, but as you might imagine I was
>getting fed up with entering all these options manually. I have searched
>the archive, but I cannot find any information on how to accomplish
>this. Does anyone know how to do this. If so, could you give some tips
>on how to do this.
I would consider using a text editor to alter your products.txt manually...
or, perhaps, put something like "foobar" in as your sizes and use the text
editor to substitute "foobar" with "M,L,XL"...
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
E-Commerce Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 17:09:00 2001
Subject: [ic] SSL - Cart Drop
On Thu, Jun 14, 2001 at 02:48:50PM -0600, Randy Clapp wrote:
> Jason,
>
> The documentation at
> http://interchange.redhat.com/cgi-bin/ic/dev/icconfig_90.html states that
> you can set more than one cookie domain. Are you saying the documentation
> is wrong?
>
No, the documentation is right, I think you are reading it wrong, what it
says is that if your addresses are secure.yourdomain.com and www.yourdomain.com
you can make it match both of them by setting cookie domain to .yourdomain.com,
because .yourdomain.com matches them both, if they don't match, you can't
use CookieDomain.
> I originally had some problems setting two cookie domains, so I found
> another way to get things working.
>
> Thanks,
> Randy
>
> -----Original Message-----
> From: Jason Kohles [mailto:jkohles@redhat.com]
> Sent: Thursday, June 14, 2001 2:03 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] SSL - Cart Drop
>
>
> On Thu, Jun 14, 2001 at 12:52:38PM -0700, Jeff Worsley wrote:
> >
> > anyway I then had to add to catalog.cfg:
> > Cookies Yes
> > CookieDomain .securedomain.com .nonsecuredomain.com
> >
> You can only specify one cookie domain.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Gawain Reifsnyder)
Date: Thu Jun 14 17:14:00 2001
Subject: [ic] Performance question.
At 1:14 PM -0700 on 6/14/01, Caleb Crome wrote:
>Hi,
> I have a dual PIII, 600 MHZ server with 768 Meg of RAM. I have the
>construct catalog set up, using interchange 4.6.5, mysql 3.23.36, perl
>5.6.0. Linux Mandrake 8.0, mysql back end.
>
>When I run
>
>/usr/sbin/ab -c 3 -n 100
>'http://<my_site>/cgi-bin/construct/scan/fi=products/st=db/co=yes/sf=categor
>y/se=Hammers/va=link_image%3d/va=link_banner%3dHand%20Planes.html'
>
>
>On 'low' performance setting, I get 1.69 requests/second.
>On 'high' performance setting, I get 1.3 requests/second.
>
>Doing the benchmark completely maxes out both processors to 100% during the
>length of the test. My question is this: Is that normal? It seems
>incredibly slow for what I consider to be a pretty fast machine.
>
We've got a Power Macintosh G4/400 with 400MB of RAM running
YellowDog Linux. We have the construct catalog set up with
Interchange 4.6.5 using the built-in database.
We're getting 1.14 requests per second on the same URL on our server.
That does seem slow. We have another store running PHPShop 0.61. It's
probably not an entirely fair comparison, but running a similar test
on a product info page with several database queries gives 3.56 pages
per second. This is a little unnerving, as we're about to deploy a
couple of Interchange-based production stores.
Gawain
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Thu Jun 14 17:17:00 2001
Subject: [ic] SSL - Cart Drop
On Thu, Jun 14, 2001 at 05:01:11PM -0400, Jason Kohles wrote:
> On Thu, Jun 14, 2001 at 02:48:50PM -0600, Randy Clapp wrote:
> > Jason,
> >
> > The documentation at
> > http://interchange.redhat.com/cgi-bin/ic/dev/icconfig_90.html states that
> > you can set more than one cookie domain. Are you saying the documentation
> > is wrong?
> >
> No, the documentation is right, I think you are reading it wrong, what it
> says is that if your addresses are secure.yourdomain.com and www.yourdomain.com
> you can make it match both of them by setting cookie domain to .yourdomain.com,
> because .yourdomain.com matches them both, if they don't match, you can't
> use CookieDomain.
>
OK, apparently today is my day to look like a moron, Mike outsmarted me and
made it so that if you specify more than one domain, Interchange handles it
by creating multiple cookies. What is happening, then, is you are loading a
page from www.yourdomain.com which attempts to set a cookie for
.securedomain.com, since the cookie domain doesn't match the web servers
domain, your browser silently ignores that cookie.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Thu Jun 14 17:50:00 2001
Subject: [ic] multiple cookies
About that multiple cookie thing:
MV_SESSION_ID=TEH8KWpn:maine.com; MV_SESSION_ID=mpvCRIsp:maine.com
I'm fighting with a catalog that does not want to convert to 4.7.3
and every time it gets screwed up I've got multiple cookies. I can't
figure out if it is chicken or egg but it sure seems to me like it
is asking for trouble.
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Larry Caragay)
Date: Thu Jun 14 18:03:00 2001
Subject: [ic] Help on on a solaris 8 box
One more question,
If I have a fresh install of solaris 8 on a box. What do you recommend that
I install before trying to install interchange???
Thanks in advance,
Larry
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason
Kohles
Sent: Thursday, June 14, 2001 1:17 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Help on on a solaris 8 box
On Fri, Jun 15, 2001 at 01:01:08AM -0700, Larry Caragay wrote:
> Thank.. Iam self admin the box. I have build a solaris 8 box and am trying
> to figure it out. As for installing interchange, I have had no problem
> installing it on FreeBSD server, but on a Solaris 8 box I have had many
> problems. I guess that BSD self install all of the necessary files and
> programs that is need to install interchanges.
>
If this is a fresh install of solaris, you will have several other problems
before you are done, in particular, you will need to install Berkeley DB
(www.sleepycat.com), as the admin interface will not work with Solaris'
crippled SDBM.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ryan Hertz)
Date: Thu Jun 14 18:10:00 2001
Subject: [ic] Performance question.
At 02:17 PM 6/14/01 , Gawain Reifsnyder wrote:
>At 1:14 PM -0700 on 6/14/01, Caleb Crome wrote:
>
>>Hi,
>> I have a dual PIII, 600 MHZ server with 768 Meg of RAM. I have the
>>construct catalog set up, using interchange 4.6.5, mysql 3.23.36, perl
>>5.6.0. Linux Mandrake 8.0, mysql back end.
>>
>>When I run
>>
>>/usr/sbin/ab -c 3 -n 100
>>'http://<my_site>/cgi-bin/construct/scan/fi=products/st=db/co=yes/sf=categor
>>y/se=Hammers/va=link_image%3d/va=link_banner%3dHand%20Planes.html'
Dual PII 400 with 512M RAM, on live site, not the same URL, I tested:
ab -c 3 -n 100
http://yamamoto.baits.com/cgi-bin/order/scan/fi=products/st=db/co=yes/sf=cat
egory/se=hard
5.86 requests per second.
Not using mysql, gdbm with careful indexes, about 250 records.
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
E-Commerce Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 14 19:14:00 2001
Subject: [ic] (no subject)
At 10:30 AM 6/14/2001 -0400, you wrote:
>I want to "Unsubscripe" too :)
>
>Steingrimur Steingrimsson wrote:
> >
> > Unsubscripe
Definition: un-sub-scrip-e:
UN
abbr. United Nations.
sub1 (sb)
n. Informal See submarine. See submarine. See Regional Note at submarine.
scrip3 (skrp)
n. Archaic
A wallet, small satchel, or bag.
e
earl (ûrl)
n. A British nobleman next in rank above a viscount and below a marquis,
corresponding to a count in continental Europe. Abbr. E. Used as a title
for such a nobleman.
Obviously, Mr. Steingrimsson and Mr. Johnson are British
spies! ("noblemen", a common term for spies). And they are using the
public interchange-users mailing list to send secret messages!!! Luckily,
I have decoded their secret message:
"British Noblemen: use bags to conceal the UN submarines!"
We must act now! The only tool that can save us is the infamous
Unsubscription kit!
Unsubscribe Kit(TM)
Call your ISP and ask them to Mail you an Unsubscribe Kit.
It should be the standard no-fault type. Depending on your
requirements, System A and/or System B can be used. When operating System
A, depress lever and a plastic dalkron unsubscriber will be dispensed
through the slot immediately underneath. When you have fastened the
adhesive lip, attach connection marked by the large "X" outlet hose. Twist
the silver-colored ring one inch below the connection point until you feel
it lock.
The kit is now ready for use. The Cin-Eliminator is activated by the
small switch on the lip. When securing, twist the ring back to its initial
condition, so that the two orange lines meet. Disconnect. Place the dalkron
unsubscriber in the vacuum receptacle to the rear. Activate by pressing the
blue button.
The controls for System B are located on the opposite side. The red
release switch places the Cin-Eliminator into position; it can be adjusted
manually up or down by pressing the blue manual release button. The opening
is self-adjusting. To secure after use, press the green button, which
simultaneously activates the evaporator and returns the Cin-Eliminator to
its storage position.
You may log off if the green exit light is on over the evaporator. If
the red light is illuminated, one of the Cin-Eliminator requirements has
not been properly implemented. Press the "List Guy" call button on the
right of the evaporator. He will secure all facilities from his control panel.
To use the Auto-Unsub, first undress and place all your clothes in the
clothes rack. Put on the velcro slippers located in the cabinet immediately
below. Enter the shower, taking the entire kit with you. On the control
panel to your upper right upon entering you will see a "Shower seal"
button. Press to activate. A green light will then be illuminated
immediately below. On the intensity knob, select the desired setting. Now
depress the Auto-Unsub activation lever. Bathe normally.
The Auto-Unsub will automatically go off after three minutes unless you
activate the "Manual off" override switch by flipping it up. When you are
ready to leave, press the blue "Shower seal" release button. The door will
open and you may leave. Please remove the velcro slippers and place them in
their container.
If you prefer the ultrasonic log-off mode, press the indicated blue
button. When the twin panels open, pull forward by rings A & B. The knob to
the left, just below the blue light, has three settings, low, medium or
high. For normal use, the medium setting is suggested.
After these settings have been made, you can activate the device by
switching to the "ON" position the clearly marked red switch. If during the
unsubscribing operation, you wish to change the settings, place the "manual
off" override switch in the "OFF" position. You may now make the change and
repeat the cycle. When the green exit light goes on, you may log off and
have lunch. Please close the door behind you.
Because hey, when it rains it pours (bad jokes, that is).
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 14 19:25:01 2001
Subject: [ic] "Buy List" button
At 10:34 AM 6/14/2001 -0400, you wrote:
>Quoting me:
> > >
> > > The "buy list" function was added over my protests, and I do recommend
> > > that it be removed.
> >
> >Quoting Phillip A. Ryals (support@admiralexpress.com):
> > I'm basically a nobody around here, but I must respectfully disagree. I
> > have quite a few customers that absolutely love that feature in our current
> > system. I'm planning to replace our current system with IC, but only if I
> > can recreate the features my customers want.
> >
> > Think of it as a laundry list... You set up a bunch of items that the
> > customers buys regularly. They log in, go to their list, add quantities,
> > buy list, and they're done. With a large list, you could save an enormous
> > chunk of time. The ability to save time is a major selling point for new
> > accounts. Granted, this might be a slightly specialized scenario, and it
> > mostly relates to B2B type commerce, but it's definitely useful.
> >
>
>Bear in mind that I am in no way advocating that this should not be
>allowed --
>the flexibility of Interchange is that you can do whatever you want. And I
>am not against adding features, as should be obvious, 8-) but I am very
>definitely against checkout complexity for most stores.
>
>The buy-list function is something only a purchasing agent can love, IMHO.
>
>Since most IC catalogs are B2C, it should not be a default option, again
>in my opinion. For B2C, simple is best. I am pretty good at this stuff, but
>if an online purchase gets too complicated, guess what? I give it up. I don't
>have time to appreciate the subtleties of a complex interface unless it is
>something I am going to be using frequently.
>
>One thing that would help is if we displayed the cart at the top of the
>results all of the time once someone buys from the list. What is probably
>most confusing is the disappearing cart.
Speaking of shopping carts.
It seems like making the cart permanent rather than transient would be a
great boon to most shopping sites, specifically if it was located in a
convenient area. At DiabeticSupplies.com the cart is on the right side and
it gets longer and longer each time you add something (I know, it's rocket
science) -- but it doesn't detract from the central real estate.
For example, it doesn't require the user to scroll down any further in a
long product listing to see all the products, if they happen to have many
items in their cart. But having it on either side allows one to use only
partial descriptions ([filter limit=8], etc.) for it's contents due to
space constraints.
However, we found in our usability testing that individuals with little or
no Net usage did have trouble noticing the basket at all, because of how it
blended into the overall color scheme. This prompted us to add a prominent
button at the top for those users to easily access a bigger shopping cart
section. However, it might be advised that one should make the shopping
cart stand out in the color scheme slightly (we are debating how to
incorporate that as well).
IMHO,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 14 19:58:00 2001
Subject: [ic] cc number through e-mail
At 08:58 PM 6/14/2001 +0200, you wrote:
>I can do without the sarcastic comments. If you really want to comment
>then please send some comments which are usefull.
>
>I already acknowledged that this is not the ideal situation, but we have
>been working like this for more than 5 years, and have never had any
>problems. Still, I agree it is a potential risk, but at least we don't
>keep the cc numbers and other relevant information on the server. It's
>not ideal, but I tend to call it a second best solution.
>
>But then again, in the end we aren't all as good as you are (I almost
>die in humor).
>
>Regards
>
>Guy Soudant
My sincerest apologies. I didn't mean to come off as "holier than thou",
or that you're not as good as I am. I'll try to tone down the sarcasm next
time.
But my main point was not to make fun of you, rather, it was to ask if the
list knew of any user-installable perl modules that could do encryption in
the place of PGP for you. That is what I meant by:
>Seriously, if your ISP has Interchange installed, might it be possible
>to
>find a way to install some sort of encryption program? Some sort of
>perl
>module that does GPG type stuff? (Anyone?)
Because I recently read on Freshmeat about a complete blowfish
implementation being done in pure PHP4
(http://freshmeat.net/projects/blow-4-php/), and thought that there surely
must be something equivalent of PGP in Perl.
(Again, does anybody know?)
Sincerely,
-Dan
>-----Oorspronkelijk bericht-----
>Van: interchange-users-admin@developer.akopia.com
>[mailto:interchange-users-admin@developer.akopia.com] Namens Dan B
>Verzonden: donderdag 14 juni 2001 2:12
>Aan: interchange-users@developer.akopia.com
>Onderwerp: Re: [ic] cc number through e-mail
>
>At 10:30 PM 6/13/2001 +0200, you wrote:
> >Hi,
> >
> >I am running IC version 4.7.2. Since there is no pgp or gpg encryption
> >software on my host's server, I cannot encrypt CC numbers. I have
> >therefor decided to send them to me through e-mail (as this reduces the
> >risk in comparison to storing the cc numbers on the server, which I do
> >not want). But I have looked through the code of the report file,
> >payment file, and order file, but I'm not able to get the full
> >creditcard number in the e-mail (I get something like 41**1111 which is
> >the value of mv_credit_card_reference). Can someone tell me what I need
> >to do to get the cc number through e-mail send to me? I know this is
> >risky, but it's the only option I have right now.
> >
> >Thank you
> >
> >Regards
> >
> >Guy Soudant
>
>Should we report you to the Better Business Bureau now, or after the
>credit
>cards have been fraudulently used?
>
>BTW, I have a *totally* unrelated question. What was the ip address of
>your mail server?
>
>(I jest in humor).
>
>Seriously, if your ISP has Interchange installed, might it be possible
>to
>find a way to install some sort of encryption program? Some sort of
>perl
>module that does GPG type stuff? (Anyone?)
>
>Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (John Beima)
Date: Thu Jun 14 20:32:00 2001
Subject: [ic] Any body can help , I need my customers to be able to ad their own products
Just create them a UI account, and only allow them at the products area...
Simple enough...
Quoting Alexandre Daree <alex@nadiatech.com>:
> Hi,
> Any body ever did this, where customers ading their own products to the
> products.txt , I am looking for an automation of the process.
>
> ----- Original Message -----
> From: <interchange-users-request@developer.akopia.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Thursday, June 14, 2001 12:30 PM
> Subject: Interchange-users digest, Vol 1 #610 - 15 msgs
>
>
> > Send Interchange-users mailing list submissions to
> > interchange-users@lists.akopia.com
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> > or, via email, send a message with subject or body 'help' to
> > interchange-users-request@lists.akopia.com
> >
> > You can reach the person managing the list at
> > interchange-users-admin@lists.akopia.com
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Interchange-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (John Beima)
> > 2. Re: bilingual (Florian Kleedorfer)
> > 3. Changing pricing based on any field (Nathan Wiger)
> > 4. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Jon Jensen)
> > 5. Re: Database Handle and Global Subs (Jason Kohles)
> > 6. RE: bilingual (Phillip A. Ryals)
> > 7. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Stefan Hornburg
> Racke
> > )
> > 8. Re: 4.7.3 __IMAGE_DIR__ Variable Problem... (Stefan Hornburg
> Racke
> > )
> > 9. Interchange crashing (Tim Mirecki)
> > 10. Re: Interchange crashing (Stefan Hornburg Racke
> > )
> > 11. RE: Interchange crashing (Tim Mirecki)
> > 12. Re: Database Handle and Global Subs (Mark Johnson)
> >
> > --__--__--
> >
> > Message: 1
> > From: John Beima <jbeima@palb.com>
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> > Date: Thu, 14 Jun 2001 10:19:37 -0600 (MDT)
> > Reply-To: interchange-users@lists.akopia.com
> >
> > G'Day Stefan,
> >
> > I don't mean to be a bother, but any idea on how long to a fix for
> this
> one? It
> > is REALLY a show stopper...
> >
> > John Beima
> >
> >
> > Quoting "Stefan Hornburg (Racke)" <racke@linuxia.de>:
> >
> > > John Beima <jbeima@palb.com> writes:
> > >
> > > > Wow was this ever a hard one to find...
> > > >
> > > > Boy do you need a lot of ifs....
> > > >
> > > > #01) UI must be in secure mode...
> > > > #02) SSL must be a different domain...
> > > > #03) Going into the UI
> https://www.domain2.com/cgi-bin/cat/admin/index
> > > works.
> > > > #04) Going into the UI
> http://www.domain1.com/cgi-bin/cat/admin/index
> > > and
> > > > letting the UI login screen hop you over to the SSL site causes
> this
> > > error...
> > > > It looks like it is possibly in the new image tag...
> > > > Actually just going back and doing step 03 fixes the problem...
> > > >
> > > > The wierd thing is it is not session specific... Every visitor to
> the
> > > site from
> > > > then on in gets the wrong IMAGE_DIR variable...
> > >
> > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > fine, because it is not persistent, but we shouldn't touch
> > > Variables as it seems. Jon, why we need to set IMAGE_DIR in
> > > UI_STD_HEAD ?
> > >
> > > Variable UI_STD_INIT <<EOV
> > > [perl]
> > > # determine catalog URL before mangling config URLs
> > > $Scratch->{ui_catalog_url} = $Tag->area('index');
> > >
> > > # replace ImageDir variables with UI equivalents to take advantage
> > > # of Interchange's automatic image path rewriting
> > > $Config->{ImageDirOriginal} = $Config->{ImageDir};
> > > $Config->{ImageDirSecureOriginal} = $Config->{ImageDirSecure};
> > > $Config->{ImageDir} = $Variable->{IMAGE_DIR} =
> > > $Tag->image( { ui => 1, secure => 0, dir_only => 1 } );
> > > $Config->{ImageDirSecure} =
> > > $Tag->image( { ui => 1, secure => 1, dir_only => 1 } );
> > >
> > > # force using secure URL for this page?
> > > if ($Tag->var('UI_SECURE', 2)) {
> > > $Config->{VendURL} = $Config->{SecureURL};
> > > }
> > >
> > > ''
> > > [/perl]
> > > EOV
> > >
> > > >
> > > > John
> > > >
> > > >
> > > >
> > > > Quoting Jon Jensen <jon@redhat.com>:
> > > >
> > > > > On Wed, 13 Jun 2001, John Beima wrote:
> > > > >
> > > > > > Has anyone else found that fairly often the new 4.7.3 will
> > > overwrite
> > > > > the
> > > > > > __IMAGE_DIR__ variable with the contents of possibly
> > > > > __UI_IMAGE_DIR__?? What
> > > > > > mine winds up with is /interchange/en_US/ then breaking the
> link
> > > to
> > > > > all
> > > > > > images... This might also be a per session problem... However
> the
> > > only
> > > > > thing
> > > > > > that seems to solve it is logging in to the admin pages and
> going
> > > > > "Apply
> > > > > > Changes"... Then it will work for a short period of time
> again...
> > > > >
> > > > > Perhaps some more details would help:
> > > > >
> > > > > Are you using the same browser to access the storefront and the
> > > admin?
> > > > >
> > > > > Do you have cookies enabled or disabled?
> > > > >
> > > > > Does the problem happen if you never access the admin after
> starting
> > > > > your
> > > > > browser?
> > > > >
> > > > > How many sessions from your IP address show up in the session
> list?
> > > > >
> > > > > What pages have you visited in the admin?
> > > > >
> > > > > I can understand how this could be bug, but it works fine for
> me.
> > > Even
> > > > > when going back and forth between store and admin with the same
> > > session
> > > > > ID, I don't have any trouble. Maybe your answers will shed more
> > > light.
> > > > >
> > > > > Jon
> > > > >
> > > > > _______________________________________________
> > > > > Interchange-users mailing list
> > > > > Interchange-users@lists.akopia.com
> > > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > > >
> > > >
> > > >
> > > >
> > > > John Beima
> > > > jbeima@palb.com, support@alocalagent.com, and
> support@alocalchurch.com
> > > >
> > > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > > > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> > > >
> > > > 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@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > >
> > > >
> > >
> > > --
> > > Master of Swiss Web 2001: http://www.zweifel.ch/
> > >
> > > 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@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> > John Beima
> > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> >
> > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> >
> > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> > 2713B Spring Place SW, Decatur, Alabama, United States, 35603
> >
> > --__--__--
> >
> > Message: 2
> > From: Florian Kleedorfer <klee@yy-mm-dd.com>
> > Organization: =?iso8859-1?q?L=F6ffelhardt=20&=20Kleedorfer?= OEG
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] bilingual
> > Date: Thu, 14 Jun 2001 18:21:26 +0200
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Am Montag 11 Juni 2001 20:29 schrieben Sie:
> > > Speaking of the locale features...
> > >
> > > I'm trying to set the normal currency to be a custom symbol for a
> > > promotional site... It needs to be "BB" instead of "$". But
> changing
> the
> > > locale, even changing locale.txt and deleting the gdbm file, doesn't
> work.
> > >
> >
> > try
> >
> > Locale en_US price_picture "###,###,###.## BB"
> > or
> > Locale en_US currency_symbol BB
> >
> > in catalog.cfg
> >
> > * and be sure to set the locale to en_US (or whatever locale you use)
> *
> >
> > (http://interchange.redhat.com/doc/icconfig.pdf has more on that)
> >
> >
> > Flo
> >
> > --__--__--
> >
> > Message: 3
> > From: "Nathan Wiger" <nate@nateware.com>
> > To: <interchange-users@developer.akopia.com>
> > Date: Thu, 14 Jun 2001 09:35:46 -0700
> > Organization: Nateware
> > Subject: [ic] Changing pricing based on any field
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Hey all-
> >
> > I have a client who has some needs which I don't think are supported
> by
> > Interchange. However, I'm hoping that I'm wrong :-), so I wanted to
> ping
> the
> > list.
> >
> > The client is opening a motorcycle parts store online. For many parts,
> > though, the price will vary based on several different fields. For
> example:
> >
> > Base helmet $100.00
> > XL and XXL +$15.00
> > XS -$10.00
> > Metallic Paint +$30.00
> >
> > Now, I'm aware of Interchange's pricing database. The problem isn't
> with
> > size (since this is built in), but rather getting the price to change
> on
> > another variable (like color -- the paint above) as well.
> >
> > This situation gets even trickier in some situations, where the size
> is
> not
> > just "XL" but rather corresponds to a model as well:
> >
> > Aftermarket Tailpipe $165.00
> > CBR, Yamaha +$25.00
> > Ducati +$45.00
> > Black Chrome +$15.00
> >
> > The model information must be maintained, so we can't just say
> "L=Yamaha,
> > XL=Ducati" in the "size" field. So, if we were just to use the pricing
> > database, I'd have to create fields for all potential "sizes" -- S, M,
> L,
> > XL, Ducati, Yamaha, CBR, 17", 18", etc. This is obviously not really
> what
> I
> > want to do, since there's no way to tell what fields will be needed,
> and
> > besides that it would be really ugly. Plus, there's still no way to
> alter
> > price on size _and_ color as far as I can tell.
> >
> > Is all this correct? If not, please stop and tell me where I'm wrong,
> > because the rest of this email is a proposed solution.
> >
> > So, after looking at this it seems like the way that pricing is done
> in
> > Interchange could be tweaked to make it a little more flexible. Here's
> what
> > I was thinking. If you set a field up via UseModifier to alter the
> product,
> > then rather than Interchange looking in the pricing db, it does the
> > following:
> >
> > 1. Looks for a field called "[field]_price" in the products db.
> > So, if you set "UseModifier length", it would look for a
> > field called "length_price" for that sku in the products db.
> >
> > 2. This field takes the format "name=price, name=price", so for
> > example:
> >
> > CBR=+25.00, Yamaha=+25.00
> >
> > 3. This field is split up appropriately, and a key is searched
> > for one corresponding to the value of the main field chosen.
> > So, if we chose "CBR" as our "size", then we would look
> > in "size_price" for the key "CBR" and find the value "+25.00".
> > If the key isn't found, no change is made to the price.
> >
> > 4. If the price is preceded with a + or nothing, it's added to
> > the base price. If it's preceded with a -, it's subtracted.
> >
> > 5. On checkout, these prices are added in the same order as
> > the fields are listed with UseModifier. So, if we had
> > said "UseModifier size color", then we would first go thru
> > and look for "size_price" for that item, then "color_price".
> >
> > This has the advantage that it is flexible and can be tailored on a
> per-item
> > basis. I supposed it could also be placed in an external table indexed
> by
> > sku, but it seems like keeping it together in the products db would be
> > easier.
> >
> > Thoughts on this? If there's intereste, I'm more than willing to make
> the
> > changes to the source and check them in. I'd like to make these
> changes to
> > the main product; otherwise I'll have to repeatedly apply diffs
> everytime
> I
> > upgrade the client's software.
> >
> > Thanks,
> > Nate
> >
> > --
> > Nathan Wiger
> > Systems Analyst and Perl Hacker
> > Nateware, Inc. www.nateware.com
> >
> >
> >
> > --__--__--
> >
> > Message: 4
> > Date: Thu, 14 Jun 2001 12:36:04 -0400 (EDT)
> > From: Jon Jensen <jon@redhat.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> > Reply-To: interchange-users@lists.akopia.com
> >
> > On Thu, 14 Jun 2001, Jon Jensen wrote:
> >
> > > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> > >
> > > > Very well spotted, John. Congratulations. Mangling Config stuff is
> > > > fine, because it is not persistent, but we shouldn't touch
> Variables
> > > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> > >
> > > I can't remember why I set that originally. It doesn't seem to be
> > > necessary, so I took it out. John, let me know if that fixes your
> problem.
> >
> > Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR}
> to
> > write image paths. So it's now broken in the UI. I'll see what I can
> do to
> > fix that.
> >
> > Jon
> >
> >
> > --__--__--
> >
> > Message: 5
> > Date: Thu, 14 Jun 2001 12:23:04 -0400
> > From: Jason Kohles <jkohles@redhat.com>
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Database Handle and Global Subs
> > Reply-To: interchange-users@lists.akopia.com
> >
> > On Thu, Jun 14, 2001 at 04:27:25PM +0100, Sheamus Nulty wrote:
> > >
> > > I then run the following
> > >
> > > [set print]1[/set]
> > > [if scratch print]
> > > [pdfshea]
> > > [/if]
> > >
> > > and it just prints out [pdfshea] to the webpage. So I'm of the
> opinion
> that
> > > [if] will just print out what comes after it .
> > > If this is the case is my only alternative the solution you
> provided.
> > >
> > If does interpolate, the only reason it should just print the tag is
> if
> either
> > the globalsub was not found, or didn't compile, if it didn't compile
> you
> > you should see an error on startup, otherwise check and make sure you
> have
> it
> > defined in the right config file, keeping in mind that it must go in
> > interchange.cfg unless you have AllowGlobal set for that catalog.
> >
> > --
> > Red Hat E-Business Solutions Jason Kohles
> > 11480 Sunset Hills Road Senior System
> Architect
> > Reston, VA 20190 jkohles@redhat.com
> >
> > --__--__--
> >
> > Message: 6
> > From: "Phillip A. Ryals" <support@admiralexpress.com>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] bilingual
> > Date: Thu, 14 Jun 2001 11:39:24 -0500
> > Reply-To: interchange-users@lists.akopia.com
> >
> > I finally got it to work, but I had to use something other that en_US.
> >
> > The only prob I ran into: The price picture now reads ### BB in
> locale.txt.
> > But now the subtotal always shows up " *** BB ".
> >
> > -phillip
> >
> > > -----Original Message-----
> > > From: interchange-users-admin@developer.akopia.com
> > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> > > Florian Kleedorfer
> > > Sent: Thursday, June 14, 2001 11:21 AM
> > > To: interchange-users@developer.akopia.com
> > > Subject: Re: [ic] bilingual
> > >
> > >
> > > Am Montag 11 Juni 2001 20:29 schrieben Sie:
> > > > Speaking of the locale features...
> > > >
> > > > I'm trying to set the normal currency to be a custom symbol for a
> > > > promotional site... It needs to be "BB" instead of "$". But
> > > changing the
> > > > locale, even changing locale.txt and deleting the gdbm file,
> > > doesn't work.
> > > >
> > >
> > > try
> > >
> > > Locale en_US price_picture "###,###,###.## BB"
> > > or
> > > Locale en_US currency_symbol BB
> > >
> > > in catalog.cfg
> > >
> > > * and be sure to set the locale to en_US (or whatever locale you
> use) *
> > >
> > > (http://interchange.redhat.com/doc/icconfig.pdf has more on that)
> > >
> > >
> > > Flo
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> > --__--__--
> >
> > Message: 7
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> > From: racke@linuxia.de (Stefan Hornburg (Racke))
> > Date: 14 Jun 2001 18:34:08 +0200
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Jon Jensen <jon@redhat.com> writes:
> >
> > > On Thu, 14 Jun 2001, Jon Jensen wrote:
> > >
> > > > On 14 Jun 2001, Stefan Hornburg (Racke) wrote:
> > > >
> > > > > Very well spotted, John. Congratulations. Mangling Config stuff
> is
> > > > > fine, because it is not persistent, but we shouldn't touch
> Variables
> > > > > as it seems. Jon, why we need to set IMAGE_DIR in UI_STD_HEAD ?
> > > >
> > > > I can't remember why I set that originally. It doesn't seem to be
> > > > necessary, so I took it out. John, let me know if that fixes your
> problem.
> > >
> > > Now I remember why. The [button] usertag uses $Variable->{IMAGE_DIR}
> to
> > > write image paths. So it's now broken in the UI. I'll see what I can
> do
> to
> > > fix that.
> >
> > Using IMAGE_DIR in a usertag is bogus IMHO. Why isn't
> $Config->{ImageDir}
> > used in the first place ?
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > For projects and other business stuff please refer to COBOLT
> NetServices
> > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
> 0041-1-3884400)
> >
> > --__--__--
> >
> > Message: 8
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
> > From: racke@linuxia.de (Stefan Hornburg (Racke))
> > Date: 14 Jun 2001 18:36:17 +0200
> > Reply-To: interchange-users@lists.akopia.com
> >
> > John Beima <jbeima@palb.com> writes:
> >
> > > G'Day Stefan,
> > >
> > > I don't mean to be a bother, but any idea on how long to a fix for
> this
> one? It
> > > is REALLY a show stopper...
> >
> > This problem is fixed, but it seems to reveal another.
> > IMHO you have to live with show stoppers if you rely
> > on software heavy under development :-;
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > For projects and other business stuff please refer to COBOLT
> NetServices
> > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
> 0041-1-3884400)
> >
> > --__--__--
> >
> > Message: 9
> > From: "Tim Mirecki" <tim@q5.ca>
> > To: <interchange-users@developer.akopia.com>
> > Date: Thu, 14 Jun 2001 12:55:42 -0400
> > Subject: [ic] Interchange crashing
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Hey all, I am having a problem with interchange - versions 4.7.2 and
> 4.7.3
> > will completely crash if the user clicks enough times, making all
> catalogs
> > completely unusable. I was unsuccessful at crashing version 4.6
> (Akopia
> demo
> > 1).
> >
> > At this very moment, I have successfully crashed the demo store for
> version
> > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right
> now,
> but
> > you WILL be able to view the first page. I imagine the main page is
> static,
> > so it is not affected.
> >
> > Anyone?
> >
> >
> > --__--__--
> >
> > Message: 10
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Interchange crashing
> > From: racke@linuxia.de (Stefan Hornburg (Racke))
> > Date: 14 Jun 2001 18:50:30 +0200
> > Reply-To: interchange-users@lists.akopia.com
> >
> > "Tim Mirecki" <tim@q5.ca> writes:
> >
> > > Hey all, I am having a problem with interchange - versions 4.7.2 and
> 4.7.3
> > > will completely crash if the user clicks enough times, making all
> catalogs
> > > completely unusable. I was unsuccessful at crashing version 4.6
> (Akopia
> demo
> > > 1).
> > >
> > > At this very moment, I have successfully crashed the demo store for
> version
> > > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right
> now,
> but
> > > you WILL be able to view the first page. I imagine the main page is
> static,
> > > so it is not affected.
> > >
> > > Anyone?
> >
> > Anything found in the global error log file ?
> > Have you PreFork enabled ?
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > For projects and other business stuff please refer to COBOLT
> NetServices
> > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone:
> 0041-1-3884400)
> >
> > --__--__--
> >
> > Message: 11
> > From: "Tim Mirecki" <tim@q5.ca>
> > To: <interchange-users@developer.akopia.com>
> > Subject: RE: [ic] Interchange crashing
> > Date: Thu, 14 Jun 2001 13:32:03 -0400
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Racke:
> >
> > The RedHat Demo 3 store is still crashing, try it out
> (demo.akopia.com)
> > rapidly clicking on "Buy Now" on an item (about 30 times or so)
> without
> > letting it return anything, it'll crash.
> > Goes back up after a few minutes...is someone resetting it?
> >
> > Whether PreFork is turned on or off, it makes no difference. I've
> tried
> both
> > on our development server.
> > Here are the global error log entries; I didn't see anything out of
> the
> > ordinary:
> >
> > - - - [14/June/2001:12:02:44 -0400] - - Interchange V4.7.3
> > - - - [14/June/2001:12:02:44 -0400] - - Config 'foundation' at server
> > startup
> > - - - [14/June/2001:12:02:46 -0400] - - Config 'magicoven' at server
> startup
> > - - - [14/June/2001:12:02:47 -0400] - - Config 'mocha' at server
> startup
> > - - - [14/June/2001:12:02:48 -0400] - - Config 'pleasant' at server
> startup
> > - - - [14/June/2001:12:02:49 -0400] - - Using default DBM database.
> > - - - [14/June/2001:12:02:50 -0400] - - Config 'q5' at server startup
> > - - - [14/June/2001:12:02:50 -0400] - - Config 'tsb' at server startup
> > - - - [14/June/2001:12:02:51 -0400] - - START server (25208) (INET and
> UNIX)
> > - - - [14/June/2001:12:02:53 -0400] - - Accepting connections from
> > localhost|127\.0\.0\.1
> > - - - [14/June/2001:12:02:53 -0400] - - START server (25300) (INET and
> UNIX)
> > - - - [14/June/2001:12:09:01 -0400] - - Spurious PID file for process
> 25364
> > supposedly running 302 seconds
> > - - - [14/June/2001:12:11:38 -0400] - - STOP server (25300) on signal
> TERM
> > - - - [14/June/2001:12:11:47 -0400] - - Low traffic settings.
> > - - - [14/June/2001:12:11:49 -0400] - - ...UI is loaded....
> > - - - [14/June/2001:12:11:49 -0400] - - UserTag button scalar
> parameter
> > Documentation redefined.
> > > In line 44 of the configuration file 'usertag/button.tag':
> > > UserTag button Documentation <<EOD
> >
> >
> >
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> Stefan
> > Hornburg (Racke)
> > Sent: Thursday, June 14, 2001 12:51 PM
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Interchange crashing
> >
> > "Tim Mirecki" <tim@q5.ca> writes:
> >
> > > Hey all, I am having a problem with interchange - versions 4.7.2 and
> 4.7.3
> > > will completely crash if the user clicks enough times, making all
> catalogs
> > > completely unusable. I was unsuccessful at crashing version 4.6
> (Akopia
> > demo
> > > 1).
> > >
> > > At this very moment, I have successfully crashed the demo store for
> > version
> > > 4.7.2 (demo 3 at demo.akopia.com). It's still not responding right
> now,
> > but
> > > you WILL be able to view the first page. I imagine the main page is
> > static,
> > > so it is not affected.
> > >
> > > Anyone?
> >
> > Anything found in the global error log file ?
> > Have you PreFork enabled ?
> >
> > Ciao
> > Racke
> >
> > --
> > Master of Swiss Web 2001: http://www.zweifel.ch/
> >
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > --__--__--
> >
> > Message: 12
> > Date: Thu, 14 Jun 2001 13:38:53 -0400
> > From: Mark Johnson <markj@redhat.com>
> > Organization: Red Hat E-Business Solutions
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Database Handle and Global Subs
> > Reply-To: interchange-users@lists.akopia.com
> >
> > Sheamus Nulty wrote:
> > >
> > > I'v setup the following. I have a global sub defined as follows in
> my
> > > interchange.cfg file
> > >
> > > GlobalSub <<EOF
> > >
> > > sub pdfshea {
> > >
> > > my $counter=5;
> > > return "$counter";
> > >
> > > }
> > >
> > > EOF
> > >
> > > I then run the following
> > >
> > > [set print]1[/set]
> > > [if scratch print]
> > > [pdfshea]
> > > [/if]
> > >
> > > and it just prints out [pdfshea] to the webpage. So I'm of the
> opinion
> that
> > > [if] will just print out what comes after it .
> > > If this is the case is my only alternative the solution you
> provided.
> >
> > Well, that should certainly not work because a global sub will not
> > define a usertag. And, if your pdfcreate usertag was, actually, a
> global
> > sub, then it will not work either.
> >
> > This should help you out:
> >
> > http://interchange.redhat.com/cgi-bin/ic/dev/ictags_91.html
> >
> > --
> > Mark Johnson
> > Senior Systems Architect - Professional Services
> > Red Hat, Inc.
> > E-Business Solutions
> > markj@redhat.com
> > 703-456-2912
> >
> >
> > --__--__--
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
> > End of Interchange-users Digest
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 14 20:36:00 2001
Subject: [ic] Performance question.
Quoting Ryan Hertz (rhertz@baits.com):
> At 02:17 PM 6/14/01 , Gawain Reifsnyder wrote:
> >At 1:14 PM -0700 on 6/14/01, Caleb Crome wrote:
> >
> >>Hi,
> >> I have a dual PIII, 600 MHZ server with 768 Meg of RAM. I have the
> >>construct catalog set up, using interchange 4.6.5, mysql 3.23.36, perl
> >>5.6.0. Linux Mandrake 8.0, mysql back end.
> >>
> >>When I run
> >>
> >>/usr/sbin/ab -c 3 -n 100
> >>'http://<my_site>/cgi-bin/construct/scan/fi=products/st=db/co=yes/sf=categor
> >>y/se=Hammers/va=link_image%3d/va=link_banner%3dHand%20Planes.html'
>
> Dual PII 400 with 512M RAM, on live site, not the same URL, I tested:
>
> ab -c 3 -n 100
> http://yamamoto.baits.com/cgi-bin/order/scan/fi=products/st=db/co=yes/sf=cat
> egory/se=hard
>
> 5.86 requests per second.
>
> Not using mysql, gdbm with careful indexes, about 250 records.
That is more like what I normally see.
This stuff is so very dependent on many things -- database indexing,
etc.
Probably the biggest win on a standard construct demo is
[timed-build file=catlist minutes=20]
....
[/timed-build]
around the left-side category stuff. Removes many queries.
--
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 lists.akopia.com (John Beima)
Date: Thu Jun 14 20:40:01 2001
Subject: [ic] 4.7.3 __IMAGE_DIR__ Variable Problem...
G'Day Stefan,
Actually I have always found the core of the newer releases to be fairly rock
solid... Most of my sites I have written from the groud up and ever since the
un-released 4.04b I have had not one real problem with my code or the
development servers...
This current client can make very good use of the foundation demo, and I only
had to add a few things to it... Then the invoice and product management in the
UI is also very nice... We can work around little bugs, however you images going
bye bye, isn't exactly something you can work around...
The UI in no way shape or form should alter any variables that are used by the
catalog, or what happens to visitors to the site while you are in it... Or what
if you want to view the site while you are making changes... That is a silly
one... It shoudl have it's own variables, whichs makes perfect sence...
I would also like to add, that we have been doing daily cvs updates, when
needed, and running the server in rpc mode, and WOW is it ever faster... Pages
appear in a fraction of the time... There is sooo many noticable speed
improvements... Mike you have done an increadable job yet again! My Thanks Yet
Again!
John Beima
Quoting "Stefan Hornburg (Racke)" <racke@linuxia.de>:
> John Beima <jbeima@palb.com> writes:
>
> > G'Day Stefan,
> >
> > I don't mean to be a bother, but any idea on how long to a fix for
> this one? It
> > is REALLY a show stopper...
>
> This problem is fixed, but it seems to reveal another.
> IMHO you have to live with show stoppers if you rely
> on software heavy under development :-;
>
> Ciao
> Racke
>
> --
> Master of Swiss Web 2001: http://www.zweifel.ch/
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (John Beima)
Date: Thu Jun 14 20:45:00 2001
Subject: [ic] SSL - Cart Drop
G'Day Jeff,
Get ride of both of those cookie directives, and change the AlwaysSecure Line in
your catalog.cfg file to:
AlwaysSecure order ord/checkout ord/basket login logout change_password
process customerservice
Then go into your admin pages and turn the UI secure server on as well...
And you problem will be solved...
John Beima
Quoting Jeff Worsley <jeffw@contactdesigns.com>:
> Ok I will first start by saying that I know this is a common question.
> Here is the situation, When customer goes to SSL basket, interchange
> sometimes issues a new session... I have found and made the fix awhile
> back and have submited the changes.
> INTERCHANGE 4.6.5 FILE bin/interchange:
>
> Line #1420: $Vend::Session->{shost}=$CGI::secure
> this should be: $Vend::Session->{shost}=$CGI::remote_addr
>
> i was thinking to my self, if you read that whole function... why the
> hell would you set $Vend::Session->{shost} to $CGI::Secure if
> $CGI::Secure had no value to begin with.
>
> anyway I then had to add to catalog.cfg:
> Cookies Yes
> CookieDomain .securedomain.com .nonsecuredomain.com
>
> well the funnything is that this works 100% when the .securedomain.com
> is first then the .nonsecuredomain.com... however interchange declares a
> cookie error and says that I will loose all cart items from non to
> secure... this is not true, the cookies are writen like they should be
> (even to a virgin computer). NOW THE QUESTION: Why would this make
> interchange think there is an error? is there a fix to the code to make
> it not error? I can remove the stuff out of the templates, however I
> what interchange to be happy with the fix and not error at all to begin
> with.
>
> ~Jeff
> ContactDesigns.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (John Beima)
Date: Thu Jun 14 20:47:01 2001
Subject: [ic] SSL - Cart Drop
G'Day Randy,
Actually I have never been able to get the Variable to work properly. I do think
it is documentated well enough... Since there is no examples of how to enter
more than one domain...
However the problem still lies in that one domain can NOT set a cookie for
another and one domain can not read a cookie from another, so this approach to
save session information from one domain to another will not work...
The otehr approach does work, since I am doing it right now...
John Beima
Quoting Randy Clapp <Randy@infomeld.com>:
> Jason,
>
> The documentation at
> http://interchange.redhat.com/cgi-bin/ic/dev/icconfig_90.html states
> that
> you can set more than one cookie domain. Are you saying the
> documentation
> is wrong?
>
> I originally had some problems setting two cookie domains, so I found
> another way to get things working.
>
> Thanks,
> Randy
>
> -----Original Message-----
> From: Jason Kohles [mailto:jkohles@redhat.com]
> Sent: Thursday, June 14, 2001 2:03 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] SSL - Cart Drop
>
>
> On Thu, Jun 14, 2001 at 12:52:38PM -0700, Jeff Worsley wrote:
> >
> > anyway I then had to add to catalog.cfg:
> > Cookies Yes
> > CookieDomain .securedomain.com .nonsecuredomain.com
> >
> You can only specify one cookie domain.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Nathan Wiger)
Date: Thu Jun 14 20:50:00 2001
Subject: [ic] Changing pricing based on any field
Said "Mike Heins" <mikeh@minivend.com>:
>
> Quoting Nathan Wiger (nate@nateware.com):
>
> > 2. This field takes the format "name=price, name=price", so for
> > example:
> >
> > CBR=+25.00, Yamaha=+25.00
> >
> > 3. This field is split up appropriately, and a key is searched
> > for one corresponding to the value of the main field chosen.
> > So, if we chose "CBR" as our "size", then we would look
> > in "size_price" for the key "CBR" and find the value "+25.00".
> > If the key isn't found, no change is made to the price.
>
> It is done this much way in the 4.7.x options.
Right, my intent here was to maintain the same semantics as the separate
pricing database that currently exists.
> > 5. On checkout, these prices are added in the same order as
> > the fields are listed with UseModifier. So, if we had
> > said "UseModifier size color", then we would first go thru
> > and look for "size_price" for that item, then "color_price".
> >
> > This has the advantage that it is flexible and can be tailored on a
per-item
> > basis. I supposed it could also be placed in an external table indexed
by
> > sku, but it seems like keeping it together in the products db would be
> > easier.
>
> And in addition, it is easy to write a UserTag that does the same thing. I
> have solved this problem many times, and it is almost easier to re-write
> the UserTag than it is to build a reusable version..
I've used UserTags to solve several different problems, but I guess I'm
confused how this could be used to tie into something as fundamental as
pricing? Perhaps UserTags are more powerful than I understand and can
override anything?
In order for this to work AFAIK, any UserTag would have to be able to plug
into the main pricing routines so that any arbitrary fields could make
changes to the price, correct? Is this a matter of adding a UserTag,
twiddling some hash values inside it, and adding an extra call in the
checkout stuff?
I realize this isn't a place for a complete UserTag tutorial, but reading
through the UserTag docs I've never gotten the impression they have this
capability.
Thanks,
Nate
--
Nathan Wiger
Systems Integrator and Perl Hacker
Nateware, Inc. -- www.nateware.com
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Thu Jun 14 21:18:00 2001
Subject: [ic] cc number through e-mail
> But my main point was not to make fun of you, rather, it was to ask if the
> list knew of any user-installable perl modules that could do encryption in
> the place of PGP for you. That is what I meant by:
One can always install as much of perl as you want locally as your
own perl library(ies). See 'use lib' in perldocs.
It is important that you provide a secure environment for
your clients. Encryption is one way to do a piece of that
but it is not in and of itself either necessary or sufficient.
If you have a shell account, you should be able to
install your own environment.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 14 21:24:00 2001
Subject: [ic] Performance question.
Quoting Gawain Reifsnyder (gawain@guitar.net):
> At 1:14 PM -0700 on 6/14/01, Caleb Crome wrote:
>
>
> >Hi,
> > I have a dual PIII, 600 MHZ server with 768 Meg of RAM. I have the
> >construct catalog set up, using interchange 4.6.5, mysql 3.23.36, perl
> >5.6.0. Linux Mandrake 8.0, mysql back end.
> >
> >When I run
> >
> >/usr/sbin/ab -c 3 -n 100
> >'http://<my_site>/cgi-bin/construct/scan/fi=products/st=db/co=yes/sf=categor
> >y/se=Hammers/va=link_image%3d/va=link_banner%3dHand%20Planes.html'
> >
> >
> >On 'low' performance setting, I get 1.69 requests/second.
> >On 'high' performance setting, I get 1.3 requests/second.
> >
> >Doing the benchmark completely maxes out both processors to 100% during the
> >length of the test. My question is this: Is that normal? It seems
> >incredibly slow for what I consider to be a pretty fast machine.
> >
>
> We've got a Power Macintosh G4/400 with 400MB of RAM running
> YellowDog Linux. We have the construct catalog set up with
> Interchange 4.6.5 using the built-in database.
>
> We're getting 1.14 requests per second on the same URL on our server.
> That does seem slow. We have another store running PHPShop 0.61. It's
> probably not an entirely fair comparison, but running a similar test
> on a product info page with several database queries gives 3.56 pages
> per second. This is a little unnerving, as we're about to deploy a
> couple of Interchange-based production stores.
>
Try the pre-fork mode in 4.7.x when you update to that. It should up
the performance 3x or more. Remember, we also have lots of caching
strategies to do repetititive query stuff -- look at [timed-build ....].
--
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 lists.akopia.com (Neil Lunn)
Date: Thu Jun 14 22:09:01 2001
Subject: [ic] Shipping Interface to Australia Post's DRC
Hmmn, slim market. What is this? Where is it available from.
>-----Original Message-----
>From: Brett Hooker [mailto:brett.hooker@oracle.com]
>Sent: Thursday, June 14, 2001 3:32 PM
>To: interchange-users@developer.akopia.com
>Subject: [ic] Shipping Interface to Australia Post's DRC
>
>
>Has anyone out there written a shipping interface to Australia Post's
>Delivery Rate Calculator?
>
>Thanks,
>Brett
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
__________________________________________________________________________
Please Note :
Only the intended recipient is authorised to access or use this e-mail. If
you are not the intended recipient,
please delete this e-mail and notify the sender immediately. The contents
of this e-mail are the writer's
opinion and are not necessarily endorsed by the Gunz Companies unless
expressly stated.
We use virus scanning software but exclude all liability for viruses or
similar in any attachment.
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Thu Jun 14 22:22:01 2001
Subject: [ic] Help on on a solaris 8 box
install perl 5.6.1 and all your troubles will go away. I had
numberous problems with solaris 8 trying to do cpan. Couldn't even
get md5 to compile till I upgraded.
Ven
>Thank.. Iam self admin the box. I have build a solaris 8 box and am trying
>to figure it out. As for installing interchange, I have had no problem
>installing it on FreeBSD server, but on a Solaris 8 box I have had many
>problems. I guess that BSD self install all of the necessary files and
>programs that is need to install interchanges.
>
>-----Original Message-----
>From: interchange-users-admin@developer.akopia.com
>[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Chris
>Rapier
>Sent: Thursday, June 14, 2001 12:56 PM
>To: interchange-users@developer.akopia.com
>Subject: Re: [ic] Help on on a solaris 8 box
>
>
>
>
>Larry Caragay wrote:
>>
>> make-3.78.1-sol8-intel-local.gz
>> Is this the right make??
>>
>> Also how do I add it to my directory path??? Is that in the program
>> interchange or is that in a eg. /usr/bin???
>>
>> Thanks in advance..
>
>'make' is a program used to compile c programs (amoung other things) in
>an automated fashion. If you do not have make you likely do not have a c
>compiler. If you do not have a c compiler you can't compile the link
>programs that sit in your cgi-bin directory. While binary distributions
>probably exist my feeling is that you'll want to make sure you have a c
>compiler - otherwise many of those modules are going to be useless as
>they have c components to them.
>
>If this is your personally administered Solaris 8 box you'll need to
>learn how to do some sysadmin work. This forum probably isn't the right
>place to learn it though. If you are using a box administered by someone
>else you will want to contact them and make sure you can compile c
>programs and locally install perl modules from your account. If you can
>then you'll need to make sure they help you set your environment
>correctly.
>
>If you are simply interested in having a store and don't plan on doing
>minivend consulting then you might want to find an ISP that already
>supports minivend/interchange.
>
>Chris
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (John Beima)
Date: Thu Jun 14 22:56:01 2001
Subject: [ic] Help on on a solaris 8 box
Could this be a Perl 5.6.0 problem? I had huge problems doing several CPAN
modules on RedHat 7.1... So I just useds the RPMS from the 7.1 DMA CD-ROM...
John Beima
Quoting Victor Nolton <ven@pragakhan.com>:
> install perl 5.6.1 and all your troubles will go away. I had
> numberous problems with solaris 8 trying to do cpan. Couldn't even
> get md5 to compile till I upgraded.
>
>
> Ven
>
>
>
> >Thank.. Iam self admin the box. I have build a solaris 8 box and am
> trying
> >to figure it out. As for installing interchange, I have had no problem
> >installing it on FreeBSD server, but on a Solaris 8 box I have had many
> >problems. I guess that BSD self install all of the necessary files and
> >programs that is need to install interchanges.
> >
> >-----Original Message-----
> >From: interchange-users-admin@developer.akopia.com
> >[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Chris
> >Rapier
> >Sent: Thursday, June 14, 2001 12:56 PM
> >To: interchange-users@developer.akopia.com
> >Subject: Re: [ic] Help on on a solaris 8 box
> >
> >
> >
> >
> >Larry Caragay wrote:
> >>
> >> make-3.78.1-sol8-intel-local.gz
> >> Is this the right make??
> >>
> >> Also how do I add it to my directory path??? Is that in the program
> >> interchange or is that in a eg. /usr/bin???
> >>
> >> Thanks in advance..
> >
> >'make' is a program used to compile c programs (amoung other things) in
> >an automated fashion. If you do not have make you likely do not have a
> c
> >compiler. If you do not have a c compiler you can't compile the link
> >programs that sit in your cgi-bin directory. While binary distributions
> >probably exist my feeling is that you'll want to make sure you have a c
> >compiler - otherwise many of those modules are going to be useless as
> >they have c components to them.
> >
> >If this is your personally administered Solaris 8 box you'll need to
> >learn how to do some sysadmin work. This forum probably isn't the right
> >place to learn it though. If you are using a box administered by
> someone
> >else you will want to contact them and make sure you can compile c
> >programs and locally install perl modules from your account. If you can
> >then you'll need to make sure they help you set your environment
> >correctly.
> >
> >If you are simply interested in having a store and don't plan on doing
> >minivend consulting then you might want to find an ISP that already
> >supports minivend/interchange.
> >
> >Chris
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
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 lists.akopia.com (root)
Date: Thu Jun 14 23:44:00 2001
Subject: [ic] presistent problem and no answers?????????
Killing Interchange server 3768 with TERM.
Low traffic settings.
Calling UI....
...UI is loaded....
Interchange V4.6.5
Configuring catalog construct...Using MySQL, DSN=dbi:mysql:construct.
construct config error: connect failed (create) -- unknown error. Driver 'mysql' installed?
construct: error in configuration. Skipping.
construct: config error. Skipping.
Interchange server started in INET and UNIX mode(s) (process id 13993)
this is the premissions on the construct file in the cgi-bin
-rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct
can someone please give me some advice????
snowy
From: interchange-users at lists.akopia.com (Brett Hooker)
Date: Fri Jun 15 00:06:01 2001
Subject: [ic] Shipping Interface to Australia Post's DRC
Neil,
It's Australia Posts automatic shipping calculation engine. It calculates for
domestic and overseas shipments for both regular and express services. It's on
the web, much like the UPS one that built into IC.
http://www.edeliver.com.au/Templates/ifs/IFS_DRC_Terms.htm
Thanks,
Brett
Neil Lunn wrote:
> Hmmn, slim market. What is this? Where is it available from.
>
> >-----Original Message-----
> >From: Brett Hooker [mailto:brett.hooker@oracle.com]
> >Sent: Thursday, June 14, 2001 3:32 PM
> >To: interchange-users@developer.akopia.com
> >Subject: [ic] Shipping Interface to Australia Post's DRC
> >
> >
> >Has anyone out there written a shipping interface to Australia Post's
> >Delivery Rate Calculator?
> >
> >Thanks,
> >Brett
> >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> __________________________________________________________________________
> Please Note :
> Only the intended recipient is authorised to access or use this e-mail. If
> you are not the intended recipient,
> please delete this e-mail and notify the sender immediately. The contents
> of this e-mail are the writer's
> opinion and are not necessarily endorsed by the Gunz Companies unless
> expressly stated.
>
> We use virus scanning software but exclude all liability for viruses or
> similar in any attachment.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Fri Jun 15 01:37:00 2001
Subject: [ic] presistent problem and no answers?????????
--=-I+HpiRw+Z9fYhhOGVqEm
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On 15 Jun 2001 11:38:07 +0800, root wrote:
> Killing Interchange server 3768 with TERM.
> Low traffic settings.
> Calling UI....
> ...UI is loaded....
> Interchange V4.6.5
> Configuring catalog construct...Using MySQL, DSN=3Ddbi:mysql:construct.
> construct config error: connect failed (create) -- unknown error. Driver =
'mysql' installed?
> =20
> =20
> construct: error in configuration. Skipping.
> construct: config error. Skipping.
> Interchange server started in INET and UNIX mode(s) (process id 13993)
>=20
> this is the premissions on the construct file in the cgi-bin
> -rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct =20
>=20
> can someone please give me some advice????
>=20
> snowy
>=20
Sounds like you don't have the DBD drivers installed...
The easiest way to get em up and going is to type=20
perl -MCPAN -e 'install Bundle::DBD::mysql'
at the command prompt.
Or, if that doesn't work for some reason you can download what you need
at
http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0901.tar.gz
then compile and install it yourself.
Either way, you should be good to go....
Matt
--=-I+HpiRw+Z9fYhhOGVqEm
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA7KaDN/x+6cl2wuPQRAuw6AJwNAL0bWh+VuVQH6zrcDOVj/LXmVgCgupHO
13VP/iSrHLlZZm6AfAn4SYQ=
=0Hqk
-----END PGP SIGNATURE-----
--=-I+HpiRw+Z9fYhhOGVqEm--
From: interchange-users at lists.akopia.com (Anton van de Plas)
Date: Fri Jun 15 02:13:01 2001
Subject: [ic] SSL - Cart Drop
John:
I have implemented the same codes as you describe below. Now it works. I am
not losing the cart contents when going to the SSL check out. But when I log
in and then return to the home page to shop, I am logged out and loose the
contents of the cart, since it is a different domain.
Any suggestions?
Anton
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of John
Beima
Sent: Thursday, June 14, 2001 8:49 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] SSL - Cart Drop
G'Day Jeff,
Get ride of both of those cookie directives, and change the AlwaysSecure
Line in
your catalog.cfg file to:
AlwaysSecure order ord/checkout ord/basket login logout change_password
process customerservice
Then go into your admin pages and turn the UI secure server on as well...
And you problem will be solved...
John Beima
Quoting Jeff Worsley <jeffw@contactdesigns.com>:
> Ok I will first start by saying that I know this is a common question.
> Here is the situation, When customer goes to SSL basket, interchange
> sometimes issues a new session... I have found and made the fix awhile
> back and have submited the changes.
> INTERCHANGE 4.6.5 FILE bin/interchange:
>
> Line #1420: $Vend::Session->{shost}=$CGI::secure
> this should be: $Vend::Session->{shost}=$CGI::remote_addr
>
> i was thinking to my self, if you read that whole function... why the
> hell would you set $Vend::Session->{shost} to $CGI::Secure if
> $CGI::Secure had no value to begin with.
>
> anyway I then had to add to catalog.cfg:
> Cookies Yes
> CookieDomain .securedomain.com .nonsecuredomain.com
>
> well the funnything is that this works 100% when the .securedomain.com
> is first then the .nonsecuredomain.com... however interchange declares a
> cookie error and says that I will loose all cart items from non to
> secure... this is not true, the cookies are writen like they should be
> (even to a virgin computer). NOW THE QUESTION: Why would this make
> interchange think there is an error? is there a fix to the code to make
> it not error? I can remove the stuff out of the templates, however I
> what interchange to be happy with the fix and not error at all to begin
> with.
>
> ~Jeff
> ContactDesigns.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (John Beima)
Date: Fri Jun 15 02:58:00 2001
Subject: [ic] SSL - Cart Drop
Basicly any page that doesn't go though the SSL domain wont have your basket or
session info... You did put my line in as one long line with spaces seperating
everthing right? Send me your catalog.cfg file and I will take a look at it...
John
Quoting Anton van de Plas <avdplas@addaction.com>:
> John:
>
> I have implemented the same codes as you describe below. Now it works. I
> am
> not losing the cart contents when going to the SSL check out. But when I
> log
> in and then return to the home page to shop, I am logged out and loose
> the
> contents of the cart, since it is a different domain.
>
> Any suggestions?
>
> Anton
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of John
> Beima
> Sent: Thursday, June 14, 2001 8:49 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] SSL - Cart Drop
>
>
> G'Day Jeff,
>
> Get ride of both of those cookie directives, and change the AlwaysSecure
> Line in
> your catalog.cfg file to:
>
> AlwaysSecure order ord/checkout ord/basket login logout
> change_password
> process customerservice
>
> Then go into your admin pages and turn the UI secure server on as
> well...
>
> And you problem will be solved...
>
> John Beima
>
>
> Quoting Jeff Worsley <jeffw@contactdesigns.com>:
>
> > Ok I will first start by saying that I know this is a common question.
> > Here is the situation, When customer goes to SSL basket, interchange
> > sometimes issues a new session... I have found and made the fix awhile
> > back and have submited the changes.
> > INTERCHANGE 4.6.5 FILE bin/interchange:
> >
> > Line #1420: $Vend::Session->{shost}=$CGI::secure
> > this should be: $Vend::Session->{shost}=$CGI::remote_addr
> >
> > i was thinking to my self, if you read that whole function... why the
> > hell would you set $Vend::Session->{shost} to $CGI::Secure if
> > $CGI::Secure had no value to begin with.
> >
> > anyway I then had to add to catalog.cfg:
> > Cookies Yes
> > CookieDomain .securedomain.com .nonsecuredomain.com
> >
> > well the funnything is that this works 100% when the .securedomain.com
> > is first then the .nonsecuredomain.com... however interchange declares
> a
> > cookie error and says that I will loose all cart items from non to
> > secure... this is not true, the cookies are writen like they should be
> > (even to a virgin computer). NOW THE QUESTION: Why would this make
> > interchange think there is an error? is there a fix to the code to
> make
> > it not error? I can remove the stuff out of the templates, however I
> > what interchange to be happy with the fix and not error at all to
> begin
> > with.
> >
> > ~Jeff
> > ContactDesigns.com
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (John Beima)
Date: Fri Jun 15 03:00:00 2001
Subject: [ic] SSL - Cart Drop
Oh and also by the way there is a bug in the results.html file... I posted a
corrected one last week, but I will be making a new one again in the next couple
of days... Basicly in a nut shell the results.html file that is included with
teh foundation template simply doesn't work with different SSL domains... That
may be one of your problems there...
John
Quoting Anton van de Plas <avdplas@addaction.com>:
> John:
>
> I have implemented the same codes as you describe below. Now it works. I
> am
> not losing the cart contents when going to the SSL check out. But when I
> log
> in and then return to the home page to shop, I am logged out and loose
> the
> contents of the cart, since it is a different domain.
>
> Any suggestions?
>
> Anton
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of John
> Beima
> Sent: Thursday, June 14, 2001 8:49 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] SSL - Cart Drop
>
>
> G'Day Jeff,
>
> Get ride of both of those cookie directives, and change the AlwaysSecure
> Line in
> your catalog.cfg file to:
>
> AlwaysSecure order ord/checkout ord/basket login logout
> change_password
> process customerservice
>
> Then go into your admin pages and turn the UI secure server on as
> well...
>
> And you problem will be solved...
>
> John Beima
>
>
> Quoting Jeff Worsley <jeffw@contactdesigns.com>:
>
> > Ok I will first start by saying that I know this is a common question.
> > Here is the situation, When customer goes to SSL basket, interchange
> > sometimes issues a new session... I have found and made the fix awhile
> > back and have submited the changes.
> > INTERCHANGE 4.6.5 FILE bin/interchange:
> >
> > Line #1420: $Vend::Session->{shost}=$CGI::secure
> > this should be: $Vend::Session->{shost}=$CGI::remote_addr
> >
> > i was thinking to my self, if you read that whole function... why the
> > hell would you set $Vend::Session->{shost} to $CGI::Secure if
> > $CGI::Secure had no value to begin with.
> >
> > anyway I then had to add to catalog.cfg:
> > Cookies Yes
> > CookieDomain .securedomain.com .nonsecuredomain.com
> >
> > well the funnything is that this works 100% when the .securedomain.com
> > is first then the .nonsecuredomain.com... however interchange declares
> a
> > cookie error and says that I will loose all cart items from non to
> > secure... this is not true, the cookies are writen like they should be
> > (even to a virgin computer). NOW THE QUESTION: Why would this make
> > interchange think there is an error? is there a fix to the code to
> make
> > it not error? I can remove the stuff out of the templates, however I
> > what interchange to be happy with the fix and not error at all to
> begin
> > with.
> >
> > ~Jeff
> > ContactDesigns.com
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603
From: interchange-users at lists.akopia.com (Greg Cope)
Date: Fri Jun 15 04:13:00 2001
Subject: [ic] cc number through e-mail
Dan B wrote:
>
>
> But my main point was not to make fun of you, rather, it was to ask if the
> list knew of any user-installable perl modules that could do encryption in
> the place of PGP for you. That is what I meant by:
>
Look at Crypt::RSA - it will be slower than PGP or gnupg.
> >Seriously, if your ISP has Interchange installed, might it be possible
> >to
> >find a way to install some sort of encryption program? Some sort of
> >perl
> >module that does GPG type stuff? (Anyone?)
>
> Because I recently read on Freshmeat about a complete blowfish
> implementation being done in pure PHP4
> (http://freshmeat.net/projects/blow-4-php/), and thought that there surely
> must be something equivalent of PGP in Perl.
>
> (Again, does anybody know?)
I start this with a disclaimer that I am not an expert!
blowfish is a CBC based algo that uses a shared secret - i.e the pass
phrase has to be on the server to encrypt the plain text. The same
secret is used to unencrypt. grep or strings can be used to find the
pass phrase in most code quite easily.
GPG and PGP use public / private based algo's that use different keys to
encypt and decrypt.
<rant>
Why, oh why do so many PHP people seem intent on reiventing things - a
blowfish implementation is avaliable to PHP via libmhash, and its in C
so it will be significantly faster.
</rant>
Go with Mikes advice (its not like he's not got the experience) use PGP
or gnupgp.
Greg
>
> Sincerely,
> -Dan
>
From: interchange-users at lists.akopia.com (root)
Date: Fri Jun 15 04:14:33 2001
Subject: [ic] presistent problem and no answers?????????
i did what was asked installed from the tarball the DBI bundle
and nothing
there was an error in the install but it seemed to install anyway
gawd i hate this...... any other possible reasons?
On Fri, 15 Jun 2001, you wrote:
>
> On 15 Jun 2001 11:38:07 +0800, root wrote:
> > Killing Interchange server 3768 with TERM.
> > Low traffic settings.
> > Calling UI....
> > ...UI is loaded....
> > Interchange V4.6.5
> > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:construct.
> > construct config error: connect failed (create) -- unknown error. Driver 'mysql' installed?
> >
> >
> > construct: error in configuration. Skipping.
> > construct: config error. Skipping.
> > Interchange server started in INET and UNIX mode(s) (process id 13993)
> >
> > this is the premissions on the construct file in the cgi-bin
> > -rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct
> >
> > can someone please give me some advice????
> >
> > snowy
> >
>
> Sounds like you don't have the DBD drivers installed...
>
> The easiest way to get em up and going is to type
>
> perl -MCPAN -e 'install Bundle::DBD::mysql'
>
> at the command prompt.
>
> Or, if that doesn't work for some reason you can download what you need
> at
>
> http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0901.tar.gz
>
> then compile and install it yourself.
>
> Either way, you should be good to go....
>
> Matt
>
>
----------------------------------------
Content-Type: application/pgp-signature; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Fri Jun 15 06:04:00 2001
Subject: [ic] USPS Priority Mil for Shipping
Hi Everyone!
Anyone using USPS Priority Mil for Shipping?
Do you link to USPS or use a formula?
Please advise.
Thanks,
Tim Watts
president
Romans1013.net
Internet Hosting
Loaded with features:
FREE shopping cart! -- UNLIMITED email!
No Monthly Fees - Just One Low Payment, One Time per Year!
Visit our web site for details: www.Romans1013.net
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Fri Jun 15 07:49:01 2001
Subject: R: [ic] presistent problem and no answers?????????
Have you root permission when using perl -MCPAN , this cause error
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di root
Inviato: venerdė 15 giugno 2001 9.53
A: interchange-users@developer.akopia.com
Oggetto: Re: [ic] presistent problem and no answers?????????
i did what was asked installed from the tarball the DBI bundle
and nothing
there was an error in the install but it seemed to install anyway
gawd i hate this...... any other possible reasons?
On Fri, 15 Jun 2001, you wrote:
>
> On 15 Jun 2001 11:38:07 +0800, root wrote:
> > Killing Interchange server 3768 with TERM.
> > Low traffic settings.
> > Calling UI....
> > ...UI is loaded....
> > Interchange V4.6.5
> > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:construct.
> > construct config error: connect failed (create) -- unknown error. Driver
'mysql' installed?
> >
> >
> > construct: error in configuration. Skipping.
> > construct: config error. Skipping.
> > Interchange server started in INET and UNIX mode(s) (process id 13993)
> >
> > this is the premissions on the construct file in the cgi-bin
> > -rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct
> >
> > can someone please give me some advice????
> >
> > snowy
> >
>
> Sounds like you don't have the DBD drivers installed...
>
> The easiest way to get em up and going is to type
>
> perl -MCPAN -e 'install Bundle::DBD::mysql'
>
> at the command prompt.
>
> Or, if that doesn't work for some reason you can download what you need
> at
>
> http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0901.tar.gz
>
> then compile and install it yourself.
>
> Either way, you should be good to go....
>
> Matt
>
>
----------------------------------------
Content-Type: application/pgp-signature; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 15 09:01:00 2001
Subject: [ic] Interchange crashing
Quoting Jason Kohles (jkohles@redhat.com):
> On Thu, Jun 14, 2001 at 04:17:28PM -0400, Tim Mirecki wrote:
> > Excellent! Ok my next question is what can I do in the meantime while I am
> > waiting for a fix? What changes can be made in order to prevent this from
> > happening?
> >
> The easist thing to do in the meantime would be to turn on pre-fork.
>
You can also set MaxServers 0, which will avoid the deadlock condition.
--
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 lists.akopia.com (Mark Johnson)
Date: Fri Jun 15 09:31:00 2001
Subject: [ic] presistent problem and no answers?????????
Bundle::Interchange does *not* contain any DBD drivers. If you have not
installed DBD::mysql explicitly, you must do that.
root wrote:
>
> i did what was asked installed from the tarball the DBI bundle
> and nothing
> there was an error in the install but it seemed to install anyway
> gawd i hate this...... any other possible reasons?
>
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 15 09:36:01 2001
Subject: [ic] Changing pricing based on any field
Quoting Nathan Wiger (nate@nateware.com):
> I've used UserTags to solve several different problems, but I guess I'm
> confused how this could be used to tie into something as fundamental as
> pricing? Perhaps UserTags are more powerful than I understand and can
> override anything?
In this case, it is because the current item is available as the
variable $item, the current subtotal is available as $s, and the
current pricing quantity is available as $q.
So you can have a sub like:
UserTag my-adjust Routine <<EOS
sub {
my $code = $item->{code};
# Could read this from a DB
my @look_at = qw/color size/;
my $adjust = 0;
foreach my $opt (@look_at) {
my $opt_val = $item->{$opt}
or next;
my $field_name = $opt . "_price";
my $price_data = tag_data('pricing', $field_name, $code)
or next;
# Works with XL=2, S=-1, L=.50 or the like
my %price_hash = split /\s*[=,]\s*/, $price_data;
next if $price_hash{$opt_val} == 0;
$adjust += $price_hash{$opt_val};
}
return $adjust;
}
EOF
So there should be no trouble adding "[my-adjust]" as an atom to
CommonAdjust and doing your routines. (This particular one won't work
with percentages, but you could easily return a "10%" number from a
routine.)
>
> In order for this to work AFAIK, any UserTag would have to be able to plug
> into the main pricing routines so that any arbitrary fields could make
> changes to the price, correct? Is this a matter of adding a UserTag,
> twiddling some hash values inside it, and adding an extra call in the
> checkout stuff?
Nope. Your UserTag needs to return an atom like -10 or 25 or -8%, which
will adjust the price as a part of CommonAdjust.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
This answer sponsored by the Society to End Lazy Windows Top-Quoting Style.
From: interchange-users at lists.akopia.com (Rick Shank)
Date: Fri Jun 15 10:07:00 2001
Subject: [ic] Minimum Shipping Weight?
How can I set a minimum weight for shipping? Like 5lb order minimum in
order to check out.
I'm on IC 4.6.2.
Thanks,
~Rick Shank
From: interchange-users at lists.akopia.com (Rick Shank)
Date: Fri Jun 15 10:10:01 2001
Subject: [ic] Adding sized items back to the Construct catalog?
How can I add tshirts back to the Construct catalog...I need shirts with a
medium and XL size. I liked the feel of the Construct demo, so that's
what my base is.
Thanks!
~Rick Shank
From: interchange-users at lists.akopia.com (Gustavo A. Barreto A.)
Date: Fri Jun 15 10:14:01 2001
Subject: [ic] Cardservice's on-line payment
This is a multi-part message in MIME format.
------=_NextPart_000_01B0_01C0F582.EBF2DED0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_01B1_01C0F582.EBF2DED0"
------=_NextPart_001_01B1_01C0F582.EBF2DED0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello, I need to setup interchange with cardservice's gateway to get =
on-line payments.=20
Anyone here has maded this before? I need some help with this.
TIA.
Gustavo.
------=_NextPart_001_01B1_01C0F582.EBF2DED0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DCourier size=3D2>Hello, I need to setup interchange =
with=20
cardservice's gateway to get on-line payments. </FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>Anyone here has maded this before? I =
need some=20
help with this.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>TIA.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>Gustavo.</FONT></DIV></BODY></HTML>
------=_NextPart_001_01B1_01C0F582.EBF2DED0--
------=_NextPart_000_01B0_01C0F582.EBF2DED0
Content-Type: text/x-vcard;
name="Gustavo Adolfo Barreto.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Gustavo Adolfo Barreto.vcf"
BEGIN:VCARD
VERSION:2.1
N:Barreto;Gustavo;Adolfo
FN:Gustavo Adolfo Barreto
ORG:Internet Total, Inc.
TEL;WORK;VOICE:(305) 3574677
TEL;WORK;FAX:(305) 3574677
ADR;WORK:;;1250 Hallandale Bch. Blvd;Hallandale;Fl;33009;USA
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:1250 Hallandale Bch. =
Blvd=3D0D=3D0AHallandale, Fl 33009=3D0D=3D0AUSA
X-WAB-GENDER:2
URL;WORK:http://www.internettotal.com
BDAY:19720715
EMAIL;PREF;INTERNET:gbarreto@internettotal.net
REV:20010615T140701Z
END:VCARD
------=_NextPart_000_01B0_01C0F582.EBF2DED0--
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Fri Jun 15 11:18:00 2001
Subject: [ic] session id not showing up with [area] and [page]
Anyone know why I cant get [area] and [page] tags to produce a session ID
for me?
I read the docs, and using [area pagename] should produce a URL with
mv_session_id=12345 or id=12345. This seems like its a fairly simple
problem, so if anyone can help me out I would really appreciate it.
Thanks,
Tim.
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Fri Jun 15 11:39:01 2001
Subject: [ic] presistent problem and no answers?????????
On 15 Jun 2001 15:52:36 +0800, root wrote:
> i did what was asked installed from the tarball the DBI bundle
> and nothing
> there was an error in the install but it seemed to install anyway
> gawd i hate this...... any other possible reasons?
>
What was the error you got when you installed?
Matt
> On Fri, 15 Jun 2001, you wrote:
> >
> > On 15 Jun 2001 11:38:07 +0800, root wrote:
> > > Killing Interchange server 3768 with TERM.
> > > Low traffic settings.
> > > Calling UI....
> > > ...UI is loaded....
> > > Interchange V4.6.5
> > > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:construct.
> > > construct config error: connect failed (create) -- unknown error. Driver 'mysql' installed?
> > >
> > >
> > > construct: error in configuration. Skipping.
> > > construct: config error. Skipping.
> > > Interchange server started in INET and UNIX mode(s) (process id 13993)
> > >
> > > this is the premissions on the construct file in the cgi-bin
> > > -rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct
> > >
> > > can someone please give me some advice????
> > >
> > > snowy
> > >
> >
> > Sounds like you don't have the DBD drivers installed...
> >
> > The easiest way to get em up and going is to type
> >
> > perl -MCPAN -e 'install Bundle::DBD::mysql'
> >
> > at the command prompt.
> >
> > Or, if that doesn't work for some reason you can download what you need
> > at
> >
> > http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0901.tar.gz
> >
> > then compile and install it yourself.
> >
> > Either way, you should be good to go....
> >
> > Matt
> >
> >
>
> ----------------------------------------
> Content-Type: application/pgp-signature; name="unnamed"
> Content-Transfer-Encoding: 7bit
> Content-Description:
> ----------------------------------------
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Fri Jun 15 11:43:03 2001
Subject: [ic] session id not showing up with [area] and [page]
In general, they only add the session data to the url if the cookie is
unavailable. They will add the session data when a form argument is
passed.
Tim Mirecki wrote:
>
> Anyone know why I can?t get [area] and [page] tags to produce a session ID
> for me?
>
> I read the docs, and using [area pagename] should produce a URL with
> mv_session_id=12345 or id=12345. This seems like it?s a fairly simple
> problem, so if anyone can help me out I would really appreciate it.
>
> Thanks,
>
> Tim.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Fri Jun 15 11:52:01 2001
Subject: [ic] session id not showing up with [area] and [page]
Ah, that would make sense.
My idea was to have fresh links for new sessions, so that when someone comes
back to order they won't have visited links on the site. Is there another
way to do this?
Thx,
Tim
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mark
Johnson
Sent: Friday, June 15, 2001 11:53 AM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] session id not showing up with [area] and [page]
In general, they only add the session data to the url if the cookie is
unavailable. They will add the session data when a form argument is
passed.
Tim Mirecki wrote:
>
> Anyone know why I can?t get [area] and [page] tags to produce a session ID
> for me?
>
> I read the docs, and using [area pagename] should produce a URL with
> mv_session_id=12345 or id=12345. This seems like it?s a fairly simple
> problem, so if anyone can help me out I would really appreciate it.
>
> Thanks,
>
> Tim.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Fri Jun 15 11:58:00 2001
Subject: [ic] session id not showing up with [area] and [page]
At 11:22 AM 06/15/2001 -0400, you wrote:
>Anyone know why I can't get [area] and [page] tags to produce a session ID
>for me?
>
>I read the docs, and using [area pagename] should produce a URL with
>mv_session_id=12345 or id=12345. This seems like it's a fairly simple
>problem, so if anyone can help me out I would really appreciate it.
>
Interchange only attaches the session id to the url if it is unable to
store it in a cookie:
http://interchange.redhat.com/cgi-bin/ic/dev/icintro_7.html
There is probably a way to override this (I mean through catalog
configuration - you can always disable cookie support in your browser, but
that only helps you), but I do not know what it is, offhand. Perhaps
someone else on the list does.
- 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 lists.akopia.com (Ed LaFrance)
Date: Fri Jun 15 12:18:01 2001
Subject: [ic] Minimum Shipping Weight?
At 10:11 AM 06/15/2001 -0400, you wrote:
>How can I set a minimum weight for shipping? Like 5lb order minimum in
>order to check out.
>
>
>I'm on IC 4.6.2.
>
>
Here's one way:
First, check pages/ord/checkout.html to assure that the weight is being
tallied on that page - the code looks like this:
[item-list]
...
[if-item-field weight]
[seti weight][summary amount=`[item-quantity] * [item-field
weight]`][/seti]
[/if-item-field]
...
[/item-list]
Then add this input somewhere below the [item-list][/item-list] block, but
before the end of the form.
[seti total_weight][summary format="%s" total=1][/seti]
[if scratch total_weight >= 5]
<input type=hidden name=weight_min_ok value=1>
[else]
<input type=hidden name=weight_min_ok value=''>
[/else]
[/if]
Then add this to the checkout_profile in etc/profiles.order (shown with a
little context):
__NAME__ checkout_profile
....
weight_min_ok=required Your order must weigh at least 5lb.
...
[if value country =~ /^(US|CA)$/i]
state=state_province "[value state]" is not a valid US/Canada
state or province.
....
__END__
Reconfig, and now the submit should fail if the total order weight is less
that 5 lb (kg, etc, whatever you use). Take a look at the [error] tag doc
for how to incorporate an error message into the checkout display.
- 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 lists.akopia.com (Alexandre Daree)
Date: Fri Jun 15 12:55:00 2001
Subject: [ic] To John Beima
Create a UI acount for each customer? if that's the case , Can each one
create his/her own account? or I have to create an account for each
customer?
Or create UI account for Customers in General ?
Thanks
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Any body can help , I need my customers to be able to ad
their own products
> Date: Thu, 14 Jun 2001 18:35:42 -0600 (MDT)
> Reply-To: interchange-users@lists.akopia.com
>
> Just create them a UI account, and only allow them at the products area...
>
> Simple enough...
>
From: interchange-users at lists.akopia.com (Thomas N. Stefanidis)
Date: Fri Jun 15 13:36:00 2001
Subject: [ic] How to combine 2 shipping methods?(weight and total price)
Hello,
My shipping is based on weight.
Now my customer don't want to charge users if the orders are more than
30.000.
How can i use both shipping methods?
Below u can find the method i use now.
Greece post office weight 0 1000 1250 {}
Greece post office weight 1000 2000 1350 {}
Greece post office weight 2000 3000 1450 {}
Greece post office weight 3000 4000 1550 {}
Greece post office weight 4000 5000 1650 {}
Greece post office weight 5000 6000 1750 {}
Greece post office weight 6000 7000 1850 {}
Greece post office weight 7000 8000 1950 {}
Greece post office weight 8000 9000 2050 {}
Greece post office weight 9000 10000 2150 {}
Greece post office weight 10000 11000 2250 {}
Greece post office weight 11000 12000 2350 {}
Greece post office weight 12000 13000 2450 {}
Greece post office weight 13000 14000 2550 {}
Greece post office weight 14000 15000 2650 {}
Greece post office weight 15000 16000 2750 {}
Greece post office weight 16000 17000 2850 {}
Greece post office weight 17000 18000 2950 {}
Greece post office weight 18000 19000 3050 {}
Greece post office weight 19000 20000 3150 {}
Greece post office weight 20000 9999999 f my $add = int ((@@TOTAL@@ -
20000) /1000); 3150 + $add * 100; {}
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Fri Jun 15 13:38:00 2001
Subject: [ic] Range Searching
used the example from the docs.. .motified it a little. i end up
getting no results. does seem to be a lot of talk on it (not since
minivend days)
Is there anything I should add or remove? I plan to have a total of 4
range searches available.
<FORM ACTION="[area search]" METHOD=POST>
<INPUT TYPE=hidden NAME="fi" VALUE="products">
<INPUT TYPE=hidden NAME="ml" VALUE=2>
<INPUT TYPE=hidden NAME="su" VALUE=yes>
<INPUT TYPE=hidden NAME="cs" VALUE=no>
<INPUT TYPE=hidden NAME="mv_return_all" VALUE=yes>
<INPUT TYPE="hidden" NAME="mv_range_look" VALUE="bedrooms">
Min <SELECT NAME="mv_range_min">
<OPTION value=""> --
<OPTION value=1> 1
<OPTION value=2> 2
<OPTION value=3> 3
<OPTION value=4> 4
<OPTION value=3> 5
<OPTION value=4> 6
</SELECT><BR>
Max <SELECT NAME="mv_range_max">
<OPTION value=""> --
<OPTION value=1> 1
<OPTION value=2> 2
<OPTION value=3> 3
<OPTION value=4> 4
<OPTION value=5> 5
<OPTION value=6> 6
</SELECT>
<INPUT TYPE=submit VALUE=Search>
Notes:
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icdatabase05%2e06
From: interchange-users at lists.akopia.com (Bob Hutchins)
Date: Fri Jun 15 14:14:00 2001
Subject: [ic] Help Please
Greetings,
I am looking for someone with experience in Akopia Interchange and perl for
a project in Nashville, TN. I would prefer to have someone locally, but will
also consider working remotely. Any help would be appreciated.
Bob Hutchins
Global Tech Resources
202 4th Ave South
Franklin, TN. 37064
615-595-6446
Fax-595-6447
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 15 14:28:02 2001
Subject: [ic] Interchange crashing
Quoting Mike Heins (mheins@redhat.com):
> Quoting Jason Kohles (jkohles@redhat.com):
> > On Thu, Jun 14, 2001 at 04:17:28PM -0400, Tim Mirecki wrote:
> > > Excellent! Ok my next question is what can I do in the meantime while I am
> > > waiting for a fix? What changes can be made in order to prevent this from
> > > happening?
> > >
> > The easist thing to do in the meantime would be to turn on pre-fork.
> >
>
> You can also set MaxServers 0, which will avoid the deadlock condition.
Or you can get the latest from CVS. To fix the bug, you just need
to remove all code from server_both() where it times out on $n == 0.
Patch is:
***************
*** 2143,2151 ****
die "$msg";
}
elsif($n == 0) {
! undef $spawn;
! housekeeping($tick);
! next;
}
else {
--- 2143,2149 ----
die "$msg";
}
elsif($n == 0) {
! # Do nothing, timed out
}
else {
--
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 lists.akopia.com (Jeff Worsley)
Date: Fri Jun 15 14:34:01 2001
Subject: [ic] SSL - Cart Drop
Nevermind I figured out what I did... I was so stupid to have put the
.domain.cgi not .domain.com that was my mistake... however it now works
100% of the time with the CookieDomain .securedomain.com .domain.com
~Jeff
ContactDesigns.com
>Message: 5
>From: Jeff Worsley <jeffw@contactdesigns.com>
>To: interchange-users@developer.akopia.com
>Date: 14 Jun 2001 12:52:38 -0700
>Subject: [ic] SSL - Cart Drop
>Reply-To: interchange-users@lists.akopia.com
>
>Ok I will first start by saying that I know this is a common question.
>Here is the situation, When customer goes to SSL basket, interchange
>sometimes issues a new session... I have found and made the fix awhile
>back and have submited the changes.
>INTERCHANGE 4.6.5 FILE bin/interchange:
>
>Line #1420: $Vend::Session->{shost}=$CGI::secure
>this should be: $Vend::Session->{shost}=$CGI::remote_addr
>
>i was thinking to my self, if you read that whole function... why the
>hell would you set $Vend::Session->{shost} to $CGI::Secure if
>$CGI::Secure had no value to begin with.
>
>anyway I then had to add to catalog.cfg:
>Cookies Yes
>CookieDomain .securedomain.com .nonsecuredomain.com
>
>well the funnything is that this works 100% when the .securedomain.com
>is first then the .nonsecuredomain.com... however interchange declares
>a
>cookie error and says that I will loose all cart items from non to
>secure... this is not true, the cookies are writen like they should be
>(even to a virgin computer). NOW THE QUESTION: Why would this make
>interchange think there is an error? is there a fix to the code to make
>it not error? I can remove the stuff out of the templates, however I
>what interchange to be happy with the fix and not error at all to begin
>with.
>
>~Jeff
>ContactDesigns.com
From: interchange-users at lists.akopia.com (Michael Soflin)
Date: Fri Jun 15 14:44:00 2001
Subject: [ic] Interchange 4.6.5 Secure Server Problem using Dial up Connection
I have installed on my Red Hat 7 Linux Box, Interchange 4.6.5. I am having
a problem with the secure server pages when using a dial up connection. I
have tried my site from both a Star Band and a T1 connection and it works
fine. But when I use a dial up connection (I have tried a 56k and a 33.6k
connection) I get a Page Not Found when trying to place my order on my
e-commerce site. I am using Internet Explorer 5.0 and greater, if that
matters. Any suggestions or familiar problems?
From: interchange-users at lists.akopia.com (Jeff Worsley)
Date: Fri Jun 15 15:11:00 2001
Subject: [ic] Variable/Attribute Pricing
Forgive the spelling, I program in code and only know such words. :P
anywho... This topic has been a great hassle for other ppl and myself,
after reading the achives and getting all of the imput from the messages
and docs, I can understand why it's not a hard programed thing..
I can only assume that interchange was not limited to just a
cat/shopcart system. I would, however, like to add this function in for
atlest myself if not the rest of the ppl whom need it. The idea is
simple, I'm not talking about using ComonAdjust or anything that
requires the use of configureing the catolog.cfg (unless it;s adding
code).
I want the abillity todo 2 things... the first is to manipulate the
price field in such that you would enter "3.00,+2.00,+3.00". so the
first part is the defult price value (3.00) of that item and the other
parts of that field are the ups or downs of that item... ok now we add
another field to the Item table... "Price By" in this it would be such
"Size" "COLOR" or "Wieght" so lets say I select "Size" now when I fill
out size I simply put "S,M,L" and the attributs are assotiated with the
size and price... the reason I want this to be an BY ITEM basis, is
because I want to not be limited to All products on the site to S,M,L or
for that matter, I want to charge by wieght sometimes, on some items.
CommonAdjust is just for Quantaty Sizing, or everything on the site has
to be thought of in then catalog.cfg...
So now the question, where is the ui in witch I should put this in. I
can and will program it, unless it's already an option... or we can all
put our minds together and think of a less custom solution... again I
dont want to hear anymore about COMMONADJUST!!!
~Jeff
ContactDesigns.com
From: interchange-users at lists.akopia.com (Garry)
Date: Fri Jun 15 15:56:00 2001
Subject: [ic] Interchange 4.6.5 Secure Server Problem using Dial up Connection
I get a similar problem. When I use the Secure Server, fill the basket, the
checkout is empty and there is nothing to ship. Go back to the basket and
the goods are there. When I go back to not using a secure sever, the
checkout works fine.
Help !!!
Gaz
----- Original Message -----
From: "Michael Soflin" <msoflin@scpweb.com>
To: "Akopia User Group (E-mail)" <interchange-users@developer.akopia.com>
Sent: Friday, June 15, 2001 8:00 PM
Subject: [ic] Interchange 4.6.5 Secure Server Problem using Dial up
Connection
> I have installed on my Red Hat 7 Linux Box, Interchange 4.6.5. I am
having
> a problem with the secure server pages when using a dial up connection. I
> have tried my site from both a Star Band and a T1 connection and it works
> fine. But when I use a dial up connection (I have tried a 56k and a 33.6k
> connection) I get a Page Not Found when trying to place my order on my
> e-commerce site. I am using Internet Explorer 5.0 and greater, if that
> matters. Any suggestions or familiar problems?
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Alexandre Daree)
Date: Fri Jun 15 17:07:00 2001
Subject: [ic] Any body knows why I am getting 2 copies from the orders my customers order?
Hi
Any body can tell me why I am 22 peice of emails from my server for each
order my customers orders?
I am using IC 7.02
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 15 17:30:00 2001
Subject: [ic] Any body knows why I am getting 2 copies from the orders my customers order?
On Thu, Jun 14, 2001 at 05:35:02PM -0500, Alexandre Daree wrote:
> Hi
> Any body can tell me why I am 22 peice of emails from my server for each
> order my customers orders?
> I am using IC 7.02
>
If you actually mean 4.7.2, then a bug fix was checked in to 4.7.3 today which
fixes this, you can apply it to your catalog by looking in catalog.cfg for
this section:
Route default master 1
Route default cascade "log main copy_user"
Route default empty 1
Route default email "__ORDERS_TO__"
Add to this section:
Route default supplant 1
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Fri Jun 15 18:03:00 2001
Subject: [ic] perl5.6.1 and evals SOLVED now UNSOLVED again
I've got a small usertag and page that seems
to kill perl evals. This is in interchange
4.7.3 on our debian machines. It does not seem
to kill interchange itself, so I'm not 100%
sure if it is a perl issue. It is, however,
dependant on the perl version, so maybe it
is. Anyone upgrading 5.6.0 to 5.6.1, at least
on a debian box, should be cautious.
--
Description:
On an up to date debian "unstable" system running
perl 5.6.1 this usertag and simple eval causes evals
to misbehave (segfault?) within an unpatched interchange.
The same thing happens with a home build perl 5.7.1
(using & -d defaults) 100% tests successful.
That same interchange runs on 5.6.0 machines no problem.
If I hack it to run with a local 5.6.0 binary and all
the 5.6.1 libs (modify Config.pm and symlink a few
5.6.0 directories to 5.6.1 equivalents) it works.
I do not know how to troubleshoot this further. It's
not like I can run interchange in gdb. Nor can I tell
for sure if this is a perl or interchange issue, except
that perl is behaving inconsistently from 5.6.0 to 5.6.1.
I'd be curious if anyone else can run this on a perl 5.6.1
machine and to hear if it works or does not.
#############
## xxx
UserTag xxx HasEndTag 1
UserTag xxx Interpolate 0
UserTag xxx Routine<<XXX
sub {
::logGlobal("logGlobal in scope in tag");
my $str = eval {
my $OUT=eval $_[0];
die $@ if $@;
return '' unless $OUT;
return $OUT;
};
if($@) {
my($err);
$err=$@;
::logGlobal("EVAL FAILED: $err");
$err=~s/\n/<BR>/g;
::logGlobal("xxx done");
return "error: $err";
}
::logGlobal("xxx done");
return "str: $str";
}
XXX
#end
For this simplified page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML><HEAD>
</HEAD>
<BODY ALINK="#990000" BGCOLOR="#FFFFFF" LINK="#0165FF" TEXT="#000000" VLINK="#0000FF">
[xxx]
{
use strict 'vars';
my(@OUT); # COMMENT THIS LINE AND EVAL FAILS AND IS **NOT** TRAPPED
push @OUT,'HELLO WORLD';
::logGlobal("logGlobal is in scope here");
return join '',@OUT;
}
[/xxx]
</BODY>
</HTML>
The development machine logs this and returns server read error (probably segfault)
genii.znet.maine.com Rkagu3AP:maine.com - [15/June/2001:12:02:49 -0500] PAGE: xxx lobsters /Catalog/lobsters.cgi/xxx.html logGlobal in scope in tag
The production machine (5.6.0) logs this and returns page with "str:"
genii.znet.maine.com gWuyvxkm:maine.com - [15/June/2001:12:04:13 -0500] PAGE: xxx products /Catalog/products.cgi/xxx.html logGlobal in scope in tag
genii.znet.maine.com gWuyvxkm:maine.com - [15/June/2001:12:04:13 -0500] PAGE: xxx products /Catalog/products.cgi/xxx.html EVAL FAILED: Global symbol "@OUT" requires explicit package name at (eval 45) line 5.
> Global symbol "@OUT" requires explicit package name at (eval 45) line 7.
>
###################################
This is perl on production machine:
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.2, archname=i386-linux
uname='linux duende 2.4.2 #1 fri mar 2 13:52:32 est 2001 i686 unknown '
config_args='-Dccflags=-DDEBIAN -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.0 -Darchlib=/usr/lib/perl/5.6.0 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.0 -Dsitearch=/usr/local/lib/perl/5.6.0 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/pager -Uafs -Ud_csh -Uusesfio -Duseshrplib -Dlibperl=libperl.so.5.6.0 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O2', gccversion=2.95.3 20010219 (prerelease)
cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc-2.2.2.so, so=so, useshrplib=true, libperl=libperl.so.5.6.0
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Mar 9 2001 05:59:18
@INC:
/usr/local/lib/perl/5.6.0
/usr/local/share/perl/5.6.0
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.6.0
/usr/share/perl/5.6.0
/usr/local/lib/site_perl/i386-linux
/usr/local/lib/site_perl
/usr/lib/perl5/5.6/i386-linux
/usr/lib/perl5/5.6
/usr/lib/perl5/5.005/i386-linux
.
###################################
This is perl on development machine:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.5-ac9, archname=i386-linux
uname='linux duende 2.4.5-ac9 #1 thu jun 7 13:40:15 est 2001 i686 unknown '
config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1 -Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Dotherlibdirs=/usr/lib/perl5/5.6:/usr/lib/perl5/5.005 -Duseshrplib -Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.4 20010604 (Debian prerelease)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt
perllibs=-ldl -lm -lc -lcrypt
libc=/lib/libc-2.2.3.so, so=so, useshrplib=true, libperl=libperl.so.5.6.1
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Jun 13 2001 06:08:30
@INC:
/usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.6.1
/usr/share/perl/5.6.1
/usr/local/lib/site_perl
/usr/lib/perl5/5.6/i386-linux
/usr/lib/perl5/5.6
/usr/lib/perl5/5.005/i386-linux
/usr/lib/perl5/5.005
.
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 15 20:39:00 2001
Subject: [ic] Great Support from Red Hat
On Wed, 13 Jun 2001, Robert Trembath wrote:
RT>>I just wanted to let you all know how good the support is at Red Hat. They
RT>>helped me patch up my CC processing with authorize.net and did a great job
RT>>at what I consider a minimal cost. So if you do need help on some of the
RT>>more sophisticated features in IC and the list isn't doin' the trick, use
RT>>them. Just thought I'd give a little praise and say good job!
I need to echo that sentiment.
I drove out to Reston and I sat down with them and they pulled up my
store and we went over what I was doing and where I want to go.
We agreed on a price.
(Perhaps my philosphy is a bit strange, but after paying $500 for
ShopSite which does NOT do what I want and is not at all configurable,
to spend a few hundred dollars on 'free' software to get it configured
to suit my particular tastes and needs seems like a bargain!)
Our agreement was that I would submit my questions via e-mail. Thus
far, I have submitted just one. The answer that I got back was VERY
comprehensive, very detailed, and in some cases went outside of the
scope of the question asked, but it did cover some other, unvoiced,
concerns.
Now, here is a question: which is the better bargain? To pay an outside
consultant x dollars per hour to get you going, or to pay the original
authors of the software 2x dollars per hour to get you going?
My guess is that before you are done, you will have paid the outside
consultant for 2-3 hours of work, which the original authors would do
within 1 hour.
---------------------
The store software is FREE. The store software is complex!
Don't be a cheapskate! Buy the Tech Support option!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 15, 2001 at 20:30 PM:
Oxymoron: Sure bet.
----------------------------------------------------------------
This Linux System has been up 131 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 15 20:48:01 2001
Subject: [ic] "Buy List" button
On Wed, 13 Jun 2001, Dan B wrote:
DB>>Then again, it might be notifying aliens on Mars of your selection, given
DB>>my stellar perl parsing abilities.
Have the aliens finally landed on Mars? I was under the impression that
Mars was still purely Martians.
If Mars is no longer purely Martians, where are they getting their
aliens from?
(hmmmm. maybe I could put those aliens up in my store! But, what SKU to
use?)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 15, 2001 at 20:50 PM:
That must be wonderful! I don't understand it at all.
----------------------------------------------------------------
This Linux System has been up 131 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 15 20:53:01 2001
Subject: [ic] cc number through e-mail
On Wed, 13 Jun 2001, Dan B wrote:
DB>>(I jest in humor).
DB>>module that does GPG type stuff? (Anyone?)
Umm... what is GPG? Gorey Pink Goats? Go Past Go (do not collect $100)?
Good Pink Goop? Great Plump Girls?
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 15, 2001 at 20:50 PM:
That must be wonderful! I don't understand it at all.
----------------------------------------------------------------
This Linux System has been up 131 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 15 21:12:00 2001
Subject: [ic] (no subject)
On Thu, 14 Jun 2001, Mark Johnson wrote:
MJ>>I want to "Unsubscripe" too :)
MJ>>
MJ>>Steingrimur Steingrimsson wrote:
MJ>>>
MJ>>> Unsubscripe
I got unsubscriped once. I was in Hamburg, Germany on the Reeperbahn!
It was even better than sitting in the hauptbahnhauf in Stuttgart at 4
AM drinking Schwabenbrau beer and waiting for the train to come in!
However it was a kind of a tie with sitting in the Hofbrauhaus with the
ooompah-pah brass band and the lovely madchens carrying liter mugs of
beer and roast chicken and us throwing the chicken bones on the floor!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 15, 2001 at 21:05 PM:
Back Up My Hard Drive? I Can't Find The Reverse Switch!
----------------------------------------------------------------
This Linux System has been up 131 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 15 21:19:01 2001
Subject: [ic] "Buy List" button
On Thu, 14 Jun 2001, Mike Heins wrote:
MH>>> Think of it as a laundry list... You set up a bunch of items that the
MH>>> customers buys regularly. They log in, go to their list, add quantities,
MH>>> buy list, and they're done. With a large list, you could save an enormous
MH>>> chunk of time. The ability to save time is a major selling point for new
MH>>> accounts. Granted, this might be a slightly specialized scenario, and it
MH>>> mostly relates to B2B type commerce, but it's definitely useful.
MH>>>
MH>>
MH>>Bear in mind that I am in no way advocating that this should not be allowed --
MH>>the flexibility of Interchange is that you can do whatever you want. And I
MH>>am not against adding features, as should be obvious, 8-) but I am very
MH>>definitely against checkout complexity for most stores.
MH>>
MH>>The buy-list function is something only a purchasing agent can love, IMHO.
I do a lot of on-line purchasing from regular suppliers.
Medline allows me to pull up a previous order and to make modifications
and to submit it again.
Medline has 1,000's of items available. I buy only about 8. Being able
to pull up the last order, modify a few quantities to get what I
currently need and to get above $750 for the order so I can get free
shipping is critical. Being able to get in, do the current order and to
get out and go to another vendor is important to me.
I'm assuming that my customers are equally as interested in my store
operating similarly.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 15, 2001 at 21:15 PM:
A mouse may be useful, but only for cat food.
----------------------------------------------------------------
This Linux System has been up 132 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 15 21:20:01 2001
Subject: [ic] "Buy List" button
On Thu, 14 Jun 2001, Phillip A. Ryals wrote:
PAR>>So when will 4.7 be released as stable?
In the words of Bob Hartman about Binkley:
It will be released when it's ready!
(It's not soup, yet!)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 15, 2001 at 21:25 PM:
Not many people realize just how well known I am.
----------------------------------------------------------------
This Linux System has been up 132 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 15 21:32:01 2001
Subject: [ic] cc number through e-mail
On Thu, 14 Jun 2001, Guy Soudant wrote:
GS>>I can do without the sarcastic comments. If you really want to comment
GS>>then please send some comments which are usefull.
Lighten up!
>From a very old song: "A spoonful of sugar makes the medicine go down!"
FWIW, I believe that he asked a couple of pertinent questions.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 15, 2001 at 21:35 PM:
Computer programmers do it byte by byte.
----------------------------------------------------------------
This Linux System has been up 132 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jeff Carnahan)
Date: Fri Jun 15 21:58:01 2001
Subject: [ic] cc number through e-mail
} Umm... what is GPG? Gorey Pink Goats? Go Past Go (do not collect $100)?
} Good Pink Goop? Great Plump Girls?
}
GPG = Gnu Privacy Guard (an alternative to PGP for strong public key
cryptography)
http://www.gnupg.org/
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 15 22:11:00 2001
Subject: [ic] cc number through e-mail
On Fri, 15 Jun 2001, Jeff Carnahan wrote:
JC>>} Umm... what is GPG? Gorey Pink Goats? Go Past Go (do not collect $100)?
JC>>} Good Pink Goop? Great Plump Girls?
JC>>}
JC>>
JC>>GPG = Gnu Privacy Guard (an alternative to PGP for strong public key
JC>>cryptography)
OK. I'm embarassed! :-)
But, Goats Prodding Geese seems better! :-)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 15, 2001 at 22:15 PM:
The pendulum has gone full circle.
----------------------------------------------------------------
This Linux System has been up 133 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Sat Jun 16 01:41:01 2001
Subject: [ic] Interchange 4.7.4 alpha release available
A new development release of Interchange is now available for testing.
It fixes several of the bugs discussed on the mailing list over the past
couple of days, and adds some new features. Read what's new at:
http://interchange.redhat.com/pub/interchange/alpha/WHATSNEW
Download it from:
http://interchange.redhat.com/pub/interchange/alpha/interchange-4.7.4.tar.gz
Thanks to everyone who's been testing and contributing.
Jon
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sat Jun 16 04:40:01 2001
Subject: [ic] (no subject)
Ha Ha Ha Ha Ha :-(
-----Original Message-----
From: Jim Balcom <jim@idk-enterprises.com>
To: interchange-users@developer.akopia.com
Date: Fri, 15 Jun 2001 21:17:31 -0400 (EDT)
Subject: Re: [ic] (no subject)
> On Thu, 14 Jun 2001, Mark Johnson wrote:
>
> MJ>>I want to "Unsubscripe" too :)
> MJ>>
> MJ>>Steingrimur Steingrimsson wrote:
> MJ>>>
> MJ>>> Unsubscripe
>
> I got unsubscriped once. I was in Hamburg, Germany on the Reeperbahn!
>
> It was even better than sitting in the hauptbahnhauf in Stuttgart at 4
> AM drinking Schwabenbrau beer and waiting for the train to come in!
>
> However it was a kind of a tie with sitting in the Hofbrauhaus with the
> ooompah-pah brass band and the lovely madchens carrying liter mugs of
> beer and roast chicken and us throwing the chicken bones on the floor!
>
>
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Friday, June 15, 2001 at 21:05 PM:
> Back Up My Hard Drive? I Can't Find The Reverse Switch!
>
> ----------------------------------------------------------------
> This Linux System has been up 131 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Craig Heim)
Date: Sat Jun 16 11:08:00 2001
Subject: [ic] Order detail missing
Hi,
I am new to Interchange, so I am using the demo stores to figure out
how everything works before hacking together my own store.
I checked out the latest and greatest revision (4.7.5), ran makecat,
ran the wizard, and then placed an order from the foundation/computer
store.
When I go to Administration->Orders and look at the order, it does not
contain any of the items purchased. The rest of the info is there (total,
shipping, buyer info, etc.), but there is no way to mark the items as
"shipped" or "backordered".
Also, when I go the order status link send via the email message to the
buyer, the purchased items are also not listed.
Thanks,
Craig Heim
Cellar Cinemas, Inc.
From: interchange-users at lists.akopia.com (Craig Heim)
Date: Sat Jun 16 11:12:01 2001
Subject: [ic] All shipping options selected from wizard not available to buyers
Hi,
When I created my store with the wizard, I chose both UPS and FedEx
services.
In fact, I added a few more methods to the default UPS methods (like Ground
Residential). However, when I go into the store as a buyer, only three
shipping
methods are available to the buyer: UPS Ground Commercial, UPS Next Day Air,
and UPS 2nd Day Air.
Any ideas?
Craig Heim
Cellar Cinemas, Inc.
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Sat Jun 16 12:05:02 2001
Subject: [ic] Order detail missing
Quoting Craig Heim (craig@cellarcinemas.com):
> Hi,
>
> I am new to Interchange, so I am using the demo stores to figure out
> how everything works before hacking together my own store.
>
> I checked out the latest and greatest revision (4.7.5), ran makecat,
> ran the wizard, and then placed an order from the foundation/computer
> store.
>
> When I go to Administration->Orders and look at the order, it does not
> contain any of the items purchased. The rest of the info is there (total,
> shipping, buyer info, etc.), but there is no way to mark the items as
> "shipped" or "backordered".
>
> Also, when I go the order status link send via the email message to the
> buyer, the purchased items are also not listed.
This is confirmed. Somehow a [/if] got removed from
dist/foundation/etc/log_transaction since the beta 4.7.2 release. I have
fixed it -- if you update/check out a new copy of that file and copy it
over your catalog directory all should be well.
Or here is the patch:
4,12d3
< [loop list="transactions orderline userdb"]
< Place table [loop-code] in transaction mode.
< [flag type=transaction table="[loop-code]"]
< [/loop]
< [if variable DECREMENT_INVENTORY]
< Will decrement inventory, place table inventory in transaction mode.
< [flag type=transaction table="inventory"]
< [/if]
<
102a94
> [/if]
127,129c119
<
< [if variable DECREMENT_INVENTORY]
< Inventory of [item-code] now:
---
> [if variable DECREMENT_INVENTORY]Inventory of [item-code] now:
138a129
>
--
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 lists.akopia.com (Guy Soudant)
Date: Sat Jun 16 12:10:00 2001
Subject: [ic] Order detail missing
Hi,
I had a similar problem a few days ago. It seems that the logic behind
the "adding order data to the orderline table" was not available working
in the log_transaction file (the code for the inventory decrementing is
not working as well). I have added the code and now it works.
If you want to be sure that this is your problem, then take a look at
/your_path_to_catalog/logs/log
There should be something like the following:
#### begin ORDERNR #####
Place table transactions in transaction mode.
Place table orderline in transaction mode.
Place table userdb in transaction mode.
Add main order ORDERNR to transactions: 1
1
Added PRODUCT_CODE to orderline: 1
Inventory now: -1
[/try]
#
#### end ORDERNR #####
Crucial is the line: "Added PRODUCT_CODE to orderline: 1"
If this line is missing (as well as the inventory now: -1), then add the
logic to the log_transaction file (you can find this file in
/your_path_to_catalog/etc). You will have to check which code was
missing / not working, but you can find the logic at the bottom.
I added the following code near to the bottom of the file (just above
the [comment]Past add data entry.[/comment] line). Note however, that
this was the way I got it to work, but I believe that there is already a
routine that should work. I have yet to find out why it does not work.
But adding the code below fixed the problem for me.
[comment][perl] Log("Past transactions entry.");
[/perl][/comment][item-list]Added [item-code] to orderline: [import
table=orderline type=LINE continue=NOTES]
code: [value mv_order_number]-[item-increment]
store_id: __STORE_ID__
order_number: [value mv_order_number]
session__MVC_FIELDMUNGE__: [data session id]
username: [data session username]
shipmode: [item-modifier mv_shipmode]
sku: [item-code]
quantity: [item-quantity]
price: [item-price noformat]
subtotal: [item-subtotal noformat]
size__MVC_FIELDMUNGE__: [item-modifier size__MVC_FIELDMUNGE__]
color: [item-modifier color]
order_date: [value order_date]
affiliate: [data session source]
campaign: [value campaign]
status: pending
description: [filter mac][item-description][/filter]
[/import]
Inventory now: [data table=inventory col=quantity key="[item-code]"
increment=1 value="-[item-quantity]"]
[/item-list][/try]
[catch] There was an error adding to the transaction log. [/catch]
[if scratch auto_create]
Logout auto-created user: [userdb logout]
[value name=mv_username set=""]
[/if]
[comment][perl] Log("Past add data entry."); [/perl][/comment]
Hope this is usefull
Regards
Guy Soudant
-----Oorspronkelijk bericht-----
Van: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com] Namens Craig Heim
Verzonden: zaterdag 16 juni 2001 17:10
Aan: interchange-users@developer.akopia.com
Onderwerp: [ic] Order detail missing
Hi,
I am new to Interchange, so I am using the demo stores to figure out
how everything works before hacking together my own store.
I checked out the latest and greatest revision (4.7.5), ran makecat,
ran the wizard, and then placed an order from the foundation/computer
store.
When I go to Administration->Orders and look at the order, it does not
contain any of the items purchased. The rest of the info is there
(total,
shipping, buyer info, etc.), but there is no way to mark the items as
"shipped" or "backordered".
Also, when I go the order status link send via the email message to the
buyer, the purchased items are also not listed.
Thanks,
Craig Heim
Cellar Cinemas, Inc.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Craig Heim)
Date: Sat Jun 16 13:15:00 2001
Subject: [ic] Order detail missing
Mike,
Thanks for the incredibly quick response.
Unfortunately, I am now getting "Invalid user name or password" when I click
on the order status link emailed to the buyer (before applying your patch, I
got the order status, but no detail).
Here is the contents of my logs/log file:
#### begin TEST0001 #####
Auto-created user U00001.
There was an error adding to the transaction log.
1
Logout auto-created user: 1
#### end TEST0001 #####
Sending email copy of order TEST0001 to buyer@cellarcinemas.com: 1
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mike
Heins
Sent: Saturday, June 16, 2001 12:09 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Order detail missing
Quoting Craig Heim (craig@cellarcinemas.com):
> Hi,
>
> I am new to Interchange, so I am using the demo stores to figure out
> how everything works before hacking together my own store.
>
> I checked out the latest and greatest revision (4.7.5), ran makecat,
> ran the wizard, and then placed an order from the foundation/computer
> store.
>
> When I go to Administration->Orders and look at the order, it does not
> contain any of the items purchased. The rest of the info is there (total,
> shipping, buyer info, etc.), but there is no way to mark the items as
> "shipped" or "backordered".
>
> Also, when I go the order status link send via the email message to the
> buyer, the purchased items are also not listed.
This is confirmed. Somehow a [/if] got removed from
dist/foundation/etc/log_transaction since the beta 4.7.2 release. I have
fixed it -- if you update/check out a new copy of that file and copy it
over your catalog directory all should be well.
Or here is the patch:
4,12d3
< [loop list="transactions orderline userdb"]
< Place table [loop-code] in transaction mode.
< [flag type=transaction table="[loop-code]"]
< [/loop]
< [if variable DECREMENT_INVENTORY]
< Will decrement inventory, place table inventory in transaction mode.
< [flag type=transaction table="inventory"]
< [/if]
<
102a94
> [/if]
127,129c119
<
< [if variable DECREMENT_INVENTORY]
< Inventory of [item-code] now:
---
> [if variable DECREMENT_INVENTORY]Inventory of [item-code] now:
138a129
>
--
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
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Craig Heim)
Date: Sat Jun 16 14:05:00 2001
Subject: [ic] Order detail missing
Mike,
I think some of my issues are the result of problems in the wizard.
I blew my testbed away and did a fresh cvs update, ./configure,
and makecat. With one eye on error.log and another on the wizard,
there are two crashes involving the transaction log and the shipping
info.
I don't want to bog this list down with the gory details, so I am
going to log a bug on bugzilla.
Guy,
Thanks for the tips. I tried it out, but I'm hitting other bugs.
I assume that Mike and other Interchange developers saw your post
and will incorporate your code.
Thanks all. This list has a very high signal/noise ratio.
Craig Heim
Cellar Cinemas
From: interchange-users at lists.akopia.com (Jack Lauman)
Date: Sat Jun 16 14:25:01 2001
Subject: [ic] Per Question - Off Topic
I get a currency exchange report emailed to me every night with the
closing rates on Wall Street and want to convert it to a csv file.
I need to strip the leading and trailing spaces from two numeric
(floating point) fields: $usd_unit and $units_usd.
Where is what I have now... I would appreciate any help with this
problem.
use strict;
use vars qw($date $time $cur_sym $cur_desc $usd_unit $units_usd);
use POSIX qw(strftime);
$date = strftime "%Y-%m-%d", localtime;
$time = strftime "%H:%M:%S", localtime;
open (OUTFILE, ">", "currency.csv") || die "Can not open currency.csv
for writing";
printf STDERR "Reading currency file";
open (INFILE, "curtest") || die "Can not open /var/spool/mail/currency
for reading";
while (<INFILE>) {
$date;
$time;
$cur_sym = substr($_, 0, 3);
$cur_desc = substr($_, 4, 28);
while ($cur_desc =~ /\s$/) {
chop($cur_desc);
}
$usd_unit = substr($_, 35, 19);
while ($usd_unit =~ /\s$/) {
chop($usd_unit);
}
$units_usd = substr($_, 57, 19);
while ($units_usd =~ /\s$/) {
chop($units_usd);
}
printf OUTFILE "%s\,%s\,%s\,%s\,%s\,%s\n", $date, $time, $cur_sym,
$cur_desc, $usd_unit, $units_usd;
}
close(INFILE);
close(OUTFILE);
print STDERR "\n";
1;
Thanks,
Jack
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sat Jun 16 14:37:01 2001
Subject: [ic] Order detail missing
Hi,
Perhaps it's a good idea to post a new file to the list, since I think a
lot of people are facing this who don't connect to the CVS. I noticed
that the item options do not display as well.
I am going to try to fix it, and when it works I'll post it to the list.
Regards
Guy Soudant
-----Original Message-----
From: "Craig Heim" <craig@cellarcinemas.com>
To: <interchange-users@developer.akopia.com>
Date: Sat, 16 Jun 2001 14:06:55 -0400
Subject: RE: [ic] Order detail missing
> Mike,
>
> I think some of my issues are the result of problems in the wizard.
>
> I blew my testbed away and did a fresh cvs update, ./configure,
> and makecat. With one eye on error.log and another on the wizard,
> there are two crashes involving the transaction log and the shipping
> info.
>
> I don't want to bog this list down with the gory details, so I am
> going to log a bug on bugzilla.
>
> Guy,
>
> Thanks for the tips. I tried it out, but I'm hitting other bugs.
> I assume that Mike and other Interchange developers saw your post
> and will incorporate your code.
>
> Thanks all. This list has a very high signal/noise ratio.
>
> Craig Heim
> Cellar Cinemas
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Sat Jun 16 19:01:00 2001
Subject: [ic] Order Manager showing $0.00 total
Hi:
When I place an order, the order manager shows me $0 for the order total. I
am using a pricing table with CommonAdjust. Does anyone know what I need to
do to keep the adjustment right through to the Order Manager?
Thanks!
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sun Jun 17 06:36:01 2001
Subject: [ic] Order detail missing
Hi,
I have tested my changed Log_transactions, and it works on my machine.
Note that this does not mean that it works on your machine. Another thing
is that I had to restart the IC daemon before it worked.
There is still some obsolete code, but I'll leave that to the
professionals at RedHat and the readers of this list.
I hope this is usefull to some who face this problem. You can comment out
any lines which you do not need.
START OF LOG_TRANSACTIONS
#### begin [value mv_order_number] #####
[tmp transaction_record]
[loop list="transactions orderline userdb"]
Place table [loop-code] in transaction mode.
[flag type=transaction table="[loop-code]"]
[/loop]
[if variable DECREMENT_INVENTORY]
Will decrement inventory, place table inventory in transaction
mode.
[flag type=transaction table="inventory"]
[/if]
[if type=explicit compare=`
return 1 if ! $Session->{logged_in} or $Session->
{login_table} ne 'userdb';
return 0;
`]
[if session logged_in]
[userdb function=logout clear=0 clear_cart=0]
[/if]
[tmp auto_create]1[/tmp]
[if type=explicit compare=|
[userdb
function=new_account
assign_username=1
password='[value zip]'
verify='[value zip]'
]
|]
Auto-created user [data session username].
[else]
Auto-create of user failed.
[perl] die errmsg("Auto-create of user failed."); [/perl]
[/else]
[/if]
[/if]
[comment][perl] Log("Starting report."); [/perl][/comment]
[try]
[seti total_cost][total-cost noformat=1][/seti]
Add main order [value mv_order_number] to transactions:
[import table=transactions type=LINE continue=NOTES]
code: [value mv_order_number]
store_id: __STORE_ID__
order_number: [value mv_order_number]
session: [data session id]
username: [data session username]
shipmode: [value mv_shipmode] ([shipping-desc])
shipping: [shipping noformat=1]
nitems: [nitems]
subtotal: [subtotal noformat=1]
handling: [handling noformat=1]
salestax: [salestax noformat=1]
total_cost: [scratch total_cost]
fname: [value filter=strip name=fname]
lname: [value filter=strip name=lname]
company: [value filter=strip name=company]
address1: [value filter=strip name=address1]
address2: [value filter=strip name=address2]
city: [value filter=strip name=city]
state: [value name=state filter="strip uc"]
zip: [value name=zip filter=word]
country: [value country]
email: [value name=email filter=strip]
phone_day: [value filter=strip name=phone_day]
phone_night: [value filter=strip name=phone_night]
b_company: [value filter=strip name=b_company]
b_fname: [value filter=strip name=b_fname]
b_lname: [value filter=strip name=b_lname]
b_address1: [value filter="strip mac" name=b_address1]
b_address2: [value filter="strip mac" name=b_address2]
b_city: [value filter=strip name=b_city]
b_state: [value filter=strip name=b_state]
b_zip: [value filter=strip name=b_zip]
b_country: [value filter=strip name=b_country]
b_phone: [value filter=strip name=b_phone]
payment_method: [value mv_payment]
payment_mode: [data session payment_mode]
order_id: [data session payment_id]
order_date: [value name=order_date set="[tag time]%Y%m%d %H:%M:%S[/tag]"]
order_ymd: [value name=order_date set="[tag time]%Y%m%d[/tag]"]
order_wday: [value name=order_wday set="[tag time]%u[/tag]"]
status: pending
deleted: 0
archived: 0
complete: 0
comments: [value filter=mac name=gift_note]
affiliate: [data session source]
campaign: [value campaign]
parent: __PARENT__
po_number: [value filter=strip name=po_number]
[/import]
[if value mv_payment_mode eq purchase_order]
set credit_limit: [seti credit_limit][data
table=userdb
col=credit_limit
key="[data session username]"
value="-[scratch total_cost]"
increment=1
[/seti][/if]
[comment]Past transactions entry.[/comment]
[item-list]Added [item-code] to orderline:
[import table=orderline type=LINE continue=NOTES]
code: [value mv_order_number]-[item-increment]
store_id: __STORE_ID__
order_number: [value mv_order_number]
session: [data session id]
username: [data session username]
shipmode: [item-modifier mv_shipmode]
sku: [item-code]
quantity: [item-quantity]
price: [item-price noformat]
subtotal: [item-subtotal noformat]
mv_mi: [item-modifier mv_mi]
mv_si: [item-modifier mv_si]
mv_mp: [item-modifier mv_mp]
##########################################################################
### Options you want to store in the transactions Db go below. Size and #
### Color are standard. The other (scale, driver, and decals) are for me #
### personally and are still in here as an example. #
##########################################################################
size__MVC_FIELDMUNGE__: [item-modifier size__MVC_FIELDMUNGE__]
color: [item-modifier color]
scale: [item-modifier scale]
driver: [item-modifier driver]
decals: [item-modifier decals]
order_date: [value order_date]
affiliate: [data session source]
campaign: [value campaign]
status: pending
description: [filter mac][item-description][/filter]
[/import]
[if variable DECREMENT_INVENTORY]
Inventory of [item-code] now:
[data
table=inventory
col=quantity
key="[item-code]"
increment=1
value="-[item-quantity]"
]
[/if]
[/item-list]
[/try]
[catch]
[set mv_route_failed]1[/set]
There was an error adding to the transaction log.
[/catch]
[userdb save]
[if scratch auto_create]
Logout auto-created user: [userdb function=logout clear=0
clear_cart=0]
[/if]
[comment][perl] Log("Past add data entry."); [/perl][/comment]
[comment]Past add data entry.[/comment]
#[comment][perl] Log("Past all transaction log."); [/perl][/comment]
[comment]Past all transaction log.[/comment]
[/tmp][perl]
my $out = $Scratch->{transaction_record};
$out =~ s/^\s+//mg;
$out =~ s/\s+$//mg;
$out =~ s/[\r\n]+/\n/;
$out =~ s/:\n(1|yes|succe\w+|fail\w+)\n/: $1\n/g;
return $out;
[/perl]
#### end [value mv_order_number] #####
END OF LOG_TRANSACTIONS
Regards
Guy Soudant
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Sun Jun 17 07:06:00 2001
Subject: [ic] Order Manager showing $0.00 total
"Tim Mirecki" <tim@q5.ca> writes:
> Hi:
>
> When I place an order, the order manager shows me $0 for the order total. I
> am using a pricing table with CommonAdjust. Does anyone know what I need to
> do to keep the adjustment right through to the Order Manager?
AFAIK the prices are recorded in the transactions/orderline tables,
so the problem lies there. I've build a catalog for 4.7.x from
scratch with CommonAdjust where the prices displayed correctly
in the order manager. Read the other mails about the bug
in etc/log_transaction on the list.
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Stefan Hornburg Racke)
Date: Sun Jun 17 07:44:00 2001
Subject: [ic] Per Question - Off Topic
Jack Lauman <jlauman@nwcascades.com> writes:
> I get a currency exchange report emailed to me every night with the
> closing rates on Wall Street and want to convert it to a csv file.
>
> I need to strip the leading and trailing spaces from two numeric
> (floating point) fields: $usd_unit and $units_usd.
You're obviously not that a Perl hacker :-;
Use:
$usd_unit =~ s/^\s+//;
$usd_unit =~ s/\s+$//;
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Florian Kleedorfer)
Date: Sun Jun 17 11:47:00 2001
Subject: [ic] bilingual
Am Montag 11 Juni 2001 20:29 schrieben Sie:
> Speaking of the locale features...
>
> I'm trying to set the normal currency to be a custom symbol for a
> promotional site... It needs to be "BB" instead of "$". But changing the
> locale, even changing locale.txt and deleting the gdbm file, doesn't work.
>
try
Locale en_US price_picture "###,###,###.## BB"
or
Locale en_US currency_symbol BB
in catalog.cfg
* and be sure to set the locale to en_US (or whatever locale you use) *
(http://interchange.redhat.com/doc/icconfig.pdf has more on that)
Flo
From: interchange-users at lists.akopia.com (Florian Kleedorfer)
Date: Sun Jun 17 12:04:01 2001
Subject: [ic] german version of interchange around?
Hi list,
I need to find/create a fine German translation of interchange (admin Iface,
[Error messages], ...) If there's anybody out there that
*) has already done the translation
*) also needs a German version and would participate in translating
*) knows a location where to find translations of Interchange
or
*) has anything interesting to tell me on the subject
, his/her reply will be appreciated!
Thanx in advance,
Florian Kleedorfer
From: interchange-users at lists.akopia.com (IC-Admin)
Date: Sun Jun 17 13:10:00 2001
Subject: [ic] german version of interchange around?
On Sun, 17 Jun 2001, Florian Kleedorfer wrote:
> Hi list,
>
> I need to find/create a fine German translation of interchange (admin Iface,
> [Error messages], ...) If there's anybody out there that
>
> *) has already done the translation
> *) also needs a German version and would participate in translating
> *) knows a location where to find translations of Interchange
> or
> *) has anything interesting to tell me on the subject
>
> , his/her reply will be appreciated!
>
> Thanx in advance,
>
> Florian Kleedorfer
I guess, start translating and donate it to the community, is the
answer. Unless RH has so much money to hire people to do the
translations for them. And that's of course something I don't know.
So, why not giving them a call and ask them directly ? May be they
don't like to answer stuff like that on this list in public.
BF
From: interchange-users at lists.akopia.com (Florian Kleedorfer)
Date: Sun Jun 17 13:45:01 2001
Subject: [ic] german version of interchange around?
Am Sonntag 17 Juni 2001 19:32 schrieben Sie:
>
> I guess, start translating and donate it to the community, is the
> answer. Unless RH has so much money to hire people to do the
> translations for them. And that's of course something I don't know.
>
> So, why not giving them a call and ask them directly ? May be they
> don't like to answer stuff like that on this list in public.
Good Idea. I may do that...
Still, it would be interesting for me to know how much work it is to
translate interchange. Does anyone have experience concerning the said
translation?
Flo
From: interchange-users at lists.akopia.com (Nathan Wiger)
Date: Sun Jun 17 16:08:00 2001
Subject: [ic] Variable/Attribute Pricing
Jeff-
I just brought up the same issue. Here's the way I solved it, thanks to a
good amount of help from Mike Heins (Redhat).
What I did was make it so that fields that were going to modify the price
(i.e, like color and size) would be sensitive to a colon. All of this
happens in the main products db, no other external tables are used.
So, when creating/editing an item, a person would say:
Price: 25.00
Size: S, M: -$5, L: +$10, XL: +$15
Color: Blue, Green, Red: +$35
The builtin [item-attributes] tag would then ignore this (since there's
nothing special about a colon to Akopia) and would make select lists like:
_____________
Size: | S |
| M: -$5 |
| L: +$10 |
| XL: +$15 |
-------------
_____________
Color: | Blue |
| Green |
| Red: +$35 |
-------------
Then, I wrote a simple UserTag routine called "nw_modprice" which was
sensitive to the colon, and added/subtracted the appropriate values from the
base price. The part that caught me was I had to set the following variables
in catalog.cfg:
CommonAdjust [nw_modprice] ;:price
PriceField no_price
If you don't set PriceField to no_price (or some other non-existent field)
then CommonAdjust will be bypassed.
Check out this email for more details on CommonAdjust:
http://developer2.akopia.com/archive/interchange-users/2001/msg03850.html
In particular, note that inside your price modification routine, the current
value of the price chaining is available as $s, the current quantity as $q,
and the current item hash is available as $item.
-Nate
"Jeff Worsley" <jeffw@contactdesigns.com>:
>
> I want the abillity todo 2 things... the first is to manipulate the
> price field in such that you would enter "3.00,+2.00,+3.00". so the
> first part is the defult price value (3.00) of that item and the other
> parts of that field are the ups or downs of that item... ok now we add
> another field to the Item table... "Price By" in this it would be such
> "Size" "COLOR" or "Wieght" so lets say I select "Size" now when I fill
> out size I simply put "S,M,L" and the attributs are assotiated with the
> size and price... the reason I want this to be an BY ITEM basis, is
> because I want to not be limited to All products on the site to S,M,L or
> for that matter, I want to charge by wieght sometimes, on some items.
> CommonAdjust is just for Quantaty Sizing, or everything on the site has
> to be thought of in then catalog.cfg...
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Sun Jun 17 17:34:00 2001
Subject: [ic] german version of interchange around?
Quoting Florian Kleedorfer (klee@yy-mm-dd.com):
> Hi list,
>
> I need to find/create a fine German translation of interchange (admin Iface,
> [Error messages], ...) If there's anybody out there that
>
> *) has already done the translation
> *) also needs a German version and would participate in translating
> *) knows a location where to find translations of Interchange
> or
> *) has anything interesting to tell me on the subject
>
> , his/her reply will be appreciated!
Stefan Hornburg is working on this now, as well as doing yeoman work
getting the entire UI ready for mere translation. If you check out the very
latest from CVS, you will note a language choice on the Login screen.
8-)
Best,
--
Mike
From: interchange-users at lists.akopia.com (Anton van de Plas)
Date: Sun Jun 17 18:55:00 2001
Subject: [ic] SSL - Cart Drop
To John and the rest of the list,
You gave me some advise this week about the SSL cart drop on the IC list and
based upon that, I have made the following changes to my catalog.cfg
AlwaysSecure order ord/checkout ord/basket new_account login logout
change_password process customerservice
I added "new_account" to the list, otherwise, a new account created, would
not work with the secure pages.
Now this solution has created a new problem. It has made my login page etc.
in the Administrative area secure. This has as result that after my login, I
cannot access certain areas of the admin area, since the "cookies" cannot be
read by my nonsecure server. Do you have a solution for this. For me, the
admin area does not have to be secure at all.
Thanks
Anton
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of John
Beima
Sent: Friday, June 15, 2001 3:02 AM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] SSL - Cart Drop
Basicly any page that doesn't go though the SSL domain wont have your basket
or
session info... You did put my line in as one long line with spaces
seperating
everthing right? Send me your catalog.cfg file and I will take a look at
it...
John
Quoting Anton van de Plas <avdplas@addaction.com>:
> John:
>
> I have implemented the same codes as you describe below. Now it works. I
> am
> not losing the cart contents when going to the SSL check out. But when I
> log
> in and then return to the home page to shop, I am logged out and loose
> the
> contents of the cart, since it is a different domain.
>
> Any suggestions?
>
> Anton
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of John
> Beima
> Sent: Thursday, June 14, 2001 8:49 PM
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] SSL - Cart Drop
>
>
> G'Day Jeff,
>
> Get ride of both of those cookie directives, and change the AlwaysSecure
> Line in
> your catalog.cfg file to:
>
> AlwaysSecure order ord/checkout ord/basket login logout
> change_password
> process customerservice
>
> Then go into your admin pages and turn the UI secure server on as
> well...
>
> And you problem will be solved...
>
> John Beima
>
>
> Quoting Jeff Worsley <jeffw@contactdesigns.com>:
>
> > Ok I will first start by saying that I know this is a common question.
> > Here is the situation, When customer goes to SSL basket, interchange
> > sometimes issues a new session... I have found and made the fix awhile
> > back and have submited the changes.
> > INTERCHANGE 4.6.5 FILE bin/interchange:
> >
> > Line #1420: $Vend::Session->{shost}=$CGI::secure
> > this should be: $Vend::Session->{shost}=$CGI::remote_addr
> >
> > i was thinking to my self, if you read that whole function... why the
> > hell would you set $Vend::Session->{shost} to $CGI::Secure if
> > $CGI::Secure had no value to begin with.
> >
> > anyway I then had to add to catalog.cfg:
> > Cookies Yes
> > CookieDomain .securedomain.com .nonsecuredomain.com
> >
> > well the funnything is that this works 100% when the .securedomain.com
> > is first then the .nonsecuredomain.com... however interchange declares
> a
> > cookie error and says that I will loose all cart items from non to
> > secure... this is not true, the cookies are writen like they should be
> > (even to a virgin computer). NOW THE QUESTION: Why would this make
> > interchange think there is an error? is there a fix to the code to
> make
> > it not error? I can remove the stuff out of the templates, however I
> > what interchange to be happy with the fix and not error at all to
> begin
> > with.
> >
> > ~Jeff
> > ContactDesigns.com
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (IC-Admin)
Date: Sun Jun 17 19:44:01 2001
Subject: [ic] german version of interchange around?
On Sun, 17 Jun 2001, Mike Heins wrote:
>
> Stefan Hornburg is working on this now, as well as doing yeoman work
> getting the entire UI ready for mere translation. If you check out the very
> latest from CVS, you will note a language choice on the Login screen.
> 8-)
>
> Best,
>
Ah, great... and I love it, if Mike Heins makes us foreigners use
the dictionary.
Yeoman = someone who does services for the king as
serf or villein (Leibeigener)
or a little more gentle
Yeoman = someone who is doing some work out of loyalty.
Stefan, which one is it ? 8-)
Just kidding, happy Father's Day, especially to the RedHat fathers.
Your answers to the questions on this list get better and better
every day.
BF
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Sun Jun 17 20:16:01 2001
Subject: [ic] german version of interchange around?
On Sun, 17 Jun 2001, IC-Admin wrote:
I>>Ah, great... and I love it, if Mike Heins makes us foreigners use
I>>the dictionary.
I>>
I>> Yeoman = someone who does services for the king as
I>> serf or villein (Leibeigener)
I>>
I>>or a little more gentle
I>>
I>> Yeoman = someone who is doing some work out of loyalty.
I>>
I>>Stefan, which one is it ? 8-)
It is my understanding that a yeoman on a ship is usually the one that
does the toughest jobs and is the hardest worker.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Sunday, June 17, 2001 at 20:20 PM:
User Error: replace user and press any key to continue.
----------------------------------------------------------------
This Linux System has been up 31 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Sun Jun 17 22:47:01 2001
Subject: [ic] Range Searching part 2
Since my initial post I've tried literally hundreds of combinations
to get a simple range search to work. I can get it to return results
but they are not in the range. I'm getting results for items that
don't even have a value for the field that has the range.
I've tried the examples from the old simple catalog, and samples from
the docs and from the website.
I just need to do a simple range search for a column and i'm using a
normal flatfile DB.
<form action=[process-search] method=post>
<input type=hidden name=fi value=products>
<input type=hidden name=ra value=yes>
<input type=hidden name=rl value=bedrooms>
<input type=hidden name=rm value=4>
<input type=hidden name=rx value=7>
<input type=submit value=search>
</form>
I've tried various things to this like su,sf,tf,ml,rg (even though
there is no alpha), cs (even though there is no alpha).
nothing I try returns the data I need.
any recommendations on what to add to this?
if anyone has a simple snippet that works, I'd appreciate it.
Ven
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Sun Jun 17 23:14:01 2001
Subject: [ic] Range Searching part 2
Quoting Victor Nolton (ven@pragakhan.com):
> Since my initial post I've tried literally hundreds of combinations
> to get a simple range search to work. I can get it to return results
> but they are not in the range. I'm getting results for items that
> don't even have a value for the field that has the range.
>
> I've tried the examples from the old simple catalog, and samples from
> the docs and from the website.
>
> I just need to do a simple range search for a column and i'm using a
> normal flatfile DB.
>
> <form action=[process-search] method=post>
> <input type=hidden name=fi value=products>
> <input type=hidden name=ra value=yes>
> <input type=hidden name=rl value=bedrooms>
> <input type=hidden name=rm value=4>
> <input type=hidden name=rx value=7>
> <input type=submit value=search>
> </form>
Try this:
<form action=[process-search] method=post>
<input type=hidden name=fi value=products>
<input type=hidden name=ra value=yes>
<input type=hidden name=co value=yes>
<input type=hidden name=sf value=bedrooms>
<input type=hidden name=se value=4>
<input type=hidden name=op value=">=">
<input type=hidden name=nu value="1">
<input type=hidden name=sf value=bedrooms>
<input type=hidden name=se value=7>
<input type=hidden name=op value="<=">
<input type=hidden name=nu value="1">
<input type=submit value=search>
</form>
Range look should still work, but it has been a while since it
was tested.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
People who want to share their religious views with you
almost never want you to share yours with them. -- Dave Barry
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Sun Jun 17 23:24:01 2001
Subject: [ic] Range Searching part 2
>Quoting Victor Nolton (ven@pragakhan.com):
>> Since my initial post I've tried literally hundreds of combinations
>> to get a simple range search to work. I can get it to return results
>> but they are not in the range. I'm getting results for items that
>> don't even have a value for the field that has the range.
>>
>> I've tried the examples from the old simple catalog, and samples from
>> the docs and from the website.
>>
>> I just need to do a simple range search for a column and i'm using a
>> normal flatfile DB.
>>
>> <form action=[process-search] method=post>
>> <input type=hidden name=fi value=products>
>> <input type=hidden name=ra value=yes>
>> <input type=hidden name=rl value=bedrooms>
>> <input type=hidden name=rm value=4>
>> <input type=hidden name=rx value=7>
>> <input type=submit value=search>
>> </form>
>
>Try this:
>
> <form action=[process-search] method=post>
> <input type=hidden name=fi value=products>
> <input type=hidden name=ra value=yes>
> <input type=hidden name=co value=yes>
>
> <input type=hidden name=sf value=bedrooms>
> <input type=hidden name=se value=4>
> <input type=hidden name=op value=">=">
> <input type=hidden name=nu value="1">
>
> <input type=hidden name=sf value=bedrooms>
> <input type=hidden name=se value=7>
> <input type=hidden name=op value="<=">
> <input type=hidden name=nu value="1">
> <input type=submit value=search>
> </form>
>
>Range look should still work, but it has been a while since it
>was tested.
That did the trick, im just going to end up compounding this with
various other searches/ranges.
Is it more efficent to try to get a range to work or use the above
with selection dropdowns? using IC 4.6.5
Thank you for the snippet.
Ven
From: interchange-users at lists.akopia.com (Doug Alcorn)
Date: Sun Jun 17 23:27:00 2001
Subject: [ic] Variable/Attribute Pricing
"Nathan Wiger" <nate@nateware.com> writes:
> What I did was make it so that fields that were going to modify the price
> (i.e, like color and size) would be sensitive to a colon. All of this
> happens in the main products db, no other external tables are used.
>
> So, when creating/editing an item, a person would say:
>
> Price: 25.00
> Size: S, M: -$5, L: +$10, XL: +$15
> Color: Blue, Green, Red: +$35
>
> The builtin [item-attributes] tag would then ignore this (since there's
> nothing special about a colon to Akopia) and would make select lists like:
> _____________
> Size: | S |
> | M: -$5 |
> | L: +$10 |
> | XL: +$15 |
> -------------
> _____________
> Color: | Blue |
> | Green |
> | Red: +$35 |
> -------------
>
> Then, I wrote a simple UserTag routine called "nw_modprice" which was
> sensitive to the colon, and added/subtracted the appropriate values from the
> base price. The part that caught me was I had to set the following variables
> in catalog.cfg:
>
> CommonAdjust [nw_modprice] ;:price
> PriceField no_price
>
This is probably the nicest solution I've seen to this problem.
Congratulations.
--
(__) 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 lists.akopia.com (Mike Heins)
Date: Sun Jun 17 23:49:00 2001
Subject: [ic] Range Searching part 2
Quoting Victor Nolton (ven@pragakhan.com):
> Quoting me:
> >Try this:
> >
> > <form action=[process-search] method=post>
> > <input type=hidden name=fi value=products>
> > <input type=hidden name=ra value=yes>
> > <input type=hidden name=co value=yes>
> >
> > <input type=hidden name=sf value=bedrooms>
> > <input type=hidden name=se value=4>
> > <input type=hidden name=op value=">=">
> > <input type=hidden name=nu value="1">
> >
> > <input type=hidden name=sf value=bedrooms>
> > <input type=hidden name=se value=7>
> > <input type=hidden name=op value="<=">
> > <input type=hidden name=nu value="1">
> > <input type=submit value=search>
> > </form>
> >
> >Range look should still work, but it has been a while since it
> >was tested.
>
> That did the trick, im just going to end up compounding this with
> various other searches/ranges.
>
> Is it more efficent to try to get a range to work or use the above
> with selection dropdowns? using IC 4.6.5
>
This is definitely more efficient, especially if you combine it
with something like
sf=property_type
se=Single family
nu=0
op=eq
When the searchtype is db, and it is SQL, it builds the list
with a fast select (providing property_type is indexed).
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
If you think nobody cares if you're alive, try missing a couple of
car payments. -- Earl Wilson
From: interchange-users at lists.akopia.com (root)
Date: Mon Jun 18 04:14:01 2001
Subject: [ic] presistent problem and no answers?????????
this is my message from the install of DBI???
[root@flashca216 DBD-mysql-2.0901]# perl Makefile.PL
This is an experimental version of DBD::mysql. For production
environments you should prefer the Msql-Mysql-modules.
I will use the following settings for compiling and testing:
testpassword (default ) =
testhost (default ) =
testuser (default ) =
nocatchstderr (default ) = 0
libs (mysql_config) = -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
cflags (mysql_config) = -I'/usr/local/include/mysql'
testdb (default ) = test
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Using DBI 1.18 installed in /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
Writing Makefile for DBD::mysql
[root@flashca216 DBD-mysql-2.0901]# make
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I'/usr/local/include/mysql' -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fpic -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE dbdimp.c
dbdimp.c: In function `mysql_db_reconnect':
dbdimp.c:1694: warning: assignment from incompatible pointer type
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I'/usr/local/include/mysql' -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fpic -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/lib/mysql:/usr/lib:/lib" /usr/local/bin/perl myld cc -shared -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3
Unmatched =back at /usr/local/bin/pod2man line 48
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/Bundle::DBD::mysql.3
Manifying blib/man3/Mysql.3
On Fri, 15 Jun 2001, you wrote:
>
> On 15 Jun 2001 11:38:07 +0800, root wrote:
> > Killing Interchange server 3768 with TERM.
> > Low traffic settings.
> > Calling UI....
> > ...UI is loaded....
> > Interchange V4.6.5
> > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:construct.
> > construct config error: connect failed (create) -- unknown error. Driver 'mysql' installed?
> >
> >
> > construct: error in configuration. Skipping.
> > construct: config error. Skipping.
> > Interchange server started in INET and UNIX mode(s) (process id 13993)
> >
> > this is the premissions on the construct file in the cgi-bin
> > -rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct
> >
> > can someone please give me some advice????
> >
> > snowy
> >
>
> Sounds like you don't have the DBD drivers installed...
>
> The easiest way to get em up and going is to type
>
> perl -MCPAN -e 'install Bundle::DBD::mysql'
>
> at the command prompt.
>
> Or, if that doesn't work for some reason you can download what you need
> at
>
> http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0901.tar.gz
>
> then compile and install it yourself.
>
> Either way, you should be good to go....
>
> Matt
>
>
----------------------------------------
Content-Type: application/pgp-signature; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Mon Jun 18 04:55:00 2001
Subject: [ic] presistent problem and no answers?????????
I'm not an expert but.. did you also do a make test and make install.
the last command I see from your root prompt is a make
>[root@flashca216 DBD-mysql-2.0901]# make
>this is my message from the install of DBI???
>
>[root@flashca216 DBD-mysql-2.0901]# perl Makefile.PL
>
>This is an experimental version of DBD::mysql. For production
>environments you should prefer the Msql-Mysql-modules.
>
>I will use the following settings for compiling and testing:
>
> testpassword (default ) =
> testhost (default ) =
> testuser (default ) =
> nocatchstderr (default ) = 0
> libs (mysql_config) = -L/usr/local/lib/mysql
>-lmysqlclient -lz -lcrypt -lnsl -lm
> cflags (mysql_config) = -I'/usr/local/include/mysql'
> testdb (default ) = test
>
>To change these settings, see 'perl Makefile.PL --help' and
>'perldoc INSTALL'.
>
>Using DBI 1.18 installed in
>/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
>Writing Makefile for DBD::mysql
>[root@flashca216 DBD-mysql-2.0901]# make
>cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
>-I'/usr/local/include/mysql' -fno-strict-aliasing
>-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
>-DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fpic
>-I/usr/local/lib/perl5/5.6.1/i686-linux/CORE dbdimp.c
>dbdimp.c: In function `mysql_db_reconnect':
>dbdimp.c:1694: warning: assignment from incompatible pointer type
>cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
>-I'/usr/local/include/mysql' -fno-strict-aliasing
>-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
>-DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fpic
>-I/usr/local/lib/perl5/5.6.1/i686-linux/CORE mysql.c
>Running Mkbootstrap for DBD::mysql ()
>chmod 644 mysql.bs
>rm -f blib/arch/auto/DBD/mysql/mysql.so
>LD_RUN_PATH="/usr/local/lib/mysql:/usr/lib:/lib" /usr/local/bin/perl
>myld cc -shared -L/usr/local/lib dbdimp.o mysql.o -o
>blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/lib/mysql
>-lmysqlclient -lz -lcrypt -lnsl -lm
>chmod 755 blib/arch/auto/DBD/mysql/mysql.so
>cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
>chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
>Manifying blib/man3/DBD::mysql.3
>Unmatched =back at /usr/local/bin/pod2man line 48
>Manifying blib/man3/DBD::mysql::INSTALL.3
>Manifying blib/man3/Bundle::DBD::mysql.3
>Manifying blib/man3/Mysql.3
>
>On Fri, 15 Jun 2001, you wrote:
>>
>> On 15 Jun 2001 11:38:07 +0800, root wrote:
>> > Killing Interchange server 3768 with TERM.
>> > Low traffic settings.
>> > Calling UI....
>> > ...UI is loaded....
>> > Interchange V4.6.5
>> > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:construct.
>> > construct config error: connect failed (create) -- unknown
>>error. Driver 'mysql' installed?
>> >
>> >
>> > construct: error in configuration. Skipping.
>> > construct: config error. Skipping.
>> > Interchange server started in INET and UNIX mode(s) (process id 13993)
>> >
>> > this is the premissions on the construct file in the cgi-bin
>> > -rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct
>> >
>> > can someone please give me some advice????
>> >
>> > snowy
>> >
>>
>> Sounds like you don't have the DBD drivers installed...
>>
>> The easiest way to get em up and going is to type
>>
>> perl -MCPAN -e 'install Bundle::DBD::mysql'
>>
>> at the command prompt.
>>
>> Or, if that doesn't work for some reason you can download what you need
>> at
>>
>> http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0901.tar.gz
>>
>> then compile and install it yourself.
>>
>> Either way, you should be good to go....
>>
>> Matt
>>
>>
>
>----------------------------------------
>Content-Type: application/pgp-signature; name="unnamed"
>Content-Transfer-Encoding: 7bit
>Content-Description:
>----------------------------------------
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (root)
Date: Mon Jun 18 05:03:00 2001
Subject: [ic] presistent problem and no answers?????????
yeah i tried runnign make install setting the user name and password correctly
but that didn't work , for some reason it wouldn't plug in the user name and
passwords
perl Makefile.PL --testpassword=blah --testuser=blah
shrug
On Mon, 18 Jun 2001, you wrote:
> I'm not an expert but.. did you also do a make test and make install.
>
> the last command I see from your root prompt is a make
>
> >[root@flashca216 DBD-mysql-2.0901]# make
>
>
>
> >this is my message from the install of DBI???
> >
> >[root@flashca216 DBD-mysql-2.0901]# perl Makefile.PL
> >
> >This is an experimental version of DBD::mysql. For production
> >environments you should prefer the Msql-Mysql-modules.
> >
> >I will use the following settings for compiling and testing:
> >
> > testpassword (default ) =
> > testhost (default ) =
> > testuser (default ) =
> > nocatchstderr (default ) = 0
> > libs (mysql_config) = -L/usr/local/lib/mysql
> >-lmysqlclient -lz -lcrypt -lnsl -lm
> > cflags (mysql_config) = -I'/usr/local/include/mysql'
> > testdb (default ) = test
> >
> >To change these settings, see 'perl Makefile.PL --help' and
> >'perldoc INSTALL'.
> >
> >Using DBI 1.18 installed in
> >/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> >Writing Makefile for DBD::mysql
> >[root@flashca216 DBD-mysql-2.0901]# make
> >cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> >-I'/usr/local/include/mysql' -fno-strict-aliasing
> >-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> >-DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fpic
> >-I/usr/local/lib/perl5/5.6.1/i686-linux/CORE dbdimp.c
> >dbdimp.c: In function `mysql_db_reconnect':
> >dbdimp.c:1694: warning: assignment from incompatible pointer type
> >cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> >-I'/usr/local/include/mysql' -fno-strict-aliasing
> >-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> >-DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fpic
> >-I/usr/local/lib/perl5/5.6.1/i686-linux/CORE mysql.c
> >Running Mkbootstrap for DBD::mysql ()
> >chmod 644 mysql.bs
> >rm -f blib/arch/auto/DBD/mysql/mysql.so
> >LD_RUN_PATH="/usr/local/lib/mysql:/usr/lib:/lib" /usr/local/bin/perl
> >myld cc -shared -L/usr/local/lib dbdimp.o mysql.o -o
> >blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/lib/mysql
> >-lmysqlclient -lz -lcrypt -lnsl -lm
> >chmod 755 blib/arch/auto/DBD/mysql/mysql.so
> >cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
> >chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
> >Manifying blib/man3/DBD::mysql.3
> >Unmatched =back at /usr/local/bin/pod2man line 48
> >Manifying blib/man3/DBD::mysql::INSTALL.3
> >Manifying blib/man3/Bundle::DBD::mysql.3
> >Manifying blib/man3/Mysql.3
> >
> >On Fri, 15 Jun 2001, you wrote:
> >>
> >> On 15 Jun 2001 11:38:07 +0800, root wrote:
> >> > Killing Interchange server 3768 with TERM.
> >> > Low traffic settings.
> >> > Calling UI....
> >> > ...UI is loaded....
> >> > Interchange V4.6.5
> >> > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:construct.
> >> > construct config error: connect failed (create) -- unknown
> >>error. Driver 'mysql' installed?
> >> >
> >> >
> >> > construct: error in configuration. Skipping.
> >> > construct: config error. Skipping.
> >> > Interchange server started in INET and UNIX mode(s) (process id 13993)
> >> >
> >> > this is the premissions on the construct file in the cgi-bin
> >> > -rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct
> >> >
> >> > can someone please give me some advice????
> >> >
> >> > snowy
> >> >
> >>
> >> Sounds like you don't have the DBD drivers installed...
> >>
> >> The easiest way to get em up and going is to type
> >>
> >> perl -MCPAN -e 'install Bundle::DBD::mysql'
> >>
> >> at the command prompt.
> >>
> >> Or, if that doesn't work for some reason you can download what you need
> >> at
> >>
> >> http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0901.tar.gz
> >>
> >> then compile and install it yourself.
> >>
> >> Either way, you should be good to go....
> >>
> >> Matt
> >>
> >>
> >
> >----------------------------------------
> >Content-Type: application/pgp-signature; name="unnamed"
> >Content-Transfer-Encoding: 7bit
> >Content-Description:
> >----------------------------------------
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (root)
Date: Mon Jun 18 05:15:00 2001
Subject: [ic] presistent problem and no answers?????????
On Mon, 18 Jun 2001, you wrote:
> yeah i tried running make test setting the user name and password correctly
> but that didn't work , for some reason it wouldn't plug in the user name and
> passwords
>
> perl Makefile.PL --testpassword=blah --testuser=blah
>
> shrug
>
>
> On Mon, 18 Jun 2001, you wrote:
> > I'm not an expert but.. did you also do a make test and make install.
> >
> > the last command I see from your root prompt is a make
> >
> > >[root@flashca216 DBD-mysql-2.0901]# make
> >
> >
> >
> > >this is my message from the install of DBI???
> > >
> > >[root@flashca216 DBD-mysql-2.0901]# perl Makefile.PL
> > >
> > >This is an experimental version of DBD::mysql. For production
> > >environments you should prefer the Msql-Mysql-modules.
> > >
> > >I will use the following settings for compiling and testing:
> > >
> > > testpassword (default ) =
> > > testhost (default ) =
> > > testuser (default ) =
> > > nocatchstderr (default ) = 0
> > > libs (mysql_config) = -L/usr/local/lib/mysql
> > >-lmysqlclient -lz -lcrypt -lnsl -lm
> > > cflags (mysql_config) = -I'/usr/local/include/mysql'
> > > testdb (default ) = test
> > >
> > >To change these settings, see 'perl Makefile.PL --help' and
> > >'perldoc INSTALL'.
> > >
> > >Using DBI 1.18 installed in
> > >/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> > >Writing Makefile for DBD::mysql
> > >[root@flashca216 DBD-mysql-2.0901]# make
> > >cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> > >-I'/usr/local/include/mysql' -fno-strict-aliasing
> > >-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> > >-DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fpic
> > >-I/usr/local/lib/perl5/5.6.1/i686-linux/CORE dbdimp.c
> > >dbdimp.c: In function `mysql_db_reconnect':
> > >dbdimp.c:1694: warning: assignment from incompatible pointer type
> > >cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> > >-I'/usr/local/include/mysql' -fno-strict-aliasing
> > >-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> > >-DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fpic
> > >-I/usr/local/lib/perl5/5.6.1/i686-linux/CORE mysql.c
> > >Running Mkbootstrap for DBD::mysql ()
> > >chmod 644 mysql.bs
> > >rm -f blib/arch/auto/DBD/mysql/mysql.so
> > >LD_RUN_PATH="/usr/local/lib/mysql:/usr/lib:/lib" /usr/local/bin/perl
> > >myld cc -shared -L/usr/local/lib dbdimp.o mysql.o -o
> > >blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/lib/mysql
> > >-lmysqlclient -lz -lcrypt -lnsl -lm
> > >chmod 755 blib/arch/auto/DBD/mysql/mysql.so
> > >cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
> > >chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
> > >Manifying blib/man3/DBD::mysql.3
> > >Unmatched =back at /usr/local/bin/pod2man line 48
> > >Manifying blib/man3/DBD::mysql::INSTALL.3
> > >Manifying blib/man3/Bundle::DBD::mysql.3
> > >Manifying blib/man3/Mysql.3
> > >
> > >On Fri, 15 Jun 2001, you wrote:
> > >>
> > >> On 15 Jun 2001 11:38:07 +0800, root wrote:
> > >> > Killing Interchange server 3768 with TERM.
> > >> > Low traffic settings.
> > >> > Calling UI....
> > >> > ...UI is loaded....
> > >> > Interchange V4.6.5
> > >> > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:construct.
> > >> > construct config error: connect failed (create) -- unknown
> > >>error. Driver 'mysql' installed?
> > >> >
> > >> >
> > >> > construct: error in configuration. Skipping.
> > >> > construct: config error. Skipping.
> > >> > Interchange server started in INET and UNIX mode(s) (process id 13993)
> > >> >
> > >> > this is the premissions on the construct file in the cgi-bin
> > >> > -rwsr-xr-x 1 interch interch 7316 Jun 7 03:45 construct
> > >> >
> > >> > can someone please give me some advice????
> > >> >
> > >> > snowy
> > >> >
> > >>
> > >> Sounds like you don't have the DBD drivers installed...
> > >>
> > >> The easiest way to get em up and going is to type
> > >>
> > >> perl -MCPAN -e 'install Bundle::DBD::mysql'
> > >>
> > >> at the command prompt.
> > >>
> > >> Or, if that doesn't work for some reason you can download what you need
> > >> at
> > >>
> > >> http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0901.tar.gz
> > >>
> > >> then compile and install it yourself.
> > >>
> > >> Either way, you should be good to go....
> > >>
> > >> Matt
> > >>
> > >>
> > >
> > >----------------------------------------
> > >Content-Type: application/pgp-signature; name="unnamed"
> > >Content-Transfer-Encoding: 7bit
> > >Content-Description:
> > >----------------------------------------
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Stefan Hornburg Racke)
Date: Mon Jun 18 06:54:00 2001
Subject: [ic] german version of interchange around?
Florian Kleedorfer <klee@yy-mm-dd.com> writes:
> Hi list,
>
> I need to find/create a fine German translation of interchange (admin Iface,
> [Error messages], ...) If there's anybody out there that
>
> *) has already done the translation
> *) also needs a German version and would participate in translating
> *) knows a location where to find translations of Interchange
> or
> *) has anything interesting to tell me on the subject
>
> , his/her reply will be appreciated!
Hallo, Florian !
Es wäre ganz schön, wenn jemand meine Übersetzungen überprüfen würde.
Hättest du da Lust zu ?
Ciao
Racke
--
Master of Swiss Web 2001: http://www.zweifel.ch/
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 lists.akopia.com (Dani Prados)
Date: Mon Jun 18 07:02:00 2001
Subject: [ic] select box default
I'm using select box to refer a foreign keys in the form two create new items.
When I wont to modify a iten, the select box have as default value the first
value in the table of categories instead of the value in the products table.
But i don't know how to define the default value.
I use ic 4.6.4 over suse linux 7.0 and perl 5.0053
From: interchange-users at lists.akopia.com (Cathy Moortgat)
Date: Mon Jun 18 08:12:00 2001
Subject: [ic] Data Sources for Mysql not appearing during configure.pl installation
I am new to Interchange, and have searched the archives but have been unable
to find anything about this. I apologize in advance if it is a simple
problem, but really appreciate any help.
System Configuration:
Solaris 2.6, perl v5.6.1, Data-Dumper-2.101, DBI-1.18, HTML-Parser-3.25,
HTML-Tagset-3.03, MIME-Base64-2.12, Msql-Mysql-modules-1.2216 , URI-1.12,
apache_1.3.20, libnet-1.0703, libwww-perl-5.53, os_allcommerce.1.2.3
Problem: When I run "configure.pl database", it finds my database driver
(mysql), but does not find any data sources. If I attempt to create a new
database table, it says it is created, but fails with the following error
message:
allcommerce created.
#####
#
# AllCommerce Data Structure
#
#####
Can't call method "prepare" on an undefined value at ./lib/configure.pm line
1333.
Creating tables ... #
When I check mysql, the new database has not been created.
I pulled the code out that is checking the data sources and created a
test.cgi script. If I run it from the command line "perl test.cgi" it does
not find the data sources. However if I execute the script in my web
browser it returns the data sources. Also I wrote a cgi script that uses
the DBI->connect command and hard-coded the mysql data source I created.
This runs fine from the command line as well as the browser.
Everything seemed to install fine. I also tried to install manually and this
works fine to a certain point and then it fails because it cannot connect to
the data source. If anyone can help me out here I would really appreciate
it. If you respond to the list, I'd also appreciate it if you could cc me
at cathy@ssbinc.com
Thanks in advance for all input.
Cathy
Cathy Moortgat
SSB, Inc
(703) 277-1070
From: interchange-users at lists.akopia.com (Erich Schreiber)
Date: Mon Jun 18 08:38:01 2001
Subject: [ic] german version of interchange around?
----- Original Message -----
From: "Stefan Hornburg (Racke)" <racke@linuxia.de>
>
> Hallo, Florian !
>
> Es wäre ganz schön, wenn jemand meine Übersetzungen überprüfen würde.
> Hättest du da Lust zu ?
>
> Ciao
> Racke
>
Hi Florian!
Hi Racke!
I'm just in the process of installing Interchange on our local development
server as we want to build a (small) shop for a client. I'm a totally newbie
to interchange but nevertheless I would volunteer to help a little in
translation to German or text checking.
Pfirt eich (<= wiener Dialekt),
Erich
--
Erich Schreiber
MultiMediaForge
Vienna/Austria
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Mon Jun 18 09:31:00 2001
Subject: [ic] bilingual
> try
>
> Locale en_US price_picture "###,###,###.## BB"
Doesn't work. I get *** BB in the subtotal line.
> or
> Locale en_US currency_symbol BB
This is the only way I can get it to work. I'd liek the BB to trail the
price, but unfortunately, it doesn't seem to want to.
>
> in catalog.cfg
>
> * and be sure to set the locale to en_US (or whatever locale you use) *
>
> (http://interchange.redhat.com/doc/icconfig.pdf has more on that)
>
>
> Flo
From: interchange-users at lists.akopia.com (Gustavo A. Barreto A.)
Date: Mon Jun 18 10:36:00 2001
Subject: [ic] Re: on-line payment
----- Original Message -----
From: Gustavo A. Barreto A.
To: interchange-users@developer.akopia.com
Sent: Friday, June 15, 2001 5:35 PM
Subject: on-line payment
Hello everyone,
I just tried to get Cardservice's on-line payment working, with no success,
so I want to know from you what on-line payment services works with
Interchange?
I need to know about other services....
thanks for your help.
Gustavo.
From: interchange-users at lists.akopia.com (Richard Eicher II)
Date: Mon Jun 18 12:06:01 2001
Subject: [ic] Re: on-line payment
Don't give up the ship just yet. We are working
on link point and interchange at this moment. We
would be glad to help or have some of your imput.
Rick Eicher II
__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Mon Jun 18 12:20:01 2001
Subject: [ic] cc number through e-mail
At 10:16 PM 06/15/2001 -0400, you wrote:
>On Fri, 15 Jun 2001, Jeff Carnahan wrote:
>
>JC>>} Umm... what is GPG? Gorey Pink Goats? Go Past Go (do not collect $100)?
>JC>>} Good Pink Goop? Great Plump Girls?
>JC>>}
>JC>>
>JC>>GPG = Gnu Privacy Guard (an alternative to PGP for strong public key
>JC>>cryptography)
>
>OK. I'm embarassed! :-)
>
>But, Goats Prodding Geese seems better! :-)
>
I do like your sense of humor... but my appreciation (and no doubt that of
others) is going to diminish when this cavalcade of quips begins to affect
my ability to use this list, and the archives. I think you are now
headlining any search for 'cc number'. So, seriously, please use some
restraint - begin by restraining the urge you already feel to reply to this
post with a zinger. This list will be better for it.
- 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 lists.akopia.com (Ed LaFrance)
Date: Mon Jun 18 12:27:00 2001
Subject: [ic] perl5.6.1 and evals SOLVED now UNSOLVED again
At 06:07 PM 06/15/2001 -0400, you wrote:
>I've got a small usertag and page that seems
>to kill perl evals. This is in interchange
>4.7.3 on our debian machines. It does not seem
>to kill interchange itself, so I'm not 100%
>sure if it is a perl issue. It is, however,
>dependant on the perl version, so maybe it
>is. Anyone upgrading 5.6.0 to 5.6.1, at least
>on a debian box, should be cautious.
>
>
>--
>
>Description:
>
>On an up to date debian "unstable" system running
>perl 5.6.1 this usertag and simple eval causes evals
>to misbehave (segfault?) within an unpatched interchange.
>
>The same thing happens with a home build perl 5.7.1
>(using & -d defaults) 100% tests successful.
>
>That same interchange runs on 5.6.0 machines no problem.
>
>If I hack it to run with a local 5.6.0 binary and all
>the 5.6.1 libs (modify Config.pm and symlink a few
>5.6.0 directories to 5.6.1 equivalents) it works.
>
>I do not know how to troubleshoot this further. It's
>not like I can run interchange in gdb. Nor can I tell
>for sure if this is a perl or interchange issue, except
>that perl is behaving inconsistently from 5.6.0 to 5.6.1.
>
>I'd be curious if anyone else can run this on a perl 5.6.1
>machine and to hear if it works or does not.
>
>
>
>#############
>## xxx
>
>UserTag xxx HasEndTag 1
>UserTag xxx Interpolate 0
>UserTag xxx Routine<<XXX
>sub {
> ::logGlobal("logGlobal in scope in tag");
> my $str = eval {
> my $OUT=eval $_[0];
> die $@ if $@;
> return '' unless $OUT;
> return $OUT;
> };
> if($@) {
> my($err);
> $err=$@;
> ::logGlobal("EVAL FAILED: $err");
> $err=~s/\n/<BR>/g;
> ::logGlobal("xxx done");
> return "error: $err";
> }
> ::logGlobal("xxx done");
> return "str: $str";
>}
>XXX
>
>#end
>
>For this simplified page:
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
>[xxx] { use strict 'vars'; my(@OUT); # COMMENT THIS LINE AND EVAL FAILS
>AND IS **NOT** TRAPPED push @OUT,'HELLO WORLD'; ::logGlobal("logGlobal is
>in scope here"); return join '',@OUT; } [/xxx]
>
>The development machine logs this and returns server read error (probably
>segfault)
>genii.znet.maine.com Rkagu3AP:maine.com - [15/June/2001:12:02:49 -0500]
>PAGE: xxx lobsters /Catalog/lobsters.cgi/xxx.html logGlobal in scope in tag
>
>
>The production machine (5.6.0) logs this and returns page with "str:"
>genii.znet.maine.com gWuyvxkm:maine.com - [15/June/2001:12:04:13 -0500]
>PAGE: xxx products /Catalog/products.cgi/xxx.html logGlobal in scope in tag
>genii.znet.maine.com gWuyvxkm:maine.com - [15/June/2001:12:04:13 -0500]
>PAGE: xxx products /Catalog/products.cgi/xxx.html EVAL FAILED: Global
>symbol "@OUT" requires explicit package name at (eval 45) line 5.
> > Global symbol "@OUT" requires explicit package name at (eval 45) line 7.
> >
Chris, I think your Perl skills are far greater than mine, but I am
wondering if you have just been benefiting from an undocumented loophole in
the past. I have written a few UserTags which use external Perl modules,
any the only place I have had success with 'use' is just inside the tag
Routine, before the sub {}:
UserTag foo Routine <<EOR
use Somelib;
sub {
...
}
EOR
...otherwise I would get an error message quite similar to the one you posted.
- 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 lists.akopia.com (Florian Kleedorfer)
Date: Mon Jun 18 13:20:00 2001
Subject: [ic] german version of interchange around?
Am Montag 18 Juni 2001 14:43 schrieben Sie:
> ----- Original Message -----
> From: "Stefan Hornburg (Racke)" <racke@linuxia.de>
>
> > Hallo, Florian !
> >
> > Es wäre ganz schön, wenn jemand meine Übersetzungen überprüfen würde.
> > Hättest du da Lust zu ?
> >
> > Ciao
> > Racke
>
> Hi Florian!
> Hi Racke!
>
> I'm just in the process of installing Interchange on our local development
> server as we want to build a (small) shop for a client. I'm a totally
> newbie to interchange but nevertheless I would volunteer to help a little
> in translation to German or text checking.
Ok, arbeiten wir zusammen!
Vielleicht sollten wir auch versuchen, herauszufinden, wieviel schon fertig
übersetzt im CVS ist und ggf. Stefan Hornburg kontaktieren...
Praktisch wäre auch, wenn jemand Platz auf einem Server hat, als repository
quasi...
Vielleicht sollten wir das per PM weiterverfolgen...
Pfirt eich!
Flo
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Mon Jun 18 14:49:00 2001
Subject: [ic] bilingual
Quoting Phillip A. Ryals (support@admiralexpress.com):
>
> > try
> >
> > Locale en_US price_picture "###,###,###.## BB"
>
> Doesn't work. I get *** BB in the subtotal line.
>
> > or
> > Locale en_US currency_symbol BB
>
> This is the only way I can get it to work. I'd liek the BB to trail the
> price, but unfortunately, it doesn't seem to want to.
>
This is standard POSIX:
Locale en_US p_cs_precedes 0
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Mon Jun 18 14:51:00 2001
Subject: [ic] Re: on-line payment
Authorize.net
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
Gustavo A. Barreto A.
Sent: Monday, June 18, 2001 9:37 AM
To: interchange-users@developer.akopia.com
Subject: [ic] Re: on-line payment
----- Original Message -----
From: Gustavo A. Barreto A.
To: interchange-users@developer.akopia.com
Sent: Friday, June 15, 2001 5:35 PM
Subject: on-line payment
Hello everyone,
I just tried to get Cardservice's on-line payment working, with no success,
so I want to know from you what on-line payment services works with
Interchange?
I need to know about other services....
thanks for your help.
Gustavo.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jason Korkin)
Date: Mon Jun 18 15:07:00 2001
Subject: [ic] Re: on-line payment
Any payment gateway system will work provide that it has a SDK / API to
use; its just a matter of configuring it... we have successfully
integrated Cybercash, Surepay, Authorize.net, and Verisign.
Best,
Jason Korkin
Korksoft LLC
http://www.korksoft.com
Robert Trembath wrote:
>
> Authorize.net
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> Gustavo A. Barreto A.
> Sent: Monday, June 18, 2001 9:37 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] Re: on-line payment
>
> ----- Original Message -----
> From: Gustavo A. Barreto A.
> To: interchange-users@developer.akopia.com
> Sent: Friday, June 15, 2001 5:35 PM
> Subject: on-line payment
>
> Hello everyone,
>
> I just tried to get Cardservice's on-line payment working, with no success,
> so I want to know from you what on-line payment services works with
> Interchange?
>
> I need to know about other services....
>
> thanks for your help.
>
> Gustavo.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
---------------------------------------------------------------
**** Virtual Hosting w/ Interchange, $20/month! ****
---------------------------------------------------------------
KORKSOFT - Software & Internet Solutions
Interchange, E-Commerce, C++/Perl/PHP/ASP
http://www.korksoft.com
http://www.atworkservers.com
Tel: (603) 672-1246 x 201
From: interchange-users at lists.akopia.com (Rick Shank)
Date: Mon Jun 18 16:15:01 2001
Subject: [ic] Limiting Shipping based on cart?
Are there any other (ie easier :) ) ways to do this? I'm relatively new
to interchange, and *need* this capability. Also, can I set a minimum
shipping weight if one of these "fresh food" items exists in the cart, but
no minimum shipping weight normally?
Thanks a ton,
~Rick Shank
On Thu, 14 Jun 2001, Mark Johnson wrote:
> Set a scratch of the available shipmodes for non-fresh-food by default.
> Reset the scratch to the fresh-food ship modes whenever someone puts a
> fresh-food item in the cart. Alternatively, you could put scanning code
> to do this for you in an autoload so that you don't have to keep track
> of when qualifying items go into--or more problematically go out of--the
> cart.
>
> PS--don't forget to update the cart before the code that scans it for
> said items!
>
> Rick Shank wrote:
> >
> > Hello.
> >
> > I'm running Interchange 4.6.4
> >
> > A customer of mine would like this ability:
> > He sells fresh food. If someone orders something from the "Fresh Food"
> > category, they cannot have ground shipping as an option. Also, they must
> > have at least 5 lbs of overall goods in their cart to be able to checkout.
> > But for other items (hats, etc) by themselves (ie with no fresh food) then
> > they don't have a minimum order.
> >
> > Also, I have a category list on the left that does a simple search to
> > display all items from one category. On the search results for the fresh
> > foods page, it needs to have a separate message on the bottom of the page
> > explaining the shipping rules.
> >
> > Thanks a lot.
> >
> > I'd appreciate it if u could copy me on any responses to this.
> >
> > Thanks!
> > ~Rick Shank
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
From: interchange-users at lists.akopia.com (Mike Hall)
Date: Mon Jun 18 16:47:00 2001
Subject: [ic] (no subject)
From: interchange-users at lists.akopia.com (Tuong "Peter" T. Nguyen)
Date: Mon Jun 18 20:45:01 2001
Subject: [ic] Electronic Software Delivery
Can anyone tell me how to do Electronic Software Delivery (ESD) after a
purchase of a product is done.
Peter.
........................................
Tuong "Peter" Nguyen | WEB/BDM
Portrait Displays Inc.
5117 Johnson Drive | Pleasanton Ca 94588
T: 925.227.2700 x234 | F: 925.227.2705
E: peter@portrait.com | www.portrait.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Mon Jun 18 21:54:00 2001
Subject: [ic] german version of interchange around?
At 12:48 PM 6/18/2001 +0200, you wrote:
>Florian Kleedorfer <klee@yy-mm-dd.com> writes:
>
> > Hi list,
> >
> > I need to find/create a fine German translation of interchange (admin
> Iface,
> > [Error messages], ...) If there's anybody out there that
> >
> > *) has already done the translation
> > *) also needs a German version and would participate in translating
> > *) knows a location where to find translations of Interchange
> > or
> > *) has anything interesting to tell me on the subject
> >
> > , his/her reply will be appreciated!
>
>Hallo, Florian !
>
>Es wäre ganz schön, wenn jemand meine Übersetzungen überprüfen würde.
>Hättest du da Lust zu ?
>
>Ciao
> Racke
Wenn Sie jemand benötigen, Ihre Übersetzungen zu überprüfen, bitten Sie
einfach um das große BabelFish.
Pero, de veras te pudiera ayudar si necesitaste traducir espanol. Es solo
lo que se, y todavia
no lo escribo muy bien.
:-),
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Nathan Wiger)
Date: Tue Jun 19 00:06:00 2001
Subject: [ic] Variable/Attribute Pricing
Doug Alcorn (doug@lathi.net) wrote:
>
> Nathan Wiger (nate@nateware.com) wrote:
>
> > So, when creating/editing an item, a person would say:
> >
> > Price: 25.00
> > Size: S, M: -$5, L: +$10, XL: +$15
> > Color: Blue, Green, Red: +$35
> >
> >[snip]
> >
> > Then, I wrote a simple UserTag routine called "nw_modprice" which was
> > sensitive to the colon, and added/subtracted the appropriate values from
the
> > base price. The part that caught me was I had to set the following
variables
> > in catalog.cfg:
> >
> > CommonAdjust [nw_modprice] ;:price
> > PriceField no_price
> >
>
> This is probably the nicest solution I've seen to this problem.
> Congratulations.
Cool, thanks for the compliment! :-)
So, would you (and others) think something like this should be integrated
into Interchange? I'm thinking of something like an option such as:
UseModifier size color
UseModifierPricing 1
Where the second option would turn on the colon-sensitive pricing thingy
similar to what I wrote. If not set, then Interchange's current behavior
could be maintained (it's off by default). Or, maybe there's a new option to
CommonAdjust, which may be more appropriate.
Mike Heins provided some good feedback on the fact that this is a problem
which is solvable with CommonAdjust (as I did). My only counterpoint would
be that this is a frequently-visited issue, and IMO Interchange's current
pricing db scheme is not up to par with other e-commerce offerings (at least
out-of-the-box, though it is very flexible).
Thoughts?
-Nate
--
Nathan Wiger
Systems Integrator and Perl Hacker
Nateware, Inc. -- www.nateware.com
From: interchange-users at lists.akopia.com (Erich Schreiber)
Date: Tue Jun 19 01:08:01 2001
Subject: [ic] german version of interchange around?
----- Original Message -----
"Dan B" <db@cyclonehq.dnsalias.net> wrote:
>
> Wenn Sie jemand benötigen, Ihre Übersetzungen zu überprüfen, bitten Sie
> einfach um das große BabelFish.
>
BabelFish, die was die Geschrieben drübersetzt = nix die gut sein deitsch!
Erich ;)
--
Erich Schreiber
MultiMediaForge
Vienna/Austria
From: interchange-users at lists.akopia.com (Peter Cotter)
Date: Tue Jun 19 05:53:00 2001
Subject: [ic] File deletion
Hi all,
After installing interchange is it possible to delete any files, or are
they all needed to run the server.
Peter
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 19 07:08:00 2001
Subject: [ic] Variable/Attribute Pricing
Quoting Nathan Wiger (nate@nateware.com):
> So, would you (and others) think something like this should be integrated
> into Interchange? I'm thinking of something like an option such as:
>
> UseModifier size color
> UseModifierPricing 1
>
> Where the second option would turn on the colon-sensitive pricing thingy
> similar to what I wrote. If not set, then Interchange's current behavior
> could be maintained (it's off by default). Or, maybe there's a new option to
> CommonAdjust, which may be more appropriate.
>
> Mike Heins provided some good feedback on the fact that this is a problem
> which is solvable with CommonAdjust (as I did). My only counterpoint would
> be that this is a frequently-visited issue, and IMO Interchange's current
> pricing db scheme is not up to par with other e-commerce offerings (at least
> out-of-the-box, though it is very flexible).
>
> Thoughts?
As I said before, something like this is integrated with the options
database in 4.7.x.
That being said, there are almost as many ways to do this stuff as there
are product lines. 8-)
I would be interested in knowing what those other e-commerce offerings
are, for my experience is that Interchange has most all of them beat
individually. Each one of them usually has one thing it does well, but
you play the devil doing anything outside those constraints.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Be patient. God isn't finished with me yet. -- unknown
From: interchange-users at lists.akopia.com (F. Mitchell Felling II)
Date: Tue Jun 19 07:15:00 2001
Subject: [ic] OS X Install
Help!!
I have been unable to get Interchange to run properly on Mac OS X. I
believe my problem to be associated with the "interch" user creation.
I have attempted installs creating the user both with the System
Preferences:Users tool and a manual user creation using the NetInfo
Manager (I would prefer this manner.)
In NetInfo I gave the User the following properties:
realname Interchange
uid 72
gid 70
passwd *
shell /dev/null
expire 0
home /usr/local/interchange
change 0
name interch
I have successfully installed a Mysql database (which functions
flawlessly with perl cgi's and php scripts that I have tried). I
have also installed the DBD and DBI, thanks to wonderful posts by
Leonel Silva.
I can su -m interch (-m flag needed since the specified shell is
null) run /bin/interchange. The server starts, populates the tables
in mysql (on first run) and reports that the Interchange server has
started.
However, when I try to enter the store from
http://localhost/construct I receive a permission denied error (403)
from Apache. If I chmod -R 755 a bunch of permissions in the catalog
directory and the CGI directory, I can get the construct cgi to
attempt to communicate with the server, at which time I am told the
server is unavailable. Process Viewer and the top command indicated
it is running normally. ( I assume normal is for the name to read as
perl?)
I was successful with one install when the user was created with the
Users control panel, but the server would only run when I was logged
in to the "interch" desktop. I could not log in under my own account
and start the server from a terminal window. What is more, I would
like to create a startup item so Interchange runs when no one is
logged in, so I can ssh from work and develop from there.
I am running a PowerMac G4 Sawtooth with 576 Meg of ram and OS X.0.3.
I have the default Apache install, Perl 5.6.0 for Darwin, and Mysql
3.23.38. The only thing I have added to Apache at this time is PHP 4
support.
Anyone have any thoughts or suggestions?
--
F. Mitchell Felling II http://www.orangebullet.com
"Pretty on UNIX-Mac OS X" mitch@orangebullet.com
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 19 08:16:01 2001
Subject: [ic] OS X Install
Quoting F. Mitchell Felling II (mitch@orangebullet.com):
> Help!!
>
> I have been unable to get Interchange to run properly on Mac OS X. I
> believe my problem to be associated with the "interch" user creation.
>
> I have attempted installs creating the user both with the System
> Preferences:Users tool and a manual user creation using the NetInfo
> Manager (I would prefer this manner.)
>
> In NetInfo I gave the User the following properties:
> realname Interchange
> uid 72
> gid 70
> passwd *
> shell /dev/null
> expire 0
> home /usr/local/interchange
> change 0
> name interch
>
> I have successfully installed a Mysql database (which functions
> flawlessly with perl cgi's and php scripts that I have tried). I
> have also installed the DBD and DBI, thanks to wonderful posts by
> Leonel Silva.
>
> I can su -m interch (-m flag needed since the specified shell is
> null) run /bin/interchange. The server starts, populates the tables
> in mysql (on first run) and reports that the Interchange server has
> started.
>
> However, when I try to enter the store from
> http://localhost/construct I receive a permission denied error (403)
> from Apache. If I chmod -R 755 a bunch of permissions in the catalog
> directory and the CGI directory, I can get the construct cgi to
> attempt to communicate with the server, at which time I am told the
> server is unavailable. Process Viewer and the top command indicated
> it is running normally. ( I assume normal is for the name to read as
> perl?)
>
This is really an FAQ. Try setting this in interchange.cfg:
SocketPerms 666
Then restart. If it then works, it is just a permission problem. The
permission on the construct CGI should be 4755 -- or you can use INET
mode and the tlink program.
But you always need to say what, if anything, is in the error.log file.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Be patient. God isn't finished with me yet. -- unknown
From: interchange-users at lists.akopia.com (Barry Flanagan)
Date: Tue Jun 19 10:18:01 2001
Subject: [ic] Problem with page editing in 4.7.[34]
Hi,
If I use the admin UI to edit a page (e.g. index.html), and simply save it,
the page breaks completely, with no left-hand menu, etc. This happens
consistently, with all the 4.7.x I have tried.
Here is all that gets written to a stock (as per 4.7.4 foundtion template)
index.html when I simply save it without making any changes:
<index.html>
[comment]
ui_template: yes
ui_template_name: leftright
[/comment]
[tmp page_title]__COMPANY__ -- Welcome[/tmp]
[tmp members_only][/tmp]
@_LEFTRIGHT_TOP_@
<!-- BEGIN CONTENT -->
<table width="95%" border="0">
<tr>
<td>
<br>
Welcome to the <b>Interchange</b> Foundation Store! This
site is intended to get you started building
your own e-business site. Replace the stock graphics, products,
and categories in this store to begin building your custom site.
<br><br>
</td>
</tr>
</table>
<!-- END CONTENT -->
@_LEFTRIGHT_BOTTOM_@
</index.html>
-Barry Flanagan
Creative & Technical Director
DigiServe Ltd.
Dublin, Ireland
GPG Key ID: 0AEDE2D8
From: interchange-users at lists.akopia.com (David Adams)
Date: Tue Jun 19 10:53:00 2001
Subject: [ic] Interchange Training courses from Red Hat - Discount
To celebrate the summer months, we've got a deal on our brand new
open source e-Commerce training. Right now you can take any of the
following summer courses on the Interchange and save 10% off the course fee.
IC123: Interchange Developer Essentials Course
NORMALLY $2898, NOW $2608.02
Durham, NC Red Hat Headquarters
Jun 25 - Jun 29 5 days
IC044: Interchange Fundamentals
NORMALLY $598, NOW $538.02
Durham, NC Red Hat Headquarters
Jun 25 1 day
Enroll now:
http://www.redhat.com/apps/response/enroll_training.html
Questions? Call 866-2REDHAT, extension 6451 for more information.
Please ensure you quote code 6451 on your enrolment form to qualify for
this offer.
FINE PRINT:
Offer good for the Red Hat, Inc., training courses listed above. No
extensions. Cannot be used retroactively for classes in which one is
currently enrolled, nor for cancellation and concurrent rebookings
within the promotion period of the coupon, unless student originally
registered with the coupon/promotion. May not be combined with other
discount programs or coupons.
May not be used for eLearning. Participant is responsible for
assessing his or her suitability for Red Hat training and enrolling
into the appropriate course. Void where prohibited by law.
David Adams
Red Hat E-Business Solutions
interchange.redhat.com
703-456-2924 Office
202-422-3283 Mobile
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Tue Jun 19 12:31:01 2001
Subject: [ic] Minor bug fix: IC 4.6.x UI import table
Hi All -
For those whom may have encountered problems with the UI import table
routine when using the default databases in Interchange 4.6.x, The patch
below fixes an omission which could cause the 'gdbm store error' - patched
file is VENDROOT/lib/UI/pages/admin/import_table.html:
*** import_table.bak Tue Jun 19 09:30:05 2001
--- import_table.html Mon Jun 18 16:40:18 2001
***************
*** 20,25 ****
--- 20,26 ----
[if type=explicit compare="[value-extended
name=upload_file
test=isfile]"]
+ [tag op=flag arg=write interpolate=1][value mv_data_table][/tag]
[title-bar]
[if cgi ui_import_convert]
Importing multiple tables:
- 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 lists.akopia.com (Mike Heins)
Date: Tue Jun 19 13:17:01 2001
Subject: [ic] Problem with page editing in 4.7.[34]
Quoting Barry Flanagan (barryf@digiserve.ie):
> Hi,
>
> If I use the admin UI to edit a page (e.g. index.html), and simply save it,
> the page breaks completely, with no left-hand menu, etc. This happens
> consistently, with all the 4.7.x I have tried.
Yes, until just a few days ago. The latest 4.7.4 should work, and
the latest CVS adds a working template editor.
I suggest building the latest CVS. If you have any problems with that,
please let me know.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Any man who is under 30, and is not liberal, has not heart; and any man
who is over 30, and is not a conservative, has not brains.
-- Winston Churchill
From: interchange-users at lists.akopia.com (David Adams)
Date: Tue Jun 19 13:21:00 2001
Subject: [ic] Red Hat mailing lists
Red hat has a series of mailing lists about its various products and
programs. One of these mailing lists is for announcements regarding
Interchange and other Red Hat e-commerce initiatives. At some point in the
future, we may merge this list and the Interchange-announce mail lists (but
not this one, Interchange-users), but until that time, we'd love you to join
up. While you're at it, sign up for other Red Hat lists, like "Under the
Brim," the Red Hat newsletter.
In the words of the marketing folks....
Registering your e-mail address with Red Hat provides you significant
benefits.
o Subscribe to Red Hat newsletters to get the latest information on
topics and products that are most important to you.
o Receive notification of special offers and promotions exclusively
for Red Hat members.
o Obtain important alerts about developments that could impact your
systems.
To become a Red Hat member click on the link below to register.
http://redhat.rgc2.com/servlet/website/ResponseForm?koE1lLkwkhMpsL1iKHmL
David Adams
Red Hat E-Business Solutions
interchange.redhat.com
703-456-2924 Office
202-422-3283 Mobile
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Tue Jun 19 14:00:01 2001
Subject: [ic] Check for expired sessions
Ive been trying to figure out how to easily check for an expired session,
and bounce the user to a session expired page if they come back to an
expired session. Whats the simplest way to do this? I couldnt seem to find
what I was looking for on the Interchange site. Is [if session failure]
what I want?
Thanks,
Tim
From: interchange-users at lists.akopia.com (Jeff Scott)
Date: Tue Jun 19 18:19:00 2001
Subject: [ic] CyberCash MCK Version 3.2.0.4
I've been trying to find MCK version 3.2.0.4 or 3.2.0.5 for a couple days
now. Multiple calls to CyberCash (hoping to get someone with some
knowledge) says that they do not have the older versions. Oddly the only
thing they have in their internal knowledgebase about Minivend or
Interchange is a pointer to the homestead.com page -- that is unfortunately
gone now.
Can someone send either 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 to
me? I would appreciate it greatly.
Cheers,
Jeff
-----Original Message-----
From: tanis@chariot.net.au [mailto:tanis@chariot.net.au]
Sent: Wednesday, May 23, 2001 11:36 AM
To: interchange-users@developer.akopia.com
Subject: [ic] CyberCash MCK Version 3.2.0.4
Hi all,
Am hoping someone on the list has the CyberCash MCK for Redhat Linux
6.x,
version 3.2.0.4, as I am trying to setup a store using CyberCash. I would
appreciate
if someone could send me this off the list at tanis@chariot.net.au
Thanks,
John Bailey.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 19 22:01:01 2001
Subject: [ic] Wishlist request, UserTag <tagname> Reparse 1
We're trying to convert our 4.03 catalogs to 4.73. It
seemed at first easier than it is turning out to be.
Rollback. :-(
This is one place that has changed between 4.30 and 4.73,
the 'reparsing' of the return value from a [usertag].
--
Wishlist request for: UserTag <tagname> Reparse 1
so one could do:
UserTag embed HasEndTag 1
UserTag embed Interpolate 0
UserTag embed Reparse 1
UserTag embed Routine <<EOF
We generate our profiles and mvclick 'sets'
dynamically and insert them into the page
with a usertag. More or less writing this with the tag:
[set Browse Catalog]
mv_todo=return
mv_nextpage=catalog_redirect
[/set]
[set Cancel All]
mv_todo=return
mv_nextpage=mv/cancel
[/set]
etc...
That works fine with mv4.03 for action both 'order' and 'process'.
It seems to work for ic4.7.3 only for action 'order'.
We'd like to be able to specify it for 'process' pages too,
so we can post orders orders to the basket like this:
<FORM ACTION="[process-target _self]" METHOD=POST>
<INPUT NAME="mv_todo" TYPE=HIDDEN VALUE=refresh>
<INPUT NAME="mv_order_item" ....
</FORM>
We get an action=process and the tag does
not get 'reparsed', hence the profiles are not
found. (See logs below.)
--
I played around with mv_action and various todo/doit combinations
and could not find the right trick to changing the action to
order. That would be another solution, something like:
<INPUT NAME="mv_action" TYPE=HIDDEN VALUE="order">
but I could not figure it out.
####
This works, ordering via link:
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order path=order
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order action=order path=order
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2123 Vend::Action (order)
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2124 mv_nextpage ()
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order do_order: path=
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:08 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2163 mv_nextpage (basket)
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:08 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2164 Vend::FinalPath ()
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:08 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2165 mv_nextpage (basket)
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:08 -0500] PAGE: basket lobsters /Catalog/lobsters.cgi/order tag_page opt={
> 'reparse' => 1,
> 'href' => 'catalog',
> 'arg' => undef
> }
###
This does not, ordering via post. No mv_click actions found:
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process path=process
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process action=process path=process
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2123 Vend::Action (process)
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2124 mv_nextpage ()
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process todo=refresh prior to mv_click=
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process todo=refresh after mv_click
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process todo=refresh after mv_click
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2163 mv_nextpage (basket)
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2164 Vend::FinalPath ()
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2165 mv_nextpage (basket)
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Michael Lehmkuhl)
Date: Tue Jun 19 23:33:00 2001
Subject: [ic] Problem with lib/Vend/Table/GDBM.pm (Can MySQL be used instead?)
Hello everyone.
I'm still pretty new to Interchange.
I've installed a store based on the construct demo using MySQL as the
database. Everything seems to be working except those portions that rely on
the .dbm files. I've read posts regarding using the MINIVEND_DBFILE, but
that approach did not work for my installation. I'm in a shared hosted
environment, so I don't have much access to reinstall Perl or things of that
sort.
Is it possible to run all the data through MySQL, rather than storing some
in .dbm files? Both the GDBM and DB_File implementations on my hosting
provider's server seem to be giving me some attitude.
I've read through the documentation regarding how Interchange uses
databases, but I'm not totally clear what the process would be to move the
data in the .dbm files into MySQL.
Thanks.
--
Michael Lehmkuhl <michael@electricpulp.com>
Partner, Electric Pulp
1.605.988.0177 : 1.888.722.PULP
electricpulp.com
From: interchange-users at lists.akopia.com (Neeti singh)
Date: Wed Jun 20 00:44:00 2001
Subject: [ic] Using existing Oracle database tables
Hi,
I am unable to figure out how to configure IC to
use existing Oracle database tables ,instead of
letting IC create its own tables from the txt
files.Can anyone help me out please
Thanks
Neeti
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Kyle Cook)
Date: Wed Jun 20 04:13:00 2001
Subject: [ic] Using existing Oracle database tables
At 09:49 PM 6/19/01, you wrote:
>Hi,
> I am unable to figure out how to configure IC to
>use existing Oracle database tables ,instead of
>letting IC create its own tables from the txt
>files.Can anyone help me out please
> Thanks
> Neeti
Neeti,
I'm using MySQL with IC, and set up 20+ tables
in one catalog to handle many "extras" like
extended specs data which has 12 tables
from an outside data source.
.
ALL tables were designed and set up manually.
In the case of needing to use IC tags to "get" the
data from the tables (as well as tables like products
which IC uses for price,descrip etc. internally)
I simply inserted the appropriate file (XXX.mysql) into
dbconf directory AND saved an empty XXX.sql file
in the products directory. Then when IC starts, it
reads the definitions from XXX.mysql and since
XXX.sql exists, it does not attempt to "create"
the table, but instead uses the existing one.
Note (at least my version 4.7.?) I can still access
tables that were not given a *.sql or *.mysql file
via the query tag. I can select,update,insert etc,
but CAN NOT (understandably) use IC tags like
[data ......] to read the table because IC
"doesn't know" it exists, about half the tables
are set up this way because of the way they are
used (why bother IC with their definitions if it
will only ever interact via the query tag?)
Hope this helps.
Kyle Cook (KC)
From: interchange-users at lists.akopia.com (Neeti singh)
Date: Wed Jun 20 05:26:00 2001
Subject: [ic] Using existing Oracle database tables
Kyle
Thanks a lot.I will try out ur suggestion.
Neeti
--- Kyle Cook <kyle@invisio.com> wrote:
> At 09:49 PM 6/19/01, you wrote:
> >Hi,
> > I am unable to figure out how to configure IC
> to
> >use existing Oracle database tables ,instead of
> >letting IC create its own tables from the txt
> >files.Can anyone help me out please
> > Thanks
> > Neeti
>
>
> Neeti,
>
> I'm using MySQL with IC, and set up 20+ tables
> in one catalog to handle many "extras" like
> extended specs data which has 12 tables
> from an outside data source.
> .
>
> ALL tables were designed and set up manually.
>
> In the case of needing to use IC tags to "get" the
> data from the tables (as well as tables like
> products
> which IC uses for price,descrip etc. internally)
> I simply inserted the appropriate file (XXX.mysql)
> into
> dbconf directory AND saved an empty XXX.sql file
> in the products directory. Then when IC starts, it
> reads the definitions from XXX.mysql and since
> XXX.sql exists, it does not attempt to "create"
> the table, but instead uses the existing one.
>
> Note (at least my version 4.7.?) I can still access
> tables that were not given a *.sql or *.mysql file
> via the query tag. I can select,update,insert etc,
> but CAN NOT (understandably) use IC tags like
> [data ......] to read the table because IC
> "doesn't know" it exists, about half the tables
> are set up this way because of the way they are
> used (why bother IC with their definitions if it
> will only ever interact via the query tag?)
>
> Hope this helps.
>
> Kyle Cook (KC)
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
>
http://lists.akopia.com/mailman/listinfo/interchange-users
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Donal H.)
Date: Wed Jun 20 06:51:00 2001
Subject: [ic] Making use of customer mail lists
Hi,
Are there any features supplied with IC that make use of the customer
mailing lists e.g. to allow merchants to mail all users who have subscribed
to the Newsletter?
Or do we need to build these facilities for the merchants ourselves.
If anyone can point to any examples I'd appreciate it.
Thanks,
-Donal
From: interchange-users at lists.akopia.com (Walter de Kok)
Date: Wed Jun 20 09:31:00 2001
Subject: [ic] Problem with IC 4.7.4
Hello list,
I keep having this error, evertime I try o order something:
Runtime error: Can't use string ("1") as a HASH ref while "strict refs" in
use at (eval 99) line 5.
I know that the sting ("1") stand for the item quantity but I don't know how
to fix this.
Please help me it's pretty urgent.
T.i.a. Walter
From: interchange-users at lists.akopia.com (interch)
Date: Wed Jun 20 10:43:00 2001
Subject: [ic] CyberCash MCK Version 3.2.0.4
I would really look at just using Payflow Pro if you are going to stick
with Verisign. From what I have heard the MCK is going to be gone asap,
only staying around long enough for people to switch over to either
Payflow Pro or Payflow Link.
Chris
On Tue, 19 Jun 2001, Jeff Scott wrote:
> I've been trying to find MCK version 3.2.0.4 or 3.2.0.5 for a couple days
> now. Multiple calls to CyberCash (hoping to get someone with some
> knowledge) says that they do not have the older versions. Oddly the only
> thing they have in their internal knowledgebase about Minivend or
> Interchange is a pointer to the homestead.com page -- that is unfortunately
> gone now.
>
> Can someone send either 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 to
> me? I would appreciate it greatly.
>
> Cheers,
> Jeff
>
> -----Original Message-----
> From: tanis@chariot.net.au [mailto:tanis@chariot.net.au]
> Sent: Wednesday, May 23, 2001 11:36 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] CyberCash MCK Version 3.2.0.4
>
> Hi all,
>
> Am hoping someone on the list has the CyberCash MCK for Redhat Linux
> 6.x,
> version 3.2.0.4, as I am trying to setup a store using CyberCash. I would
> appreciate
> if someone could send me this off the list at tanis@chariot.net.au
>
> Thanks,
> John Bailey.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Marcin Zyla BiPS)
Date: Wed Jun 20 10:46:01 2001
Subject: [ic] Re: Interchange-users digest, Vol 1 #584 - 15 msgs
Hello interchange-users,
Hello.
Please support to newbie :-)))
My Interchange is http://mzyla.com/mzyla
My problem is in shipping method. My ideal method is:
Based in price.
Price 0-300 adding shiping cost 19
Price 300 - 10000 nothing additional shiping cost
Price 10000 + Message (call to +48601431926)
Country = poland only
HOW TO setings????
Please, if accesible login to my site & work in shiping:
Admin name: lista
Admin password: lista
--
Best regards,
Marcin mailto:mzyla@xox.pl
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Wed Jun 20 11:04:01 2001
Subject: [ic] Changing Interchange Email agent
Hi, I would like to change my mailer from sendmail to postfix, what is the
best way to do this? Is this a smart move, or should I avoid doing this?
Has anyone done this before, and how will this affect my [email] and
[email-raw] tags?
Thanks!
From: interchange-users at lists.akopia.com (Jeff Scott)
Date: Wed Jun 20 11:07:01 2001
Subject: [ic] CyberCash MCK Version 3.2.0.4 -- still looking
Unfortunately the client already uses Cybercash with another ecommerce
system -- they want to stick with it (as long as they can anyway).
Still looking for the MCK 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 --
if someone could e-mail it to me or point me to it I would appreciate it.
Cheers,
Jeff
-----Original Message-----
From: interch [mailto:interch@web3.valley-internet.com]
Sent: Wednesday, June 20, 2001 7:48 AM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] CyberCash MCK Version 3.2.0.4
I would really look at just using Payflow Pro if you are going to stick
with Verisign. From what I have heard the MCK is going to be gone asap,
only staying around long enough for people to switch over to either
Payflow Pro or Payflow Link.
Chris
On Tue, 19 Jun 2001, Jeff Scott wrote:
> I've been trying to find MCK version 3.2.0.4 or 3.2.0.5 for a couple days
> now. Multiple calls to CyberCash (hoping to get someone with some
> knowledge) says that they do not have the older versions. Oddly the only
> thing they have in their internal knowledgebase about Minivend or
> Interchange is a pointer to the homestead.com page -- that is
unfortunately
> gone now.
>
> Can someone send either 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 to
> me? I would appreciate it greatly.
>
> Cheers,
> Jeff
>
> -----Original Message-----
> From: tanis@chariot.net.au [mailto:tanis@chariot.net.au]
> Sent: Wednesday, May 23, 2001 11:36 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] CyberCash MCK Version 3.2.0.4
>
> Hi all,
>
> Am hoping someone on the list has the CyberCash MCK for Redhat Linux
> 6.x,
> version 3.2.0.4, as I am trying to setup a store using CyberCash. I would
> appreciate
> if someone could send me this off the list at tanis@chariot.net.au
>
> Thanks,
> John Bailey.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 20 11:17:01 2001
Subject: [ic] Changing Interchange Email agent
I recently messed with this, and the only hickup was from the actual postfix
install. IC works perfectly with it, mainly because you still end up with
"sendmail" in /usr/sbin and postfix strives to be very compatible.
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Tim
> Mirecki
> Sent: Wednesday, June 20, 2001 10:09 AM
> To: Interchange-Users
> Subject: [ic] Changing Interchange Email agent
>
>
> Hi, I would like to change my mailer from sendmail to postfix, what is the
> best way to do this? Is this a smart move, or should I avoid doing this?
>
> Has anyone done this before, and how will this affect my [email] and
> [email-raw] tags?
>
> Thanks!
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Tim Mirecki)
Date: Wed Jun 20 11:25:01 2001
Subject: [ic] Changing Interchange Email agent
Excellent, so I don't even need to add the "SendMailProgram" configuration
line in my IC Config file? Any advice for installing postfix on RedHat (6.2)
before I jump in?
Thanks for the info!
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Phillip A.
Ryals
Sent: Wednesday, June 20, 2001 11:24 AM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Changing Interchange Email agent
I recently messed with this, and the only hickup was from the actual postfix
install. IC works perfectly with it, mainly because you still end up with
"sendmail" in /usr/sbin and postfix strives to be very compatible.
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Tim
> Mirecki
> Sent: Wednesday, June 20, 2001 10:09 AM
> To: Interchange-Users
> Subject: [ic] Changing Interchange Email agent
>
>
> Hi, I would like to change my mailer from sendmail to postfix, what is the
> best way to do this? Is this a smart move, or should I avoid doing this?
>
> Has anyone done this before, and how will this affect my [email] and
> [email-raw] tags?
>
> Thanks!
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 20 11:48:00 2001
Subject: [ic] Problem with lib/Vend/Table/GDBM.pm (Can MySQL be
At 10:38 PM 06/19/2001 -0500, you wrote:
>Hello everyone.
>
>I'm still pretty new to Interchange.
>
>I've installed a store based on the construct demo using MySQL as the
>database. Everything seems to be working except those portions that rely on
>the .dbm files. I've read posts regarding using the MINIVEND_DBFILE, but
>that approach did not work for my installation. I'm in a shared hosted
>environment, so I don't have much access to reinstall Perl or things of that
>sort.
>
>Is it possible to run all the data through MySQL, rather than storing some
>in .dbm files? Both the GDBM and DB_File implementations on my hosting
>provider's server seem to be giving me some attitude.
>
>I've read through the documentation regarding how Interchange uses
>databases, but I'm not totally clear what the process would be to move the
>data in the .dbm files into MySQL.
>
You might want to try a script which was included with IC 4.6.x (don't know
about 4.7.x): cpan_local_install. You should find it within the IC
distribution directory: interchange-4.6.x/dist/src/. This assumes that you
installed IC in your home directory using the .tar.gz dist. If your
hosting provider runs interchange centrally and merely provides you with a
catalog, you should complain loudly about any missing or broken Perl
modules. Failing both of those, you can go into yourcat/dbconf/mysql, and
try your hand at converting all the .dbm database definitions into mysql
definitions - there are plenty of the latter to follow as examples.
- 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 lists.akopia.com (Phillip A. Ryals)
Date: Wed Jun 20 11:56:00 2001
Subject: [ic] Changing Interchange Email agent
I didn't add that line, and it works for me. YMMV :)
-phillip
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Tim
> Mirecki
> Sent: Wednesday, June 20, 2001 10:31 AM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] Changing Interchange Email agent
>
>
> Excellent, so I don't even need to add the "SendMailProgram" configuration
> line in my IC Config file? Any advice for installing postfix on
> RedHat (6.2)
> before I jump in?
>
> Thanks for the info!
>
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of
> Phillip A.
> Ryals
> Sent: Wednesday, June 20, 2001 11:24 AM
> To: interchange-users@developer.akopia.com
> Subject: RE: [ic] Changing Interchange Email agent
>
> I recently messed with this, and the only hickup was from the
> actual postfix
> install. IC works perfectly with it, mainly because you still end up with
> "sendmail" in /usr/sbin and postfix strives to be very compatible.
>
> -phillip
>
>
> > -----Original Message-----
> > From: interchange-users-admin@developer.akopia.com
> > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Tim
> > Mirecki
> > Sent: Wednesday, June 20, 2001 10:09 AM
> > To: Interchange-Users
> > Subject: [ic] Changing Interchange Email agent
> >
> >
> > Hi, I would like to change my mailer from sendmail to postfix,
> what is the
> > best way to do this? Is this a smart move, or should I avoid doing this?
> >
> > Has anyone done this before, and how will this affect my [email] and
> > [email-raw] tags?
> >
> > Thanks!
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Wed Jun 20 13:26:00 2001
Subject: [ic] CyberCash MCK Version 3.2.0.4
Verified!
I just got off the phone with Verisign/CyberCash and since Verisign
purchased CyberCash in May, they have made the decision to start phasing out
CyberCash. While the rep couldn't give me a definite timeframe, in the near
future all current customers will be sent a letter explaining the situation
and providing them a time frame to switch over to one of Verisign's Payflow
solutions. Until this date has been set, Verisign will continue to support
current CyberCash customers and process their CC transactions.
-- Randy
-----Original Message-----
From: interch [mailto:interch@web3.valley-internet.com]
Sent: Wednesday, June 20, 2001 8:48 AM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] CyberCash MCK Version 3.2.0.4
I would really look at just using Payflow Pro if you are going to stick
with Verisign. From what I have heard the MCK is going to be gone asap,
only staying around long enough for people to switch over to either
Payflow Pro or Payflow Link.
Chris
On Tue, 19 Jun 2001, Jeff Scott wrote:
> I've been trying to find MCK version 3.2.0.4 or 3.2.0.5 for a couple days
> now. Multiple calls to CyberCash (hoping to get someone with some
> knowledge) says that they do not have the older versions. Oddly the only
> thing they have in their internal knowledgebase about Minivend or
> Interchange is a pointer to the homestead.com page -- that is
unfortunately
> gone now.
>
> Can someone send either 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 to
> me? I would appreciate it greatly.
>
> Cheers,
> Jeff
>
> -----Original Message-----
> From: tanis@chariot.net.au [mailto:tanis@chariot.net.au]
> Sent: Wednesday, May 23, 2001 11:36 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] CyberCash MCK Version 3.2.0.4
>
> Hi all,
>
> Am hoping someone on the list has the CyberCash MCK for Redhat Linux
> 6.x,
> version 3.2.0.4, as I am trying to setup a store using CyberCash. I would
> appreciate
> if someone could send me this off the list at tanis@chariot.net.au
>
> Thanks,
> John Bailey.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Michael Lehmkuhl)
Date: Wed Jun 20 15:25:00 2001
Subject: [ic] Problem with lib/Vend/Table/GDBM.pm (Can MySQL be used
Thanks for your input, Ed.
Let me try to clarify. I did get Interchange installed and got the demo
catalog up and running.
However, I seem to be having some problems with certain admin pages. The
errors I get in the catalog error.log file look like this:
cd943222-a.sxflls1.sd.home.com NauIUWRQ:home.com - [10/June/2001:06:21:41
-0700] stufftobuy /cgi-bin/stufftobuy/admin/item_up Runtime error: couldn't
init cache at /usr/home/speedwoo/www/interchange/lib/Vend/Table/GDBM.pm line
107.
Similarly, errors like these appear in the Interchange error.log file:
cd943222-a.sxflls1.sd.home.com NauIUWRQ:home.com - [10/June/2001:06:22:14
-0700] stufftobuy /cgi-bin/stufftobuy/admin/item_edit.html Runtime error:
couldn't init cache at
/usr/home/speedwoo/www/interchange/lib/Vend/Table/GDBM.pm line 107.
Based on this, I'm wondering if I can take the data that is being stored in
DBM files and move it to MySQL, since the MySQL interface seems to be
working great.
In the meantime, I'll try running the script you mentioned.
I'd appreciate any further advice on this issue.
Thanks all.
--
Michael Lehmkuhl <michael@electricpulp.com>
Partner, Electric Pulp
1.605.988.0177 : 1.888.722.PULP
electricpulp.com
> From: Ed LaFrance <edl@newmediaems.com>
> Reply-To: interchange-users@developer.akopia.com
> Date: Wed, 20 Jun 2001 08:54:48 -0700
> To: interchange-users@developer.akopia.com
> Subject: Re: [ic] Problem with lib/Vend/Table/GDBM.pm (Can MySQL be used
> instead?)
>
> At 10:38 PM 06/19/2001 -0500, you wrote:
>> Hello everyone.
>>
>> I'm still pretty new to Interchange.
>>
>> I've installed a store based on the construct demo using MySQL as the
>> database. Everything seems to be working except those portions that rely on
>> the .dbm files. I've read posts regarding using the MINIVEND_DBFILE, but
>> that approach did not work for my installation. I'm in a shared hosted
>> environment, so I don't have much access to reinstall Perl or things of that
>> sort.
>>
>> Is it possible to run all the data through MySQL, rather than storing some
>> in .dbm files? Both the GDBM and DB_File implementations on my hosting
>> provider's server seem to be giving me some attitude.
>>
>> I've read through the documentation regarding how Interchange uses
>> databases, but I'm not totally clear what the process would be to move the
>> data in the .dbm files into MySQL.
>>
>
> You might want to try a script which was included with IC 4.6.x (don't know
> about 4.7.x): cpan_local_install. You should find it within the IC
> distribution directory: interchange-4.6.x/dist/src/. This assumes that you
> installed IC in your home directory using the .tar.gz dist. If your
> hosting provider runs interchange centrally and merely provides you with a
> catalog, you should complain loudly about any missing or broken Perl
> modules. Failing both of those, you can go into yourcat/dbconf/mysql, and
> try your hand at converting all the .dbm database definitions into mysql
> definitions - there are plenty of the latter to follow as examples.
>
> - 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (IC-Admin)
Date: Wed Jun 20 15:36:00 2001
Subject: [ic] RH announces new database software next week
I just read this here:
http://dailynews.yahoo.com/h/cn/20010619/tc/red_hat_to_play_in_oracle_s_arena_1.html
So, will IC going to work with that to be announced database software ?
BF
From: interchange-users at lists.akopia.com (Randy Clapp)
Date: Wed Jun 20 16:13:00 2001
Subject: [ic] CyberCash MCK Version 3.2.0.4 -- still looking
Jeff,
I was in your same situation. I'm converting a customer over from an
Intershop installation to interchange. I couldn't find 3.2.x of the MCK,
but I was able to get 3.3.1 to work with the homestead download files. I'm
running interchange 4.6.x and the cybercash installation is a hack since
part of the files are 3.3.1 and the other parts are 3.2.x, but it works. I
don't have the instructions from the page, but I replaced the appropriate
files with these after removing the .txt extensions.
-- Randy
-----Original Message-----
From: Jeff Scott [mailto:jeff.scott@realbranding.com]
Sent: Wednesday, June 20, 2001 9:06 AM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] CyberCash MCK Version 3.2.0.4 -- still looking
Unfortunately the client already uses Cybercash with another ecommerce
system -- they want to stick with it (as long as they can anyway).
Still looking for the MCK 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 --
if someone could e-mail it to me or point me to it I would appreciate it.
Cheers,
Jeff
-----Original Message-----
From: interch [mailto:interch@web3.valley-internet.com]
Sent: Wednesday, June 20, 2001 7:48 AM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] CyberCash MCK Version 3.2.0.4
I would really look at just using Payflow Pro if you are going to stick
with Verisign. From what I have heard the MCK is going to be gone asap,
only staying around long enough for people to switch over to either
Payflow Pro or Payflow Link.
Chris
On Tue, 19 Jun 2001, Jeff Scott wrote:
> I've been trying to find MCK version 3.2.0.4 or 3.2.0.5 for a couple days
> now. Multiple calls to CyberCash (hoping to get someone with some
> knowledge) says that they do not have the older versions. Oddly the only
> thing they have in their internal knowledgebase about Minivend or
> Interchange is a pointer to the homestead.com page -- that is
unfortunately
> gone now.
>
> Can someone send either 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 to
> me? I would appreciate it greatly.
>
> Cheers,
> Jeff
>
> -----Original Message-----
> From: tanis@chariot.net.au [mailto:tanis@chariot.net.au]
> Sent: Wednesday, May 23, 2001 11:36 AM
> To: interchange-users@developer.akopia.com
> Subject: [ic] CyberCash MCK Version 3.2.0.4
>
> Hi all,
>
> Am hoping someone on the list has the CyberCash MCK for Redhat Linux
> 6.x,
> version 3.2.0.4, as I am trying to setup a store using CyberCash. I would
> appreciate
> if someone could send me this off the list at tanis@chariot.net.au
>
> Thanks,
> John Bailey.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
begin 600 CCMckDirectLib3_2.pm.txt
M(R`M+2HM4$523"TJ+2T*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C"B,*(R!#
M;W!Y<FEG:'0@,3DY-BP@0WEB97)#87-H($EN8RX@06QL(')I9VAT<R!R97-E
M<G9E9"X*(R!7<FET=&5N(&)Y($)R:6%N($)O97-C:"!A;F0@2G5D>2!'<F%S
M<PHC($UO9&EF:65D(&)Y($=E;F4@1V]T:6UE<@HC(&%N9"!T:&5N(&)Y($IU
M9'D@1W)A<W,@9F]R($U#2PHC"B,@5&AE<V4@<F]U=&EN97,@87)E(&EN=&5N
M9&5D('1O(&)E('5S960@97AC;'5S:79E;'D@=VET:"!T:&4@"B,@0WEB97)#
M87-H('-E8W5R92!P87EM96YT('-Y<W1E;2X*(PHC(%)#4TE$.B`D260Z($-#
M36-K1&ER96-T3&EB,U\R+G!M+'8@,2XR,R`Q.3DX+S$R+S`T(#(Q.C`V.C0Q
M(&=R87-S($5X<"`D"B,*(R!$;R!N;W0@<F5D:7-T<FEB=71E('=I=&AO=70@
M=W)I='1E;B!P97)M:7-S:6]N(&9R;VT@0WEB97)#87-H($EN8RX*(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(PH*(R!4:&ES($-#36-K1&ER96-T3&EB,U\R
M+G!M(&ES('!A<G0@;V8@=&AE(&UC:RTS+C(N,"XU+6DU.#8M<&,M;&EN=7@M
M9VYU;&EB8S(@9&ES=')I8G5T:6]N+@H*<&%C:V%G92!#0TUC:T1I<F5C=$QI
M8C-?,CL*"G)E<75I<F4@17AP;W)T97(["D!)4T$@/2`H17AP;W)T97(I.PI`
M15A03U)4(#T@<7<H*3L*0$584$]25%]/2R`]('%W*&1O1&ER96-T4&%Y;65N
M="!396YD0T,R7S%397)V97(@4V5N9$-#4V5R=F5R($-#4V]C:V5T4V5N9"`I
M.PH*=7-E($-#36-K3&EB,U\R('%W*"5#;VYF:6<@5')I;2`*("`@(%523&1E
M8V]D949O<FT*"6=E;E523&5N8V]D961&;W)M"@E"=6EL9$)L;V-K"B`@("!#
M0T1E8G5G($-#1&5B=6<R($-#17)R;W(*"2D["@IU<V4@0T--8VM%<G)N;S-?
M,B!Q=RA-0TM'971%<G)O<DUE<W-A9V4@)$5?3F]%<G(@)$5?15)23U(*"@DD
M15]"861-971H;V0*"21%7T-O;FYE8W1&86EL960*"21%7T1E8W)Y<'1&86EL
M960*"21%7T5N8W)Y<'1&86EL960*"21%7T9A:6QE9%](5%10"@DD15]';T%W
M87D*"21%7TYO7T-O;F9I9PH))$5?3F]?34%#"@DD15].;U]-97-S86=E"@DD
M15].;U]03U`*"21%7TYO7U-K97D*"21%7TYO7U-33"`*"21%7TYO=%](5%10
M"@DD15]3:6=N871U<F5&86EL960*"21%7U-O8VME=$9A:6QE9`H))$5?4WES
M=W)I=&5&86EL960*"21%7U1I;65D3W5T"B`@("D["@HC(%5.25@@;W(@3E0@
M=F5R<VEO;@HD3U,@/2`G54Y)6"<["@IU<V4@4V]C:V5T.PIU<V4@5&EM93HZ
M3&]C86P["@HD5$U01$E2(#T@(B]T;7`O(CL*)$9)3$5315`@/2`G+R<["B`*
M"B,C(&5D:70@=&AE<V4@=F%L=65S"@HD34-+96YC<GEP="`]("(O:&]M92]H
M='1P9"]D86YS:71E+3@U+VUC:RUC9VDO34-+96YC<GEP="(["B1-0TMD96-R
M>7!T(#T@(B]H;VUE+VAT='!D+V1A;G-I=&4M.#4O;6-K+6-G:2]-0TMD96-R
M>7!T(CL*"B,C"@HC(%-O8VME="!%<G)O<G,*"@H*<W5B(&1O1&ER96-T4&%Y
M;65N=`I["@EM>2`H)'!A>6UE;G154DPL("`D87)G3E9,:7-T<F5F*2`]($!?
M.PH);7D@*"5P87EM96YT07)G<RP@)'1O:V5N*3L*"6UY("@E34\L("5#4$DL
M("5-1BP@)6%R9W,L("5T;VME;DQI<W0L("5R97-U;'0I.PH*"0DC(%1H97-E
M(&%R92!U<V5D(&9O<B!L;V=G:6YG(&EF(&$@4$]0(&ES(&YO="!R971U<FYE
M9"XN+@H);7D@*"1O<F1E<DED+"`D=&EM97-T86UP*3L*"6UY*"1S96,L)&UI
M;BPD:&]U<BPD;61A>2PD;6]N+"1Y96%R+"1W9&%Y+"1Y9&%Y+"1I<V1S="D[
M"@D*"25P87EM96YT07)G<R`]("4D87)G3E9,:7-T<F5F.PH)"@D)(R!F;W(@
M=&5M<&QA=&EN9R!A9G1E<B!T:&4@<&%Y;65N="!C;VUP;&5T97,*"25T;VME
M;DQI<W0@/2`E<&%Y;65N=$%R9W,["@H)(U=E(&)U:6QD('1H92!A<F=U;65N
M=',@=&AE;B!C86QL($-#4V5N9`H))&]R9&5R260@/2`D<&%Y;65N=$%R9W-[
M)VUO+F]R9&5R+6ED)WT["@H)(R!"=6EL9"!B;&]C:W,*("`@("5-3R`]("9"
M=6EL9$)L;V-K*")M;R(L("5P87EM96YT07)G<RD["B`@("`E0U!)(#T@)D)U
M:6QD0FQO8VLH(F-P:2(L("5P87EM96YT07)G<RD["B`@("`E348@/2`F0G5I
M;&1";&]C:R@B;68B+"`E<&%Y;65N=$%R9W,I.PH*"21A<F=S>R=-3R=](#T@
M9V5N55),96YC;V1E9$9O<FTH)4U/*3L*"21T;VME;DQI<W1[)TU/)WT@/2`D
M87)G<WLG34\G?3L*"0H))&%R9W-[)T-022=](#T@9V5N55),96YC;V1E9$9O
M<FTH)4-022D["@DD=&]K96Y,:7-T>R=#4$DG?2`]("1A<F=S>R=#4$DG?3L*
M"@DC($YO(')E87-O;B!T;R!S96YD($U&+BXN(')E<W!O;G-E(&-O;65S(&)A
M8VL@:&5R92$*"2,@07)G<R!W:6QL(&)E('5S960@9F]R('1E;7!L871I;F<L
M('-O(&UA:V4@<W5R92`J979E<GET:&EN9RH@:7,@=&AE<F4*"@DD=&]K96Y,
M:7-T>R=-1B=](#T@9V5N55),96YC;V1E9$9O<FTH)4U&*3L*"@DE<F5S=6QT
M(#T@)E-E;F1#0U-E<G9E<B@D<&%Y;65N=%523"P@)6%R9W,I.PH*"2,@4F5S
M=6QT('=I;&P@:&%V92!A="!L96%S=#H*"2,))TU3=&%T=7,G"@DC"2=-17)R
M3&]C)PH)(PDG345R<DUS9R<*"2,@<VEN8V4@4V5N9$-#4V5R=F5R('=I;&P@
M9V5N97)A=&4@=&AE<V4@9F]R(&%N>2!M97-S86=E('1H870*"2,@9&]E<R!N
M;W0@;F%T=7)A;&QY(')E='5R;B!T:&5M"@DC"@DC("!!;GD@(FYO<FUA;"(@
M<F5T=7)N('=I;&P@8V]N=&%I;B!A(%!/4"!B;&]C:R!A<R!W96QL+@H)(R`@
M3&]A9"!T:&%T(&EN=&\@=&AE('1O;&ME;B!L:7-T"@DC("`J04Y$*B!I9B!T
M:&4@4$]0(&ES(&YO="!P<F5S96YT+"!G96YE<F%T92!A;B!E<G)O<B!03U`*
M"@EI9B`H9&5F:6YE9"@D<F5S=6QT>R=03U`G?2DI('L*"0DC(%!H97<A(&%T
M(&QE87-T('=E(&=O="!A(')E<W!O;G-E"@D)(R!3970@=7`@9F]R('1E;7!L
M871I;F<*"@D))%!/4'-T<B`]("1R97-U;'1[)U!/4"=].PH*"0DD=&]K96Y,
M:7-T>R=03U`G?2`]("103U!S='(["@D))5!/4"`](%523&1E8V]D949O<FTH
M)%!/4'-T<BD["@H)?0H)96QS92!["@D)(RIS:6=H*B`@0G5I;&0@82!F86QS
M92!03U`@9G)O;2!T:&4@<W1A='5S(&EN9F\L(&5T8RX*"0DD4$]0>R=P;W`N
M<W1A='5S)WT@/2`D<F5S=6QT>R=-4W1A='5S)WT["@D))%!/4'LG<&]P+F5R
M<F]R+6-O9&4G?2`]("1%7TYO4$]0.PH)"0H)"2-B=6EL9"!A;B!E<G)O<B!M
M97-S86=E+BXN"@D))'1S='(@/2`B3&]C871I;VXZ("(N("1R97-U;'1[)TU%
M<G),;V,G?2`*"0D)+B`B.R!-97-S86=E.B`B("X@)')E<W5L='LG345R<DUS
M9R=].PH*"0DD4$]0>R=P;W`N97)R;W(M;65S<V%G92=](#T@)'1S='(["@H)
M"0DC(%1H97-E(&%R92!N965D960@9F]R(&QO9V=I;F<N+@H)"2103U&]R9&5R260[("`C(&YE960@=&AI<R!F;W(@;&]G
M9VEN9PH*"0DH)'-E8RPD;6EN+"1H;W5R+"1M9&%Y+"1M;VXL)'EE87(L)'=D
M87DL)'ED87DL)&ES9'-T*2`](&=M=&EM92AT:6UE*"DI.PH)"0H)"2-!8V-O
M<F1I;F<@=&\@;6%N(&=M=&EM92XN+B`D>65A<B!I<R!T;2YT;5]Y96%R.B!Y
M96%R<R!S:6YC92`Q.3`P+BXN+@H)"2,@5&AI<R!I<R!C;W)R96-T(&9O<B!9
M,DL*"@D))%!/4'LG<&]P+G-A;&4M9&%T92=](#T@<W!R:6YT9B@B)3`T9"4P
M,F0E,#)D)3`R9"4P,F0E,#)D+C`P,"(L"B`@("`@("`@("`@("1Y96%R*S$Y
M,#`L)&UO;BLQ+"1M9&%Y+"1H;W5R+"1M:6XL)'-E8RD["@H)"21T;VME;DQI
M<W0@>R=03U`G?2`](&=E;E523&5N8V]D961&;W)M*"503U`I.PH)?2`*"@DC
M(&QO860@979E<GET:&EN9R!I;B!T:&4@4$]0(&EN=&\@=&AE('1E;7!L871I
M;F<@87)R87D@"@DC(&%N9"!I;G1O(')E<W5L="!A<G)A>0H)9F]R96%C:"`D
M:V5Y("AK97ES("@E4$]0*2D@>PH)"21T;VME;DQI<W1[)&ME>7T@/2`D4$]0
M>R1K97E].PH)"21R97-U;'1[)&ME>7T@/2`D4$]0>R1K97E].PH)?0H*"21T
M;VME;DQI<W1[)V5R<F]R+6-O9&4G?2`]("103U![)W!O<"YE<G)O<BUC;V1E
M)WT["@DD=&]K96Y,:7-T>R=E<G)O<BUM97-S86=E)WT@/2`D4$]0>R=P;W`N
M97)R;W(M;65S<V%G92=].PH))'1O:V5N3&ES='LG<W1A='5S)WT@/2`D4$]0
M>R=P;W`N<W1A='5S)WT["@H)(R!!;'-O(&YE960@=&\@8G5I;&0@82!F86EL
M=7)E06YC:&]R+BXN+@H):68@*&1E9FEN960H)$U/>R=M;RYF86EL=7)E+75R
M;"=]*2D@>PH)"21T;VME;DQI<W1[)V9A:6Q!;F-H;W(G?2`](`H)"0DB/&$@
M:')E9CU<(B(@+B`D34][)VUO+F9A:6QU<F4M=7)L)WT@+B`B7"(^($%D9&ET
M:6]N86P@26YF;W)M871I;VX@/"]A/B`B.PH)?0H)96QS92?0H)"@DC($%N9"!B=6EL9"!T
M:&4@36%N=6%L($YO=&EF:6-A=&EO;B!P87)A;65T97)S"@DC(%5S92!O;FQY
M('1H92!03U`@86YD($U&+BXN(&YO=&AI;F<@;W5T<VED92!B;&]C:W,N"@H)
M)'1S='(@/2`B7'0\:6YP=70@='EP93UH:61D96X@;F%M93U<(E!/4%PB('9A
M;'5E/5PB(CL*"21T<W1R("X]("1R97-U;'1[)U!/4"=].PH))'1S='(@+CT@
M(EPB/EQR7&XB.PH*"21T<W1R("X](")<=#QI;G!U="!T>7!E/6AI9&1E;B!N
M86UE/5PB349<(B!V86QU93U<(B(["@DD='-T<B`N/2`D=&]K96Y,:7-T>R=-
M1B=].PH))'1S='(@+CT@(EPB/EQR7&XB.PH*"21T;VME;DQI<W1[)TU!3E5!
M3%].3U1)1DE#051)3TXG?2`]("1T<W1R.PH*"2,C(%1O:V5N<R!C86X@8V]N
M=&%I;B!C87)D(&1A=&$N+BX*"2,C($1O;B=T(&1U;7`@=&AI<R!S='5F9B!E
M>&-E<'0@=VAE;B!T97-T:6YG('=I=&@@9F%K92!C87)D(&1A=&$*"@DC(R9#
M0T1E8G5G,B@S+"`B5&]K96X@3&ES="!I<SH@7&XB*3L*"2,C9F]R96%C:"`D
M:V5Y("AK97ES("@E=&]K96Y,:7-T*2D@>PH)(R,))'1S='(@/2`B)&ME>2`]
M/B`B("X@)'1O:V5N3&ES='LD:V5Y?2`N(")<;B(["@DC(PDF0T-$96)U9S(H
M,RP@(B1T<W1R(BD["@DC(WT*"2,C)D-#1&5B=6<R*#,L(")%3D0@5$]+14X@
M3$E35%QN(BD["@H)(U1H:7,@9V5T<R!U<R`H86QM;W-T/RD@979E<GET:&EN
M9R!I;B!T:&4@=&]K96X@;&ES="!T:&%T('1H92`*"2,@=W)A<'!E<B!W;W5L
M9"!H879E(&AA9"XN+@H)"@ER971U<FX@*%PE4$]0+"!<)71O:V5N3&ES="D[
M("`@(",@86QL(&ES('=E;&PN+B!R971U<FX@<F5F97)E;F-E<PI]"@HC(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C"B,@4V5N9$-#,E\Q4V5R=F5R*&]P97)A=&EO;BP*(R`@("`@
M(&%T=')I8G5T92P@=F%L=64L"B,@("`@("!A='1R:6)U=&4R+"!V86QU93(L
M"B,@("`@("`N+BXI.PHC(`HC(%)E='5R;G,@<V5T(&]F(&%T=')I8G5T92!V
M86QU97,@87!P<F]P<FEA=&4@9F]R(&%N(&%S<V]C(&%R<F%Y"B,*(R!4:&ES
M('1A:V5S('1H92!O;&0@<V5N9&US97)V97(@9F]R;6%T(&%N9"!G96YE<F%T
M97,@82!M97-S86=E('1O('1H92!W<F%P<&5R"B,@0U(R+C$@05!)(&EN=&5R
M<')E=&5R"@IS=6(@4V5N9$-#,E\Q4V5R=F5R('L*"2,@1V5T('1H92!U<FP@
M86YD(&YA;64M=F%L=64@<&%I<G,@<&%S<V5D(&%S('!A<F%M971E<G,*("`@
M(&UY*"1O<&5R871I;VXL($!P86ER<RD@/2!`7SL*"@EM>2@D=7)L+"`E<F5S
M=6QT*3L*"@DD=7)L(#T@)$-O;F9I9WLB0T-04U](3U-4(GT@+B`B8W(R,6%P
M:2YC9VDO)&]P97)A=&EO;B(["@H))D-#1&5B=6<R*#<L(")5<FP@:7,@)'5R
M;%QN(BD["@H))7)E<W5L="`]("9396YD0T-397)V97(H)'5R;"P@0'!A:7)S
M*3L*"0H)<F5T=7)N("5R97-U;'0["GT*"@HC(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C"B,@4V5N
M9$-#4V5R=F5R*'5R;"P*(R`@("`@(&%T=')I8G5T92P@=F%L=64L"B,@("`@
M("!A='1R:6)U=&4R+"!V86QU93(L"B,@("`@("`N+BXI.PHC(`HC(%)E='5R
M;G,@<V5T(&]F(&%T=')I8G5T92!V86QU97,@87!P<F]P<FEA=&4@9F]R(&%N
M(&%S<V]C(&%R<F%Y"B,*<W5B(%-E;F1#0U-E<G9E<B&5N8V]D961?<&%I<G,I
M.PH@("`@;7DH)'!A:7)S7VQE;F=T:"PD;65S<V%G92D["@EM>2@D<W1A='5S
M+"`D<F5S<&]N<V4I.PH);7DH)'-E<W-I;VY+97DL("1-04,L("1E;F-R>7!T
M961-<V<I.PH);7DH)6%R9W,I(#T@*"D["B`@("!M>2@E<F5S=6QT*2`]("@I
M.PH*"2,@4W1R:7`@=&AE(&UE=&AO9"!S=')I;F<@9G)O;2!T:&4@55),+BXN
M"@DD=7)L(#T@)E1R:6TH)'5R;"D[("`@("-M86ME(&ET('1I9'D*"21U<FP@
M/7X@<R->*%M<=UTK*3HO+R,C.R`@("-S=')I<"!O9F8@=&AE(&UE=&AO9`H)
M)&UE=&AO9"`]("0Q.PH*"6EF("@D;65T:&]D(&YE(")H='1P(BD@>PH)"2,@
M1T].1R$@=V4@9&]N)W0@9&\@:'1T<',@;W(@9G1P(&]R(&%N>71H:6YG(&5L
M<V4A"@D):68@*"1M971H;V0@97$@(FAT='!S(BD@>R`@(R!S<&5C:6%L(&UE
M<W-A9V4@9F]R('1H:7,@;VYE"@D)"7)E='5R;B@F1F%I;'5R95)E<W!O;G-E
M*"1%7TYO7U-33"P@(B(I*3L*"0E]"@D)96QS92!["@D)"7)E='5R;B@F1F%I
M;'5R95)E<W!O;G-E*"1%7T)A9$UE=&AO9"P@(B(I*3L*"0E]"@E]"@H@("`@
M)$-#365R8VAA;G1)9"`]("1#;VYF:6=[(D-90D520T%32%])1")].PH*"2,@
M9V5T('1H92!H;W-T(&%N9"!P;W)T(&9R;VT@=&AE(%523"P@;W(@9G)O;2!T
M:&4@2%144%]04D]860H):68@*&1E9FEN960H)$-O;F9I9WLB2%144%]04D]8
M65](3U-4(GTI"@D))B8@*"1#;VYF:6=[(DA45%!?4%)/6%E?2$]35")](&YE
M("(B*2D@"@E["B`@("`))$-#4V5R=F5R2&]S="`]("1#;VYF:6=[(DA45%!?
M4%)/6%E?2$]35")].PH@("`@"21#0U-E<G9E<E!O<G0@/2`D0V]N9FEG>R)(
M5%107U!23UA97U!/4E0B?3L*"@D)(U!R;WAY('5R;"!I<R`N+BXN(&AT='`Z
M+R]H;W-T.G!O<G0O>6%D82]Y861A"@D))'5R;"`](")H='1P.B\O)'5R;"([
M"@E]"@EE;'-E('L*"0DC($=E="!H;W-T(&%N9"!P;W)T(&9R;VT@55),"@D)
M(R!G<F%B(&5V97)Y=&AI;F<@8F5F;W)E('1H92!F:7)S="!S;&%S:`H)"21U
M<FP@/7X@<R,H6UXO72LI+R,C.PH)"21C8V%D9'(@/2`D,3L*"@D)*"1#0U-E
M<G9E<DAO<W0L("1#0U-E<G9E<E!O<G0I(#T@<W!L:70H+SHO+"`D8V-A9&1R
M+"`R*3L*"0DD=7)L(#T@(B\D=7)L(CL*"7T*"@EI9B`H*"%D969I;F5D*"1#
M0U-E<G9E<E!O<G0I*2!\?"`H)$-#4V5R=F5R4&]R="!E<2`B(BDI('L*"0DD
M0T-397)V97)0;W)T(#T@(C@P(CL@(",@:'1T<#H@9&5F875L=`H)?0H*"2,@
M5&]K96X@8V]D92!C86X@8V]N=&%I;B!S96YI=&EV92!I=&5M<RP*("`@(",@
M1&]N)W0@9'5M<"!T:&ES(&5X8V5P="!M87EB92!W:&5N('1E<W1I;F<@=VET
M:"!F86ME(&1A=&$N"@H)(R,F0T-$96)U9S(H.2PB7&X]/2!%;G1E<FEN9R!3
M96YD0T-397)V97(@/3U<;B(I.PH)(R,F0T-$96)U9S(H.2PB4$]35"!T;R!H
M;W-T.B`D0T-397)V97)(;W-T+"!P;W)T.B`D0T-397)V97)0;W)T7&XB*3L*
M"2,C)D-#1&5B=6<R*#DL(G-E8W)E=#H@)$-#365R8VAA;G1)9"P@8V]M;6%N
M9#H@)'5R;%QN7&XB*3L*"2,C"0H)(R,F0T-$96)U9S(H.2PB(R,@3F%M92U6
M86QU92!P86ER<R!T;R!S96YD(",C7&XB*3L*"2,C"@DC(VUY*"1I+"1J*3L*
M"2,C9F]R("@D:3TP.R`D:3Q`<&%I<G,[("1I*STR*2!["@DC(R`@("1J(#T@
M)&D@*R`Q.PH)(R,@("9#0T1E8G5G,B@Y+"(D<&%I<G-;)&E=(#T@6ULD<&%I
M<G-;)&I=75U<;B(I.PH)(R-]"@DC(R9#0T1E8G5G,B@Y+")<;B(I.PH*"2,@
M='5R;B!T:&4@;F%M92UV86QU92!P86ER<R!I;G1O(&$@=7)L(&5N8V]D960@
M;65S<V%G90H@("`@)&5N8V]D961?<&%I<G,@/2`F9V5N55),96YC;V1E9$9O
M<FTH0'!A:7)S*3L*"@DC(R9#0T1E8G5G,B@Y+")%;F-O9&5D(&YA;64M=F%L
M=64@<&%I<G,Z("1E;F-O9&5D7W!A:7)S7&XB*3L*"0H)(T5N8W)Y<'0@=&AE
M(&5N8V]D960@<&%I<G,N+BXN"@DH)'-T871U<RP@)'-E<W-I;VY+97DL("1-
M04,L("1E;F-R>7!T961-<V<I(#T@)D-#16YC<GEP="@D96YC;V1E9%]P86ER
M<RD["@H@("`@:68@*"1S=&%T=7,@(3T@)$5?3F]%<G(I('L*("`@("`@("!R
M971U<FX@*"9&86EL=7)E4F5S<&]N<V4H)'-T871U<RP@(B(I*3L*("`@('T*
M"0H)(T)U:6QD('1H92!M97-S86=E"@DD87)G<WLG<V5S<VEO;BUK97DG?2`]
M("1S97-S:6]N2V5Y.PH))&%R9W-[)VUE<W-A9V4G?2`]("1E;F-R>7!T961-
M<V<["@DD87)G<WLG;6%C)WT@/2`D34%#.PH*"21E;F-R>7!T961086ER<R`]
M("9G96Y54DQE;F-O9&5D1F]R;2@E87)G<RD["@D*"@DC($-R96%T92!T:&4@
M;65S<V%G92!B969O<F4@;W!E;FEN9R!T:&4@<V]C:V5T"@DC('=E('=A;G0@
M=&AE('-O8VME="!C;V1E('1O(&)E(&%S(&ES;VQA=&5D(&%S('!O<W-I8FQE
M+"`*"2,@<VEN8V4@=&AA="!I<R!T:&4@8V]D92!T:&%T(&ES('1R:6-K>2!T
M;R!P;W)T+BXN(`H*("`@("1P86ER<U]L96YG=&@@/2!L96YG=&@H)&5N8W)Y
M<'1E9%!A:7)S*3L*("`@("1M97-S86=E(#T@/#PB14Y$(CL*4$]35"`D=7)L
M+R1#0TUE<F-H86YT260@2%144"\Q+C`*57-E<BU!9V5N=#H@0T--0TLM)'9E
M<G-I;VX*0V]N=&5N="UT>7!E.B!A<'!L:6-A=&EO;B]X+7=W=RUF;W)M+75R
M;&5N8V]D960*0V]N=&5N="UL96YG=&@Z("1P86ER<U]L96YG=&@*"B1E;F-R
M>7!T961086ER<PI%3D0*"@DF0T-$96)U9S(H-RP@(D5N8V]D960O($5N8W)Y
M<'1E9"!N86UE+79A;'5E('!A:7)S(&QE;F=T:"`]("1P86ER<U]L96YG=&A<
M;B(I.PH))D-#1&5B=6<R*#<L(")-97-S86=E.EQN)&UE<W-A9V5<;B(I.PH*
M"2,@5V4G=F4@8G5I;'0@=&AE(&UE<W-A9V4N+BX@;F]W('-E;F0@:70N"@DC
M($%C='5A;"!3;V-K970@<W1U9F8@:7,@:7-O;&%T960@:&5R92$*"21T:6UE
M;W5T(#T@)$-O;F9I9WLB5$E-14]55")].PH*"2@D<W1A='5S+"`D<F5S<&]N
M<V4I(`H)"3T@)D-#4V]C:V5T4V5N9"@D0T-397)V97)(;W-T+"`D0T-397)V
M97)0;W)T+"`D;65S<V%G92P@)'1I;65O=70I.PH*"2,@3&]O:R!A="!S=&%T
M=7,@86YD(&=E;F5R871E(&%N(&%P<')O<')I871E(&1U;6UY"@DC(&UE<W-A
M9V4@:68@=&AE<F4@:&%S(&)E96X@82!S;V-K970@9F%I;'5R92!O9B!S;VUE
M(&MI;F0*"@EI9B`H)'-T871U<R`A/2`D15].;T5R<BD@>PH)"7)E='5R;B`H
M)D9A:6QU<F5297-P;VYS92@D<W1A='5S+"`D<F5S<&]N<V4I*3L*"7T*"@DC
M5')I;2!O9F8@86YY('=H:71E('-P86-E+BXN"@DD<F5S<&]N<V4@/2`F5')I
M;2@D<F5S<&]N<V4I.PH*"2,@4F5S<&]N<V4@:7,@96YC<GEP=&5D+BXN(&1E
M8W)Y<'0@:70N+BX*"2@D<W1A='5S+"`D<F5S<&]N<V4I(#T@)D-#1&5C<GEP
M="@D<F5S<&]N<V4I.PH*("`@(&EF("@D<W1A='5S("$]("1%7TYO17)R*2![
M"B`@("`@("`@<F5T=7)N("@F1F%I;'5R95)E<W!O;G-E*"1S=&%T=7,L("(B
M*2D["B`@("!]"@H)(R!D96-O9&4@=&AE('5R;"!E;F-O9&5D(')E<W!O;G-E
M+"!A;F0@<V5N9"!B86-K('1H92!R97-U;'0*"2,@87,@86X@87-S;V-I871I
M=F4@87)R87D@*"5R97-U;'0I"@H@("`@)7)E<W5L="`]("954DQD96-O9&5&
M;W)M*"1R97-P;VYS92D["@H)(R,@1&]N)W0@9'5M<"!R87<@;65S<V%G92!D
M871A('5N;&5S<R!T97-T:6YG+"!S:6YC92!I="!C86X*"2,C(&-O;G1A:6X@
M86-C;W5N="!I;F9O+@H)(R,*"2,C)D-#1&5B=6<R*#DL("(C(R!$96-O9&5D
M(')E<W!O;G-E($YA;64M5F%L=64@<&%I<G,@(R-<;B(I.PH)(R-F;W)E86-H
M("AK97ES("5R97-U;'0I('L*"2,C("`@"29#0T1E8G5G,B@Y+"`B)%\@/2!;
M6R1R97-U;'1[)%]]75U<;B(I.PH)(R-]"@DC(R9#0T1E8G5G,B@Y+"`B7&Y<
M;CT]($5X:71I;F<@4V5N9$-#4V5R=F5R(#T]7&Y<;EQN(BD["@H@("`@<F5T
M=7)N("5R97-U;'0["GT*"G-U8B!#0T5N8W)Y<'0@"GL*"6UY("@D;65S<V%G
M92D@/2!`7SL*"6UY("@D=W)A<'!E9$ME>2D["@EM>2`H)'-E<W-I;VY+97DL
M("1-04,I.PH);7D@*"1R97-U;'0I.PH);7D@*"1T96UP9FEL92D["@H@("`@
M(R!C86XG="!U<V4@8V]M;6%N9"!L:6YE('1O('!A<W,@=&5X="!O;B!.5"P@
M<V\*("`@(",@=W)I=&4@=&AE(&UE<W-A9V4@=&\@82!T96UP;W)A<GD@9FEL
M90H)(R`@1&\@=&AI<R!I;B!5;FEX('1O;RP@<VEN8V4@97AE8R!O;B!A;GET
M:&EN9R!F<F]M('5S97(*"2,@('!U="!O;B!T:&4@8V]M;6%N9"!L:6YE(&ES
M('!R971T>2!S=6EC:61A;"$*"B`@("`D=&5M<&9I;&4@/2`B34-+96YC<B0D
M(CL*("`@("1T96UP9FEL92`]?B!T<B]!+5IA+7HP+3E?+R]C9#L*"0H@("`@
M)'1E;7!F:6QE(#T@)%1-4$1)4B`N("(D=&5M<&9I;&4N=&UP(CL*"@DC(%!I
M<&4@:6YT;R!T:&4@96YC<GEP=&5R+BXN(&ME97`@<V5N<VET:79E('-T=69F
M(&AI9&1E;@H*"6]P96X@*$-265!4+"`B?"`D34-+96YC<GEP="`^)'1E;7!F
M:6QE(BD["B`*("`@("9#0T1E8G5G,B`H-BP@(B1[:6YD96YT?2,C(R,C(&EN
M($-#16YC<GEP="`C(R,C(R-<;B(I.PH@("`@"B`@("`D=W)A<'!E9$ME>2`]
M("1#;VYF:6=[(DU%4D-(04Y47TM%62)].PH*("`@("`@("`C(%=E(&1O(&YO
M="!L;V<@=&AE(&5N8W)Y<'1I;VX@:6YP=70@8F5C875S90H@("`@("`@(",@
M:70@;6%Y(&-O;G1A:6X@<V5N<VET:79E(&1A=&$Z("!L:6ME(&-R961I="!C
M87)D(&]R(&-H96-K:6YG"B`@("`@("`@(R!A8V-O=6YT(&YU;6)E<G,N("!)
M9B!Y;W4@;F5E9"!T;R!S964@=&AE(&EN<'5T+`H@("`@("`@(",@=6YC;VUM
M96YT('1H:7,@;&EN92!A;F0@<V5T('1H92!D96)U9R!L979E;"!A<R!N965D
M960*(`H@("`@(R,F0T-$96)U9S(@*#8L("(D>VEN9&5N='T@:V5Y(#TD=W)A
M<'!E9$ME>5QN(BD["B`@("`C(R9#0T1E8G5G,B`H-BP@(B1[:6YD96YT?2!E
M;F-R>7!T:6YG.EQN)&UE<W-A9V5<;B(I.PH*("`@("-,:6YE(#$@:7,@=&AE
M('=R87!P960@:V5Y+@H@("`@(W1H92!R97-T(&ES('1H92!M97-S86=E"B`@
M("`@("`*("`@('!R:6YT($-265!4("(D=W)A<'!E9$ME>5QR7&XB.PH@("`@
M<')I;G0@0U)94%0@)&UE<W-A9V4["B`@("!P<FEN="!#4EE05"`B7')<;B([
M("`@(R!F;W)C92!A(&9L=7-H"B`@("!C;&]S92A#4EE05"D["B`*("`@(",@
M9V5T('1H92!B87-E-C0M96YC;V1E9"!-1#4@:&%S:`H@("`@;W!E;BA414U0
M+"(\("1T96UP9FEL92(I.PH@("`@("`@(`H))$U!0R`](#Q414U0/CL*"6-H
M;VUP*"1-04,I.PH))$U!0R`]?B!S+UQN+R\["@DD34%#(#U^(',O7'(O+SL*
M"@DC($EF('1H92!-04,@<W1A<G1S('=I=&@@(B,C(R(L('1H96X@96YC<GEP
M=&EO;B!F86EL960*"6EF("@D34%#(#U^("]>(R,C+RD@>PH)"29#0T5R<F]R
M*"(D34%#7&XB*3L*"0DD<W1A='5S(#T@)$5?16YC<GEP=$9A:6QE9#L*("`@
M(`EU;FQI;FL@(B1T96UP9FEL92(["@D)<F5T=7)N("@D<W1A='5S+"`D34%#
M*3L*"7T*"@H)(TQI;F4@,B!O9B!T:&4@<F5S<&]N<V4@:7,@=&AE('-E<W-I
M;VX@:V5Y"B`@("`D<V5S<VEO;DME>2`](#Q414U0/CL*"21S97-S:6]N2V5Y
M(#U^(',O7&XO+SL*"21S97-S:6]N2V5Y(#U^(',O7'(O+SL*"@EW:&EL92`H
M/%1%35`^*2!["@D))&QI;F4@/2`D7SL*"0DD;&EN92`]?B!S+UQN+R\["@D)
M)&QI;F4@/7X@<R]<<B\O.PH)"21R97-U;'0@+CT@)&QI;F4["@E]"@H@("`@
M8VQO<V4H5$5-4"D["@H@("`@(R!C;&5A;B!U<"!T:&4@=&5M<&]R87)Y(&9I
M;&4*("`@('5N;&EN:R`B)'1E;7!F:6QE(CL*"@EI9B`H)'-E<W-I;VY+97D@
M97$@(B(I('L*"0DF0T-%<G)O<B@F34-+1V5T17)R;W)-97-S86=E*"1%7TYO
M7U-K97DI*3L*"0ER971U<FX@*"1%7T5N8W)Y<'1&86EL960L("1S97-S:6]N
M2V5Y+"`D34%#+"`D<F5S=6QT*3L*"7T*"6EF("@D34%#(&5Q("(B*2!["@D)
M)D-#17)R;W(H)DU#2T=E=$5R<F]R365S<V%G92@D15].;U]-04,I*3L*"0ER
M971U<FX@*"1%7T5N8W)Y<'1&86EL960L("1S97-S:6]N2V5Y+"`D34%#+"`D
M<F5S=6QT*3L*"7T*"6EF("@D<F5S=6QT(&5Q("(B*2!["@D))D-#17)R;W(H
M)DU#2T=E=$5R<F]R365S<V%G92@D15].;U]-97-S86=E*2D["@D)<F5T=7)N
M("@D15]%;F-R>7!T1F%I;&5D+"`D<V5S<VEO;DME>2P@)$U!0RP@)')E<W5L
M="D["@E]"@H)<F5T=7)N("@P+"`D<V5S<VEO;DME>2P@)$U!0RP@)')E<W5L
M="D["GT*"G-U8B!#0T1E8W)Y<'0@"GL*"6UY("@D;65S<V%G92D@/2!`7SL*
M"@EM>2`H)69I96QD<RD["@EM>2`H)'=R87!P961+97DI.PH);7D@*"1S97-S
M:6]N2V5Y+"`D34%#*3L*"6UY("@D<F5S<&]N<V4I.PH);7D@*"1S=&%T=7,I
M(#T@,#L*"6UY("@D=&5M<&9I;&4I(#T@,#L*"@DC($UE<W-A9V4@:&%S('1O
M(&)E('5N=W)A<'!E9"!T;R!G970@=&AE('!I96-E<PH@("`@)D-#1&5B=6<R
M("@V+"`B)'MI;F1E;G1](R,C(R,@:6X@0T-$96-R>7!T(",C(R,C(UQN(BD[
M"@H@("`@)69I96QD<R`]("954DQD96-O9&5&;W)M*"1M97-S86=E*3L*"@DC
M(%)E<W!O;G-E(&ES(&YO="!E;F-R>7!T960@:68@=&AE<F4@:7,@;F\@<V5S
M<VEO;B!K97D*"2,@26UP;&EE<R!T:&%T('1H97)E(&ES(&$@8V]N9FEG=7)A
M=&EO;B!P<F]B;&5M"@DC(&5I=&AE<B!I;B!T:&4@34-+(&]R('1H92!W<F%P
M<&5R"@DC('1H870@<')E=F5N=&5D('1H92!M97)C:&%N="!F<F]M(&)E:6YG
M(`H)(R!R96-O9VYI>F5D"@H):68@*"%D969I;F5D("1F:65L9'-[)W-E<W-I
M;VXM:V5Y)WTI('L*"0ER971U<FXH,"PD;65S<V%G92D["@E]"@D*"B`@("`C
M(&-A;B=T('5S92!C;VUM86YD(&QI;F4@=&\@<&%S<R!T97AT(&]N($Y4+"!S
M;PH@("`@(R!W<FET92!T:&4@;65S<V%G92!T;R!A('1E;7!O<F%R>2!F:6QE
M"@DC("!$;R!T:&ES(&EN(%5N:7@@=&]O+"!S:6YC92!E>&5C(&]N(&%N>71H
M:6YG(&9R;VT@=7-E<@H)(R`@<'5T(&]N('1H92!C;VUM86YD(&QI;F4@:7,@
M<')E='1Y('-U:6-I9&%L(0H*("`@("1T96UP9FEL92`](")-0TMD96-R)"0B
M.PH@("`@)'1E;7!F:6QE(#U^('1R+T$M6F$M>C`M.5\O+V-D.PH)"B`@("`D
M=&5M<&9I;&4@/2`D5$U01$E2("X@(B1T96UP9FEL92YT;7`B.PH*"2-R97-P
M;VYS92!I<R!E;F-R>7!T960L('-O('1H:7,@:7-N)W0@<V5N<VET:79E.B`@
M"@DC(&1E8W)Y<'1I;VX@;6%Y(&)E+BXN+@H*"6]P96XH5$5-4"PB/B1T96UP
M9FEL92(I.PH@("`@"B`@("`D=W)A<'!E9$ME>2`]("1#;VYF:6=[(DU%4D-(
M04Y47TM%62)].PH))'-E<W-I;VY+97D@/2`D9FEE;&1S>R)S97-S:6]N+6ME
M>2)].PH))$U!0R`@("`@("`@/2`D9FEE;&1S>R)M86,B?3L*"21M97-S86=E
M("`@(#T@)&9I96QD<WLB;65S<V%G92)].PH*("`@("`@("`C(%=E(&1O(&YO
M="!L;V<@=&AE(&1E8W)Y<'1I;VX@:6YP=70@8F5C875S90H@("`@("`@(",@
M:70@;6%Y(&-O;G1A:6X@<V5N<VET:79E(&1A=&$Z("!L:6ME(&-R961I="!C
M87)D(&]R(&-H96-K:6YG"B`@("`@("`@(R!A8V-O=6YT(&YU;6)E<G,N("!)
M9B!Y;W4@;F5E9"!T;R!S964@=&AE(&EN<'5T+`H@("`@("`@(",@=6YC;VUM
M96YT('1H:7,@;&EN92!A;F0@<V5T('1H92!D96)U9R!L979E;"!A<R!N965D
M960*(`H@("`@(R,F0T-$96)U9S(@*#8L("(D>VEN9&5N='T@:V5Y(#TD=W)A
M<'!E9$ME>5QN(BD["B`@("`C(R9#0T1E8G5G,B`H-BP@(B1[:6YD96YT?2!D
M96-R>7!T:6YG.EQN)&UE<W-A9V5<;B(I.PH@("`@(R,F0T-$96)U9S(@*#8L
M("(D>VEN9&5N='T@34%#.EQN)$U!0UQN(BD["B`@("`C(R9#0T1E8G5G,B`H
M-BP@(B1[:6YD96YT?2!S:V5Y.EQN)'-E<W-I;VY+97E<;B(I.PH*("`@("-,
M:6YE(#$@:7,@=&AE('=R87!P960@:V5Y+@H@("`@(W1H92!R97-T(&ES('1H
M92!M97-S86=E"B`@("`@("`*("`@('!R:6YT(%1%35`@(B1W<F%P<&5D2V5Y
M7')<;B(["B`@("!P<FEN="!414U0("(D<V5S<VEO;DME>5QR7&XB.PH@("`@
M<')I;G0@5$5-4"`B)$U!0UQR7&XB.PH@("`@<')I;G0@5$5-4"`D;65S<V%G
M93L*("`@('!R:6YT(%1%35`@(EQR7&XB.R`@(",@9F]R8V4@82!F;'5S:`H@
M("`@8VQO<V4H5$5-4"D["B`*("`@(",@9V5T('1H92!B87-E-C0M96YC;V1E
M9"!-1#4@:&%S:`H@("`@;W!E;BA#4EE05"PB)$U#2V1E8W)Y<'0@+68@)'1E
M;7!F:6QE?"(I.PH@("`@("`@(`H)(TEF('1H92!R97-P;VYS92!S=&%R=',@
M=VET:"!A("<C)RP@=&AE<F4@:&%S(&)E96X@86X@97)R;W(*"2,@3W1H97)W
M:7-E+"!T:&4@<F5S<&]N<V4@:7,@82!U<FPM96YC;V1E9"!H='1P(&UE<W-A
M9V4*("`@("1R97-P;VYS92`](#Q#4EE05#X["@EC:&]M<"@D<F5S<&]N<V4I
M.PH*"2,C("9#0T1E8G5G,B@Y+")$96-R>7!T960@<F5S<&]N<V4@:7,@)')E
M<W!O;G-E7&XB*3L*"@EI9B`H)')E<W!O;G-E(#U^("]>(R,C+RD@>PH)"29#
M0T5R<F]R*"(D<F5S<&]N<V5<;B(I.PH)"21S=&%T=7,@/2`D15]$96-R>7!T
M1F%I;&5D.PH)?0H*("`@(&-L;W-E*$-265!4*3L*(`H@("`@(R!C;&5A;B!U
M<"!T:&4@=&5M<&]R87)Y(&9I;&4*("`@('5N;&EN:R`B)'1E;7!F:6QE(CL*
M"@ER971U<FX@*"1S=&%T=7,L("1R97-P;VYS92D["GT*"B,@2&5R92!I<R!T
M:&4@8V]D92!T:&%T(&]P96YS(&$@<V]C:V5T(&%N9"!S<75I<G1S(&1O=VX@
M82!M97-S86=E+@HC(')E='5R;G,@82!S=&%T=7,@8V]D92!A;F0@=&AE(")U
M;F1I9V5S=&5D(B!R97!O;G-E('-T<FEN9PH*<W5B($-#4V]C:V5T4V5N9`I[
M"@EM>2`H)$-#4V5R=F5R2&]S="P@)$-#4V5R=F5R4&]R="P@)&UE<W-A9V4L
M("1T:6UE;W5T*2`]($!?.PH*"B`@("!M>2@D8V-?<V5R=F5R7V%D9'(L0&-C
M7W-E<G9E<E]A9&1R<RPD8V-?<V5R=F5R7W-O8VME="D["B`@("!M>2@D;F%M
M92PD86QI87-E<RPD<')O=&]C;VPL)&%D9')T>7!E+"1L96YG=&@I.PH@("`@
M;7DH)&UE<W-A9V5?;&5N9W1H+"1W<FET95]R97-U;'0I.PH@("`@;7DH)%1I
M;65D3W5T+"1S;V-K971?9&%T82Q`<V]C:V5T7V1A=&$I.PH);7DH)&QI;F4L
M("1I<U-T871U<TQI;F4I.PH);7DH)&5R<F-O9&4I(#T@,#L@(VYO(&5R<F]R
M"@EM>2@D8V]D92D["@EM>2@D;VQD1D@I.PH*"2,@<V5T('5P('1H92!S;V-K
M970@=&\@=&%L:R!T;R!T:&4@<&%Y;65N="!S97)V97(*"6EF("@D3U,@97$@
M)U5.25@G*2!["@D))%-/0TM?4U1214%-(#T@4T]#2U]35%)%04T["@D))$%&
M7TE.150@/2!!1E])3D54.PH)?2!E;'-E('L*"0DD4T]#2U]35%)%04T@/2`Q
M.PH)"21!1E])3D54(#T@,CL*"7T*"@DC(&9I;F0@=&AE(%1#4"!P<F]T;V-O
M;"!I;F9O<FUA=&EO;@H@("`@*"1N86UE+"1A;&EA<V5S+"1P<F]T;V-O;"D@
M/2!G971P<F]T;V)Y;F%M92@G=&-P)RD["@H)(R!F:6YD('1H92!A9&1R97-S
M(&9O<B!T:&4@<&%Y;65N="!S97)V97(*("`@:68@*"1#0U-E<G9E<DAO<W0@
M/7X@+UXH7&0K*5PN*%QD*RE<+BA<9"LI7"XH7&0K*20O*2!["B`@("`@("1C
M8U]S97)V97)?861D<B`]('!A8VLH(D,T(BP@)#$L("0R+"`D,RP@)#0I.PH@
M("!](&5L<V4@>PH@("`@("`H)&YA;64L)&%L:6%S97,L)&%D9')T>7!E+"1L
M96YG=&@L0&-C7W-E<G9E<E]A9&1R<RD@"@D)"3T@9V5T:&]S=&)Y;F%M92@D
M0T-397)V97)(;W-T*3L*("`@("`@)&-C7W-E<G9E<E]A9&1R(#T@)&-C7W-E
M<G9E<E]A9&1R<ULP73L*("`@?0H*"2,@4'5T('1H92!S;V-K970@:6YF;R!I
M;G1O('1H92!C;W)R96-T(&9O<FUA="!F;W(@=&AE(&-O;FYE8W0*"@DD8V-?
M<V5R=F5R7W-O8VME="`*"0D]('-O8VMA9&1R7VEN*"1#0U-E<G9E<E!O<G0L
M)&-C7W-E<G9E<E]A9&1R*3L*"0H)(R!M86ME('1H92!S;V-K970@9FEL96AA
M;F1L92!A;F0@8V]N;F5C="!T;R!T:&4@<V]C:V5T"@DC(&EF(&%N>2!F86EL
M+"!R97!L>2!A;F0@<F5T=7)N('=I=&@@86X@87!P<F]P<FEA=&4@97)R;W(@
M;65S<V%G90H)(R`B4R(@:7,@=&AE('-O8VME="!F:6QE:&%N9&QE"@H@("`@
M<V]C:V5T*%,L)$%&7TE.150L)%-/0TM?4U1214%-+"1P<F]T;V-O;"D@"@D)
M?'P@<F5T=7)N("@D15]3;V-K971&86EL960L("(B*3L*"@DF0T-$96)U9S(H
M.2P@(")<;D]P96YE9"!S;V-K970N7&XB*3L*"B`@("!C;VYN96-T*%,L)&-C
M7W-E<G9E<E]S;V-K970I(`H)"7Q\(')E='5R;B`H)$5?0V]N;F5C=$9A:6QE
M9"P@(B(@*3L*"@DF0T-$96)U9S(H.2P@(D-O;FYE8W1E9"!T;R!S;V-K970N
M7&Y<;B(I.PH*("`@(&EF("@D3U,@97$@)U5.25@G*2![(",@86QA<FUS(&%R
M92!N;W0@:6UP;&5M96YT960@:6X@3E0@4&5R;`H)"0DC('-E="!U<"!A(&AA
M;F1L97(@9F]R(')E<W!O;G-E('1I;65O=71S"@D))%-)1WLG04Q232=](#T@
M7"94:6UE;W5T.PH*"0D)(R!324=!3%)-('=I;&P@;F]W(&-A;&P@=&AE("9#
M0TUC:T1I<F5C=$QI8C-?,CHZ5&EM96]U="!R;W5T:6YE"@D)"2,@<V5T(&$@
M9FQA9R!S;R!W92!C86X@<V5E(&EF('=E('1I;65D(&]U=`H)"214:6UE9$]U
M="`](#`["@H)"0DC('-E="!T:&4@=&EM96]U="!V86QU92!F;W(@<V5N9&EN
M9R!A(&UE<W-A9V4@("`@"@D)"2,@5T%23DE.1SH@5&AE('!A>6UE;G0@<V5R
M=F5R(&UA>2!W86ET('5P('1O(#DP('-E8V]N9',@9F]R"@D)"2,@("`@("`@
M("`@82!R97-P;VYS92!F<F]M('1H92!#>6)E<D-A<V@@<V5R=F5R+B!)9B!Y
M;W4@9&]N)W0@"@D)"2,@("`@("`@("`@=V%I="!A="!L96%S="`Y,"!S96-O
M;F1S+"!Y;W4@;6%Y(&)E(&=I=FEN9R!U<"`*"0D)(R`@("`@("`@("!T;V\@
M96%R;'DN($)E('!A=&EE;G0N"@D))'1I;65O=70@/2`Q,C`["@D)86QA<FTH
M)'1I;65O=70I.PH@("`@?0H*("`@("1M97-S86=E7VQE;F=T:"`](&QE;F=T
M:"@D;65S<V%G92D["@H))D-#1&5B=6<R*#DL(")-97-S86=E(&QE;F=T:"`]
M("1M97-S86=E7VQE;F=T:%QN(BD["@H)"2,@9F]R8V4@9FQU<V@@=&AE(&]U
M='!U="!B=69F97(*("`@("1O;&1&2"`]('-E;&5C="A3*3L@)'P@/2`Q.R!P
M<FEN="`G)SL@<V5L96-T*"1O;&1&2"D["@H)"2,@<V5N9"!T:&4@;65S<V%G
M92!O=F5R('1H92!S;V-K970*("`@(&EF("@D3U,@97$@)U5.25@G*2!["@D)
M"2,@)'=R:71E7W)E<W5L="!W:6QL(&)E('5N9&5F(&EF('1H97)E('=A<R!A
M;B!E<G)O<@H)"21W<FET95]R97-U;'0@/2!S>7-W<FET92A3+"1M97-S86=E
M+"1M97-S86=E7VQE;F=T:"D["@D)=6YL97-S("@@9&5F:6YE9"@D=W)I=&5?
M<F5S=6QT*2`I(`H)"7L@"@D)"7)E='5R;B`H)$5?4WES=W)I=&5&86EL960L
M("(B*3L*"0E]"@H@("`@?2!E;'-E('L*"@D)<')I;G0@4R`D;65S<V%G93L*
M"B`@("!]"@H)"2,@<F5I;G-T871E(&)U9F9E<F5D($DO3PH@("`@)'P@/2`P
M.PH*"29#0T1E8G5G,B@Y+"`B5W)O=&4@;65S<V%G92!T;R!S;V-K970N7&XB
M*3L*"29#0T1E8G5G,B@Y+"`B4F5A9&EN9R!R97-P;VYS92Y<;B(I.PH*("`@
M(&EF("@D3U,@97$@)U5.25@G*2!["@D)(R!R97-E="!T:&4@86QA<FT@=VAI
M;&4@=V4@=V%I="!F;W(@82!R97-P;VYS90H)"6%L87)M*"1T:6UE;W5T*3L*
M("`@('T*"@D)(R!R96%D('1H92!S;V-K970@;&EN92UB>2UL:6YE"@D)(R!&
M:7)S="!L:6YE(&ES('-P96-I86PN+BX@<W1A='5S(&QI;F4*"21I<U-T871U
M<TQI;F4@/2`Q.PH)"B`@("!W:&EL92`H/%,^*2!["@H)"6EF("@D3U,@97$@
M)U5.25@G*2!["@D)"2,@4F5S=6QT<R!F:6QL960@:6X@8GD@8V%L;&EN9R!R
M;W5T:6YE"@D)"6EF("@D5&EM961/=70I('L@(')E='5R;B`H)$5?5&EM961/
M=70L("(B*2`[('T*"0E]"@H)"21L:6YE(#T@)%\["@D)"@D)(TEF('1H:7,@
M:7,@=&AE(&9I<G-T(&QI;F4L(&-H96-K('1H92!S=&%T=7,*"0EI9B`H)&ES
M4W1A='5S3&EN92`]/2`Q*2!["@D)"2-)<R!T:&ES(&$@:&%P<'D@<W1A='5S
M/PH)"0EI9B`H)&QI;F4@/7X@+UY(5%107"\O:2`I(`H)"0E["@D)"0DC(&QO
M;VMS(&QI:V4@82!G;V]D(')E<W!O;G-E"@D)"0EI9B`H)&QI;F4@/7X@+UL@
M7'1=*%M<9%TK("XJ*2\@*2"0D)?0H)"0D)96QS92!["@D)"0D)
M<F5T=7)N("@D15].;W1(5%10+"`B(BD["@D)"0E]"@D)"7T*"0D)96QS92![
M"@D)"0ER971U<FX@*"1%7TYO=$A45%`L("(B*3L*"0D)?0H*"0D)"@D)"21I
M<U-T871U<TQI;F4@/2`P.PH)"7T*"@D)(R!I9B!W92!A<F4@=&]L9"!T;R!G
M;R!A=V%Y+"!T:&5N('=E('-H;W5L9"!D;R!J=7-T('1H870*"@D):68@*"1L
M:6YE(#U^("]X+6=O+6%W87DM;65S<V%G92]I*2![(`H)"0ER971U<FX@*"`D
M15]';T%W87DL("(B*3L*"0E]"@H)"2,@<F5A9"!U;G1I;"!A(&)L86YK(&QI
M;F4*"0EL87-T(&EF("@D;&EN92`]?B`O7EQS*B0O*3L*"@D):68@*"1/4R!E
M<2`G54Y)6"<I('L@(R!R97-E="!T:&4@86QA<FT@9F]R('1H92!N97AT(&QI
M;F4*"0D@("`@86QA<FTH)'1I;65O=70I.PH)"7T*"B`@("!]"@H@("`@:68@
M*"1/4R!E<2`G54Y)6"<I('L@(R!R97-E="!T:&4@86QA<FT@9F]R('1H92!A
M;&PM870M;VYC92!R96%D"@D)86QA<FTH)'1I;65O=70I.PH@("`@?0H*"2,@
M=V4@=V%N="!T;R!R96%D(&%L;"!T:&4@<F5S="!O9B!T:&4@9&%T82P@86QL
M(&%T(&]N8V4L"@DC('1H96X@8V]N=F5R="!T;R!A('-I;F=L92!S8V%L87(@
M=F%L=64*"B`@("!`<V]C:V5T7V1A=&$@/2`\4SX["B`@("`D<V]C:V5T7V1A
M=&$@/2!J;VEN*"<G+$!S;V-K971?9&%T82D["@H)(R,F0T-$96)U9S(H.2P@
M(E)E860@86QL(&%T(&]N8V4Z7&Y`<V]C:V5T7V1A=&%<;B(I.PH))D-#1&5B
M=6<R*#DL(")&:6YI<VAE9"!R96%D:6YG(')E<W!O;G-E+EQN(BD["@H@("`@
M:68@*"1/4R!E<2`G54Y)6"<I('L@"@D)(R!T=7)N(&]F9B!T:&4@86QA<FT@
M86YD(')E<V5T('1H92!D969A=6QT('-I9VYA;"!H86YD;&5R"@D)86QA<FTH
M,"D["@D))%-)1WLG04Q232=](#T@)T1%1D%53%0G.PH@("`@?0H*"7)E='5R
M;B`H)$5?3F]%<G(L("1S;V-K971?9&%T82D["GT*"B,*(R!4:&ES(')O=71I
M;F4@:7,@8V%L;&5D('=H96X@82!324=!3%)-(&ES(')E8V5I=F5D+@HC(%1H
M870@;65A;G,@=&AA="!W92!H879E('1I;65D+6]U="!W86ET:6YG(&9O<B!A
M(`HC(')E<W!O;G-E(&9R;VT@=&AE('!A>6UE;G0@<V5R=F5R+@HC(`IS=6(@
M5&EM96]U="!["@H@("`@)%1I;65D3W5T(#T@,3L*?0H*"B,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,*(PHC($5R<F]R(')E<&]R=&EN9R!R;W5T:6YE<PHC"@IS=6(@1F%I;'5R
M95)E<W!O;G-E(`I["@EM>2`H)'-T871U<RP@)')E<W!O;G-E*2`]($!?.PH)
M;7DH)&UE<W-A9V4I.PH*"6UY*"5R97-U;'0I.PH*("`@("1R97-U;'1[)TU3
M=&%T=7,G?2`]("=F86EL=7)E+6AA<F0G.PH@("`@)')E<W5L='LG345R<DQO
M8R=](#T@)T-#36-K1&ER96-T3&EB,U\R)SL*"@EI9B`H)'-T871U<R`]/2`D
M15]3;V-K971&86EL960I('L*("`@(`DD<F5S=6QT>R=-17)R37-G)WT@/2`G
M0V]U;&0@;F]T(&]P96X@<V]C:V5T('1O(&-O;FYE8W0@=&\@365R8VAA;G0@
M4&%Y;65N="!397)V97(N)SL*"7T*"65L<VEF("@D<W1A='5S(#T]("1%7T-O
M;FYE8W1&86EL960I('L*("`@(`DD<F5S=6QT>R=-17)R37-G)WT@/2`\/"=%
M3D0G.PI#;W5L9"!N;W0@8V]N;F5C="!S;V-K970@=&\@=&AE($UE<F-H86YT
M(%!A>6UE;G0@4V5R=F5R+B`*270@;6%Y(&YO="!B92!R=6YN:6YG(&]R('EO
M=7(@8V]N9FEG=7)A=&EO;B!M87D@8F4@:6YC;W)R96-T+@I%3D0*"7T*"65L
M<VEF("@D<W1A='5S(#T]("1%7U-Y<W=R:71E1F%I;&5D*2T-O=6QD(&YO="!W<FET92!T;R!T:&4@<V]C
M:V5T+B<["@E]"@EE;'-I9B`H)'-T871U<R`]/2`D15]4:6UE9$]U="D@>PH@
M("`@"21R97-U;'1[)TU%<G)-<V<G?2`](").;R!R97-P;VYS92!I;B`D=&EM
M96]U="!S96-O;F1S(&9R;VT@=&AE($UE<F-H86YT(%!A>6UE;G0@4V5R=F5R
M+B(["@E]"@EE;'-I9B`H)'-T871U<R`]/2`D15]';T%W87DI('L*("`@(`DD
M<F5S=6QT>R=-17)R3&]C)WT@/2`G35!-5"<["B`@("`))')E<W5L='LG345R
M<DUS9R=](#T@)TUI<V-O;F9I9W5R960@<V5R=F5R+T-'22US8W)I<'0@<V5C
M<F5T+B<["@E]"@EE;'-I9B`H)'-T871U<R`]/2`D15].;U]34TPI('L*("`@
M(`DD<F5S=6QT>R=-17)R37-G)WT@/2`B5&AE($U#2R!$:7)E8W0@0V]N;F5C
M=&EO;B!0<F]T;V-O;"!D;V5S(&YO="!S=7!P;W)T(%-33"XB.PH)?0H)96QS
M:68@*"1S=&%T=7,@/3T@)$5?0F%D365T:&]D*2A9"!297%U97-T($UE=&AO9"(["@E]"@EE;'-I9B`H
M)'-T871U<R`]/2`D15]';T%W87DI('L*("`@(`DD<F5S=6QT>R=-17)R3&]C
M)WT@/2`G35!-5"<["B`@("`))')E<W5L='LG345R<DUS9R=](#T@)TUI<V-O
M;F9I9W5R960@<V5R=F5R+T-'22US8W)I<'0@<V5C<F5T+B<["@E]"@EE;'-I
M9B`H)'-T871U<R`]/2`D15].;W1?2%144"D@>PH@("`@"21R97-U;'1[)TU%
M<G)-<V<G?2`](#P\)T5.1"<["DEN=F%L:60@<F5S<&]N<V4@<F5C96EV960@
M9G)O;2!(5%10('-E<G9E<CH@"E1H92!(3U-4(&%N9"!03U)4(&EN('EO=7(@
M8V]N9FEG=7)A=&EO;B!D;V5S(&YO="!S965M('1O("I"12H@86X@2%144"!S
M97)V97(A"D5.1`H)?0H)96QS:68@*"1S=&%T=7,@/3T@)$5?1F%I;&5D7TA4
M5%`I('L*"0DD;65S<V%G92`](`DB5&AE($A45%`@<V5R=F5R(&AA<R!N;W0@
M<')O8V5S<V5D('EO=7(@<F5Q=65S="Y<;B(["@D))&UE<W-A9V4@+CT@(DAE
M<F4@:7,@=&AE(')E<W!O;G-E('-T871U<R!T:&%T(&ET(')E='5R;F5D.B!<
M;B(["@D))&UE<W-A9V4@+CT@(B`@)')E<W!O;G-E(%QN(CL*"B`@("`))')E
M<W5L='LG345R<DUS9R=](#T@)&UE<W-A9V4["@E]"@EE;'-I9B`H)'-T871U
M<R`]/2`D15].;T-O;F9I9RD@>PH@("`@"21R97-U;'1[)TU%<G),;V,G?2`]
M("=-0TL@0V]N9FEG=7)A=&EO;B<["@D))')E<W5L='LG345R<DUS9R=](#T@
M(B1R97-P;VYS95QN(CL*"7T*"65L<VEF("@D<W1A='5S(#T]("1%7T5N8W)Y
M<'1&86EL960I('L*"0DD<F5S=6QT>R=-17)R37-G)WT@/2`B16YC<GEP=&EO
M;B!F86EL961<;B(["@E]"@EE;'-I9B`H)'-T871U<R`]/2`D15]$96-R>7!T
M1F%I;&5D*2Y<'1I;VX@
M9F%I;&5D7&XB.PH)?0H)96QS:68@*"1S=&%T=7,@/3T@)$5?4VEG;F%T=7)E
M1F%I;&5D*2<F5T=7)N("5R97-U;'0["GT*"C$["@==
`
end
begin 600 CCMckErrno3_2.pm.txt
M(R`M+2HM4$523"TJ+2T*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C"B,*(R!#
M;W!Y<FEG:'0@,3DY-BP@0WEB97)#87-H($EN8RX@06QL(')I9VAT<R!R97-E
M<G9E9"X*(R!7<FET=&5N(&)Y($)R:6%N($)O97-C:"!A;F0@2G5D>2!'<F%S
M<PHC($UO9&EF:65D(&)Y($=E;F4@1V]T:6UE<@HC"B,@5&AE<V4@<F]U=&EN
M97,@87)E(&EN=&5N9&5D('1O(&)E('5S960@97AC;'5S:79E;'D@=VET:"!T
M:&4@"B,@0WEB97)#87-H('-E8W5R92!P87EM96YT('-Y<W1E;2X*(PHC(%)#
M4TE$.B`D260Z($-#36-K17)R;F\S7S(N<&TL=B`Q+C,@,3DY."\P,R\S,"`R
M,3HR-#HQ,"!G<F%S<R!%>'`@)`HC"B,@17)R;W(@8V]D97,@86YD(&UE<W-A
M9V5S"B,*(R!$;R!N;W0@<F5D:7-T<FEB=71E('=I=&AO=70@=W)I='1E;B!P
M97)M:7-S:6]N(&9R;VT@0WEB97)#87-H($EN8RX*(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(PH*<&%C:V%G92!#0TUC:T5R<FYO,U\R.PH*<F5Q=6ER92`U
M+C`P,SL*"G)E<75I<F4@17AP;W)T97(["D!)4T$@/2`H17AP;W)T97(I.PI`
M15A03U)4(#T@<7<H*3L*0$584$]25%]/2R`]('%W*$U#2T=E=$5R<F]R365S
M<V%G92`D15].;T5R<B`D15]%4E)/4@H*("`@("1%7T%L87)M7T9A:6QE9"`@
M("`D15]"861#;VYT7TQE;B`@("`D15]"861-971H;V0@("`@("`@)$5?0F%D
M7T%M;W5N="`*("`@("1%7T)A9%]#;VYF:6<@("`@("`D15]"861?0W5R<F5N
M8WD@("`D15]"861?3W)D97)I9"`@("`@)$5?0F%D7U!A<F%M<R`*("`@("1%
M7T)A9%]087EL;V%D("`@("`D15]"861?5&EM96]U="`@("`D15]"861?57)L
M("`@("`@("`@)$5?0FEG7T%M;W5N=`H@("`@)$5?0G)O=W-E<B`@("`@("`@
M("1%7T-A<VA?4F5G:7-T97(@("1%7T-O;FYE8W1&86EL960@("`D15]#<GEP
M=&\*("`@("1%7T1.4U]&86EL960@("`@("`D15]$96-R>7!T1F%I;&5D("`D
M15]%;F-R>7!T1F%I;&5D("`@)$5?1F%I;%].;W1I9@H@("`@)$5?1F%I;&5D
M7TA45%`@("`@("1%7T=O07=A>2`@("`@("`@("1%7TU!0U]#;VUP87)E("`@
M("`D15]-1E]3:6=N871U<F4*("`@("1%7TYE9U]!;6]U;G0@("`@("`D15].
M;U]#;VYT7TQE;B`@("`D15].;U]&:6QE"B`@("`D15].;U]'970@("`@("`@
M("`@)$5?3F]?34%#("`@("`@("`@)$5?3F]?365M;W)Y(`H@("`@)$5?3F]?
M4$]0("`@("`@("`@("1%7TYO7U!O<W0@("`@("`@("1%7TYO7T%M;W5N="`@
M("`@("`D15].;U]#87-H4F5G"B`@("`D15].;U]#;VYF:6<@("`@("`@)$5?
M3F]?2V5Y("`@("`@("`@)$5?3F]?365S<V%G92`@("`@("1%7TYO7TUE=&AO
M9`H@("`@)$5?3F]?3F]T:69,;V<@("`@("1%7TYO7T]R9&5R3&]G("`@("1%
M7TYO7T]R9&5R:60@("`@("`D15].;U]087E?4&%G92`*("`@("1%7TYO7U!A
M>6QO860@("`@("`D15].;U]296-E:7!T("`@("`D15].;U]3:V5Y("`@("`@
M("`*("`@("1%7TYO7U-33"`@("`@("`@("`D15].;U]496UP;&%T90H))$5?
M3F]T7TA45%`@"B`@("`D15].=6QL7T-O;F9I9R`@("`@)$5?3G5L;%]-<V<@
M("`@("`@)$5?3G5L;%]297-U;'0@("`@("1%7T]R9&5R7TYO=$9O=6YD"B`@
M("`D15]/<F1E<E].;W13879E9"`@)$5?4&%Y;65N=%]&86EL960@)$5?4$]0
M7U-I9VYA='5R92`@"@DD15]296%D7U1E;7!L871E("`@)$5?4F5J96-T7T-U
M<G)E;F-Y(`H@("`@)$5?4VEG;F%T=7)E1F%I;&5D("1%7U-O8VME=$9A:6QE
M9"`@("1%7U-O8VMO<'1?1F%I;&5D("`D15]3=&%T7T9A:6QE9"`*("`@("1%
M7U-Y<W=R:71E1F%I;&5D("`D15]4:6UE9$]U=`H))$5?0U!)7U-I9VYA='5R
M92`@("1%7TU/7U-I9VYA='5R90H@*3L*"B,@3&]A9"!E<G)O<B!C;VYS=&%N
M=',*)$5?3F]%<G(@/2`P.PHD0T-?15)20D%312`]("TS,#`["@H)(T=E;F5R
M:6,@=6YK;F]W;B!E<G)O<@HD15]%4E)/4B`]("1#0U]%4E)"05-%.PH*"2,@
M17)R;W)S(&EN('1H92!R97%U97-T(&9O<B!#1TD@<V5R=FEC90HD15].;U]0
M;W-T("`@("`@/2`D0T-?15)20D%312`M(#$["B1%7TYO7T-O;G1?3&5N("`]
M("1#0U]%4E)"05-%("T@,CL*)$5?0F%D0V]N=%],96X@/2`D0T-?15)20D%3
M12`M(#,["B1%7TYU;&Q?37-G("`@(#T@)$-#7T524D)!4T4@+2`T.PHD15].
M;U]-971H;V0@("`]("1#0U]%4E)"05-%("T@-3L*)$5?3F]?1V5T("`@("`@
M(#T@)$-#7T524D)!4T4@+2`V.PHD15]"861-971H;V0@("`]("1#0U]%4E)"
M05-%("T@-SL*"@DC;F%R<F]W('5S93H@:6YD:6-A=&5S(&EN8V]M<&%T:6)L
M92!B<F]W<V5R"B1%7T)R;W=S97(@("`@/2`D0T-?15)20D%312`M(#@["@H)
M(T5R<F]R<R!I;B!T:&4@8V]N=&5N="!O9B!T:&4@<F5Q=65S=`HD15].;U]!
M;6]U;G0@("`]("1#0U]%4E)"05-%("T@,3`["B1%7T)A9%]!;6]U;G0@(#T@
M)$-#7T524D)!4T4@+2`Q,3L*)$5?0FEG7T%M;W5N="`@/2`D0T-?15)20D%3
M12`M(#$R.PHD15].96=?06UO=6YT("`]("1#0U]%4E)"05-%("T@,3,["B1%
M7T)A9%]#=7)R96YC>2`]("1#0U]%4E)"05-%("T@,30["B1%7U)E:F5C=%]#
M=7)R96YC>2`]("1#0U]%4E)"05-%("T@,34["B`*)$5?3F]?3W)D97)I9"`@
M/2`D0T-?15)20D%312`M(#$V.PHD15]"861?3W)D97)I9"`@/2`D0T-?15)2
M0D%312`M(#$W.PH@"B1%7TYO7U!A>6QO860@(#T@)$-#7T524D)!4T4@+2`Q
M.#L*)$5?0F%D7U!A>6QO860@(#T@)$-#7T524D)!4T4@+2`Q.3L*"@H)(U!R
M;W1O8V]L(&5R<F]R<PHD15].;U]34TP@("`@("`]("1#0U]%4E)"05-%("T@
M,S`["B1%7T)A9%]5<FP@("`@(#T@)$-#7T524D)!4T4@+2`S,3L*)$5?3F]T
M7TA45%`@("`@/2`D0T-?15)20D%312`M(#,R.PHD15]&86EL961?2%144"`]
M("1#0U]%4E)"05-%("T@,S,["B1%7TYO7T-A<VA296<@(#T@)$-#7T524D)!
M4T4@+2`S-#L*)$5?3F]?365S<V%G92`@/2`D0T-?15)20D%312`M(#,U.PH*
M"2-3;V-K970@=V]E<PHD15]3;V-K971&86EL960@("`]("1#0U]%4E)"05-%
M("T@-#`["B1%7T-O;FYE8W1&86EL960@(#T@)$-#7T524D)!4T4@+2`T,3L*
M)$5?1$Y37T9A:6QE9"`@("`@/2`D0T-?15)20D%312`M(#0R.PHD15]!;&%R
M;5]&86EL960@("`]("1#0U]%4E)"05-%("T@-#,[(`HD15]3;V-K;W!T7T9A
M:6QE9"`]("1#0U]%4E)"05-%("T@-#0["B1%7U-Y<W=R:71E1F%I;&5D(#T@
M)$-#7T524D)!4T4@+2`T-3L*"@DC0V]N9FEG=7)A=&EO;B!P<F]B;&5M<PHD
M15].;U]#;VYF:6<@("`@("`]("1#0U]%4E)"05-%("T@-3`["B1%7TYU;&Q?
M0V]N9FEG("`@(#T@)$-#7T524D)!4T4@+2`U,3L*)$5?0F%D7T-O;F9I9R`@
M("`@/2`D0T-?15)20D%312`M(#4R.PHD15]"861?5&EM96]U="`@("`]("1#
M0U]%4E)"05-%("T@-3,["@H)(T-A<V@@4F5G:7-T97(@<F5S<&]N<V4@<')O
M8FQE;7,*)$5?1V]!=V%Y("`@("`@/2`D0T-?15)20D%312`M(#8P.PHD15]4
M:6UE9$]U="`@("`]("1#0U]%4E)"05-%("T@-C$["B1%7TYO7U!/4"`@("`@
M("`]("1#0U]%4E)"05-%("T@-C(["B1%7U!/4%]3:6=N871U<F4@(#T@)$-#
M7T524D)!4T4@+2`V,SL*)$5?349?4VEG;F%T=7)E("`]("1#0U]%4E)"05-%
M("T@-C0["B1%7T-A<VA?4F5G:7-T97(@/2`D0T-?15)20D%312`M(#8U.PHD
M15]3:6=N871U<F5&86EL960@/2`D0T-?15)20D%312`M(#8V.PHD15]087EM
M96YT7T9A:6QE9"`]("1#0U]%4E)"05-%("T@-C<["B1%7T-025]3:6=N871U
M<F4@(#T@)$-#7T524D)!4T4@+2`V.#L*)$5?34]?4VEG;F%T=7)E("`]("1#
M0U]%4E)"05-%("T@-CD["@H)(W-Y<W1E;2!P<F]B;&5M<R`M+2!P<F]B86)L
M>2!N;W0@<F5L979A;G0@=&\@4$523`H)(R!"=70@9F]R('1H92!S86ME(&]F
M(&ME97!I;F<@:6X@<WEN8V@@=VET:"!O=&AE<B!C;V1E"B1%7TYO7TUE;6]R
M>0D)/2`D0T-?15)20D%312`M(#<P.PHD15]3=&%T7T9A:6QE9"`@/2`D0T-?
M15)20D%312`M(#<Q.PH*"2-#<GEP=&\@<')O8FQE;7,*)$5?3F]?2V5Y("`@
M("`@/2`D0T-?15)20D%312`M(#@P.PHD15]#<GEP=&\@("`@("`]("1#0U]%
M4E)"05-%("T@.#$["B1%7TU!0U]#;VUP87)E(#T@)$-#7T524D)!4T4@+2`X
M,CL*)$5?16YC<GEP=$9A:6QE9"`]("1#0U]%4E)"05-%("T@.#,["B1%7T1E
M8W)Y<'1&86EL960@/2`D0T-?15)20D%312`M(#@T.PHD15].;U]3:V5Y("`@
M("`@(#T@)$-#7T524D)!4T4@+2`X-3L*)$5?3F]?34%#("`@("`@("`]("1#
M0U]%4E)"05-%("T@.#8["@H)"B`@("`C($UI<V-E;&QA;F5O=7,@<')O8FQE
M;7,@"B1%7TYO7U1E;7!L871E("`@(#T@)$-#7T524D)!4T4@+2`Y,#L@("`@
M(R!#86XG="!O<&5N('1H92!T96UP;&%T92`*)$5?4F5A9%]496UP;&%T92`@
M/2`D0T-?15)20D%312`M(#DQ.R`@(R!#86XG="!R96%D('1H92!T96UP;&%T
M92`*)$5?3F]?3W)D97),;V<@("`@/2`D0T-?15)20D%312`M(#DR.R`@(R!#
M86XG="!O<&5N('1H92!O<F1E<B!L;V<@"B1%7T]R9&5R7TYO=$9O=6YD(#T@
M)$-#7T524D)!4T4@+2`Y,SL@(",@0V%N)W0@9FEN9"!T:&4@;W)D97(@"B1%
M7T]R9&5R7TYO=%-A=F5D(#T@)$-#7T524D)!4T4@+2`Y-#L@(",@0V%N)W0@
M<F5C;W)D('1H92!O<F1E<B`*)$5?3G5L;%]297-U;'0@("`@/2`D0T-?15)2
M0D%312`M(#DU.R`@(R!.;R!R97-U;'0@<F5C;W)D('!A<W-E9"!I;B`*)$5?
M0F%D7U!A<F%M<R`@("`@/2`D0T-?15)20D%312`M(#DV.R`@(R!);7!R;W!E
M<B!A<F=U;65N="!T;R!F=6YC=&EO;B`*)$5?3F]?3F]T:69,;V<@("`@/2`D
M0T-?15)20D%312`M(#DW.R`@(R!#86XG="!O<&5N('1H92!N;W1I9FEC871I
M;VX@;&]G"B`*)$5?3F]?4&%Y7U!A9V4@("`@/2`D0T-?15)20D%312`M(#DX
M.R`@(R!#86XG="!G96X@<&%Y;65N="!P86=E(`HD15]&86EL7TYO=&EF("`@
M("`]("1#0U]%4E)"05-%("T@.3D[("`C($YO=&EF:6-A=&EO;B!F86EL960@
M"B1%7TYO7T9I;&4@("`@("`@(#T@)$-#7T524D)!4T4@+2`Q,#`[("`C($-A
M;B=T(&]P96X@9FEL90HD15].;U]296-E:7!T("`@("`]("1#0U]%4E)"05-%
M("T@,3`Q.R`@(R!#86XG="!O<&5N(')E8V5I<'0@=&5M<&QA=&4*(`H*"B5#
M0T5R<F]R37-G<R`]("@*"21%7TYO17)R("`@("`@(#T^(")/2R(L"@DD15]%
M4E)/4B`@("`@("`]/B`B56YS<&5C:69I960@17)R;W(B+`H))$5?3F]?4&]S
M="`@("`@(#T^(")%>'!E8W1I;F<@2%144"!03U-4(&UE<W-A9V4B+`H))$5?
M3F]?0V]N=%],96X@(#T^(").;R!#;VYT96YT+6QE;F=T:"(L"@DD15]"861#
M;VYT7TQE;B`]/B`B0F%D($-O;G1E;G0M;&5N9W1H(BP*"21%7TYU;&Q?37-G
M("`@(#T^(")03U-4(&UE<W-A9V4@8F]D>2!E;7!T>2(L"@DD15].;U]-971H
M;V0@("`]/B`B3F\@2%144"!R97%U97-T(&UE=&AO9"!S<&5C:69I960B+`H)
M)$5?3F]?1V5T("`@("`@(#T^(")%>'!E8W1I;F<@2%144"!'150@<F5Q=65S
M="(L"@DD15]"861-971H;V0@("`]/B`B56YE>'!E8W1E9"!(5%10(')E<75E
M<W0@;65T:&]D(BP*"@DD15]"<F]W<V5R("`@(#T^(")5;G-U<'!O<G1E9"!B
M<F]W<V5R(BP*"@DD15].;U]!;6]U;G0@("`]/B`B3F\@<')I8V4O86UO=6YT
M('-P96-I9FEE9"(L"@DD15]"861?06UO=6YT("`]/B`B26YV86QI9"!P<FEC
M92]A;6]U;G0@<W!E8VEF:65D(BP*"21%7T)I9U]!;6]U;G0@(#T^(")0<FEC
M92]A;6]U;G0@<W!E8VEF:65D(&ES('1O;R!L87)G92(L"@DD15].96=?06UO
M=6YT("`]/B`B4')I8V4O86UO=6YT('-P96-I9FEE9"!I<R!N96=A=&EV92!O
M<B!Z97)O(BP*"21%7T)A9%]#=7)R96YC>2`]/B`B0W5R<F5N8WD@<W!E8VEF
M:65D(&ES(&EN=F%L:60B+`H))$5?4F5J96-T7T-U<G)E;F-Y(#T^(")#=7)R
M96YC>2!S<&5C:69I960@:7,@;F]T(&%C8V5P=&5D(BP*(`H))$5?3F]?3W)D
M97)I9"`@/3X@(DYO($]R9&5R($ED('-P96-I9FEE9"(L"@DD15]"861?3W)D
M97)I9"`@/3X@(DEN=F%L:60@3W)D97(@260@<W!E8VEF:65D(BP*(`H))$5?
M3F]?4&%Y;&]A9"`@/3X@(D-A;FYO="!O<&5N+W)E860@<&%Y;&]A9"(L"@DD
M15]"861?4&%Y;&]A9"`@/3X@(DEN=F%L:60@<&%Y;&]A9"(L"@H*"21%7TYO
M7U-33"`@("`@(#T^(")34TP@:7,@=6YS=7!P;W)T960@9F]R(&1I<F5C="!C
M;VYN96-T(BP*"21%7T)A9%]5<FP@("`@(#T^(")54DP@:7,@;6%L9F]R;65D
M(BP*"21%7TYO=%](5%10("`@(#T^("));G9A;&ED($A45%`@<F5S<&]N<V4B
M+`H))$5?1F%I;&5D7TA45%`@/3X@(DA45%`@<F5Q=65S="!F86EL960B+`H)
M)$5?3F]?0V%S:%)E9R`@/3X@(FUI<W-I;F<@0V%S:"!296=I<W1E<B!(;W-T
M(&]R(%!O<G0B+`H))$5?3F]?365S<V%G92`@/3X@(FUI<W-I;F<@;65S<V%G
M92!F;W(@0T-3;V-K971396YD(BP*"@DD15]3;V-K971&86EL960@("`]/B`B
M<WES=&5M('-O8VME="@I(&9A:6QE9"(L"@DD15]#;VYN96-T1F%I;&5D("`]
M/B`B<WES=&5M('-O8VME="!C;VYN96-T*"D@9F%I;&5D(BP*"21%7T1.4U]&
M86EL960@("`@(#T^(")5;F%B;&4@=&\@<F5S;VQV92!H;W-T(&YA;64B+`H)
M)$5?06QA<FU?1F%I;&5D("`@/3X@(E5N:7@@06QA<FT@9F%I;'5R92(L"@DD
M15]3;V-K;W!T7T9A:6QE9"`]/B`B<WES=&5M('-E='-O8VMO<'0H*2!F86EL
M960B+`H))$5?4WES=W)I=&5&86EL960@/3X@(G-O8VME="!W<FET92@I(&9A
M:6QE9"(L"@H))$5?3F]?0V]N9FEG("`@("`@/3X@(D-A;FYO="!O<&5N($U#
M2R!#;VYF:6=U<F%T:6]N(&9I;&4B+`H))$5?3G5L;%]#;VYF:6<@("`@/3X@
M(DU#2R!#;VYF:6=U<F%T:6]N(&ES(&YO="!I;FET:6%L:7IE9"(L"@DD15]"
M861?0V]N9FEG("`@("`]/B`B34-+($-O;F9I9W5R871I;VX@9FEL92!H87,@
M<WEN=&%X(&5R<F]R<R(L"@DD15]"861?5&EM96]U="`@("`]/B`B26YV86QI
M9"!T:6UE;W5T('9A;'5E("@\/2`P*2(L"@H))$5?1V]!=V%Y("`@("`@/3X@
M(E-E<G9E<B!R96IE8W1E9"!R97%U97-T(BP*"21%7U1I;65D3W5T("`@(#T^
M(")397)V97(@<F5Q=65S="!T:6UE9"!O=70B+`H))$5?3F]?4$]0("`@("`@
M(#T^(").;R!03U`@<F5C;W)D(')E='5R;F5D(&9O<B!P87EM96YT(')E<75E
M<W0B+`H))$5?4$]07U-I9VYA='5R92`@/3X@(E!R;V]F+6]F+7!U<F-H87-E
M("A03U`I('-I9VYA='5R92!E<G)O<B(L"@DD15]-1E]3:6=N871U<F4@(#T^
M(")-97)C:&%N="!D871A("A-1BD@<VEG;F%T=7)E(&5R<F]R(BP*"21%7T-A
M<VA?4F5G:7-T97(@/3X@(E!R;V)L96T@870@=&AE($-A<V@@4F5G:7-T97(B
M+`H))$5?4VEG;F%T=7)E1F%I;&5D(#T^(")3:6=N871U<F4@97)R;W(B+`H)
M)$5?4&%Y;65N=%]&86EL960@/3X@(E!A>6UE;G0@1F%I;&5D(BP*"21%7TU/
M7U-I9VYA='5R92`@/3X@(DUE<F-H86YT($]R9&5R("A-3RD@<VEG;F%T=7)E
M(&5R<F]R(BP*"21%7T-025]3:6=N871U<F4@(#T^(")087EM96YT($EN<W1R
M=6UE;G0@*$-022D@<VEG;F%T=7)E(&5R<F]R(BP*"@DD15].;U]-96UO<GD)
M"3T^(")/=70@;V8@;65M;W)Y(BP*"21%7U-T871?1F%I;&5D("`]/B`B<W1A
M="@I(&]N(&9I;&4@9F%I;&5D(BP*"@DD15].;U]+97D@("`@("`]/B`B3F\@
M;65R8VAA;G0@96YC<GEP=&EO;B!K97DB+`H))$5?0W)Y<'1O("`@("`@/3X@
M(D9A:6QU<F4@:6X@0W)Y<'1O9W)A<&AI8R!L:6)R87)Y(BP*"21%7TU!0U]#
M;VUP87)E(#T^(")-97-S86=E($U!0W,@87)E(&YO="!I9&5N=&EC86PB+`H)
M)$5?16YC<GEP=$9A:6QE9"`]/B`B34-+96YR>7!T(&9A:6QE9"(L"@DD15]$
M96-R>7!T1F%I;&5D(#T^(")-0TMD96-R>7!T(&9A:6QE9"(L"@DD15].;U]3
M:V5Y("`@("`@(#T^(")-:7-S:6YG(%-E<W-I;VX@2V5Y(BP*"21%7TYO7TU!
M0R`@("`@("`@/3X@(DUI<W-I;F<@34%#(BP*"@DD15].;U]496UP;&%T92`@
M("`]/B`B0V%N;F]T(&]P96X@=&5M<&QA=&4B+`H))$5?4F5A9%]496UP;&%T
M92`@/3X@(D9A:6QU<F4@=VAI;&4@<F5A9&EN9R!T96UP;&%T92(L"@DD15].
M;U]/<F1E<DQO9R`@("`]/B`B0V%N;F]T(&]P96X@=&AE($]R9&5R($QO9R(L
M"@DD15]/<F1E<E].;W1&;W5N9"`]/B`B3W)D97(@;F]T(&9O=6YD(BP*"21%
M7T]R9&5R7TYO=%-A=F5D(#T^(")/<F1E<B!N;W0@<V%V960B+`H))$5?3G5L
M;%]297-U;'0@("`@/3X@(E5N97AP96-T960@3G5L;"!R97-U;'0B+`H))$5?
M0F%D7U!A<F%M<R`@("`@/3X@(DEN=F%L:60@<&%R86UE=&5R<R!F;W(@9G5N
M8W1I;VX@8V%L;"(L"@DD15].;U].;W1I9DQO9R`@("`]/B`B0V%N;F]T(&]P
M96X@3F]T:69I8V%T:6]N($QO9R(L"B`*"21%7TYO7U!A>5]086=E("`@(#T^
M(")&86EL960@=&\@9V5N97)A=&4@82!087EM96YT(%!A9V4B+`H))$5?1F%I
M;%].;W1I9B`@("`@/3X@(E5N86)L92!T;R!,;V<@=&AI<R!T<F%N<V%C=&EO
M;B(L"@DD15].;U]&:6QE("`@("`@("`]/B`B56YA8FQE('1O(&]P96X@9FEL
M92(L"@DD15].;U]296-E:7!T("`@("`]/B`B4&%Y;65N="!S=6-C97-S9G5L
M+"!F86EL960@=&\@9V5N97)A=&4@<F5C96EP="(L"B`**3L*"@IS=6(@34-+
M1V5T17)R;W)-97-S86=E"GL*"6UY*"1E<G)C;V1E*2`]($!?.PH)"@EI9B`H
M9&5F:6YE9"`D0T-%<G)O<DUS9W-[)&5R<F-O9&5]*2!["@D)<F5T=7)N("1#
M0T5R<F]R37-G<WLD97)R8V]D97T["@E]"@H)<F5T=7)N(")5;FMN;W=N($5R
,<F]R(CL*?0H*,3L*
`
end
begin 600 CCMckLib3_2.pm.txt
M(R`M+2HM4$523"TJ+2T*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C"B,*(R!#
M;W!Y<FEG:'0@,3DY-BP@0WEB97)#87-H($EN8RX@06QL(')I9VAT<R!R97-E
M<G9E9"X*(R!7<FET=&5N(&)Y($)R:6%N($)O97-C:"!A;F0@2G5D>2!'<F%S
M<PHC($UO9&EF:65D(&)Y($=E;F4@1V]T:6UE<@HC"B,@5&AE<V4@<F]U=&EN
M97,@87)E(&EN=&5N9&5D('1O(&)E('5S960@97AC;'5S:79E;'D@=VET:"!T
M:&4@"B,@0WEB97)#87-H('-E8W5R92!P87EM96YT('-Y<W1E;2X*(PHC(%)#
M4TE$.B`D260Z($-#36-K3&EB,U\R+G!M+'8@,2XR,R`Q.3DY+S`S+S$P(#(R
M.C(Y.C4V(&=R87-S($5X<"`D"B,*(R!$;R!N;W0@<F5D:7-T<FEB=71E('=I
M=&AO=70@=W)I='1E;B!P97)M:7-S:6]N(&9R;VT@0WEB97)#87-H($EN8RX*
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PH*<&%C:V%G92!#0TUC:TQI8C-?
M,CL*"G)E<75I<F4@-2XP,#,["@IR97%U:7)E($5X<&]R=&5R.PI`25-!(#T@
M*$5X<&]R=&5R*3L*0$584$]25"`]('%W*"D["D!%6%!/4E1?3TL@/2!Q=R@D
M34-+=F5R<VEO;B!U<FQE;F-O9&4@9V5N55),96YC;V1E9$9O<FT@55),9&5C
M;V1E1F]R;2`*"25#;VYF:6<@)&1E9F%U;'1#=7)R96YC>2!);FET0V]N9FEG
M($EN:71$96)U9R!#0T5R<F]R($-#1&5B=6<@0T-$96)U9S(@"@E#0U-E=%1I
M;65O=70*"51R:6T@0VQE86X@(%9A;&ED871E3W)D97))9`H)1V5T475E<GD@
M"@E'971(87-H($)U:6QD4VEG;F%T=7)E($)U:6QD4&%Y;65N=$9O<FU!<F=S
M"@E,;V%D0FQO8VM&<F]M475E<GD*"4)U:6QD0FQO8VL@0G5I;&1!<'!L9710
M87)A;7,*"5!R:6YT5&5M<&QA=&4@4W1R:6YG5&5M<&QA=&4@1V5N97)A=&50
M87EM96YT4&%G92!"<F]W<V5R*3L*"G5S92!4:6UE.CI,;V-A;#L*"@IU<V4@
M0T--8VM%<G)N;S-?,B!Q=RA-0TM'971%<G)O<DUE<W-A9V4@)$5?3F]%<G(@
M)$5?15)23U(*"0DD15]"861?5&EM96]U=`H)"21%7TYO7T-O;F9I9R`*"0DD
M15].;U]&:6QE"@D))$5?3F]?5&5M<&QA=&4*"0DD15].=6QL7U)E<W5L=`H)
M*3L*"@HC4V5T('1H92!#>6)E<D-A<V@@0V%S:%)E9VES=&5R('9E<G-I;VX@
M;G5M8F5R"B1-0TMV97)S:6]N(#T@)S,N,BXP+C4G.PH*(PHC("!'970@87!P
M<F]P<FEA=&4@5$U0(&1I<F5C=&]R>2!P97(@3U,*(PHD3U,@/2`G54Y)6"<[
M"@HD5$U01$E2(#T@(B]T;7`O(CL*)$9)3$5315`@/2`G+R<["B`*(R,@961I
M="!T:&ES('9A;'5E"@HD8V]M<'5T96AA<V@@/2`B+VAO;64O:'1T<&0O9&%N
M<VET92TX-2]M8VLM8V=I+V-O;7!U=&5-1#5H87-H(CL*"B,C"@HC"B,@1&5B
M=6=G:6YG.B!-;V1I9GD@=&AE('9A<FEA8FQE<R!B96QO=R!T;R!E;F%B;&4@
M9&5B=6=G:6YG('1O(&$@;&]G(&9I;&4*(PHC($)E(&%W87)E('1H870@<&5R
M9F]R;6%N8V4@:7,@9W)E871L>2!D96-R96%S960@=VET:"!D96)U9V=I;F<@
M='5R;F5D(&]N"B,*"B,@1&5B=6=G:6YG(&ES(&]N(&EF("1D96)U9V=I;F<@
M:7,@;F]T(#`*(R!3970@=&\@,2!F;W(@05!)(&QE=F5L(&1E8G5G9VEN9SH@
M;VYL>2!W:&%T(&-O;65S(&EN=&\@<V5N9&US97)V97(*(R`@("!A;F0@1V5T
M475E<GD@86YD('=H870@9V]E<R!O=70@;V8@<V5N9&US97)V97(@86YD($=E
M=%%U97)Y(&ES"B,@("`@;&]G9V5D"B,@4V5T('1O(#(@9F]R(&1E8G5G9VEN
M9R!E=F5R>2!S=&5P(&]F('1H92!W87D*(R!9;W4@8V%N('-E="!I="!H:6=H
M97(@=&AA;B!T=V\@86YD(&-A=&-H(&]T:&5R(&QE=F5L<R!O9B!D96)U9V=I
M;F<N"B,@=&AI<R!R;W5T:6YE('5S97,@;&5V96QS(#`L(#$@86YD(#(N"B,@
M($%T(&QE=F5L(#`N(&5R<F]R(&UE<W-A9V5S('=I;&P@<W1I;&P@9V\@=&\@
M=&AE(&QO9R!I9@HC(&5R<F]R7V]U='!U=%]F;&%G(&ES(#$N"@H*)&1E8G5G
M9VEN9R`](#`["@HC($1E8G5G(&UE<W-A9V5S('=I;&P@8F4@=W)I='1E;B!T
M;R!T:&ES(&9I;&4*)&1E8G5G;&]G(#T@)%1-4$1)4B`N(")#0TUC:RYL;V<B
M.PH*(T1O('EO=2!W86YT(&5R<F]R<R!L;V=G960_(&1E9F%U;'0@:7,@>65S
M+B`@*'-E="!T;R`P(&9O<B!N;RD*)&5R<F]R7V]U='!U=%]F;&%G(#T@,3L*
M"B,@3&5A=F4@=&AI<R!V87)I86)L92!A;&]N92P@:70@:7,@=7-E9"!T;R!C
M;VYT<F]L('1H92!L979E;"!O9B`*(R!I;F1E;G0@9F]R(&1E8G5G9VEN9R!M
M97-S86=E<PHD:6YD96YT(#T@)R<["@HC(%1H:7,@:7,@=7-E9"!A<R!A(&=L
M;V)A;"!V87)I86)L92!T:&%T(&AO;&1S(&-O;F9I9W5R871I;VX*(R!I;F9O
M.B`@<F5Q=6ER97,@82!C86QL('1O($EN:71#;VYF:6<@=&\@:6YI=&EA;&EZ
M90HE0V]N9FEG(#T@*"D["@H*(R!T:&4@9&5F875L="!C=7)R96YC>2!M87D@
M8F4@;W9E<G)I9&5N('=I=&@@=&AE(&-O;F9I9W5R871I;VX@9&%T80HC($-H
M86YG92!I="!T:&5R92!I9B`G=7-D)R!I<R!N;W0@86-C97!T86)L92X*(R!U
M<V4@=&AE(')I9VAT($E33R`T,C$W(&-O9&4@9F]R('EO=7(@8W5R<F5N8WD*
M(R!#;VYT86-T($-Y8F5R0V%S:"!F;W(@=&AE(&-U<G)E;G0@;&ES="!O9B!A
M8V-E<'1E9"!C=7)R96YC:65S"@HD9&5F875L=$-U<G)E;F-Y(#T@(G5S9"([
M("`C(&]U<B!D969A=6QT"@IS=6(@26YI=$-O;F9I9PI["@EM>2@D0V]N9FEG
M1FEL92D@/2!`7SL*"@EU;FQE<W,H;W!E;BA#3TY&24<L("(\)$-O;F9I9T9I
M;&4B*2D@>PH)"7)E='5R;B`H)$5?3F]?0V]N9FEG*3L*"7T*"0D*"2,@3&]A
M9"!P<FUS"@D@=VAI;&4@*#Q#3TY&24<^*2!["@H)"6EF("@O7EQS*EPC+RD@
M>PH)"0DC('-K:7`@8V]M;65N=',*"0E]"@D)96QS:68@*"]>7',J)"\I('L*
M"0D)(R!S:VEP(&)L86YK(&QI;F5S('1O;PH)"7T*"0EE;'-I9B`H("]>7',J
M*%M<=UTK*5QS*CTH+BLI+R`I('L*"0D)(R!T:&ES(&ES(&9O<B!R96%L+BXN
M"@D)"21F:65L9"`]("0Q.PH)"0DD=F%L("`]("0R.PH)"0D*"0D))'9A;"`]
M("94<FEM*"1V86PI.PH*"0D))&9I96QD(#U^('1R+V$M>B]!+5HO.PH*"0D)
M)$-O;F9I9WLD9FEE;&1](#T@)'9A;#L*"@D)?0H)"2,@86YY=&AI;F<@96QS
M92!I<VXG="!U<V5A8FQE"@H)?0H)"@DF26YI=$1E8G5G*"1#;VYF:6=[(D1%
M0E5'7T9)3$4B?2P@)$-O;F9I9WLB1$5"54=?3$5614PB?2D["@D)"0H)8VQO
M<V4H0T].1DE'*3L*"@D)(R!O=F5R<FED92!T:&4@9&5F875L="!I9B!A(&-U
M<G)E;F-Y(&ES(&1E9FEN960*"@EI9B`H9&5F:6YE9"`D0V]N9FEG>R)$149!
M54Q47T-54E)%3D-9(GT@*2<F5T=7)N("@D15].;T5R
M<BD[("`C($]++@I]"@HC("!4:&ES(&QE=',@>6]U(')E<V5T('1H92!T:6UE
M;W5T(&EN('1H92!C;VYF:6=U<F%T:6]N("`*(R`@(%1I;6]U="!I<R!T:&4@
M;G5M8F5R(&]F('-E8V]N9',@=&AE($1I<F5C="!#;VYN96-T:6]N('-O8VME
M="!W:6QL('=A:70*(R`@(&9O<B!A(')E<W!O;G-E(&9R;VT@=&AE($-Y8F5R
M0V%S:"!#87-H(%)E9VES=&5R(&)E9F]R92!G:79I;F<@:70@=7`*(R`@(&%S
M(&$@;&]S="!C875S92X*(R`@"B,@(%EO=7(@8V]N9FEG=7)A=&EO;B!F:6QE
M(&UA>2!S<&5C:69Y(&$@9&5F875L="!T:6UE;W5T+@HC(`HC("!)9B!Y;W5R
M(&-O;F9I9W5R871I;VX@9&]E<R!N;W0@<W!E8VEF>2!A('1I;65O=70L"B,@
M('1H92!D969A=6QT('9A;'5E('=I;&P@8F4@<V5T('1O(#DP('-E8V]N9',N
M"B,@"B,@(%1H92!O;FQY('1I;64@=&AI<R!I<R!I;F%D97%U871E(&ES('=H
M96X@=V%I=&EN9R!F;W(@=&AE('-T871U<R!O9B!A"B,@(&)I9R!B871C:"X@
M5&AE('!R;V-E<W-O<B!M87D@=&%K92!M;W)E('1H86X@.3`@<V5C;VYD<R!T
M;R!P<F]V:61E('1H90HC("!S=&%T=7,N($EF('1H92!B871C:"!S:7IE(&ES
M(&UO<F4@=&AA;B`S,"P@:70@:7,@<V%V97(@=&\@:6YC<F5A<V4*(R`@=&AI
M<R!T:6UE(&]U="X*(R`*(R`@24Y0550Z"B,@("`@<$-O;F9I9R`@("`@("T@
M4&]I;G1E<B!T;R!Y;W5R(&%C=&EV92!C;VYF:6=U<F%T:6]N(')E8V]R9`HC
M("`@('1I;65O=70@("`@("`M(&YE=R!T:6UE(&]U="!V86QU92!T;R!B92!A
M<W-I9VYE9"!T;R!T:&4@8V]N9FEG=7)A=&EO;BX*(R`*(R`@4D5455)..@HC
M("`@('!R979I;W5S('1I;65O=70@=F%L=64L("TQ(&EF(&5R<F]R+B`H86QL
M;W=S('EO=2!T;R!B86-K=7`N+BD*"G-U8B!#0U-E=%1I;65O=70@"GL*"6UY
M("@D=&EM96]U="D@/2!`7SL*"6UY("@D;VQD5&EM96]U="D["@D*"6EF("@D
M=&EM96]U="`\/2`P*2!["@D)<F5T=7)N("1%7T)A9%]4:6UE;W5T.PH)?0H*
M"21O;&14:6UE;W5T(#T@)$-O;F9I9WLB5$E-14]55")].PH))$-O;F9I9WLB
M5$E-14]55")](#T@)'1I;65O=70["@ER971U<FX@)&]L9%1I;65O=70["GT*
M"B,C(R,C(R,C(R,C(R,C(R,C(R,*(R!);FET1&5B=6<*(PHC(%-E="!U<"!A
M(&9I;&4@86YD(&$@;&5V96PN+BX@"B,C(R,C(R,C(R,C(R,C(R,C(PH*<W5B
M($EN:71$96)U9R)&1E8G5G;&]G(#T@)&9I;&5N;3L*"7T*"@EI9B`H
M)&QE=F5L*2R;W(*(R`*(R`@4%524$]313H*(R`)(%1O(&QO
M9R!E<G)O<B!M97-S86=E<R!T;R!S=&%N9&%R9"!E<G)O<B`F(&5R<F]R(&QO
M9R!F:6QE+@HC(`HC("!)3E!55#H*(R`)(&UE<W-A9V4@+2T@=&AE('-T<FEN
M9R!T;R!D=6UP"B,@"B,C(R,C(R,C(R,C(R,C"@IS=6(@0T-%<G)O<GL*"6UY
M*"1M97-S86=E*2`]($!?.PH*"2,@8VAE8VL@9F]R(&5R<F]R(&]U='!U="!F
M;&%G"@EI9B`H)&5R<F]R7V]U='!U=%]F;&%G(#T](#`I('L*"0ER971U<FX[
M"@E]"@H)(R!7<FET92!T;R!S=&1E<G(@*&EF('EO=2!C86XN+B!N;R!G=6%R
M96YT964@:&5R92D*"2,@=W)I=&4@=&\@9&5B=6<@;&]G"@DC(&5V96X@:68@
M9&5B=6=G:6YG(&ES(&]F9BXN+@H))D-#1&5B=6<R*#`L(")<;D5R<F]R.B`D
M;65S<V%G95QN(BD["GT*"B,C(R,C(R,C(R,C(R,C(R,*(R`@0T-$96)U9PHC
M("`*(R`@4%524$]313H*(R`@(%=R:71E('1O(&1E8G5G(&QO9RX*(R`*(R`@
M24Y0550Z"B,@("!F;70)"0DM($9O<FUA="!T:&%T(&ES('1H92!S86UE(&%S
M('1H92!O;F4@<W5P<&]R=&5D(&)Y('!R:6YT9B@I+@HC("`@+BXN"0D)+2!P
M87)A;65T97)S(&UA=&-H:6YG('1H92!F;W)M870@:G5S="!L:6ME('!R:6YT
M9B@I+@HC"B,C(R,C(R,C(R,C(R,C(R,C(PH@(`IS=6(@0T-$96)U9R!["@EM
M>2@D;65S<V%G92D@/2!`7SL*"B`@("!I9B`H)&1E8G5G9VEN9R`^/2`Q*2![
M"B`@("`@("`@:68H(6]P96XH1$5"54<L("(^/B1D96)U9VQO9R(I*2!["@D)
M"7)E='5R;CL@("`C1&]N)W0@9&EE(&)E8V%U<V4@;V8@=&AI<R$*"0E]"B`@
M("`@("`@<')I;G0@1$5"54<@)&UE<W-A9V4["B`@("`@("`@8VQO<V4H1$5"
M54<I.PH@("`@?0H)"GT*"@HC(R,C(R,C(R,C(R,C(R,C(R,C"B,@($-#1&5B
M=6<R"B,@(`HC("!055)03U-%.@HC("`@5W)I=&4@=&\@9&5B=6<@;&]G(&9O
M<B!A(&=I=F5N(&QE=F5L+B!)9B!T:&4@7V-C7V1E8G5G7V9L86<@:7,@;G5M
M97)I8V%L;'D*(R`@(&QO=V5R('1H86X@=&AE(&QE=F5L('!R97-E;G1E9"P@
M=&AE(&UE<W-A9V4@=VEL;"!N;W0@8F4@;&]G+@HC(`HC("!)3E!55#H*(R`@
M(&QE=F5L"0DM($QE=F5L(&]F('1H:7,@97)R;W(@;65S<V%G92X*(R`@(&9M
M=`D)"2T@1F]R;6%T('1H870@:7,@=&AE('-A;64@87,@=&AE(&]N92!S=7!P
M;W)T960@8GD@<')I;G1F*"DN"B,@("`N+BX)"0DM('!A<F%M971E<G,@;6%T
M8VAI;F<@=&AE(&9O<FUA="!J=7-T(&QI:V4@<')I;G1F*"DN"B,@(`HC(R,C
M(R,C(R,C(R,C(R,*"G-U8B!#0T1E8G5G,B!["@EM>2`H)&QE=F5L+"`D;65S
M<V%G92D@/2!`7SL*"B`@("!I9B`H(21L979E;"!\?"`H)&1E8G5G9VEN9R`^
M/2`D;&5V96PI*2!["B`@("`@("`@:68H(6]P96XH1$5"54<L("(^/B1D96)U
M9VQO9R(I*2!["@D)"7)E='5R;CL@("-$;VXG="!D:64@8F5C875S92!O9B!T
M:&ES+BXN"@D)?0H@("`@("`@('!R:6YT($1%0E5'("1M97-S86=E.PH@("`@
M("`@(&-L;W-E*$1%0E5'*3L*("`@('T*?0H*(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(PHC(%1R:6TZ("!R96UO=F4@;&5A9&EN9R!A;F0@=')A:6QI;F<@
M=VAI=&5S<&%C92X*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PH*<W5B(%1R
M:6T@>PH);7D@*"1S=')I;F<I(#T@0%\["@H))'-T<FEN9R`]?B!S+UY<<RLO
M+SL*"21S=')I;F<@/7X@<R]<<RLD+R\["@H)<F5T=7)N("1S=')I;F<["GT*
M"B,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,*(R!#;&5A;@HC"B,@4W1R:7`@86YY('5N=V%N=&5D
M(&-H87)A8W1E<G,@9G)O;2!A(&=I=F5N('-T<FEN9RP*(R!I;B!T:&ES(&-A
M<V4L(&%N>71H:6YG(&)U="!A+7HL($$M6BP@,"TY+"!P;'5S+"!M:6YU<RP*
M(R!S<&%C92P@=&%B+"!S;&%S:"P@870L('!E<FEO9"P@<&5R8V5N="P@;W(@
M8F%C:W-L87-H"B,@36]S="!I;7!O<G1A;G1L>2P@<V5M:6-O;&]N<R!A;F0@
M9&]L;&%R('-I9VYS(&%R92!R96UO=F5D"B,@<V\@=&AE>2!W;VXG="!G970@
M<&%S<V5D('1O('1H92!C;VUM86YD(&QI;F4N"B,*<W5B($-L96%N('L*"B`@
M("!M>2@D<W1R:6YG*2`]($!?.PH*(R!C:&5C:R!T:&%T(&%L;"!C:&%R86-T
M97)S(&%R92!L96=A;"P@"B,@:68@;F]T+"!D96QE=&4@:6QL96=A;',*("`@
M("1S=')I;F<@/7X@='(O82UZ02U:,"TY7UPM*R!<=%PO7$!<+B5<7"\O8V0[
M"@H@("`@<F5T=7)N("1S=')I;F<["GT*"B,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(PHC(%9A;&ED871E3W)D97))9`HC"B,@5&AI<R!S=6)R
M;W5T:6YE('1E<W1S(&%N(&]R9&5R($E$(&9O<B!C;W)R96-T(&9O<FUA=`HC
M(`HC($1O;B=T(&UE<W,@=VET:"!T:&ES+BXN(&ET('1E<W1S(&9O<B!T:&4@
M9F]R;6%T(&5X<&5C=&5D(&%T('1H92!#87-H(%)E9VES=&5R"B,*(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C"@IS=6(@5F%L:61A=&5/<F1E
M<DED('L*("`@(&UY*"1O<F1E<DE$*2`]($!?.PH);7DH)&QE;BD["@H@("`@
M(R!9;W4@8V%N('5S92!A;GD@<V-H96UE('1O(&=E;F5R871E(&]R9&5R($E$
M('EO=2!W86YT+"`*("`@(",@<V\@;&]N9R!A<SH*("`@(",@("`Q*2!T:&4@
M;W)D97(@240@:7,@=6YI<75E+`H@("`@(R`@(#(I(&ET(&ES(#,R(&-H87)A
M8W1E<G,@;W(@;&5S<RP@86YD"B`@("`C("`@,RD@=&AE(&9O;&QO=VEN9R!C
M:&%R86-T97)S(&%R92!N;W0@=7-E9"`*("`@(",@("`@("`@("`Z(#P@/B`]
M("L@0"`B("4@/2`F("0@*@H*"21L96X@/2!L96YG=&@H)&]R9&5R240I.PH)
M:68@*"@D;&5N(#X@,S(I('Q\("@D;&5N(#P],"DI>PH)"7)E='5R;B`P.R`C
M=W)O;F<@<VEZ90H)?0H*("`@(&EF("@D;W)D97))1"`]?B`O6SH\/CTK0"(E
M)EPD7"I=+RD@>PH)"2-I9B!A;GD@;V8@=&AE<V4@;V-C=7(@:&5R92P@:70@
M9F%I;',A"@D)<F5T=7)N(#`["@E]"@H@("`@<F5T=7)N(#$["GT*"B,C(R,C
M(R,C(R,C(R,C"B,@('5R;&5N8V]D90HC"B,@('5R;&5N8V]D92!A('-I;F=L
M92!S=')I;F<*(R,C(R,C(R,C(R,C(R,C"@IS=6(@=7)L96YC;V1E('L*"B`@
M("!M>2`H)'-T<FEN9RD@/2!`7SL*"B`@("`C(&]N;'D@86QP:&%N=6UE<FEC
M<R!A;F0@=6YD97)S8V]R92`H7'<I+"!D87-H+"!P97)I;V0L(&%N9"!S=&%R
M"B`@("`C(&-A;B!G;R!T:')O=6=H(%5.96YC;V1E9`H)(R!N;W1E.B!<=R!I
M<R!S=6)J96-T('1O(&QO8V%L92XN+B!T:&4@97AP;&EC:70@;&ES="!H97)E
M(&ES(&YO=`H@("`@)'-T<FEN9R`]?B!S+RA;7B!A+7I!+5HP+3E?7"TN*ETI
M+W5C('-P<FEN=&8H(B4E)3(N,E@B+&]R9"@D,2DI+V=E.R`*"B`@("`C('-P
M86-E<R!G970@8V]N=F5R=&5D('1O('!L=7,@<VEG;G,@*"LI"B`@("`C('!L
M=7,@<VEG;G,@=V5R92!A;')E861Y(&-O;G9E<G1E9"!T;R`E,D(@*&%S8VEI
M(#0S*0H@("`@)'-T<FEN9R`]?B!S+R`O*R]G.PH*("`@(')E='5R;B`D<W1R
M:6YG.PI]"@H*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PHC(&=E;E523&5N8V]D961&;W)M"B,*
M(R!54DQE;F-O9&4@86X@96YT:7)E(&AT;6P@9F]R;2`@;65S<V%G92!A;F0@
M<&QA8V4@:6YT;R`B8WEB97)M97-S86=E(@HC(&=E;E523&5N8V]D961&;W)M
M('1A:V5S(&$@;&ES="!E;&5M96YT<R`P+#(L-"PN+BX@87)E(&9I96QD;F%M
M97,*(R`@("`@("`@("`@("`@("`@("`@("`@(&5L96UE;G1S(#$L,RPU+"XN
M+B!A<F4@=F%L=65S"B,*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,*"G-U8B!G
M96Y54DQE;F-O9&5D1F]R;2!["B`@("!M>2A`;7-G;&ES="D@/2!`7SL*("`@
M(&UY*"1M<V<I(#T@)R<["B`@("!M>2@D;F%M92PD=F%L=64I.PH);7DH)&)L
M:6YD*3L@("`C9&\@=V4@;F5E9"!T;R!B;&EN9"!T:&4@=F%L=64_(%EE<R!F
M;W(@86YY(&-A<F0@;G5M8F5R(&]R"@D)"0D@(",@06-C;W5N="!N=6UB97(*
M"B`@("`F0T-$96)U9S(H-2P@(EQN)'MI;F1E;G1]/3T@16YT97)I;F<@9V5N
M55),96YC;V1E9$9O<FT@/3U<;B(I.PH@("`@)&EN9&5N="`N/2`G("`G.PH*
M("`@(",@<W1E<"!T:')O=6=H('1H92!L:7-T"@EW:&EL92`H0&US9VQI<W0@
M/B`P*2`*"7L*"@D))&)L:6YD(#T@,#L*"0DC(&=R86(@=&AE(&YE>'0@;F%M
M92UV86QU92!P86ER"@D))&YA;64@/2!S:&EF="A`;7-G;&ES="D["@D))'9A
M;'5E(#T@<VAI9G0H0&US9VQI<W0I.PH*"0H)"6EF("@H)&YA;64@/7X@+UYC
M<&E<+B\I"@D)"7Q\("@D;F%M92`]?B`O7D-022\I"@D)"7Q\("@D;F%M92`]
M?B`O8V%R9"TO*0H)"0E\?"`H)&YA;64@/7X@+V-H96-K+2\I*2`*"0E["@D)
M"21B;&EN9"`](#$["@D)"29#0T1E8G5G,B@U+"`B)'MI;F1E;G1]4F%W("A%
M;F-O9&5D*2!N86UE+79A;'5E('!A:7(Z("1N86UE("T^("HJ*BI<;B(I.PH)
M"7T*"0EE;'-E('L*"0D))D-#1&5B=6<R*#4L("(D>VEN9&5N='U287<@*$5N
M8V]D960I(&YA;64M=F%L=64@<&%I<CH@)&YA;64@+3X@)'9A;'5E7&XB*3L*
M"0E]"@H)"21N86UE(#T@)G5R;&5N8V]D92@D;F%M92D["@D))'9A;'5E(#T@
M)G5R;&5N8V]D92@D=F%L=64I.PH*"@D):68@*"1B;&EN9"`]/2`Q*2!["@D)
M"29#0T1E8G5G,B@@-2P@(B`H)&YA;64@+3X@*BHJ*BE<;B(I.PH)"7T*"0EE
M;'-E('L*"0D))D-#1&5B=6<R*"`U+"`B("@D;F%M92`M/B`D=F%L=64I7&XB
M*3L*"0E]"@H)"2,@861D('1H92!N;W<M96YC;V1E9"!N86UE+79A;'5E('!A
M:7(@=&\@=&AE(&UE<W-A9V4*"0DD;7-G("X]("(D;F%M93TD=F%L=64B.PH*
M"0DC(&%D9"!A;B!A;7!E<G-A;F0@*&%S(&$@;F%M92UV86QU92!P86ER(&1E
M;&EM:71E<BD@=6YL97-S"@D)(R!W92!H879E(')E86-H960@=&AE(&5N9`H)
M"21M<V<@+CT@)R8G('5N;&5S<R`H0&US9VQI<W0@/#T@,"D["B`@(`E]"@H)
M(R!E=F5R>71H:6YG(&ES('5R;"!E;F-O9&5D+"!S;R!S96YD('1H92!M97-S
M86=E(&)A8VL*"21I;F1E;G0@/7X@<R\@("\O.PH))D-#1&5B=6<R("@U+"`B
M)'MI;F1E;G1]/3T@17AI=&EN9R!G96Y54DQE;F-O9&5D1F]R;2`]/5QN7&XB
M*3L*"B`@("!R971U<FX@)&US9SL*?0H*"B,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,*(R!54DQD
M96-O9&5&;W)M"B,*(R!54DP@9&5C;V1E(&%N($A434P@1F]R;2!E;F-O9&5D
M(&UE<W-A9V4*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,*"G-U8B!54DQD96-O
M9&5&;W)M('L*"6UY*"1E;F-O9&5D*2`]($!?.PH);7DH0'!A:7)S*2`]('-P
M;&ET*"\F+RPD96YC;V1E9"D["@EM>2@E<&%I<G,L)&YA;64L)'9A;'5E*3L*
M"@EM>2@D8FQI;F0I.R`@(R!$;V4@=V4@;F5E9"!T;R!B;&EN9"!V86QU93\@
M665S(&9O<B!A8V-O=6YT(&YU;6)E<G,N+BX*"@DF0T-$96)U9S(@*#4L(")<
M;B1[:6YD96YT?3T]($5N=&5R:6YG(%523&1E8V]D949O<FT@/3U<;B(I.PH*
M"21I;F1E;G0@+CT@)R`@)SL*"@EF;W)E86-H("A`<&%I<G,I('L*"@D))&)L
M:6YD(#T@,#L*"@D)(R!3<&QI="!I;G1O(&YA;64@86YD('9A;'5E"@D)*"1N
M86UE+"1V86QU92D@/2!S<&QI="@O/2\L)%\L,BD["@H)"6EF("@H)&YA;64@
M/7X@+UYC<&E<+B\I"@D)"7Q\("@D;F%M92`]?B`O7D-022\I"@D)"7Q\("@D
M;F%M92`]?B`O8V%R9"TO*0H)"0E\?"`H)&YA;64@/7X@+V-H96-K+2\I*2`*
M"0E["@D)"21B;&EN9"`](#$["@D)"29#0T1E8G5G,B@@-2P@(B1[:6YD96YT
M?5)A=R!N86UE+79A;'5E('!A:7(Z("1N86UE/2HJ*BI<;B(I.PH)"7T*"0EE
M;'-E('L*"0D))D-#1&5B=6<R*"`U+"`B)'MI;F1E;G1]4F%W(&YA;64M=F%L
M=64@<&%I<CH@)%]<;B(I.PH)"7T*"@D)(R!#;VYV97)T('!L=7,@<VEG;G,@
M=&\@<W!A8V5S+"!A;F0@)5A8(&9R;VT@:&5X(&YU;6)E<G,@=&\@86QP:&%N
M=6UE<FEC"@H)"21N86UE(#U^(',O7"LO("]G.PH)"21N86UE(#U^(',O)2A;
M82UF02U&,"TY77LR?2DO<&%C:R@B8R(L:&5X*"0Q*2DO9V4["@D))'9A;'5E
M(#U^(',O7"LO("]G.PH)"21V86QU92`]?B!S+R4H6V$M9D$M1C`M.5U[,GTI
M+W!A8VLH(F,B+&AE>"@D,2DI+V=E.PH*"0DC($EF('1H92!N86UE(&AA<R!A
M;')E861Y(&)E96X@<V5E;BP@:G5S="!T86-K('1H92!V86QU92!O;B!T:&4@
M96YD"@D)(R!W:71H(&$@7#`@9&5L:6UE=&5R("`@("`@"@D):68@*"!D969I
M;F5D*"1P86ER<WLD;F%M97TI("D@>PH)"2`@("`D<&%I<G-[)&YA;65]("X]
M(")<,"1V86QU92(["@D)?2!E;'-E('L*"0D@("`@)'!A:7)S>R1N86UE?2`]
M("1V86QU93L*"0E]"@H)"6EF("@D8FQI;F0@(3T@,"D@>PH)"0DF0T-$96)U
M9S(@*#4L("(D>VEN9&5N='U$96-O9&5D(&YA;64M=F%L=64@<&%I<CH@)&YA
M;64@+3X@*BHJ*EQN7&XB*3L*"0E]"@D)96QS92!["@D)"29#0T1E8G5G,B`H
M-2P@(B1[:6YD96YT?41E8V]D960@;F%M92UV86QU92!P86ER.B`D;F%M92`M
M/B`D<&%I<G-[)&YA;65]7&Y<;B(I.PH)"7T*"7T*"@DD:6YD96YT(#U^(',O
M("`O+SL*"29#0T1E8G5G,B`H-2P@(B1[:6YD96YT?3T]($5X:71I;F<@55),
M9&5C;V1E1F]R;2`]/5QN7&XB*3L*"@ER971U<FX@)7!A:7)S.PI]"@H*(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(PHC"B,@1V5T475E<GD*(PHC($=E="!Q=65R>2!P87)A;65T
M97)S(&9R;VT@86X@2%144"!M97-S86=E("A'150@;W(@4&]S="!(5$U,(&9O
M<FTI"B,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C"@IS=6(@1V5T475E<GD@>PH);7DH)'%U97)Y+"5P86ER
M<RD@/2`G)SL*"6UY*"1N86UE*3L*"@DF0T-$96)U9S(H,2PB7&XD>VEN9&5N
M='T]/2!%;G1E<FEN9R!'9711=65R>2`]/5QN(BD["@DD:6YD96YT("X]("<@
M("<["@DF0T-$96)U9S(H,2P@(B1[:6YD96YT?21%3E9[)U)%455%4U1?3454
M2$]$)WT@<F5Q=65S=#I<;B(I.PH*"2,@4F5A9"!I;B!T97AT"@EI9B`H)$5.
M5GLG4D5154535%]-151(3T0G?2`]?B`O1T54+VDI('L*"0DD<75E<GD@/2`D
M14Y6>R=1545265]35%))3D<G?3L*"@D)(R!792!D;R!N;W0@;&]G(')A=R!Q
M=65R>2!I;F9O(&)E8V%U<V4*"0DC(&ET(&UA>2!C;VYT86EN('-E;G-I=&EV
M92!D871A.B`@;&EK92!C<F5D:70@8V%R9"!O<B!C:&5C:VEN9PH)"2,@86-C
M;W5N="!N=6UB97)S+B`@268@>6]U(&YE960@=&\@<V5E('1H870@:VEN9"!O
M9B!T:&EN9RP*"0DC('5N8V]M;65N="!T:&ES(&QI;F4@86YD('-E="!T:&4@
M9&5B=6<@;&5V96P@87,@;F5E9&5D"@H)"2,@)D-#1&5B=6<R*"`V+"`B)'%U
M97)Y7&XB*3L*"@E](&5L<VEF("@D14Y6>R=215%515-47TU%5$A/1"=](#U^
M("]03U-4+VDI('L*"0ER96%D*%-41$E.+"1Q=65R>2PD14Y6>R=#3TY414Y4
M7TQ%3D=42"=]*2!I9B`H)$5.5GLG0T].5$5.5%],14Y'5$@G?2`^(#`I.PH*
M"0DF0T-$96)U9S(@*#8L("(D>VEN9&5N='U#;VYT96YT+4QE;F=T:"`]("1%
M3E9[)T-/3E1%3E1?3$5.1U1()WU<;B(I.PH*"0DC(%=E(&1O(&YO="!L;V<@
M<F%W('%U97)Y(&EN9F\@8F5C875S90H)"2,@:70@;6%Y(&-O;G1A:6X@<V5N
M<VET:79E(&1A=&$Z("!L:6ME(&-R961I="!C87)D(&]R(&-H96-K:6YG"@D)
M(R!A8V-O=6YT(&YU;6)E<G,N("!)9B!Y;W4@;F5E9"!T;R!S964@=&AA="!K
M:6YD(&]F('1H:6YG+`H)"2,@=6YC;VUM96YT('1H:7,@;&EN92!A;F0@<V5T
M('1H92!D96)U9R!L979E;"!A<R!N965D960*"@D)(R`F0T-$96)U9S(H(#8L
M("(D<75E<GE<;B(I.PH)?0H*"2,@1&5C;V1E('1H92!R97-U;'1S"@DE<&%I
M<G,@/2`F55),9&5C;V1E1F]R;2@D<75E<GDI.PH*"6EF("@D9&5B=6=G:6YG
M*2S(",C7&XB("D["@D)9F]R96%C:"`H:V5Y<R`E<&%I<G,I
M('L*"0D))&YA;64@/2`D7SL*"0D):68@*"@D;F%M92`]?B`O7F-P:5PN+RD*
M"0D)"7Q\("@D;F%M92`]?B`O7D-022\I"@D)"0E\?"`H)&YA;64@/7X@+V-A
M<F0M+RD*"0D)"7Q\("@D;F%M92`]?B`O8VAE8VLM+RDI(`H)"0E["@D)"0DC
M(&)L:6YD(&%N>71H:6YG('1H870@;&]O:W,@;&EK92!A;B!A8V-O=6YT(&YU
M;6)E<@H)"0D))D-#1&5B=6<R("@Q+"(D>VEN9&5N='TD;F%M92`](%M;*BHJ
M*EU=7&XB*3L*"0D)?0H)"0EE;'-E('L*"0D)"29#0T1E8G5G,B`H,2P@(B1[
M:6YD96YT?21N86UE(#T@6ULD<&%I<G-[)&YA;65]75U<;B(I.PH)"0E]"@D)
M?0H)"21I;F1E;G0@/7X@<R\@("\O.PH)"29#0T1E8G5G,B`H,2P@(EQN7&XD
M>VEN9&5N='T]/2!%>&ET:6YG($=E=%%U97)Y(#T]7&Y<;EQN(BD["@E]"@H)
M<F5T=7)N("5P86ER<SL*?0H*"B,C(R,C(R,C(R,C(R,C(R,*(R!,;V%D0FQO
M8VM&<F]M475E<GD*(R`*(R!4:&ES(&ES($U#2R!S<&5C:69I8PHC"B,@1V5T
M(&%N>2!F:65L9',@:6X@<75E<GD@=&AA="!H879E('1H92!S<&5C:69I960@
M<')E9FEX"B,@86YD(&%D9"!T:&5M('1O('1H92!087EM96YT3E9L:7-T(&)L
M;V-K"B,C(R,C(R,C(R,C(R,C(R,*"G-U8B!,;V%D0FQO8VM&<F]M475E<GD@
M>PH);7DH)&)L;V-K;F%M92P@)'%U97)Y4F5F+"`D<&%Y3E9,:7-T4F5F*2`]
M($!?.PH);7DH)7%U97)Y+"`E<&%Y;65N=$Y63&ES="D[(`H);7DH)&ME>2D[
M"@H))7%U97)Y(#T@)21Q=65R>5)E9CL*("`@("5P87EM96YT3E9,:7-T(#T@
M)21P87E.5DQI<W12968["@H):68@*"1B;&]C:VYA;64@97$@(BHB*2&)L;V-K;F%M92!E<2`B(BD@>PH*
M"0DC('5N<')E9FEX960@96QE;65N=',@"B`@("`@("`@(R!W:&5N('1H97D@
M861D(")A='1R:6)U=&5S(B!T;R!T:&4@;6EX+"!T:&ES('=I;&P@;F5E9"`*
M("`@("`@("`C('1O(&)E(')E=FES:71E9"`@("`@("`@("`@("`@("`@("`@
M("`@("`@("`@("`@("`@("`@(`H*"0EF;W)E86-H("1K97D@*&ME>7,@*"5Q
M=65R>2DI('L*"0D):68@*&EN9&5X*"1K97DL(BXB*2`\/2`P*2![("`@(R!T
M<F5A="`B+FYN;B(@87,@=6YP<F5F:7AE9"!L86)E;`H)"0D))'!A>6UE;G1.
M5DQI<W1[)&ME>7T@/2`D<75E<GE[)&ME>7T["@D)"7T*"0E]"@E]"@EE;'-E
M('L*"0DD<')E9FEX(#T@(B1B;&]C:VYA;64N(CL*"0EF;W)E86-H("1K97D@
M*&ME>7,@*"5Q=65R>2DI>PH)"0EI9B`H:6YD97@H)&ME>2P@)'!R969I>"D@
M/3T@,"D@>R`@(R!F;W5N9"!I="$*"0D)"21P87EM96YT3E9,:7-T>R1K97E]
M(#T@)'%U97)Y>R1K97E].PH)"0E]"@D)?0H)?0H*"7)E='5R;B`E<&%Y;65N
M=$Y63&ES=#L*?0H*"B,C(R,C(R,C(R,C(R,C(R,*(R!'971(87-H"B,*(R!'
M:79E;B!A('-T<FEN9R!A;F0@82!H87-H('-E8W)E="P@9V5N97)A=&4@82!"
M87-E+38T(&5N8V]D960@340U(&AA<V@@<W1R:6YG(`HC(R,C(R,C(R,C(R,C
M(R,C(PH*<W5B($=E=$AA<V@@>PH@("`@;7DH)'1E>'0L)'-E8W)E="D@/2!`
M7SL*("`@(&UY*"1S:6=N5&AI<RD@/2`B)'MS96-R971])'MT97AT?21[<V5C
M<F5T?2(["@H@("`@(R!C86XG="!U<V4@8V]M;6%N9"!L:6YE('1O('!A<W,@
M=&5X="!O;B!.5"P@<V\*("`@(",@=W)I=&4@=&AE(&UE<W-A9V4@=&\@82!T
M96UP;W)A<GD@9FEL90H)(R`@1&\@=&AI<R!I;B!5;FEX('1O;RP@<VEN8V4@
M97AE8R!O;B!A;GET:&EN9R!F<F]M('5S97(*"2,@('!U="!O;B!T:&4@8V]M
M;6%N9"!L:6YE(&ES('!R971T>2!S=6EC:61A;"$*"B`@("!M>2@D=&5M<&9I
M;&4I(#T@(FAA<V@D)"(["B`@("`D=&5M<&9I;&4@/7X@='(O02U:82UZ,"TY
M7R\O8V0["@D*("`@("1T96UP9FEL92`]("1435!$25(@+B`B)'1E;7!F:6QE
M+G1M<"(["@H)(R!);G!U="!M87D@8F4@<V5N<VET:79E+"!S;R!P:7!E(&ET
M(&EN+BXN"B`@("!O<&5N*$A!4T@L(GP@)&-O;7!U=&5H87-H(#XD=&5M<&9I
M;&4B*3L*"B`@("`F0T-$96)U9S(@*#8L("(D>VEN9&5N='TC(R,C(R!I;B!'
M971(87-H(",C(R,C(UQN(BD["@H)"2,@5V4@9&\@;F]T(&QO9R!T:&4@:&%S
M:&EN9R!I;G!U="!B96-A=7-E"@D)(R!I="!M87D@8V]N=&%I;B!S96YS:71I
M=F4@9&%T83H@(&QI:V4@8W)E9&ET(&-A<F0@;W(@8VAE8VMI;F<*"0DC(&%C
M8V]U;G0@;G5M8F5R<RX@($EF('EO=2!N965D('1O('-E92!T:&4@:6YP=70L
M"@D)(R!U;F-O;6UE;G0@=&AI<R!L:6YE(&%N9"!S970@=&AE(&1E8G5G(&QE
M=F5L(&%S(&YE961E9`H*("`@(",F0T-$96)U9S(@*#8L("(D>VEN9&5N='T@
M<VEG;FEN9SI<;B1S:6=N5&AI<UQN(BD["@D)"B`@("!P<FEN="!(05-(("1S
M:6=N5&AI<SL*("`@('!R:6YT($A!4T@@(EQR7&XB.R`@(",@9F]R8V4@82!F
M;'5S:`H@("`@8VQO<V4H2$%32"D["@H@("`@(R!G970@=&AE(&)A<V4V-"UE
M;F-O9&5D($U$-2!H87-H"B`@("!O<&5N*%1%35`L(CP@)'1E;7!F:6QE(BD[
M"@H)"0H@("`@)&AA<V@@/2`\5$5-4#X["B`@("!C:&]M<"@D:&%S:"D["B`@
M("!C;&]S92A414U0*3L*"B`@("`C('-T<FEP(&QE861I;F<@86YD('1R86EL
M:6YG('=H:71E<W!A8V4*("`@("1H87-H(#T@)E1R:6TH)&AA<V@I.PH*"B`@
M("`C(&-L96%N('5P('1H92!T96UP;W)A<GD@9FEL90H@("`@=6YL:6YK("(D
M=&5M<&9I;&4B.PH*("`@("9#0T1E8G5G,B`H(#8L(")297-U;'0@:7,@)&AA
M<VA<;B(I.PH@("`@<F5T=7)N*"1H87-H*3L*?0H*(R,C(R,C(R,C(R,C(R,C
M(PHC($)U:6QD0FQO8VL*(R`*(R!4:&ES(&ES($U#2R!S<&5C:69I8PHC"B,@
M0G5I;&0@82!N86UE('9A;'5E('!A:7(@;&ES="`@9G)O;2!A(&QI<W0@;V8@
M<&%I<G,*(R!B>2!E>'1R86-T:6YG(&%L;"!I=&5M<R!W:71H(")B;&]C:VYA
M;64B('!R969I>"XN+@HC(&EF(&)L;V-K;F%M92`]("(J(BP@(&=E;F5R871E
M(&$@<VEG;F%T=7)E(&)A<V5D(&]N('1H92!E;G1I<F4@8FQO8VL*(R!I9B!T
M:&4@8FQO8VMN86UE(&ES("(B("AN=6QL*2P@9V5N97)A=&4@82!S:6=N871U
M<F4@;VX@9FEE;&1S(`HC('=I=&@@;F%M97,@=&AA="!D;R`J;F]T*B!H879E
M(&$@<')E9FEX(`HC("`H92YG+B!D;R!N;W0@8V]N=&%I;B!T:&4@9&]T(&-H
M87(I"B,@($YO=&4Z("<N)R!I<R!A(')E<V5R=F5D(&-H87)A8W1E<@HC(R,C
M(R,C(R,C(R,C(R,C"@IS=6(@0G5I;&1";&]C:R;7DH)6)L;V-K+"`E:V5Y*3L*"@EI9B`H)&)L
M;V-K;F%M92!E<2`B*B(I('L*"0D)(R!T:&4@8FQO8VL@:7,@04Q,(&]F(&ET
M"@D))6)L;V-K(#T@)69I96QD<SL*"7T*"65L<VEF("@D8FQO8VMN86UE(&5Q
M("(B*2&9I96QD<WLD:V5Y?3L*"0D)?0H)"7T*"7T*"65L
M<V4@>PH)"21P<F5F:7@@/2`B)&)L;V-K;F%M92XB.PH)"69O<F5A8V@@)&ME
M>2`H:V5Y<R`H)69I96QD<RDI>PH)"0EI9B`H:6YD97@H)&ME>2P@)'!R969I
M>"D@/3T@,"D@>R`@(R!F;W5N9"!I="$*"0D)"21B;&]C:WLD:V5Y?2`]("1F
M:65L9'-[)&ME>7T["@D)"7T*"0E]"@E]"@H)<F5T=7)N("5B;&]C:SL*?0H*
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PHC($)U:6QD4VEG;F%T=7)E"B,*(R!4
M:&ES(&ES($U#2R!S<&5C:69I8PHC"B,@17AT<F%C="!A(&)L;V-K(&9R;VT@
M86X@:6YP=70@;F%M92UV86QU92!P86ER(&QI<W0@"B,@86YD(&=E;F5R871E
M(&%N($U$-6AA<V@@<VEG;F%T=7)E(&9O<B!I=#H*(PHC("`@("H@<V]R="!F
M:65L9',@:6X@82!B;&]C:R!B>2!A;'!H86)E=&EC86P@;W)D97(@;VX@=&AE
M(&9I96QD(&ME>2X*(R`@("`J($-O;F-A=&5N871E('1H92!V86QU97,@:6X@
M=&AA="!O<F1E<@HC("`@("H@861D('-E8W)E="!T;R!F<F]N="!A;F0@8F%C
M:PHC("`@("H@<W1R:7`@=VAI=&4@<W!A8V4*(R`@("`J(&%P<&QY($U$-6AA
M<V@N"B,*(R`@<F5T=7)N('1H92!S:6=N871U<F4*(R,C(R,C(R,C(R,C(R,C
M(R,*"G-U8B!"=6EL9%-I9VYA='5R92;7D@*"1F:65L9$YA;64L("1H87-H4W1R
M:6YG+"`D<VEG;BD["@H);7D@*"1P<F5F:7@L("5H87-H0FQO8VLI.PH*"25H
M87-H0FQO8VL@/2`F0G5I;&1";&]C:R@D8FQO8VMN86UE+"`E9FEE;&1S*3L*
M"@DD:&%S:%-T<FEN9R`]("(B.PH*"2,@(B!7:&5N('=E('1R86YS;&%T92!A
M(&UE<W-A9V4@8FQO8VL@=&\@82!S=')I;F<L('=E(&1O;B=T('=A;G0@"@DC
M('1O(&QO<V4@=&AE('1A9W,@;W(@=&AE(&1E;&EM:71E<G,@8F5T=V5E;B!N
M86UE<R!A;F0@=F%L=65S+@H)(R!4;R!D;R!T:&ES+"!W92!S97)I86QI>F4@
M82!B;&]C:R!A<R!F;VQL;W=S.@H@("`)(R`)/&YA;64Q/CQS<&%C93X\=F%L
M=64Q/CQ#4CXN+BX\0U(^/&YA;65./CQS<&%C93X\=F%L=65./B`B"@DC("`H
M1V]S<&]D:2P@4&]M:6QU>6DN+BDN"@H)9F]R96%C:"`D:V5Y("AS;W)T(&ME
M>7,@*"5H87-H0FQO8VLI*2!["@H)"6EF("@D:&%S:%-T<FEN9R!N92`B(BD@
M>PH)"0DD:&%S:%-T<FEN9R`N/2`B7'(B.PH)"7T*"0D*"0DD:&%S:%-T<FEN
M9R`N/2`B)&ME>2`B.PD*"0DD:&%S:%-T<FEN9R`N/2`D:&%S:$)L;V-K>R1K
M97E].PH)?0H*"21S:6=N(#T@)D=E=$AA<V@H)&AA<VA3=')I;F<L("1S96-R
M970I.PH*"7)E='5R;B`D<VEG;CL*?0H*"B,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,*(R!"=6EL9%!A>6UE;G1&;W)M07)G<PHC(`HC(%1H:7,@:7,@34-+('-P
M96-I9FEC"B,*(R!"=6EL9"!T:&4@:6YP=70@;&EN97,@9F]R(&%N($A434P@
M9F]R;2`*(R!T:&%T('=I;&P@<W5B;6ET("!A('!A>6UE;G0@<F5Q=65S="!T
M;R!T:&4@0V%S:"!296=I<W1E<@HC"B,C(R,C(R,C(R,C(R,C(R,C(R,*"G-U
M8B!"=6EL9%!A>6UE;G1&;W)M07)G<R`*>PH);7DH)$U/<F5F+"`D349R968I
M(#T@0%\["@EM>2@E34\L("5-1BD["@EM>2@D8F]D>2P@)'1B;V1Y*3L*"@DE
M34\@/2`E)$U/<F5F.PH))4U&(#T@)21-1G)E9CL*"@DD8F]D>2`]("(B.PH)
M)'1B;V1Y(#T@9V5N55),96YC;V1E9$9O<FTH)4U/*3L*"@DD8F]D>2`N/2`@
M(CQI;G!U="!T>7!E/6AI9&1E;B!N86UE/5PB34]<(B!V86QU93U<(B1T8F]D
M>5PB/EQR7&XB.PH)"@EI9B`H)"--1B`A/2`P*2![("`@(VEG;F]R92!I9B!E
M;7!T>0H)"21T8F]D>2`](&=E;E523&5N8V]D961&;W)M*"5-1BD["@D))&)O
M9'D@+CT@("(\:6YP=70@='EP93UH:61D96X@;F%M93U<(DU&7"(@=F%L=64]
M7"(D=&)O9'E<(CY<<EQN(CL*"7T*"@ER971U<FX@)&)O9'D["GT*"@HC(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C"B,@0G5I;&1!<'!L971087)A;7,*(PHC(%1H
M:7,@:7,@34-+('-P96-I9FEC"B,*(R!"=6EL9"!T:&4@<&%R86UE=&5R(&QI
M;F5S(&9O<B!A;B!A<'!L970*(R!T:&%T('=I;&P@<W5B;6ET(&$@<&%Y;65N
M="!R97%U97-T('1O('1H92!#87-H(%)E9VES=&5R"B,*(R,C(R,C(R,C(R,C
M(R,C(R,C(PH*<W5B($)U:6QD07!P;&5T4&%R86US"GL*("`@("`@("!M>2@D
M34]R968L("1-1G)E9BD@/2!`7SL*("`@("`@("!M>2@E34\L("5-1BD["B`@
M("`@("`@;7DH)&)O9'DL("1T8F]D>2D["@H@("`@("`@("5-3R`]("4D34]R
M968["B`@("`@("`@)4U&(#T@)21-1G)E9CL*"B`@("`@("`@)&)O9'D@/2`B
M(CL*("`@("`@("`D=&)O9'D@/2!G96Y54DQE;F-O9&5D1F]R;2@E34\I.PH@
M("`@("`@("1B;V1Y("X]("`B/'!A<F%M(&YA;64]7")-3UPB('9A;'5E/5PB
M)'1B;V1Y7"(^7')<;B(["@H@("`@("`@("1T8F]D>2`](&=E;E523&5N8V]D
M961&;W)M*"5-1BD["B`@("`@("`@)&)O9'D@+CT@("(\<&%R86T@;F%M93U<
M(DU&7"(@=F%L=64]7"(D=&)O9'E<(CY<<EQN(CL*"B`@("`@("`@<F5T=7)N
M("1B;V1Y.PI]"@H*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,*(R!'96YE
M<F%T95!A>6UE;G1086=E"B,*(R!':79E;B!T:&ES(&EN<'5T.@HC("`@)'!A
M>6UE;G1496UP;&%T92`M+2!(5$U,('1E;7!L871E('1H870@=VEL;"!H879E
M('1H92!P87EM96YT(')E<75E<W0*(R`@("`@("`@("`@("`@("`@("`@96UB
M961D960@:6X@:70*(R`@("1T96UP3E9,:7-T<F5F("`@+2T@82!P;VEN=&5R
M('1O(&$@;&ES="!O9B!(5$U,('1E;7!L871E('!A<F%M971E<G,*(R`@("1A
M<F=.5DQI<W1R968@("`@+2T@82!P;VEN=&5R('1O(&$@;&ES="!O9B!087EM
M96YT(%!A<F%M971E<G,*(PHC($=E;F5R871E('1H92!087EM96YT4&%G92!T
M:&%T('=I;&P@8F4@9&ES<&QA>65D('1O('1H92!C;VYS=6UE<@HC(&%N9"!L
M875N8V@@=&AE($-A<VA296=I<W1E<B!P87EM96YT(')E<75E<W0*(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C"@IS=6(@1V5N97)A=&5087EM96YT4&%G90I[
M"@EM>2`H)'!A>6UE;G1496UP;&%T92P@)'1E;7!.5DQI<W1R968L("1A<F=.
M5DQI<W1R968I(#T@0%\["@EM>2`H)71E;7!L871E07)G<RP@)7!A>6UE;G1!
M<F=S+"`D2%1-3%]H96%D97(L("1T;VME;BD["@EM>2`H)4U/+"`E348I.PH)
M"B`@("`@("`@)71E;7!L871E07)G<R`]("4D=&5M<$Y63&ES=')E9CL*("`@
M("`@("`E<&%Y;65N=$%R9W,@/2`E)&%R9TY63&ES=')E9CL*"@DD2%1-3%]H
M96%D97(@/2`B0V]N=&5N="UT>7!E.B!T97AT+VAT;6Q<<EQN7')<;B(["@D*
M"2-T:&4@86-T=6%L(&UE<W-A9V4@:7,@9&]N92!B>2!R96%D:6YG(&%N9"!E
M>'!A;F1I;F<@82!P87EM96YT('1E;7!L871E+BXN"@H):68@*"%O<&5N("A0
M05E-14Y4+"`B/"1P87EM96YT5&5M<&QA=&4B*2D@>PH)"7)E='5R;B`D15].
M;U]496UP;&%T93L@("`C(&YE960@=&\@9&5F:6YE('-O;64@8V]D97,N+@H)
M?0H*"2,@0G5I;&0@8FQO8VMS"B`@("`@("`@)4U/(#T@)D)U:6QD0FQO8VLH
M(FUO(BP@)7!A>6UE;G1!<F=S*3L*("`@("`@("`E348@/2`F0G5I;&1";&]C
M:R@B;68B+"`E<&%Y;65N=$%R9W,I.PH*"2-$=6UB(&%S(&1I<G0@=&5M<&QA
M=&EN9RXN+BX*"@EP<FEN="`D2%1-3%]H96%D97(["@H)=VAI;&4H/%!!64U%
M3E0^*2!["@D))&QI;F4@/2`B(CL*"0DD:6YL:6YE(#T@)%\["@D)"0H)"0DC
M($%L;&]W(&UU;'1I<&QE=&]K96YS(&]N(&$@;&EN90H)"0DC('1O:V5N(')E
M<&QA8V5M96YT(&ES("I.3U0J(')E8W5R<VEV90H)"0DC($-O;G-U;64@)&EN
M;&EN92P@;W5T<'5T(&=O97,@=&\@)&QI;F4*"@D)=VAI;&4@*"1I;FQI;F4@
M/7X@+R,H6UQW72LI(R\I('L*"0D))'1O:V5N(#T@)#$["@D)"6EF("AD969I
M;F5D*"1T96UP;&%T94%R9W-[)'1O:V5N?2DI('L*"0D)"0DC('-U8G-T:71U
M=&4@=&AE('9A;'5E(&9O<B!T:&4@=&]K96X@"@D)"0DD;&EN92`N/2`B)&`B
M("X@)'1E;7!L871E07)G<WLD=&]K96Y].PH)"0D))&EN;&EN92`]("(D)R([
M"@D)"7T*"0D)96QS:68@*"1T;VME;B!E<2`B34%.54%,7T%21U,B*2"21I;FQI;F4@/2`B)"<B.PH)"0E]"@D)?0H)"21L:6YE("X]
M("1I;FQI;F4["@H)"7!R:6YT("1L:6YE.PH)?0H*"6-L;W-E*%!!64U%3E0I
M.PH*"7)E='5R;B`D15].;T5R<CL@("`@(R!A;&P@:7,@=V5L;`I]"@HC(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C"B,@0G)O=W-E<@HC"B,@1&5T97)M:6YE('1H92!B<F]W<V5R
M('1Y<&4@=&AA="!T:&4@8V]N<W5M97(@:7,@=7-I;F<*(R!F<F]M(&1A=&$@
M:6X@=&AE($A45%`@<F5Q=65S="!H96%D97)S("A(5%107U5315)?04=%3E0I
M"B,*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,*"G-U8B!"<F]W
M<V5R('L*("`@(&UY*"5B<F]W<V5R*2`]("@I.PH@("`@;7DH)'!L871F;W)M
M+"1T>7!E+"1V97)S:6]N*3L*"B`@("`D7R`]("1%3E9[)TA45%!?55-%4E]!
M1T5.5"=].PH*("`@(",@9V5T('1H92!P;&%T9F]R;0H@("`@:68@*"]W:6XH
M9&]W<RD_7',J*#,R?#DU?&YT*2]I*2!["B`@("`@("`@)'!L871F;W)M(#T@
M)W=I;C,R)SL*("`@('T@96QS:68@*"]W:6XO:2D@>PH@("`@("`@("1P;&%T
M9F]R;2`]("=W:6XG.PH@("`@?2!E;'-I9B`H+VUA8R]I*2R;W=S97(@
M='EP92!A;F0@=F5R<VEO;@H@("`@(R!&:7)S="P@8VAE8VL@97AP;&EC:71L
M>2!F;W(@35-)10H@("`@:68@*"]-4TE%+RD@>PH@("`@("`@("1T>7!E(#T@
M)TU3244G.PH@("`@("`@("@D=F5R<VEO;BD@/2`O35-)15QS*R@N*S\I.R\[
M"B`@("!](&5L<V4@>PH@("`@("`@("@D='EP92PD=F5R<VEO;BD@/2`O7B@N
M*C\I7"]<<RHH+BL_*5QS+SL*("`@('T*"B`@("`C('!U="!I="!I;G1O('1H
M92!A<W-O8R!A<G)A>0H@("`@)6)R;W=S97(@/2`H("=P;&%T9F]R;2<@/3X@
M)'!L871F;W)M+`H@("`@("`@("`@("`@("`@("=T>7!E)R`@("`@/3X@)'1Y
M<&4L"B`@("`@("`@("`@("`@("`@)W9E<G-I;VXG("`]/B`D=F5R<VEO;B`I
M.PH*("`@(')E='5R;B@E8G)O=W-E<BD["GT*"B,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(PHC("!0<FEN=%1E;7!L871E"B,@(`HC("!)
M;G!U=',Z"B,@("`@)'1E;7!L871E("`M+2!F=6QL('!A=&@@=&\@82!T96UP
M;&%T92!T:&%T(&UU<W0@8F4@97AP86YD960@86YD(&]U='!U=`HC("`@("5T
M;VME;G,@("TM(&QI<W0@;V8@=&]K96X@;F%M97,@86YD('9A;'5E<R!T;R!S
M=6)S=&ET=71E(&EN('1H92!T96UP;&%T90HC"B,@("`@4F5A9"!T:&4@=&5M
M<&QA=&4@9FEL92P@<W5B<W1I='5T92!V86QU97,@9F]R('1O:V5N<R!I;B!T
M:&4@=&5M<&QA=&4*(R`@("!A;F0@9'5M<"!T:&4@<F5S=6QT<R!T;R!35$1/
M550N"B,*(R`@4F5T=7)N.B!S=&%T=7,N("`P(&ES($]++"!A;GET:&EN9R!E
M;'-E(&EN9&EC871E<R!A(&9A:6QU<F4N"B,*(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C"@IS=6(@4')I;G1496UP;&%T90I["@EM>2@D=&5M<&QA=&4L("`E=&]K
M96YS*2`]($!?.PH);7D@*"1V86PL("1T;VME;DYA;64L("1V86Q.86UE*3L*
M"6UY("@D=&5M<$9I;&4L("1P;W,I.PH);7D@*"1E<G)S='(I.PH*"2,@5&AE
M;BP@<F5A9"!T96UP;&%T92!A;F0@<')I;G0@:70L('-U8G-T:71U=&EN9R!V
M86QI9"!T;VME;G,*"75N;&5S<R`H;W!E;BA414U03$%412PB/"1T96UP;&%T
M92(I*2I;F1E>"@D=&5M<&QA=&4L("1&24Q%4T50*3L*
M"0EI9B`H)'!O<R`\/2`P*296QS92?0H)"0H)"21E<G)S='(@/2`F34-+1V5T17)R;W)-97-S
M86=E*"1%7TYO7U1E;7!L871E*3L*"B`@("`))D-#17)R;W(H(B0P.B`D97)R
M<W1R("@D=&5M<&QA=&4I.B`D(2(I.PH@("`@"7)E='5R;B`D15].;U]496UP
M;&%T93L*"7T*"@EP<FEN="`B0V]N=&5N="UT>7!E.B!T97AT+VAT;6Q<<EQN
M7')<;B(["@EW:&EL92`H/%1%35!,051%/BD@>PH)"7=H:6QE("@O7",H6UQW
M+2XZ.UTK*5PC+RD@>PH)"0DD=&]K96Y.86UE(#T@)#$["@H)"0EI9B`H)'1O
M:V5N3F%M92`]?B`O7G5R;"TO*2!["@D)"0DC(&YE960@=&\@=7)L+65N8V]D
M92!T:&4@=F%L=64@8F5F;W)E('-U8G-T:71U=&EO;@H)"0D)(R!S=')I<"!T
M:&4@<')E9FEX"@H)"0D))'9A;$YA;64@/2!S=6)S='(H)'1O:V5N3F%M92P@
M-"D["@D)"0EI9B`H9&5F:6YE9"`H)'1O:V5N<WLD=F%L3F%M97TI*2'1O:V5N<WLD=F%L3F%M97TI.PH)"0D)
M?0H)"0D)96QS92"7T*"0D)?0H)"0EE
M;'-I9B`H9&5F:6YE9"`H)'1O:V5N<WLD=&]K96Y.86UE?2DI('L*"0D)"21V
M86P@/2`D=&]K96YS>R1T;VME;DYA;65].PH)"0E]"@D)"65L<V4@>PH)"0D)
M)'9A;"`]("(@(CL*"0D)?0H*"0D)<R]<(R1T;VME;DYA;65<(R\D=F%L+SL*
M("`@(`E]"B`@("`)<')I;G0["@E]"@EC;&]S92A414U03$%412D["@H)<F5T
M=7)N("1%7TYO17)R.PI]"@HC(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PHC(%-T
M<FEN9U1E;7!L871E"B,*(R`@26YP=71S.@HC("`@("1T96UP;&%T92`@+2T@
M9G5L;"!P871H('1O(&$@=&5M<&QA=&4@=&AA="!M=7-T(&)E(&5X<&%N9&5D
M(&%N9"!O=71P=70*(R`@("`E=&]K96YS("`M+2!L:7-T(&]F('1O:V5N(&YA
M;65S(&%N9"!V86QU97,@=&\@<W5B<W1I='5T92!I;B!T:&4@=&5M<&QA=&4*
M(PHC(')E860@=&AE('1E;7!L871E(&%N9"!B=6EL9"!A('-T<FEN9R!F<F]M
M(&ET+"!R97!L86-I;F<*(R!T;VME;G,@87,@>6]U(&=O+BXN"B,*(R`@4F5T
M=7)N("1S=&%T=7,L(&%N9"!R97-U;'1I;F<@<W1R:6YG"B,@("`@:68@<W1A
M='5S(#T@)$5?3F]%<G(@*#`I+"!E;'-E('1H:7,@9F%I;&5D"B,*(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(PH*<W5B(%-T<FEN9U1E;7!L871E"GL*"6UY
M*"1T96UP;&%T92P@("5T;VME;G,I(#T@0%\["@EM>2`H)'9A;"P@)'1O:V5N
M3F%M92P@)'9A;$YA;64I.PH);7D@*"1T96UP1FEL92P@)'!O<RD["@EM>2@D
M97)R<W1R*3L*"@EM>2@D;W5T4W1R*3L*"@DD;W5T4W1R(#T@(B(["@H)"2,@
M;6%Y8F4@;F\@;F]T92!I<R!N965D960_"@EI9B`H(21T96UP;&%T92D@>PH)
M"2`@("`@("`C(&UA>6)E('1H:7,@:7,@3TL_"B`@("`@("`@<F5T=7)N("@D
M15].=6QL7U)E<W5L="P@)&]U=%-T<BD["@E]"@D*"@DC(%1H96XL(')E860@
M=&5M<&QA=&4@86YD(&)U:6QD(&$@<W1R:6YG("!F<F]M(&ET+"!S=6)S=&ET
M=71I;F<@=F%L:60@=&]K96YS"@EU;FQE<W,@*&]P96XH5$5-4$Q!5$4L(CPD
M=&5M<&QA=&4B*2D@>PH)"21P;W,@/2!R:6YD97@H)'1E;7!L871E+"`D1DE,
M15-%4"D["@D):68@*"1P;W,@/#T@,"D@>PH)"0DD=&5M<$9I;&4@/2`D=&5M
M<&QA=&4["@D)?0H)"65L<V4@>PH)"0DD=&5M<$9I;&4@/2!S=6)S='(H)'1E
M;7!L871E+"`D<&]S*S$I.PH)"7T*"0D*"0DD97)R<W1R(#T@)DU#2T=E=$5R
M<F]R365S<V%G92@D15].;U]496UP;&%T92D["@H@("`@"29#0T5R<F]R*"(D
M,#H@)&5R<G-T<B`H)'1E;7!L871E*3H@)"$@(BD["B`@("`)<F5T=7)N("@D
M15].;U]496UP;&%T92P@(B(I.PH)?0H*"7=H:6QE("@\5$5-4$Q!5$4^*2![
M"@D)=VAI;&4@*"]<(RA;7'<M+CH[72LI7",O*2!["@D)"21T;VME;DYA;64@
M/2`D,3L*"@D)"6EF("@D=&]K96Y.86UE(#U^("]>=7)L+2\I('L*"0D)"2,@
M;F5E9"!T;R!U<FPM96YC;V1E('1H92!V86QU92!B969O<F4@<W5B<W1I='5T
M:6]N"@D)"0DC('-T<FEP('1H92!P<F5F:7@*"@D)"0DD=F%L3F%M92`]('-U
M8G-T<B@D=&]K96Y.86UE+"`T*3L*"0D)"6EF("AD969I;F5D("@D=&]K96YS
M>R1V86Q.86UE?2DI('L*"0D)"0DD=F%L(#T@)G5R;&5N8V]D92@D=&]K96YS
M>R1V86Q.86UE?2D["@D)"0E]"@D)"0EE;'-E('L*"0D)"0DD=F%L(#T@(B`B
M.PH)"0D)?0H)"0E]"@D)"65L<VEF("AD969I;F5D("@D=&]K96YS>R1T;VME
M;DYA;65]*2D@>PH)"0D))'9A;"`]("1T;VME;G-[)'1O:V5N3F%M97T["@D)
M"7T*"0D)96QS92!["@D)"0DD=F%L(#T@(B`B.PH)"0E]"@H)"0ES+UPC)'1O
M:V5N3F%M95PC+R1V86PO.PH@("`@"7T*("`@(`DD;W5T4W1R("X]("1?.PH)
M?0H)8VQO<V4H5$5-4$Q!5$4I.PH*"7)E='5R;B`H)$5?3F]%<G(L("1O=713
+='(I.PI]"@HQ.PH=
`
end
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 20 16:35:01 2001
Subject: [ic] Problem with lib/Vend/Table/GDBM.pm (Can MySQL be
At 02:30 PM 06/20/2001 -0500, you wrote:
>Thanks for your input, Ed.
>
>Let me try to clarify. I did get Interchange installed and got the demo
>catalog up and running.
I'll jump it right here and say: search the mailist archives at
developer.akopia.com - there are many posts on this subject and at least
one proposed solution:
http://developer2.akopia.com/archive/interchange-users/2001/msg01819.html
- Ed L.
>However, I seem to be having some problems with certain admin pages. The
>errors I get in the catalog error.log file look like this:
>
>cd943222-a.sxflls1.sd.home.com NauIUWRQ:home.com - [10/June/2001:06:21:41
>-0700] stufftobuy /cgi-bin/stufftobuy/admin/item_up Runtime error: couldn't
>init cache at /usr/home/speedwoo/www/interchange/lib/Vend/Table/GDBM.pm line
>107.
>
>
>
>Similarly, errors like these appear in the Interchange error.log file:
>
>cd943222-a.sxflls1.sd.home.com NauIUWRQ:home.com - [10/June/2001:06:22:14
>-0700] stufftobuy /cgi-bin/stufftobuy/admin/item_edit.html Runtime error:
>couldn't init cache at
>/usr/home/speedwoo/www/interchange/lib/Vend/Table/GDBM.pm line 107.
>
>
>
>Based on this, I'm wondering if I can take the data that is being stored in
>DBM files and move it to MySQL, since the MySQL interface seems to be
>working great.
>
>In the meantime, I'll try running the script you mentioned.
>
>I'd appreciate any further advice on this issue.
>
>Thanks all.
>
>--
>Michael Lehmkuhl <michael@electricpulp.com>
>Partner, Electric Pulp
>
>1.605.988.0177 : 1.888.722.PULP
>electricpulp.com
>
>
> > From: Ed LaFrance <edl@newmediaems.com>
> > Reply-To: interchange-users@developer.akopia.com
> > Date: Wed, 20 Jun 2001 08:54:48 -0700
> > To: interchange-users@developer.akopia.com
> > Subject: Re: [ic] Problem with lib/Vend/Table/GDBM.pm (Can MySQL be used
> > instead?)
> >
> > At 10:38 PM 06/19/2001 -0500, you wrote:
> >> Hello everyone.
> >>
> >> I'm still pretty new to Interchange.
> >>
> >> I've installed a store based on the construct demo using MySQL as the
> >> database. Everything seems to be working except those portions that
> rely on
> >> the .dbm files. I've read posts regarding using the MINIVEND_DBFILE, but
> >> that approach did not work for my installation. I'm in a shared hosted
> >> environment, so I don't have much access to reinstall Perl or things
> of that
> >> sort.
> >>
> >> Is it possible to run all the data through MySQL, rather than storing some
> >> in .dbm files? Both the GDBM and DB_File implementations on my hosting
> >> provider's server seem to be giving me some attitude.
> >>
> >> I've read through the documentation regarding how Interchange uses
> >> databases, but I'm not totally clear what the process would be to move the
> >> data in the .dbm files into MySQL.
> >>
> >
> > You might want to try a script which was included with IC 4.6.x (don't know
> > about 4.7.x): cpan_local_install. You should find it within the IC
> > distribution directory: interchange-4.6.x/dist/src/. This assumes that you
> > installed IC in your home directory using the .tar.gz dist. If your
> > hosting provider runs interchange centrally and merely provides you with a
> > catalog, you should complain loudly about any missing or broken Perl
> > modules. Failing both of those, you can go into yourcat/dbconf/mysql, and
> > try your hand at converting all the .dbm database definitions into mysql
> > definitions - there are plenty of the latter to follow as examples.
> >
> > - 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
===============================================================
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 lists.akopia.com (rob watson)
Date: Wed Jun 20 16:41:01 2001
Subject: [ic] MySQL Problems
Hi,
I've been banging my head against the wall trying to integrate a MySQL
database with Interchange.
I've run the gauntlet of errors ( I don't even want to talk about PGP) and
I was wondering if someone could post, or email me, a sample 'catalog.cfg'
and any other config files that enable a connection to a MySQL database.
Some sample errors that I've gotten lately are:
rob4 config error: DBI: no column names returned for affiliate
Error: Table 'ic_test_create' already exists
robert19 config error: No database object for table: gift_certs
Probable mismatch of Database directive to database type,for example
calling DBI without proper modules or database access.
I'm on a SunOS 5.7 and I have gone through the documentation but would
really like to see an example.
Thank's
Rob
From: interchange-users at lists.akopia.com (Tim)
Date: Wed Jun 20 16:47:00 2001
Subject: [ic] How to sort by pricing:price ?
I was trying to figure out how to sort by SKU. I found this very helpful
thread:
http://interchange.redhat.com/archive/interchange-users/2001/msg00942.html
>Tim
________________
Tim Mateosian
tim@mateosian.com
From: interchange-users at lists.akopia.com (Jack Lauman)
Date: Wed Jun 20 16:54:01 2001
Subject: [ic] CyberCash MCK Version 3.2.0.4 -- still looking
You should be able to find it here:
http://www.cybercash.com/cashregister/support/
Jack
Jeff Scott wrote:
>
> Unfortunately the client already uses Cybercash with another ecommerce
> system -- they want to stick with it (as long as they can anyway).
>
> Still looking for the MCK 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 --
> if someone could e-mail it to me or point me to it I would appreciate it.
>
> Cheers,
> Jeff
>
> -----Original Message-----
> From: interch [mailto:interch@web3.valley-internet.com]
> Sent: Wednesday, June 20, 2001 7:48 AM
> To: 'interchange-users@developer.akopia.com'
> Subject: RE: [ic] CyberCash MCK Version 3.2.0.4
>
> I would really look at just using Payflow Pro if you are going to stick
> with Verisign. From what I have heard the MCK is going to be gone asap,
> only staying around long enough for people to switch over to either
> Payflow Pro or Payflow Link.
>
> Chris
>
> On Tue, 19 Jun 2001, Jeff Scott wrote:
>
> > I've been trying to find MCK version 3.2.0.4 or 3.2.0.5 for a couple days
> > now. Multiple calls to CyberCash (hoping to get someone with some
> > knowledge) says that they do not have the older versions. Oddly the only
> > thing they have in their internal knowledgebase about Minivend or
> > Interchange is a pointer to the homestead.com page -- that is
> unfortunately
> > gone now.
> >
> > Can someone send either 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2 to
> > me? I would appreciate it greatly.
> >
> > Cheers,
> > Jeff
> >
> > -----Original Message-----
> > From: tanis@chariot.net.au [mailto:tanis@chariot.net.au]
> > Sent: Wednesday, May 23, 2001 11:36 AM
> > To: interchange-users@developer.akopia.com
> > Subject: [ic] CyberCash MCK Version 3.2.0.4
> >
> > Hi all,
> >
> > Am hoping someone on the list has the CyberCash MCK for Redhat Linux
> > 6.x,
> > version 3.2.0.4, as I am trying to setup a store using CyberCash. I would
> > appreciate
> > if someone could send me this off the list at tanis@chariot.net.au
> >
> > Thanks,
> > John Bailey.
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Kyle Cook)
Date: Wed Jun 20 18:22:01 2001
Subject: [ic] MySQL Problems - One answer is to...
At 01:46 PM 6/20/01, you wrote:
>Hi,
>
>I've been banging my head against the wall trying to integrate a MySQL
>database with Interchange.
>
>I've run the gauntlet of errors ( I don't even want to talk about PGP) and
>I was wondering if someone could post, or email me, a sample 'catalog.cfg'
>and any other config files that enable a connection to a MySQL database.
>
>Some sample errors that I've gotten lately are:
>
>rob4 config error: DBI: no column names returned for affiliate
>
>Error: Table 'ic_test_create' already exists
>
>robert19 config error: No database object for table: gift_certs
>Probable mismatch of Database directive to database type,for example
>calling DBI without proper modules or database access.
>
>
>I'm on a SunOS 5.7 and I have gone through the documentation but would
>really like to see an example.
>
>Thank's
>Rob
Rob,
Maybe part of the below will help.
Its some notes I kept on getting MySQL set up in a custom site.
I cleaned them up a little and maybe it will help you or others.
(I try to help anyway :-)
Here is one way to set up MySQL, but you must set
up the database and tables manually via telnet,
PhpMyAdmin, etc.
##############################################
General steps (refer to documentation about
specific Variables, Permissions, fields for
products tables etc )
##############################################
#1. Set up Mysql db & tables
Administer, set up tables, import data manually
from outside IC. Set up the interch (or XXXXX) user
for appropriate permissions with a password and
use this info in catalog.cfg (below)
##############################################
#2. relevant cat.cfg lines
# --- excerpt catalog.cfg (FILL IN THE XXXXXX's) ---------
Variable SQLDSN dbi:mysql:XXXXXXX:localhost:3333
Variable SQLDB XXXXXXX
Variable SQLUSER XXXXXXX
Variable SQLPASS XXXXXXX
Message Using MySQL, DSN=__SQLDSN__.
# Tell the default DBM we are using something else...
Variable SOME_DATABASE 1
# The table defs are in separate files in the dbconf
# directory, the ones kept in DBM are in TABLENAME.dbm files.
#include dbconf/*
# set any NON MySQL tables here:
Database country country.txt TAB
Database salestax salestax.asc TAB
Database state state.asc TAB
Database Ground gndres.csv CSV
Database 2ndDayAir 2da.csv CSV
Database NextDayAir 1da.csv CSV
# ----------------------------------------------------------
##############################################
#3. Save some files in catalog directories for ea table
Note XXX below indicates each table that you need
in IC like products, inventory, etc.
Leave some empty XXX.sql files in your products
directory for each table (to prevent IC from
attempting to import data upon restart)
Also add some XXX.mysql files in dbconf directory.
At a minimum, these should look like:
# -------------------------------------------------
# MiniVend database definition
Database products products.txt __SQLDSN__
#ifdef SQLUSER
Database products USER __SQLUSER__
#endif
#ifdef SQLPASS
Database products PASS __SQLPASS__
#endif
# -------------------------------------------------
Note don't really need all the #ifdef conditions
if you know you will always use a username and pass
to connect to MySQL so could shorten to:
# -------------------------------------------------
# MiniVend database definition
Database products products.txt __SQLDSN__
Database products USER __SQLUSER__
Database products PASS __SQLPASS__
# -------------------------------------------------
##############################################
#4. Try a restart/reconfig and see what happens.
If problems, look at/post your error logs.
##############################################
Good Luck!
Kyle (KC)
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Wed Jun 20 19:18:01 2001
Subject: [ic] Problem with IC 4.7.4
On Wed, 20 Jun 2001, Walter de Kok wrote:
WdK>>Please help me it's pretty urgent.
I strongly recommend that if "it's pretty urgent" that you find a
different solution. Rich Carey's Commerce.cgi works very well, and sets
up relatively easy. And, it's also free.
To make spaghetti sauce properly takes a lot of time. It's no where's
near as good if you hurry through it.
Interchange takes time to set up, it takes time to get it working
right. Even if you start with 'construct' or 'foundation', this is not
instant gratification.
Like great spaghetti sauce, take your time, get all of the ingredients
just right, don't rush the job and you will end up with a great store!
And, like the Prego saying about their sauce, the same can be said
about Interhcnage, "It's in there!"
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, June 20, 2001 at 19:15 PM:
Are you wearing a toupe or is that a TRIBBLE on your head?
----------------------------------------------------------------
This Linux System has been up 102 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Vinod Kumar)
Date: Wed Jun 20 23:15:00 2001
Subject: [ic] problem regarding interchange
whenever i submit the checkout form it is giving me an error of [subject] .
what is the reason of this error .
in the action of checkout.html file [process] is specified .what is this
[process] all about .
Which file is storing the information about the products ordered .i need
this information for storing it in database .
How can i customize the checkout form . i want to add some more fields in
the form .
please help me in sorting out these problems
regards
Vinod kumar
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Thu Jun 21 02:47:01 2001
Subject: [ic] Re: Interchange-users digest, Vol 1 #584 - 15 msgs
I try to do it, it's not so diffcult but when i call the catalog it return
me an internal server error, both UI and catalog
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di Marcin
Zyla BiPS
Inviato: mercoledi 20 giugno 2001 0.49
A: interchange-users-request@developer.akopia.com
Oggetto: [ic] Re: Interchange-users digest, Vol 1 #584 - 15 msgs
Hello interchange-users,
Hello.
Please support to newbie :-)))
My Interchange is http://mzyla.com/mzyla
My problem is in shipping method. My ideal method is:
Based in price.
Price 0-300 adding shiping cost 19
Price 300 - 10000 nothing additional shiping cost
Price 10000 + Message (call to +48601431926)
Country = poland only
HOW TO setings????
Please, if accesible login to my site & work in shiping:
Admin name: lista
Admin password: lista
--
Best regards,
Marcin mailto:mzyla@xox.pl
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Admin)
Date: Thu Jun 21 07:49:00 2001
Subject: [ic] How to get Item Attributes on UI report
A couple of weeks ago I asked the list for help getting info from the
customer
when an order was placed. Got great help, Thanks. I am able to display the
information everywhere except my customer needs a report that prints the
orders with the Item attributes on them for that days business.
When I look at the UI pages it looks like all info for orders are pulled
from
the orderline table. Do I need to rethink my approach and create a table
that
records the info or modify the orderline or transaction table to hold this
info.
Also can and how do I write the user input to a table.
Thanks
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Thu Jun 21 15:06:01 2001
Subject: [ic] (no subject)
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
Hi,
Interchange has been runing great for months! (Thank you for this great
tool!) I am running several catalogs with NO problems. I installed the rpm
as root and have been starting Interchange as root until recently when I
understood this was not safe. However, when I start Interchange as interch,
I receive these error messages:
root@curt /tmp]# su -c "/etc/rc.d/init.d/interchange start" interch
bash: /root/.bashrc: Permission denied
Starting interchange: [ OK ]
touch: /var/lock/subsys/interchange: Permission denied
Interchange does start up and seems to run fine. If I start as root, I don't
get these error messages. So far I have done this:
chown -R interch:interch /usr/lib/interchange and the same for the cat
directories
I made sure interch was in /etc/group (interch:x:101:)
/var/log/interchange/error.log looks fine (tho seems like it starts 2
processes, compared to the tarball version I used previously):
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - START server (6979) (INET and UNIX)
[21/June/2001:12:06:06 -0700] - - Accepting connections from
localhost|127\.0\.0\.1
[21/June/2001:12:06:06 -0700] - - START server (6982) (INET and UNIX)
I have nothing in cat error.logs
I did: su -c "chmod -R 0770 /usr/lib/interchange" interch and got this:
bash: /root/.bashrc: Permission denied
although as root I can do chmod
Now I just did: su -c "chmod -R 0770 /home/funtime" interch and OMG now that
funtime catalog gives me "We're sorry, the Interchange server is
unavailable..." YIKES! All other catalogs are still OK.
Now even as root: chmod -R 0755 /home/funtime fails to remedy that funtime
catalog error. I can't win... Still getting the same errors, too.
The mail archives got me going in the right direction, but no success. I
think I just don't understand Linux or Interchange very well and how
permissions/groups work. I didn't have this kind of trouble before I
installed the RPM version on my own server. I could really use a little
help. Any pointers? Do I need to re-install Interchange?
Thanks to anyone for a little push.
Curt Hauge
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Thu Jun 21 15:32:00 2001
Subject: [ic] Permission problems starting Interchange as interch vs root
(Sorry for the repost - I felt the subject line was important for archives)
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
Hi,
Interchange has been runing great for months! (Thank you for this great
tool!) I am running several catalogs with NO problems. I installed the rpm
as root and have been starting Interchange as root until recently when I
understood this was not safe. However, when I start Interchange as interch,
I receive these error messages:
root@curt /tmp]# su -c "/etc/rc.d/init.d/interchange start" interch
bash: /root/.bashrc: Permission denied
Starting interchange: [ OK ]
touch: /var/lock/subsys/interchange: Permission denied
Interchange does start up and seems to run fine. If I start as root, I don't
get these error messages. So far I have done this:
chown -R interch:interch /usr/lib/interchange and the same for the cat
directories
I made sure interch was in /etc/group (interch:x:101:)
/var/log/interchange/error.log looks fine (tho seems like it starts 2
processes, compared to the tarball version I used previously):
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - Using default DBM database.
[21/June/2001:12:06:05 -0700] - - START server (6979) (INET and UNIX)
[21/June/2001:12:06:06 -0700] - - Accepting connections from
localhost|127\.0\.0\.1
[21/June/2001:12:06:06 -0700] - - START server (6982) (INET and UNIX)
I have nothing in cat error.logs
I did: su -c "chmod -R 0770 /usr/lib/interchange" interch and got this:
bash: /root/.bashrc: Permission denied
although as root I can do chmod
Now I just did: su -c "chmod -R 0770 /home/funtime" interch and OMG now that
funtime catalog gives me "We're sorry, the Interchange server is
unavailable..." YIKES! All other catalogs are still OK.
Now even as root: chmod -R 0755 /home/funtime fails to remedy that funtime
catalog error. I can't win... Still getting the same errors, too.
The mail archives got me going in the right direction, but no success. I
think I just don't understand Linux or Interchange very well and how
permissions/groups work. I didn't have this kind of trouble before I
installed the RPM version on my own server. I could really use a little
help. Any pointers? Do I need to re-install Interchange?
Thanks to anyone for a little push.
Curt Hauge
From: interchange-users at lists.akopia.com (steveh)
Date: Thu Jun 21 16:26:01 2001
Subject: [ic] Special shipping options
Hello all...
I have a special request from a client on shipping and I don't have a clue how to do it.
Shipping guidelines:
All products shipped in Zone 2 w/ UPS Ground:Next Day Air:Second Day Air
Outside zone 2 must be Next Day or Second Day Air
More then 3 products have to be shipped Next Day.
Any ideas and thanks....Steve
From: interchange-users at lists.akopia.com (Garry)
Date: Thu Jun 21 18:08:01 2001
Subject: [ic] US Regions
Hi,
On the checkout page there is a list of regions in the States starting with
"Military Americas" etc etc.
Does anyone know how I could quickly and easily modify this table or what
the table is called?, is it accessible through the Admin Interface?
Cheers
Gaz.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 21 22:34:00 2001
Subject: [ic] Wishlist request, UserTag <tagname> Reparse 1
Quoting cfm@maine.com (cfm@maine.com):
> We're trying to convert our 4.03 catalogs to 4.73. It
> seemed at first easier than it is turning out to be.
> Rollback. :-(
>
> This is one place that has changed between 4.30 and 4.73,
> the 'reparsing' of the return value from a [usertag].
>
> --
>
> Wishlist request for: UserTag <tagname> Reparse 1
> so one could do:
> UserTag embed HasEndTag 1
> UserTag embed Interpolate 0
> UserTag embed Reparse 1
> UserTag embed Routine <<EOF
That is exactly the same as:
UserTag embed HasEndTag 1
UserTag embed Routine <<EOF
If it is not working that way, something is wrong.
There are some new constraints on storing data in databases and
retrieving it via the list tags, but other than that I cannot see
why it wouldn't work that way.
--
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 lists.akopia.com (Eric Hull)
Date: Thu Jun 21 23:04:01 2001
Subject: [ic] CyberCash MCK Version 3.2.0.4 -- still looking
I have 3 different stores running cybercrash - I've got the MCK
install-mck-3.2.0.5-i586-pc-linux-gnulibc2.1.Z let me know if you need
it - send me an email - eric@webuildpcs.com
Eric
Visit us on the web at www.webuildpcs.com
Computer Hardware - Wholesale Prices
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jack
Lauman
Sent: Wednesday, June 20, 2001 3:59 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] CyberCash MCK Version 3.2.0.4 -- still looking
You should be able to find it here:
http://www.cybercash.com/cashregister/support/
Jack
Jeff Scott wrote:
>
> Unfortunately the client already uses Cybercash with another ecommerce
> system -- they want to stick with it (as long as they can anyway).
>
> Still looking for the MCK 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc
2 --
> if someone could e-mail it to me or point me to it I would appreciate it.
>
> Cheers,
> Jeff
>
> -----Original Message-----
> From: interch [mailto:interch@web3.valley-internet.com]
> Sent: Wednesday, June 20, 2001 7:48 AM
> To: 'interchange-users@developer.akopia.com'
> Subject: RE: [ic] CyberCash MCK Version 3.2.0.4
>
> I would really look at just using Payflow Pro if you are going to stick
> with Verisign. From what I have heard the MCK is going to be gone asap,
> only staying around long enough for people to switch over to either
> Payflow Pro or Payflow Link.
>
> Chris
>
> On Tue, 19 Jun 2001, Jeff Scott wrote:
>
> > I've been trying to find MCK version 3.2.0.4 or 3.2.0.5 for a couple
days
> > now. Multiple calls to CyberCash (hoping to get someone with some
> > knowledge) says that they do not have the older versions. Oddly the
only
> > thing they have in their internal knowledgebase about Minivend or
> > Interchange is a pointer to the homestead.com page -- that is
> unfortunately
> > gone now.
> >
> > Can someone send either 3.2.0.4 or 3.2.0.5 for i586 pc linux gnulibc 2
to
> > me? I would appreciate it greatly.
> >
> > Cheers,
> > Jeff
> >
> > -----Original Message-----
> > From: tanis@chariot.net.au [mailto:tanis@chariot.net.au]
> > Sent: Wednesday, May 23, 2001 11:36 AM
> > To: interchange-users@developer.akopia.com
> > Subject: [ic] CyberCash MCK Version 3.2.0.4
> >
> > Hi all,
> >
> > Am hoping someone on the list has the CyberCash MCK for Redhat Linux
> > 6.x,
> > version 3.2.0.4, as I am trying to setup a store using CyberCash. I
would
> > appreciate
> > if someone could send me this off the list at tanis@chariot.net.au
> >
> > Thanks,
> > John Bailey.
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 21 23:13:00 2001
Subject: [ic] Permission problems starting Interchange as interch vs root
Quoting Curt Hauge (chc@mninter.net):
> (Sorry for the repost - I felt the subject line was important for archives)
>
> IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
>
> Hi,
>
> Interchange has been runing great for months! (Thank you for this great
> tool!) I am running several catalogs with NO problems. I installed the rpm
> as root and have been starting Interchange as root until recently when I
> understood this was not safe.
Stop right there. Why is it not safe?
You cannot start via /etc/init.d/interchange restart as interch, you
should use /usr/sbin/interchange -r.
--
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 lists.akopia.com (Paul Du Bois)
Date: Fri Jun 22 06:04:01 2001
Subject: [ic] Integrating a South African Payment Gateway through globalsub - Problem
Hi List
I'm working kind of in the dark over here in South Africa, and was hoping
you guys could give me a hand. My setup is as follows:
PIII 128MB RAM
OpenBSD 2.8 - standard perl, Apache, MySQL etc
Interchange::Bundle up to date
Interchange running fine
Now I've got to integrate a SA payment gateway - iVeri - and I want to do
this through a globalsub
I found a iTransact module that a guy put on the mail archive, using LWP to
submit to the gateway, receive back, and then continue to receipt page. I
hacked this with my own parameters and replaced urls, defined a few
Variables for the catalog.cfg. Here's the globalsub I ended up with:
GlobalSub <<EOS
sub iVeri {
my %actual = Vend::Order::map_actual();
$actual{mv_credit_card_exp_month} =~ s/\D//g;
#I believe Iveri needs "07" style month
#$actual{mv_credit_card_exp_month} =~ s/^0+//;
$actual{mv_credit_card_exp_year} =~ s/\D//g;
#I also think this will cause problems
# my $exp_year = $actual{mv_credit_card_exp_year};
# $exp_year += 2000 unless $exp_year =~ /\d{4}/;
$actual{mv_credit_card_number} =~ s/\D//g;
my $address = $actual{b_address1};
my $address .= ", $actual{b_address2}" if $actual{b_address2};
::logDebug("address: $address\n actual-address: " . $actual{address});
#make a custom orderid
my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime(time());
my $orderID = sprintf("%02d%02d%02d%02d%02d%05d%s", $year + 1900,$mon +
1,$mday,$hour,$min,$Vend::SessionName);
#put total amount in cents
my $totalamount = Vend::Interpolate::total_cost()*100.0;
#put sub total in cents
my $subtotal = Vend::Interpolate::sub_total()*100.0;
#put shipping into cents
my $shipping = Vend::Interpolate::shipping()*100.0;
#put salestax into cents
my $salestax = Vend::Interpolate::salestax()*100.0;
my %values = (
Direct_On_Error_Resume_Next => "True"
Direct_Website_Successful_url =>
$::Variable->{MV_IV_BACK_URL},
Direct_Website_Fail_url =>
$::Variable->{MV_IV_BACK_URL},
Direct_Website_TryLater_url =>
$::Variable->{MV_IV_BACK_URL},
Direct_Website_Error_url =>
$::Variable->{MV_IV_BACK_URL},
Direct_Merchant_ApplicationID =>
$::Variable->{MV_IV_MERCHANTID},
Direct_AutoInvoice_Ext => "INV",
Ecom_TransactionComplete => "False",
Direct_Order_LineItems_Product_3 => "Shipping
Charge",
Direct_Order_LineItems_Quantity_3 => "1",
Direct_Order_LineItems_Amount_3 => $shipping,
Direct_Order_LineItems_Product_1 => "Order
Subtotal",
Direct_Order_LineItems_Quantity_1 => "1",
Direct_Order_LineItems_Amount_1 => $subtotal,
Direct_Order_LineItems_Product_2 => "Sales Tax
Charge",
Direct_Order_LineItems_Quantity_2 => "1",
Direct_Order_LineItems_Amount_2 => $salestax,
Ecom_ConsumerOrderID => $orderid,
Direct_Order_Amount => $totalamount,
Ecom_BillTo_Online_Email => $actual{email},
Ecom_Payment_Card_Number =>
$actual{mv_credit_card_number},
Ecom_Payment_Card_ExpDate_Month =>
$actual{mv_credit_card_exp_month},
Ecom_Payment_Card_ExpDate_Year =>
$actual{mv_credit_card_exp_year},
Ecom_Payment_Card_StartDate_Year => "1999",
Ecom_Payment_Card_StartDate_Month => "07",
Ecom_Payment_Card_Protocols => "Iveri"
);
my $submit_url = "https://www.iveri.co.za/Direct/Authorise.asp";
use LWP::UserAgent;
use HTTP::Request::Common qw(POST);
my $ua = LWP::UserAgent->new();
my $req = POST $submit_url, \%values;
my $resp = $ua->request($req);
my %result;
## check for errors
my $error;
unless ($resp->as_string() =~ m/Location: success/) {
my $content = $resp->content();
if ($content =~ m/BEGIN ERROR DESCRIPTION --\>(.*)\<\!-- END ERROR
DESCRIPTION/s) {
$error = $1;
$error =~ s/\<.*?\>//g;
$error =~ s/[^-A-Za-z_0-9 ]//g;
} else {
## something very bad happened
$error = "something bad happened--we don't know what is is.";
}
::logError("iVeri Error: " . $error);
$result{MStatus} = 'denied';
$result{ErrMsg} = $error;
return %result;
}
## at this point, we assume everything worked just fine
$result{MStatus} = 'success';
$result{'order-id'} = "1";
return %result;
}
EOS
I've added the #include globalsubs/iVeri to interchange.cfg, and here are
some excerpts from my catalog.cfg :
### These reflect the initial settings set above;
### if you uncomment them they will override it.
#
#Variable SERVER_NAME test.assetsco.co.za
#Variable CGI_URL /cgi-bin/assetsco
#Variable SECURE_SERVER http://test.assetsco.co.za
#Variable ORDERS_TO market
#Variable IMAGE_DIR /images
#Variable DOCROOT /var/www/websites/assetsco/htdocs
#Variable SAMPLEHTML /var/www/websites/assetsco/htdocs
#Variable SAMPLEURL http://test.assetsco.co.za/
#
#Variable COMPANY The Assets Holding Co.
#Variable ENCRYPTOR none
#
#Variable SOMESQL 1
#Variable MYSQL 1
#Variable PGSQL
#Variable ORACLE
#Variable SQLDSN dbi:mysql:assetsco
#Variable SQLDB assetsco
#Variable SQLUSER market
#Variable SQLPASS saidar
Variable MV_IV_BACK_URL
http://test.assetsco.co.za/cgi-bin/assetsco/process.html
Variable MV_IV_MERCHANTID ***********************************
#i've blocked this for mail list security reasons
## END SITE CONFIGURATION
Variable MV_PAYMENT_MODE custom iVeri
# Uncomment to use creditCardAuto if you want, now handled better in
# order profiles with "&credit_card=standard".
#CreditCardAuto Yes
# These are usually all you need for CyberCash 3
# Uncomment and edit to suit; make sure you remove CreditCardAuto somehow
#
#Variable CYBER_CONFIGFILE
/home/you/yourid75/mck-cgi/merchant_conf
#Variable CYBER_VERSION 3.2
#Variable CYBER_MODE mauthonly
#ifdef CYBER_MODE
#Variable MV_PAYMENT_MODE mauthonly
CreditCardAuto No
#endif
EncryptProgram __ENCRYPTOR__
# Here you can set up fatal errors if a necessary sub or usertag
# doesn't exist, uncomment one of next lines to test
#
#Require globalsub nevairbe
#Require usertag nevairbe
Require usertag email
Require usertag email_raw
Require usertag var
Require usertag loc
Require usertag summary
Require usertag button
As far as I can figure, this side is OK. However upon restart I get an
error message of :
Sending debug to /tmp/icdebug.
Low traffic settings.
Calling UI....
...UI is loaded....
Bad GlobalSub 'iVeri'
In line 107 of the configuration file 'globalsubs/iVeri':
GlobalSub <<EOS
Bad GlobalSub 'iVeri'
In line 107 of the configuration file 'globalsubs/iVeri':
GlobalSub <<EOS
Line 107 is the EOS at the end of my globalsub. I've checked the syntax,
the permissions are all set to market (the ic user), and I'm convinced the
error has nothing to do with the actual contents of the sub - it seems
there's a general problem with how I've tried to incorporate the globalsub.
The userdocs are really unhelpful, it would be nice if there was a gentle
kind of demo of the full process of writing a globalsub.
Anyhow, sorry to moan, but I really could use some guidance here, I need to
get this thing working asap. Any help would be most welcome, especially if
you consider the globalsub could maybe be added to the ic distribution to
help future hapless SA users like me.
Thanks in advance, and Mike and the Akopia guys keep the great IC work up.
Regards
Paul Du Bois
East Coast Access
Durban, South Africa
From: interchange-users at lists.akopia.com (Kaare Rasmussen)
Date: Fri Jun 22 11:49:00 2001
Subject: [ic] Danish version
I saw there was a discussion about a German version. But I didn' t see any
conclusion about what is the best strategy - to start with e.g. foundation
now and translate all pages, or to wait until 4.8 (when?) and maybe hope that
the locale database is used by then?
How many resources should one set aside for this project?
--
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@webline.dk
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Fri Jun 22 11:59:00 2001
Subject: [ic] Permission problems starting Interchange as interch vs root
On Thu, 21 Jun 2001, Curt Hauge wrote:
> Interchange has been runing great for months! (Thank you for this great
> tool!) I am running several catalogs with NO problems. I installed the rpm
> as root and have been starting Interchange as root until recently when I
> understood this was not safe. However, when I start Interchange as interch,
> I receive these error messages:
>
> root@curt /tmp]# su -c "/etc/rc.d/init.d/interchange start" interch
> bash: /root/.bashrc: Permission denied
> Starting interchange: [ OK ]
> touch: /var/lock/subsys/interchange: Permission denied
>
> Interchange does start up and seems to run fine. If I start as root, I don't
> get these error messages.
You always run scripts in /etc/rc.d/init.d as root -- they're for
systemwide control.
/etc/rc.d/init.d/interchange eventually calls /usr/sbin/interchange. That
can be run as either root or interch. It just does 'su interch' first if
you're root.
The best thing to do if you're using the Interchange RPM is just what Mike
said:
/usr/sbin/interchange -r
And in the more recent Interchange RPMs this also shows you the startup
messages, whereas the /etc/rc.d/init.d/interchange script suppresses them.
Jon
From: interchange-users at lists.akopia.com (Admin)
Date: Fri Jun 22 12:05:00 2001
Subject: [ic] Need Item-Attributes in UI
I will repost this question. I did not get an answer but It seams like the
list is slow last few days
so I don't know if I have email problems or what so excuse if someone
replied.
Anyway I need to get Item attributes that the customer has submitted to
display in a UI report that
summarizes daily orders. Can I do this the same way as in checkout, cart,
and email.
When I look @ the UI pages all info is called from the orderline table. Do I
need to create fields
in orderline and have the item attributes written to this field in order to
include it in a custom UI report?
From: interchange-users at lists.akopia.com (Walid Shaari)
Date: Fri Jun 22 12:14:00 2001
Subject: [ic] How to CVS down the 4.7.4
Hi All,
I am trying to get the latest CVS, but every time I follow the Instructions of
the Website i manage only to update interchange 4.6.5.
As I am a new comer to CVS; I would appreciate any help regarding getting the
latest 4.7.x updated in our server.
TIA
=====
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
walid@melinux.com
http://www.MeLinux.com
"Learn whatever knowledge you wish to acquire, and act upon what you have learned."
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Fri Jun 22 12:17:02 2001
Subject: [ic] Need Item-Attributes in UI
At 11:13 AM 06/22/2001 -0500, you wrote:
>I will repost this question. I did not get an answer but It seams like the
>list is slow last few days
>so I don't know if I have email problems or what so excuse if someone
>replied.
>
>Anyway I need to get Item attributes that the customer has submitted to
>display in a UI report that
>summarizes daily orders. Can I do this the same way as in checkout, cart,
>and email.
>When I look @ the UI pages all info is called from the orderline table. Do I
>need to create fields
>in orderline and have the item attributes written to this field in order to
>include it in a custom UI report?
Yes - or you can glom it onto an existing field:
[import table=orderlines ...]
...
description: [item description][if-modifier blah] BLAH: [item-modifier
blah][/if-modifier]
...
[/import]
- Ed L.
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (interchange-users at lists.akopia.com)
Date: Fri Jun 22 12:24:32 2001
Subject: [ic] Auto Reply
Ihre Mail wird in kürze bearbeitet.
[Dies ist eine automatische Benachrichtigung]
From: interchange-users at lists.akopia.com (Mat Jones - booksellersolutions.com)
Date: Fri Jun 22 12:28:12 2001
Subject: [ic] Price display.
Hi everyone,
One of my clients sent me data which has prices formatted in the following
way :
$5,400
When I go to the flypage for that item the price displays as $5.00
The comma is obviously tripping this up somewhere, as prices below $1000
display normally.
Without having to go through the entire database and remove commas, is there
a way to get interchange to recognise this? I am using 4.5.5 if that makes
any difference.
Thanks
Mat
booksellersolutions.com
Read what the SF Examiner says about booksellersolutions.com:
http://www.sfexaminer.com/business/default.jsp?story=b.web.0121
2141 Mission St #301
San Francisco, CA 94110
(415) 554-0568
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Fri Jun 22 12:32:01 2001
Subject: [ic] How to CVS down the 4.7.4
On Fri, Jun 22, 2001 at 05:19:44PM +0100, Walid Shaari wrote:
> Hi All,
>
> I am trying to get the latest CVS, but every time I follow the Instructions of
> the Website i manage only to update interchange 4.6.5.
>
> As I am a new comer to CVS; I would appreciate any help regarding getting the
> latest 4.7.x updated in our server.
>
You need to include the option '-r DEV_4_7_0' to get the development version.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Fri Jun 22 12:55:01 2001
Subject: [ic] Permission problems starting Interchange as interch vs root
> Quoting Curt Hauge (chc@mninter.net):
> > (Sorry for the repost - I felt the subject line was important
> for archives)
> >
> > IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
> >
> > Hi,
> >
> > Interchange has been runing great for months! (Thank you for this great
> > tool!) I am running several catalogs with NO problems. I
> installed the rpm
> > as root and have been starting Interchange as root until recently when I
> > understood this was not safe.
>
> Stop right there. Why is it not safe?
Thanks for the responses, Ryan, Mike and Jon! (Ryan - I figured out to do a
chmod u+s funtime to fix that problem)
When I use /usr/sbin/interchange -r _OR_ su -c "/usr/sbin/interchange -r"
interch (either as root), now I just get:
bash: /root/.bashrc: Permission denied
Nothing in error logs. All catalogs function normally. Any other hints here?
I am new to both Interchange AND Redhat, so I won't argue that I need to
learn more, but I do spend many hours researching. There are SO many things
to know, I feel as though I am being swallowed up by Interchange lately.
I am a little confused. Is 'starting Interchange as root' and 'running
Interchange as root' two different things?
I read this: MiniVend will refuse to run as root; that would be patently
unsafe. It runs as any normal user.
I read it here:
http://developer2.akopia.com/archive/interchange-users/1998/msg00089.html
I read this: Important note: Interchange must not run as root...
I read it here:
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig16%2e02
Thanks to all!
Curt Hauge
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 22 13:15:01 2001
Subject: [ic] Permission problems starting Interchange as interch vs root
Quoting Curt Hauge (chc@mninter.net):
> I read this: MiniVend will refuse to run as root; that would be patently
> unsafe. It runs as any normal user.
> I read it here:
> http://developer2.akopia.com/archive/interchange-users/1998/msg00089.html
>
> I read this: Important note: Interchange must not run as root...
> I read it here:
> http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig16%2e02
>
Running as root, it will not let you do. But the init.d script does an
"su -c $interchange_user" before starting it.
In any case, we would not promulgate that method of running things
unless we believed it was safe.
--
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 lists.akopia.com (Jon Jensen)
Date: Fri Jun 22 13:18:00 2001
Subject: [ic] Permission problems starting Interchange as interch vs root
On Fri, 22 Jun 2001, Curt Hauge wrote:
> When I use /usr/sbin/interchange -r _OR_ su -c "/usr/sbin/interchange -r"
> interch (either as root), now I just get:
> bash: /root/.bashrc: Permission denied
> Nothing in error logs. All catalogs function normally. Any other hints here?
Just ignore that. It's only your shell trying to read the init file from
/root, and it doesn't matter at all.
> I am a little confused. Is 'starting Interchange as root' and 'running
> Interchange as root' two different things?
>
> I read this: MiniVend will refuse to run as root; that would be patently
> unsafe. It runs as any normal user.
> I read it here:
> http://developer2.akopia.com/archive/interchange-users/1998/msg00089.html
>
> I read this: Important note: Interchange must not run as root...
> I read it here:
> http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig16%2e02
Those are both correct. You aren't running Interchange as root. You're
running a startup/restart script that switches to user interch, THEN
starts the Interchange daemon. Remember, your system startup etc. all runs
as root, so something has to switch to the right user first. That's what
/usr/sbin/interchange is for.
Have you read README.rpm? It's in either /usr/doc/interchange-4.x.x or
/usr/share/doc/interchange-4.x.x or in a CVS checkout. It explains more
about using Interchange from the RPM package.
Jon
From: interchange-users at lists.akopia.com (Gabe Burt)
Date: Fri Jun 22 13:33:00 2001
Subject: [ic] updating an arbitrary SQL table with an IC/HTML form + [process]
I'm trying to update a table (not userdb or products or any of the
default tables), and have gotten quite close, but can't quite get it to
work. I've been referring to this documentation during my efforts:
http://interchange.redhat.com/cgi-bin/ic/dev/ictemplates_35.html
I am running Red Hat 6.2 and Postgresql 7.1.
Here is a snippit from my HTML code:
<form action="[process secure=1]" method="post">
<input type="hidden" name="mv_doit" value="set">
<input type="hidden" name="mv_session_id" value="[data session
id]">
<input type="hidden" name="mv_nextpage" value="members">
<input type="hidden" name="mv_data_enable" value="1">
<input type="hidden" name="mv_data_table" value="members">
<input type="hidden" name="mv_data_key" value="username">
<input type="hidden" name="mv_data_function" value="UPDATE">
<input type="hidden" name="mv_data_fields"
value="fullname,biz_name">
<input type="hidden" name="mv_data_filter_fullname"
value="sql">
<input type="hidden" name="mv_data_filter_biz_name"
value="sql">
Full name:
<INPUT TYPE=text NAME=fullname VALUE="[value fullname]" size="30">
<br><br>
Business name:
<INPUT TYPE=text NAME=biz_name VALUE="[value biz_name]" size="30">
<br><br>
<input type="hidden" name="mv_todo" value="set">
<input type="submit" value=" Save ">
</form>
Here's my dbconf/pgsql/members.pgsql file:
Database members members.txt __SQLDSN__
#ifdef SQLUSER
Database members USER __SQLUSER__
#endif
#ifdef SQLPASS
Database members PASS __SQLPASS__
#endif
Database members KEY username
Database members COLUMN_DEF "username=VARCHAR(20) NOT NULL PRIMARY
KEY"
Database members COLUMN_DEF "fullname=VARCHAR(128)"
Database members COLUMN_DEF "biz_name=varchar(128)"
Database members ChopBlanks 1
Here's the error message I get in my error.log file:
24.124.4.105 qTwWfqpC:admin admin [22/June/2001:12:26:04 -0500] test
/cgi-bin/test/process.html No key 'username' found for
function='update' table='members'
The table 'members' has definitely been created and the row for the
user I'm trying to update with has already been inserted.
Regards,
Gabe
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Andreas, Scott)
Date: Fri Jun 22 13:50:00 2001
Subject: [ic] Price display.
yes if you use excel you can have the column formated just as you wish and
then reupload the data to the database
-----Original Message-----
From: Mat Jones - booksellersolutions.com
[mailto:mat@booksellersolutions.com]
Sent: Friday, June 22, 2001 9:36 AM
To: interchange-users@developer.akopia.com
Subject: [ic] Price display.
Hi everyone,
One of my clients sent me data which has prices formatted in the following
way :
$5,400
When I go to the flypage for that item the price displays as $5.00
The comma is obviously tripping this up somewhere, as prices below $1000
display normally.
Without having to go through the entire database and remove commas, is there
a way to get interchange to recognise this? I am using 4.5.5 if that makes
any difference.
Thanks
Mat
booksellersolutions.com
Read what the SF Examiner says about booksellersolutions.com:
http://www.sfexaminer.com/business/default.jsp?story=b.web.0121
2141 Mission St #301
San Francisco, CA 94110
(415) 554-0568
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 22 13:56:00 2001
Subject: [ic] updating an arbitrary SQL table with an IC/HTML form + [process]
Quoting Gabe Burt (gabe_burt@yahoo.com):
> I'm trying to update a table (not userdb or products or any of the
> default tables), and have gotten quite close, but can't quite get it to
> work. I've been referring to this documentation during my efforts:
>
> http://interchange.redhat.com/cgi-bin/ic/dev/ictemplates_35.html
>
> I am running Red Hat 6.2 and Postgresql 7.1.
>
> Here is a snippit from my HTML code:
>
> <form action="[process secure=1]" method="post">
> <input type="hidden" name="mv_doit" value="set">
> <input type="hidden" name="mv_session_id" value="[data session
> id]">
[snip]
> 24.124.4.105 qTwWfqpC:admin admin [22/June/2001:12:26:04 -0500] test
> /cgi-bin/test/process.html No key 'username' found for
> function='update' table='members'
>
You have no key "username", as it says.
Try adding:
<INPUT TYPE=hidden NAME=username VALUE="[data session username]">
If anyone can come up with a better error message, please send it to me.
Perhaps:
Key variable 'username' appears to be empty, won't set blank key.
--
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 lists.akopia.com (Steve Bourg)
Date: Fri Jun 22 14:00:00 2001
Subject: [ic] Bank Of America as Payment Gateway
Hey All, I was wondering if anyone has implemented payment authorization
through Bank of America's payment gateway 'Settle Up'. I'm looking for
any module or configurations/code that might give me a head start.
Thanks,
Steve Bourg
From: interchange-users at lists.akopia.com (Admin)
Date: Fri Jun 22 14:06:01 2001
Subject: [ic] Need Item-Attributes in UI
Thanks Ed, Where should I put the following code? anywhere in checkout.html
>>At 11:13 AM 06/22/2001 -0500, you wrote:
>>I will repost this question. I did not get an answer but It seams like
the
>>list is slow last few days
>>so I don't know if I have email problems or what so excuse if someone
>>replied.
>>
>>Anyway I need to get Item attributes that the customer has submitted to
>>display in a UI report that
>>summarizes daily orders. Can I do this the same way as in checkout, cart,
>>and email.
>>When I look @ the UI pages all info is called from the orderline table. Do
I
>>need to create fields
>>in orderline and have the item attributes written to this field in order
to
>>include it in a custom UI report?
>Yes - or you can glom it onto an existing field:
>[import table=orderlines ...]
>...
>description: [item description][if-modifier blah] BLAH: [item-modifier
>blah][/if-modifier]
>...
>[/import]
>- Ed L.
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Fri Jun 22 14:30:00 2001
Subject: [ic] Need Item-Attributes in UI
At 01:14 PM 06/22/2001 -0500, you wrote:
>Thanks Ed, Where should I put the following code? anywhere in checkout.html
No, to get it into orderlines you would edit etc/log_transaction.
- Ed L.
> >>At 11:13 AM 06/22/2001 -0500, you wrote:
> >>I will repost this question. I did not get an answer but It seams like
>the
> >>list is slow last few days
> >>so I don't know if I have email problems or what so excuse if someone
> >>replied.
> >>
> >>Anyway I need to get Item attributes that the customer has submitted to
> >>display in a UI report that
> >>summarizes daily orders. Can I do this the same way as in checkout, cart,
> >>and email.
> >>When I look @ the UI pages all info is called from the orderline table. Do
>I
> >>need to create fields
> >>in orderline and have the item attributes written to this field in order
>to
> >>include it in a custom UI report?
>
> >Yes - or you can glom it onto an existing field:
>
> >[import table=orderlines ...]
> >...
> >description: [item description][if-modifier blah] BLAH: [item-modifier
> >blah][/if-modifier]
> >...
> >[/import]
>
> >- Ed L.
>
>
>
>
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.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@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
===============================================================
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 lists.akopia.com (ETH Zurich)
Date: Fri Jun 22 15:40:00 2001
Subject: [ic] signing purchasing order
I have setup the basic interchange construct catalog and I would like make
some modifications to the user-creation process. What I would like to do is
when the user registers himself create a perl tag which runs a system
command to create key pairs in a directory. And after that when customer
submits the order, sign the purchase order with the customer's private key.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Aziz Ihsanoglu)
Date: Fri Jun 22 16:33:02 2001
Subject: [ic] signing purchasing order
so where are you having problems?
>
> I have setup the basic interchange construct catalog and I would like make
> some modifications to the user-creation process. What I would like to do is
> when the user registers himself create a perl tag which runs a system
> command to create key pairs in a directory. And after that when customer
> submits the order, sign the purchase order with the customer's private key.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Russ Mann)
Date: Fri Jun 22 17:09:00 2001
Subject: [ic] (no subject)
From: interchange-users at lists.akopia.com (ETH Zurich)
Date: Fri Jun 22 17:16:00 2001
Subject: [ic] Signing Purchasing Order
I am having problems trying to figure out how I should go about doing it.
Please help. Thanks.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Fri Jun 22 18:10:01 2001
Subject: [ic] Permission problems starting Interchange as interch vs root
Quoting Jon Jensen
> Have you read README.rpm? It's in either /usr/doc/interchange-4.x.x or
> /usr/share/doc/interchange-4.x.x or in a CVS checkout. It explains more
> about using Interchange from the RPM package.
Thank you for that, Jon! Seems I was getting worried for nothing...I have
been starting Interchange correctly, as in the first example and according
to readme.rpm:
Interchange will be started by this command (executed as root):
/etc/rc.d/init.d/interchange start *OR* /usr/sbin/interchange -r
Have a great weekend everyone!
Curt Hauge
From: interchange-users at lists.akopia.com (Dan B)
Date: Fri Jun 22 19:24:00 2001
Subject: [ic] Permission problems starting Interchange as interch
At 12:01 PM 6/22/2001 -0500, you wrote:
> > Quoting Curt Hauge (chc@mninter.net):
> > > (Sorry for the repost - I felt the subject line was important
> > for archives)
> > >
> > > IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6
> > >
> > > Hi,
> > >
> > > Interchange has been runing great for months! (Thank you for this great
> > > tool!) I am running several catalogs with NO problems. I
> > installed the rpm
> > > as root and have been starting Interchange as root until recently when I
> > > understood this was not safe.
> >
> > Stop right there. Why is it not safe?
>
>Thanks for the responses, Ryan, Mike and Jon! (Ryan - I figured out to do a
>chmod u+s funtime to fix that problem)
>When I use /usr/sbin/interchange -r _OR_ su -c "/usr/sbin/interchange -r"
>interch (either as root), now I just get:
>bash: /root/.bashrc: Permission denied
>Nothing in error logs. All catalogs function normally. Any other hints here?
[...]
Like Jon said, you don't need to worry about that error message. But if
you don't want to see it, you can tell the su command to do a complete
login (assume the entire shell environment of that user) with an extra dash
character, ala:
su - -c "/usr/sbin/interchange -r"
Which, btw, I use so often that I alias su to 'su -' for that
purpose. (I'm always suing to other users).
HTH,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Warren Odom)
Date: Fri Jun 22 19:27:00 2001
Subject: [ic] Beima's Response!
(Very belated comment--I'm just now catching up on my old mail...)
Oh, man, this is getting ridiculous. You know, you could have saved
everybody an awful lot of time by just telling him WHERE in the
documentation to look, in the first place.
-- Warren
-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com] On Behalf Of John Beima
Sent: Sunday, April 01, 2001 10:04 PM
To: interchange-users@lists.akopia.com
Subject: Re: [ic] Beima's Response!
Well Jim keeping to YOUR tone...
The documentation has an entire chapeter on discounts and quantity
pricing...
Given that you have actually went through it line by line WITH your bifocals
on,
and given you are in fact the programmer you say you are, you should
understand
it just fine...
Then looking at the examples in the Construct database and old Art Store
demo,
you should MORE than understand how to do it... Otherwise I sujest you hire
a
REAL Interchange/Minivend consultant to hand hold you through the basics...
Also I think this is quite enough for the list, if you wish to or are
capable of
continuing this decussion it can be moved to private e-mail...
John
Quoting Jim Balcom <jim@idk-enterprises.com>:
>
> Please explain to me WHERE in the documentation it explains how to set
> up quantity pricing in the Construct Something Demo!
>
> I've been through the whole thing, and perhaps my bifocals need
> changing, but I can't find it!
>
> Or, perhaps where to find some documentation for the Construct
> Something demo, which I have not yet been able to find either!
>
> As far as to HOW to use the documentation - that seems fairly straight
> forward - simply read it, line by line - which I am doing. Perhaps you
> have a different technique?
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
> ----------------------------------------------------------------
>
> Tagline for Sunday, April 01, 2001 at 17:25 PM:
> You are only young once, but you can be immature forever.
>
> ----------------------------------------------------------------
> This Linux System has been up 45 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Tim Prendergast)
Date: Sat Jun 23 21:24:00 2001
Subject: [ic] Interchange quirk
Hi,
I'm new to interchange and have had a lot of fun learning about building
the catalogs. I have, however, run across an issue.
Sometimes (twice in the past 2 weeks) my interchange cart/store doesnt
respond anymore. My web browser shows that is waiting for a reply, but
interchange never comes back to the browser with the returned page (in
this case, the index page or the admin page, whichever I'm trying). The
only way it appears to be fixed is by restarting the server. Is this a
known problem? Is this something I have done wrong? (it's just a basic
install of interchange with the construct something catalog. I've
modified the catalog and the template layouts and images to fit my
needs, but havnt changed anything else. Does anyone else have this
problem? If so, is it fixable?
Thanks,
-Tim Prendergast
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Sun Jun 24 05:43:00 2001
Subject: [ic] Interchange quirk
Hi,
This problem is caused by the fact that your provider (or your system)
does not allow you to run daemons under your account. Once every x
hours, the system shuts down your Daemon, and you get the messages that
are shown.
There is no fix for this, but you can do two things:
1. ask your provider if you can run daemons (he'll probably say no),
2. set up cron tabs. Just check out after how many hours the Daemon
shuts down, and set a cron tab to restart the Daemon (eg. If the Daemon
is allowed to run 8 hours, set the cron tab to restart the Daemon after
7.5 hours). The system then sees that the Daemon is running less hours
that the administrator set to kill the Daemon, and let's the Daemon run.
Best is to look for a strategical time frame where you have only few
visitors, and restart the Daemon every day at this time. Even better is
announcing this to your visitors.
Regards
Guy Soudant
-----Oorspronkelijk bericht-----
Van: Tim Prendergast [mailto:list@haxorwear.com]
Verzonden: zondag 24 juni 2001 3:30
Aan: interchange-users@developer.akopia.com
Onderwerp: [ic] Interchange quirk
Hi,
I'm new to interchange and have had a lot of fun learning about building
the catalogs. I have, however, run across an issue.
Sometimes (twice in the past 2 weeks) my interchange cart/store doesnt
respond anymore. My web browser shows that is waiting for a reply, but
interchange never comes back to the browser with the returned page (in
this case, the index page or the admin page, whichever I'm trying). The
only way it appears to be fixed is by restarting the server. Is this a
known problem? Is this something I have done wrong? (it's just a basic
install of interchange with the construct something catalog. I've
modified the catalog and the template layouts and images to fit my
needs, but havnt changed anything else. Does anyone else have this
problem? If so, is it fixable?
Thanks,
-Tim Prendergast _______________________________________________
Interchange-users mailing list Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Steffen Dettmer)
Date: Sun Jun 24 10:03:00 2001
Subject: [ic] Admin frontend in german language?
Hi,
I'm new on interchange. After taking a look to latest interchange
release I set up a test system with the sources from the
developer tarbal. So far: should I better use the CVS tree for
building? I decided for the tarbal since the risk of getting some
unusable status seems lower.
On the demo I saw the admin frontend asks for the supported
language. On the local installation I don't have this button. Any
hints?
I found some nice documentation and so far I haven't read it all,
but I haven't found some internal/technical documentation, i.e.
for the database. I use some postgreSQL (6.4 or 7.0 or so) via
DBI::Pg which worked from the first try. BTW, the installer tries
to create a database on localhost, even if I supply host=dbhost
in the DBI string. The interchange server/daemon connects
correctöy. I haven't investigated this, but it looks like a small
bug in the installer. Second, it wasn't transparent for what
actions root priviliges are required (or suggested). I was asked
to install via CPAN the Bundle::Interchange (it seems that it
gets installed without checking if needed), so I tried that as
root and it worked. I installed into /usr/local as root. After
that, I "su - user" which wasn't correct, since the makecat tool
tries to compile tlink and has no permissions to open config.log
(I guess configure fails in any circumstances since that
directory has no write permissions). The fix is simple, I chown'd
the /usr/local/interchange tree to the user any anything was
fine.
Another point: the used virtual server allows TLS only. So it's
required to use https: always. I edited catalog.cfg directly to
change the http->https. Is that correct? Or is it not a good idea
to change catalog.cfg manually?
Of course I happily accept any RTFM if the right reference is
specified. I searched the docs and archives but wasn't really
successful.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at lists.akopia.com (Ken Douglas)
Date: Sun Jun 24 10:36:01 2001
Subject: [ic] Installation Error
Hi,
I installed interchange on a shared host (RH 6.2).
When I run makecat and go thru installation processes
everything seems ok. however, when I try to access the
URL it gives 500 internal server error. I don't have
chance to look at error.log.
Then I looked at cgi-bin dir and see no foundation
folder. Instead there is extensionless foundation
file. I'm sure that there is no errors on makecat
because I did it at least 12 times (really) and tried
every possible option.
What is the problem?
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Ken Douglas)
Date: Sun Jun 24 11:28:01 2001
Subject: [ic] How can it be?
Hi,
I looked at my cgi-bin dir and try to create new dir
named as foundation but it says there already exists a
folder named foundation, but I can't see that dir.
How would it be possible?
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Sun Jun 24 12:34:00 2001
Subject: [ic] Auto Reply
Ihre Mail wird in kürze bearbeitet.
[Dies ist eine automatische Benachrichtigung]
From: interchange-users at lists.akopia.com (Ron Phipps)
Date: Sun Jun 24 17:08:01 2001
Subject: [ic] Form Handling with Perl
Does anyone have code examples of looping over the controls on a form,
checking for values, etc in perl? I'm building a custom case order form for
a client and I need to loop over the form I have generated from the database
(the code cannot assume a fixed number of controls...). Any examples of
doing something like this would be appreciated, thanks!
-Ron
From: interchange-users at lists.akopia.com (Jake Thompson)
Date: Sun Jun 24 22:24:00 2001
Subject: [ic] Admin not listing Order Lines
Hi,
This may not be new, however I though I'd bring it up.
Is there a known bug in the current CVS that is not allowing the admin front
end to list order lines?
It shows total tax and shipping, but no the items.
Thanks,
Jake T.
----------------------------------------
Jake Thompson
jthompson@ztechnet.com
jthompson@allezsoftware.com
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP Personal Privacy 6.5.8
mQGiBDpRB+4RBADqtaaMrB6VVPghC/kkOdp1xO9PvH3nAfcTZChxDiLlTTHtOBQ1
5GpoejA0diOR9JSboHRaRJ+8JGk/C54chBgIsR9YYw1EAC3kNW13iHlJE6wie0LM
8sEeSM6+niadHNzbBFRmWdyyPmbHEGv/zEif0ckGEANKTWQTj7nzcZbePQCg/5Gn
MdkeyfYYcMhLuAPAWjy9FSkEAMBBgqjB9yGnmVI39vrRfmGMtRrLWWlSwQZpjyFW
YwfZT6FZvH6Re1DLWanblmmaHDAAVCETKoNfN1uCQX5Lg7egzl0IQ6nE9Uw51Wma
XFFNv9ERBoSsdqM6G8pWkmXMChLlFlT364pZaxBk22/UD6bWRaUday4W764S3I/2
sv5FBAC8dXMS7cxtAfn7+rZShnrgRuhuqT5QE69uRJQ4j6+cdZrwJw+KUhZPlp8I
DkoOklh0Qk3mOqTMf8SaYpvWVJ/YrSpktCPNyVIHcFbxNPAFBAuz6YUafA0VlZnM
y4mwavvf8lutnOmkQXxdlg0a1lOmPqO0DyzHHP4IzYU8PsDm5rQmSmFrZSBUaG9t
cHNvbiA8anRob21wc29uQHp0ZWNobmV0LmNvbT6JAE4EEBECAA4FAjpRB+4ECwMC
AQIZAQAKCRBp4LYFW7wAgYFUAJ0QuLCM0hzxrC9V3tgmE5T2prLOEgCfXai/AZGF
g/aJxi+yiSQLEevEmc65Ag0EOlEH7hAIAPZCV7cIfwgXcqK61qlC8wXo+VMROU+2
8W65Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrfdMZIZJ+AyDvWXpF9Sh01D49Vlf3HZS
Tz09jdvOmeFXklnN/biudE/F/Ha8g8VHMGHOfMlm/xX5u/2RXscBqtNbno2gpXI6
1Brwv0YAWCvl9Ij9WE5J280gtJ3kkQc2azNsOA1FHQ98iLMcfFstjvbzySPAQ/Cl
WxiNjrtVjLhdONM0/XwXV0OjHRhs3jMhLLUq/zzhsSlAGBGNfISnCnLWhsQDGcgH
KXrKlQzZlp+r0ApQmwJG0wg9ZqRdQZ+cfL2JSyIZJrqrol7DVekyCzsAAgIIAMSw
AJTV8NZi2/5J/o8+dgPyjPMR6UlDm2pv4+RZj3tX6M2b39/qzwvuT/diLOhb6RyA
jqdMF/a9P6JZ3uOukGvAnUaxsfAKeuG++YgH9uCijo6a/dkjLoszpuM6vzY9FBaw
IO2Cizf1hwPa6VNc+GQE8qy9GR1X+H3P+2yJ2OQCdu4l5AaiKnalCe4K3/vdH01p
TxbzrcaDJ949J/AkjOkg83lVwKcg9idYLpKKvkY8Vi1X79IZFUM5avqpZXsVXoVC
pYMrOUlDG232VoijiMpBhauwPqFKr5MWyiCC0zLbZBwNeXeeDiO6ZNxzXEoHHjwN
bWwAzey4DmD2lwnUc1CJAEYEGBECAAYFAjpRB+4ACgkQaeC2BVu8AIHNkwCfTd0U
CYuhdCzijgYBlMGf03wIc1MAn0RAoBZD3/9CJbhSPcgjrdjGONXl
=8vUO
-----END PGP PUBLIC KEY BLOCK-----
From: interchange-users at lists.akopia.com (Jake Thompson)
Date: Sun Jun 24 22:44:01 2001
Subject: [ic] Admin not listing Order Lines
Ok, I found the answere in the archives, followup, is there an easy way to
make sure a catalog had allthese latest files?
Thanks,
Jake
-----Original Message-----
From: Jake Thompson [mailto:JThompson@ztechnet.com]
Sent: Sunday, June 24, 2001 10:24 PM
To: 'interchange-users@developer.akopia.com'
Subject: [ic] Admin not listing Order Lines
Hi,
This may not be new, however I though I'd bring it up.
Is there a known bug in the current CVS that is not allowing the admin front
end to list order lines?
It shows total tax and shipping, but no the items.
Thanks,
Jake T.
----------------------------------------
Jake Thompson
jthompson@ztechnet.com
jthompson@allezsoftware.com
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP Personal Privacy 6.5.8
mQGiBDpRB+4RBADqtaaMrB6VVPghC/kkOdp1xO9PvH3nAfcTZChxDiLlTTHtOBQ1
5GpoejA0diOR9JSboHRaRJ+8JGk/C54chBgIsR9YYw1EAC3kNW13iHlJE6wie0LM
8sEeSM6+niadHNzbBFRmWdyyPmbHEGv/zEif0ckGEANKTWQTj7nzcZbePQCg/5Gn
MdkeyfYYcMhLuAPAWjy9FSkEAMBBgqjB9yGnmVI39vrRfmGMtRrLWWlSwQZpjyFW
YwfZT6FZvH6Re1DLWanblmmaHDAAVCETKoNfN1uCQX5Lg7egzl0IQ6nE9Uw51Wma
XFFNv9ERBoSsdqM6G8pWkmXMChLlFlT364pZaxBk22/UD6bWRaUday4W764S3I/2
sv5FBAC8dXMS7cxtAfn7+rZShnrgRuhuqT5QE69uRJQ4j6+cdZrwJw+KUhZPlp8I
DkoOklh0Qk3mOqTMf8SaYpvWVJ/YrSpktCPNyVIHcFbxNPAFBAuz6YUafA0VlZnM
y4mwavvf8lutnOmkQXxdlg0a1lOmPqO0DyzHHP4IzYU8PsDm5rQmSmFrZSBUaG9t
cHNvbiA8anRob21wc29uQHp0ZWNobmV0LmNvbT6JAE4EEBECAA4FAjpRB+4ECwMC
AQIZAQAKCRBp4LYFW7wAgYFUAJ0QuLCM0hzxrC9V3tgmE5T2prLOEgCfXai/AZGF
g/aJxi+yiSQLEevEmc65Ag0EOlEH7hAIAPZCV7cIfwgXcqK61qlC8wXo+VMROU+2
8W65Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrfdMZIZJ+AyDvWXpF9Sh01D49Vlf3HZS
Tz09jdvOmeFXklnN/biudE/F/Ha8g8VHMGHOfMlm/xX5u/2RXscBqtNbno2gpXI6
1Brwv0YAWCvl9Ij9WE5J280gtJ3kkQc2azNsOA1FHQ98iLMcfFstjvbzySPAQ/Cl
WxiNjrtVjLhdONM0/XwXV0OjHRhs3jMhLLUq/zzhsSlAGBGNfISnCnLWhsQDGcgH
KXrKlQzZlp+r0ApQmwJG0wg9ZqRdQZ+cfL2JSyIZJrqrol7DVekyCzsAAgIIAMSw
AJTV8NZi2/5J/o8+dgPyjPMR6UlDm2pv4+RZj3tX6M2b39/qzwvuT/diLOhb6RyA
jqdMF/a9P6JZ3uOukGvAnUaxsfAKeuG++YgH9uCijo6a/dkjLoszpuM6vzY9FBaw
IO2Cizf1hwPa6VNc+GQE8qy9GR1X+H3P+2yJ2OQCdu4l5AaiKnalCe4K3/vdH01p
TxbzrcaDJ949J/AkjOkg83lVwKcg9idYLpKKvkY8Vi1X79IZFUM5avqpZXsVXoVC
pYMrOUlDG232VoijiMpBhauwPqFKr5MWyiCC0zLbZBwNeXeeDiO6ZNxzXEoHHjwN
bWwAzey4DmD2lwnUc1CJAEYEGBECAAYFAjpRB+4ACgkQaeC2BVu8AIHNkwCfTd0U
CYuhdCzijgYBlMGf03wIc1MAn0RAoBZD3/9CJbhSPcgjrdjGONXl
=8vUO
-----END PGP PUBLIC KEY BLOCK-----
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Sunil)
Date: Sun Jun 24 23:13:01 2001
Subject: [ic] Interchange Advice
Hello all -
I am coming from a java/corba world with perl/unix
experience, and have a client with a ecommerce
need. The usual list of products is out there, however
I need something rapid, pluggable, and of course
stable. This may sound like a usual laundry list of
an application, however stability of few applications
have yet to be desired.
What are your feelings towards Interchange in terms of
development of a small site w/ a 100-250 product
catalog? How does the perl development compared to a
jsp/java based architecture?
Thanks
Sunil Soprey
sunil1911@yahoo.com (please respond to email)
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Guy Soudant)
Date: Mon Jun 25 01:26:01 2001
Subject: [ic] Admin not listing Order Lines
There was a similar topic in the list a few weeks ago. Search for order
details, and you'll find a possible cause and solution to this problem.
Regards
Guy Soudant
-----Oorspronkelijk bericht-----
Van: Jake Thompson [mailto:JThompson@ztechnet.com]
Verzonden: maandag 25 juni 2001 4:24
Aan: 'interchange-users@developer.akopia.com'
Onderwerp: [ic] Admin not listing Order Lines
Hi,
This may not be new, however I though I'd bring it up.
Is there a known bug in the current CVS that is not allowing the admin
front end to list order lines? It shows total tax and shipping, but no
the items.
Thanks,
Jake T.
----------------------------------------
Jake Thompson
jthompson@ztechnet.com
jthompson@allezsoftware.com
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP Personal Privacy 6.5.8
mQGiBDpRB+4RBADqtaaMrB6VVPghC/kkOdp1xO9PvH3nAfcTZChxDiLlTTHtOBQ1
5GpoejA0diOR9JSboHRaRJ+8JGk/C54chBgIsR9YYw1EAC3kNW13iHlJE6wie0LM
8sEeSM6+niadHNzbBFRmWdyyPmbHEGv/zEif0ckGEANKTWQTj7nzcZbePQCg/5Gn
MdkeyfYYcMhLuAPAWjy9FSkEAMBBgqjB9yGnmVI39vrRfmGMtRrLWWlSwQZpjyFW
YwfZT6FZvH6Re1DLWanblmmaHDAAVCETKoNfN1uCQX5Lg7egzl0IQ6nE9Uw51Wma
XFFNv9ERBoSsdqM6G8pWkmXMChLlFlT364pZaxBk22/UD6bWRaUday4W764S3I/2
sv5FBAC8dXMS7cxtAfn7+rZShnrgRuhuqT5QE69uRJQ4j6+cdZrwJw+KUhZPlp8I
DkoOklh0Qk3mOqTMf8SaYpvWVJ/YrSpktCPNyVIHcFbxNPAFBAuz6YUafA0VlZnM
y4mwavvf8lutnOmkQXxdlg0a1lOmPqO0DyzHHP4IzYU8PsDm5rQmSmFrZSBUaG9t
cHNvbiA8anRob21wc29uQHp0ZWNobmV0LmNvbT6JAE4EEBECAA4FAjpRB+4ECwMC
AQIZAQAKCRBp4LYFW7wAgYFUAJ0QuLCM0hzxrC9V3tgmE5T2prLOEgCfXai/AZGF
g/aJxi+yiSQLEevEmc65Ag0EOlEH7hAIAPZCV7cIfwgXcqK61qlC8wXo+VMROU+2
8W65Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrfdMZIZJ+AyDvWXpF9Sh01D49Vlf3HZS
Tz09jdvOmeFXklnN/biudE/F/Ha8g8VHMGHOfMlm/xX5u/2RXscBqtNbno2gpXI6
1Brwv0YAWCvl9Ij9WE5J280gtJ3kkQc2azNsOA1FHQ98iLMcfFstjvbzySPAQ/Cl
WxiNjrtVjLhdONM0/XwXV0OjHRhs3jMhLLUq/zzhsSlAGBGNfISnCnLWhsQDGcgH
KXrKlQzZlp+r0ApQmwJG0wg9ZqRdQZ+cfL2JSyIZJrqrol7DVekyCzsAAgIIAMSw
AJTV8NZi2/5J/o8+dgPyjPMR6UlDm2pv4+RZj3tX6M2b39/qzwvuT/diLOhb6RyA
jqdMF/a9P6JZ3uOukGvAnUaxsfAKeuG++YgH9uCijo6a/dkjLoszpuM6vzY9FBaw
IO2Cizf1hwPa6VNc+GQE8qy9GR1X+H3P+2yJ2OQCdu4l5AaiKnalCe4K3/vdH01p
TxbzrcaDJ949J/AkjOkg83lVwKcg9idYLpKKvkY8Vi1X79IZFUM5avqpZXsVXoVC
pYMrOUlDG232VoijiMpBhauwPqFKr5MWyiCC0zLbZBwNeXeeDiO6ZNxzXEoHHjwN
bWwAzey4DmD2lwnUc1CJAEYEGBECAAYFAjpRB+4ACgkQaeC2BVu8AIHNkwCfTd0U
CYuhdCzijgYBlMGf03wIc1MAn0RAoBZD3/9CJbhSPcgjrdjGONXl
=8vUO
-----END PGP PUBLIC KEY BLOCK-----
_______________________________________________
Interchange-users mailing list Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Mon Jun 25 02:57:00 2001
Subject: [ic] Interchange quirk
> There is no fix for this, but you can do two things:
> 1. ask your provider if you can run daemons (he'll probably say no),
> 2. set up cron tabs. Just check out after how many hours the Daemon
...
Try this script that was posted in the beginning of june by Ed LaFrance. This
will check if IC is up, If not it simply restarts it.
http://interchange.redhat.com/pipermail/interchange-users/2001-June/008641.html
René
From: interchange-users at lists.akopia.com (Steffen Dettmer)
Date: Mon Jun 25 04:25:01 2001
Subject: [ic] How can it be?
* Ken Douglas wrote on Sun, Jun 24, 2001 at 08:33 -0700:
> I looked at my cgi-bin dir and try to create new dir
> named as foundation but it says there already exists a
> folder named foundation, but I can't see that dir.
What does that mean? Do you talk about ls or find? Or isn't it
showed in the FTP client?
> How would it be possible?
Seems so if you have it :)
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at lists.akopia.com (Steffen Dettmer)
Date: Mon Jun 25 04:26:27 2001
Subject: [ic] Form Handling with Perl
* Ron Phipps wrote on Sun, Jun 24, 2001 at 14:20 -0700:
> Does anyone have code examples of looping over the controls on a form,
> checking for values, etc in perl? I'm building a custom case order form for
> a client and I need to loop over the form I have generated from the database
> (the code cannot assume a fixed number of controls...). Any examples of
> doing something like this would be appreciated, thanks!
Well, I have a (commercial) tool for putting CGI Formdata into
an ODBC (or some DBI :)) database. Since it was developed for
sending mail first it called VarioMail
(http://variomail.bedinetz.de) I have some functions for checking
for values which are extracted from form fields defined by
regular expressions. Well, there's a bug: german documentation
only. But the code itself uses english specifier which should
make it readble. It's OpenSource and in Perl, you may find some
useful ideas when trying that. Since it's OT here contact me via
PM.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at lists.akopia.com (Steffen Dettmer)
Date: Mon Jun 25 04:27:02 2001
Subject: [ic] Installation Error
* Ken Douglas wrote on Sun, Jun 24, 2001 at 07:42 -0700:
> When I run makecat and go thru installation processes
> everything seems ok. however, when I try to access the
> URL it gives 500 internal server error.
Probably the CGI reported some error.
> I don't have chance to look at error.log.
Ohh, really? I cannot imagine how to use CGI w/o some error log,
but well...
I would try to wrap that CGI. I wrote such a wrapper in perl (to
enable server-parsed CGI scripts with Apache). With such a
wrapper, you can see the output of the script which may be
interesing.
And of course you can launch that binary CGI from command line.
Maybe you get some lib error or so, who knows.
Since I still don't know IC very well I cannot help you more.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at lists.akopia.com (Doug Alcorn)
Date: Mon Jun 25 10:29:01 2001
Subject: [ic] Interchange Advice
Sunil <sunil1911@yahoo.com> writes:
> The usual list of products is out there, however I need something
> rapid, pluggable, and of course stable. This may sound like a usual
> laundry list of an application, however stability of few
> applications have yet to be desired.
IC is very mature. I would be surprised if you had any stability
problems that were actually due to IC and not the installation or
custom configurtaions. That said, quite a bit of the FAQ is about
installation problems. I think the trick is to follow the
instructions closely. Having Unix experience is a definite plus.
> What are your feelings towards Interchange in terms of development
> of a small site w/ a 100-250 product catalog? How does the perl
> development compared to a jsp/java based architecture?
I think you might be a little frustrated in coming to IC. The reason
is that jsp/java is _much_ more well defined than IC is. The two are
very similar. IC provides a daemon that actually processes requests
and generates the pages (as opposed to the actual cgi that generates
the pages). However, there's an industry formed around jsp with lots
and lots of documentation written by many people. IC is mainly only
known within a fairly small community by comparison. There is only
one set of documentation written from one perspective.
Long term, IC is a pretty good solution. However, coming up to speed
takes a bit (ironically this is especially true if you have
strong/structured development experience). IC gives you a good
interface to handle many of the mundane aspects of e-comm. Using this
framework you can do pretty much whatever you want. It has its own
tag language. This is nice for non-programmers, but doesn't really
leverage previous perl experience. IC also has a mechanism for doing
ASP-like pages with perl. This is mainly what I use. I can do logic,
sql and what-not in the language I'm familiar with but still have
access to the API for the e-comm stuff. Once I got a handle on this
development moves pretty quickly.
Standard disclaimers apply, YMMV, HIH, etc.
--
(__) 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 lists.akopia.com (Andrew Brown)
Date: Mon Jun 25 12:20:00 2001
Subject: [ic] I need help setting up Payflowpro (verisign) with interchange 4.65
I need help in setting up credit card verification. I already set up a test
account with cybercash but i don't how to actually set the software so when
someone clicks place order on my checkout page it sends the info to
cybercash. If anyone has set this up, i need some help b/c i am kinda
confused. THanks
Drew
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Mon Jun 25 12:20:43 2001
Subject: [ic] Auto Reply
Ihre Mail wird in kürze bearbeitet.
[Dies ist eine automatische Benachrichtigung]
From: interchange-users at lists.akopia.com (ETH Zurich)
Date: Mon Jun 25 15:27:00 2001
Subject: [ic] Generating Keys & Applying Signatures
I need to modify the Create New Account and the Check Out processes in such
a way that:
1. Whenever a new user register him/herself, Interchange will generate a
key-pair for him/her and store it a certain directory on the server;
2. Whenever a registered user checked out, Interchange will make use of the
user's key-pair to sign on the purchase order before encrypting it and
sending it to the supervisor.
Interchange already provides the functions to encrypt and send the purchase
order via (encrypted) email to the supervisor. What I would like to do now
is to modify the process such that it will do the 2 things that I stated
above. The most important thing is for Interchange to SIGN the purchase
order using the buyer's key-pair before encrypting and sending it to the
higher level.
Can anybody please help me?
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (cope at socada.net)
Date: Mon Jun 25 16:31:01 2001
Subject: [ic] interchange on 123ehost.com
I am having trouble adding items to my ecommerce website. When I hit "create
a new item" I do not get the same setup page as the demo. It automatically
creates a new SKU that I cannot change and has no area to upload pictures or
add a detailed description.
I am using Interchange 4.6 as provided by my hosting company ...
123ehost.com.
Any help would be appreciated.
I am a new user of Interchange.
Thanks,
John Copeland
cope@socada.net
From: interchange-users at lists.akopia.com (Scott Trunkhill)
Date: Mon Jun 25 16:38:00 2001
Subject: [ic] parse an Include inside an include?
I have a dhtml menu that changes based on a users browser. When they
first enter I set a variable and then read that to determine which
menu to include in the page.
The menu file is included from within the LEFTONLY_TOP file using
[include file="templates/[scratch menutype]" interpolate=1]
I am trying to use the "page" tag to create the links which will
basicly search the categories that I have in the products table.
Here is a snippet of the code from the "menutype" file I am trying to use.
[page scan arg"
fi=products
st=db
sf=category1
se=Western%20Apparel
"
]
The problem I am having is that the code inside the menutype file is
not getting parsed so I end up with a link like
<a href="[page scan arg"
fi=products
st=db
sf=category1
se=Western%20Apparel
"
]"
how do I get the file included in LEFTONLY_TOP to be parsed for IC tags?
Thanks,
--
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 lists.akopia.com (Ryan Hertz)
Date: Mon Jun 25 17:26:00 2001
Subject: [ic] parse an Include inside an include?
At 01:37 PM 6/25/01 , Scott Trunkhill wrote:
[snip]
>Here is a snippet of the code from the "menutype" file I am trying to use.
>
>[page scan arg"
>fi=products
>st=db
>sf=category1
>se=Western%20Apparel
>"
>]
[/snip]
Wouldn't that be arg= ?
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
E-Commerce Director http://www.baits.com
Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com
From: interchange-users at lists.akopia.com (Salvador Caballe)
Date: Mon Jun 25 17:32:00 2001
Subject: [ic] fee in COD payment
I need to include a fixed fee if the payment is COD,
Could someone explain in simple terms how I do this
best regards
Salvador Caballe
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Mon Jun 25 17:36:01 2001
Subject: [ic] parse an Include inside an include?
At 04:37 PM 06/25/2001 -0400, you wrote:
>I have a dhtml menu that changes based on a users browser. When they first
>enter I set a variable and then read that to determine which menu to
>include in the page.
>
>The menu file is included from within the LEFTONLY_TOP file using [include
>file="templates/[scratch menutype]" interpolate=1]
>
>
>I am trying to use the "page" tag to create the links which will basicly
>search the categories that I have in the products table.
>
>Here is a snippet of the code from the "menutype" file I am trying to use.
>
>[page scan arg"
>fi=products
>st=db
>sf=category1
>se=Western%20Apparel
>"
>]
>
That's a typo/syntax error. It should be [page href=scan arg="..."].
- 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 lists.akopia.com (Russ Mann)
Date: Mon Jun 25 19:42:00 2001
Subject: [ic] Credit Card Info on Checkout
Dear List,
How can I access the Credit Card number using the [perl] tag or other tags
before the final checkout? If a user puts their CC# in the checkout.html
form and forgets to put in their phone number, the form fails and the CC#
disappears, requiring it to be re-entered. This could become quite
confusing.
Thanks,
Russ
From: interchange-users at lists.akopia.com (Dan B)
Date: Mon Jun 25 22:20:01 2001
Subject: [ic] Interchange Advice
At 08:19 PM 6/24/2001 -0700, you wrote:
>Hello all -
> I am coming from a java/corba world with perl/unix
>experience, and have a client with a ecommerce
>need. The usual list of products is out there, however
>I need something rapid, pluggable, and of course
>stable. This may sound like a usual laundry list of
>an application, however stability of few applications
>have yet to be desired.
>
>What are your feelings towards Interchange in terms of
>development of a small site w/ a 100-250 product
>catalog?
Feelings? Euphoric, ecstatic, pleasurable, positive...
Seriously, IC is all the things you mentioned (rapid, pluggable, stable, etc.).
>How does the perl development compared to a
>jsp/java based architecture?
IMHO: Faster development, but equal in most of the ways that count for B2C
ecommerce.
Enjoy,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Mon Jun 25 22:22:00 2001
Subject: [ic] Converting from commerce.cgi
I've been running Rich Carey's commerce.cgi for quite some time. It's a
tremendous set-up, but I've outgrown it. I'm in the process of
converting commerce.cgi to IC. What follows are a few notes along the
way of what I have done and what I have found.
First: I am using the 'Construct Something' demo to build upon. That's
what came with my 'kit' and I started 'renovating' before the next
version came out. While I may upgrade my IC server at a later date to
keep up with the latest and greatest advances and features, I do not
intend to 're-invent' my store from some later demo. I will simply add
whatever tags seem appropriate to deal with a current problem/concern.
OK:
A friend of mine wrote a 2-line awk script for me that converted the
present store data base into a new 'products.txt'. In this particular
conversion there were many SKU's that were the same.
Be advised that each SKU must be unique. IC looked at this mess and
deleted all of the duplicate SKU's. I had kept back-up copies of stuff
and went in and cleaned it up. But, it was added work that could have
been avoided had I created unique SKU's.
QUANTITY PRICING:
My vendors supply my products in various quantities. Each one seems to
be trying to be unique as far as bag and case quantity are concerned.
The construct demo is set up to allow dealers to get wholesale prices,
based on quantity. So, I ripped out the dealer code column in
pricing.txt. I added more columns in this file to accomodate the
various quantities that come in various bags and various cases.
And, in catalog.cfg, I altered the CommonAdjust line to get rid of the
dealer code, and to reflect the current quantity columns.
I set up my codes so that a purchase of 22 individual items would be a
bag and get a better price, and the purchase of 88 individual items
would be a case and would get them an even better price. That worked
great! But, if I purchased 50, it went back to the higher individual
price. I looked back through the archives some more. I found a note
from Mike that EVERY column needs to have an entry. It quickly became
apparent that a blank column causes it to insert the price from the
main file.
Jon Jensen's Table Editor (te) is vital for dealing with this sort of
thing. With te and mouse clicks I was able to easily populate each of
those columns. (I've got 43 of them!)
I must also add that I have learned that in various fields it wants
comma-delimited variables.
As an example in the size field... You can put in as many sizes as you
want, just put a comma between them:
Small,Medium,Large,X-Large,Elephant
THat will give the customer a drop-down box during check out. I would
like to see this somewhere earlier in the ordering process. For the
moment, I am making it clear in the descriptions that they can make this
selection at check out.
On the e-mail that I get as the vendor, it is very clear what sizes and
colors the customer wanted.
I've managed to hack through 'Construct Something' and to give it my
own personal perverse philosophy.
I've managed to use the various 'I Gotchas' to slim down my data base
entries and to streamline shopping for my customers, and to (hopefully)
produce more revenue.
If you haven't gotten Jon's te yet, give it a high priority. It's not a
complete Swiss Army Knife, but it's very close.
-------------------
I dunno who built up 'Construct Something'. I owe them a DeLuxe blow
job! It's a tremendous piece of work! It's too bad that nothing has been
documented about it.
--------------------
A couple pieces of advice....
1. It's been readily admitted that the documentation is sparse. I
signed on to try to help the documentation team, and quickly left since
the documentation for the tags was so far over my head as to attract
thunder storms! But, plow around in there. Look at what's in the demos.
Experiment with them a bit. Most of it becomes readily apparent with a
bit of studying.
2. When you get stumped, talk to Akopia.com. They are doing fee-based
Tech Support. I paid $500 for ShopSite, only to learn that to get
zone-based shipping I needed to spend $2,000 for the product. I later
learned that ShopSite grew out of MiniVend, as did Interchange.
I think that paying a Tech Support Fee for free software is not a bad
trade-off. OTOH, I paid $150 for Quicken 2001 and there is NO free Tech
Support. Nor, is there any documentation about how to use the software.
That is all fee based. I tried to reconcile my bank statement and
something stupid happened, and totally wrong. I ended up un-installing
the software, re-installing and re-entering my data. Or, I could have
paid Quicken $40 to tell me how to correct that. And, when the next
glitch comes up, another $40 to tell me how to correct that one. They
should give Quicken away for free with their Tech Support rip-offs!
(It's quite easy to get $1,000 invested in software that would not have
been necessary with a manual!)
Akopia reverses that! Give the software away and then charge when the
going gets tough!
And, finally, that glob of gray matter that resides in Mike Heins brain
pan has simply got to be on a present day par with Einstein!
I'm closing in on getting my store moved from commerce.cgi to IC. IC
is powerful! It's a LOT of work to get it set up, but I still think that
it is well worth the work!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Monday, June 25, 2001 at 21:20 PM:
Oxymoron: Vacant Dwelling.
----------------------------------------------------------------
This Linux System has been up 224 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Dan B)
Date: Mon Jun 25 22:25:01 2001
Subject: [ic] Generating Keys & Applying Signatures
--=====================_546276053==_
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 09:33 PM 6/25/2001 +0200, you wrote:
>I need to modify the Create New Account and the Check Out processes in
>such a way that:
>
>1. Whenever a new user register him/herself, Interchange will generate a
>key-pair for him/her and store it a certain directory on the server;
>
>2. Whenever a registered user checked out, Interchange will make use of
>the user's key-pair to sign on the purchase order before encrypting it and
>sending it to the supervisor.
>
>Interchange already provides the functions to encrypt and send the
>purchase order via (encrypted) email to the supervisor. What I would like
>to do now is to modify the process such that it will do the 2 things that
>I stated above. The most important thing is for Interchange to SIGN the
>purchase order using the buyer's key-pair before encrypting and sending it
>to the higher level.
>
>Can anybody please help me?
Checkout the [encrypt] usertag, posted by Ed L. a while back (and attached
here). It seems like you'll need to manually program all the stuff about
generating keypairs, but you can use this to easily call gpg with specific
parameters and input.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
--=====================_546276053==_
Content-Type: application/octet-stream; name="encrypt.tag"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="encrypt.tag"
IwojIFVzZXJUYWcgZW5jcnlwdCAtIHNlZSBkb2N1bWVudGF0aW9uIGZvciBtb3JlIGluZm9ybWF0
aW9uCiMKIyBDb3B5cmlnaHQgMjAwMSBieSBFZCBMYUZyYW5jZSA8ZWRsQG5ld21lZGlhZW1zLmNv
bT4KIwojIFRoaXMgcHJvZ3JhbSBpcyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0
ZSBpdCBhbmQvb3IgbW9kaWZ5CiMgaXQgdW5kZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJh
bCBQdWJsaWMgTGljZW5zZSBhcyBwdWJsaXNoZWQgYnkKIyB0aGUgRnJlZSBTb2Z0d2FyZSBGb3Vu
ZGF0aW9uOyBlaXRoZXIgdmVyc2lvbiAyIG9mIHRoZSBMaWNlbnNlLCBvcgojIChhdCB5b3VyIG9w
dGlvbikgYW55IGxhdGVyIHZlcnNpb24uCiMKIyBUaGlzIHByb2dyYW0gaXMgZGlzdHJpYnV0ZWQg
aW4gdGhlIGhvcGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwKIyBidXQgV0lUSE9VVCBBTlkgV0FS
UkFOVFk7IHdpdGhvdXQgZXZlbiB0aGUgaW1wbGllZCB3YXJyYW50eSBvZgojIE1FUkNIQU5UQUJJ
TElUWSBvciBGSVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRS4gIFNlZSB0aGUKIyBHTlUg
R2VuZXJhbCBQdWJsaWMgTGljZW5zZSBmb3IgbW9yZSBkZXRhaWxzLgojCiMgWW91IHNob3VsZCBo
YXZlIHJlY2VpdmVkIGEgY29weSBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljCiMgTGljZW5zZSBh
bG9uZyB3aXRoIHRoaXMgcHJvZ3JhbTsgaWYgbm90LCB3cml0ZSB0byB0aGUgRnJlZQojIFNvZnR3
YXJlIEZvdW5kYXRpb24sIEluYy4sIDU5IFRlbXBsZSBQbGFjZSwgU3VpdGUgMzMwLCBCb3N0b24s
CiMgTUEgIDAyMTExLTEzMDcgIFVTQS4KClVzZXJ0YWcgZW5jcnlwdCBPcmRlciBjbWQKVXNlcnRh
ZyBlbmNyeXB0IEhhc0VuZFRhZyAxClVzZXJ0YWcgZW5jcnlwdCBJbnRlcnBvbGF0ZSAxClVzZXJ0
YWcgZW5jcnlwICBEb2N1bWVudGF0aW9uIDw8RU9ECgp1c2FnZTogW2VuY3J5cHQgY21kPScvdXNy
L2Jpbi9lbmNyeXB0cHJvZyAtb3B0cyBrZXknKl1TdHVmZiB0byAKZW5jcnlwdFsvZW5jcnlwdF0K
CiogPSBvcHRpb25hbCBwYXJhbWV0ZXIKCkFsbG93cyB0aGUgZW5jcnlwdGlvbiBvZiBhcmJpdHJh
cnkgZGF0YS4gIFRoZSBbZW5jcnlwdF1bL2VuY3J5cHRdIHBhaXIgY2FuCmJlIHN1cnJvdW5kZWQg
d2l0aCBbc2V0aSBuYW1lXVsvc2V0aV0gdG8gc3RvcmUgdGhlIHJlc3VsdHMgaW4gYSBzY3JhdGNo
IAp2YXJpYWJsZSwKd3JpdHRlbiB0byBhIGRhdGFiYXNlIGZpZWxkLCBlbWFpbGVkIGV0Yy4gVGhl
IGNtZCBwYXJhbWV0ZXIgaXMgb3B0aW9uYWwgYW5kCmNhbiBiZSB1c2VkIHRvIHNwZWNpZnkgYSBl
bmNyeXB0aW9uIGNvbW1hbmQgc3BlY2lmaWNhbGx5IGZvciB1c2Ugd2l0aCB0aGlzIHRhZzsKb3Ro
ZXJ3aXNlIHRoZSB2YWx1ZSBmcm9tIHRoZSBFbmNyeXB0UHJvZ3JhbSBvciBQR1AgY2F0YWxvZyBk
aXJlY3RpdmVzIHdpbGwKYmUgdXNlZC4KCkVPRApVc2VydGFnIGVuY3J5cHQgUm91dGluZSA8PEVP
UgpzdWIgewogICAgICAgICBteSAoJGNtZCwgJGJvZHkpID0gQF87CiAgICAgICAgIHJldHVybiAn
TmVlZCBzb21ldGhpbmcgdG8gZW5jcnlwdCEnIHVubGVzcyAkYm9keTsKICAgICAgICAgJGNtZCA9
ICRDb25maWctPntFbmNyeXB0UHJvZ3JhbX0gfHwgJFZlbmQ6OkNmZy0+e1BHUH0gdW5sZXNzICRj
bWQ7CiAgICAgICAgIHJldHVybiAnTm8gZW5jcnlwdGlvbiBjb21tYW5kIGZvdW5kIScgdW5sZXNz
ICRjbWQ7CiAgICAgICAgIG15ICRuYW1lID0gJFRhZy0+ZGF0YSgnc2Vzc2lvbicsICdpZCcpOwog
ICAgICAgICBteSAkZnByZSA9ICRWZW5kOjpDZmctPntTY3JhdGNoRGlyfSAuICIvcGdwLiRuYW1l
IjsKICAgICAgICAgb3BlbihQR1AsICJ8JGNtZCA+JGZwcmUub3V0IDI+JGZwcmUuZXJyIikKICAg
ICAgICAgb3IgZGllICJDb3VsZG4ndCBmb3JrOiAkISI7CiAgICAgICAgIHByaW50IFBHUCAkYm9k
eTsKICAgICAgICAgY2xvc2UgUEdQOwogICAgICAgICBpZigkPykgewogICAgICAgICAgICAgICAg
IG15ICRlcnIgPSBWZW5kOjpVdGlsOjpyZWFkZmlsZSgiJGZwcmUuZXJyIik7CiAgICAgICAgICAg
ICAgICAgcmV0dXJuICc8Yj5FbmNyeXB0IGZhaWxlZDo8L2I+PGJyPicgLiAgJGVycjsKICAgICAg
ICAgfQogICAgICAgICAkYm9keSA9IFZlbmQ6OlV0aWw6OnJlYWRmaWxlKCIkZnByZS5vdXQiKTsK
ICAgICAgICAgdW5saW5rICIkZnByZS5vdXQiOwogICAgICAgICB1bmxpbmsgIiRmcHJlLmVyciI7
CiAgICAgICAgIHJldHVybiAkYm9keTsKfQpFT1IK
--=====================_546276053==_--
From: interchange-users at lists.akopia.com (webbie)
Date: Mon Jun 25 23:31:01 2001
Subject: [ic] Akopia installer needed
HI,
I'm looking for a free lancer to install Interchange
on a virtual FreeBSD 4.2 system.
Please contact me directly.
Thanks in advance.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Peter Jakl)
Date: Mon Jun 25 23:44:00 2001
Subject: [ic] Faster search with mysql
Is there any way to get the value of "mv_sql_query" passed directory to the
SQL server? I want to be able to speed up the search against 120,000
products. I don't want to use the [query] tag on the results page since I
will lose interchanges ability to cache products and use the results paging
feature.
In all attempts, in using mv_sql_query, interchange still passes "select *
from products" and then filters the list based on the criteria itself. I can
speed up the search significantly if interchange would just send the
mv_sql_query directly. It looks as if this was the intent and could really
provide a benefit, but is not working for me.
Peter
From: interchange-users at lists.akopia.com (FraserValleyBC.com, Tammy)
Date: Tue Jun 26 00:10:01 2001
Subject: [ic] Quick question before I install
Hi,
I have a virtual hosting company.
If I install Interchange in the root, will I be able to place completely
separate shopping carts on my various users domains?
If I can provide this then I will install it in the root.
If I can not, then would you say that I should install separately into my
users directories?
Allowing each to run their own version. - This would be bulky.
(I tried to find the appropriate area in your discussion forum to ask this,
but have been unable to find it yet.)
Thanks for your time!
Tammy Mitchell
FraserValleyBC.com
mailto:support@fraservalleybc.com
http://www.FraserValleyBC.com
******_Sites_of_Interest_*****************
http://fraservalleybc.com/hydrangeafestival/
http://www.actingwild.com
http://www.GreaterHamiltonArea.com
http://www.CanadianHateCrimes.com
http://www.kerguelon.org/
http://www.wrchandlermemorials.bc.ca
http://www.nyrotic.com
http://www.LeatherMessiah.com
http://www.EzFollowUpPlan.com
http://www.isourcecom.com
http://www.novartis.ca
http://www.kellysportfishing.com
~~~~~~~~_Have_a_Great_Day!_~~~~~~~~~~
From: interchange-users at lists.akopia.com (FraserValleyBC.com, Tammy)
Date: Tue Jun 26 00:34:00 2001
Subject: [ic] Quick question before I install
Hi,
I have a virtual hosting company.
If I install Interchange in the root, will I be able to place completely
separate shopping carts on my various users domains?
If I can provide this then I will install it in the root.
If I can not, then would you say that I should install separately into my
users directories?
Allowing each to run their own version. - This would be bulky.
Thanks for your time!
Tammy
(sorry for the previous email with the long signature, I forgot to remove it)
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Tue Jun 26 01:31:00 2001
Subject: [ic] Akopia installer needed
it's not hard to do yourself if you follow the directions.
the instructions are clear.
Ven
>HI,
>
>I'm looking for a free lancer to install Interchange
>on a virtual FreeBSD 4.2 system.
>
>Please contact me directly.
>
>Thanks in advance.
>
>__________________________________________________
>Do You Yahoo!?
>Get personalized email addresses from Yahoo! Mail
>http://personal.mail.yahoo.com/
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (FraserValleyBC.com, Tammy)
Date: Tue Jun 26 02:49:01 2001
Subject: [ic] running the config file?? - NOT
I have untard the file to:
/usr/local/etc/httpd/htdocs/interchange
When I go to the http://www.domain.com/interchange/config
all I get is the text file.
Please explain how I run this file? Have I placed it in the wrong place
already?
I thought I would untar it first, then install it to the directories listed
in the instructions.
Am I suppose to do this with telnet, I do not have telnet. But I can get it
if I need it.
Thanks in advance!!
Tammy
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Tue Jun 26 04:11:01 2001
Subject: [ic] running the config file?? - NOT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 26 June 2001 01:49 am, you wrote:
> I have untard the file to:
> /usr/local/etc/httpd/htdocs/interchange
>
> When I go to the http://www.domain.com/interchange/config
>
> all I get is the text file.
>
> Please explain how I run this file? Have I placed it in the wrong place
> already?
>
> I thought I would untar it first, then install it to the directories listed
> in the instructions.
>
> Am I suppose to do this with telnet, I do not have telnet. But I can get it
> if I need it.
>
> Thanks in advance!!
> Tammy
Yes! Run, don't walk, but run to the great and all powerfull telnet!
Seriously tho, you do need telnet access to install and configure IC....
It's simply waaayyyyy too powerful for anything else.
Matt
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7OEYv/x+6cl2wuPQRAoJrAJ9PrxXS+gExZRvoTG4qLq+ygUyX7ACdFYoO
3BbA0k8Tn0VSfIS1i6MKU2k=
=Z22L
-----END PGP SIGNATURE-----
From: interchange-users at lists.akopia.com (Steffen Dettmer)
Date: Tue Jun 26 04:15:00 2001
Subject: [ic] Quick question before I install
* FraserValleyBC.com, Tammy wrote on Mon, Jun 25, 2001 at 21:35 -0700:
First, I'm very new and what I say may be completly wrong :)
> If I install Interchange in the root, will I be able to place completely
> separate shopping carts on my various users domains?
You have to distinguish between die software and catalog(+www)
install. You should be able to install the software (+daemon)
somewhere public, and the catalogs private. You should be able to
split that over two hosts, one for catalogs, one for www things,
since the daemon can communicate via internet domain sockets.
> If I can provide this then I will install it in the root.
I installed it into /usr/local/interchange. To make the makecat
work, I needed to chown that to the target user, since for some
reason makecat needs write privileges here (it tries to compile
tlink binary here). You could made it writeable for some
shopgroup. After all, it's not the state-of-the-art to need write
permissions here, but AFAIK it's nessacary.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Tue Jun 26 04:19:00 2001
Subject: [ic] Quick question before I install
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 25 June 2001 11:35 pm, you wrote:
> Hi,
>
> I have a virtual hosting company.
> If I install Interchange in the root, will I be able to place completely
> separate shopping carts on my various users domains?
The short answer is yes. It's been my experience that if your customers are
wanting to do any tweaking or if they have a high volume it's better to go
with seperate installs for each......
>
> If I can provide this then I will install it in the root.
>
> If I can not, then would you say that I should install separately into my
> users directories?
> Allowing each to run their own version. - This would be bulky.
>
Bulky yes. But, as above, there are some advatages to going this way.
Namely, if a customer does something and kills their catalog it can have
repercussions for the rest. Plus, It's nice for security points....
> Thanks for your time!
>
> Tammy
> (sorry for the previous email with the long signature, I forgot to remove
> it)
Just my humble opinion, but I hope it helps...
Matt
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7OEgf/x+6cl2wuPQRAlM1AJwMMCIakvh5AwOaIwXN0lNWCg0b/QCghw9X
q/bTCNomJnWZKDDsMbu++Gc=
=5RW7
-----END PGP SIGNATURE-----
From: interchange-users at lists.akopia.com (Ken Douglas)
Date: Tue Jun 26 05:16:01 2001
Subject: [ic] Directory Question
Hi,
Finally I installed foundation catalog. (FYI why I'm
getting 500 error is after makecat copies vlink or
tlink program to cgi-bin dir it gives permissions of
-rwsrwxrwx. I don't what is "s" here, but I first
chmod to 777 and then 755 everything works fine. This
may be a bug I don't know)
I have one more question how can I customize the
foundation demo files. I want like this
http://domain/cgi-bin/some.cgi and other directories
like http://domain/some/images. I looked at ftp for
demos I cannot found foundation demo.
Any help will be very appreciated.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Barry Flanagan)
Date: Tue Jun 26 07:08:00 2001
Subject: [ic] HOw to get 4.7.x branch from CVS?
Hi,
I followed the instructions to grab the latest CVS as per the interchange
website, but this appears to have given me the 4.6 branch rather than the
latest 4.7.x.
How can I get the 4.7.x?
Thanks.
-Barry Flanagan
Creative & Technical Director
DigiServe Ltd.
Dublin, Ireland
GPG Key ID: 0AEDE2D8
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 26 08:19:01 2001
Subject: [ic] Directory Question
Quoting Ken Douglas (zeolite6@yahoo.com):
> Hi,
> Finally I installed foundation catalog. (FYI why I'm
> getting 500 error is after makecat copies vlink or
> tlink program to cgi-bin dir it gives permissions of
> -rwsrwxrwx. I don't what is "s" here, but I first
> chmod to 777 and then 755 everything works fine. This
> may be a bug I don't know)
No, when you run makecat you have to answer "Y" to the question
"do you run SUEXEC or CGI-WRAP?" If you do answer yes, it will
install it as 755. You are probably using one of those.
>
> I have one more question how can I customize the
> foundation demo files. I want like this
> http://domain/cgi-bin/some.cgi and other directories
> like http://domain/some/images. I looked at ftp for
> demos I cannot found foundation demo.
> Any help will be very appreciated.
I am afraid I am unable to determine what you are asking, so I will
let someone else answer who may understand.
--
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 lists.akopia.com (Jim Balcom)
Date: Tue Jun 26 08:21:00 2001
Subject: [ic] running the config file?? - NOT
On Mon, 25 Jun 2001, FraserValleyBC.com, Tammy wrote:
FT>>I have untard the file to:
FT>>/usr/local/etc/httpd/htdocs/interchange
FT>>
FT>>When I go to the http://www.domain.com/interchange/config
FT>>
FT>>all I get is the text file.
FT>>
FT>>Please explain how I run this file? Have I placed it in the wrong place
FT>>already?
FT>>
FT>>I thought I would untar it first, then install it to the directories listed
FT>>in the instructions.
FT>>
FT>>Am I suppose to do this with telnet, I do not have telnet. But I can get it
FT>>if I need it.
I'm a tad confused as to what you are doing.
But, here is a basic: It is best if you are sitting at the console and
are logged in as root.
You can also telnet in and do it, but you will need to be able to log
in as root.
You are going to have to have root access to be able to get it
installed.
If you've got root access put the tarball in a directory. My favorite
is /usr/local/src. Get it untarred, and then go into the directory that
it just made and follow the instructions, I recommend planning to end
up having re-installed it several times before you are done and have
gotten it the way you want it. So, the first time through just follow
the defaults that it wants to use as much as possible. That will give
you an idea of what it's all about.
And, be sure to set aside an ample amount of time, free from
distractions to focus on it.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 26, 2001 at 08:15 AM:
I still miss my ex-wife.....BUT, My aim is improving!
----------------------------------------------------------------
This Linux System has been up 235 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Salvador Caballe)
Date: Tue Jun 26 08:24:01 2001
Subject: [ic] Handling question?
I need to include a fixed fee if the payment is COD,
Someone suggest me to use handling feature,but there is not any example
in the interchange documentation.
could someone explain in simple terms how I do this.
best regards
Salvador Caballe
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 26 09:23:00 2001
Subject: [ic] Faster search with mysql
Quoting Peter Jakl (peter@jakl.net):
> Is there any way to get the value of "mv_sql_query" passed directory to the
> SQL server? I want to be able to speed up the search against 120,000
> products. I don't want to use the [query] tag on the results page since I
> will lose interchanges ability to cache products and use the results paging
> feature.
>
> In all attempts, in using mv_sql_query, interchange still passes "select *
> from products" and then filters the list based on the criteria itself. I can
> speed up the search significantly if interchange would just send the
> mv_sql_query directly. It looks as if this was the intent and could really
> provide a benefit, but is not working for me.
You cannot pass it directly. There are two ways to do this faster.
If one of your search criteria is an "eq", and it is a coordinated search,
Interchange will start the search with "select * from products where foo =
'bar'". Then it operates on that set to filter better.
Second, you *can* use the query tag and do results paging.
[query list=1
sql="select * from products where foo = 'bar'"
more=1
ml=10
]
[list]
[sql-code] -- [sql-param description] -- [sql-param price]
[/list]
[more-list]
More matches:
[more]
[/more-list]
[/query]
If Interchange was closely tied to one or two specific databases we could
use their various regex features, but they are too fragmented for that
to work. The search parser would be a nightmare -- wait, if you have looked
at the code, it already is! 8-)
--
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 lists.akopia.com (Craig Heim)
Date: Tue Jun 26 10:38:00 2001
Subject: [ic] HOw to get 4.7.x branch from CVS?
> How can I get the 4.7.x?
cvs -z3 -d :pserver:cvs@cvs.akopia.com:/var/cvs checkout -r DEV_4_7_0 -P
interchange
From: interchange-users at lists.akopia.com (Chris Rapier)
Date: Tue Jun 26 11:15:01 2001
Subject: [ic] running the config file?? - NOT
Jim Balcom wrote:
> But, here is a basic: It is best if you are sitting at the console and
> are logged in as root.
> You can also telnet in and do it, but you will need to be able to log
> in as root.
> You are going to have to have root access to be able to get it
> installed.
Thats not true. You do not need root access to install or use
interchange. You can, quite easily, install it in a simple user account
as long as the web space can run cgi scripts. If the perl modules are
not installed they can be installed locally in ~/install-dir/lib or
anywhere else as long as you make sure the perl scripts are told to look
there.
The entire installation from begining to end can be done as a user with
basic privlidges. You don't even need your own domain as I have
installed it in public html directories (http://domain/~user) just as
easily as in FQDN web space.
I'm pretty sure Mike wrote minivend/interchange so that root access
would never actually be needed.
Chris
p.s. On a security note: Telnet bad. SSH good. Do not use telnet if you
don't need to. Whats the point of having a secure system if you are
always sending your passwords in the clear? Terraterm supports a free
implementation of SSH on windows systems. Niftytelnet also supports SSH
for macs. Anyone not using SSH on a wireless network is simply asking to
have their passwords bogarted.
From: interchange-users at lists.akopia.com (ETH Zurich)
Date: Tue Jun 26 11:39:01 2001
Subject: [ic] Generating Keys & Applying Signatures
Thanks for ur reply Dan!
There is a problem with generating a PGP key-pair for a customer. The
command requires the entering of a passphrase and some random keystrokes.
How do I:
1. Make it work in such a way that the passphrase for the key-pair is the
same as the customer's login password; i.e extract the login password of the
customer from the user database and feed it directly into the commandline?
2. Skip the usual process of entering some random keystrokes for the
generating of the key-pair so that everything will be done automatically and
the key-pair saved onto disc?
Thanks in advanced!
> > List-Help:
><mailto:interchange-users-request@lists.akopia.com?subject=help>
> > List-Post: <mailto:interchange-users@lists.akopia.com>
> > List-Subscribe:
><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > <mailto:interchange-users-request@lists.akopia.com?subject=subscribe>
> > List-Id: Interchange Users (high volume)
><interchange-users.lists.akopia.com>
> > List-Unsubscribe:
><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> >
> <mailto:interchange-users-request@lists.akopia.com?subject=unsubscribe>
> > List-Archive: <http://lists.akopia.com/pipermail/interchange-users/>
> > X-Original-Date: Mon, 25 Jun 2001 19:30:26 -0700
> > Date: Mon, 25 Jun 2001 19:30:26 -0700
> >
> > --=====================_546276053==_
> > Content-Type: text/plain; charset="us-ascii"; format=flowed
> >
> > At 09:33 PM 6/25/2001 +0200, you wrote:
> > >I need to modify the Create New Account and the Check Out processes in
> > >such a way that:
> > >
> > >1. Whenever a new user register him/herself, Interchange will generate
>a
> > >key-pair for him/her and store it a certain directory on the server;
> > >
> > >2. Whenever a registered user checked out, Interchange will make use
>of
> > >the user's key-pair to sign on the purchase order before encrypting it
>and
> > >sending it to the supervisor.
> > >
> > >Interchange already provides the functions to encrypt and send the
> > >purchase order via (encrypted) email to the supervisor. What I would
>like
> > >to do now is to modify the process such that it will do the 2 things
>that
> > >I stated above. The most important thing is for Interchange to SIGN
>the
> > >purchase order using the buyer's key-pair before encrypting and
>sending it
> > >to the higher level.
> > >
> > >Can anybody please help me?
> >
> > Checkout the [encrypt] usertag, posted by Ed L. a while back (and
>attached
> > here). It seems like you'll need to manually program all the stuff
>about
> > generating keypairs, but you can use this to easily call gpg with
>specific
> > parameters and input.
> >
> > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Robert Trembath)
Date: Tue Jun 26 11:42:03 2001
Subject: [ic] Problem with IC 4.6.5 crashing
This just cropped up over last weekend. The IC Server is randomly crashing
and nothing is in the error log.
This is in ICDebug:
Could not open error file '/var/log/interchange/error.log':
Too many open files in system
to report this error:
- - - [25/June/2001:15:44:29 -0500] - - Died in select, retrying: opendir
/var/run/interchange: Too many open files in system
> Start DEBUG at Tue Jun 26 05:47:11 2001
Please help.
Robert
From: interchange-users at lists.akopia.com (Russ Mann)
Date: Tue Jun 26 11:50:00 2001
Subject: [ic] Credit Card Info on Checkout
Dear List,
How can I access the Credit Card number using the [perl] tag or other tags
before the final checkout? If a user puts their CC# in the checkout.html
form and forgets to put in their phone number, the form fails and the CC#
disappears, requiring it to be re-entered. This could become quite
confusing.
Thanks,
Russ
From: interchange-users at lists.akopia.com (FraserValleyBC.com, Tammy)
Date: Tue Jun 26 11:58:00 2001
Subject: [ic] running the config file?? - NOT
At 11:21 AM 26/06/01 -0400, you wrote:
>
>
>Jim Balcom wrote:
>
>> But, here is a basic: It is best if you are sitting at the console and
>> are logged in as root.
>> You can also telnet in and do it, but you will need to be able to log
>> in as root.
>> You are going to have to have root access to be able to get it
>> installed.
>
>Thats not true. You do not need root access to install or use
>interchange. You can, quite easily, install it in a simple user account
>as long as the web space can run cgi scripts. If the perl modules are
>not installed they can be installed locally in ~/install-dir/lib or
>anywhere else as long as you make sure the perl scripts are told to look
>there.
>
>The entire installation from begining to end can be done as a user with
>basic privlidges. You don't even need your own domain as I have
>installed it in public html directories (http://domain/~user) just as
>easily as in FQDN web space.
>
>I'm pretty sure Mike wrote minivend/interchange so that root access
>would never actually be needed.
>
>Chris
>
>p.s. On a security note: Telnet bad. SSH good. Do not use telnet if you
>don't need to. Whats the point of having a secure system if you are
>always sending your passwords in the clear? Terraterm supports a free
>implementation of SSH on windows systems. Niftytelnet also supports SSH
>for macs. Anyone not using SSH on a wireless network is simply asking to
>have their passwords bogarted.
Thanx for your help guys.....
I have untared the file but when I use a browser, and try to run the
http://www.mydomain.com/iterchange/config only a text file appears.
I guess I am mistakenly thinking that I can run the install program from a
browser.
Maybe this is what over my head. I use WS_FTP to work within my root files,
and use a txt editor to edit them. I thought that once untared, I could
click on the config file and follow the instructions and get this done. I
guess not eh?
Tell me what programs I should be getting to do all this in, maybe I just
dont have the right ones. If this keeps up as bad as this, I may have to
get someone to install this for me.
Thanks
Tammy
From: interchange-users at lists.akopia.com (Dan McFarland)
Date: Tue Jun 26 12:05:15 2001
Subject: [ic] Failed to encrypt CC info error....
I keep getting the error that the credit card failed to encrypt so the order
does ot get saved or sent.
What should I be looking for to correct this? We have the kay pair
installed, mod_ssl installed, ssleay installed, etc.
Thanks!
Dan M
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Tue Jun 26 12:13:01 2001
Subject: [ic] Handling question?
At 02:30 PM 06/26/2001 +0200, you wrote:
>I need to include a fixed fee if the payment is COD,
>
>Someone suggest me to use handling feature,but there is not any example
>in the interchange documentation.
>could someone explain in simple terms how I do this.
>
>best regards
>Salvador Caballe
Well, there is an example, in fact:
http://interchange.redhat.com/cgi-bin/ic/dev/icdatabase_42.html
...but it is not specifically for COD. In the construct demo, you could do
something like this on the checkout page:
[comment]add this near the top of the page[/comment]
[if value payment_method eq 'cod']
[and !value mv_handling]
[value name=mv_handling set="cod_charge" hide=1]
[/if]
[comment]add an option to the existing payment_method selector[/comment]
<SELECT NAME="payment_method" onChange="this.form.submit()">
...
<option [selected payment_method cod] value="cod"> C.O.D.
...
</select>
...then put your cod charge line in shipping.asc:
cod_charge C.O.D. Charge price 0 999999999 f 3
..and reconfigure. When the user selects the COD payment method, the
shipping charges for their order should increase (by $3, in my example).
I haven't tried it - this is just my understanding from the docs. You
would also need to add appropriate display elements and logic to inform the
user that the charge is being levied.
Good luck!
- Ed L.
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Ed LaFrance)
Date: Tue Jun 26 12:18:00 2001
Subject: [ic] Failed to encrypt CC info error....
At 11:04 AM 06/26/2001 -0500, you wrote:
>I keep getting the error that the credit card failed to encrypt so the order
>does ot get saved or sent.
>
>What should I be looking for to correct this? We have the kay pair
>installed, mod_ssl installed, ssleay installed, etc.
You could try this for your ENCRYPTOR:
/path/to/encrytor -options key >>~/encrypt.log
(don't forget to Apply Changes)
...this should redirect any specific error messages from encrypt program to
file in your (or interch) home directory called encrypt.log - it may
provide more specific info about what went wrong.
- Ed L.
>Thanks!
>
>Dan M
>
>
>
>
>
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Matthew Schick)
Date: Tue Jun 26 12:19:36 2001
Subject: [ic] running the config file?? - NOT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 26 June 2001 10:57 am, you wrote:
> At 11:21 AM 26/06/01 -0400, you wrote:
> >Jim Balcom wrote:
> >> But, here is a basic: It is best if you are sitting at the console and
> >> are logged in as root.
> >> You can also telnet in and do it, but you will need to be able to log
> >> in as root.
> >> You are going to have to have root access to be able to get it
> >> installed.
> >
> >Thats not true. You do not need root access to install or use
> >interchange. You can, quite easily, install it in a simple user account
> >as long as the web space can run cgi scripts. If the perl modules are
> >not installed they can be installed locally in ~/install-dir/lib or
> >anywhere else as long as you make sure the perl scripts are told to look
> >there.
> >
> >The entire installation from begining to end can be done as a user with
> >basic privlidges. You don't even need your own domain as I have
> >installed it in public html directories (http://domain/~user) just as
> >easily as in FQDN web space.
> >
> >I'm pretty sure Mike wrote minivend/interchange so that root access
> >would never actually be needed.
> >
> >Chris
> >
> >p.s. On a security note: Telnet bad. SSH good. Do not use telnet if you
> >don't need to. Whats the point of having a secure system if you are
> >always sending your passwords in the clear? Terraterm supports a free
> >implementation of SSH on windows systems. Niftytelnet also supports SSH
> >for macs. Anyone not using SSH on a wireless network is simply asking to
> >have their passwords bogarted.
>
> Thanx for your help guys.....
>
> I have untared the file but when I use a browser, and try to run the
> http://www.mydomain.com/iterchange/config only a text file appears.
>
> I guess I am mistakenly thinking that I can run the install program from a
> browser.
Nope, can't run the install sequence from the browser..... If you are useing
the tar'd archive you will have to run the 'configure' script to set the
daemon up, and then run 'bin/makecat' from within your new interchange
directory. It's just not possible to run these from a browser. You might
also have to update your perl installation to include the modules needed by
IC, and that's certainly not doable from browsers..... sorry :-(
>
> Maybe this is what over my head. I use WS_FTP to work within my root files,
> and use a txt editor to edit them. I thought that once untared, I could
> click on the config file and follow the instructions and get this done. I
> guess not eh?
>
> Tell me what programs I should be getting to do all this in, maybe I just
> dont have the right ones. If this keeps up as bad as this, I may have to
> get someone to install this for me.
>
At the bare minimum you are gonna need telnet access. If you are running
windoze, all you have to do is click on the start menu then 'run' and type in
'telnet www.yourhosthere.com'..... That should get ya the command prompt and
you can go into your IC directory and configure everything from there.
Course if ya want someone to install it for ya that can always be arranged.
:)
> Thanks
> Tammy
Matt
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7OLiE/x+6cl2wuPQRAsd8AJ0R0aZfhSCAI5XkzQu6h33anuCbKgCfYtK7
0wWbgMHHH8SjhUWY+tt2SJg=
=Bo7W
-----END PGP SIGNATURE-----
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Tue Jun 26 12:22:01 2001
Subject: [ic] running the config file?? - NOT
At 08:57 AM 06/26/2001 -0700, you wrote:
>At 11:21 AM 26/06/01 -0400, you wrote:
> >
> >
> >Jim Balcom wrote:
> >
> >> But, here is a basic: It is best if you are sitting at the console and
> >> are logged in as root.
> >> You can also telnet in and do it, but you will need to be able to log
> >> in as root.
> >> You are going to have to have root access to be able to get it
> >> installed.
> >
> >Thats not true. You do not need root access to install or use
> >interchange. You can, quite easily, install it in a simple user account
> >as long as the web space can run cgi scripts. If the perl modules are
> >not installed they can be installed locally in ~/install-dir/lib or
> >anywhere else as long as you make sure the perl scripts are told to look
> >there.
> >
> >The entire installation from begining to end can be done as a user with
> >basic privlidges. You don't even need your own domain as I have
> >installed it in public html directories (http://domain/~user) just as
> >easily as in FQDN web space.
> >
> >I'm pretty sure Mike wrote minivend/interchange so that root access
> >would never actually be needed.
> >
> >Chris
> >
> >p.s. On a security note: Telnet bad. SSH good. Do not use telnet if you
> >don't need to. Whats the point of having a secure system if you are
> >always sending your passwords in the clear? Terraterm supports a free
> >implementation of SSH on windows systems. Niftytelnet also supports SSH
> >for macs. Anyone not using SSH on a wireless network is simply asking to
> >have their passwords bogarted.
>
>Thanx for your help guys.....
>
>I have untared the file but when I use a browser, and try to run the
>http://www.mydomain.com/iterchange/config only a text file appears.
>
>I guess I am mistakenly thinking that I can run the install program from a
>browser.
>
>Maybe this is what over my head. I use WS_FTP to work within my root files,
>and use a txt editor to edit them. I thought that once untared, I could
>click on the config file and follow the instructions and get this done. I
>guess not eh?
>
>Tell me what programs I should be getting to do all this in, maybe I just
>dont have the right ones. If this keeps up as bad as this, I may have to
>get someone to install this for me.
>
You need to run a remote shell via ssh or telnet. If your host allows this,
you just set the shell client to connect to yourdomain.com, and then you
enter your username and password (same as for ftp) when prompted. Then
follow these instructions:
http://interchange.redhat.com/cgi-bin/ic/dev/icinstall_3.html
Good luck!
- 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 lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 26 12:25:01 2001
Subject: [ic] Auto Reply
Ihre Mail wird in kürze bearbeitet.
[Dies ist eine automatische Benachrichtigung]
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 26 12:35:01 2001
Subject: [ic] Handling question?
Quoting Ed LaFrance (edl@newmediaems.com):
> At 02:30 PM 06/26/2001 +0200, you wrote:
>
> >I need to include a fixed fee if the payment is COD,
> >
> >Someone suggest me to use handling feature,but there is not any example
> >in the interchange documentation.
> >could someone explain in simple terms how I do this.
> >
> >best regards
> >Salvador Caballe
>
> Well, there is an example, in fact:
> http://interchange.redhat.com/cgi-bin/ic/dev/icdatabase_42.html
>
> ...but it is not specifically for COD. In the construct demo, you could do
> something like this on the checkout page:
>
>
> [comment]add this near the top of the page[/comment]
> [if value payment_method eq 'cod']
> [and !value mv_handling]
> [value name=mv_handling set="cod_charge" hide=1]
> [/if]
>
> [comment]add an option to the existing payment_method selector[/comment]
> <SELECT NAME="payment_method" onChange="this.form.submit()">
> ...
> <option [selected payment_method cod] value="cod"> C.O.D.
> ...
> </select>
>
> ...then put your cod charge line in shipping.asc:
>
> cod_charge C.O.D. Charge price 0 999999999 f 3
>
> ..and reconfigure. When the user selects the COD payment method, the
> shipping charges for their order should increase (by $3, in my example).
>
> I haven't tried it - this is just my understanding from the docs. You
> would also need to add appropriate display elements and logic to inform the
> user that the charge is being levied.
Exactly correct. Actually, if you look at etc/profiles.order you will
see:
[elsif value fax_order == 3]
&set = mv_payment COD
[value name=mv_handling set=cod hide=1]
[/elsif]
There doesn't appear to be a COD option on the checkout page selector, though.
That can easily be added. I think the new foundation checkout page and
receipts, etc, even handle mv_handling. 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 lists.akopia.com (Peter Jakl)
Date: Tue Jun 26 12:37:01 2001
Subject: [ic] Faster search with mysql
How then do you handle the "next" pages so that the [query] is not run for
each page? Do you need to wrap it inside and [if]? Does the "more=1"
effectively tell interchange to cache the query results? Where is this
documented?
Quoting Peter Jakl (peter@jakl.net):
> Is there any way to get the value of "mv_sql_query" passed directory to
the
> SQL server? I want to be able to speed up the search against 120,000
> products. I don't want to use the [query] tag on the results page since I
> will lose interchanges ability to cache products and use the results
paging
> feature.
>
> In all attempts, in using mv_sql_query, interchange still passes "select *
> from products" and then filters the list based on the criteria itself. I
can
> speed up the search significantly if interchange would just send the
> mv_sql_query directly. It looks as if this was the intent and could really
> provide a benefit, but is not working for me.
You cannot pass it directly. There are two ways to do this faster.
If one of your search criteria is an "eq", and it is a coordinated search,
Interchange will start the search with "select * from products where foo =
'bar'". Then it operates on that set to filter better.
Second, you *can* use the query tag and do results paging.
[query list=1
sql="select * from products where foo = 'bar'"
more=1
ml=10
]
[list]
[sql-code] -- [sql-param description] -- [sql-param price]
[/list]
[more-list]
More matches:
[more]
[/more-list]
[/query]
If Interchange was closely tied to one or two specific databases we could
use their various regex features, but they are too fragmented for that
to work. The search parser would be a nightmare -- wait, if you have looked
at the code, it already is! 8-)
--
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
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Zack Johnson)
Date: Tue Jun 26 12:54:00 2001
Subject: [ic] Generating Keys & Applying Signatures
Take advantage of 'expect'. Checkout the man page (type 'man expect').
Cheers!
Zack
----- Original Message -----
From: "ETH Zurich" <ethz@hotmail.com>
To: <interchange-users@developer.akopia.com>
Sent: Tuesday, June 26, 2001 11:45 AM
Subject: Re: [ic] Generating Keys & Applying Signatures
> Thanks for ur reply Dan!
>
> There is a problem with generating a PGP key-pair for a customer. The
> command requires the entering of a passphrase and some random keystrokes.
> How do I:
>
> 1. Make it work in such a way that the passphrase for the key-pair is the
> same as the customer's login password; i.e extract the login password of
the
> customer from the user database and feed it directly into the commandline?
>
> 2. Skip the usual process of entering some random keystrokes for the
> generating of the key-pair so that everything will be done automatically
and
> the key-pair saved onto disc?
>
> Thanks in advanced!
>
>
> > > List-Help:
> ><mailto:interchange-users-request@lists.akopia.com?subject=help>
> > > List-Post: <mailto:interchange-users@lists.akopia.com>
> > > List-Subscribe:
> ><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > > <mailto:interchange-users-request@lists.akopia.com?subject=subscribe>
> > > List-Id: Interchange Users (high volume)
> ><interchange-users.lists.akopia.com>
> > > List-Unsubscribe:
> ><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > >
> > <mailto:interchange-users-request@lists.akopia.com?subject=unsubscribe>
> > > List-Archive: <http://lists.akopia.com/pipermail/interchange-users/>
> > > X-Original-Date: Mon, 25 Jun 2001 19:30:26 -0700
> > > Date: Mon, 25 Jun 2001 19:30:26 -0700
> > >
> > > --=====================_546276053==_
> > > Content-Type: text/plain; charset="us-ascii"; format=flowed
> > >
> > > At 09:33 PM 6/25/2001 +0200, you wrote:
> > > >I need to modify the Create New Account and the Check Out processes
in
> > > >such a way that:
> > > >
> > > >1. Whenever a new user register him/herself, Interchange will
generate
> >a
> > > >key-pair for him/her and store it a certain directory on the server;
> > > >
> > > >2. Whenever a registered user checked out, Interchange will make use
> >of
> > > >the user's key-pair to sign on the purchase order before encrypting
it
> >and
> > > >sending it to the supervisor.
> > > >
> > > >Interchange already provides the functions to encrypt and send the
> > > >purchase order via (encrypted) email to the supervisor. What I would
> >like
> > > >to do now is to modify the process such that it will do the 2 things
> >that
> > > >I stated above. The most important thing is for Interchange to SIGN
> >the
> > > >purchase order using the buyer's key-pair before encrypting and
> >sending it
> > > >to the higher level.
> > > >
> > > >Can anybody please help me?
> > >
> > > Checkout the [encrypt] usertag, posted by Ed L. a while back (and
> >attached
> > > here). It seems like you'll need to manually program all the stuff
> >about
> > > generating keypairs, but you can use this to easily call gpg with
> >specific
> > > parameters and input.
> > >
> > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > >
> >
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Mike Thompson)
Date: Tue Jun 26 13:07:00 2001
Subject: [ic] Set Up Problems on Cobalt RAQ - Unknown Catalog
Hello,
I have been trying for some time now to get IC set up on a hosted ISP RAQ
server. I have tried both the lastest standard distribution as well as the
latest CVS version.
My problem is the classic
Undefined catalog: /cgibin/foundation.cgi/index.html
When running makecat I selected y for CGIWRAPPER opton.
Inside interchange.cfg I have:
Variable CGIWRAP_WORKAROUND 1
ps augxww | grep interchange
desertad 8939 0.0 3.4 19192 17944 ? S 12:50 0:00 interchange
the accountname is desertadmin
The correct screen appears when invoking:
http://desertmystique.mybinaryblocks.com/cgibin/foundation.cgi
but ... all of the links going through /cgibin/foundation.cgi return the
unknown catalog error.
# Set up individual catalogs here.
#Catalog store /var/lib/interchange/store /cgi-bin/store
Catalog foundation /home/sites/site9/web/catalogs/foundation
/cgibin/found
ation.cgi /foundation
Error log:
216.234.194.176 - - [26/June/2001:12:51:34 -0400] -
/cgibin/foundation.cgi/customerservice.html/cgibin/foundation.cgi/customerse
rvice.html CGI mapping error: Undefined catalog:
/cgibin/foundation.cgi/customerservice.html at
/home/sites/site9/web/interchange/lib/Vend/Server.pm line 185.
>
216.234.194.176 - - [26/June/2001:13:01:00 -0400] -
/cgibin/foundation.cgi/index.html/cgibin/foundation.cgi/index.html CGI
mapping error: Undefined catalog: /cgibin/foundation.cgi/index.html at
/home/sites/site9/web/interchange/lib/Vend/Server.pm line 185.
After searching through the archives for unknown catalog and Cobalt RAQ
issues I have applied everything I was able to identify.
What am I missing or doing wrong? I do not have root on this box. Is there
anything else I can check for?
Thanks in advance for any assistance,
-Mike Thompson
From: interchange-users at lists.akopia.com (David Adams)
Date: Tue Jun 26 14:20:01 2001
Subject: [ic] Converting from commerce.cgi
Just to clear up on this point, ShopSite did not grow out of Minivend.
Tallyman (Early Akopia product) was engineered by the same developers that
created ShopSite (Tallyman was an attempt to improve on ShopSite, plus make
it open source). Then Tallyman's feature set and Admin UI was incorporated
into Minivend to create Interchange.
That concludes today's history lesson.
on 6/26/2001 12:02 PM, Jim Balcom <jim@idk-enterprises.com> at
interchange-users-request@developer.akopia.com wrote:
> 2. When you get stumped, talk to Akopia.com. They are doing fee-based
> Tech Support. I paid $500 for ShopSite, only to learn that to get
> zone-based shipping I needed to spend $2,000 for the product. I later
> learned that ShopSite grew out of MiniVend, as did Interchange.
David Adams
Red Hat E-Business Solutions
interchange.redhat.com
703-456-2924 Office
202-422-3283 Mobile
From: interchange-users at lists.akopia.com (Salvador Caballe)
Date: Tue Jun 26 15:04:01 2001
Subject: [ic] Handling question?
Thanks ,
Now is working !!
From: interchange-users at lists.akopia.com (Jason Kohles)
Date: Tue Jun 26 15:35:00 2001
Subject: [ic] Problem with IC 4.6.5 crashing
On Tue, Jun 26, 2001 at 10:47:44AM -0500, Robert Trembath wrote:
> This just cropped up over last weekend. The IC Server is randomly crashing
> and nothing is in the error log.
>
> This is in ICDebug:
>
> Could not open error file '/var/log/interchange/error.log':
> Too many open files in system
Too many open files means your system has run out of file descriptors, if you
are running linux (and your interchange server is not running with limited
file descriptors), you can increase the number of available descriptors by
running: 'echo 8192 > /proc/sys/file-max' (use 'cat /proc/sys/file-max' first
to see what it is currently set at, and increase the number appropriately.
You also might want to find out what is using so many file descriptors on
your server, and if you opt to fix it by using the command above, keep in
mind that you will have to arrange to run that command after every reboot,
using whatever system your distribution uses for that.
--
Red Hat E-Business Solutions Jason Kohles
11480 Sunset Hills Road Senior System Architect
Reston, VA 20190 jkohles@redhat.com
From: interchange-users at lists.akopia.com (Jeff Carnahan)
Date: Tue Jun 26 17:20:01 2001
Subject: [ic] Trouble with repeating special page: interact
I've searched the mailing list archives and documentation and can't find any
mention of the problem I'm experiencing, nor anything that would help me fix
it.
I have a SpecialPage directive:
SpecialPage interact special/interact.html
The file special/interact.html contains a proper HTML file that gives the
user an error report.
On the basket page, if a user sets the quantity of an item to a non-digit,
(say a letter) and attempts to update their cart, the contents of
special/interact.html are displayed twice, followed by the basket page again
(all concatenated into one large HTML document).
The first time interact.html is parsed and included into the resulting page,
[message] is replaced with "'q' for item 15-1010 is not numeric" (I've set
the quantity for item 15-1010 to the letter q). The second time
interact.html is parsed and included, [message] is replaced with:
"quantities". Finally, the basket page is displayed again.
Note that the basket page sets:
mv_doit = refresh
mv_nextpage = @@MV_PAGE@@
This is on IC 4.6.5
Any suggestions about how to prevent this problem from occurring? I only
want interact.html parsed and returned to the user if they enter invalid
quantity data.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Tue Jun 26 18:09:01 2001
Subject: [ic] running the config file?? - NOT
> > Am I suppose to do this with telnet, I do not have telnet. But I can get it
> > if I need it.
> Seriously tho, you do need telnet access to install and configure IC....
> It's simply waaayyyyy too powerful for anything else.
SSH is also accepted :)
Rene
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Tue Jun 26 18:10:14 2001
Subject: [ic] HOw to get 4.7.x branch from CVS?
> Hi,
>
> I followed the instructions to grab the latest CVS as per the interchange
> website, but this appears to have given me the 4.6 branch rather than the
> latest 4.7.x.
>
> How can I get the 4.7.x?
This question was answered last Friday (22.06) by Jason Kohles. You will find
that in the mail-list archive.
Rene
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Tue Jun 26 18:12:01 2001
Subject: [ic] running the config file?? - NOT
On Tue, 26 Jun 2001, FraserValleyBC.com, Tammy wrote:
FT>>I have untared the file but when I use a browser, and try to run the
FT>>http://www.mydomain.com/iterchange/config only a text file appears.
FT>>
FT>>I guess I am mistakenly thinking that I can run the install program from a
FT>>browser.
To the best of my knowledge, you have got to have a shell and command
line access. That means either sitting at the computer console, or
telnetted in (or similar access) so that you can work.
The only executables that I am aware of that will run from a browser
are programs that will send their output in HTML.
Here's an indicator: In order to install interchange you have got to be
able to enter the command 'ls' and get a directory listing. If you
can't do that, then you are not going to get Interchange to install.
FT>>Tell me what programs I should be getting to do all this in, maybe I just
FT>>dont have the right ones. If this keeps up as bad as this, I may have to
FT>>get someone to install this for me.
I've got two suggestions and one or both may insult you, and I
apologize in advance if they do. My intentions are to try to help you.
1. Find someone that already has Interchange installed and is using it
on a daily basis. Pay them a hosting fee and keep your pages on their
system.
2. Find someone that will give you command line access on their system
and buy a book - 'Linux For Dummies' or 'Unix For Dummies' as a start
so that you can find your way around.
3. Here's a 3rd. (So, I can't count!) Contact the folks at Akopia.
Their addresses and phone numbers are at the bottom of all of their
messages and contract with them to do a fee-based install for you.
Interchange is NOT easy. For me, the easiest part of Interchange was
getting it installed. If you are having these kids of problems now,
it's only going to get worse.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 26, 2001 at 18:00 PM:
Useless Invention: Reversible garbage disposal.
----------------------------------------------------------------
This Linux System has been up 245 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Tue Jun 26 18:27:00 2001
Subject: [ic] Priority Mail
I'm in the final stages of getting my new store on line.
In working on the back end - the check out, I've come up with this
poser:
I want to add Priority Mail as an option. In looking back over some
messages I've saved, Greg Gaskill wrote that he had gotten it working.
My key question is: Where do I get priority.csv and express.csv?
Once I've got them located, I understand (kinda sorta) how to get them
integrated. (But, any additional hand-holding would be appreciated.)
The secondary question is: In the construct package, how do I get other
shipping methods to appear in the checkout option on the checkout page
(without hard coding them)? What's showing right now is just UPS
Ground, UPS 2nd Day, and UPS Next Day. (And, I've gotten them all up to
date and adding in surcharges.)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 26, 2001 at 18:25 PM:
So simple, a child could do it. (Child sold separately)
----------------------------------------------------------------
This Linux System has been up 245 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Tue Jun 26 19:01:00 2001
Subject: [ic] running the config file?? - NOT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 26 June 2001 05:15 pm, you wrote:
> > > Am I suppose to do this with telnet, I do not have telnet. But I can
> > > get it if I need it.
> >
> > Seriously tho, you do need telnet access to install and configure IC....
> > It's simply waaayyyyy too powerful for anything else.
>
> SSH is also accepted :)
And preferred <g>
Matt
>
> Rene
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7ORcJ/x+6cl2wuPQRAvewAJ0SR8YVkODgtWqWkQaDgxsIVGC0MgCfbe9n
l7iPKyjpC18tAgT23Yx1H98=
=PHED
-----END PGP SIGNATURE-----
From: interchange-users at lists.akopia.com (Russ Mann)
Date: Tue Jun 26 20:18:01 2001
Subject: [ic] SQL update queries in a [perl] tag
Hello List,
I have a form taht sends the variable login_email to another page, with this
code on it. The purpose is to update a persons username, since we encourage
people to use their email addresses as their username.
The problem is my SQL query. I've loaded $sql_req with all the proper query
lines, but can't find a way to execute the query without breaking something.
Any ideas would be great.
Thanks,
Russ
[perl interpolate=1 global=1 tables="userdb ship_addresses transactions
orderline"]
my @tables = (
"userdb",
"ship_addresses",
"transactions",
"orderline"
);
my $sql_req = '';
$login_email = "$Values->{login_email}";
$old_username = "$Session->{username}";
if ($login_email eq $old_username) {
return "<b>$login_email</b> is the same as <b>$old_username</b>. No update
performed.";
} else {
#$sql_isitused = "SELECT username FROM userdb WHERE username =
'$login_email'";
#$Tag->query($sql_isitused, $ATTRHASH, $BODY);
if (!($Tag->data('userdb', 'username', $login_email ))) {
foreach $table(@tables) {
$sql_req .= "UPDATE $table SET username = '$login_email' WHERE username =
'$old_username';\n";
}
#$Tag->query($sql_req, $ATTRHASH, $BODY);
return "
$sql_req<br>
Your login email address has been changed to <b>$login_email</b>. You will
need to
<a href=\"[area login]\">Login</a> again with your new address.
";
} else {
return "<b>$login_email</b> is already in use. If you have more than one
account with us,
please email <a href=\"[area help/contact]\">Customer Service</a> to get
this resolved.";
}
}
[/perl]
From: interchange-users at lists.akopia.com (Bryan Napier)
Date: Tue Jun 26 20:49:00 2001
Subject: [ic] Setting up admin ui with manual installation
I have searched all over the mailing list and documentation and cannot find
out how to setup the administrative back-end to operate with a store that
was created per the instructions in the "Interchange Tutorial". When I try
to access http://localhost/cgi-bin/myhappylittlestore/admin/index all I am
greeted with is a 500 error. Apache's error.log only lists a "Premature end
of script header" and the stores error.log file has nothing written to it.
Am I missing some database files, or configuration options that need to be
set in order to get this to work?
BTW- I can access the construct something admin section without fail, so I
know that my perl config and apache config is cool.
Thanks!
--
Bryan Napier <bnapier@providicom.com>
Solution Developer, MCSD/MCSE/MCP+i
Providicom, LLC <http://www.providicom.com>
From: interchange-users at lists.akopia.com (Christopher VanOosterhout)
Date: Tue Jun 26 22:21:01 2001
Subject: [ic] Defining Product Databases in Another Location
Greetings All,
I know that this is probably a common issue, however I can not find the
correct and full documentation that addresses just what I need.
What I am trying to do, is operate a store using a database that is
located in under another store in our directory structure.
For instance we have a database located at:
/var/lib/interchange/store1/products/products
Now I want to operate store number two off the same database. I see in the
documentation that the I need to include a path to the position in store1
relative to the minivend (Interchange) directory.
So does that mean that I would do enter:
store1/products/products
or
/store1/products/products
Could someone give me a full example of what a product database line would
look like. I know that some are going to say this is documented, and I
know it is .... to an extent. It tells me that it needs to be relative ...
but does not tell me how that should appear (as I asked above), also is it
possible to use a remote source file .... or just relate to a remote
database file.
Christopher Van Oosterhout
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Tue Jun 26 22:27:00 2001
Subject: [ic] Trouble with repeating special page: interact
Quoting Jeff Carnahan (jcarnahan@networq.com):
> I've searched the mailing list archives and documentation and can't find any
> mention of the problem I'm experiencing, nor anything that would help me fix
> it.
>
> I have a SpecialPage directive:
>
> SpecialPage interact special/interact.html
>
> The file special/interact.html contains a proper HTML file that gives the
> user an error report.
>
> On the basket page, if a user sets the quantity of an item to a non-digit,
> (say a letter) and attempts to update their cart, the contents of
> special/interact.html are displayed twice, followed by the basket page again
> (all concatenated into one large HTML document).
>
> The first time interact.html is parsed and included into the resulting page,
> [message] is replaced with "'q' for item 15-1010 is not numeric" (I've set
> the quantity for item 15-1010 to the letter q). The second time
> interact.html is parsed and included, [message] is replaced with:
> "quantities". Finally, the basket page is displayed again.
>
> Note that the basket page sets:
> mv_doit = refresh
> mv_nextpage = @@MV_PAGE@@
>
> This is on IC 4.6.5
>
> Any suggestions about how to prevent this problem from occurring? I only
> want interact.html parsed and returned to the user if they enter invalid
> quantity data.
Hmm. No suggestions for 4.6.x other than to trace the code and find
where it is calling interaction_error() -- I think it needs to return
where it doesn't now. It also needs to return a false value so that you
don't display a page.
We are not putting maintenance effort on anything but show-stoppers on
the 4.6.5 tree at this point, so it is unlikely to be fixed there. 4.7.x
takes the pragmatic approach of just stripping the non-numerics.
--
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 lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 26 23:03:00 2001
Subject: [ic] Defining Product Databases in Another Location
just symlink it. :-)
If you are starting to do cross catalog cross directory things you
will want to keep it simple.
On Tue, Jun 26, 2001 at 10:25:57PM -0400, Christopher VanOosterhout wrote:
>
> Greetings All,
>
> I know that this is probably a common issue, however I can not find the
> correct and full documentation that addresses just what I need.
>
> What I am trying to do, is operate a store using a database that is
> located in under another store in our directory structure.
>
> For instance we have a database located at:
>
> /var/lib/interchange/store1/products/products
>
> Now I want to operate store number two off the same database. I see in the
> documentation that the I need to include a path to the position in store1
> relative to the minivend (Interchange) directory.
>
> So does that mean that I would do enter:
>
> store1/products/products
>
> or
>
> /store1/products/products
>
> Could someone give me a full example of what a product database line would
> look like. I know that some are going to say this is documented, and I
> know it is .... to an extent. It tells me that it needs to be relative ...
> but does not tell me how that should appear (as I asked above), also is it
> possible to use a remote source file .... or just relate to a remote
> database file.
>
> Christopher Van Oosterhout
>
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Tue Jun 26 23:25:00 2001
Subject: [ic] Trouble with repeating special page: interact
On Tue, Jun 26, 2001 at 10:32:31PM -0400, Mike Heins wrote:
> Quoting Jeff Carnahan (jcarnahan@networq.com):
> > I've searched the mailing list archives and documentation and can't find any
> > mention of the problem I'm experiencing, nor anything that would help me fix
> > it.
> >
> > I have a SpecialPage directive:
> >
> > SpecialPage interact special/interact.html
> >
> > The file special/interact.html contains a proper HTML file that gives the
> > user an error report.
> >
> > On the basket page, if a user sets the quantity of an item to a non-digit,
> > (say a letter) and attempts to update their cart, the contents of
> > special/interact.html are displayed twice, followed by the basket page again
> > (all concatenated into one large HTML document).
...
> We are not putting maintenance effort on anything but show-stoppers on
> the 4.6.5 tree at this point, so it is unlikely to be fixed there. 4.7.x
> takes the pragmatic approach of just stripping the non-numerics.
Please correct me if I am wrong, Mike, but it seems to me that much
of the effort in later versions is in templating and UI. There is
an overwhelming, huge similarity between 4.03 and 4.7.3 in the
core session modules.
It would be wonderful if the core modules and the templating/UI could
each march along at their own, separate paces.
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Wed Jun 27 00:53:00 2001
Subject: [ic] Trouble with repeating special page: interact
Quoting cfm@maine.com (cfm@maine.com):
> On Tue, Jun 26, 2001 at 10:32:31PM -0400, Mike Heins wrote:
> > Quoting Jeff Carnahan (jcarnahan@networq.com):
> > > I've searched the mailing list archives and documentation and can't find any
> > > mention of the problem I'm experiencing, nor anything that would help me fix
> > > it.
> > >
> > > I have a SpecialPage directive:
> > >
> > > SpecialPage interact special/interact.html
> > >
> > > The file special/interact.html contains a proper HTML file that gives the
> > > user an error report.
> > >
> > > On the basket page, if a user sets the quantity of an item to a non-digit,
> > > (say a letter) and attempts to update their cart, the contents of
> > > special/interact.html are displayed twice, followed by the basket page again
> > > (all concatenated into one large HTML document).
> ...
>
> > We are not putting maintenance effort on anything but show-stoppers on
> > the 4.6.5 tree at this point, so it is unlikely to be fixed there. 4.7.x
> > takes the pragmatic approach of just stripping the non-numerics.
>
> Please correct me if I am wrong, Mike, but it seems to me that much
> of the effort in later versions is in templating and UI. There is
> an overwhelming, huge similarity between 4.03 and 4.7.3 in the
> core session modules.
No, not at all.
There are, many, many, core changes in 4.7.x. All should be compatible
except where noted in icupgrade(8), but the core code is much
different in that and many areas.
>
> It would be wonderful if the core modules and the templating/UI could
> each march along at their own, separate paces.
>
They do to some extent, but since we are not the most numerous development
team there is not enough resource to do that. Remember, many of the
changes in both introduce some level of instability (or the potential
for it). We don't want to subject the stable tree to that.
In any case, we have to draw the line at maintenance somewhere. Unless
some enterprising soul wants to volunteer.... 8-)
--
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 lists.akopia.com (Jeff Carnahan)
Date: Wed Jun 27 01:31:00 2001
Subject: [ic] Trouble with repeating special page: interact
} Hmm. No suggestions for 4.6.x other than to trace the code and find
} where it is calling interaction_error() -- I think it needs to return
} where it doesn't now. It also needs to return a false value so that you
} don't display a page.
}
Thanks for the reply Mike, it seems update_quantity() in interchange.pl is
calling interaction_error() in this case (in fact, it calls
interaction_error() in all cases where it determines something isn't as it
should be), but its caller (in my case, the refresh sub on line #846) calls
interaction_error() again when it finds update_quantity() didn't work.
Because update_quantity() seems to call interaction_error() where
appropriate, I don't think callers should bother calling interaction_error()
again to report on update_quantity(). interaction_error("quantities") isn't
very informative and isn't necessary if update_quantity() takes care of all
error cases.
Perhaps lines similar to:
update_quantity() or return interaction_error("quantities");
can be replaced by:
update_quantity() or return;
I've tested this on 4.6.5 (at least on the refresh sub) and it appears to
work as desired. I haven't looked at the relevant sections in 4.7.x, so I
don't know if this is applicable to future releases.
} We are not putting maintenance effort on anything but show-stoppers on
} the 4.6.5 tree at this point, so it is unlikely to be fixed there. 4.7.x
} takes the pragmatic approach of just stripping the non-numerics.
This doesn't seem to be working properly. (I'm assuming the Demo store on
developer.akopia.com is running 4.7.x).
If I enter "1a" as the quantity for a ladder:
http://demo.akopia.com/cgi-bin/ic1/os29000.html
and add it to my cart, my cart indicates that I now have "1a" ladders ready
to be purchased. Shouldn't the "a" be stripped here?
Also, I notice that if I update the basket by setting the quantity of an
item to just an alpha, say "a" and hit the recalculate button, the item
disappears. I think it would be better if the item remained in the cart
without any changes to the desired quantity if the user enters an invalid
quantity.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Jeff Carnahan)
Date: Wed Jun 27 02:12:00 2001
Subject: [ic] PREFIX-alternate N doesn't handle nested else's properly...
I've found another issue with IC 4.6.5, concerning the [PREFIX-alternate N]
tag. It doesn't seem to like [if]'s with [else]'s nested within it.
i.e.:
[loop arg="1 2 3 4 5 6 7 8 9 10"]
[loop-alternate 2]
EVEN
[else]
ODD
[/else]
[/loop-alternate]
[/loop]
<P>
[loop arg="1 2 3 4 5 6 7 8 9 10"]
[loop-alternate 2]
[if type="explicit" condition=`[loop-code] < 5`]
EVEN, < 5
[else]
EVEN, > 5
[/else]
[/if]
[else]
ODD
[/else]
[/loop-alternate]
[/loop]
The first example works as it should, however with the second example,
[loop-alternate 2] believes that the [else] .. [/else] block nested within
the [if] tag specifies what to display when an odd number is encountered.
For now, I'm using the following workaround:
[loop arg="1 2 3 4 5 6 7 8 9 10"]
[loop-alternate 2]
[if type="explicit" condition=`[loop-code] < 5`]
EVEN < 5
[elsif type="explicit" condition=`1`]
EVEN > 5
[/elsif]
[/if]
[else]
ODD
[/else]
[/loop-alternate]
[/loop]
I haven't tested to see if 4.7.x suffers from this problem as well.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Tal Hart (TelNET))
Date: Wed Jun 27 03:08:01 2001
Subject: [ic] $0.00 Off Coupon Active [/if] $0.00 Off Coupon Active [/if] appears on Flypage
Whenever i display the Flypage
i get at the top of the content :
$0.00 Off Coupon Active [/if] $0.00 Off Coupon Active [/if]
Any Ideas why it appears ???
tal.
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Wed Jun 27 03:34:01 2001
Subject: [ic] $0.00 Off Coupon Active [/if] $0.00 Off Coupon Active [/if] appears on Flypage
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 27 June 2001 03:14 am, you wrote:
> Whenever i display the Flypage
> i get at the top of the content :
>
> $0.00 Off Coupon Active [/if] $0.00 Off Coupon Active [/if]
>
> Any Ideas why it appears ???
>
> tal.
Just off the top of my head it looks like there is a missing [if] tag and a
duplicate of the statment...... What version are you running?
Matt
>
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7OY8j/x+6cl2wuPQRAtYrAKCjlUeoGugednE+7vZmlb8uSWVSkgCZAW8K
kWeZB9uNfmZgfm2jDNxAfuk=
=mr56
-----END PGP SIGNATURE-----
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Wed Jun 27 05:53:06 2001
Subject: [ic] Priority Mail
I set this up last year. The rates have changed. Here is where they are
http://pe.usps.gov/text/dmm/r100.htm#Xfz79519.
in products:
Add something like this to shipping.asc:
uspspm Priority Mail weight 0 0 e Nothing to ship!
uspspm Priority Mail weight 3 70 u PriorityMail [value
name=zip filter=digits default=01355] 3.20
uspspm Priority Mail weight 70 99999 e Too heavy
Add 'Priority Mail' to the "ZONES" line in your zone file. I don't know
how one is supposed to refer to this file. It's the one that starts with
the first three digits of the origin zip code.
create a file called PriorityMail.csv (this needs the accurate rates):
Exceed,1,2,3,4,5,6,7,8
1,3.20,3.20,3.20,3.20,3.20,3.20,3.20,3.20
2,2.00,2.00,2.00,3.20,3.20,3.20,3.20,3.20
3,4.30,4.30,4.30,4.30,4.30,4.30,4.30,4.30
4,5.40,5.40,5.40,5.40,5.40,5.40,5.40,5.40
5,6.50,6.50,6.50,6.50,6.50,6.50,6.50,6.50
6,6.60,6.60,6.60,6.90,7.10,7.45,7.70,8.25
7,6.70,6.70,6.70,7.30,7.70,8.40,8.90,10.00
8,6.80,6.80,6.80,7.70,8.30,9.35,10.10,11.75
9,6.90,6.90,6.90,8.10,8.90,10.30,11.30,13.50
10,7.00,7.00,7.00,8.50,9.50,11.25,12.50,15.25
11,7.20,7.20,7.20,9.15,10.30,12.20,13.45,16.50
12,7.40,7.40,7.40,9.80,11.05,13.10,14.45,17.80
13,7.75,7.75,7.75,10.40,11.80,14.05,15.50,19.10
14,8.10,8.10,8.10,11.05,12.55,14.95,16.50,20.40
15,8.50,8.50,8.50,11.70,13.30,15.85,17.50,21.70
16,8.85,8.85,8.85,12.30,14.00,16.75,18.55,23.00
17,9.20,9.20,9.20,12.95,14.75,17.70,19.55,24.30
18,9.60,9.60,9.60,13.60,15.50,18.60,20.60,25.60
19,9.95,9.95,9.95,14.20,16.25,19.50,21.60,26.95
20,10.35,10.35,10.35,14.85,17.00,20.40,22.65,28.20
21,10.70,10.70,10.70,15.50,17.70,21.35,23.65,29.45
22,11.05,11.05,11.05,16.15,18.45,22.25,24.70,30.65
23,11.45,11.45,11.45,16.75,19.20,23.15,25.70,31.85
24,11.75,11.75,11.75,17.40,19.95,24.05,26.70,33.05
25,12.15,12.15,12.15,18.05,20.70,25.00,27.75,34.35
26,12.55,12.55,12.55,18.65,21.40,25.90,28.75,35.55
27,12.90,12.90,12.90,19.30,22.15,26.80,29.80,36.75
28,13.25,13.25,13.25,19.95,22.90,27.70,30.80,37.95
29,13.65,13.65,13.65,20.55,23.65,28.60,31.85,39.15
30,14.00,14.00,14.00,21.20,24.40,29.55,32.85,40.35
31,14.35,14.35,14.35,21.85,25.10,30.45,33.90,41.55
32,14.75,14.75,14.75,22.45,25.85,31.35,34.90,42.80
33,15.10,15.10,15.10,23.10,26.60,32.25,35.95,44.00
34,15.45,15.45,15.45,23.70,27.35,33.15,36.95,45.20
35,15.80,15.80,15.80,24.35,28.10,34.10,37.95,46.40
36,16.20,16.20,16.20,25.00,28.80,35.00,39.00,47.60
37,16.60,16.60,16.60,25.65,29.55,35.90,40.00,48.80
38,16.90,16.90,16.90,26.25,30.30,36.85,41.05,50.05
39,17.30,17.30,17.30,26.90,31.05,37.75,42.05,51.25
40,17.70,17.70,17.70,27.55,31.80,38.65,43.10,52.45
41,18.00,18.00,18.00,28.15,32.50,39.55,44.10,53.65
42,18.40,18.40,18.40,28.80,33.25,40.45,45.15,54.85
43,18.80,18.80,18.80,29.45,34.00,41.40,46.15,56.10
44,19.15,19.15,19.15,30.05,34.75,42.30,47.20,57.35
45,19.50,19.50,19.50,30.70,35.50,43.20,48.20,58.55
46,19.85,19.85,19.85,31.35,36.20,44.10,49.20,59.75
47,20.25,20.25,20.25,31.95,36.95,45.05,50.25,60.95
48,20.60,20.60,20.60,32.60,37.70,45.95,51.25,62.15
49,20.95,20.95,20.95,33.25,38.45,46.85,52.30,63.35
50,21.35,21.35,21.35,33.85,39.20,47.75,53.30,64.55
51,21.70,21.70,21.70,34.50,39.90,48.65,54.25,65.80
52,22.05,22.05,22.05,35.15,40.65,49.60,55.30,67.00
53,22.45,22.45,22.45,35.75,41.40,50.50,56.25,68.20
54,22.80,22.80,22.80,36.40,42.15,51.40,57.25,69.40
55,23.15,23.15,23.15,37.05,42.90,52.30,58.20,70.60
56,23.55,23.55,23.55,37.65,43.60,53.25,59.20,71.80
57,23.90,23.90,23.90,38.30,44.35,54.15,60.20,73.05
58,24.25,24.25,24.25,38.95,45.10,55.05,61.15,74.25
59,24.65,24.65,24.65,39.55,45.85,55.95,62.20,75.45
60,25.00,25.00,25.00,40.20,46.60,56.90,63.15,76.65
61,25.35,25.35,25.35,40.85,47.30,57.80,64.15,77.90
62,25.75,25.75,25.75,41.45,48.05,58.70,65.10,79.10
63,26.10,26.10,26.10,42.10,48.80,59.60,66.10,80.35
64,26.50,26.50,26.50,42.75,49.55,60.55,67.10,81.55
65,26.85,26.85,26.85,43.35,50.25,61.45,68.05,82.75
66,27.20,27.20,27.20,44.00,51.00,62.35,69.10,83.95
67,27.60,27.60,27.60,44.65,51.75,63.25,70.05,85.15
68,27.95,27.95,27.95,45.25,52.50,64.15,71.00,86.35
69,28.30,28.30,28.30,45.90,53.25,65.10,72.05,87.55
70,28.70,28.70,28.70,46.55,53.95,66.00,73.00,88.80
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
Jim Balcom <jim@idk-enterprises.com>
Sent by: interchange-users-admin@developer.akopia.com
06/26/2001 06:33 PM
Please respond to interchange-users
To: interchange-users@developer.akopia.com
cc:
Subject: [ic] Priority Mail
I'm in the final stages of getting my new store on line.
In working on the back end - the check out, I've come up with this
poser:
I want to add Priority Mail as an option. In looking back over some
messages I've saved, Greg Gaskill wrote that he had gotten it working.
My key question is: Where do I get priority.csv and express.csv?
Once I've got them located, I understand (kinda sorta) how to get them
integrated. (But, any additional hand-holding would be appreciated.)
The secondary question is: In the construct package, how do I get other
shipping methods to appear in the checkout option on the checkout page
(without hard coding them)? What's showing right now is just UPS
Ground, UPS 2nd Day, and UPS Next Day. (And, I've gotten them all up to
date and adding in surcharges.)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Tuesday, June 26, 2001 at 18:25 PM:
So simple, a child could do it. (Child sold separately)
----------------------------------------------------------------
This Linux System has been up 245 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Wed Jun 27 07:05:00 2001
Subject: [ic] [ic]Locale problem
Hi,
I'm trying to change locale based on language.
It works, but i would like to return the visitor to the same page when he
changes language.
I tried <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]">, but
@@MV_PAGE@@ is blank.
Some knows the way to solve the problem?
Thanks Stefano
From: interchange-users at lists.akopia.com (Rick Shank)
Date: Wed Jun 27 09:24:00 2001
Subject: [ic] Order problem? "Limit subroutine creation"
Hi guys,
I get a problem if someone trys to order a tshirt from my catalog. The
shirts have 2 sizes. Now if they order anything else, there's no issue.
But if they have the tshirt in their cart (M or XL, shows up in the cart
as a drop down) They get the message:
There were errors in your last submission.
They are shown in RED below.
Nothing is in red. Without these items, there seems to be no problem.
I'm looked in the catalog error.log, and only find this: Limit subroutine
creation.
Thanks a ton for ideas on where to go from here.
~Rick Shank
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Wed Jun 27 10:52:00 2001
Subject: [ic] PREFIX-alternate N doesn't handle nested else's properly...
Quoting Jeff Carnahan (jcarnahan@networq.com):
> I've found another issue with IC 4.6.5, concerning the [PREFIX-alternate N]
> tag. It doesn't seem to like [if]'s with [else]'s nested within it.
>
> i.e.:
>
> [loop arg="1 2 3 4 5 6 7 8 9 10"]
> [loop-alternate 2]
> EVEN
> [else]
> ODD
> [/else]
> [/loop-alternate]
> [/loop]
>
> <P>
>
> [loop arg="1 2 3 4 5 6 7 8 9 10"]
> [loop-alternate 2]
> [if type="explicit" condition=`[loop-code] < 5`]
> EVEN, < 5
> [else]
> EVEN, > 5
> [/else]
> [/if]
> [else]
> ODD
> [/else]
> [/loop-alternate]
> [/loop]
>
> The first example works as it should, however with the second example,
> [loop-alternate 2] believes that the [else] .. [/else] block nested within
> the [if] tag specifies what to display when an odd number is encountered.
>
This affects 4.7.x as well. I think it can be described as a bug now -- before
4.7.x it was simply another example of poor ITL [else] parsing. Since [if ...]
doesn't have problems any more, we can look at some of these other cases.
--
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 lists.akopia.com (Mike Heins)
Date: Wed Jun 27 11:16:00 2001
Subject: [ic] PREFIX-alternate N doesn't handle nested else's properly...
Quoting Mike Heins (mikeh@minivend.com):
> > [loop arg="1 2 3 4 5 6 7 8 9 10"]
> > [loop-alternate 2]
> > [if type="explicit" condition=`[loop-code] < 5`]
> > EVEN, < 5
> > [else]
> > EVEN, > 5
> > [/else]
> > [/if]
> > [else]
> > ODD
> > [/else]
> > [/loop-alternate]
> > [/loop]
> >
> > The first example works as it should, however with the second example,
> > [loop-alternate 2] believes that the [else] .. [/else] block nested within
> > the [if] tag specifies what to display when an odd number is encountered.
> >
>
> This affects 4.7.x as well. I think it can be described as a bug now -- before
> 4.7.x it was simply another example of poor ITL [else] parsing. Since [if ...]
> doesn't have problems any more, we can look at some of these other cases.
>
I was wrong -- 4.7.5 handles it just fine. I guess the improved [else] ...
handling really is. 8-)
--
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 lists.akopia.com (Jim Toro)
Date: Wed Jun 27 11:30:03 2001
Subject: [ic] Specific items sequence number in basket
When doing a [item-list] loop I know how to get the number of items, the
items code and other things but how do I get the number of the item in the
basket. What I mean is that there are 6 items ordered, as the [item-list]
loop occurs I want to create variables and attach the numeric value of the
items sequence (not item code) in the basket. For instance the fifth
item in the basket is a wrench. I want to be able to say "This is item #5
in your basket" and then use some method so that within the loop I can
create variables adding the item sequence number to the variable name
and then use it later in the website for referencing or putting into
another database.
Is there a [item] tag or something that will produce the items sequence in
the basket as the loop occurs ??.
Thanks.
From: interchange-users at lists.akopia.com (Jim Toro)
Date: Wed Jun 27 16:06:03 2001
Subject: [ic] Specific items sequence number in basket
When doing a [item-list] loop I know how to get the number of items, the
items code and other things but how do I get the number of the item in the
basket. What I mean is that there are 6 items ordered, as the [item-list]
loop occurs I want to create variables and attach the numeric value of the
items sequence (not item code) in the basket. For instance the fifth
item in the basket is a wrench. I want to be able to say "This is item #5
in your basket" and then use some method so that within the loop I can
create variables adding the item sequence number to the variable name
and then use it later in the website for referencing or putting into
another database.
Is there a [item] tag or something that will produce the items sequence in
the basket as the loop occurs ??.
Thanks.
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 27 16:07:58 2001
Subject: [ic] developer.akopia.com offline
Looks like the server is offline, failed to ping from CA and MD:
Pinging developer.akopia.com [204.242.142.202] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 204.242.142.202:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
his.com ping Gateway
Ping Output
FROM www.his.com TO developer.akopia.com.
PING developer.akopia.com (204.242.142.202): 56 data bytes
--- developer.akopia.com ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
===============================================================
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 lists.akopia.com (Ed LaFrance)
Date: Wed Jun 27 16:08:31 2001
Subject: [ic] Defining Product Databases in Another Location
At 11:09 PM 06/26/2001 -0400, you wrote:
>just symlink it. :-)
>
>If you are starting to do cross catalog cross directory things you
>will want to keep it simple.
According to the docs, you can also define a 'Global' database in
interchange.cfg, which will be available to all catalogs served by the IC
installation. I have never tried it, and there are no working examples in
the docs that I can find, and no mention of the default location of the
source text files for databases of this kind, etc. Perhaps someone else on
the list has actually done it and can provide some details.
- Ed L.
>On Tue, Jun 26, 2001 at 10:25:57PM -0400, Christopher VanOosterhout wrote:
> >
> > Greetings All,
> >
> > I know that this is probably a common issue, however I can not find the
> > correct and full documentation that addresses just what I need.
> >
> > What I am trying to do, is operate a store using a database that is
> > located in under another store in our directory structure.
> >
> > For instance we have a database located at:
> >
> > /var/lib/interchange/store1/products/products
> >
> > Now I want to operate store number two off the same database. I see in
> the
> > documentation that the I need to include a path to the position in store1
> > relative to the minivend (Interchange) directory.
> >
> > So does that mean that I would do enter:
> >
> > store1/products/products
> >
> > or
> >
> > /store1/products/products
> >
> > Could someone give me a full example of what a product database line would
> > look like. I know that some are going to say this is documented, and I
> > know it is .... to an extent. It tells me that it needs to be relative
> ...
> > but does not tell me how that should appear (as I asked above), also is it
> > possible to use a remote source file .... or just relate to a remote
> > database file.
> >
> > Christopher Van Oosterhout
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
>--
>
>Christopher F. Miller, Publisher cfm@maine.com
>MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
>1.207.657.5078 http://www.maine.com/
>Content management, electronic commerce, internet integration, Debian linux
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
===============================================================
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 lists.akopia.com (Ron Phipps)
Date: Wed Jun 27 16:11:33 2001
Subject: [ic] Change the price on the fly, without CommonAdjust
Hello list,
I've been reading the documentation for CommonAdjust that was posted by Mike
here:
http://developer2.akopia.com/archive/interchange-users/2001/msg03850.html
It appears that CommonAdjust is based off of values in the pricing table and
fields in the product database. However for the project that I'm working on
does not seem to fit this mold. I'll first explain the situation.
The code I have now generates a case order form based on records both in the
products table and support tables I have designed for the case modifiers.
Each part of the case can be customized with a different anodized color. If
the user selects a color already in the list they are not charged extra for
these colors. However if they select 'Custom Color' they are charged $15.00
for each additional color. If they select Custom Color for 10 parts and the
custom color they would like is the same for all 10 parts then they are only
charged $15.00 (since the anodizing is done in a batch) not $150.00. Each
part is a modifier to the case (the case is one product sku) and each part
also has a modifier for the color.
I already have the code that determines the price of the case and what I
would like to do is set the price of the case for that particular item in
the cart. All of the mailing lists items I looked through (516) talked
about using CommonAdjust but in those case it was only one level of
modifiers (size, color, etc..) and in this case it is two levels (a modifier
of a modifier). Is it possible to use perl to change the price for a
certain cart item after it is added to the cart? Is it possible to change
the price before it's added to the cart? If I change the price of the item
will the other subtotal and total fields work properly?
Thanks for your help!
Ron Phipps
From: interchange-users at lists.akopia.com (Larry Caragay)
Date: Wed Jun 27 16:13:03 2001
Subject: [ic] installation problems on Solaris 8
When I try to install Mysql on Solaris 8 I get the error.
bash-2.03# scripts/mysql_install_db
bash-2.03# chown -R mysql /usr/local/mysql
bash-2.03# chgrp -R mysql /usr/local/mysql
bash-2.03# bin/safe_mysqld --user-mysql &
[1] 3291
bash-2.03# Starting mysqld daemon with databases from
/usr/local/mysql-3.23.39-pc-solaris2.8-i386/data
Segmentation Fault - core dumped
010627 13:06:32 mysqld ended
is there something that Iam missing???
Thanks in advance..
Larry Caragay
larry@compwebtech.com
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Wed Jun 27 16:23:00 2001
Subject: [ic] developer.akopia.com offline
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It's fine from MS......
PING developer.akopia.com (204.242.142.202) from 209.205.134.200 : 56(84)
bytes of data.
64 bytes from 204.242.142.202: icmp_seq=0 ttl=241 time=267.676 msec
64 bytes from 204.242.142.202: icmp_seq=1 ttl=241 time=259.558 msec
64 bytes from 204.242.142.202: icmp_seq=2 ttl=241 time=239.273 msec
- --- developer.akopia.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/mdev = 239.273/255.502/267.676/11.951 ms
There have been some wierd going-ons in WWW land today..... One of
Sprintnet's routers was either under DOS or just plain malfunctioning from
abour 3:30am to 11:30 which left me scr*wed today..... I have noticed some
very wierd latencies at different sites also.....
Things that make ya go hmmmmmmm......
Matt
On Wednesday 27 June 2001 10:38 am, you wrote:
> Looks like the server is offline, failed to ping from CA and MD:
>
> Pinging developer.akopia.com [204.242.142.202] with 32 bytes of data:
>
> Request timed out.
> Request timed out.
> Request timed out.
> Request timed out.
>
> Ping statistics for 204.242.142.202:
> Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
> Approximate round trip times in milli-seconds:
> Minimum = 0ms, Maximum = 0ms, Average = 0ms
>
>
> his.com ping Gateway
>
> Ping Output
> FROM www.his.com TO developer.akopia.com.
>
> PING developer.akopia.com (204.242.142.202): 56 data bytes
>
> --- developer.akopia.com ping statistics ---
> 5 packets transmitted, 0 packets received, 100% packet loss
>
>
>
>
>
> ===============================================================
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7OkHw/x+6cl2wuPQRAiAgAKC0ptLp166LTu6b0mTsyoJtbfuqYwCfTQMV
mBMGQiAVd78q7TpBGoVeQ1A=
=Wjk+
-----END PGP SIGNATURE-----
From: interchange-users at lists.akopia.com (MITECH Trading)
Date: Wed Jun 27 16:33:01 2001
Subject: [ic] Any Pro installers out there?
I am about to give up installing it. I tried many times now and every time I
get the "We're sorry, the Interchange server is unavailable..." message.
Sometimes I can enter the admin logon or follow 1 link from the store, but
thats as far as I have got it. I have read tons of suggestions in the old
emails from this list, and tried to follow most of them, but I can't get
further.
Anyway, I have searched for shopping carts the last 2 weeks and I always end
up with Interchange as the only cart that cover my needs.
My site is on a shared UNIX server with www.pair.com
I would like to hear if there are anyone out there, offering installation of
Interchange. Just with the basic "construct" installation. I will take it
from there.
Please email your offer to mm@mitechtrading.com
Best regards
Michael Michaelsen
www.mitechtrading.com
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Wed Jun 27 16:52:01 2001
Subject: [ic] Priority Mail
On Wed, 27 Jun 2001 bill@worldwideimpact.com wrote:
>>I set this up last year. The rates have changed. Here is where they are
>>http://pe.usps.gov/text/dmm/r100.htm#Xfz79519.
Padded them a bit when you entered them, too, I see. :-)
That was beautiful! Thank you for all of this data! Today I got
Priority Mail and Express Mail all set up in the store and working just
beautifully. Now customers can see their actual shipping costs, costs
that are based on weight and depending on how far away they are. And,
THAT was the whole purpose of my switching to Interchange!
IT WORKS!
The new Priority Mail rates that go into effect on Sunday appear to be
about a 14% increase over todays rates. Rather than to take the time
right now to enter in all of the new rates, I took yours and I'm adding
a 25% surcharge, using a formula that was posted here a while back, to
cover the added costs of shipping (boxes, tape, plastic bags and other
packaging.)
Thanks for your help! Send me a bill!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, June 27, 2001 at 16:45 PM:
People are more than fun than anybody.
----------------------------------------------------------------
This Linux System has been up 268 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 27 17:01:01 2001
Subject: [ic] Change the price on the fly, without CommonAdjust
At 10:02 AM 06/27/2001 -0700, you wrote:
>Hello list,
>
>I've been reading the documentation for CommonAdjust that was posted by Mike
>here:
>
>http://developer2.akopia.com/archive/interchange-users/2001/msg03850.html
>
>It appears that CommonAdjust is based off of values in the pricing table and
>fields in the product database. However for the project that I'm working on
>does not seem to fit this mold. I'll first explain the situation.
>
>The code I have now generates a case order form based on records both in the
>products table and support tables I have designed for the case modifiers.
>Each part of the case can be customized with a different anodized color. If
>the user selects a color already in the list they are not charged extra for
>these colors. However if they select 'Custom Color' they are charged $15.00
>for each additional color. If they select Custom Color for 10 parts and the
>custom color they would like is the same for all 10 parts then they are only
>charged $15.00 (since the anodizing is done in a batch) not $150.00. Each
>part is a modifier to the case (the case is one product sku) and each part
>also has a modifier for the color.
>
>I already have the code that determines the price of the case and what I
>would like to do is set the price of the case for that particular item in
>the cart. All of the mailing lists items I looked through (516) talked
>about using CommonAdjust but in those case it was only one level of
>modifiers (size, color, etc..) and in this case it is two levels (a modifier
>of a modifier). Is it possible to use perl to change the price for a
>certain cart item after it is added to the cart? Is it possible to change
>the price before it's added to the cart? If I change the price of the item
>will the other subtotal and total fields work properly?
>
>Thanks for your help!
>Ron Phipps
Ron -
Commonadjust is still the best entry point into the pricing scheme, in my
opinion. Something which is mentioned briefly in the docs, but not well
illustrated, that that IC tags can be part of the CommonAdjust string,
which opens the door to employing UserTags to figure pricing. This is
probably the most effective way of doing complex pricing, since you can
evaluate just about any mixture of database and session data to arrive at a
final price. Mike Heins posted a very nice example a couple weeks ago - it
didn't pop up in a search of the mail archives, but I kept a copy - here it
is, out of context unfortunately, because I don't have the whole thread:
In this case, it is because the current item is available as the
variable $item, the current subtotal is available as $s, and the
current pricing quantity is available as $q.
So you can have a sub like:
UserTag my-adjust Routine <<EOS
sub {
my $code = $item->{code};
# Could read this from a DB
my @look_at = qw/color size/;
my $adjust = 0;
foreach my $opt (@look_at) {
my $opt_val = $item->{$opt}
or next;
my $field_name = $opt . "_price";
my $price_data = tag_data('pricing', $field_name, $code)
or next;
# Works with XL=2, S=-1, L=.50 or the like
my %price_hash = split /\s*[=,]\s*/, $price_data;
next if $price_hash{$opt_val} == 0;
$adjust += $price_hash{$opt_val};
}
return $adjust;
}
EOF
So there should be no trouble adding "[my-adjust]" as an atom to
CommonAdjust and doing your routines. (This particular one won't work
with percentages, but you could easily return a "10%" number from a
routine.)
>
> In order for this to work AFAIK, any UserTag would have to be able to plug
> into the main pricing routines so that any arbitrary fields could make
> changes to the price, correct? Is this a matter of adding a UserTag,
> twiddling some hash values inside it, and adding an extra call in the
> checkout stuff?
Nope. Your UserTag needs to return an atom like -10 or 25 or -8%, which
will adjust the price as a part of CommonAdjust.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
This answer sponsored by the Society to End Lazy Windows Top-Quoting Style.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.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 lists.akopia.com (Jim Balcom)
Date: Wed Jun 27 17:02:00 2001
Subject: [ic] Any Pro installers out there?
On Wed, 27 Jun 2001, MITECH Trading wrote:
MT>>Anyway, I have searched for shopping carts the last 2 weeks and I always end
MT>>up with Interchange as the only cart that cover my needs.
Have you looked at Rich Carey's commerce.cgi? I've been using it quite
successfully for a couple of years. I am changing only for the zone
based shipping. IC adds a couple of nice features for me in the process
- allowing customers to log in and putting up items for impulse buying.
But, if commerce.cgi had zone based shipping I would not change for the
various added features.
Rich's program is an upgrade for someone elses MAJOR effort and it
works well, and it is easy to understand and deal with. I've modified
the Hell out of mine.
If you are determined to use IC for it's various features, I strongly
recommend contracting with Akopia for Tech Support. I bought a block of
time from them, and I've only used it once. THe response that I got back
was outstanding, very complete, and covered some other unasked
questions that I had. I bought QuickBooks for about $150, and the only
manuals, the only tech support is per-minute fee-based. So, paying a
reasonable amount for Tech Support on free software seems quite
reasonable to me!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, June 27, 2001 at 16:55 PM:
Don't steal. The government hates competition.
----------------------------------------------------------------
This Linux System has been up 268 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Wed Jun 27 17:07:01 2001
Subject: [ic] developer.akopia.com offline
At 03:28 PM 06/27/2001 -0500, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>It's fine from MS......
>
>PING developer.akopia.com (204.242.142.202) from 209.205.134.200 : 56(84)
>bytes of data.
>64 bytes from 204.242.142.202: icmp_seq=0 ttl=241 time=267.676 msec
>64 bytes from 204.242.142.202: icmp_seq=1 ttl=241 time=259.558 msec
>64 bytes from 204.242.142.202: icmp_seq=2 ttl=241 time=239.273 msec
>
>- --- developer.akopia.com ping statistics ---
>3 packets transmitted, 3 packets received, 0% packet loss
>round-trip min/avg/max/mdev = 239.273/255.502/267.676/11.951 ms
>
>There have been some wierd going-ons in WWW land today..... One of
>Sprintnet's routers was either under DOS or just plain malfunctioning from
>abour 3:30am to 11:30 which left me scr*wed today..... I have noticed some
>very wierd latencies at different sites also.....
>
>Things that make ya go hmmmmmmm......
>
>Matt
...and yesterday: usps.com was unreachable all that day and part of today,
google.com was in and out all day, and I usually ping and trace from
multiple points to rule out problems with my ISP. Sprint's network is a
frequent source of trouble for me.
WRT my earlier post, it *was* relevant when I posted it .... 6 hours
ago. I don't know why it took so long to hit the list - perhaps (Sprint)
network difficulties...
- Ed L.
>On Wednesday 27 June 2001 10:38 am, you wrote:
> > Looks like the server is offline, failed to ping from CA and MD:
> >
> > Pinging developer.akopia.com [204.242.142.202] with 32 bytes of data:
> >
> > Request timed out.
> > Request timed out.
> > Request timed out.
> > Request timed out.
> >
> > Ping statistics for 204.242.142.202:
> > Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
> > Approximate round trip times in milli-seconds:
> > Minimum = 0ms, Maximum = 0ms, Average = 0ms
> >
> >
> > his.com ping Gateway
> >
> > Ping Output
> > FROM www.his.com TO developer.akopia.com.
> >
> > PING developer.akopia.com (204.242.142.202): 56 data bytes
> >
> > --- developer.akopia.com ping statistics ---
> > 5 packets transmitted, 0 packets received, 100% packet loss
> >
> >
> >
> >
> >
> > ===============================================================
> > 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@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE7OkHw/x+6cl2wuPQRAiAgAKC0ptLp166LTu6b0mTsyoJtbfuqYwCfTQMV
>mBMGQiAVd78q7TpBGoVeQ1A=
>=Wjk+
>-----END PGP SIGNATURE-----
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Mike Heins)
Date: Wed Jun 27 17:22:01 2001
Subject: [ic] Change the price on the fly, without CommonAdjust
Quoting Ron Phipps (takedown@cdsnet.net):
> Hello list,
>
> I've been reading the documentation for CommonAdjust that was posted by Mike
> here:
>
> http://developer2.akopia.com/archive/interchange-users/2001/msg03850.html
>
> It appears that CommonAdjust is based off of values in the pricing table and
> fields in the product database. However for the project that I'm working on
> does not seem to fit this mold. I'll first explain the situation.
>
> The code I have now generates a case order form based on records both in the
> products table and support tables I have designed for the case modifiers.
> Each part of the case can be customized with a different anodized color. If
> the user selects a color already in the list they are not charged extra for
> these colors. However if they select 'Custom Color' they are charged $15.00
> for each additional color. If they select Custom Color for 10 parts and the
> custom color they would like is the same for all 10 parts then they are only
> charged $15.00 (since the anodizing is done in a batch) not $150.00. Each
> part is a modifier to the case (the case is one product sku) and each part
> also has a modifier for the color.
I don't see why putting a UserTag in CommonAdjust wouldn't work here.
You have all item attributes available in $item -- I have posted UserTag
access examples many times.
>
> I already have the code that determines the price of the case and what I
> would like to do is set the price of the case for that particular item in
> the cart. All of the mailing lists items I looked through (516) talked
> about using CommonAdjust but in those case it was only one level of
> modifiers (size, color, etc..) and in this case it is two levels (a modifier
> of a modifier). Is it possible to use perl to change the price for a
> certain cart item after it is added to the cart? Is it possible to change
> the price before it's added to the cart? If I change the price of the item
> will the other subtotal and total fields work properly?
You can always set the mv_price attribute in the item:
[perl]
foreach my $item (@$Items) {
# All items are $5.00 in this store!
$item->{mv_price} = 5;
}
return;
[/perl]
To use mv_price, you need to have an atom which is $ (or begins with $).
CommonAdjust $ ;pricing:price_group,q2,q5,q10:, ;:price, ==options
will work this way. And of course it does work with all of the subtotals
and such, just as all standard methods do.
--
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 lists.akopia.com (Ron Phipps)
Date: Wed Jun 27 17:24:00 2001
Subject: [ic] developer.akopia.com offline
> WRT my earlier post, it *was* relevant when I posted it .... 6 hours
> ago. I don't know why it took so long to hit the list - perhaps (Sprint)
> network difficulties...
>
> - Ed L.
Ed,
I had sent a message to the list late last night as well and it didn't show
up until this afternoon, I resent the message this morning and it still has
not shown up. Looks like the internet is having a bad day. Hope yours is
better :)
-Ron
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Wed Jun 27 17:25:01 2001
Subject: [ic] developer.akopia.com offline
On Wednesday 27 June 2001 04:08 pm, you wrote:
> At 03:28 PM 06/27/2001 -0500, you wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >It's fine from MS......
> >
> >PING developer.akopia.com (204.242.142.202) from 209.205.134.200 : 56(84)
> >bytes of data.
> >64 bytes from 204.242.142.202: icmp_seq=0 ttl=241 time=267.676 msec
> >64 bytes from 204.242.142.202: icmp_seq=1 ttl=241 time=259.558 msec
> >64 bytes from 204.242.142.202: icmp_seq=2 ttl=241 time=239.273 msec
> >
> >- --- developer.akopia.com ping statistics ---
> >3 packets transmitted, 3 packets received, 0% packet loss
> >round-trip min/avg/max/mdev = 239.273/255.502/267.676/11.951 ms
> >
> >There have been some wierd going-ons in WWW land today..... One of
> >Sprintnet's routers was either under DOS or just plain malfunctioning from
> >abour 3:30am to 11:30 which left me scr*wed today..... I have noticed
> > some very wierd latencies at different sites also.....
> >
> >Things that make ya go hmmmmmmm......
> >
> >Matt
>
> ...and yesterday: usps.com was unreachable all that day and part of today,
> google.com was in and out all day, and I usually ping and trace from
> multiple points to rule out problems with my ISP. Sprint's network is a
> frequent source of trouble for me.
>
> WRT my earlier post, it *was* relevant when I posted it .... 6 hours
> ago. I don't know why it took so long to hit the list - perhaps (Sprint)
> network difficulties...
>
> - Ed L.
Yea... I noticed the time you wrote the email after I replied.... Gotta love
these 'script kiddies' and their new toys. Makes life interesting for those
of us *trying* to make a living and 'geekin' around on the net..... <g>
BTW, it took me over an hour to get a straight answer from the folks at
Sprintnet.... The first guy I talked to told me there was no problem,
nevermind the facts....
Matt
> >On Wednesday 27 June 2001 10:38 am, you wrote:
> > > Looks like the server is offline, failed to ping from CA and MD:
> > >
> > > Pinging developer.akopia.com [204.242.142.202] with 32 bytes of data:
> > >
> > > Request timed out.
> > > Request timed out.
> > > Request timed out.
> > > Request timed out.
> > >
> > > Ping statistics for 204.242.142.202:
> > > Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
> > > Approximate round trip times in milli-seconds:
> > > Minimum = 0ms, Maximum = 0ms, Average = 0ms
> > >
> > >
> > > his.com ping Gateway
> > >
> > > Ping Output
> > > FROM www.his.com TO developer.akopia.com.
> > >
> > > PING developer.akopia.com (204.242.142.202): 56 data bytes
> > >
> > > --- developer.akopia.com ping statistics ---
> > > 5 packets transmitted, 0 packets received, 100% packet loss
> > >
> > >
> > >
> > >
> > >
> > > ===============================================================
> > > 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@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.0.6 (GNU/Linux)
> >Comment: For info see http://www.gnupg.org
> >
> >iD8DBQE7OkHw/x+6cl2wuPQRAiAgAKC0ptLp166LTu6b0mTsyoJtbfuqYwCfTQMV
> >mBMGQiAVd78q7TpBGoVeQ1A=
> >=Wjk+
> >-----END PGP SIGNATURE-----
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ron Phipps)
Date: Wed Jun 27 17:38:00 2001
Subject: [ic] Change the price on the fly, without CommonAdjust
> Commonadjust is still the best entry point into the pricing scheme, in my
> opinion. Something which is mentioned briefly in the docs, but not well
> illustrated, that that IC tags can be part of the CommonAdjust string,
> which opens the door to employing UserTags to figure pricing. This is
> probably the most effective way of doing complex pricing, since you can
> evaluate just about any mixture of database and session data to arrive at
a
> final price. Mike Heins posted a very nice example a couple weeks ago -
it
> didn't pop up in a search of the mail archives, but I kept a copy - here
it
> is, out of context unfortunately, because I don't have the whole thread:
Thanks Ed, this thread passed me by as well. I'll check my local archive to
see if I can find the complete context, I appreciate you pointing me in this
direction. It sounds like using a UserTag that determines the price and
returns it to CommonAdjust is the way to go.
Have a good one,
-Ron
From: interchange-users at lists.akopia.com (Ron Phipps)
Date: Wed Jun 27 17:45:01 2001
Subject: [ic] Change the price on the fly, without CommonAdjust
> I don't see why putting a UserTag in CommonAdjust wouldn't work here.
> You have all item attributes available in $item -- I have posted UserTag
> access examples many times.
It may have been the search phrase that I used that did not pick up those
postings. Thank you for posting again, this will go in my bag of tricks.
> > I already have the code that determines the price of the case and what I
> > would like to do is set the price of the case for that particular item
in
> > the cart. All of the mailing lists items I looked through (516) talked
> > about using CommonAdjust but in those case it was only one level of
> > modifiers (size, color, etc..) and in this case it is two levels (a
modifier
> > of a modifier). Is it possible to use perl to change the price for a
> > certain cart item after it is added to the cart? Is it possible to
change
> > the price before it's added to the cart? If I change the price of the
item
> > will the other subtotal and total fields work properly?
>
> You can always set the mv_price attribute in the item:
>
> [perl]
> foreach my $item (@$Items) {
> # All items are $5.00 in this store!
> $item->{mv_price} = 5;
> }
> return;
> [/perl]
That is what I was looking for, does this assume the item has already been
added to the cart and @$Items is all of the items in the cart?
> To use mv_price, you need to have an atom which is $ (or begins with $).
>
> CommonAdjust $ ;pricing:price_group,q2,q5,q10:, ;:price, ==options
>
> will work this way. And of course it does work with all of the subtotals
> and such, just as all standard methods do.
I will give this a try, it appears that using a usertag and passing the
results to CommonAdjust is the way to go. I'll use the same approach to
change the description as well so that this item can use the existing
receipt and basket pages without adding additional fields.
Thank you,
-Ron
From: interchange-users at lists.akopia.com (Larry Caragay)
Date: Wed Jun 27 17:46:02 2001
Subject: [ic] Installation of DB on Solaris 8
What is the best DB eg; mysql, oracle, or what ever?? would be the best to
use with interchange???
Thanks in advance,
Larry@compwebtech.com
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Wed Jun 27 17:54:00 2001
Subject: [ic] Change the price on the fly, without CommonAdjust
On Wed, 27 Jun 2001, Ron Phipps wrote:
RP>>Thanks Ed, this thread passed me by as well. I'll check my local archive to
RP>>see if I can find the complete context, I appreciate you pointing me in this
RP>>direction. It sounds like using a UserTag that determines the price and
RP>>returns it to CommonAdjust is the way to go.
I captured most of it....
Actually, there is more detailed documentation. I have edited this to
reflect current reality, and offer:
=head2 Chained Pricing
A flexible chained pricing scheme is available when the I<CommonAdjust>
directive is set.
We talk below about a I<CommonAdjust string>; it will be defined
in due time.
NOTE: while we call the field C<common_adjust> below, usually PriceField
is set to C<no_price> in the Interchange demos.
A few rules about CommonAdjust, all assuming the I<PriceField> directive
is set to C<common_adjust>:
=over 4
=item 1
If C<CommonAdjust> is set to any value, a valid I<CommonAdjust string> or
not, extended price adjustments are enabled. It may and often does hold the
default pricing scheme.
=item 2
The C<common_adjust> field may also hold a I<CommonAdjust string>. It takes
precedence over the default.
=item 3
If the value of the C<CommonAdjust> directive is set to a CommonAdjust
string, and the C<common_adjust> field is empty or specifically I<0>, then it
will be used to set the price of the items.
=item 4
If no CommonAdjust strings are found, then the price will be 0, subject
to any later application of discounts.
=item 5
If another CommonAdjust string is found as the result of an operation,
it will be re-parsed and the result applied. Chaining is retained; a
fallback may be passed and will take effect.
=back
Prices may be adjusted in several ways, and the individual actions
are referred to below as I<atoms>. Price atoms they may be I<final>,
I<chained>, or I<fallback>. A final price atom is always applied if it
does not evaluate to zero. A chained price atom is subject to further
adjustment. A fallback price atom is skipped if a previous chained price
was not zero.
Atoms are separated by whitespace, and may be quoted (although there
should not normally be whitespace in a setting unless it is ITL or Perl
code). A chained item ends with a comma. A fallback item has a leading
semi-colon. Final atoms have no comma appended or semi-colon prepended.
A I<settor> is the means by which the price is set. There
are several different types of price settors. All non-literal
settors can then yield another CommonAdjust string.
It is quite possible to create endless loops, so the maximum number of
initial CommonAdjust strings is set to a sufficiently high number to
prevent this; there are also limited iterations before the price will
return zero on an error. NOTE: Interchange 4.7.x and higher allow setting
of this with the Limit directive.
B<NOTE>: Common needs are easily shown but not so easily explained;
skip to the examples if the reference below if your vision starts to
blur when reading the next section. 8-)
USAGE: Optional items below have asterisks appended. The asterisk should
not be used in the actual string. Optional B<base> or B<table> always
defaults to the active C<products> database table. The optional B<key>
defaults to the item code except in a special case for the attribute-based
lookup. The B<field> name is not optional except in the case of an
attribute lookup.
=over 4
=item N.NN or -N.NN
where N is a digit. A number which is applied directly; for instance
10 will yield a price of 10. May be a positive or negative number.
=item N.NN%
where N is a digit. A number which is applied as a percentage of
the I<current> price value. May be a positive or negative number. For
example, if the price is 10 and -8% is applied, the next price value
will be 9.20.
=item table*:column:key*
Causes a straight lookup in a database table. The optional B<table>
defaults to the main products database table for the item (subject
of course to multiple product files). The B<column> must always
be present. The optional B<key> defaults to the item code except
in a special case for the attribute-based lookup. The return value
is then re-parsed as another price settor.
=item table*:col1..col5,col10:key*
Causes a quantity lookup in database table B<table> (which defaults to
the products database), with a set of comma-separated fields, looked
up by the optional B<key>. (Key defaults to the item code, of course).
If ranges are specified with .., each column in the sequence will be used;
Therefore
pricing:p1,p2,p3,p4,p5,p10:
is the same as
pricing:p1..p5,p10:
Leading non-digits are stripped, and the item quantity is compared with
the numerical portion of the column name. The price is set to the value of
the database column (numeric portion) that is at least equal to it but
doesn't yet reach the next break.
WARNING: If the field at the appropriate quantity level is blank,
a zero cost will be returned from the atom. It is important to
have all columns populated.
=item table*:price_group,col1..col5,col10:key*
Causes a mix-and-match quantity lookup in database table B<table>
(which defaults to the products database), with a set of comma-separated
fields, looked up by the optional B<key>. The lookup is grouped
by the attribute C<group>. The group field must not end in a digit,
as that is how it is distinguished from a quantity.
The quantity handling is as in the straight quantity lookup.
The item attribute must be preloaded in the item to effect the
lookup -- this is usually done with an AutoModifier setting
in L<catalog.cfg>:
AutoModifier pricing:price_group
See L<AutoModifier> for more information on that.
Price group values must contain at least one non-digit character, i.e.
not all digits. "Autos" is a valid price group -- "2" is not.
The effect of the grouping is for the quantity of all items with the
same price group to be added together for the purpose of quantity
discounts.
If you have the SKUS:
sku price_group q5 q10
S102 shirts 11.95 9.95
S103 shirts 11.95 9.95
P102 pants 22.95 19.95
Ordering two S102 and three S103 will cause the item price to be 11.95
per item. Ordering 5 of each will drop the price of each to 9.95.
Ordering 20 of P102, which is in group C<pants>, will have no effect on
the quantity price of either item in group C<shirts>.
WARNING: If the field at the appropriate quantity level is blank,
a zero cost will be returned from the atom. It is important to
have all columns populated.
=item ==attribute:table*:column*:key*
Does an attribute-based adjustment. The attribute is looked up in the
database B<table>, with the optional B<column> defaulting to the same
name as the I<value> of the B<attribute>. If the column is not left blank,
the I<key> is set to the I<value> of the B<attribute> if blank.
4.7.x and higher: if there is only ==attribute, with no C<colon>
calling a database table and field, then the special C<options>
table will be used for price lookups. See (when it exists)
L<Automated Option Handling>.
=item & CODE
The leading C<&> sign is stripped and the code is passed to the
equivalent of a C<[calc]> tag. No Interchange tags can be used (i.e. no
tag interpolation), but the full range of $Tag and other embedded Perl
objects is available. The current (or interim) value of the price
chaining is available as C<$s>, and C<$q>; the current item hash is are
available as C<$item>. This means:
$item->{code} gives key for current item
$item->{size} gives size for current item (if there)
$item->{mv_ib} gives database ordered from
$s is the prospective item price (not settable).
=item [valid minivend tags]
If the settor begins with a square bracket (C<[>) or underscore, it
is parsed for Interchange tags with variable substitution (but no Locale
substitution). You may define a price in a I<Variable> in this fashion.
The string is re-submitted as an atom, so it may yield yet another
settor.
IMPORTANT NOTE: You must use quotes to surround the tags if they have
any whitespace, and any embedded quotes must be backslashed.
=item $
Tells Interchange to look in the C<mv_price> attribute of the shopping cart,
and apply that price as the final price, if it exists. The attribute must
be a numerical value.
=item >>word
Tells the routine to return C<word> directly as the result. This is not
useful in pricing, as it will evaluate to zero. But when CommonAdjust
is used for shipping, it is a way of re-directing shipping modes.
=item word
The value of C<word>, which must not match any of the other settors,
is available as a key for the next lookup (only). If the next settor
is a database lookup, and it contains a dollar sign (C<$>) the C<word>
will be substituted; i.e. C<table:column:$> becomes C<table:column:word>.
=item ( settor )
The value returned by C<settor> will be used as a key for the next
lookup, as above.
=back
=head2 CommonAdjust Examples
There are several examples of CommonAdjust setups in the L<Foundation>
demo, and they fit many requirements without change.
Most examples below use an outboard database table named B<pricing>, but
any valid table including the B<products> table can be used. We will refer
to this B<pricing> table:
code common q1 q5 q10 XL S red
99-102 10 9 8 1 -0.50 0.75
00-343 2
red 0.75
=over 4
=item *
pricing:q1,q5,q10:, ;10.00
This is a quantity price lookup, with a fallback price setting. If there
is a valid price found at the quantity of 1, 5, or 10, depending on
item quantity, then it will be used. The fallback of 10.00 only applies if no
non-zero/non-blank price was found at the quantity lookup.
=item *
You can do lookups on a product attribute; I<size> in this case.
10.00, ==size:pricing
With this value in the C<common_adjust> field, a base price of 10.00 will be
adjusted with the value of the I<size> attribute. If size for the item
99-102 is set to C<XL> then 1.00 will be added for a total price of 11.00;
if it is C<S> then .50 will be subtracted for a total price of 9.50;
for any other value of I<size> no further adjustment would be made. 00-343
would be adjusted up 2.00 only for I<XL>.
10.00, ==size:pricing, ==color:pricing
This is the same as above, except both size and color are adjusted for.
A color value of red for item code 99-102 would add 0.75 to the price. For
00-343 it would have no effect.
10.00, ==size:pricing, ==color:pricing:common
=item *
pricing:q1,q5,q10:, ;10.00, ==size:pricing, ==color:pricing:common
Here price is set based on a common column, keyed by the value of the
color attribute. Any item with a color value of red would have 0.75 added
to the base price.
Removing the comma from the end of the fallback string stops color/size
lookup if it reaches that point. If a quantity price was found, then size
and color are chained.
=item *
pricing:q1,q5,q10:, ;products:list_price, ==size:pricing, ==color:pricing
The value of the database column C<list_price> is used as a fallback
instead of the fixed 10.00 value. The above value might be a nice one
to use as the default for a typical retail catalog that has items with
colors and sizes.
=back
----------------------------
A little known fact about CommonAdjust is that you don't have to have
them all be one, you can maintain multiple ones. Say you have as your
default:
PriceField common_adjust
CommonAdjust pricing:q12,q24,q48,q96: ;:price
pricing.txt:
sku q12 q24 q48 q96
AP-S 0.75 0.50
products.txt slice:
sku price common_adjust
AP-S 1.00
If item AP-S has nothing in the field common_adjust, it uses the above.
If another item needs different and custom breaks:
# Same as above, repeated
PriceField common_adjust
CommonAdjust pricing:q12,q24,q48,q96: ;:price
price_special.txt:
sku q18 q36 q72
OR-S 0.90 0.75 0.50
products.txt slice:
sku price common_adjust
OR-S 1.00 price_special:q18,q36,q72 ;:price
Now OR-S uses the CommonAdjust string from the database and ignores
the default one.
--------------------------
The normal way to do this would be to have your pricing table with fields
corresponding to the quantities.
The problem with your pricing structure is that the price breaks are not
consistent.
pricing table:
sku q12 q15 q16 q18 q20 q24 q48 q72 q75 q80 q96
AP-S 0.75 0.50
AP-M 1.25 1
etc...
PriceField nonexistant_field
CommonAdjust pricing:q12,q15,q16,q18,q20,q48,q72,q75,q80,q96: ;:price
This commonadjust setting says (starting at the right)
get the price from the price field in the products table.
if there is one, replace it with the price from the pricing table field
which corresponds (<=) to the qty specified in the tag, or in the basket.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, June 27, 2001 at 17:50 PM:
Data/Spock '96 the Logical Choice!
----------------------------------------------------------------
This Linux System has been up 269 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (ETH Zurich)
Date: Wed Jun 27 17:56:00 2001
Subject: [ic] Generating Keys & Applying Signatures
Hi Zack,
I have read through the manual for Expect. I have to admit that I am very
new to this. Is it possible for u to give me some sample scripts on using
Expect to do PGP keys generation to get me started, or at least, let me know
where to get them.
Thanks very much!
>From: "Zack Johnson" <zack@office.standardprinting.net>
>Reply-To: interchange-users@developer.akopia.com
>To: <interchange-users@developer.akopia.com>
>Subject: Re: [ic] Generating Keys & Applying Signatures
>Date: Tue, 26 Jun 2001 13:06:15 -0400
>
>Take advantage of 'expect'. Checkout the man page (type 'man expect').
>
>Cheers!
>
>Zack
>----- Original Message -----
>From: "ETH Zurich" <ethz@hotmail.com>
>To: <interchange-users@developer.akopia.com>
>Sent: Tuesday, June 26, 2001 11:45 AM
>Subject: Re: [ic] Generating Keys & Applying Signatures
>
>
> > Thanks for ur reply Dan!
> >
> > There is a problem with generating a PGP key-pair for a customer. The
> > command requires the entering of a passphrase and some random
>keystrokes.
> > How do I:
> >
> > 1. Make it work in such a way that the passphrase for the key-pair is
>the
> > same as the customer's login password; i.e extract the login password of
>the
> > customer from the user database and feed it directly into the
>commandline?
> >
> > 2. Skip the usual process of entering some random keystrokes for the
> > generating of the key-pair so that everything will be done automatically
>and
> > the key-pair saved onto disc?
> >
> > Thanks in advanced!
> >
> >
> > > > List-Help:
> > ><mailto:interchange-users-request@lists.akopia.com?subject=help>
> > > > List-Post: <mailto:interchange-users@lists.akopia.com>
> > > > List-Subscribe:
> > ><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > > >
><mailto:interchange-users-request@lists.akopia.com?subject=subscribe>
> > > > List-Id: Interchange Users (high volume)
> > ><interchange-users.lists.akopia.com>
> > > > List-Unsubscribe:
> > ><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > > >
> > >
><mailto:interchange-users-request@lists.akopia.com?subject=unsubscribe>
> > > > List-Archive:
><http://lists.akopia.com/pipermail/interchange-users/>
> > > > X-Original-Date: Mon, 25 Jun 2001 19:30:26 -0700
> > > > Date: Mon, 25 Jun 2001 19:30:26 -0700
> > > >
> > > > --=====================_546276053==_
> > > > Content-Type: text/plain; charset="us-ascii"; format=flowed
> > > >
> > > > At 09:33 PM 6/25/2001 +0200, you wrote:
> > > > >I need to modify the Create New Account and the Check Out
>processes
>in
> > > > >such a way that:
> > > > >
> > > > >1. Whenever a new user register him/herself, Interchange will
>generate
> > >a
> > > > >key-pair for him/her and store it a certain directory on the
>server;
> > > > >
> > > > >2. Whenever a registered user checked out, Interchange will make
>use
> > >of
> > > > >the user's key-pair to sign on the purchase order before
>encrypting
>it
> > >and
> > > > >sending it to the supervisor.
> > > > >
> > > > >Interchange already provides the functions to encrypt and send the
> > > > >purchase order via (encrypted) email to the supervisor. What I
>would
> > >like
> > > > >to do now is to modify the process such that it will do the 2
>things
> > >that
> > > > >I stated above. The most important thing is for Interchange to
>SIGN
> > >the
> > > > >purchase order using the buyer's key-pair before encrypting and
> > >sending it
> > > > >to the higher level.
> > > > >
> > > > >Can anybody please help me?
> > > >
> > > > Checkout the [encrypt] usertag, posted by Ed L. a while back (and
> > >attached
> > > > here). It seems like you'll need to manually program all the stuff
> > >about
> > > > generating keypairs, but you can use this to easily call gpg with
> > >specific
> > > > parameters and input.
> > > >
> > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > >
> > > >
> > >
> >
> >
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Wed Jun 27 17:58:00 2001
Subject: [ic] Store Wide Discount?
On July 4th, I want to have a store wide 50% discount.
What's the easiest way to implement this?
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, June 27, 2001 at 17:55 PM:
WWhhaatt ddooeess dduupplleexx mmeeaann??
----------------------------------------------------------------
This Linux System has been up 269 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Scott Trunkhill)
Date: Wed Jun 27 18:11:00 2001
Subject: [ic] percent coupons
Has anybody done percent off coupons. We have a customer who wants to
offer both a dollar amount off and a percent off coupon. The dollar
amount off seams to be pretty straight forward but I can't find
anything yet on percents.
Thanks,
Scott
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Wed Jun 27 18:15:00 2001
Subject: [ic] Store Wide Discount?
On Wednesday 27 June 2001 04:59 pm, you wrote:
> On July 4th, I want to have a store wide 50% discount.
>
> What's the easiest way to implement this?
>
Put [discount ENTIRE_ORDER]$s * .50[/discount] [set order_discounted]1[/set]
into your checkout and cart pages on July 4th..... Just be sure to take it
out again after. :)
You could always get fancy with the [time] tag and [if]'s to make it
automatic, but if it's just a one -time shot I don't know that I would
bother.....
Matt
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Wednesday, June 27, 2001 at 17:55 PM:
> WWhhaatt ddooeess dduupplleexx mmeeaann??
>
> ----------------------------------------------------------------
> This Linux System has been up 269 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Wed Jun 27 18:20:00 2001
Subject: [ic] developer.akopia.com offline
> Ping Output
> FROM www.his.com TO developer.akopia.com.
Ed,
Have you tried www.traceroute.org? This is an interesting place when checking
the health of Internet :)
Rene
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Wed Jun 27 18:21:01 2001
Subject: [ic] developer.akopia.com offline
On Wed, 27 Jun 2001, Ed LaFrance wrote:
> WRT my earlier post, it *was* relevant when I posted it .... 6 hours
> ago. I don't know why it took so long to hit the list - perhaps (Sprint)
> network difficulties...
The developer machine was down for about 5 minutes earlier. But it doesn't
make sense to send mail to the list about problems like that, because the
lists are served from the main machine. :)
Feel free to mail interchange@redhat.com with stuff like that and we'll
look into it.
Thanks,
Jon
From: interchange-users at lists.akopia.com (Zack Johnson)
Date: Wed Jun 27 18:23:00 2001
Subject: [ic] Generating Keys & Applying Signatures
The Expect homepage is http://expect.nist.gov/
I've not used Expect to generate PGP keys before, so I can't send you any
scripts. However, once you get the syntax down for using PGP to generate
keys you should have little difficulty in modifying one of the scripts on
the Expect homepage to suit your needs.
There is also a PERL module called Expect, and is available on CPAN.
Good luck!
Zack
----- Original Message -----
From: "ETH Zurich" <ethz@hotmail.com>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 27, 2001 5:55 PM
Subject: Re: [ic] Generating Keys & Applying Signatures
> Hi Zack,
>
> I have read through the manual for Expect. I have to admit that I am very
> new to this. Is it possible for u to give me some sample scripts on using
> Expect to do PGP keys generation to get me started, or at least, let me
know
> where to get them.
>
> Thanks very much!
>
>
> >From: "Zack Johnson" <zack@office.standardprinting.net>
> >Reply-To: interchange-users@developer.akopia.com
> >To: <interchange-users@developer.akopia.com>
> >Subject: Re: [ic] Generating Keys & Applying Signatures
> >Date: Tue, 26 Jun 2001 13:06:15 -0400
> >
> >Take advantage of 'expect'. Checkout the man page (type 'man expect').
> >
> >Cheers!
> >
> >Zack
> >----- Original Message -----
> >From: "ETH Zurich" <ethz@hotmail.com>
> >To: <interchange-users@developer.akopia.com>
> >Sent: Tuesday, June 26, 2001 11:45 AM
> >Subject: Re: [ic] Generating Keys & Applying Signatures
> >
> >
> > > Thanks for ur reply Dan!
> > >
> > > There is a problem with generating a PGP key-pair for a customer. The
> > > command requires the entering of a passphrase and some random
> >keystrokes.
> > > How do I:
> > >
> > > 1. Make it work in such a way that the passphrase for the key-pair is
> >the
> > > same as the customer's login password; i.e extract the login password
of
> >the
> > > customer from the user database and feed it directly into the
> >commandline?
> > >
> > > 2. Skip the usual process of entering some random keystrokes for the
> > > generating of the key-pair so that everything will be done
automatically
> >and
> > > the key-pair saved onto disc?
> > >
> > > Thanks in advanced!
> > >
> > >
> > > > > List-Help:
> > > ><mailto:interchange-users-request@lists.akopia.com?subject=help>
> > > > > List-Post: <mailto:interchange-users@lists.akopia.com>
> > > > > List-Subscribe:
> > > ><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > > > >
> ><mailto:interchange-users-request@lists.akopia.com?subject=subscribe>
> > > > > List-Id: Interchange Users (high volume)
> > > ><interchange-users.lists.akopia.com>
> > > > > List-Unsubscribe:
> > > ><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > > > >
> > > >
> ><mailto:interchange-users-request@lists.akopia.com?subject=unsubscribe>
> > > > > List-Archive:
> ><http://lists.akopia.com/pipermail/interchange-users/>
> > > > > X-Original-Date: Mon, 25 Jun 2001 19:30:26 -0700
> > > > > Date: Mon, 25 Jun 2001 19:30:26 -0700
> > > > >
> > > > > --=====================_546276053==_
> > > > > Content-Type: text/plain; charset="us-ascii"; format=flowed
> > > > >
> > > > > At 09:33 PM 6/25/2001 +0200, you wrote:
> > > > > >I need to modify the Create New Account and the Check Out
> >processes
> >in
> > > > > >such a way that:
> > > > > >
> > > > > >1. Whenever a new user register him/herself, Interchange will
> >generate
> > > >a
> > > > > >key-pair for him/her and store it a certain directory on the
> >server;
> > > > > >
> > > > > >2. Whenever a registered user checked out, Interchange will make
> >use
> > > >of
> > > > > >the user's key-pair to sign on the purchase order before
> >encrypting
> >it
> > > >and
> > > > > >sending it to the supervisor.
> > > > > >
> > > > > >Interchange already provides the functions to encrypt and send
the
> > > > > >purchase order via (encrypted) email to the supervisor. What I
> >would
> > > >like
> > > > > >to do now is to modify the process such that it will do the 2
> >things
> > > >that
> > > > > >I stated above. The most important thing is for Interchange to
> >SIGN
> > > >the
> > > > > >purchase order using the buyer's key-pair before encrypting and
> > > >sending it
> > > > > >to the higher level.
> > > > > >
> > > > > >Can anybody please help me?
> > > > >
> > > > > Checkout the [encrypt] usertag, posted by Ed L. a while back (and
> > > >attached
> > > > > here). It seems like you'll need to manually program all the
stuff
> > > >about
> > > > > generating keypairs, but you can use this to easily call gpg with
> > > >specific
> > > > > parameters and input.
> > > > >
> > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
> > > > > _______________________________________________
> > > > > Interchange-users mailing list
> > > > > Interchange-users@lists.akopia.com
> > > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > > >
> > > > >
> > > >
> > >
> > >
> >_________________________________________________________________________
> > > Get Your Private, Free E-mail from MSN Hotmail at
> >http://www.hotmail.com.
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Ron Phipps)
Date: Wed Jun 27 18:37:00 2001
Subject: [ic] Generating Keys & Applying Signatures
> Hi Zack,
>
> I have read through the manual for Expect. I have to admit that I am very
> new to this. Is it possible for u to give me some sample scripts on using
> Expect to do PGP keys generation to get me started, or at least, let me
know
> where to get them.
>
> Thanks very much!
Hello,
I have included a clip of some code that uses Expect. This is ran from the
command line by our account creation script. It takes the output from a
random string generator and stuffs the input into 'passwd' which is normally
interactive. I hope this gives you some ideas.
See ya,
-Ron
#!/usr/bin/expect -f
# wrapper to make passwd(1) be non-interactive
# username is passed as 1st arg, passwd as 2nd
set force_conservative 1
set password [lindex $argv 1]
spawn passwd [lindex $argv 0]
sleep .1
expect "password:"
sleep .1
send "$password\r"
sleep .1
expect "password:"
sleep .1
send "$password\r"
sleep .1
expect eof
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Wed Jun 27 19:06:00 2001
Subject: [ic] Store Wide Discount?
On Wed, 27 Jun 2001, Matthew Schick wrote:
MS>>> What's the easiest way to implement this?
MS>>>
MS>>
MS>>Put [discount ENTIRE_ORDER]$s * .50[/discount] [set order_discounted]1[/set]
MS>>into your checkout and cart pages on July 4th..... Just be sure to take it
MS>>out again after. :)
MS>>
MS>>You could always get fancy with the [time] tag and [if]'s to make it
MS>>automatic, but if it's just a one -time shot I don't know that I would
MS>>bother.....
Thanks!
It's just a one shot deal for the combination of a grand opening of the
store and 4th of July Special. Nothing fancy is needed.
But, it's useful info to have since I do want to run storewide discounts
from time-to-time.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, June 27, 2001 at 19:05 PM:
Excited, Spock opens a box full of pointy ear tips.
----------------------------------------------------------------
This Linux System has been up 270 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Ryan Hertz)
Date: Wed Jun 27 19:28:01 2001
Subject: [ic] Specific items sequence number in basket
>
>Is there a [item] tag or something that will produce the items sequence in
>the basket as the loop occurs ??.
[item-increment]
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Wed Jun 27 19:59:01 2001
Subject: [ic] Change the price on the fly, without CommonAdjust
Quoting Jim Balcom (jim@idk-enterprises.com):
> On Wed, 27 Jun 2001, Ron Phipps wrote:
>
> RP>>Thanks Ed, this thread passed me by as well. I'll check my local archive to
> RP>>see if I can find the complete context, I appreciate you pointing me in this
> RP>>direction. It sounds like using a UserTag that determines the price and
> RP>>returns it to CommonAdjust is the way to go.
>
> I captured most of it....
>
>
> Actually, there is more detailed documentation. I have edited this to
> reflect current reality, and offer:
>
> =head2 Chained Pricing
>
> A flexible chained pricing scheme is available when the I<CommonAdjust>
> directive is set.
>
> We talk below about a I<CommonAdjust string>; it will be defined
> in due time.
>
> NOTE: while we call the field C<common_adjust> below, usually PriceField
> is set to C<no_price> in the Interchange demos.
>
> A few rules about CommonAdjust, all assuming the I<PriceField> directive
> is set to C<common_adjust>:
>
[snip rest of pretty complex docs]
Thanks Jim. I would recommend changing the reference to C<common_adjust>
field to C<price_field>, but it looks like pretty good stuff.
<self-justify>
The reason all of this is so complicated is that other means were too
slow. I did investigate Parse::RecDescent and other types of parsers,
and did significant work on those before settling on this. It is difficult
to beat split() and ^anchored regexes for speed in Perl. And the compiled
nature of UserTag makes it quite fast.
Pre-compilation of the entire price expression was not an option because
the price settors can come from a database.
Despite the complexity of this stuff, people seem to use it and sometimes
even seem to understand it. It is significantly faster than any rule-based
parser I ran across, and when you are running [item-price] over a list
of 50 or more items in a search list that makes a big difference.
</self-justify>
--
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 lists.akopia.com (Jim Balcom)
Date: Wed Jun 27 20:36:00 2001
Subject: [ic] Change the price on the fly, without CommonAdjust
On Wed, 27 Jun 2001, Mike Heins wrote:
MH>>[snip rest of pretty complex docs]
MH>>
MH>>Thanks Jim. I would recommend changing the reference to C<common_adjust>
MH>>field to C<price_field>, but it looks like pretty good stuff.
Uuummm <giggle> I was only putting back what you had written earlier
:-) Myself, I don't understand most of it :-)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Wednesday, June 27, 2001 at 20:35 PM:
After all is said and done, usually more is said.
----------------------------------------------------------------
This Linux System has been up 272 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Joachim Leidinger)
Date: Wed Jun 27 21:12:01 2001
Subject: [ic] Commonadjust and pricing question!
Hi List,
I've a problem with commonadjust and dealer. It seems to me, my bad
english is my problem too, to understand the docs and the results of the
mail-archivslist /by searching of any answer of my questions) right.
I've 4 files of products like
products.asc
products1.asc
products2.asc
products3.asc
and all that files has a pricefield like "price". But, the one file
"products3.asc" has an extra field "price_2" for the dealer and the file
"userdb" has a field "pricegroup" for two kind of the dealer with "1" or
"2" in that field. The common price is for the dealer "2". But the
dealer "1" has a special offer with a better price in "products3.asc"
file. This kind of dealer has the price, which is comming from the field
price_2. All other kind of dealer (the group "2" in field "pricegroup"
of the file userdb.asc or userdb.txt) get the price from the field
"price". But all other products files has no such field "price_2" like
the file "products3.asc".
How can I change the price for the dealer "1", if an items was orderer
from the product file "products3.asc"?
Are there a solutions for an old minivend 3.14-5? Or are there only a
solutions with IC?
If my english is too terrible to understand me, let me know and show me
the error in my english message please.
Any tips, hints or helps are very welcome.
Thank you!
ciao
Joachim
--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
From: interchange-users at lists.akopia.com (Corey Gilmore)
Date: Thu Jun 28 00:42:01 2001
Subject: [ic] session database
if i wanted to add another variable to the session database, how would i
go about it?
what i want to do is add another argument (to help track state in another
location). i am already using mv_arg to track state on the main portion
of my page, and if i did [area href='...' arg='arg1=asf/arg2=aasdf'] it
would break all of my existing code.
is there an easy way to do this?
thanks,
.cfg
From: interchange-users at lists.akopia.com (Jeff Carnahan)
Date: Thu Jun 28 01:40:00 2001
Subject: [ic] Trying to add products using non-numeric quantities...
I've found a similar problem when trying to add products using non-numeric
quantities with the mv_order_item and mv_order_quantity mechanism.
This concerns 4.6.5, I haven't looked at 4.7.x
sub add_items in Order.pm properly creates @quantities, however later when
it comes time to adding the specified quantity to the cart, it uses:
$quantity = defined $quantities[$j] ? $quantities[$j] : 1;
(Line #1779)
So, if the user entered "1a" (as I did to test this) in mv_order_quantity,
"1a" is assumed to be the price, since it meets the defined criteria.
I think that after @quantities is determined, in order to remain consistent
with 4.7.x's behavior of stripping non-numerics, Order.pm should:
@quantities = map { if (/^=/) { s/\D//g; '=' . $_ } else { s/\D//g; $_ } }
@quantities;
Note my ugly use of an if statement to keep the equals sign necessary for
the $set flag later, if there is a better way to do this, please let me know
(I tried using pos $_ = 1 to no avail).. I've tested this on 4.6.5 and it
fixes the problem. =)
This would explain why the demo catalog on developer.akopia.com allows you
to add "1a" ladders to your basket, as I mentioned in my previous e-mail.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Jeff Carnahan)
Date: Thu Jun 28 01:43:00 2001
Subject: [ic] session database
} if i wanted to add another variable to the session database, how would i
} go about it?
}
} what i want to do is add another argument (to help track state in another
} location). i am already using mv_arg to track state on the main portion
} of my page, and if i did [area href='...' arg='arg1=asf/arg2=aasdf'] it
} would break all of my existing code.
}
And setting a scratch variable to keep track of state doesn't work?
ie:
[set name="my_flag"]1[/set]
See scratch variables at:
http://interchange.redhat.com/cgi-bin/ic/dev/ictemplates_7.html
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Thu Jun 28 02:13:01 2001
Subject: [ic] Priority Mail (New Rates Table)
For anyone interested these are the new rates effective 07/01/01
These have NOT been padded, they are the ACTUAL rates from USPS
Exceed,1,2,3,4,5,6,7,8
1,3.50,3.50,3.50,3.50,3.50,3.50,3.50,3.50
2,3.95,3.95,3.95,3.95,3.95,3.95,3.95,3.95
3,5.20,5.20,5.20,5.20,5.20,5.20,5.20,5.20
4,6.45,6.45,6.45,6.45,6.45,6.45,6.45,6.45
5,7.70,7.70,7.70,7.70,7.70,7.70,7.70,7.70
6,8.10,8.10,8.10,8.30,8.35,8.50,9.55,10.40
7,8.40,8.40,8.40,8.90,9.00,9.30,10.60,11.85
8,8.50,8.50,8.50,9.50,9.65,10.10,11.65,13.30
9,8.65,8.65,8.65,10.10,10.30,10.90,12.70,14.75
10,8.75,8.75,8.75,10.65,10.95,11.80,13.75,16.20
11,9.00,9.00,9.00,11.25,11.60,12.80,14.80,17.65
12,9.25,9.25,9.25,11.85,12.25,13.75,15.85,19.10
13,9.65,9.65,9.65,12.45,12.90,14.75,16.90,20.55
14,10.05,10.05,10.05,13.05,13.55,15.70,17.95,22.00
15,10.45,10.45,10.45,13.65,14.20,16.65,19.00,23.45
16,10.85,10.85,10.85,14.25,14.85,17.60,20.05,24.90
17,11.25,11.25,11.25,14.85,15.50,18.60,21.10,26.35
18,11.65,11.65,11.65,15.45,16.30,19.55,22.15,27.80
19,12.05,12.05,12.05,16.05,17.05,20.50,23.20,29.25
20,12.45,12.45,12.45,16.65,17.85,21.40,24.25,30.70
21,12.85,12.85,12.85,17.25,18.60,22.40,25.30,32.15
22,13.25,13.25,13.25,17.85,19.35,23.35,26.35,33.60
23,13.65,13.65,13.65,18.45,20.15,24.30,27.40,35.05
24,14.05,14.05,14.05,19.05,20.95,25.25,28.45,36.50
25,14.45,14.45,14.45,19.65,21.75,26.25,29.50,37.95
26,14.85,14.85,14.85,20.25,22.45,27.20,30.55,39.40
27,15.25,15.25,15.25,20.85,23.25,28.15,31.60,40.85
28,15.65,15.65,15.65,21.45,24.05,29.10,32.65,42.30
29,16.05,16.05,16.05,22.05,24.85,30.05,33.70,43.75
30,16.45,16.45,16.45,22.65,25.60,31.05,34.75,45.20
31,16.85,16.85,16.85,23.25,26.35,31.95,35.80,46.65
32,17.25,17.25,17.25,23.85,27.15,32.90,36.85,48.10
33,17.65,17.65,17.65,24.45,27.95,33.85,37.90,49.55
34,18.05,18.05,18.05,25.05,28.70,34.80,38.95,51.00
35,18.45,18.45,18.45,25.65,29.50,35.80,40.00,52.45
36,18.85,18.85,18.85,26.25,30.25,36.75,41.05,53.90
37,19.25,19.25,19.25,26.95,31.05,37.70,42.10,55.35
38,19.65,19.65,19.65,27.55,31.80,38.70,43.15,56.80
39,20.05,20.05,20.05,28.25,32.60,39.65,44.20,58.25
40,20.45,20.45,20.45,28.95,33.40,40.60,45.25,59.70
41,20.85,20.85,20.85,29.55,34.15,41.55,46.30,61.15
42,21.25,21.25,21.25,30.25,34.90,42.45,47.40,62.60
43,21.65,21.65,21.65,30.90,35.70,43.45,48.45,64.05
44,22.05,22.05,22.05,31.55,36.50,44.40,49.55,65.50
45,22.45,22.45,22.45,32.25,37.25,45.35,50.60,66.95
46,22.85,22.85,22.85,32.90,38.00,46.30,51.65,68.40
47,23.25,23.25,23.25,33.55,38.80,47.30,52.75,69.85
48,23.65,23.65,23.65,34.25,39.60,48.25,53.80,71.30
49,24.05,24.05,24.05,34.90,40.35,49.20,54.90,72.75
50,24.45,24.45,24.45,35.55,41.15,50.15,55.95,74.20
51,24.85,24.85,24.85,36.25,41.90,51.10,57.00,75.65
52,25.25,25.25,25.25,36.90,42.70,52.10,58.05,77.10
53,25.65,25.65,25.65,37.55,43.45,53.05,59.10,78.55
54,26.05,26.05,26.05,38.20,44.25,53.95,60.15,80.00
55,26.45,26.45,26.45,38.90,45.05,54.90,61.20,81.45
56,26.85,26.85,26.85,39.55,45.80,55.90,62.25,82.90
57,27.25,27.25,27.25,40.20,46.55,56.85,63.30,84.35
58,27.65,27.65,27.65,40.90,47.35,57.80,64.35,85.80
59,28.05,28.05,28.05,41.55,48.15,58.75,65.40,87.25
60,28.45,28.45,28.45,42.20,48.95,59.75,66.45,88.70
61,28.85,28.85,28.85,42.90,49.65,60.70,67.50,90.15
62,29.25,29.25,29.25,43.50,50.45,61.65,68.55,91.60
63,29.65,29.65,29.65,44.20,51.25,62.60,69.60,93.05
64,30.05,30.05,30.05,44.90,52.05,63.60,70.65,94.50
65,30.45,30.45,30.45,45.50,52.75,64.50,71.70,95.95
66,30.85,30.85,30.85,46.20,53.55,65.45,72.75,97.40
67,31.25,31.25,31.25,46.90,54.35,66.40,73.80,98.85
68,31.65,31.65,31.65,47.50,55.15,67.35,74.85,100.30
69,32.05,32.05,32.05,48.20,55.90,68.35,75.90,101.75
70,32.45,32.45,32.45,48.90,56.65,69.30,76.95,103.20
on 6/27/01 6:00 AM, bill@worldwideimpact.com at bill@worldwideimpact.com
wrote:
> I set this up last year. The rates have changed. Here is where they are
> http://pe.usps.gov/text/dmm/r100.htm#Xfz79519.
>
> in products:
>
> Add something like this to shipping.asc:
> uspspm Priority Mail weight 0 0 e Nothing to ship!
> uspspm Priority Mail weight 3 70 u PriorityMail [value
> name=zip filter=digits default=01355] 3.20
> uspspm Priority Mail weight 70 99999 e Too heavy
>
> Add 'Priority Mail' to the "ZONES" line in your zone file. I don't know
> how one is supposed to refer to this file. It's the one that starts with
> the first three digits of the origin zip code.
>
> create a file called PriorityMail.csv (this needs the accurate rates):
>
> Bill Carr
> Worldwide Impact
> bill@worldwideimpact.com
> 413.253.6700
>
>
>
>
> Jim Balcom <jim@idk-enterprises.com>
> Sent by: interchange-users-admin@developer.akopia.com
> 06/26/2001 06:33 PM
> Please respond to interchange-users
>
>
> To: interchange-users@developer.akopia.com
> cc:
> Subject: [ic] Priority Mail
>
>
> I'm in the final stages of getting my new store on line.
>
> In working on the back end - the check out, I've come up with this
> poser:
>
> I want to add Priority Mail as an option. In looking back over some
> messages I've saved, Greg Gaskill wrote that he had gotten it working.
> My key question is: Where do I get priority.csv and express.csv?
>
> Once I've got them located, I understand (kinda sorta) how to get them
> integrated. (But, any additional hand-holding would be appreciated.)
>
> The secondary question is: In the construct package, how do I get other
> shipping methods to appear in the checkout option on the checkout page
> (without hard coding them)? What's showing right now is just UPS
> Ground, UPS 2nd Day, and UPS Next Day. (And, I've gotten them all up to
> date and adding in surcharges.)
>
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Tuesday, June 26, 2001 at 18:25 PM:
> So simple, a child could do it. (Child sold separately)
>
> ----------------------------------------------------------------
> This Linux System has been up 245 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
Tim Watts
president
Romans1013.net
Internet Hosting
From: interchange-users at lists.akopia.com (Raymond)
Date: Thu Jun 28 02:32:01 2001
Subject: [ic] customer shipping for USPS question
I loaded the construct demo and it works well, cool so far... very cool..
the default shipping methods are UPS and International Surface,
well I don't use UPS or International surface, I only use
domestic USPS Priority Mail.
So how do create a method so that it calculates the
shipping based on quantity, say:
charge $4.00 per each product ? or charge a flat rate of $4.00
regardless of how many items are in the cart.
I tried for hours to do this and no luck, I
removed all the shipping methods from the admin menu
under administration/shipping, and now want to create
one from scratch that best will suit me, can anyone help ?
Thanks!!!!!!!!!!
Raymond
From: interchange-users at lists.akopia.com (Jeff Carnahan)
Date: Thu Jun 28 02:49:01 2001
Subject: [ic] customer shipping for USPS question
} the default shipping methods are UPS and International Surface,
} well I don't use UPS or International surface, I only use
} domestic USPS Priority Mail.
}
USPS Priority Mail shipping has been discussed a lot recently on this
mailing list. Try doing a few searches through the mailing list archives at:
http://interchange.redhat.com/cgi-bin/htsearch
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Thu Jun 28 03:58:00 2001
Subject: [ic] MV_PAGE blank
Hi,
I'm trying to change locale based on language.
It works, but i would like to return the visitor to the same page when he
changes language.
I tried <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]">, but
@@MV_PAGE@@ is blank.
Someone knows the way to solve the problem?
Thanks Stefano
From: interchange-users at lists.akopia.com (Joachim Leidinger)
Date: Thu Jun 28 04:50:01 2001
Subject: [ic] MV_PAGE blank
Stefano Nota wrote:
>
> Hi,
>
> I'm trying to change locale based on language.
> It works, but i would like to return the visitor to the same page when he
> changes language.
> I tried <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]">, but
> @@MV_PAGE@@ is blank.
>
> Someone knows the way to solve the problem?
Is @@MV_PAGE@@ working outside of the href and can you see the page
name?
For example:
TEST the var:@@MV_PAGE@@<BR>
?
If yes, how about
[seti thispage]@@MV_PAGE@@[/seti]
<a href="[area href="process/locale/en_US/page/[scratch thispage]"]">
? (not tested)
ciao
Joachim
--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Thu Jun 28 05:06:00 2001
Subject: [ic] MV_PAGE blank
No, it doesn't work outside.
I tried @@MV_PREV_PAGE@@ but i got only www.domain.com/catalog.
I tried to do: [seti thispage]@@MV_PAGE@@[/seti]
<a href="[area href="process/locale/en_US/page/[scratch thispage]"]">
[scratch thispage] is not parsed.
I'm still trying
Thanks stefano
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di
Joachim Leidinger
Inviato: giovedė 28 giugno 2001 10.51
A: interchange-users@developer.akopia.com
Oggetto: Re: [ic] MV_PAGE blank
Stefano Nota wrote:
>
> Hi,
>
> I'm trying to change locale based on language.
> It works, but i would like to return the visitor to the same page when he
> changes language.
> I tried <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]">,
but
> @@MV_PAGE@@ is blank.
>
> Someone knows the way to solve the problem?
Is @@MV_PAGE@@ working outside of the href and can you see the page
name?
For example:
TEST the var:@@MV_PAGE@@<BR>
?
If yes, how about
[seti thispage]@@MV_PAGE@@[/seti]
<a href="[area href="process/locale/en_US/page/[scratch thispage]"]">
? (not tested)
ciao
Joachim
--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Steffen Dettmer)
Date: Thu Jun 28 05:13:01 2001
Subject: [ic] Trying to add products using non-numeric quantities...
* Jeff Carnahan wrote on Wed, Jun 27, 2001 at 22:41 -0700:
> @quantities = map { if (/^=/) { s/\D//g; '=' . $_ } else { s/\D//g; $_ } }
>
> Note my ugly use of an if statement to keep the equals sign
> necessary for the $set flag later, if there is a better way to
> do this, please let me know
You want this w/o the if? I think you can write:
> @quantities = map { if (/^=/) { s/\D//g; '=' . $_ } else { s/\D//g; $_ } }
@quantities = map { s/(^=)?\D/$1/g; $_ }
or better:
@quantities = map { s/[^\d=]//g; $_ }
or maybe faster like:
#delete unknown (==not 0-9,=) chars and map something(?):
@quantities = map { tr/0-9=//cd; $_ }
all this is untested, and my perl will not even compile your
original expression, which I do not understand BTW, since I
though that map should get some list as second argument (to map
that list), so this seems to be some special usage of map or
whatever. :)
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Thu Jun 28 05:57:00 2001
Subject: [ic] customer shipping for USPS question
I think some of the information from the shipping.asc files has been clipped
in the email.
I placed a copy of my complete lines at:
http://Romans1013.net/interchange_info/uspspm.zip
for anyone that wants it.
Be sure to replace:
'zone' => "210" with your three didget zone
'adder' => "1.45" with your additional shipping costs
default=21041 with your zip code
Hope this helps!
on 6/28/01 5:18 AM, Raymond Miecznik at raymond@raymond-hosting.com wrote:
> I created a file called PriorityMail.csv
>
> put that data in it, in my 420.csv I added Priority Mail in the zones
>
> and in shipping.asc I added those other 3 lines
>
> I restarted the interchange server, and now what ? I should see that
> int eh shipping options ? I don't...
>
> Ray
>
> Tim Watts wrote:
>
>> Ray,
>>
>> thought this might save you somw searching time....
>>
>> here's the best info from the list:
>>
>> From: bill@worldwideimpact.com
>>
>>> I set this up last year. The rates have changed. Here is where they are
>>> http://pe.usps.gov/text/dmm/r100.htm#Xfz79519.
>>
>>> in products:
>>
>>> Add something like this to shipping.asc:
>>> uspspm Priority Mail weight 0 0 e Nothing to ship!
>>> uspspm Priority Mail weight 3 70 u PriorityMail [value
>>> name=zip filter=digits default=01355] 3.20
>>> uspspm Priority Mail weight 70 99999 e Too heavy
>>
>>> Add 'Priority Mail' to the "ZONES" line in your zone file. I don't know
>>> how one is supposed to refer to this file. It's the one that starts with
>>> the first three digits of the origin zip code.
>>
>>> create a file called PriorityMail.csv (this needs the accurate rates):
>>
>>> Bill Carr
>>> Worldwide Impact
>>> bill@worldwideimpact.com
>>> 413.253.6700
>>
>>> From me: for PriorityMail.csv
>>
>> For anyone interested these are the new rates effective 07/01/01
>> These have NOT been padded, they are the ACTUAL rates from USPS
>>
>> Exceed,1,2,3,4,5,6,7,8
>> 1,3.50,3.50,3.50,3.50,3.50,3.50,3.50,3.50
>> 2,3.95,3.95,3.95,3.95,3.95,3.95,3.95,3.95
>> 3,5.20,5.20,5.20,5.20,5.20,5.20,5.20,5.20
>> 4,6.45,6.45,6.45,6.45,6.45,6.45,6.45,6.45
>> 5,7.70,7.70,7.70,7.70,7.70,7.70,7.70,7.70
>> 6,8.10,8.10,8.10,8.30,8.35,8.50,9.55,10.40
>> 7,8.40,8.40,8.40,8.90,9.00,9.30,10.60,11.85
>> 8,8.50,8.50,8.50,9.50,9.65,10.10,11.65,13.30
>> 9,8.65,8.65,8.65,10.10,10.30,10.90,12.70,14.75
>> 10,8.75,8.75,8.75,10.65,10.95,11.80,13.75,16.20
>> 11,9.00,9.00,9.00,11.25,11.60,12.80,14.80,17.65
>> 12,9.25,9.25,9.25,11.85,12.25,13.75,15.85,19.10
>> 13,9.65,9.65,9.65,12.45,12.90,14.75,16.90,20.55
>> 14,10.05,10.05,10.05,13.05,13.55,15.70,17.95,22.00
>> 15,10.45,10.45,10.45,13.65,14.20,16.65,19.00,23.45
>> 16,10.85,10.85,10.85,14.25,14.85,17.60,20.05,24.90
>> 17,11.25,11.25,11.25,14.85,15.50,18.60,21.10,26.35
>> 18,11.65,11.65,11.65,15.45,16.30,19.55,22.15,27.80
>> 19,12.05,12.05,12.05,16.05,17.05,20.50,23.20,29.25
>> 20,12.45,12.45,12.45,16.65,17.85,21.40,24.25,30.70
>> 21,12.85,12.85,12.85,17.25,18.60,22.40,25.30,32.15
>> 22,13.25,13.25,13.25,17.85,19.35,23.35,26.35,33.60
>> 23,13.65,13.65,13.65,18.45,20.15,24.30,27.40,35.05
>> 24,14.05,14.05,14.05,19.05,20.95,25.25,28.45,36.50
>> 25,14.45,14.45,14.45,19.65,21.75,26.25,29.50,37.95
>> 26,14.85,14.85,14.85,20.25,22.45,27.20,30.55,39.40
>> 27,15.25,15.25,15.25,20.85,23.25,28.15,31.60,40.85
>> 28,15.65,15.65,15.65,21.45,24.05,29.10,32.65,42.30
>> 29,16.05,16.05,16.05,22.05,24.85,30.05,33.70,43.75
>> 30,16.45,16.45,16.45,22.65,25.60,31.05,34.75,45.20
>> 31,16.85,16.85,16.85,23.25,26.35,31.95,35.80,46.65
>> 32,17.25,17.25,17.25,23.85,27.15,32.90,36.85,48.10
>> 33,17.65,17.65,17.65,24.45,27.95,33.85,37.90,49.55
>> 34,18.05,18.05,18.05,25.05,28.70,34.80,38.95,51.00
>> 35,18.45,18.45,18.45,25.65,29.50,35.80,40.00,52.45
>> 36,18.85,18.85,18.85,26.25,30.25,36.75,41.05,53.90
>> 37,19.25,19.25,19.25,26.95,31.05,37.70,42.10,55.35
>> 38,19.65,19.65,19.65,27.55,31.80,38.70,43.15,56.80
>> 39,20.05,20.05,20.05,28.25,32.60,39.65,44.20,58.25
>> 40,20.45,20.45,20.45,28.95,33.40,40.60,45.25,59.70
>> 41,20.85,20.85,20.85,29.55,34.15,41.55,46.30,61.15
>> 42,21.25,21.25,21.25,30.25,34.90,42.45,47.40,62.60
>> 43,21.65,21.65,21.65,30.90,35.70,43.45,48.45,64.05
>> 44,22.05,22.05,22.05,31.55,36.50,44.40,49.55,65.50
>> 45,22.45,22.45,22.45,32.25,37.25,45.35,50.60,66.95
>> 46,22.85,22.85,22.85,32.90,38.00,46.30,51.65,68.40
>> 47,23.25,23.25,23.25,33.55,38.80,47.30,52.75,69.85
>> 48,23.65,23.65,23.65,34.25,39.60,48.25,53.80,71.30
>> 49,24.05,24.05,24.05,34.90,40.35,49.20,54.90,72.75
>> 50,24.45,24.45,24.45,35.55,41.15,50.15,55.95,74.20
>> 51,24.85,24.85,24.85,36.25,41.90,51.10,57.00,75.65
>> 52,25.25,25.25,25.25,36.90,42.70,52.10,58.05,77.10
>> 53,25.65,25.65,25.65,37.55,43.45,53.05,59.10,78.55
>> 54,26.05,26.05,26.05,38.20,44.25,53.95,60.15,80.00
>> 55,26.45,26.45,26.45,38.90,45.05,54.90,61.20,81.45
>> 56,26.85,26.85,26.85,39.55,45.80,55.90,62.25,82.90
>> 57,27.25,27.25,27.25,40.20,46.55,56.85,63.30,84.35
>> 58,27.65,27.65,27.65,40.90,47.35,57.80,64.35,85.80
>> 59,28.05,28.05,28.05,41.55,48.15,58.75,65.40,87.25
>> 60,28.45,28.45,28.45,42.20,48.95,59.75,66.45,88.70
>> 61,28.85,28.85,28.85,42.90,49.65,60.70,67.50,90.15
>> 62,29.25,29.25,29.25,43.50,50.45,61.65,68.55,91.60
>> 63,29.65,29.65,29.65,44.20,51.25,62.60,69.60,93.05
>> 64,30.05,30.05,30.05,44.90,52.05,63.60,70.65,94.50
>> 65,30.45,30.45,30.45,45.50,52.75,64.50,71.70,95.95
>> 66,30.85,30.85,30.85,46.20,53.55,65.45,72.75,97.40
>> 67,31.25,31.25,31.25,46.90,54.35,66.40,73.80,98.85
>> 68,31.65,31.65,31.65,47.50,55.15,67.35,74.85,100.30
>> 69,32.05,32.05,32.05,48.20,55.90,68.35,75.90,101.75
>> 70,32.45,32.45,32.45,48.90,56.65,69.30,76.95,103.20
>>
>> Tim Watts
>> president
>> Romans1013.net
>> Internet Hosting
>
Tim Watts
president
Romans1013.net
Internet Hosting
From: interchange-users at lists.akopia.com (Barbara Picci)
Date: Thu Jun 28 06:01:00 2001
Subject: [ic] Locale Pagedir
hi,
I have a problem with the internationalization of Interchange 4.6.5.
I installed it succesfully, but I need to make a localization of it,
using two languages: italian and english.
I have set the use of two different database (I use the Interchange
internal database: products.txt), and I use very well [L][/L] and
[LC][/LC] and the Interchange server answers to [scratch mv_locale].
All appear to go right, but I need to use two different directories for images.
I have seen that I need to use ImageDir but it doesn't work.
I have in catalog.cfg
## Set the image path for relative images
ImageDir /construct/images/english/
Locale en_US ImageDir /construct/images/english/
Locale it_IT ImageDir /construct/images/italian/
in this way the images can been shown, but, for the two languages,
they are taken always from the default directory (english).
In the result page images have both this path:
/construct/images/english/navigation/
If I instead use:
## Set the image path for relative images
ImageDir /construct/images/english/
Locale en_US ImageDir english/
Locale it_IT ImageDir italian/
it ignores the default and locales the images but the images can't be
shown because the directory is wrong.
In the result pages infact images have this path:
for italian --- italian/italian/navigation/
for english --- english/english/navigation/
It repeats twice the directory.
Can anyone help me?
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 06:09:01 2001
Subject: [ic] Priority Mail (New Rates Table)
On Thu, 28 Jun 2001, Tim Watts wrote:
TW>>For anyone interested these are the new rates effective 07/01/01
TW>>These have NOT been padded, they are the ACTUAL rates from USPS
I am VERY interested, and thank you very much!
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 06:10 AM:
Why doesn't DOS ever say "Excellent command or filename!"
----------------------------------------------------------------
This Linux System has been up 0 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 06:15:01 2001
Subject: [ic] customer shipping for USPS question
On Thu, 28 Jun 2001, Raymond wrote:
R>>the default shipping methods are UPS and International Surface,
R>>well I don't use UPS or International surface, I only use
R>>domestic USPS Priority Mail.
R>>
R>>So how do create a method so that it calculates the
R>>shipping based on quantity, say:
R>>
R>>charge $4.00 per each product ? or charge a flat rate of $4.00
R>>regardless of how many items are in the cart.
R>>
R>>I tried for hours to do this and no luck, I
R>>removed all the shipping methods from the admin menu
R>>under administration/shipping, and now want to create
R>>one from scratch that best will suit me, can anyone help ?
Tell it to create a new method, give it a 'handle' like 'uspspm' give
it a name - Priority Mail. There is a drop-down and you can select (as
I recall) by quantity. Then, fill in the amount. Save it and Apply
Changes.
What specific problems are you having?
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 06:10 AM:
Why doesn't DOS ever say "Excellent command or filename!"
----------------------------------------------------------------
This Linux System has been up 0 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Thu Jun 28 06:18:00 2001
Subject: [ic] Locale Pagedir
You could use 2 fields for images in the database.
Based ol locale you show italian image instead of english one, and
viceversa.
ciao stefano
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di
Barbara Picci
Inviato: giovedė 28 giugno 2001 12.04
A: interchange-users@developer.akopia.com
Oggetto: [ic] Locale Pagedir
hi,
I have a problem with the internationalization of Interchange 4.6.5.
I installed it succesfully, but I need to make a localization of it,
using two languages: italian and english.
I have set the use of two different database (I use the Interchange
internal database: products.txt), and I use very well [L][/L] and
[LC][/LC] and the Interchange server answers to [scratch mv_locale].
All appear to go right, but I need to use two different directories for
images.
I have seen that I need to use ImageDir but it doesn't work.
I have in catalog.cfg
## Set the image path for relative images
ImageDir /construct/images/english/
Locale en_US ImageDir /construct/images/english/
Locale it_IT ImageDir /construct/images/italian/
in this way the images can been shown, but, for the two languages,
they are taken always from the default directory (english).
In the result page images have both this path:
/construct/images/english/navigation/
If I instead use:
## Set the image path for relative images
ImageDir /construct/images/english/
Locale en_US ImageDir english/
Locale it_IT ImageDir italian/
it ignores the default and locales the images but the images can't be
shown because the directory is wrong.
In the result pages infact images have this path:
for italian --- italian/italian/navigation/
for english --- english/english/navigation/
It repeats twice the directory.
Can anyone help me?
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Joachim Leidinger)
Date: Thu Jun 28 06:19:00 2001
Subject: [ic] Locale Pagedir
Barbara Picci wrote:
>
> hi,
>
> I have a problem with the internationalization of Interchange 4.6.5.
> I installed it succesfully, but I need to make a localization of it,
> using two languages: italian and english.
> I have set the use of two different database (I use the Interchange
> internal database: products.txt), and I use very well [L][/L] and
> [LC][/LC] and the Interchange server answers to [scratch mv_locale].
> All appear to go right, but I need to use two different directories for images.
> I have seen that I need to use ImageDir but it doesn't work.
>
> I have in catalog.cfg
>
> ## Set the image path for relative images
> ImageDir /construct/images/english/
> Locale en_US ImageDir /construct/images/english/
> Locale it_IT ImageDir /construct/images/italian/
>
> in this way the images can been shown, but, for the two languages,
> they are taken always from the default directory (english).
> In the result page images have both this path:
> /construct/images/english/navigation/
>
> If I instead use:
>
> ## Set the image path for relative images
> ImageDir /construct/images/english/
> Locale en_US ImageDir english/
> Locale it_IT ImageDir italian/
>
> it ignores the default and locales the images but the images can't be
> shown because the directory is wrong.
> In the result pages infact images have this path:
> for italian --- italian/italian/navigation/
> for english --- english/english/navigation/
> It repeats twice the directory.
>
> Can anyone help me?
Maybe you can solve it with
- add "englisch italian" in your loacle.asc
- set ImageDir /construct/images/ as default
- use something like
<img src="[L]english[/L]/navigation/..." ...>
(not tested)
ciao
Joachim
--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
From: interchange-users at lists.akopia.com (Joachim Leidinger)
Date: Thu Jun 28 06:27:01 2001
Subject: [ic] MV_PAGE blank
Stefano Nota wrote:
>
> No, it doesn't work outside.
>
> I tried @@MV_PREV_PAGE@@ but i got only www.domain.com/catalog.
>
> I tried to do: [seti thispage]@@MV_PAGE@@[/seti]
> <a href="[area href="process/locale/en_US/page/[scratch thispage]"]">
>
> [scratch thispage] is not parsed.
>
> I'm still trying
>
> Thanks stefano
Have you any page with working @@MV_PAGE@@?
Is
---------snip mytest.html--------
<html><head><title>Test</title>
My test!<BR>
This is the page @@MV_PAGE@@!
</body></html>
---------snip mytest.html--------
working for you?
ciao
Joachim
--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 06:40:01 2001
Subject: [ic] customer shipping for USPS question
On Thu, 28 Jun 2001, Tim Watts wrote:
TW>>Be sure to replace:
TW>>'zone' => "210" with your three didget zone
TW>>'adder' => "1.45" with your additional shipping costs
TW>>default=21041 with your zip code
For better exactness, people can go to www.ups.com and download a
replacement for 450.csv that is tailored for their exact zip code -
mine is 220.csv. Of course I needed to replace the 450 with 220 in
quite a few places/files.
TW>>> I created a file called PriorityMail.csv
TW>>>
TW>>> put that data in it, in my 420.csv I added Priority Mail in the zones
In my attempts to get it all working, I added another column to 220.csv
to reflect the Priority Mail zones. Whether this is necessary, or not,
I don't know.
TW>>>
TW>>> and in shipping.asc I added those other 3 lines
TW>>>
TW>>> I restarted the interchange server, and now what ? I should see that
TW>>> int eh shipping options ? I don't...
In country.txt you need to add this new method in - like so:
US US uspspm uspsexp upsg upsb upsr United States
(And, that determines the order that they appear in the drop-down box)
TW>>>>> Add something like this to shipping.asc:
TW>>>>> uspspm Priority Mail weight 0 0 e Nothing to ship!
TW>>>>> uspspm Priority Mail weight 3 70 u PriorityMail [value
TW>>>>> name=zip filter=digits default=01355] 3.20
TW>>>>> uspspm Priority Mail weight 70 99999 e Too heavy
Here is a snippet from my shipping.asc (with atrocious wrapping):
uspspm Priority Mail weight 0 0 e Nothing to ship!
(<note>2 tabs go in here)
{'ui_ship_type' => "weight",'table' => "PriorityMail",'zone' =>
"220",'ups' => "0",'at_least' => "5.50",'adder' => "(\@\@TOTAL\@\@ *
.30 ) + 2.00",'geo' => "zip",}
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 {}
The fields are tab delimited.
This takes the weight of the product, determines the zone that they are
in, and does a look-up in PriorityMail.csv for the exact rate. It then
adds on 30% (to compensate for the new rates, but that will be changed
in a few hours to a lower percentage) and adds on a $2.00 charge (which
may soon go away). It also makes sure that they get charged at least
$5.50 for shipping.
Also, I had to go into dbconf/default_db and add a PriorityMail.dbm. I
copied one of the other ones and edited it. Restarting the server
builds the appropriate databases. I was unable to get the look-ups
working until I did this.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 06:15 AM:
Shotgun wedding: a case of wife or death.
----------------------------------------------------------------
This Linux System has been up 0 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Thu Jun 28 06:55:01 2001
Subject: [ic] customer shipping for USPS question
Thanks for the clarification, Jim
No-one else (including myself) had passed these other "minor" details along!
If anyone is doing the Priority Mail thing, this is MUST HAVE information!
on 6/28/01 6:42 AM, Jim Balcom at jim@idk-enterprises.com wrote:
> For better exactness, people can go to www.ups.com and download a
> replacement for 450.csv that is tailored for their exact zip code -
> mine is 220.csv. Of course I needed to replace the 450 with 220 in
> quite a few places/files.
> In country.txt you need to add this new method in - like so:
>
> US US uspspm uspsexp upsg upsb upsr United States
> Also, I had to go into dbconf/default_db and add a PriorityMail.dbm. I
> copied one of the other ones and edited it. Restarting the server
> builds the appropriate databases. I was unable to get the look-ups
> working until I did this.
Tim Watts
president
Romans1013.net
Internet Hosting
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Thu Jun 28 08:06:00 2001
Subject: [ic] MV_PAGE blank
i tried
---------snip mytest.html--------
<html><head><title>Test</title>
My test!<BR>
This is the page @@MV_PAGE@@!
</body></html>
---------snip mytest.html--------
It works!!!
But, when i put it in
<a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]">
it is blank, why?
i can't understand
bye stefano
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di
Joachim Leidinger
Inviato: giovedė 28 giugno 2001 12.28
A: interchange-users@developer.akopia.com
Oggetto: Re: [ic] MV_PAGE blank
Stefano Nota wrote:
>
> No, it doesn't work outside.
>
> I tried @@MV_PREV_PAGE@@ but i got only www.domain.com/catalog.
>
> I tried to do: [seti thispage]@@MV_PAGE@@[/seti]
> <a href="[area href="process/locale/en_US/page/[scratch thispage]"]">
>
> [scratch thispage] is not parsed.
>
> I'm still trying
>
> Thanks stefano
Have you any page with working @@MV_PAGE@@?
Is
---------snip mytest.html--------
<html><head><title>Test</title>
My test!<BR>
This is the page @@MV_PAGE@@!
</body></html>
---------snip mytest.html--------
working for you?
ciao
Joachim
--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Joachim Leidinger)
Date: Thu Jun 28 08:42:01 2001
Subject: [ic] MV_PAGE blank
Stefano Nota wrote:
>
> i tried
>
> ---------snip mytest.html--------
> <html><head><title>Test</title>
> My test!<BR>
> This is the page @@MV_PAGE@@!
> </body></html>
> ---------snip mytest.html--------
>
> It works!!!
>
> But, when i put it in
> <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]">
>
> it is blank, why?
> i can't understand
>
> bye stefano
Is your code "<a href ....> directly from the page itself or is
this part comming from another place? For example:
- [include myfile]
- [file myfile]
- @_LEFTONLY_TOP_@
...and so on
Have you such kind of a page like
----snip mynewpage---
some HTML and IC codes
<a href....@@MV_PAGE@@...
and so on
----snip mynewpage---
or
----snip mynewpage---
some HTML and IC codes
[include back-to-the-root]
and so on
----snip mynewpage---
---snip back-to-the-root file---
<a href....@@MV_PAGE@@...
---snip back-to-the-root file---
?
ciao
Joachim
--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger black point arts Internet Solutions GmbH
email: jojo@blackpoint.de FAX : +49 0209-398265
http://www.bpaserver.net
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Thu Jun 28 08:43:00 2001
Subject: [ic] Updating Interchange Database Tables with a Form and required fields
How do I make certain fields required when 'Updating Interchange Database
Tables with a Form'.
I would like to make certain fields required and return a message to the
user if they have left a field blank. I have tried using mv_order_profile
but I can not get it to work. I can do this with a checkout page I just
don't know how to do it when updating a database.
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 28 08:48:00 2001
Subject: [ic] MV_PAGE blank
Quoting Stefano Nota (stefano@register.it):
> i tried
>
> ---------snip mytest.html--------
> <html><head><title>Test</title>
> My test!<BR>
> This is the page @@MV_PAGE@@!
> </body></html>
> ---------snip mytest.html--------
>
> It works!!!
>
> But, when i put it in
> <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]">
>
> it is blank, why?
> i can't understand
That cannot happen. You must be pulling this from another variable,
not placing it directly in the page.
As I said in my last post, use [var MV_PAGE 1] instead in that
case.
--
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 lists.akopia.com (Stefano Nota)
Date: Thu Jun 28 09:05:01 2001
Subject: [ic] MV_PAGE blank
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di Mike
Heins
Inviato: giovedė 28 giugno 2001 14.49
A: interchange-users@developer.akopia.com
Oggetto: Re: [ic] MV_PAGE blank
Mike,
i don't remember your post, can you explain what's mean "use [var MV_PAGE
1]"?
Quoting Stefano Nota (stefano@register.it):
> i tried
>
> ---------snip mytest.html--------
> <html><head><title>Test</title>
> My test!<BR>
> This is the page @@MV_PAGE@@!
> </body></html>
> ---------snip mytest.html--------
>
> It works!!!
>
> But, when i put it in
> <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]">
>
> it is blank, why?
> i can't understand
That cannot happen. You must be pulling this from another variable,
not placing it directly in the page.
As I said in my last post, use [var MV_PAGE 1] instead in that
case.
--
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
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 28 09:09:00 2001
Subject: [ic] Interchange-users guidelines [semi-monthly posting]
interchange-users@lists.akopia.com is a list for users who have questions about
configuring, setting up, and fine tuning Interchange catalogs. Other topics
will include:
- announcements of Interchange releases and fixes
- notification and submission of Interchange bugs
- distributing pages which implement Interchange functions
- discussing the future development of Interchange
- any other topic relating *directly* to Interchange
The list started January 5, 1997 as minivend-users. For an archive of past
articles, see:
http://developer.akopia.com/archive/interchange-users/
Also, because the list has high volume for one of its type, before
posting to the list it is recommended that you use the search feature at:
http://developer.akopia.com/
Many questions can be answered by trying some keywords at this
facility. Try more than one combination.
It is common courtesy when posting to a forum such as this to:
1. Include the version of software you are using, i.e.
Interchange 4.6.1. Bugs are fixed and deficiencies corrected
in each release of Interchange, as with almost any software.
2. Include relevant information where appropriate.
The operating system in question is often relevant, as
is the Perl version and database type in use.
3. When talking about tag problems, include a snippet of ITL
tags which illustrates the problem.
4. When posting about PGP, Glimpse, or anything else that
uses an external command, you need to state what happens
when you run the same thing from the command line.
5. Include error log entries or a statement that there
are none.
If a post to this list doesn't include the relevant information, not only
are you unlikely to get a reasonable answer, you will add to the volume of
the list and make it less likely that reasonable questions are answered.
All entries are archived and available via a web gateway. The
"X-No-Archive: Yes" header is honored if you choose to use it.
List etiquette issues:
-- No HTML mail is allowed. Besides being improper email netiquette,
it destroys the digest.
-- Please try to keep your line size less than 80 characters.
-- No PGP signatures should be used. This is not a legal record.
-- No flame wars are tolerated.
-- No "courtesy copies" unless specifically requested. It
can be annoying to some people to receive two copies of
the same message.
-- If you must munge, make sure you mention this in the
BODY of the message and not buried incomprehensibly in
the header or in a cluttered signature attachment.
-- The list changes the Reply-To: header to point to the
list. While this is by popular demand, it is recognized that it
is not always the best mode of operation. You should reply by email
directly to the sender if the post will not be of general use.
-- 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.
For more information see the Netiquette RFC:
http://www.faqs.org/rfcs/rfc1855.html
Thanks for your cooperation. We believe we have one of the best user
lists going, and we would like to keep it useful and pleasant to use.
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 28 09:21:00 2001
Subject: [ic] Updating Interchange Database Tables with a Form and required fields
Quoting bill@worldwideimpact.com (bill@worldwideimpact.com):
> How do I make certain fields required when 'Updating Interchange Database
> Tables with a Form'.
>
> I would like to make certain fields required and return a message to the
> user if they have left a field blank. I have tried using mv_order_profile
> but I can not get it to work. I can do this with a checkout page I just
> don't know how to do it when updating a database.
>
Can't do it with 4.6.x, but 4.7.x adds a new check cycle, mv_form_profile.
It operates the same way as an order profile, but happens before anything
else.
--
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 lists.akopia.com (Mike Heins)
Date: Thu Jun 28 09:23:01 2001
Subject: [ic] Trying to add products using non-numeric quantities...
Quoting Jeff Carnahan (jcarnahan@networq.com):
> I've found a similar problem when trying to add products using non-numeric
> quantities with the mv_order_item and mv_order_quantity mechanism.
>
> This concerns 4.6.5, I haven't looked at 4.7.x
>
> sub add_items in Order.pm properly creates @quantities, however later when
> it comes time to adding the specified quantity to the cart, it uses:
>
> $quantity = defined $quantities[$j] ? $quantities[$j] : 1;
>
> (Line #1779)
>
> So, if the user entered "1a" (as I did to test this) in mv_order_quantity,
> "1a" is assumed to be the price, since it meets the defined criteria.
>
> I think that after @quantities is determined, in order to remain consistent
> with 4.7.x's behavior of stripping non-numerics, Order.pm should:
>
> @quantities = map { if (/^=/) { s/\D//g; '=' . $_ } else { s/\D//g; $_ } }
> @quantities;
I will make a change like this in 4.7.x. 4.6.5 will just have to struggle
along....thanks for the suggestion.
--
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 lists.akopia.com (Roger Arnold)
Date: Thu Jun 28 09:32:01 2001
Subject: [ic] How can I download ver. 4.6.5 please because I am having problems
Roger Arnold wrote:
Hello All,
I have just rejoined this user list as I have decided to once again look
at Interchange.
Anyway I went to the download page and tried to download Ver.4.6.5,
however the download returned after about 36 bytes of download as a
finished file, that was with the tar file and the same thing happened
with the RH7 RPM file, just about 36 bytes.
Am I forgetting how to download or is there something wrong with the
RedHat site (the reason I left in the first place)?
If I am doing something foolish or stupid please inform me ASAP please?
Otherwise could someone please tell me how to obtain the latest version?
Thanks in advance
Regards
Roger
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Thu Jun 28 09:50:00 2001
Subject: [ic] SQL update queries in a [perl] tag
Russ Mann wrote:
>
> Hello List,
>
> I have a form taht sends the variable login_email to another page, with this
> code on it. The purpose is to update a persons username, since we encourage
> people to use their email addresses as their username.
>
> The problem is my SQL query. I've loaded $sql_req with all the proper query
> lines, but can't find a way to execute the query without breaking something.
>
> Any ideas would be great.
>
> Thanks,
>
> Russ
>
I believe the data tag called from embedded perl will fail if there is
no matching record. Thus, the !($Tag->data('userdb', 'username',
$login_email )) is doomed. Second, to allow writing, you should mark
your tables with [flag type=write table="my table list"]. Also, when
using embedded perl, you have access to many nice functions via the %Db
object. Try this:
[flag type=write tables="userdb ship_addresses transactions orderline"]
[perl tables="userdb ship_addresses transactions orderline"]
my @tables = (
"userdb",
"ship_addresses",
"transactions",
"orderline"
);
my $login_email = $Values->{login_email};
my $old_username = $Session->{username};
return "<b>$login_email</b> is the same as <b>$old_username</b>. No
update performed."
if $login_email eq $old_username;
unless ( $Db{userdb}->record_exists($login_email) ) {
# This may not be necessary since it's an email, but you should get
in the
# habit of always escaping your data!
my $f_login_email = $Tag->filter('sql',$login_email);
my $f_old_username = $Tag->filter('sql',$old_username);
foreach my $table(@tables) {
my $sql_req = <<EOP;
UPDATE $table
SET username = '$f_login_email'
WHERE username = '$f_old_username'
EOP
$Db{$table}->query($sql_req);
}
return <<EOP;
Your login email address has been changed to <b>$login_email</b>. You
will
need to <a href="[area login]">Login</a> again with your new address.
EOP
}
return <<EOP;
<b>$login_email</b> is already in use. If you have more than one
account with us, please email <a href="[area help/contact]">Customer
Service</a>
to get this resolved.
EOP
[/perl]
You do not need interpolate=1 in this or the vast majority of cases with
a perl tag.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Thu Jun 28 10:14:01 2001
Subject: [ic] Locale Pagedir
Quoting Barbara Picci (barbara.picci@sardi.it):
> hi,
>
> I have a problem with the internationalization of Interchange 4.6.5.
> I installed it succesfully, but I need to make a localization of it,
> using two languages: italian and english.
> I have set the use of two different database (I use the Interchange
> internal database: products.txt), and I use very well [L][/L] and
> [LC][/LC] and the Interchange server answers to [scratch mv_locale].
> All appear to go right, but I need to use two different directories for images.
> I have seen that I need to use ImageDir but it doesn't work.
>
> I have in catalog.cfg
>
> ## Set the image path for relative images
> ImageDir /construct/images/english/
> Locale en_US ImageDir /construct/images/english/
> Locale it_IT ImageDir /construct/images/italian/
I am puzzled by this. I have no problem at all getting it to work... are
you sure you are not setting ImageDir to something else in locale.txt?
Make sure these settings are *after* the line "LocaleDatabase locale".
--
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 lists.akopia.com (Russ Riggs)
Date: Thu Jun 28 10:16:01 2001
Subject: [ic] demo admin password
Does anyone know the passwords to access
the admin section of the demo store? I've
installed 4.6.5 and would like to muck around
with the database but am unable to locate
the password for the admin super user.
Thanks in advance....
rriggs..
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Thu Jun 28 10:50:00 2001
Subject: [ic] [L] and [LC] tag don't work
I've installed interchange 4.6.5, but when i use [L][/L] and [LC][/LC] tag,
they don't work.
[loc][/loc], instaed, works
Someone can give an answer to my question?
Maybe a bug.
In the previus version, 4.6.3, they work
Thanks stefano
From: interchange-users at lists.akopia.com (Bryan Napier)
Date: Thu Jun 28 11:07:01 2001
Subject: [ic] Setting up admin ui with manual installation
Well, I decided to answer my own question. DON'T DO A MANUAL INSTALLATION!
I have made makecat my friend.!
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Bryan
Napier
Sent: Tuesday, June 26, 2001 8:56 PM
To: interchange-users@developer.akopia.com
Subject: [ic] Setting up admin ui with manual installation
I have searched all over the mailing list and documentation and cannot find
out how to setup the administrative back-end to operate with a store that
was created per the instructions in the "Interchange Tutorial". When I try
to access http://localhost/cgi-bin/myhappylittlestore/admin/index all I am
greeted with is a 500 error. Apache's error.log only lists a "Premature end
of script header" and the stores error.log file has nothing written to it.
Am I missing some database files, or configuration options that need to be
set in order to get this to work?
BTW- I can access the construct something admin section without fail, so I
know that my perl config and apache config is cool.
Thanks!
--
Bryan Napier <bnapier@providicom.com>
Solution Developer, MCSD/MCSE/MCP+i
Providicom, LLC <http://www.providicom.com>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Thu Jun 28 11:25:00 2001
Subject: [ic] Locale Pagedir
At 12:04 PM 06/28/2001 +0200, you wrote:
>hi,
>
>I have a problem with the internationalization of Interchange 4.6.5.
>I installed it succesfully, but I need to make a localization of it, using
>two languages: italian and english.
>I have set the use of two different database (I use the Interchange
>internal database: products.txt), and I use very well [L][/L] and
>[LC][/LC] and the Interchange server answers to [scratch mv_locale].
>All appear to go right, but I need to use two different directories for
>images.
>I have seen that I need to use ImageDir but it doesn't work.
>
>I have in catalog.cfg
>
>## Set the image path for relative images
>ImageDir /construct/images/english/
>Locale en_US ImageDir /construct/images/english/
>Locale it_IT ImageDir /construct/images/italian/
>
>in this way the images can been shown, but, for the two languages, they
>are taken always from the default directory (english).
>In the result page images have both this path:
>/construct/images/english/navigation/
>
>If I instead use:
>
>## Set the image path for relative images
>ImageDir /construct/images/english/
>Locale en_US ImageDir english/
>Locale it_IT ImageDir italian/
>
>it ignores the default and locales the images but the images can't be
>shown because the directory is wrong.
>In the result pages infact images have this path:
>for italian --- italian/italian/navigation/
>for english --- english/english/navigation/
>It repeats twice the directory.
>
I don't think the ImageDir path should have a trailing "/". Also, is there
anything in your LocaleDatabase that might be overwriting your directives
in catalog.cfg?
- 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 lists.akopia.com (Barbara Picci)
Date: Thu Jun 28 11:32:00 2001
Subject: [ic] Locale Pagedir
hi,
Thanks very much for your help.
I have solved the problem.
I have added ImageDir in locale.txt for the separation of two languages.
And it works!
hi,
I have a problem with the internationalization of Interchange 4.6.5.
I installed it succesfully, but I need to make a localization of it,
using two languages: italian and english.
I have set the use of two different database (I use the Interchange
internal database: products.txt), and I use very well [L][/L] and
[LC][/LC] and the Interchange server answers to [scratch mv_locale].
All appear to go right, but I need to use two different directories for images.
I have seen that I need to use ImageDir but it doesn't work.
I have in catalog.cfg
## Set the image path for relative images
ImageDir /construct/images/english/
Locale en_US ImageDir /construct/images/english/
Locale it_IT ImageDir /construct/images/italian/
in this way the images can been shown, but, for the two languages,
they are taken always from the default directory (english).
In the result page images have both this path:
/construct/images/english/navigation/
If I instead use:
## Set the image path for relative images
ImageDir /construct/images/english/
Locale en_US ImageDir english/
Locale it_IT ImageDir italian/
it ignores the default and locales the images but the images can't be
shown because the directory is wrong.
In the result pages infact images have this path:
for italian --- italian/italian/navigation/
for english --- english/english/navigation/
It repeats twice the directory.
Can anyone help me?
From: interchange-users at lists.akopia.com (Jim Toro)
Date: Thu Jun 28 11:39:01 2001
Subject: [ic] Recent release notes.
Where can I get a release notes for IC. I mean something that lists
all changes for each new release as far back as possible ??
thanks.
------------------------------------------------------------------
House Of Files Internet - 516-938-2421 - http://www.hofweb.com
Specializing in E-Commerce and Access Database Web Sites
Serving Long Island's online community since 1985
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Thu Jun 28 11:44:01 2001
Subject: [ic] Updating Interchange Database Tables with a Form and
At 09:20 AM 06/28/2001 -0400, you wrote:
>Quoting bill@worldwideimpact.com (bill@worldwideimpact.com):
> > How do I make certain fields required when 'Updating Interchange Database
> > Tables with a Form'.
> >
> > I would like to make certain fields required and return a message to the
> > user if they have left a field blank. I have tried using mv_order_profile
> > but I can not get it to work. I can do this with a checkout page I just
> > don't know how to do it when updating a database.
> >
>
>Can't do it with 4.6.x, but 4.7.x adds a new check cycle, mv_form_profile.
>It operates the same way as an order profile, but happens before anything
>else.
That's good news! What I have done in earlier IC/MV versions is to just use
a "submit" action on the form - this makes it behave much like the checkout
page, which means that I can write a profile for validating fields and
returning errors. The profile contains a &fatal=yes, but no &final
setting, and I use
&set=mv_successpage some_page
to direct the browser to a special page when I get a good submission. On
that page (as you probably guessed) is something like:
[tag flag write]foo[/tag]
[seti wrote_data][import table=foo type=LINE continue=NOTES]
key: [value key]
field1: [value field1]
field2: [value field2]
...
[/import][/seti]
[if scratch wrote_data]
[bounce href="[area cofirmed_page]"]
[else]
[bounce href="[write_failed_page]"]
[/else]
[/if]
This works well for adding new data. I'm sure I will be corrected if I am
wrong here, but it seems I remember experimenting and finding that [import]
will update an existing record if you hand it an existing key... but don't
take this as the final word on that.
- Ed L.
>--
>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
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Jeff Carnahan)
Date: Thu Jun 28 12:50:01 2001
Subject: [ic] Trying to add products using non-numeric quantities...
} You want this w/o the if? I think you can write:
}
} @quantities = map { s/(^=)?\D/$1/g; $_ }
}
} or better:
}
} @quantities = map { s/[^\d=]//g; $_ }
}
} or maybe faster like:
}
} #delete unknown (==not 0-9,=) chars and map something(?):
} @quantities = map { tr/0-9=//cd; $_ }
}
The problem was, if the first character is an equals sign, ignore it and
strip all non-digits past that FIRST equals sign. ie: "=1=4" should be "=14"
Of course, that first equals sign is optional, and may not occur at any
other location, so "=1a1" should be "=11", "1a=14" should be "114", etc.
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Larry Caragay)
Date: Thu Jun 28 15:04:00 2001
Subject: FW: [ic] installation problems on Solaris 8
When I try to install Mysql on Solaris 8 I get the error.
bash-2.03# scripts/mysql_install_db
bash-2.03# chown -R mysql /usr/local/mysql
bash-2.03# chgrp -R mysql /usr/local/mysql
bash-2.03# bin/safe_mysqld --user-mysql &
[1] 3291
bash-2.03# Starting mysqld daemon with databases from
/usr/local/mysql-3.23.39-pc-solaris2.8-i386/data
Segmentation Fault - core dumped
010627 13:06:32 mysqld ended
is there something that Iam missing???
Thanks in advance..
Larry Caragay
larry@compwebtech.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Doug Alcorn)
Date: Thu Jun 28 16:59:00 2001
Subject: [ic] IC contractor list
I often see reqeusts for contractors to do IC programming. I know
there used to be a list of contractors with contact information. Has
this list gone away? Unless someone tells me not to, I will be
compiling a list to put up on my web server. If you are interested in
being listed, just send me your contact info. Include your
name/company name, phone number, snail mail address, email address,
and web address.
--
(__) 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 lists.akopia.com (David Bordas)
Date: Thu Jun 28 17:13:00 2001
Subject: [ic] Shop mailing list
Hi,
Just a little question :
i use akopia 4.6.5, and on construct exemple, when someone order he can
subscribe to mailing list.
If i'm the webmaster of the shop, how i can send a mailing to all subscriber
?
Thanks
David BORDAS
From: interchange-users at lists.akopia.com (Jason Ballou)
Date: Thu Jun 28 17:55:01 2001
Subject: [ic] FedEx Ground Rate Table Needed
Does anyone have a fairly recent comma delimited table
of fedex ground rates? Thanks.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (AJones!)
Date: Thu Jun 28 19:13:00 2001
Subject: [ic] A few questions...
Hope this is the correct place to ask a few questions.
Installed Interchange and have the demo store, the next
steps I want to take are as follows:
1- Changing the design/ look of the store.
How? Can't find html pages.
2- Must everything be done through the Admin
interface?
3- How can this be connected to Authorizenet?
That's it for now, I thank anyone in advance
for their assistance in the above!
AJ
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 19:49:01 2001
Subject: [ic] demo admin password
On Thu, 28 Jun 2001, Russ Riggs wrote:
RR>>Does anyone know the passwords to access
RR>>the admin section of the demo store? I've
RR>>installed 4.6.5 and would like to muck around
RR>>with the database but am unable to locate
RR>>the password for the admin super user.
You normally set this during the installation. If you didn't change it,
as I recall, it is set at 'password'. But, at my age, the memory is the
3rd thing to go and I may be wrong.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 19:50 PM:
Money is the root of all evils. Send $20 for more info...
----------------------------------------------------------------
This Linux System has been up 13 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 20:00:00 2001
Subject: [ic] IC contractor list
On 28 Jun 2001, Doug Alcorn wrote:
DA>>I often see reqeusts for contractors to do IC programming. I know
DA>>there used to be a list of contractors with contact information. Has
DA>>this list gone away? Unless someone tells me not to, I will be
DA>>compiling a list to put up on my web server. If you are interested in
DA>>being listed, just send me your contact info. Include your
DA>>name/company name, phone number, snail mail address, email address,
DA>>and web address.
I know that I am getting e-mails asking me to do that. I am a merchant
and don't have time to do installs. (Before my business took off, I
would have been happy to do the installs, but at that time I had never
seen IC (-: Now, I am too busy packing and shipping orders!)
However, I do have an IC server running on a 1.2 gHz computer with 512K
of RAM on a T-1 and I will be happy to provide hosting services,
including DNS service so that people can set their stores up and run
them. (They will need their own merchant account. They can use my
secure server, but browsers may complain about the different server.)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 19:55 PM:
So simple, a child could do it. (Child sold separately)
----------------------------------------------------------------
This Linux System has been up 14 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 20:04:01 2001
Subject: [ic] Shop mailing list
On Thu, 28 Jun 2001, David Bordas wrote:
DB>>Just a little question :
DB>>i use akopia 4.6.5, and on construct exemple, when someone order he can
DB>>subscribe to mailing list.
DB>>If i'm the webmaster of the shop, how i can send a mailing to all subscriber
That is totally external to IC. You will need to set up something like
MajorDomo or some other mailing list manager to do that.
Mailing lists are great for informing customers about upcoming sales,
new products and other things to get them to come back to the store.
If you are not planning on going through the work to set up a mailing
list manager, I suggest that you remove that section of the code from
checkout.html
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 20:00 PM:
I've got a mind like a.. a.. what's that thing called?
----------------------------------------------------------------
This Linux System has been up 14 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 28 20:10:00 2001
Subject: [ic] customer shipping for USPS question
At 06:27 AM 6/28/2001 +0000, you wrote:
>I loaded the construct demo and it works well, cool so far... very cool..
>the default shipping methods are UPS and International Surface,
>well I don't use UPS or International surface, I only use
>domestic USPS Priority Mail.
>So how do create a method so that it calculates the
>shipping based on quantity, say:
>charge $4.00 per each product ? or charge a flat rate of $4.00
>regardless of how many items are in the cart.
>I tried for hours to do this and no luck, I
>removed all the shipping methods from the admin menu
>under administration/shipping, and now want to create
>one from scratch that best will suit me, can anyone help ?
>Thanks!!!!!!!!!!
>Raymond
You might manually check the contents of your shipping.asc and make sure
everything is OK there too. It's format is well documented and easy to
learn, IMHO. The flatrate $4.00 would be short and sweet.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 28 20:22:00 2001
Subject: [ic] How can I download ver. 4.6.5 please because I am
At 11:36 PM 6/28/2001 +1000, you wrote:
>Roger Arnold wrote:
>
>Hello All,
>
>I have just rejoined this user list as I have decided to once again look
>at Interchange.
>Anyway I went to the download page and tried to download Ver.4.6.5,
>however the download returned after about 36 bytes of download as a
>finished file, that was with the tar file and the same thing happened
>with the RH7 RPM file, just about 36 bytes.
>
>Am I forgetting how to download or is there something wrong with the
>RedHat site (the reason I left in the first place)?
>If I am doing something foolish or stupid please inform me ASAP please?
>Otherwise could someone please tell me how to obtain the latest version?
>
>Thanks in advance
>Regards
>Roger
Dear Roger,
Thank you for your interest in Interchange, but I am afraid that you are
sorely mistaken. You first need to go to the nearest Wal-Mart and purchase
a copy of Interchange (it is bundled with "Internet for Dummies" and "How
to use the World Wide Web"). And what is this web site you keep talking
about!?!? If Interchange was freely available for download on the web,
then we would have to deal with all kinds of users who don't know how to
use FTP or HTTP to download files.
Please excuse my brief attempt at humor (I hope I haven't offended, like
last time).
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 28 20:28:01 2001
Subject: FW: [ic] installation problems on Solaris 8
At 12:04 PM 6/28/2001 -0700, you wrote:
>When I try to install Mysql on Solaris 8 I get the error.
>
>bash-2.03# scripts/mysql_install_db
>bash-2.03# chown -R mysql /usr/local/mysql
>bash-2.03# chgrp -R mysql /usr/local/mysql
>bash-2.03# bin/safe_mysqld --user-mysql &
>[1] 3291
>bash-2.03# Starting mysqld daemon with databases from
>/usr/local/mysql-3.23.39-pc-solaris2.8-i386/data
>Segmentation Fault - core dumped
>010627 13:06:32 mysqld ended
>
>is there something that Iam missing???
>
>Thanks in advance..
>
>Larry Caragay
>larry@compwebtech.com
The MySQL lists are great, you'll probably get a response if you post
there. The address is something like:
mysql-subscribe@lists.mysql.com
But I can't recall for sure.
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 20:29:59 2001
Subject: [ic] A few questions...
On Thu, 28 Jun 2001, AJones! wrote:
A>>1- Changing the design/ look of the store.
A>> How? Can't find html pages.
It's a different breed of cat. HTML pages are built on the fly, as
needed. They are being built through the use of IC tags and formed into
temporary HTML pages that are being fed to the users browser.
OTOH, you can construct conventional HTML pages to work in conjunction
with IC.
A>>2- Must everything be done through the Admin
A>>interface?
Nope! I do a LOT of my modifications with my favorite text editor, Joe.
Other mods are made using Jon Jensen's table editor, 'te'. Other mods
are done easier through the admin interface.
Take some time and learn what is in the various files and how they affect
the overall package. I suspect that you could probably maintain the
entire package without ever using the admin interface.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 20:05 PM:
Funny off-topic messages are always on-topic.
----------------------------------------------------------------
This Linux System has been up 14 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 20:32:00 2001
Subject: [ic] customer shipping for USPS question
On Thu, 28 Jun 2001, Dan B wrote:
DB>>You might manually check the contents of your shipping.asc and make sure
DB>>everything is OK there too. It's format is well documented and easy to
DB>>learn, IMHO. The flatrate $4.00 would be short and sweet.
That was my take, also. It should go very easily in the admin interface
- I would think.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 20:30 PM:
Efficiency takes time! Frugality: who can afford it?
----------------------------------------------------------------
This Linux System has been up 14 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 28 20:33:01 2001
Subject: [ic] A few questions...
At 07:01 PM 6/28/2001 -0400, you wrote:
>Hope this is the correct place to ask a few questions.
>
>Installed Interchange and have the demo store, the next
>steps I want to take are as follows:
>
>1- Changing the design/ look of the store.
> How? Can't find html pages.
>
>2- Must everything be done through the Admin
>interface?
>
>3- How can this be connected to Authorizenet?
>
>That's it for now, I thank anyone in advance
>for their assistance in the above!
>
>AJ
I highly recommend you read the documentation at:
http://interchange.redhat.com/cgi-bin/ic/dev/index.html?id=JEhdut6M
Specifically, the Tutorial guide would answer 1 and 2.
For #3, check out your eg/globalsub/authorizenet file, it has
instructions. Also, there have been several thousand pounds of
AuthorizeNet questions posted/answered, so check the mailing list archive
as well.
HTH,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 20:46:01 2001
Subject: [ic] FedEx Ground Rate Table Needed
On Thu, 28 Jun 2001, Jason Ballou wrote:
JB>>Does anyone have a fairly recent comma delimited table
JB>>of fedex ground rates? Thanks.
Mike says that 4.7 has a section on FedEx in it. I suspect that he is
referring to FedEx Air, while you are talking about the old RPS
Delivery which was bought by FedEx and has been renamed FedEx Ground.
FWIW, I signed up with them last fall. I got a very nice label printer
from them, for free, as well as a nice box of cookies.
I sent several test shipments with them. The delivery dates were always
late, either 1 or 2 days later. They were always delivered to the wrong
address. One package was a 12-pack of 12 ounce cans of Pepsi. It took
them several days to get it entered into their web page, and at that
time they entered it as 50 pounds and tracking information was totally
missing on that shipment.
While I was supposed to get a daily pick up, problems existed with
that. I was told that I could take my package to the local terminal and
I was provided an address. When I went there, no one knew what to do
with it, and I was advised to take it to a Package Plus, or Mailboxes,
Etc and have them ship it for me. They would, however take the package
in and send it somewhere else as a courtesy to me, which would add
several days to the transit time.
It's a very nice printer and I use it for my UPS shipments. The cookies
were quite good, too.
Your mileage may vary (and, I hope that it does!)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 20:35 PM:
90% of being smart is knowing what you're dumb at.
----------------------------------------------------------------
This Linux System has been up 14 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Thu Jun 28 20:48:00 2001
Subject: [ic] How can I download ver. 4.6.5 please because I am having
On Thu, 28 Jun 2001, Dan B wrote:
DB>>Please excuse my brief attempt at humor (I hope I haven't offended, like
DB>>last time).
Dan,
The only people that you are offending are the people that need to be
offended. The rest of us laugh so hard that we wet our pants (and,
that's why I sell diapers!)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Thursday, June 28, 2001 at 20:45 PM:
My last cow just died, so I won't need your bull anymore.
----------------------------------------------------------------
This Linux System has been up 14 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Mark Stosberg)
Date: Thu Jun 28 21:10:01 2001
Subject: [ic] "Missing special page" error after site move (answer wins RH t-shirt)
Hello,
I have an especially challenging Interchange puzzle to solve. The first
one of you that offers help that leads me to solve it wins a free
Red-Hat Interchange t-shirt (size XL, white, never worn, I pay
shipping.) Now on with the fun.
SHORT STORY
In summary, we moved our Minivend installation to what we think is a
nearly identical environment and we now get this error in the store logs
when we run the server:
"Runtime error: Missing special page: ../special_pages/missing". This is
when requesting a page known to exist-- so it can't find the page or the
missing page page.
LONG STORY
We're in the process of moving out Minivend 4.04a installation to a new
server. We've attempted to replicate the environment as closely as
possible. Both systems run FreeBSD 4.3 and paths,users and permissions
have all been kept exactly the same. (I think the numeric userid's
changed, but the usernames are all the same.).
The only significant difference, as far as we can tell, is that we
needed to change the configuration to work with "www2.server.com"
instead of "www.server.com"
Below are the diffs between the store catalog.cfg and the minivend.cfg
file-- These are the only things we changed from one installation to the
other. We've verified that the all the paths are [appear to be] correct.
in store/catalog.cfg:
3c3
< Variable SERVER_NAME www.server.com
---
> Variable SERVER_NAME www2.server.com
7c7
< Variable SECURE_SERVER www.server.com
---
> Variable SECURE_SERVER www2.server.com
12c12
< Variable SAMPLEURL http://www.server.com/store
---
> Variable SAMPLEURL http://www2.server.com/store
#########
in minivend.cfg:
< Catalog store /home/user/catalogs/ssp
www.server.com/cgi-bin/store.cgi
> Catalog store /home/user/catalogs/ssp www2.server.com/cgi-bin/store.cgi
So as you can see, none of the paths to pages changed. (We reality
checked that the paths still point to places with pages anyway.
You can still win the shirt if you have to ask me questions to solve the
problem. You can even win it if you already an employee of Red Hat.
Thank you very much for helping with this mystery!
-mark
http://mark.stosberg.com/
From: interchange-users at lists.akopia.com (Kyle Cook)
Date: Thu Jun 28 21:54:00 2001
Subject: [ic] "Missing special page" error after site move (answer
Mark,
Heres a quick thought, run makecat to make a new ('sample' or 'simple'?)
store, then see if it runs, if it does then compare your directory structures
etc.
PS I moved an MV3.15 w/ 100+ catalogs between 2 FreeBSD machines
just a few months ago. The MV move turned out to be the simplest part
of the move. ( DNS, sendmail, UID/GID matching, cronjobs .......)
PPS I don't really need the shirt, I heard it had some bugs still :-)
Kyle Cook
At 06:11 PM 6/28/01, you wrote:
>Hello,
>
>I have an especially challenging Interchange puzzle to solve. The first
>one of you that offers help that leads me to solve it wins a free
>Red-Hat Interchange t-shirt (size XL, white, never worn, I pay
>shipping.) Now on with the fun.
>
>SHORT STORY
>In summary, we moved our Minivend installation to what we think is a
>nearly identical environment and we now get this error in the store logs
>when we run the server:
>"Runtime error: Missing special page: ../special_pages/missing". This is
>when requesting a page known to exist-- so it can't find the page or the
>missing page page.
>
>LONG STORY
>We're in the process of moving out Minivend 4.04a installation to a new
>server. We've attempted to replicate the environment as closely as
>possible. Both systems run FreeBSD 4.3 and paths,users and permissions
>have all been kept exactly the same. (I think the numeric userid's
>changed, but the usernames are all the same.).
>
>The only significant difference, as far as we can tell, is that we
>needed to change the configuration to work with "www2.server.com"
>instead of "www.server.com"
>
>Below are the diffs between the store catalog.cfg and the minivend.cfg
>file-- These are the only things we changed from one installation to the
>other. We've verified that the all the paths are [appear to be] correct.
>
>in store/catalog.cfg:
>3c3
>< Variable SERVER_NAME www.server.com
>---
> > Variable SERVER_NAME www2.server.com
>7c7
>< Variable SECURE_SERVER www.server.com
>---
> > Variable SECURE_SERVER www2.server.com
>12c12
>< Variable SAMPLEURL http://www.server.com/store
>---
> > Variable SAMPLEURL http://www2.server.com/store
>#########
>
>in minivend.cfg:
>< Catalog store /home/user/catalogs/ssp
>www.server.com/cgi-bin/store.cgi
> > Catalog store /home/user/catalogs/ssp www2.server.com/cgi-bin/store.cgi
>
>So as you can see, none of the paths to pages changed. (We reality
>checked that the paths still point to places with pages anyway.
>
>You can still win the shirt if you have to ask me questions to solve the
>problem. You can even win it if you already an employee of Red Hat.
>
>Thank you very much for helping with this mystery!
>
> -mark
>
>http://mark.stosberg.com/
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jake Thompson)
Date: Thu Jun 28 22:03:01 2001
Subject: [ic] Simple, Matrix and Modular Options
Hi All,
I am using the latest of the 4.7.x branch from cvs. I have products that
would could use all the different types of options. So far, I have simple
options working without a problem. However, I cannot get modular options to
work correclty, and I can create matrix options, but I do not know how to
display them.
Are there examples or am I asking too soon in development for matrix and
modular. Any help getting these to work would be greatly appreciated.
Thanks,
Jake T.
From: interchange-users at lists.akopia.com (Dan B)
Date: Thu Jun 28 22:32:00 2001
Subject: [ic] "Missing special page" error after site move (answer
At 08:11 PM 6/28/2001 -0500, you wrote:
>Hello,
>
>I have an especially challenging Interchange puzzle to solve. The first
>one of you that offers help that leads me to solve it wins a free
>Red-Hat Interchange t-shirt (size XL, white, never worn, I pay
>shipping.) Now on with the fun.
>
>SHORT STORY
>In summary, we moved our Minivend installation to what we think is a
>nearly identical environment and we now get this error in the store logs
>when we run the server:
>"Runtime error: Missing special page: ../special_pages/missing". This is
>when requesting a page known to exist-- so it can't find the page or the
>missing page page.
Put a [bounce ...] call in ../special_pages/missing to the page which is
known to exist.
(That is such an ugly hack, you need to wear a brown paper bag before you
try it). :-)
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Craig Heim)
Date: Thu Jun 28 22:45:00 2001
Subject: [ic] Simple, Matrix and Modular Options
Jake,
I need the modular options to work correctly too, but have hit two
snags:
(1) When adding a modular option to an item, the Master Item
cannot be set to the newly added item. In effect, there is no way
to add modular options at all.
(2) The total amount of the item with modular options changes when
it is added to a shopping cart.
These are both on the bug list and I just traded some emails with
an Interchange developer who stated that there is a lot of work
to do on modular options. He called it a "top priority" -- sounds
good to me.
-Craig
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jake
> Thompson
> Sent: Thursday, June 28, 2001 9:57 PM
> To: interchange-users@developer.akopia.com
> Subject: [ic] Simple, Matrix and Modular Options
>
>
> Hi All,
> I am using the latest of the 4.7.x branch from cvs. I have products that
> would could use all the different types of options. So far, I have simple
> options working without a problem. However, I cannot get modular
> options to
> work correclty, and I can create matrix options, but I do not know how to
> display them.
>
> Are there examples or am I asking too soon in development for matrix and
> modular. Any help getting these to work would be greatly appreciated.
>
> Thanks,
> Jake T.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jake Thompson)
Date: Thu Jun 28 23:06:00 2001
Subject: [ic] Simple, Matrix and Modular Options
Keeping my fingers crossed...
-----Original Message-----
From: Craig Heim [mailto:craig@cellarcinemas.com]
Sent: Thursday, June 28, 2001 10:46 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Simple, Matrix and Modular Options
Jake,
I need the modular options to work correctly too, but have hit two
snags:
(1) When adding a modular option to an item, the Master Item
cannot be set to the newly added item. In effect, there is no way
to add modular options at all.
(2) The total amount of the item with modular options changes when
it is added to a shopping cart.
These are both on the bug list and I just traded some emails with
an Interchange developer who stated that there is a lot of work
to do on modular options. He called it a "top priority" -- sounds
good to me.
-Craig
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jake
> Thompson
> Sent: Thursday, June 28, 2001 9:57 PM
> To: interchange-users@developer.akopia.com
> Subject: [ic] Simple, Matrix and Modular Options
>
>
> Hi All,
> I am using the latest of the 4.7.x branch from cvs. I have products that
> would could use all the different types of options. So far, I have simple
> options working without a problem. However, I cannot get modular
> options to
> work correclty, and I can create matrix options, but I do not know how to
> display them.
>
> Are there examples or am I asking too soon in development for matrix and
> modular. Any help getting these to work would be greatly appreciated.
>
> Thanks,
> Jake T.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Jason Ballou)
Date: Thu Jun 28 23:59:03 2001
Subject: [ic] FedEx Ground Rate Table Needed
I've received shipments through FedEx Ground here and
there over the past few months without any real
problems, then again I could literally sit here typing
for the next 72 hours describing problems that I've
had with UPS. My main interest with FedEx Ground is
that they are cheaper than UPS and actually accept
cash for COD shipments. Also, normal FedEx COD
shipments are not charged if the shipment is refused
and I'm hoping that this will prove true with FedEx
Ground as well. I guess I'll have to put together a
rate table, I'll post it when I get a chance in case
anyone is interested. And I didn't get a free
printer... guess I'll have to call see how many people
I can get transfered to tomorrow.
Also, I have never added a new table to Interchange
and my experience is fairly limited, what would it
entail?
Jason
--- Jim Balcom <jim@idk-enterprises.com> wrote:
> On Thu, 28 Jun 2001, Jason Ballou wrote:
>
> JB>>Does anyone have a fairly recent comma delimited
> table
> JB>>of fedex ground rates? Thanks.
>
> Mike says that 4.7 has a section on FedEx in it. I
> suspect that he is
> referring to FedEx Air, while you are talking about
> the old RPS
> Delivery which was bought by FedEx and has been
> renamed FedEx Ground.
>
> FWIW, I signed up with them last fall. I got a very
> nice label printer
> from them, for free, as well as a nice box of
> cookies.
>
> I sent several test shipments with them. The
> delivery dates were always
> late, either 1 or 2 days later. They were always
> delivered to the wrong
> address. One package was a 12-pack of 12 ounce cans
> of Pepsi. It took
> them several days to get it entered into their web
> page, and at that
> time they entered it as 50 pounds and tracking
> information was totally
> missing on that shipment.
>
> While I was supposed to get a daily pick up,
> problems existed with
> that. I was told that I could take my package to the
> local terminal and
> I was provided an address. When I went there, no one
> knew what to do
> with it, and I was advised to take it to a Package
> Plus, or Mailboxes,
> Etc and have them ship it for me. They would,
> however take the package
> in and send it somewhere else as a courtesy to me,
> which would add
> several days to the transit time.
>
> It's a very nice printer and I use it for my UPS
> shipments. The cookies
> were quite good, too.
>
> Your mileage may vary (and, I hope that it does!)
>
> -= Jim =-
>
>
----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Thursday, June 28, 2001 at 20:35 PM:
> 90% of being smart is knowing what you're dumb at.
>
>
----------------------------------------------------------------
> This Linux System has been up 14 hours
>
> My web page: http://www.idk-enterprises.com
>
----------------------------------------------------------------
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
>
http://lists.akopia.com/mailman/listinfo/interchange-users
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Mark Stosberg)
Date: Fri Jun 29 00:26:01 2001
Subject: [ic] "Missing special page" error after site move (answer wins
On Thu, 28 Jun 2001, Kyle Cook wrote:
> Mark,
>
> Heres a quick thought, run makecat to make a new ('sample' or 'simple'?)
> store, then see if it runs, if it does then compare your directory structures
> etc.
Kyle,
You may be the winner. I got "simple" to install from makecat, so I may be
on the path to success. I'm going to "diff" the two directories in the
morning and see if I can find the crucial difference. Thanks for the
suggestion!
-mark
>
> PS I moved an MV3.15 w/ 100+ catalogs between 2 FreeBSD machines
> just a few months ago. The MV move turned out to be the simplest part
> of the move. ( DNS, sendmail, UID/GID matching, cronjobs .......)
>
> PPS I don't really need the shirt, I heard it had some bugs still :-)
>
> Kyle Cook
>
>
> At 06:11 PM 6/28/01, you wrote:
>
> >Hello,
> >
> >I have an especially challenging Interchange puzzle to solve. The first
> >one of you that offers help that leads me to solve it wins a free
> >Red-Hat Interchange t-shirt (size XL, white, never worn, I pay
> >shipping.) Now on with the fun.
> >
> >SHORT STORY
> >In summary, we moved our Minivend installation to what we think is a
> >nearly identical environment and we now get this error in the store logs
> >when we run the server:
> >"Runtime error: Missing special page: ../special_pages/missing". This is
> >when requesting a page known to exist-- so it can't find the page or the
> >missing page page.
> >
> >LONG STORY
> >We're in the process of moving out Minivend 4.04a installation to a new
> >server. We've attempted to replicate the environment as closely as
> >possible. Both systems run FreeBSD 4.3 and paths,users and permissions
> >have all been kept exactly the same. (I think the numeric userid's
> >changed, but the usernames are all the same.).
> >
> >The only significant difference, as far as we can tell, is that we
> >needed to change the configuration to work with "www2.server.com"
> >instead of "www.server.com"
> >
> >Below are the diffs between the store catalog.cfg and the minivend.cfg
> >file-- These are the only things we changed from one installation to the
> >other. We've verified that the all the paths are [appear to be] correct.
> >
> >in store/catalog.cfg:
> >3c3
> >< Variable SERVER_NAME www.server.com
> >---
> > > Variable SERVER_NAME www2.server.com
> >7c7
> >< Variable SECURE_SERVER www.server.com
> >---
> > > Variable SECURE_SERVER www2.server.com
> >12c12
> >< Variable SAMPLEURL http://www.server.com/store
> >---
> > > Variable SAMPLEURL http://www2.server.com/store
> >#########
> >
> >in minivend.cfg:
> >< Catalog store /home/user/catalogs/ssp
> >www.server.com/cgi-bin/store.cgi
> > > Catalog store /home/user/catalogs/ssp www2.server.com/cgi-bin/store.cgi
> >
> >So as you can see, none of the paths to pages changed. (We reality
> >checked that the paths still point to places with pages anyway.
> >
> >You can still win the shirt if you have to ask me questions to solve the
> >problem. You can even win it if you already an employee of Red Hat.
> >
> >Thank you very much for helping with this mystery!
> >
> > -mark
> >
> >http://mark.stosberg.com/
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
http://mark.stosberg.com/
From: interchange-users at lists.akopia.com (Barbara Picci)
Date: Fri Jun 29 04:49:01 2001
Subject: [ic] simple, barry and basic
hi,
I use interchange 4.6.5 demo and I configure the construct catalog.
Now I would like to configure another type of catalog.
I have read the manual of Interchange Installation that tells about
three types of catalog: simple, basic and barry.
But in my demo exists only construct...
Can anyone tell me where can I find these other catalogs?
Thanks
From: interchange-users at lists.akopia.com (Stefano Nota)
Date: Fri Jun 29 05:08:00 2001
Subject: [ic] simple, barry and basic
ftp://ftp.minivend.com/pub/interchange/demos/
Download it an the put in the interchange dir
-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di
Barbara Picci
Inviato: venerdė 29 giugno 2001 10.53
A: interchange-users@developer.akopia.com
Oggetto: [ic] simple, barry and basic
hi,
I use interchange 4.6.5 demo and I configure the construct catalog.
Now I would like to configure another type of catalog.
I have read the manual of Interchange Installation that tells about
three types of catalog: simple, basic and barry.
But in my demo exists only construct...
Can anyone tell me where can I find these other catalogs?
Thanks
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Barbara Picci)
Date: Fri Jun 29 05:16:01 2001
Subject: [ic] simple, barry and basic
>ftp://ftp.minivend.com/pub/interchange/demos/
>
>Download it an the put in the interchange dir
Many thanks
I've found it
ciao Barbara
>
>-----Messaggio originale-----
>Da: interchange-users-admin@developer.akopia.com
>[mailto:interchange-users-admin@developer.akopia.com]Per conto di
>Barbara Picci
>Inviato: venerdė 29 giugno 2001 10.53
>A: interchange-users@developer.akopia.com
>Oggetto: [ic] simple, barry and basic
>
>
>hi,
>
>I use interchange 4.6.5 demo and I configure the construct catalog.
>Now I would like to configure another type of catalog.
>I have read the manual of Interchange Installation that tells about
>three types of catalog: simple, basic and barry.
>But in my demo exists only construct...
>
>Can anyone tell me where can I find these other catalogs?
>
>Thanks
>
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Salvador Caballe)
Date: Fri Jun 29 05:55:01 2001
Subject: [ic] simple, barry and basic
On Fri, 29 Jun 2001 10:52:52 +0200
Barbara Picci <barbara.picci@sardi.it> wrote:
>
>
> Can anyone tell me where can I find these other catalogs?
>
> Thanks
>
From: Salvador Caballe <scm@apdo.com>
To: interchange-users@developer.akopia.com
Date: Mon, 28 May 2001 20:22:36 +0200
Subject: Re: [ic] Additional Templates
----
look at:
ftp://ftp.minivend.com/pub/interchange/demos/
From: interchange-users at lists.akopia.com (Garry)
Date: Fri Jun 29 06:17:00 2001
Subject: [ic] A few questions...
I believe the pages are made up from templates in the templates folder -
each one is named to correspond to an area of a page.
I used an HTML page editor to change them at first, but that made a mess of
them, so then I used a very basic editor and did everything in html - I
tried my changes first using the web editor to see what I wanted and where
to change it. The made the actual alteration in the basic editor - it has
worked well.
Wherever possible I use the admin interface to avoid getting confused, but
when I cannot change the bit I really need to I go looking for it elsewhere
in the folders.
Gaz
----- Original Message -----
From: "AJones!" <ajones@alternic.org>
To: <interchange-users@developer.akopia.com>
Sent: Friday, June 29, 2001 12:01 AM
Subject: [ic] A few questions...
> Hope this is the correct place to ask a few questions.
>
> Installed Interchange and have the demo store, the next
> steps I want to take are as follows:
>
> 1- Changing the design/ look of the store.
> How? Can't find html pages.
>
> 2- Must everything be done through the Admin
> interface?
>
> 3- How can this be connected to Authorizenet?
>
> That's it for now, I thank anyone in advance
> for their assistance in the above!
>
> AJ
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Steffen Dettmer)
Date: Fri Jun 29 06:26:00 2001
Subject: [ic] Trying to add products using non-numeric quantities...
* Jeff Carnahan wrote on Thu, Jun 28, 2001 at 09:51 -0700:
> } You want this w/o the if? I think you can write:
> }
> } @quantities = map { s/(^=)?\D/$1/g; $_ }
> }
> } or better:
> }
> } @quantities = map { s/[^\d=]//g; $_ }
> }
> } or maybe faster like:
> }
> } #delete unknown (==not 0-9,=) chars and map something(?):
> } @quantities = map { tr/0-9=//cd; $_ }
> }
>
> The problem was, if the first character is an equals sign,
> ignore it and strip all non-digits past that FIRST equals sign.
> ie: "=1=4" should be "=14"
You mean, ignore any "=" except the first?
> Of course, that first equals sign is optional, and may not
> occur at any other location, so "=1a1" should be "=11", "1a=14"
> should be "114", etc.
I see, not trivial... Let's try:
"m/^(=)?/, tr/0-9//cd, $_ = $1 . $_" as expression
in out
=1=4 =14
1=4 14
=1a1 =11
1a=14 114
=1a=14 =114
=1=2= =12
Tested with:
perl -e '$_ = $ARGV[0];
m/^(=)?/, tr/0-9//cd, $_ = $1 . $_;
print "$_\n";' =1=2=
(for you copy and paste test)
Well, very similar to your thing, maybe not so nice to read,
maybe a little faster but I think nearly the same :) Sorry, but I
missed the requirements first :)
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.
From: interchange-users at lists.akopia.com (Conte Renier)
Date: Fri Jun 29 07:33:03 2001
Subject: [ic] how to unsubscribe HELP HELP HELP
I WOULD LIKE TO UNSUBSCRIBE
TO THIS MAILING LIST
I DON'T REMEMBER MY PASS
UNSUBSCRIBE ME PLEASE...
30 MAIL A DAY .. ARE TOOO MUTCH
HELP HELP
CONTERENIER@LIBERO.IT
THANKS TO EVERYBODY
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Fri Jun 29 07:56:01 2001
Subject: [ic] how to unsubscribe HELP HELP HELP
Use the EDIT OPTIONS part of the
http://lists.akopia.com/mailman/listinfo/interchange-users page (insert your
e-mail address and press the button)
René
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Conte
> Renier
> Sent: 29 June 2001 14:37
> To: interchange-users@developer.akopia.com
> Subject: [ic] how to unsubscribe HELP HELP HELP
>
>
> I WOULD LIKE TO UNSUBSCRIBE
> TO THIS MAILING LIST
>
> I DON'T REMEMBER MY PASS
>
> UNSUBSCRIBE ME PLEASE...
>
>
> 30 MAIL A DAY .. ARE TOOO MUTCH
>
> HELP HELP
>
>
> CONTERENIER@LIBERO.IT
>
>
> THANKS TO EVERYBODY
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 29 08:24:00 2001
Subject: [ic] FedEx Ground Rate Table Needed
On Thu, 28 Jun 2001, Jason Ballou wrote:
JB>>I've received shipments through FedEx Ground here and
JB>>there over the past few months without any real
JB>>problems, then again I could literally sit here typing
JB>>for the next 72 hours describing problems that I've
JB>>had with UPS.
Oh! UPS is certainly not error free! They've got a million ways to
nickel and dime you. They've been hitting me with $50 penalties for
oversize boxes, when the boxes are well within the limits. At the
moment I'm shipping everything through the Post Office and it has made
UPS sit up and take notice! However, it took USPS 3 days to get an
Express Mail package delivered this week and a Priority Mail package
that was shipped last week has gone missing.
JB>> My main interest with FedEx Ground is
JB>>that they are cheaper than UPS and actually accept
JB>>cash for COD shipments. Also, normal FedEx COD
JB>>shipments are not charged if the shipment is refused
JB>>and I'm hoping that this will prove true with FedEx
JB>>Ground as well.
If you can get the FedEx Ground service to work well for you then I'll
look into it again.
Last fall when I was testing them, they were using the same rates as
UPS. There was no difference in the prices. I've not compared rates
since both companies did a price increase in February.
JB>>Also, I have never added a new table to Interchange
JB>>and my experience is fairly limited, what would it
JB>>entail?
Just follow the various instructions that have been posted for adding
Priority Mail.
For starters, I would simply copy over all of the files that make up
the UPS Ground stuff and call the method something like fedexg. For the
moment I would use the UPS Ground rate chart renamed to FedExGround.
Once you get it going, you can then go in and put in the correct rates,
if they are not there already.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 29, 2001 at 08:10 AM:
He's dead, Jim. Get his ears! - Spock
----------------------------------------------------------------
This Linux System has been up 26 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Fri Jun 29 08:27:00 2001
Subject: [ic] simple, barry and basic
On Fri, 29 Jun 2001, Barbara Picci wrote:
BP>>I use interchange 4.6.5 demo and I configure the construct catalog.
BP>>Now I would like to configure another type of catalog.
BP>>I have read the manual of Interchange Installation that tells about
BP>>three types of catalog: simple, basic and barry.
BP>>But in my demo exists only construct...
BP>>
BP>>Can anyone tell me where can I find these other catalogs?
You need to download an earlier version of Interchange. Version 4.5.5
had them.
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Friday, June 29, 2001 at 08:25 AM:
A Smith & Wesson *ALWAYS* beats 4 Aces.
----------------------------------------------------------------
This Linux System has been up 26 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Alexander Welti)
Date: Fri Jun 29 08:42:03 2001
Subject: [ic] will interchange fulfill these requirements?
Hello at mailinglist of Interchange!
Currently we are evaluating the platform Akopia Interchange
(referred as ic further below) whether it suits our needs.
As our branch offices all reside in Europe our focus is on
multilanguage, multiregional(country) and multicurrency (including
the euro dollar) support.
I would greatly appreciate some short comments/statements to my
questions below and an estimation of expense(how/where to hook in)
to extend functionality if a feature is not implemented yet.
thanks in advance and
best regards
Alexander Welti
--
Alexander Welti -- mailto:alexander.welti@ucpag.com
research & development -- UNIVERSAL COMMUNICATION PLATFORM AG
fix: +43-5574-76900, fax +43-5574-76900-99
fon/sms: +43-676-6688640 (vpn 640)
snail: achpark, dammstr. 4, a-6923 lauterach, austria
------------------------------------------------------------------------
--
Requirements Catalog
- giving our branch offices control of their regional
products, is it possible to have multiple administrative
user accounts each responsible for a certain set of products
(and only these products) for their region apart from
general articles offered in all countries?
- if not, what is a proposed solution (having multiple
installations for each region/subcatalogs/...)
- is it possible to have region based skins/appearances of
the same shop instance for different regions (based on
country/language p.ex. svitzerland where we have 3 languages
spoken in one country)?
- can ic handle different currencies?
- is ic capable of the euro-dollar (i.e. can store the
currency of the country and the corresponding value in euro?
- is it possible to have different products in different
countries; depending on the user (coming from i.e. great
britain) only sees products offered for his country (gb)
and the general ones applying to all countries?
- is it possible to have one product but different prices
for different countries (based upon a maintainable currency/country
table)?
- is there multi language support for the customer /
administrative user? (at least we should have english and german for the
customer)
- is there a defined import interface to create ic-clients in the ic
database from existing clients out of our database?
- is there a defined import interface to create ic-products in the ic
database from our existing products?
- what about the interaction with external inventory/shipment operators?
(inventory control, keeping a minimum piece of articles in store,
delivery
status)
- in general the dataflow between ic and the inventory?
- do you have support for popular payment systems in europe (apart
from "credit card", "on delivery") like paybox, bankomax, paysafecard,
... ?
- is there a standardized client dunning process (email templates for
first reminder, etc.) when payment type is on delivery
- how do you handle reclamations and handle coupons upon admittance?
------------------------------------------------------------------------
--
From: interchange-users at lists.akopia.com (Russ Riggs)
Date: Fri Jun 29 09:24:01 2001
Subject: [ic] demo admin password
Thanks. I found it by installing the software on another linux
box i have here at the office. By the way, your memory is
almost perfect....password is 'pass'....and I know what you
mean about memory....I turned 49 two days ago and I can't
remember squat anymore!
Russ....
Jim Balcom wrote:
> On Thu, 28 Jun 2001, Russ Riggs wrote:
>
> RR>>Does anyone know the passwords to access
> RR>>the admin section of the demo store? I've
> RR>>installed 4.6.5 and would like to muck around
> RR>>with the database but am unable to locate
> RR>>the password for the admin super user.
>
> You normally set this during the installation. If you didn't change it,
> as I recall, it is set at 'password'. But, at my age, the memory is the
> 3rd thing to go and I may be wrong.
>
> -= Jim =-
>
> ----------------------------------------------------------------
> Jim's Linux-Operated Underground Bomb Shelter
>
> Tagline for Thursday, June 28, 2001 at 19:50 PM:
> Money is the root of all evils. Send $20 for more info...
>
> ----------------------------------------------------------------
> This Linux System has been up 13 hours
>
> My web page: http://www.idk-enterprises.com
> ----------------------------------------------------------------
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Dave Jenkins)
Date: Fri Jun 29 09:44:00 2001
Subject: [ic] will interchange fulfill these requirements?
Alexander Welti wrote:
<snip>
>
> Requirements Catalog
>
> - giving our branch offices control of their regional
> products, is it possible to have multiple administrative
> user accounts each responsible for a certain set of products
> (and only these products) for their region apart from
> general articles offered in all countries?
Yes. One installation of Interchange can run multiple catalogs. It can
also pull from multiple product tables within one database. You could
have a table of global products, and then separate tables for each
country/language.
The access part of administration may take some customization, but each
branch office could be given control of their separate product lines.
>
> - if not, what is a proposed solution (having multiple
> installations for each region/subcatalogs/...)
>
> - is it possible to have region based skins/appearances of
> the same shop instance for different regions (based on
> country/language p.ex. svitzerland where we have 3 languages
> spoken in one country)?
Yes. Here again, one can use a combination of the <LOC> tags to set
parameters and directories that determine which templates are displayed
in the website. The user can determine their preferred set at the
homepage (select language).
> - can ic handle different currencies?
Yes. There is plenty of documentation on this at
http://interchange.redhat.com
> - is ic capable of the euro-dollar (i.e. can store the
> currency of the country and the corresponding value in euro?
Yes. That may take some specific programming, but it is possible.
> - is it possible to have different products in different
> countries; depending on the user (coming from i.e. great
> britain) only sees products offered for his country (gb)
> and the general ones applying to all countries?
Yes. See the note above about multiple catalogs or multiple product
tables within one database.
> - is it possible to have one product but different prices
> for different countries (based upon a maintainable currency/country
> table)?
Tricky, but yes. Expand your product table in the database to include
fields for all the different currencies. Then, make sure to call the
right field by using the <LOC> tag in your pages and scripts.
> - is there multi language support for the customer /
> administrative user? (at least we should have english and german for the
> customer)
You're in luck. English and German are the two strongest languages for
the Admin interface. (Others will be coming soon!)
> - is there a defined import interface to create ic-clients in the ic
> database from existing clients out of our database?
Not exactly. What format is your current customer database? It is
certainly possible to import them, but there is no easy 'point-and-click
wizard' for that. Many people have imported old customer Db, so it is
doable.
> - is there a defined import interface to create ic-products in the ic
> database from our existing products?
Here again, what kind of database do you currently use?
> - what about the interaction with external inventory/shipment operators?
> (inventory control, keeping a minimum piece of articles in store,
> delivery
> status)
Yes, yes, and yes. Interchange provides very strong inventory control
routines. Interchange can also alert you when inventory reaches a
certain level. Interchange also allows for quick updates on delivery
status-- either manually through the admin interface, or by direct
connection to your fulfillment house systems (requires some custom
programming).
> - in general the dataflow between ic and the inventory?
? Please be more specific.
>
> - do you have support for popular payment systems in europe (apart
> from "credit card", "on delivery") like paybox, bankomax, paysafecard,
> ... ?
It should certainly be possible. I hope one of the European-based
developers can answer that for you.
> - is there a standardized client dunning process (email templates for
> first reminder, etc.) when payment type is on delivery
Templates can be configured easily enough. I'm not sure if there are
existing templates already.
> - how do you handle reclamations and handle coupons upon admittance?
Coupons can be set up in many different ways: separate SKUs (with
special prices), as flags that modify basket total cost, percentages,
absolute dollar amounts, etc. Here again, please try searching for
'Coupons' at http://interchange.redhat.com
Red Hat Professional Services stands ready to assist in your custom
programming and configuration needs. We have many talented programmers
here on staff, and would welcome an opportunity to work with you on this
project.
Thanks,
Dave
From: interchange-users at lists.akopia.com (Ed LaFrance)
Date: Fri Jun 29 11:40:00 2001
Subject: [ic] "Missing special page" error after site move (answer
At 08:11 PM 06/28/2001 -0500, you wrote:
>Hello,
>
>I have an especially challenging Interchange puzzle to solve. The first
>one of you that offers help that leads me to solve it wins a free
>Red-Hat Interchange t-shirt (size XL, white, never worn, I pay
>shipping.) Now on with the fun.
>
>SHORT STORY
>In summary, we moved our Minivend installation to what we think is a
>nearly identical environment and we now get this error in the store logs
>when we run the server:
>"Runtime error: Missing special page: ../special_pages/missing". This is
>when requesting a page known to exist-- so it can't find the page or the
>missing page page.
In Minivend, the 'special' pages were located in yourcat/pages/special. In
Interchange, they were relocated to yourcat/special_pages. The SpecialPage
directive is still relative to the pages directory, so assuming you ported
your old catalog.cfg to IC, and you want to use the 'new' missing.html
page, you would need to change:
SpecialPage missing special/missing
to:
SpecialPage missing ../special_pages/missing
Send the shirt to Shaq with my regards, I could make a jumpsuit out of an
XL and still have material left over :-)
- Ed L.
>LONG STORY
>We're in the process of moving out Minivend 4.04a installation to a new
>server. We've attempted to replicate the environment as closely as
>possible. Both systems run FreeBSD 4.3 and paths,users and permissions
>have all been kept exactly the same. (I think the numeric userid's
>changed, but the usernames are all the same.).
>
>The only significant difference, as far as we can tell, is that we
>needed to change the configuration to work with "www2.server.com"
>instead of "www.server.com"
>
>Below are the diffs between the store catalog.cfg and the minivend.cfg
>file-- These are the only things we changed from one installation to the
>other. We've verified that the all the paths are [appear to be] correct.
>
>in store/catalog.cfg:
>3c3
>< Variable SERVER_NAME www.server.com
>---
> > Variable SERVER_NAME www2.server.com
>7c7
>< Variable SECURE_SERVER www.server.com
>---
> > Variable SECURE_SERVER www2.server.com
>12c12
>< Variable SAMPLEURL http://www.server.com/store
>---
> > Variable SAMPLEURL http://www2.server.com/store
>#########
>
>in minivend.cfg:
>< Catalog store /home/user/catalogs/ssp
>www.server.com/cgi-bin/store.cgi
> > Catalog store /home/user/catalogs/ssp www2.server.com/cgi-bin/store.cgi
>
>So as you can see, none of the paths to pages changed. (We reality
>checked that the paths still point to places with pages anyway.
>
>You can still win the shirt if you have to ask me questions to solve the
>problem. You can even win it if you already an employee of Red Hat.
>
>Thank you very much for helping with this mystery!
>
> -mark
>
>http://mark.stosberg.com/
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.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 lists.akopia.com (Mike Heins)
Date: Fri Jun 29 12:14:01 2001
Subject: [ic] Simple, Matrix and Modular Options
Quoting Jake Thompson (JThompson@ztechnet.com):
> Hi All,
> I am using the latest of the 4.7.x branch from cvs. I have products that
> would could use all the different types of options. So far, I have simple
> options working without a problem. However, I cannot get modular options to
> work correclty, and I can create matrix options, but I do not know how to
> display them.
This is a bug in the variant creator. You need to have o_enable set
in the options table; so if you do:
UPDATE options
SET o_enable = 1
WHERE sku = 'your_sku'
AND code like 'your_sku%'
that should allow display.
>
> Are there examples or am I asking too soon in development for matrix and
> modular. Any help getting these to work would be greatly appreciated.
I am starting work on these prior to release of 4.8, so expect some
improvement soon. We have already added a new mode where you can select
the matrix options via a combination of individual option selects instead
of one with all.
--
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 lists.akopia.com (Roger Arnold)
Date: Fri Jun 29 12:35:00 2001
Subject: [ic] Starting interchange on RH7.1 server failing
Roger Arnold wrote:
Hello All,
I am a newbie (still) and have just installed the RPM 4.6.5 version of
interchange (rh7 version) and all seemed to go fine.
I then tried to access the demo catalog under localhost and the page
displayed all right, but I was unable to go any further.
On the web page it states that if this happens it is probably because
the interchange server has probably not been started.
I then went to /etc/rc.d/init.d and started the server (I thought)
however I still could go no further in the demo catalog, so I went back
to /etc/rc.d/init.d and tried to stop the server, prior to starting it
again.
When I executed /etc/rc.d/init.d/interchange stop, I received the result
of "Failed" however when then executing /etc/rc.d/init.d/interchange
start, I get a result of "OK".
Exactly the same happens using the restart command, i.e. Failed and OK,
this indicates to me (a newbie) that Interchange is not actually
starting even though it says it is.
Could someone please give me some clues as to what would be stopping it
from starting, and what I may do to fix the problem?
I am running RedHat 7.1 on a Pentium II machine, 128 MB Ram and 10 Gig
Hard drive.
Thanks in advance for any and all help, it will be much appreciated
Regards
Roger
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Fri Jun 29 12:37:00 2001
Subject: [ic] [include] in [list]
How do I do something like this:
[query
interpolate=0
table=prices
list=1
more=1
ml=10
st=sql
sql=|__SQL_SELECT_ITEMS__|
]
[list]
[sql-alternate 2]
DO SOME STUFF
[else]
DO SOME OTHER STUFF
[/else]
[/sql-alternate]
[include ../htdocs/ic/featured_item.html]
[/list]
[/query]
featured_item.html contains stuff like this:
[sql-param itemid] [sql-param title]...
I want to use the stuff in the file featured_item.html on other pages in
the site. If I set interpolate=1 in the query tag the include works but
the sql-alternate does not.
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Fri Jun 29 13:19:01 2001
Subject: [ic] Starting interchange on RH7.1 server failing
Quoting Roger Arnold
> When I executed /etc/rc.d/init.d/interchange stop, I received the result
> of "Failed" however when then executing /etc/rc.d/init.d/interchange
> start, I get a result of "OK".
> Exactly the same happens using the restart command, i.e. Failed and OK,
> this indicates to me (a newbie) that Interchange is not actually
> starting even though it says it is.
>
> Could someone please give me some clues as to what would be stopping it
> from starting, and what I may do to fix the problem?
> I am running RedHat 7.1 on a Pentium II machine, 128 MB Ram and 10 Gig
> Hard drive.
Look at the error logs in /var/log/interchange and
/path_to_cat/catalogs/your_cat
Good luck!
Curt Hauge
From: interchange-users at lists.akopia.com (Ken Douglas)
Date: Fri Jun 29 14:00:00 2001
Subject: [ic] Directory Question
How can I customize the names of directories of
foundation demo files. I want like this
http://domain/cgi-bin/some.cgi and other directories
like http://domain/some/images. I looked at ftp for
demos I cannot found foundation demo. Also in the
akopia's demo page the URLs there is no cgi files just
html files. How this is done?
Any answers/help will be very appreciated.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Russ Mann)
Date: Fri Jun 29 14:02:00 2001
Subject: [ic] Override default login error messages - howto?
Hello,
How can I override the default error messages that come up when a person
enters an invalid username, or invalid password on the login form? I'd
rather not modify the source code, so upgrading the software doesn't break
my fix.
IC 4.6.5
R
From: interchange-users at lists.akopia.com (Mark Stosberg)
Date: Fri Jun 29 14:18:01 2001
Subject: [ic] "Missing special page" error after site move (answer winsRH
Mark Stosberg wrote:
>
> On Thu, 28 Jun 2001, Kyle Cook wrote:
>
> > Mark,
> >
> > Heres a quick thought, run makecat to make a new ('sample' or 'simple'?)
> > store, then see if it runs, if it does then compare your directory structures
> > etc.
>
> Kyle,
>
> You may be the winner. I got "simple" to install from makecat, so I may be
> on the path to success. I'm going to "diff" the two directories in the
> morning and see if I can find the crucial difference. Thanks for the
> suggestion!
>
> -mark
I was finally able to solve this, and the solution was as mysterious as
the problem. The debugging process that led to answer aws to modify the
Minivend source, putting in logGlobal statements to isolate the error.
What was happening that was the configurations were right, but Minivend
was hitting permission denied errors at the system level. (I think at
the point there is a system error loading special_pages/missing,
Minivend should have reported that-- maybe that's changed in a new
version ).
Ironically, the permissions were identical to the working store on the
other server, and they looked appropriate, they just didn't work on the
new server. So perhaps this is a FreeBSD issue. (or if all else fails,
maybe it could actually be a user error.). So we loosened the
permissions and it worked. Thanks!
- mark
http://mark.stosberg.com/
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Fri Jun 29 14:24:01 2001
Subject: [ic] Trying to add products using non-numeric quantities...
s/(^=)|\D/$1/g;
Enjoy.
Steffen Dettmer wrote:
>
> * Jeff Carnahan wrote on Thu, Jun 28, 2001 at 09:51 -0700:
> > } You want this w/o the if? I think you can write:
> > }
> > } @quantities = map { s/(^=)?\D/$1/g; $_ }
> > }
> > } or better:
> > }
> > } @quantities = map { s/[^\d=]//g; $_ }
> > }
> > } or maybe faster like:
> > }
> > } #delete unknown (==not 0-9,=) chars and map something(?):
> > } @quantities = map { tr/0-9=//cd; $_ }
> > }
> >
> > The problem was, if the first character is an equals sign,
> > ignore it and strip all non-digits past that FIRST equals sign.
> > ie: "=1=4" should be "=14"
>
> You mean, ignore any "=" except the first?
>
> > Of course, that first equals sign is optional, and may not
> > occur at any other location, so "=1a1" should be "=11", "1a=14"
> > should be "114", etc.
>
> I see, not trivial... Let's try:
>
> "m/^(=)?/, tr/0-9//cd, $_ = $1 . $_" as expression
>
> in out
> =1=4 =14
> 1=4 14
> =1a1 =11
> 1a=14 114
> =1a=14 =114
> =1=2= =12
>
> Tested with:
>
> perl -e '$_ = $ARGV[0];
> m/^(=)?/, tr/0-9//cd, $_ = $1 . $_;
> print "$_\n";' =1=2=
>
> (for you copy and paste test)
>
> Well, very similar to your thing, maybe not so nice to read,
> maybe a little faster but I think nearly the same :) Sorry, but I
> missed the requirements first :)
>
> oki,
>
> Steffen
>
> --
> Dieses Schreiben wurde maschinell erstellt,
> es trägt daher weder Unterschrift noch Siegel.
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (MITECH Trading)
Date: Fri Jun 29 14:32:01 2001
Subject: [ic] What host do you use for Akopia?
I was told that Akopia couldn't be installed on the shared servers at my
host Pair.com so now I am looking for a new host where Akopia can be
installed and is allowed.
If you have Akopia running on a shared server please let me know:
who is your host?
does your cart run without any problems?
Best regards
Michael Michaelsen
www.mitechtrading.com
From: interchange-users at lists.akopia.com (Russ Mann)
Date: Fri Jun 29 15:01:00 2001
Subject: [ic] Perl/SQL
Hello,
How do I execute an SQL statement from within a [perl] bock?
Or, how do I execute an arbitrary SQL statement from a regular page?
Thanks,
Russ
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 29 15:12:00 2001
Subject: [ic] [include] in [list]
Quoting bill@worldwideimpact.com (bill@worldwideimpact.com):
> How do I do something like this:
> [query
> interpolate=0
> table=prices
> list=1
> more=1
> ml=10
> st=sql
> sql=|__SQL_SELECT_ITEMS__|
> ]
> [list]
> [sql-alternate 2]
> DO SOME STUFF
> [else]
> DO SOME OTHER STUFF
> [/else]
> [/sql-alternate]
> [include ../htdocs/ic/featured_item.html]
>
> [/list]
> [/query]
>
> featured_item.html contains stuff like this:
> [sql-param itemid] [sql-param title]...
>
> I want to use the stuff in the file featured_item.html on other pages in
> the site. If I set interpolate=1 in the query tag the include works but
> the sql-alternate does not.
It should work as is without the interpolate. But it is unwise in several
respects. First of all, it is a major security breach to [include]
stuff from htdocs.
Second, it reads the file for every item; and why would you have ITL tags
in an htdocs file? If you are just going to blat the file out, use [file ...]
and not [include].
Basically, without knowing the contents of your [include ...] file no one
can help. If there are no ITL tags in it, you want to use [file ...]. If there
are ITL tags in it, *not including [sql-*] tags*, it should work, but
you should move it out of htdocs.
--
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 lists.akopia.com (Corey Gilmore)
Date: Fri Jun 29 15:21:01 2001
Subject: [ic] session database
It might, I just can't find the information I need about scratch
variables.
The items I have are conferences. I added a confernence table to my
database which is attached to a product. conferences have their own
flypages. the conference flypage has a sidebar where you can click on a
topic, and the page reloads, and based on the item clicked, loads the
relevant content. That is, if I have the following links in the sidebar
About this Conference
Conference Presenters
Locations
and I click Locations, (currently) mv_arg is set to a variable, and
content is loaded based on that variable.
My concern with setting a scratch variable has to do with the life of the
variable. If I set cur_page to Locations, and the user views the
locations, and then goes to another area of the site, and returns to the
conference page, will cur_page still be set?
thanks,
.cfg
On Wed, 27 Jun 2001, Jeff Carnahan wrote:
> } if i wanted to add another variable to the session database, how would i
> } go about it?
> }
> } what i want to do is add another argument (to help track state in another
> } location). i am already using mv_arg to track state on the main portion
> } of my page, and if i did [area href='...' arg='arg1=asf/arg2=aasdf'] it
> } would break all of my existing code.
> }
>
> And setting a scratch variable to keep track of state doesn't work?
>
> ie:
>
> [set name="my_flag"]1[/set]
>
> See scratch variables at:
>
> http://interchange.redhat.com/cgi-bin/ic/dev/ictemplates_7.html
>
> --
> Jeff Carnahan - jcarnahan@networq.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Fri Jun 29 15:28:00 2001
Subject: [ic] [include] in [list]
I need to use the same basic html on two different pages. My goal is to
not have to maintain two copies of it.
Here is the contents of the file I want to include. Or better said the
piece of html I want to use in multiple places but only want to maintain
one copy of:
<!-- Tabs. More Like This and Category -->
<table border="0" cellpadding="0" cellspacing="0" width="291">
<tr height="22">
<td width="28" height="22"><img
src="/images/shim.gif" width="28" height="1" border="0"></td>
<td width="16" height="22"><img
src="/images/content/features/tab_lft_lft.gif" width="16" height="22"
border="0"></td>
<td
background="/images/content/features/tab_blu_slice.gif" class="text1"
align="right" width="85" height="22">
<a href="[area
href=results
form=|
catid=[sql-param catid]
|
]">more like
this>></a>
</td>
<td width="15" height="22"><img
src="/images/content/features/tab_lft_mid.gif" width="15" height="22"
border="0"></td>
<td
background="/images/content/features/tab_tan_slice.gif" align="center"
width="110" class="category" height="22">
[sql-param category]
</td>
<td width="16" height="22"><img
src="/images/content/features/tab_lft_rght.gif" width="16" height="22"
border="0"></td>
<td width="21" height="22"><img
src="/images/shim.gif" width="21" height="22" border="0"></td>
</tr>
</table>
<!-- Brand and Title -->
<table border="0" cellpadding="0" cellspacing="0" width="291">
<tr height="43">
<td width="2" height="43"><img
src="/images/shim.gif" width="2" height="1" border="0"></td>
<td width="16" height="43"><img
src="/images/content/features/header_lt.gif" width="16" height="43"
border="0"></td>
<td
background="/images/content/features/header_slc.gif" width="258"
align="right" height="43">
<span class="brand">[sql-param
brand]</span>
<br>
<span class="title">[sql-param
title]</span>
</td>
<td width="15" height="43"><img
src="/images/content/features/header_rt.gif" width="15" height="43"
border="0"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="291">
<tr height="4">
<td width="2" height="4"><img
src="/images/shim.gif" width="2" height="4" border="0"></td>
<td align="right" width="50" height="4"></td>
<td width="2" height="4"></td>
<td width="4" bgcolor="[scratch colors->grey]"
height="4"><img src="/images/shim.gif" width="4" height="4"
border="0"></td>
<td bgcolor="[scratch colors->grey]" width="222"
height="4"><img src="/images/shim.gif" width="1" height="4"
border="0"></td>
<td bgcolor="[scratch colors->grey]" width="4"
height="4"><img src="/images/shim.gif" width="4" height="4"
border="0"></td>
<td
background="/images/content/features/side_slc.gif" width="7"
height="1"><img src="/images/shim.gif" width="7" height="4"
border="0"></td>
</tr>
<!-- Image and Vintage and description -->
[seti image][image classid=item identity='[sql-param
itemid]' width=40 num=1][/seti]
<tr>
<td width="2"><img src="/images/shim.gif"
width="2" height="1" border="0"></td>
<td align="right" width="50" valign="top">
[scratch image]
</td>
<td width="2"><img src="/images/shim.gif"
width="2" height="1" border="0"></td>
<td width="4" bgcolor="[scratch
colors->grey]"><img src="/images/shim.gif" width="4" height="1"
border="0"></td>
<td bgcolor="[scratch colors->grey]" valign="top"
width="222"class="description">
<span class="vintageage">[sql-param
vintage]</span>
<br>
[filter text2html][truncate
num=30][sql-param description][/truncate][/filter]
<a href="[area
href=detail
form=|
itemid=[sql-param itemid]
|
]">Details>></a><br>
<img src="/images/shim.gif"
width="1" height="6"><br>
<div class=priceRetail
align=right>
[get_prices
itemid='[sql-param itemid]']
</div>
<img src="/images/shim.gif"
width="1" height="6"><br>
</td>
<td bgcolor="[scratch colors->grey]"
valign="top" width="4"><img src="/images/shim.gif" width="4" height="1"
border="0"></td>
<td
background="/images/content/features/side_slc.gif" width="7"
height="1"><img src="/images/shim.gif" width="7" height="4"
border="0"></td>
</tr>
</table>
<!-- itemid -->
<table border="0" cellpadding="0" cellspacing="0"
width="291">
<tr height="28">
<td width="2" height="28"><img
src="/images/shim.gif" width="2" height="1" border="0"></td>
<td width="15" height="28"><img
src="/images/content/features/footer_lft.gif" width="15" height="28"
border="0"></td>
<td
background="/images/content/features/footer_slc.gif" width="145"
height="28" class="itemid">BN#[sql-param itemid]</td>
<td
background="/images/content/features/footer_slc.gif" width="114"
height="28"><img src="/images/shim.gif" width="5" height="1"
border="0"></td>
<td width="15" height="28"><img
src="/images/content/features/footer_rt.gif" width="15" height="28"
border="0"></td>
</tr>
</table>
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
Mike Heins <mikeh@minivend.com>
Sent by: interchange-users-admin@developer.akopia.com
06/29/2001 03:12 PM
Please respond to interchange-users
To: interchange-users@developer.akopia.com
cc:
Subject: Re: [ic] [include] in [list]
Quoting bill@worldwideimpact.com (bill@worldwideimpact.com):
> How do I do something like this:
> [query
> interpolate=0
> table=prices
> list=1
> more=1
> ml=10
> st=sql
> sql=|__SQL_SELECT_ITEMS__|
> ]
> [list]
> [sql-alternate 2]
> DO SOME STUFF
> [else]
> DO SOME OTHER STUFF
> [/else]
> [/sql-alternate]
> [include ../htdocs/ic/featured_item.html]
>
> [/list]
> [/query]
>
> featured_item.html contains stuff like this:
> [sql-param itemid] [sql-param title]...
>
> I want to use the stuff in the file featured_item.html on other pages in
> the site. If I set interpolate=1 in the query tag the include works but
> the sql-alternate does not.
It should work as is without the interpolate. But it is unwise in several
respects. First of all, it is a major security breach to [include]
stuff from htdocs.
Second, it reads the file for every item; and why would you have ITL tags
in an htdocs file? If you are just going to blat the file out, use [file
...]
and not [include].
Basically, without knowing the contents of your [include ...] file no one
can help. If there are no ITL tags in it, you want to use [file ...]. If
there
are ITL tags in it, *not including [sql-*] tags*, it should work, but
you should move it out of htdocs.
--
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
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Fri Jun 29 15:32:01 2001
Subject: [ic] Perl/SQL
[perl tables=domains global=1]
my $dbh = $Sql{domains};
unless ($dbh) {
&Log("Unable to get DB handle domains");
return;
}
$CGI->{domainid} = $dbh->do(q{SELECT LAST_INSERT_ID()});
return;
[/perl]
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
"Russ Mann" <tech@khouse.org>
Sent by: interchange-users-admin@developer.akopia.com
06/29/2001 03:01 PM
Please respond to interchange-users
To: "Interchange-Users" <interchange-users@developer.akopia.com>
cc:
Subject: [ic] Perl/SQL
Hello,
How do I execute an SQL statement from within a [perl] bock?
Or, how do I execute an arbitrary SQL statement from a regular page?
Thanks,
Russ
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Fri Jun 29 15:43:01 2001
Subject: [ic] session database
Corey Gilmore wrote:
>
> My concern with setting a scratch variable has to do with the life of the
> variable. If I set cur_page to Locations, and the user views the
> locations, and then goes to another area of the site, and returns to the
> conference page, will cur_page still be set?
If you set it with anything but the [tmp] tag, then yes. If you set it
with [tmp], then no.
[set foo]bar[/set] # Persists
[tmp foo]bar[/tmp] # Does not persist
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Fri Jun 29 15:48:06 2001
Subject: [ic] Perl/SQL
MANY options, but the main ones:
In embedded perl, use the %Db object's query method
http://interchange.redhat.com/cgi-bin/ic/dev/icconfig_30.html
As its own tag, use the [query] tag.
[query list=1 sql="select * from foobar"]
Field Value
----- -----
code [sql-code]
foocol [sql-param foocol]
barcol [sql-param barcol]
[/query]
Russ Mann wrote:
>
> Hello,
>
> How do I execute an SQL statement from within a [perl] bock?
>
> Or, how do I execute an arbitrary SQL statement from a regular page?
>
> Thanks,
>
> Russ
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 29 15:50:00 2001
Subject: [ic] [include] in [list]
Quoting bill@worldwideimpact.com (bill@worldwideimpact.com):
> I need to use the same basic html on two different pages. My goal is to
> not have to maintain two copies of it.
>
> Here is the contents of the file I want to include. Or better said the
> piece of html I want to use in multiple places but only want to maintain
> one copy of:
>
> <!-- Tabs. More Like This and Category -->
> <table border="0" cellpadding="0" cellspacing="0" width="291">
> <tr height="22">
> <td width="28" height="22"><img
> src="/images/shim.gif" width="28" height="1" border="0"></td>
> <td width="16" height="22"><img
> src="/images/content/features/tab_lft_lft.gif" width="16" height="22"
> border="0"></td>
> <td
> background="/images/content/features/tab_blu_slice.gif" class="text1"
> align="right" width="85" height="22">
> <a href="[area
> href=results
> form=|
> catid=[sql-param catid]
> |
> ]">more like
> this>></a>
(I almost didn't respond because of your quoting style. I am sticking
to this more and more -- if you quote lazy, I stop reading the thread.)
Didn't you read what I said before? You cannot include [sql-XXXXX] tags
in an include file. Simply won't work -- read the docs as to why. You
would have to make it a Variable or something.
--
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 lists.akopia.com (Mark Johnson)
Date: Fri Jun 29 15:57:00 2001
Subject: [ic] [include] in [list]
bill@worldwideimpact.com wrote:
>
> I need to use the same basic html on two different pages. My goal is to
> not have to maintain two copies of it.
>
>
> ...blah blah blah removed.
If you have the same HTML that is to be embedded in a query, but the
query is what changes, there are many ways you can do this. Your problem
is you will never get the interpolation order right because ALL the
[sql-param] tags will parse before ANY of the [include] tags do.
Personally, I would simply use the same file which will have different
data depending on some parameters that build a different query.
However, if you have a 1-1 correspondence between a product and the
framing html, but it is ONLY the HTML from inside the [query][/query]
tag that stays the same, you can do this.
(1) Set your SQL into a scratch var in the page
(2) Where you currently have a [query]...[include]...[/query], replace
that with only the [include].
(3) Inside the included file, place your [query] stuff [/query] code,
and use the scratch variable as the SQL to execute.
If you have multiple variations that depend on what product it is, you
can simply use [scratch]'s to perform the logic, which all must be set
in the parent document prior to the [include] tag.
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com)
Date: Fri Jun 29 16:34:01 2001
Subject: [ic] Do not create session
How do I make interchange not create a session file for a page request
based on either the client host address/network or by the page requested?
I have set up my LVS to request IC pages from the real servers. This way
if IC is down on a particular server that server is taken out of the LVS
pool. The LVS checks every minute. Many session files are being created. I
do not want to create a session file for the LVS host. I can control the
page the LVS checks so if there is anything I could put on a page to
suppress the creation of the session file that would be great.
I hope I not just being dense. I looked around but could not find a way to
do this.
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
From: interchange-users at lists.akopia.com (Curt Hauge)
Date: Fri Jun 29 16:53:01 2001
Subject: [ic] Help with mv_nextpage ? Refreshes to flypage after placing order from results.html
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6 - Apache -
mod_ssl
Hi list (whoever is here today),
My client and I have noticed this strange (perhaps it is set up this way)
behavior on the standard 'construct' results page which I can reproduce on
demo space 1 at http://demo.akopia.com/cgi-bin/ic1:
1) Select a category to bring up the results page
2) Click on any item description and view the item in the flypage
3) Hit the 'back' button on your browser (IE 5.0 or Netscape 4.7)
4) Click 'Buy' for any item other than the one you just viewed
While it does put the item in your basket, it refreshes to the flypage of
the item viewed in step 2. I would like it to refresh back to the results
page instead. It seems that once I view the flypage of an item, mv_nextpage
gets set to the item code
(http://demo.akopia.com/cgi-bin/ic1/os28076.html?mv_session_id=8gLZdDXF&mv_n
extpage=os28076&mv_username=). Where/how can I unset (or set) mv_nextpage
upon clicking 'Buy'? Or is there a way to refresh the results page after
hitting the 'back' button to clear this setting? Clicking 'Buy' on the
results page always refreshes back to the flypage of the last item viewed in
flypage (only if an item was first viewed from the flypage). Selecting
another category fromn the left side clears the 'set' flypage item.
I have tried setting mv_nextpage in my form in results.html:
<FORM ACTION="[area nothing]" METHOD=POST>
<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">
<INPUT TYPE=hidden NAME="mv_nextpage" VALUE="results">
[snip-item_list-code]
<input type=hidden name="mv_oi[item-increment]" value=""><input type=text
name=mv_order_quantity size=2 value="">
<input type=submit value=Buy
onClick="this.form.mv_oi[item-increment].value='[item-code]'">
</FORM>
I also swapped <INPUT TYPE=hidden NAME="mv_nextpage" VALUE="results"> for
<INPUT TYPE=hidden NAME=mv_todo VALUE=return>
Neither way helped. Am I close? This must be a simple procedure. Can anyone
offer any clues as to where/what to be researching?
Thanks again!
Curt Hauge
Curt Hauge
From: interchange-users at lists.akopia.com (Mark Johnson)
Date: Fri Jun 29 17:15:00 2001
Subject: [ic] Help with mv_nextpage ? Refreshes to flypage after placing
On a refresh action, mv_orderpage supersedes mv_nextpage. Make sure
that's not being set somewhere without your knowledge. Or, in your form,
add
<input type=hidden name=mv_orderpage value="">
explicitly.
Also, refreshing to the 'results' page isn't going to recapture your
search if it was a [area scan] search. Unless the search is completely
self-contained in results, and defined by session variables that
persist, you will come back to results with a 'no results found for '.
Curt Hauge wrote:
>
> IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6 - Apache -
> mod_ssl
>
> Hi list (whoever is here today),
>
> My client and I have noticed this strange (perhaps it is set up this way)
> behavior on the standard 'construct' results page which I can reproduce on
> demo space 1 at http://demo.akopia.com/cgi-bin/ic1:
>
> 1) Select a category to bring up the results page
> 2) Click on any item description and view the item in the flypage
> 3) Hit the 'back' button on your browser (IE 5.0 or Netscape 4.7)
> 4) Click 'Buy' for any item other than the one you just viewed
>
> While it does put the item in your basket, it refreshes to the flypage of
> the item viewed in step 2. I would like it to refresh back to the results
> page instead. It seems that once I view the flypage of an item, mv_nextpage
> gets set to the item code
> (http://demo.akopia.com/cgi-bin/ic1/os28076.html?mv_session_id=8gLZdDXF&mv_n
> extpage=os28076&mv_username=). Where/how can I unset (or set) mv_nextpage
> upon clicking 'Buy'? Or is there a way to refresh the results page after
> hitting the 'back' button to clear this setting? Clicking 'Buy' on the
> results page always refreshes back to the flypage of the last item viewed in
> flypage (only if an item was first viewed from the flypage). Selecting
> another category fromn the left side clears the 'set' flypage item.
>
> I have tried setting mv_nextpage in my form in results.html:
>
> <FORM ACTION="[area nothing]" METHOD=POST>
> <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">
> <INPUT TYPE=hidden NAME="mv_nextpage" VALUE="results">
>
> [snip-item_list-code]
>
> <input type=hidden name="mv_oi[item-increment]" value=""><input type=text
> name=mv_order_quantity size=2 value="">
> <input type=submit value=Buy
> onClick="this.form.mv_oi[item-increment].value='[item-code]'">
>
> </FORM>
>
> I also swapped <INPUT TYPE=hidden NAME="mv_nextpage" VALUE="results"> for
> <INPUT TYPE=hidden NAME=mv_todo VALUE=return>
>
> Neither way helped. Am I close? This must be a simple procedure. Can anyone
> offer any clues as to where/what to be researching?
>
> Thanks again!
>
> Curt Hauge
>
> Curt Hauge
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
From: interchange-users at lists.akopia.com (Mat Jones - booksellersolutions.com)
Date: Fri Jun 29 17:33:00 2001
Subject: [ic] dynamic flypage
Hi,
I am trying to create a flypage which is built dynamic based on a variable
in the variable.txt file, to allow my clients to easily modify what they
show on their flypage.
For some reason the [item-field] tag is not being interpolated.
I hope someone can help.
In my variable.txt:
FLYPAGEMETA Illustrator,Publisher Flypage Setup
FLYPAGEFIELDS illustrator,publisher Flypage Setup
On my FlyPage:
[seti flypagemeta]__FLYPAGEMETA__[/seti]
[seti flypagefields]__FLYPAGEFIELDS__[/seti]
[seti flypageresults]
[perl interpolate=1]
@metafields = split(/\,/,$Scratch->{flypagemeta});
@displayfields = split(/\,/,$Scratch->{flypagefields});
foreach (@displayfields) {
$buf .= <<EOF
<tr><td><b>$metafields[$count]:</b>[item-field $_]
</td></tr>
EOF
$count = $count + 1;
};
return $buf;
[/perl]
[/seti]
[scratch flypageresults interpolate=1]
Output on my flypage:
Illustrator: [item-field illustrator]
Publisher: [item-field publisher]
booksellersolutions.com
Read what the SF Examiner says about booksellersolutions.com:
http://www.sfexaminer.com/business/default.jsp?story=b.web.0121
2141 Mission St #301
San Francisco, CA 94110
(415) 554-0568
From: interchange-users at lists.akopia.com (Raymond Miecznik)
Date: Fri Jun 29 17:49:00 2001
Subject: [ic] how to post a promostion on the front page ?
Ok, this is what I did and it's not working for me:
I created an item-product, gave it a description, picture, price
then I selected it under promotions and put it under Specials...
Then I clicked on Content, selected index.html
for that I selected page with top/left areas,
component before: none
after: promotion
items horizontal: 1
Banner: Specials
Special Tag: Specials
I pressed preview and I don't see the product item that I set-up
under Promotions, what am I doing wrong, can someone tell me
how to do this right ?
Thanks
Raymond
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Fri Jun 29 18:06:00 2001
Subject: [ic] how to post a promostion on the front page ?
On 29 Jun 2001 14:48:51 -0700, Raymond Miecznik wrote:
> Ok, this is what I did and it's not working for me:
>
> I created an item-product, gave it a description, picture, price
> then I selected it under promotions and put it under Specials...
>
> Then I clicked on Content, selected index.html
>
> for that I selected page with top/left areas,
>
> component before: none
> after: promotion
> items horizontal: 1
> Banner: Specials
> Special Tag: Specials
>
> I pressed preview and I don't see the product item that I set-up
> under Promotions, what am I doing wrong, can someone tell me
> how to do this right ?
>
Did you try saving the page first? Also, if you have other items marked
as 'Specials', they will show up in a quasi-random format so you may or
may not see your item there every time.
Matt
> Thanks
>
> Raymond
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Raymond Miecznik)
Date: Fri Jun 29 18:11:00 2001
Subject: [ic] how to post a promostion on the front page ?
well the special items that appear when I press preview are those items
that came originally with the construct demo, I deleted them tho,
how to make it so that only my items that I selected for specials appear ?
ray
Matthew Schick wrote:
> On 29 Jun 2001 14:48:51 -0700, Raymond Miecznik wrote:
> > Ok, this is what I did and it's not working for me:
> >
> > I created an item-product, gave it a description, picture, price
> > then I selected it under promotions and put it under Specials...
> >
> > Then I clicked on Content, selected index.html
> >
> > for that I selected page with top/left areas,
> >
> > component before: none
> > after: promotion
> > items horizontal: 1
> > Banner: Specials
> > Special Tag: Specials
> >
> > I pressed preview and I don't see the product item that I set-up
> > under Promotions, what am I doing wrong, can someone tell me
> > how to do this right ?
> >
>
> Did you try saving the page first? Also, if you have other items marked
> as 'Specials', they will show up in a quasi-random format so you may or
> may not see your item there every time.
>
> Matt
>
> > Thanks
> >
> > Raymond
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Russ Mann)
Date: Fri Jun 29 18:27:00 2001
Subject: [ic] Perl/SQL
I can't seem to get any of these things to work with what I'm trying to do.
I need to be able to run queries like this:
@tables is an array including everything that has a username field in it.
foreach $table (@tables) {
UPDATE $table SET username='$new_username' WHERE username = '$old_username'
}
Which method would you use to do this?
R
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Mark
Johnson
Sent: Friday, June 29, 2001 1:57 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Perl/SQL
MANY options, but the main ones:
In embedded perl, use the %Db object's query method
http://interchange.redhat.com/cgi-bin/ic/dev/icconfig_30.html
As its own tag, use the [query] tag.
[query list=1 sql="select * from foobar"]
Field Value
----- -----
code [sql-code]
foocol [sql-param foocol]
barcol [sql-param barcol]
[/query]
Russ Mann wrote:
>
> Hello,
>
> How do I execute an SQL statement from within a [perl] bock?
>
> Or, how do I execute an arbitrary SQL statement from a regular page?
>
> Thanks,
>
> Russ
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
--
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Fri Jun 29 18:28:01 2001
Subject: [ic] how to post a promostion on the front page ?
On 29 Jun 2001 15:10:24 -0700, Raymond Miecznik wrote:
> well the special items that appear when I press preview are those items
> that came originally with the construct demo, I deleted them tho,
> how to make it so that only my items that I selected for specials appear ?
You'll have to delete them from the merchandising table by hand.
>
> ray
>
> Matthew Schick wrote:
>
> > On 29 Jun 2001 14:48:51 -0700, Raymond Miecznik wrote:
> > > Ok, this is what I did and it's not working for me:
> > >
> > > I created an item-product, gave it a description, picture, price
> > > then I selected it under promotions and put it under Specials...
> > >
> > > Then I clicked on Content, selected index.html
> > >
> > > for that I selected page with top/left areas,
> > >
> > > component before: none
> > > after: promotion
> > > items horizontal: 1
> > > Banner: Specials
> > > Special Tag: Specials
> > >
> > > I pressed preview and I don't see the product item that I set-up
> > > under Promotions, what am I doing wrong, can someone tell me
> > > how to do this right ?
> > >
> >
> > Did you try saving the page first? Also, if you have other items marked
> > as 'Specials', they will show up in a quasi-random format so you may or
> > may not see your item there every time.
> >
> > Matt
> >
> > > Thanks
> > >
> > > Raymond
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jeff Carnahan)
Date: Fri Jun 29 18:28:55 2001
Subject: [ic] Trying to add products using non-numeric quantities...
} I see, not trivial... Let's try:
}
} "m/^(=)?/, tr/0-9//cd, $_ = $1 . $_" as expression
}
I see where you're going. It didn't occur to me to utilize $1 at a later
time when doing the replacement... My mind has been expanded. =)
--
Jeff Carnahan - jcarnahan@networq.com
From: interchange-users at lists.akopia.com (Raymond Miecznik)
Date: Fri Jun 29 18:34:00 2001
Subject: [ic] how to post a promostion on the front page ?
you mean the merchandising.txt file under /products ?
or the merchandising.sql ?
the .sql file is emply, the .txt file I removed those old products
and only left the ones that I created, I restarted the server
and it's still showing the old ones...
Raymond
Matthew Schick wrote:
> On 29 Jun 2001 15:10:24 -0700, Raymond Miecznik wrote:
> > well the special items that appear when I press preview are those items
> > that came originally with the construct demo, I deleted them tho,
> > how to make it so that only my items that I selected for specials appear ?
>
> You'll have to delete them from the merchandising table by hand.
>
> >
> > ray
> >
> > Matthew Schick wrote:
> >
> > > On 29 Jun 2001 14:48:51 -0700, Raymond Miecznik wrote:
> > > > Ok, this is what I did and it's not working for me:
> > > >
> > > > I created an item-product, gave it a description, picture, price
> > > > then I selected it under promotions and put it under Specials...
> > > >
> > > > Then I clicked on Content, selected index.html
> > > >
> > > > for that I selected page with top/left areas,
> > > >
> > > > component before: none
> > > > after: promotion
> > > > items horizontal: 1
> > > > Banner: Specials
> > > > Special Tag: Specials
> > > >
> > > > I pressed preview and I don't see the product item that I set-up
> > > > under Promotions, what am I doing wrong, can someone tell me
> > > > how to do this right ?
> > > >
> > >
> > > Did you try saving the page first? Also, if you have other items marked
> > > as 'Specials', they will show up in a quasi-random format so you may or
> > > may not see your item there every time.
> > >
> > > Matt
> > >
> > > > Thanks
> > > >
> > > > Raymond
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Kyle Cook)
Date: Fri Jun 29 18:36:00 2001
Subject: [ic] Do not create session
At 01:35 PM 6/29/01, you wrote:
>How do I make interchange not create a session file for a page request
>based on either the client host address/network or by the page requested?
>
>I have set up my LVS to request IC pages from the real servers. This way
>if IC is down on a particular server that server is taken out of the LVS
>pool. The LVS checks every minute. Many session files are being created. I
>do not want to create a session file for the LVS host. I can control the
>page the LVS checks so if there is anything I could put on a page to
>suppress the creation of the session file that would be great.
>
>I hope I not just being dense. I looked around but could not find a way to
>do this.
>
>Bill Carr
>Worldwide Impact
>bill@worldwideimpact.com
>413.253.6700
I don't know that there is a way to do this, I think by default ALL
requests will use/create a session id BEFORE any page
parsing....maybe someone else knows...?
Maybe you could write a small perl script to check that the
port is listening at least.
Kyle Cook
From: interchange-users at lists.akopia.com (Matthew Schick)
Date: Fri Jun 29 18:53:00 2001
Subject: [ic] how to post a promostion on the front page ?
On 29 Jun 2001 15:33:43 -0700, Raymond Miecznik wrote:
> you mean the merchandising.txt file under /products ?
>
> or the merchandising.sql ?
>
> the .sql file is emply, the .txt file I removed those old products
> and only left the ones that I created, I restarted the server
> and it's still showing the old ones...
>
>
> Raymond
You will have to remove them from the database (MySQL, Postres, etc).
The .sql file just lets IC know that the table has been created, and the
text file reflects the values in the database....
Matt
>
> Matthew Schick wrote:
>
> > On 29 Jun 2001 15:10:24 -0700, Raymond Miecznik wrote:
> > > well the special items that appear when I press preview are those items
> > > that came originally with the construct demo, I deleted them tho,
> > > how to make it so that only my items that I selected for specials appear ?
> >
> > You'll have to delete them from the merchandising table by hand.
> >
> > >
> > > ray
> > >
> > > Matthew Schick wrote:
> > >
> > > > On 29 Jun 2001 14:48:51 -0700, Raymond Miecznik wrote:
> > > > > Ok, this is what I did and it's not working for me:
> > > > >
> > > > > I created an item-product, gave it a description, picture, price
> > > > > then I selected it under promotions and put it under Specials...
> > > > >
> > > > > Then I clicked on Content, selected index.html
> > > > >
> > > > > for that I selected page with top/left areas,
> > > > >
> > > > > component before: none
> > > > > after: promotion
> > > > > items horizontal: 1
> > > > > Banner: Specials
> > > > > Special Tag: Specials
> > > > >
> > > > > I pressed preview and I don't see the product item that I set-up
> > > > > under Promotions, what am I doing wrong, can someone tell me
> > > > > how to do this right ?
> > > > >
> > > >
> > > > Did you try saving the page first? Also, if you have other items marked
> > > > as 'Specials', they will show up in a quasi-random format so you may or
> > > > may not see your item there every time.
> > > >
> > > > Matt
> > > >
> > > > > Thanks
> > > > >
> > > > > Raymond
> > > > >
> > > > > _______________________________________________
> > > > > Interchange-users mailing list
> > > > > Interchange-users@lists.akopia.com
> > > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > > > >
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Richard Eicher II)
Date: Fri Jun 29 20:15:01 2001
Subject: [ic] Bad GlobalSub 'linkpt'
Here is my globalsub for connecting to linkpoint
API from card services International.
GlobalSub <<EOS
sub linkpt {
package LPERL;
#use strict;
no strict;
use lperl;
#use LPERL 'CapturePayment';
$lperl = new
LPERL("/usr/lib/interchange/eg/LPERL/lbin",
"$LPERL::EASYFUNCS");
my $hostname = "secure.linkpt.net";
my $port = "1139";
my $storename = "370544";
my $keyfile =
"/usr/lib/interchange/eg/certs/cert.pem";
my $transactionresult = "GOOD";
my $testip = "127.0.0.1";
$transaction_hash = {
hostname => $hostname,
port => $port,
storename => $storename,
keyfile => $keyfile,
orderID => '',
result => $transactionresult,
cardNumber => $_[0],
cardExpMonth => $_[1],
cardExpYear => $_[2],
name => $_[3],
email => $_[4],
phone => $_[5],
address => $_[6],
city => $_[7],
state => $_[8],
zip => $_[9],
country => $_[10],
tax => $_[11],
shipping => $_[12],
subtotal => $_[13],
amount => $_[14],
saddr1 => $_[15],
scity => $_[16],
sstate => $_[17],
szip => $_[18],
scountry => $_[19],
ip => $testip,
};
%ret = $lperl->CapturePayment($transaction_hash);
$neworderID = $ret{'neworderID'};
$statusCode = $ret{'statusCode'};
my %result;
if ($statusCode == 1) {$result{MStatus} =
'success';
}
%ret = $lperl->CapturePayment($transaction_hash);
$neworderID = $ret{'neworderID'};
$statusCode = $ret{'statusCode'};
my %result;
if ($statusCode == 1) {$result{MStatus} =
'success';
}
elsif ($statusCode == 0) {$result{MStatus} =
$statusMessage;
}
$result{'order-id'} = $neworderID;
::logDebug("CapturePayment: statusCode:
$ret{'statusCode'}
");
::logDebug("CapturePayment: statusMessage:
$ret{'statusMessage'}
");
::logDebug("CapturePayment: AVSCode:
$ret{'AVSCode'}
");
::logDebug("CapturePayment: trackingID:
$ret{'trackingID'}
");
::logDebug("CapturePayment: neworderID:
$ret{'neworderID'}
");
::logDebug("CapturePayment: statusApproval:
$ret{'statusApproval'}
");
::logDebug("CapturePayment: subtotal:
$ret{'subtotal'}
");
::logDebug("CapturePayment: tax: $ret{'tax'}
");
::logDebug("CapturePayment: time: $ret{'time'}
");
::logDebug("is the scalar neworderID intialized
yet?
$neworderID
how about statusCode
?
$statusCode
");
return %result;
}
EOS
I can remove the interchange stuff and compile it
like normal perl with out any errors. But when I
restart Interchange I get the following error.
bash-2.04$ ./restart
The Interchange server was not running
(//usr/lib/interchange/etc/interchange.pid).
Low traffic settings.
Calling UI....
...UI is loaded....
Bad GlobalSub 'linkpt'
In line 70 of the configuration file
'/usr/lib/interchange/eg/globalsub/linkpt':
GlobalSub <<EOS
Bad GlobalSub 'linkpt'
In line 70 of the configuration file
'/usr/lib/interchange/eg/globalsub/linkpt':
GlobalSub <<EOS
Any one see what I have done wrong or can give me
an idea of asolution? I am running Redhat 7.1 and
interchange-4.6.5-1.rh7 from rpm.
Let me know if I need to give more information.
Thank you for your time,
Richard Eicher II
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Monring Star)
Date: Fri Jun 29 20:31:01 2001
Subject: [ic] Manual install of Akopia Interchange
Hello to all,
I wanted to know if anybody has installed manually this wonderful program
Akopia Interchange? Can I install this the same way as other cgi or perl
scripts?
I would really appreciate any information. Thanks.
Martin Mary
From: interchange-users at lists.akopia.com (Jake Thompson)
Date: Fri Jun 29 20:34:01 2001
Subject: [ic] Simple, Matrix and Modular Options
Ahhh, beautiful, this makes life so much easier. No just to wait for
modular options!!!
Thanks,
Jake T.
-----Original Message-----
From: Mike Heins [mailto:mikeh@minivend.com]
Sent: Friday, June 29, 2001 12:01 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Simple, Matrix and Modular Options
Quoting Jake Thompson (JThompson@ztechnet.com):
> Hi All,
> I am using the latest of the 4.7.x branch from cvs. I have products that
> would could use all the different types of options. So far, I have simple
> options working without a problem. However, I cannot get modular options
to
> work correclty, and I can create matrix options, but I do not know how to
> display them.
This is a bug in the variant creator. You need to have o_enable set
in the options table; so if you do:
UPDATE options
SET o_enable = 1
WHERE sku = 'your_sku'
AND code like 'your_sku%'
that should allow display.
>
> Are there examples or am I asking too soon in development for matrix and
> modular. Any help getting these to work would be greatly appreciated.
I am starting work on these prior to release of 4.8, so expect some
improvement soon. We have already added a new mode where you can select
the matrix options via a combination of individual option selects instead
of one with all.
--
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@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (k b)
Date: Fri Jun 29 20:40:00 2001
Subject: [ic] UNSUBSCRIBE ME PLEASE
i unsubscribed myself once bfore from this list
and now i'm getting a flood of emails again...
wtf ????
how do i unsubscribe ?"
help
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Mike Heins)
Date: Fri Jun 29 20:45:01 2001
Subject: [ic] Do not create session
Quoting Kyle Cook (kyle@invisio.com):
> At 01:35 PM 6/29/01, Bill Carr wrote:
> >How do I make interchange not create a session file for a page request
> >based on either the client host address/network or by the page requested?
> >
> >I have set up my LVS to request IC pages from the real servers. This way
> >if IC is down on a particular server that server is taken out of the LVS
> >pool. The LVS checks every minute. Many session files are being created. I
> >do not want to create a session file for the LVS host. I can control the
> >page the LVS checks so if there is anything I could put on a page to
> >suppress the creation of the session file that would be great.
> >
> >I hope I not just being dense. I looked around but could not find a way to
> >do this.
> >
>
> I don't know that there is a way to do this, I think by default ALL
> requests will use/create a session id BEFORE any page
> parsing....maybe someone else knows...?
>
One way, if you have the INET server running, is to request an
HTTP page from Interchange. Just place a file called ok.html with
some small bit of text in the ICROOT/doc directory and ask for
http://your.server.com:7786/ok.html
Also, requesting a non-existent catalog gets you the "undefined catalog"
error, which tells you that the server is alive. This does log a line
to error.log, though.
I have also often thought about putting a "mv_no_session" variable
in, which would inhibit creation of a session file. There are security
considerations to this, though, which is the reason I have not done it
to date.
--
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 lists.akopia.com (Kyle Cook)
Date: Fri Jun 29 21:03:01 2001
Subject: [ic] Manual install of Akopia Interchange
Read the documentation at :
http://interchange.redhat.com/cgi-bin/ic/dev/icinstall
Basically, you will need Telnet or SSH or Terminal access
to the server.
IC is not simply a perl script, but a daemon which must
be installed from the command line.
If this type of procedure is something your not comfortable
with (or want to try) then check out the Red Hat Services
for a fee they can help you get set up. (links to services
found at above url on left side)
Kyle Cook
At 08:35 PM 6/29/01, you wrote:
>Hello to all,
>
>I wanted to know if anybody has installed manually this wonderful program
>Akopia Interchange? Can I install this the same way as other cgi or perl
>scripts?
>
>I would really appreciate any information. Thanks.
>
>Martin Mary
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Raymond)
Date: Fri Jun 29 21:26:00 2001
Subject: [ic] how to remove records from database
ok, I feel that I am close, but I can't complete the steps, I am
messing up somewhere in the SQL commands:
ok, I want to remove the old product IDs from the sku column
in the merchandising table from the test_construct database;
mysql> show databases;
+----------------+
| Database |
+----------------+
| mysql |
| test |
| test_construct |
+----------------+
3 rows in set (0.00 sec)
mysql> use test_construct;
Database changed
mysql> show tables;
+--------------------------+
| Tables_in_test_construct |
+--------------------------+
| affiliate |
| area |
| cat |
| country |
| gift_certs |
| inventory |
| merchandising |
| order_returns |
| orderline |
| pricing |
| products |
| recurring_items |
| recurring_orders |
| ship_addresses |
| transactions |
| userdb |
+--------------------------+
16 rows in set (0.00 sec)
mysql> show columns from merchandising;
+-----------------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+-------------+------+-----+---------+-------+
| sku | varchar(20) | | PRI | | |
| featured | varchar(32) | | MUL | | |
| banner_text | text | YES | | NULL | |
| banner_image | text | YES | | NULL | |
| blurb_begin | text | YES | | NULL | |
| blurb_end | text | YES | | NULL | |
| timed_promotion | text | YES | | NULL | |
| start_date | varchar(24) | | MUL | | |
| finish_date | varchar(24) | | MUL | | |
| upsell_to | text | YES | | NULL | |
| cross_sell | text | YES | | NULL | |
| cross_category | varchar(64) | | MUL | | |
| others_bought | text | YES | | NULL | |
| times_ordered | text | YES | | NULL | |
+-----------------+-------------+------+-----+---------+-------+
14 rows in set (0.00 sec)
mysql>
mysql> select sku from merchandising;
+-----------+
| sku |
+-----------+
| gift_cert |
| os28004 |
| os28005 |
| os28006 |
| os28007 |
| os28008 |
| os28011 |
| os28044 |
| os28057a |
| os28057b |
| os28057c |
| os28062 |
| os28064 |
| os28065 |
| os28066 |
| os28068a |
| os28068b |
| os28069 |
| os28072 |
| os28073 |
| os28074 |
| os28075 |
| os28076 |
| os28077 |
| os28080 |
| os28081 |
| os28082 |
| os28084 |
| os28085 |
| os28086 |
| os28087 |
| os28108 |
| os28110 |
| os28111 |
| os28113 |
| os29000 |
| special01 |
+-----------+
37 rows in set (0.00 sec)
I want to remove all the sku's that start with os
I am stuck, I tried the command from mysql.com site
but it's not working...
help.
Raymond
From: interchange-users at lists.akopia.com (Monring Star)
Date: Fri Jun 29 22:01:01 2001
Subject: [ic] Manual install of Akopia Interchange
Thanks for the reply. I followed the documentation and tried to install via
SSH and I get this message:
=====================
Can't locate Data/Dumper.pm in @INC (@INC contains:
/usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at
Makefile.PL line 20.
BEGIN failed--compilation aborted at Makefile.PL line 20.
make: *** No targets. Stop.
make: *** No rule to make target `test'. Stop.
==========================
Does this means that I have to install modules in our virtual server? Where
can I get it? How can I install them? Thanks for any help.
Martin Mary
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Kyle
Cook
Sent: Friday, June 29, 2001 6:04 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Manual install of Akopia Interchange
Read the documentation at :
http://interchange.redhat.com/cgi-bin/ic/dev/icinstall
Basically, you will need Telnet or SSH or Terminal access
to the server.
IC is not simply a perl script, but a daemon which must
be installed from the command line.
If this type of procedure is something your not comfortable
with (or want to try) then check out the Red Hat Services
for a fee they can help you get set up. (links to services
found at above url on left side)
Kyle Cook
At 08:35 PM 6/29/01, you wrote:
>Hello to all,
>
>I wanted to know if anybody has installed manually this wonderful program
>Akopia Interchange? Can I install this the same way as other cgi or perl
>scripts?
>
>I would really appreciate any information. Thanks.
>
>Martin Mary
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Victor Nolton)
Date: Fri Jun 29 22:41:01 2001
Subject: [ic] Manual install of Akopia Interchange
perl 5.004 has not been useable by interchange/minivend since verion
3 (which you do not want)
5.6 is recommended
I believe the readme states this very clearly
"IMPORTANT NOTE: Interchange absolutely REQUIRES Perl 5.005 or Perl 5.6."
>Thanks for the reply. I followed the documentation and tried to install via
>SSH and I get this message:
>
>=====================
>Can't locate Data/Dumper.pm in @INC (@INC contains:
>/usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
>/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at
>Makefile.PL line 20.
>BEGIN failed--compilation aborted at Makefile.PL line 20.
>make: *** No targets. Stop.
>make: *** No rule to make target `test'. Stop.
>
>==========================
>
>Does this means that I have to install modules in our virtual server? Where
>can I get it? How can I install them? Thanks for any help.
>
>Martin Mary
>
>
>-----Original Message-----
>From: interchange-users-admin@developer.akopia.com
>[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Kyle
>Cook
>Sent: Friday, June 29, 2001 6:04 PM
>To: interchange-users@developer.akopia.com
>Subject: Re: [ic] Manual install of Akopia Interchange
>
>
>Read the documentation at :
>
>http://interchange.redhat.com/cgi-bin/ic/dev/icinstall
>
>Basically, you will need Telnet or SSH or Terminal access
>to the server.
>
>IC is not simply a perl script, but a daemon which must
>be installed from the command line.
>
>If this type of procedure is something your not comfortable
>with (or want to try) then check out the Red Hat Services
>for a fee they can help you get set up. (links to services
>found at above url on left side)
>
>Kyle Cook
>
>At 08:35 PM 6/29/01, you wrote:
>
>
>>Hello to all,
>>
>>I wanted to know if anybody has installed manually this wonderful program
>>Akopia Interchange? Can I install this the same way as other cgi or perl
>>scripts?
>>
>>I would really appreciate any information. Thanks.
>>
>>Martin Mary
>>
>>_______________________________________________
>>Interchange-users mailing list
>>Interchange-users@lists.akopia.com
>>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Russ Riggs)
Date: Fri Jun 29 22:51:01 2001
Subject: [ic] how to remove records from database
If mysql is ansi compliant then you can issue this sql from mysql:
delete from merchandising where sku matches 'os*';
or
delete from merchandising where sku like 'os*';
russ....
Raymond wrote:
> ok, I feel that I am close, but I can't complete the steps, I am
> messing up somewhere in the SQL commands:
>
> ok, I want to remove the old product IDs from the sku column
> in the merchandising table from the test_construct database;
>
> mysql> show databases;
> +----------------+
> | Database |
> +----------------+
> | mysql |
> | test |
> | test_construct |
> +----------------+
> 3 rows in set (0.00 sec)
>
> mysql> use test_construct;
> Database changed
> mysql> show tables;
> +--------------------------+
> | Tables_in_test_construct |
> +--------------------------+
> | affiliate |
> | area |
> | cat |
> | country |
> | gift_certs |
> | inventory |
> | merchandising |
> | order_returns |
> | orderline |
> | pricing |
> | products |
> | recurring_items |
> | recurring_orders |
> | ship_addresses |
> | transactions |
> | userdb |
> +--------------------------+
> 16 rows in set (0.00 sec)
>
> mysql> show columns from merchandising;
> +-----------------+-------------+------+-----+---------+-------+
> | Field | Type | Null | Key | Default | Extra |
> +-----------------+-------------+------+-----+---------+-------+
> | sku | varchar(20) | | PRI | | |
> | featured | varchar(32) | | MUL | | |
> | banner_text | text | YES | | NULL | |
> | banner_image | text | YES | | NULL | |
> | blurb_begin | text | YES | | NULL | |
> | blurb_end | text | YES | | NULL | |
> | timed_promotion | text | YES | | NULL | |
> | start_date | varchar(24) | | MUL | | |
> | finish_date | varchar(24) | | MUL | | |
> | upsell_to | text | YES | | NULL | |
> | cross_sell | text | YES | | NULL | |
> | cross_category | varchar(64) | | MUL | | |
> | others_bought | text | YES | | NULL | |
> | times_ordered | text | YES | | NULL | |
> +-----------------+-------------+------+-----+---------+-------+
> 14 rows in set (0.00 sec)
>
> mysql>
>
> mysql> select sku from merchandising;
> +-----------+
> | sku |
> +-----------+
> | gift_cert |
> | os28004 |
> | os28005 |
> | os28006 |
> | os28007 |
> | os28008 |
> | os28011 |
> | os28044 |
> | os28057a |
> | os28057b |
> | os28057c |
> | os28062 |
> | os28064 |
> | os28065 |
> | os28066 |
> | os28068a |
> | os28068b |
> | os28069 |
> | os28072 |
> | os28073 |
> | os28074 |
> | os28075 |
> | os28076 |
> | os28077 |
> | os28080 |
> | os28081 |
> | os28082 |
> | os28084 |
> | os28085 |
> | os28086 |
> | os28087 |
> | os28108 |
> | os28110 |
> | os28111 |
> | os28113 |
> | os29000 |
> | special01 |
> +-----------+
> 37 rows in set (0.00 sec)
>
> I want to remove all the sku's that start with os
>
> I am stuck, I tried the command from mysql.com site
> but it's not working...
>
> help.
>
> Raymond
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Raymond)
Date: Fri Jun 29 23:39:01 2001
Subject: [ic] Re: how to remove records from database
this command works
delete from merchandising where sku = "os28004";
and so on, you have to list them one by one,
"os*"; doesn't pickup all the names that start with os,
why not ?
Raymond
Russ Riggs writes:
> If mysql is ansi compliant then you can issue this sql from mysql:
>
> delete from merchandising where sku matches 'os*';
>
> or
>
> delete from merchandising where sku like 'os*';
>
> russ....
>
>
> Raymond wrote:
>
>> ok, I feel that I am close, but I can't complete the steps, I am
>> messing up somewhere in the SQL commands:
>>
>> ok, I want to remove the old product IDs from the sku column
>> in the merchandising table from the test_construct database;
>>
>> mysql> show databases;
>> +----------------+
>> | Database |
>> +----------------+
>> | mysql |
>> | test |
>> | test_construct |
>> +----------------+
>> 3 rows in set (0.00 sec)
>>
>> mysql> use test_construct;
>> Database changed
>> mysql> show tables;
>> +--------------------------+
>> | Tables_in_test_construct |
>> +--------------------------+
>> | affiliate |
>> | area |
>> | cat |
>> | country |
>> | gift_certs |
>> | inventory |
>> | merchandising |
>> | order_returns |
>> | orderline |
>> | pricing |
>> | products |
>> | recurring_items |
>> | recurring_orders |
>> | ship_addresses |
>> | transactions |
>> | userdb |
>> +--------------------------+
>> 16 rows in set (0.00 sec)
>>
>> mysql> show columns from merchandising;
>> +-----------------+-------------+------+-----+---------+-------+
>> | Field | Type | Null | Key | Default | Extra |
>> +-----------------+-------------+------+-----+---------+-------+
>> | sku | varchar(20) | | PRI | | |
>> | featured | varchar(32) | | MUL | | |
>> | banner_text | text | YES | | NULL | |
>> | banner_image | text | YES | | NULL | |
>> | blurb_begin | text | YES | | NULL | |
>> | blurb_end | text | YES | | NULL | |
>> | timed_promotion | text | YES | | NULL | |
>> | start_date | varchar(24) | | MUL | | |
>> | finish_date | varchar(24) | | MUL | | |
>> | upsell_to | text | YES | | NULL | |
>> | cross_sell | text | YES | | NULL | |
>> | cross_category | varchar(64) | | MUL | | |
>> | others_bought | text | YES | | NULL | |
>> | times_ordered | text | YES | | NULL | |
>> +-----------------+-------------+------+-----+---------+-------+
>> 14 rows in set (0.00 sec)
>>
>> mysql>
>>
>> mysql> select sku from merchandising;
>> +-----------+
>> | sku |
>> +-----------+
>> | gift_cert |
>> | os28004 |
>> | os28005 |
>> | os28006 |
>> | os28007 |
>> | os28008 |
>> | os28011 |
>> | os28044 |
>> | os28057a |
>> | os28057b |
>> | os28057c |
>> | os28062 |
>> | os28064 |
>> | os28065 |
>> | os28066 |
>> | os28068a |
>> | os28068b |
>> | os28069 |
>> | os28072 |
>> | os28073 |
>> | os28074 |
>> | os28075 |
>> | os28076 |
>> | os28077 |
>> | os28080 |
>> | os28081 |
>> | os28082 |
>> | os28084 |
>> | os28085 |
>> | os28086 |
>> | os28087 |
>> | os28108 |
>> | os28110 |
>> | os28111 |
>> | os28113 |
>> | os29000 |
>> | special01 |
>> +-----------+
>> 37 rows in set (0.00 sec)
>>
>> I want to remove all the sku's that start with os
>>
>> I am stuck, I tried the command from mysql.com site
>> but it's not working...
>>
>> help.
>>
>> Raymond
>> _______________________________________________
>> Interchange-users mailing list
>> Interchange-users@lists.akopia.com
>> http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Raymond)
Date: Fri Jun 29 23:41:00 2001
Subject: [ic] how to =?iso-8859-1?Q?remove=22your?= online hardware =?iso-8859-1?Q?store!=22?=
I don't run a hardware store and would like to
remove those words from the top of the index page,
I went into index.html and edited it, but that only works for
the front page, others still show that, is that in the database ?
which table and column ?
Thanks....
Raymond Miecznik
From: interchange-users at lists.akopia.com (Dan B)
Date: Fri Jun 29 23:58:01 2001
Subject: [ic] Re: how to remove records from database
At 03:35 AM 6/30/2001 +0000, you wrote:
>this command works
>delete from merchandising where sku = "os28004";
>and so on, you have to list them one by one,
>"os*"; doesn't pickup all the names that start with os,
>why not ?
I highly recommend that you join a Mysql or any SQL mailing list.
The MySQL lists are great, you'll probably get a response if you post
there. The address is something like:
mysql-subscribe@lists.mysql.com
But I can't recall for sure.
BUT, you should be able to use some kind of command like:
DELETE FROM merchandising WHERE sku LIKE "os%";
HTH,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
From: interchange-users at lists.akopia.com (Tal Hart (TelNET))
Date: Sat Jun 30 04:16:00 2001
Subject: [ic] How to Add new fields to Product Database and edit them in Admin UI ???
I need to add more fields to the Products database,
Is there a from or way of doing it through the Admin UI ??
I can manually add the Fields in the tables, and import the new table,
but than this field dosent appear in any Admin page,
for adding products/editing etc...
whats the way of doing that ?
Is the Admin Edit/Add pages etc.. is automatically built according to the
Forms in the table,
or do i need to edit the Admin pages accordingly ??
Tal Hart
=============================================================
TelNET Communication
Tel # + 972-9-8859919 Fax # +972-9-8859929
Address : Office - 10 giborey israel, New industrial area,Netanya
Post Adress : 2 Gur st. , Ramat Poleg , Netanya , ISRAEL , 42000
E-mail : tal@telnet.co.il Web : www.telnet.co.il
=============================================================
From: interchange-users at lists.akopia.com (Monring Star)
Date: Sat Jun 30 04:35:00 2001
Subject: [ic] Manual install of Akopia Interchange
Thanks for the reply. Our hosting provider (and our own server) is using
currently using Perl 5.6. The message....
---------------
Can't locate Data/Dumper.pm in @INC (@INC contains:
>/usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
>/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at
>Makefile.PL line 20.
>BEGIN failed--compilation aborted at Makefile.PL line 20.
>make: *** No targets. Stop.
>make: *** No rule to make target `test'. Stop.
-------------------
appeared in the process of installing via SSH when I run (as per instruction
in installation guide)
cd interchange-4*
./configure
The installation says that it should ask for directory location where I want
it installed.
Instead the error message above appeared. Thanks for any help.
Martin Mary
-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Victor
Nolton
Sent: Friday, June 29, 2001 7:42 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Manual install of Akopia Interchange
perl 5.004 has not been useable by interchange/minivend since verion
3 (which you do not want)
5.6 is recommended
I believe the readme states this very clearly
"IMPORTANT NOTE: Interchange absolutely REQUIRES Perl 5.005 or Perl 5.6."
>Thanks for the reply. I followed the documentation and tried to install via
>SSH and I get this message:
>
>=====================
>Can't locate Data/Dumper.pm in @INC (@INC contains:
>/usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
>/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at
>Makefile.PL line 20.
>BEGIN failed--compilation aborted at Makefile.PL line 20.
>make: *** No targets. Stop.
>make: *** No rule to make target `test'. Stop.
>
>==========================
>
>Does this means that I have to install modules in our virtual server? Where
>can I get it? How can I install them? Thanks for any help.
>
>Martin Mary
>
>
>-----Original Message-----
>From: interchange-users-admin@developer.akopia.com
>[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Kyle
>Cook
>Sent: Friday, June 29, 2001 6:04 PM
>To: interchange-users@developer.akopia.com
>Subject: Re: [ic] Manual install of Akopia Interchange
>
>
>Read the documentation at :
>
>http://interchange.redhat.com/cgi-bin/ic/dev/icinstall
>
>Basically, you will need Telnet or SSH or Terminal access
>to the server.
>
>IC is not simply a perl script, but a daemon which must
>be installed from the command line.
>
>If this type of procedure is something your not comfortable
>with (or want to try) then check out the Red Hat Services
>for a fee they can help you get set up. (links to services
>found at above url on left side)
>
>Kyle Cook
>
>At 08:35 PM 6/29/01, you wrote:
>
>
>>Hello to all,
>>
>>I wanted to know if anybody has installed manually this wonderful program
>>Akopia Interchange? Can I install this the same way as other cgi or perl
>>scripts?
>>
>>I would really appreciate any information. Thanks.
>>
>>Martin Mary
>>
>>_______________________________________________
>>Interchange-users mailing list
>>Interchange-users@lists.akopia.com
>>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Garry)
Date: Sat Jun 30 05:26:02 2001
Subject: [ic] how to remove"your online hardware store!"
The "Online Hardware store" is on some of the templates in the template
folder, top left, and top right left, I believe. You will need to modify
these to remove some of the default text.
Gaz
----- Original Message -----
From: "Raymond" <raymond@raymond-hosting.com>
To: <interchange-users@developer.akopia.com>
Sent: Saturday, June 30, 2001 4:37 AM
Subject: [ic] how to remove"your online hardware store!"
> I don't run a hardware store and would like to
> remove those words from the top of the index page,
>
> I went into index.html and edited it, but that only works for
> the front page, others still show that, is that in the database ?
>
> which table and column ?
>
> Thanks....
>
>
>
> Raymond Miecznik
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Jonathan Clark)
Date: Sat Jun 30 05:29:00 2001
Subject: [ic] How to Add new fields to Product Database and edit them in Admin UI ???
> I need to add more fields to the Products database,
> Is there a from or way of doing it through the Admin UI ??
>
In the admin UI:
Admin >> Preferences >> Item Display >> UI_ITEM_FIELDS
Add the new fields to the list.
Have fun!
Jonathan
Webmaint.
From: interchange-users at lists.akopia.com (Garry)
Date: Sat Jun 30 05:29:38 2001
Subject: [ic] how to remove records from database
Why not use the admin interface?
You need to do it in 2 places: one, in the items section, and 2, in the
Administration, table option. Select the table with the sku's in it and
remove the items there. Use the check box and hit delete.
Gaz
----- Original Message -----
From: "Raymond" <raymond@raymond-hosting.com>
To: <interchange-users@developer.akopia.com>
Sent: Saturday, June 30, 2001 2:21 AM
Subject: [ic] how to remove records from database
> ok, I feel that I am close, but I can't complete the steps, I am
> messing up somewhere in the SQL commands:
>
> ok, I want to remove the old product IDs from the sku column
> in the merchandising table from the test_construct database;
>
> mysql> show databases;
> +----------------+
> | Database |
> +----------------+
> | mysql |
> | test |
> | test_construct |
> +----------------+
> 3 rows in set (0.00 sec)
>
> mysql> use test_construct;
> Database changed
> mysql> show tables;
> +--------------------------+
> | Tables_in_test_construct |
> +--------------------------+
> | affiliate |
> | area |
> | cat |
> | country |
> | gift_certs |
> | inventory |
> | merchandising |
> | order_returns |
> | orderline |
> | pricing |
> | products |
> | recurring_items |
> | recurring_orders |
> | ship_addresses |
> | transactions |
> | userdb |
> +--------------------------+
> 16 rows in set (0.00 sec)
>
> mysql> show columns from merchandising;
> +-----------------+-------------+------+-----+---------+-------+
> | Field | Type | Null | Key | Default | Extra |
> +-----------------+-------------+------+-----+---------+-------+
> | sku | varchar(20) | | PRI | | |
> | featured | varchar(32) | | MUL | | |
> | banner_text | text | YES | | NULL | |
> | banner_image | text | YES | | NULL | |
> | blurb_begin | text | YES | | NULL | |
> | blurb_end | text | YES | | NULL | |
> | timed_promotion | text | YES | | NULL | |
> | start_date | varchar(24) | | MUL | | |
> | finish_date | varchar(24) | | MUL | | |
> | upsell_to | text | YES | | NULL | |
> | cross_sell | text | YES | | NULL | |
> | cross_category | varchar(64) | | MUL | | |
> | others_bought | text | YES | | NULL | |
> | times_ordered | text | YES | | NULL | |
> +-----------------+-------------+------+-----+---------+-------+
> 14 rows in set (0.00 sec)
>
> mysql>
>
> mysql> select sku from merchandising;
> +-----------+
> | sku |
> +-----------+
> | gift_cert |
> | os28004 |
> | os28005 |
> | os28006 |
> | os28007 |
> | os28008 |
> | os28011 |
> | os28044 |
> | os28057a |
> | os28057b |
> | os28057c |
> | os28062 |
> | os28064 |
> | os28065 |
> | os28066 |
> | os28068a |
> | os28068b |
> | os28069 |
> | os28072 |
> | os28073 |
> | os28074 |
> | os28075 |
> | os28076 |
> | os28077 |
> | os28080 |
> | os28081 |
> | os28082 |
> | os28084 |
> | os28085 |
> | os28086 |
> | os28087 |
> | os28108 |
> | os28110 |
> | os28111 |
> | os28113 |
> | os29000 |
> | special01 |
> +-----------+
> 37 rows in set (0.00 sec)
>
> I want to remove all the sku's that start with os
>
> I am stuck, I tried the command from mysql.com site
> but it's not working...
>
> help.
>
> Raymond
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Tim Watts)
Date: Sat Jun 30 07:09:00 2001
Subject: [ic] How to Add new fields to Product Database and edit them
This only turns on or off display of already existing fields in admin
interface, I don't believe it creates new fields.
on 6/30/01 5:24 AM, Jonathan Clark at jonc@webmaint.com wrote:
>> I need to add more fields to the Products database,
>> Is there a from or way of doing it through the Admin UI ??
>>
>
> In the admin UI:
>
> Admin >> Preferences >> Item Display >> UI_ITEM_FIELDS
>
> Add the new fields to the list.
>
> Have fun!
>
> Jonathan
> Webmaint.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
Tim Watts
president
Romans1013.net
Internet Hosting
From: interchange-users at lists.akopia.com (Garry)
Date: Sat Jun 30 07:36:01 2001
Subject: [ic] Confirmation emails
Can anyone tell me where to edit / modify the confirmation emails that IC
sends?
Garry
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Tal Hart (TelNET))
Date: Sat Jun 30 07:39:00 2001
Subject: [ic] How to Add new fields to Product Database and edit them in Admin UI ???
So,
Do i need to rewrite the Admin pages manually
to include my new fields ??
This seem unreasonable,
as the fields are supposed to be displayed in various option boxes etc.. all
around the program...
if i manually chage it, it will not be update in other pages...
the manuall dosent explain much about the Admin interface..
tal.
----- Original Message -----
From: <interchange-users@developer.akopia.com>
To: <interchange-users@developer.akopia.com>
Sent: Saturday, June 30, 2001 1:12 PM
Subject: Re: [ic] How to Add new fields to Product Database and edit them in
Admin UI ???
> This only turns on or off display of already existing fields in admin
> interface, I don't believe it creates new fields.
>
>
> on 6/30/01 5:24 AM, Jonathan Clark at jonc@webmaint.com wrote:
>
> >>> I need to add more fields to the Products database,
> >>> Is there a from or way of doing it through the Admin UI ??
> >>>
> >>
> >> In the admin UI:
> >>
> >> Admin >> Preferences >> Item Display >> UI_ITEM_FIELDS
> >>
> >> Add the new fields to the list.
> >>
> >> Have fun!
> >>
> >> Jonathan
> >> Webmaint.
> >>
> >> _______________________________________________
> >> Interchange-users mailing list
> >> Interchange-users@lists.akopia.com
> >> http://lists.akopia.com/mailman/listinfo/interchange-users
> >>
>
>
> Tim Watts
> president
> Romans1013.net
> Internet Hosting
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Jonathan Clark)
Date: Sat Jun 30 08:01:01 2001
Subject: [ic] How to Add new fields to Product Database and edit them in Admin UI ???
> So,
> Do i need to rewrite the Admin pages manually
> to include my new fields ??
>
> This seem unreasonable,
> as the fields are supposed to be displayed in various option
> boxes etc.. all
> around the program...
> if i manually chage it, it will not be update in other pages...
>
> the manuall dosent explain much about the Admin interface..
>
>
> tal.
You don't say what database you are using, whether you import from txt file
etc.
Before you get into hacking the admin pages, is IC aware of the new fields?
You say you have created them in the database. View your products edit page
in the UI with the meta display turned off (link on the edit page). Do you
see your fields there?
Jonathan
Webmaint.
From: interchange-users at lists.akopia.com (Jonathan Clark)
Date: Sat Jun 30 08:05:01 2001
Subject: [ic] Confirmation emails
>
> Can anyone tell me where to edit / modify the confirmation emails that IC
> sends?
>
> Garry
>
>
<catroot>/etc/mail_receipt -- the one the customer gets
<catroot>/etc/report -- the one the shop owner gets
Jonathan
Webmaint.
From: interchange-users at lists.akopia.com (Tal Hart (TelNET))
Date: Sat Jun 30 08:20:01 2001
Subject: [ic] How to Add new fields to Product Database and edit them in Admin UI ???
No It dosent appear in any of the Edit pages !! thats the exact problem...
I am using MySQL database..
If i import the database form a standard TAB Delimited file through
Interchange,
It seems that interchange reads the file ok...
If i perform a search i can found info in the new fields,
and i can display this inof,
but it dosent appear in any of the Admin pages....
Whats the 'Straight-by the book' method of adding fields to the Product
database ??
tal.
----- Original Message -----
From: <interchange-users@developer.akopia.com>
To: <interchange-users@developer.akopia.com>
Sent: Saturday, June 30, 2001 1:58 PM
Subject: RE: [ic] How to Add new fields to Product Database and edit them in
Admin UI ???
> >> So,
> >> Do i need to rewrite the Admin pages manually
> >> to include my new fields ??
> >>
> >> This seem unreasonable,
> >> as the fields are supposed to be displayed in various option
> >> boxes etc.. all
> >> around the program...
> >> if i manually chage it, it will not be update in other pages...
> >>
> >> the manuall dosent explain much about the Admin interface..
> >>
> >>
> >> tal.
>
> You don't say what database you are using, whether you import from txt
file
> etc.
>
> Before you get into hacking the admin pages, is IC aware of the new
fields?
>
> You say you have created them in the database. View your products edit
page
> in the UI with the meta display turned off (link on the edit page). Do you
> see your fields there?
>
> Jonathan
> Webmaint.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
From: interchange-users at lists.akopia.com (Garry)
Date: Sat Jun 30 08:22:00 2001
Subject: [ic] Confirmation emails - Thanks !
Thanks !! :o)
Garry
----- Original Message -----
From: "Jonathan Clark" <jonc@webmaint.com>
To: <interchange-users@developer.akopia.com>
Sent: Saturday, June 30, 2001 1:02 PM
Subject: RE: [ic] Confirmation emails
> >
> > Can anyone tell me where to edit / modify the confirmation emails that
IC
> > sends?
> >
> > Garry
> >
> >
>
> <catroot>/etc/mail_receipt -- the one the customer gets
> <catroot>/etc/report -- the one the shop owner gets
>
> Jonathan
> Webmaint.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
From: interchange-users at lists.akopia.com (Ton Verhagen)
Date: Sat Jun 30 08:25:01 2001
Subject: [ic] Fix flypage foundation 4.7.5
Dear All,
Just encountered a minor thing.
Need to add op=eq to the search in the loop over the specs.txt file.
Without op=eq the search will return all specs for all product codes like
D5001, D5001-HP, D5001-E etc.
for item-code is D5001.
All the best,
Ton Verhagen
From: interchange-users at lists.akopia.com (Jonathan Clark)
Date: Sat Jun 30 08:52:01 2001
Subject: [ic] How to Add new fields to Product Database and edit them in Admin UI ???
> No It dosent appear in any of the Edit pages !! thats the exact problem...
>
> I am using MySQL database..
>
> If i import the database form a standard TAB Delimited file through
> Interchange,
> It seems that interchange reads the file ok...
> If i perform a search i can found info in the new fields,
> and i can display this inof,
> but it dosent appear in any of the Admin pages....
>
> Whats the 'Straight-by the book' method of adding fields to the Product
> database ??
Hmm... never done it through the UI.
Did you manually add the fields to MySQL or are you relying on ic to do
this?
Giving that your original data is in a text file, I do the following:
1) Edit the <catroot>/dbconf/mysql/products.mysql file and add your new
fields of appropriate data type. This ensures they get your type and not ICs
best guess (char(128)?)
2) Delete the <catroot>/products/products.sql file.
3) Restart IC.
deleting the .sql file and restarting will cause the products table to be
dropped, recreated as per the .mysql file, and the data imported from the
text file <catroot>/products/products.txt
Good luck!
Jonathan
Webmaint.
From: interchange-users at lists.akopia.com (Aziz Ihsanoglu)
Date: Sat Jun 30 11:18:00 2001
Subject: [ic] access password
I would like to access user's password. I encrypted the user database so I
think it is not very easy to extract from there. I just need the password
for the user being in the session. Is there any tag? Thanks in advance.
Aziz Ihsanoglu
From: interchange-users at lists.akopia.com (Tammy)
Date: Sat Jun 30 14:10:00 2001
Subject: [ic] Install I have telnet?? not so easy...
Okay I have telnet access with ssh.
I thought it would be as simple as typing into my dir ie:
/usr/local/interchange/
and I would be in that dir, but I guess not.
Can anyone recommend a good site, where I can go to learn the telnet commands?
or tell me the steps to getting the configure file to open?
Thanks All
Tammy
tamelist@ripandrevmedia.ca
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Sat Jun 30 16:44:00 2001
Subject: [ic] UNSUBSCRIBE ME PLEASE
> i unsubscribed myself once bfore from this list
> and now i'm getting a flood of emails again...
>
>
> wtf ????
wtf to you too ;)
Follow this link:
http://lists.akopia.com/mailman/listinfo/interchange-users
write your e-mail address (itelevise@yahoo.com) into the "Edit options" field
and press the button.
Wait for the password to arrive, and write it into the "Unsubscribe" field.
Then just click unsubscribe, and that's it.
The best way to get everything correct is to simply Copy+Paste everything. I
see that you have problems in spelling words correctly (bfore, wtf)
Rene
From: interchange-users at lists.akopia.com (Rene Hertell)
Date: Sat Jun 30 16:47:00 2001
Subject: [ic] UNSUBSCRIBE ME PLEASE
> i unsubscribed myself once bfore from this list
> and now i'm getting a flood of emails again...
>
>
> wtf ????
wtf to you too ;)
Follow this link:
http://lists.akopia.com/mailman/listinfo/interchange-users
write your e-mail address (itelevise@yahoo.com) into the "Edit options" field
and press the button.
Wait for the password to arrive, and write it into the "Unsubscribe" field.
Then just click unsubscribe, and that's it.
The best way to get everything correct is to simply Copy+Paste everything. I
see that you have problems in spelling words correctly (bfore, wtf)
Rene
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Sat Jun 30 18:21:00 2001
Subject: [ic] Install I have telnet?? not so easy...
On Sat, 30 Jun 2001, Tammy wrote:
T>>Can anyone recommend a good site, where I can go to learn the telnet commands?
Amazon.com or bn.com and buy "Unix For Dummies" or "Linux For Dummies"
Or, your local Borders or Barnes & Noble.
It seems to me that you are trying to drive a semi loaded with steel
when you haven't even really gotten past figuring out how to start your
Chevy Geo.
Or, here's an alternative... go to redhat.com or cdrom.com or
infomagic.com and buy a Linux distribution. Any one - pick one. My
favorite is Slackware, but RedHat is good, too. Or, you can go to your
favorite major bookseller and buy a book on Linux with a CD in the back
for under $50. The last time that I looked (a couple of years ago)
Caldera had a great distribution out, along with an easy installation
that would re-partition your disk so that you could have both Windoze
and Linux working side by side.
Get the distribution at home and follow the instructions for installing
it on your computer. The best arrangement is if you have a spare
computer that you can devote to Linux. But, the current distributions
will tolerate Bill Gates and work along side of Windoze.
(Linux will install on a '386, or better. It's not at all fussy! You
can install it on just about any piece of hardware that you have laying
around. You can get it up and running on a 100 meg hard drive. Linus
designed it for people on small budgets, and that feature has never
been compromised!)
Play with it. Explore it. Learn the commands and functions by doing
them. Join some news groups that discuss using Linux and ask them to
help you with the parts of Linux that you don't understand. (This here
is NOT a forum for teaching Linux or Unix.)
Once you have learned to master your Chevy GEO (Linux) come on back and
we can talk intelligently about driving the semi (Interchange). (In
case you are wondering, Windows is equivalent to driving a Moped!)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Saturday, June 30, 2001 at 18:05 PM:
Only 19,999 lines of C++ to my next ski trip...
----------------------------------------------------------------
This Linux System has been up 60 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Jim Balcom)
Date: Sat Jun 30 18:33:01 2001
Subject: [ic] Confirmation emails
On Sat, 30 Jun 2001, Jonathan Clark wrote:
JC>>> Can anyone tell me where to edit / modify the confirmation emails that IC
JC>>> sends?
JC>><catroot>/etc/mail_receipt -- the one the customer gets
JC>><catroot>/etc/report -- the one the shop owner gets
And, by the way, it's a piece of cake to add questions into
checkout.html and to have them pop up on those 2 mailings.
In commerce.cgi, I had to add the additional questions and fields into
an existing array and some other gymnastics across several files.
SInce I am selling items of clothing, I want the wearers height,
weight, and waist size so that I can be comfortable that what I am
shipping is the right size for them. I also want the customer to be
able to have a comments section so that they can leave us specific
instructions or information (like leave the package under the tarp that
is under the deck on the right side of the house!) (We put those
instructions on the packages faithfully. I don't really care whether
they get followed or not, as long as the customer sees that we tried
(-: )
The hardest part of the whole process was the cosmetics on
checkout.html. Once I was satisfied with that, a few easy lines in those
2 files up there was all that it took to get them reported! It was
almost TOO easy! :-)
-= Jim =-
----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter
Tagline for Saturday, June 30, 2001 at 18:20 PM:
Would I ask you a rhetorical question?
----------------------------------------------------------------
This Linux System has been up 60 hours
My web page: http://www.idk-enterprises.com
----------------------------------------------------------------
From: interchange-users at lists.akopia.com (Gift Bound Gifts)
Date: Sat Jun 30 20:57:00 2001
Subject: [ic] product options?
I dont understand please help. I made options for my product using
modular options. However not showing up on product page. Can someone
please help? Is this a bug?
From: interchange-users at lists.akopia.com (Gift Bound Gifts)
Date: Sat Jun 30 21:01:00 2001
Subject: [ic] Simple, Matrix and Modular Options
Mike where should this be done at? Please help.
----- Original Message -----
From: "Mike Heins" <mikeh@minivend.com>
To: <interchange-users@developer.akopia.com>
Sent: Friday, June 29, 2001 12:01 PM
Subject: Re: [ic] Simple, Matrix and Modular Options
> Quoting Jake Thompson (JThompson@ztechnet.com):
> > Hi All,
> > I am using the latest of the 4.7.x branch from cvs. I have products
that
> > would could use all the different types of options. So far, I have
simple
> > options working without a problem. However, I cannot get modular
options to
> > work correclty, and I can create matrix options, but I do not know how
to
> > display them.
>
> This is a bug in the variant creator. You need to have o_enable set
> in the options table; so if you do:
>
> UPDATE options
> SET o_enable = 1
> WHERE sku = 'your_sku'
> AND code like 'your_sku%'
>
> that should allow display.
>
> >
> > Are there examples or am I asking too soon in development for matrix and
> > modular. Any help getting these to work would be greatly appreciated.
>
> I am starting work on these prior to release of 4.8, so expect some
> improvement soon. We have already added a new mode where you can select
> the matrix options via a combination of individual option selects instead
> of one with all.
>
> --
> 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@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
From: interchange-users at lists.akopia.com (Malcolm Webb)
Date: Sat Jun 30 22:12:01 2001
Subject: [ic] Fwd: failure delivery
Sorry to send this to the whole IC list, but I've tried unsuccessfully
to send it to Redhat twice (it looks like their mail servers are not
configured to accept messages sent to the addresses listed here:
http://interchange.redhat.com/cgi-bin/ic/support.html
Could one of the Redhat people who monitors this list forward to the
appropriate people?
Thanks!
--- MAILER-DAEMON@yahoo.com wrote:
> Date: 1 Jul 2001 02:04:04 -0000
> From: MAILER-DAEMON@yahoo.com
> To: mawebb@rocketmail.com
> Subject: failure delivery
>
> Message from yahoo.com.
> Unable to deliver message to the following address(es).
>
> <support@interchange.redhat.com>:
> 207.235.6.207 does not like recipient.
> Remote host said: 550 <support@interchange.redhat.com>... Relaying
> denied
> Giving up on 207.235.6.207.
>
> --- Original message follows.
>
> Return-Path: <mawebb@rocketmail.com>
> Message-ID: <20010701020402.50693.qmail@web12507.mail.yahoo.com>
> Received: from [64.174.151.18] by web12507.mail.yahoo.com; Sat, 30
> Jun 2001 19:04:02 PDT
> Date: Sat, 30 Jun 2001 19:04:02 -0700 (PDT)
> From: Malcolm Webb <mawebb@rocketmail.com>
> Subject: Fwd: Information about the Interchange site...
> To: support@interchange.redhat.com
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
>
> Hi-
>
> forwarding to support since docs email address is down...
>
> --- MAILER-DAEMON@yahoo.com wrote:
> > Date: 1 Jul 2001 01:54:05 -0000
> > From: MAILER-DAEMON@yahoo.com
> > To: mawebb@rocketmail.com
> > Subject: failure delivery
> >
> > Message from yahoo.com.
> > Unable to deliver message to the following address(es).
> >
> > <docs@interchange.redhat.com>:
> > 207.235.6.207 does not like recipient.
> > Remote host said: 550 <docs@interchange.redhat.com>... Relaying
> > denied
> > Giving up on 207.235.6.207.
> >
> > --- Original message follows.
> >
> > Return-Path: <mawebb@rocketmail.com>
> > Message-ID: <20010701015404.74882.qmail@web12508.mail.yahoo.com>
> > Received: from [64.174.151.18] by web12508.mail.yahoo.com; Sat, 30
> > Jun 2001 18:54:04 PDT
> > Date: Sat, 30 Jun 2001 18:54:04 -0700 (PDT)
> > From: Malcolm Webb <mawebb@rocketmail.com>
> > Subject: Problem with online docs...
> > To: docs@interchange.redhat.com
> > MIME-Version: 1.0
> > Content-Type: text/plain; charset=us-ascii
> >
> > Hi-
> >
> > This page of the online doc is not displaying correctly (at least
> not
> > in IE 5.5):
> >
> >
>
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates07.01
> >
> > This the section that describes special form fields, and is pretty
> > important. When you get a free moment, it would be great if you
> could
> > fix it!
> >
> > Thanks!
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
>
>
> =====
> Best Regards,
> Malcolm Webb
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
=====
Best Regards,
Malcolm Webb
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
From: interchange-users at lists.akopia.com (Jon Jensen)
Date: Sat Jun 30 22:58:00 2001
Subject: [ic] Fwd: failure delivery
On Sat, 30 Jun 2001, Malcolm Webb wrote:
> Sorry to send this to the whole IC list, but I've tried unsuccessfully
> to send it to Redhat twice (it looks like their mail servers are not
> configured to accept messages sent to the addresses listed here:
>
> http://interchange.redhat.com/cgi-bin/ic/support.html
>
> Could one of the Redhat people who monitors this list forward to the
> appropriate people?
Yes, I did. Thank you, Malcolm.
Jon